JP2000341097A - Comparator with offset voltage automatic correction function - Google Patents

Comparator with offset voltage automatic correction function

Info

Publication number
JP2000341097A
JP2000341097A JP2000084916A JP2000084916A JP2000341097A JP 2000341097 A JP2000341097 A JP 2000341097A JP 2000084916 A JP2000084916 A JP 2000084916A JP 2000084916 A JP2000084916 A JP 2000084916A JP 2000341097 A JP2000341097 A JP 2000341097A
Authority
JP
Japan
Prior art keywords
comparator
potential
inverting terminal
offset voltage
level
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
Application number
JP2000084916A
Other languages
Japanese (ja)
Inventor
Shunzo Oshima
俊藏 大島
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP2000084916A priority Critical patent/JP2000341097A/en
Publication of JP2000341097A publication Critical patent/JP2000341097A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Manipulation Of Pulses (AREA)
  • Amplifiers (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a comparator with an offset voltage automatic correction function that automatically corrects an offset voltage so as to enhance the comparison accuracy thereby accurately detecting an over-voltage and a very small voltage. SOLUTION: In this comparator, a resistor R73 is used to set a prescribed potential so that an output of the comparator is inverted when a potential at a noninverting terminal is equal to a sum of a potential at an inverting terminal and a prescribed potential. In the case that a 1st condition holds, where a clock CLK with a very low duty ratio is at an 'H' level and an output of the comparator is at an 'L' level, analog switches S71-S73 switch off the connection of a 2nd voltage to the noninverting terminal and connect the noninverting terminal to the inverting terminal, in the case that the 1st condition does not hold, the switching is made inversely to the above. In the case that the connection state corresponds to the 1st condition that is established and the output of the comparator is at an 'L' level, potential correction means (C71, Q79, D11 or the like) reduce the prescribed potential.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はオフセット電圧自動
補正機能付きコンパレータに関し、より詳しくは、コン
パレータ内でオフセット電圧を自動的に補正し、温度ド
リフトによる誤差の影響を無くして入力信号の比較精度
を高め、過電圧や微小電圧(過電流や微小電流)の検出
に際しても正確に検出を行い得るオフセット電圧自動補
正機能付きコンパレータに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a comparator having an automatic offset voltage correcting function, and more particularly, to a method of automatically correcting an offset voltage in a comparator to eliminate the influence of an error due to a temperature drift and improve the comparison accuracy of an input signal. The present invention relates to a comparator having an automatic offset voltage correction function capable of accurately detecting an overvoltage or a minute voltage (overcurrent or minute current).

【0002】[0002]

【従来の技術】2つの入力信号を比較するコンパレータ
は、理想的には、差入力電圧を零にすると出力電圧も零
になるべきであるが、実際には、入力の差動トランジス
タ対のゲート−ソース間電圧の差が零ではないため、出
力電圧が零であっても差入力電圧は零にはならない。こ
の時の差入力電圧をオフセット電圧といい、誤差の原因
となるので、精密な信号電圧の比較を行う場合には、種
々のオフセット電圧補正手法により対策を講じている。
2. Description of the Related Art In a comparator for comparing two input signals, ideally, when the difference input voltage is reduced to zero, the output voltage should also be reduced to zero. -Since the difference between the source voltages is not zero, the difference input voltage does not become zero even if the output voltage is zero. The difference input voltage at this time is called an offset voltage, which causes an error. Therefore, when a precise comparison of signal voltages is performed, measures are taken by various offset voltage correction methods.

【0003】オフセット電圧補正手法の代表的なもの
に、コンパレータに別途オフセット調整端子を設け、該
オフセット調整端子に可変抵抗器を付加して、可変抵抗
器の可変設定によってオフセット電圧を調整するもの
(第1の補正手法)や、コンパレータの入力端子の一方
に外部調整用電圧を印加して出力電圧を零にするもの
(第2の補正手法)等がある。
A typical offset voltage correction method is to separately provide an offset adjustment terminal in a comparator, add a variable resistor to the offset adjustment terminal, and adjust the offset voltage by variably setting the variable resistor ( (A first correction method) and a method of applying an external adjustment voltage to one of the input terminals of a comparator to make the output voltage zero (a second correction method).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来のコンパレータの第1および第2のオフセット電圧補
正手法にあっては、オフセット調整端子および該端子に
接続される可変抵抗器を必要としたり、外部接続の可変
抵抗器や外部調整用電圧の手動調整が必要であるので、
アナログIC等のチップ上に他の構成要素と共に集積化
する際には、外部端子や外部に付属の可変抵抗器を必要
として、コンパレータの個体毎の調整が必要であるな
ど、集積化に不向きである。しかも、コンパレータ外部
に付属した可変抵抗器等による調整をさらに付加される
回路によって自動調整可能としても、コンパレータの温
度変化によるオフセット電圧のバラツキについて調整す
ることができず、温度ドリフトによる誤差を解決できな
いという事情もあった。
However, the above-described first and second offset voltage correction methods of the conventional comparator require an offset adjustment terminal and a variable resistor connected to the terminal, or require an external resistor. Since manual adjustment of the connected variable resistor and external adjustment voltage is required,
When integrating with other components on a chip such as an analog IC, external terminals and external variable resistors are required, and adjustment for each comparator is necessary. is there. In addition, even if the adjustment by a variable resistor or the like attached to the outside of the comparator can be automatically adjusted by a circuit to be added, it is not possible to adjust for the variation of the offset voltage due to the temperature change of the comparator, and the error due to the temperature drift cannot be solved. There were circumstances.

【0005】また、バイポーラ素子でコンパレータを構
成する場合に比べて、MOS素子でコンパレータを構成
する場合には、オフセット電圧が大きいので特に問題と
なるが、例えば、チップ上でコンパレータのみをバイポ
ーラ素子で構成して、MOS素子およびバイポーラ素子
をチップ上に混載したのでは、プロセス設計に負担がか
かり、チップの歩留まりが悪く、結果としてコスト高と
なるといった事情もあった。
[0005] Also, when a comparator is composed of MOS elements, the offset voltage is large, which is particularly problematic, as compared with the case where a comparator is composed of bipolar elements. For example, on a chip, only a comparator is composed of a bipolar element. When the MOS element and the bipolar element are mixed and mounted on the chip by configuring, a load is imposed on the process design, the yield of the chip is reduced, and as a result, the cost is increased.

【0006】本発明の目的は、上記従来の問題点や事情
に鑑みてなされたものであって、オフセット電圧調整用
の外部端子や付属素子を必要とせず、コンパレータ内で
オフセット電圧を自動的に補正するオフセット電圧自動
補正機能付きコンパレータを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems and circumstances, and does not require an external terminal for adjusting an offset voltage or an accessory element. An object of the present invention is to provide a comparator with an automatic offset voltage correction function for correcting.

【0007】また、本発明の他の目的は、温度変化によ
るオフセット電圧のバラツキについても、温度ドリフト
による誤差の影響を無くして、2つの入力信号の比較精
度を高め、特に過電圧や微小電圧(過電流や微小電流)
の検出に際しても正確に検出を行い得るオフセット電圧
自動補正機能付きコンパレータを提供することにある。
Another object of the present invention is to improve the accuracy of comparison of two input signals by eliminating the influence of errors due to temperature drift even with respect to variations in offset voltage due to temperature changes. Current and minute current)
It is an object of the present invention to provide a comparator with an automatic offset voltage correction function capable of performing accurate detection even when detecting an error.

【0008】[0008]

【課題を解決するための手段】上記目的を解決するため
に、本発明の請求項1に係るオフセット電圧自動補正機
能付きコンパレータは、第1電圧を反転端子に、第2電
圧を非反転端子にそれぞれ入力して、電圧の比較を行う
オフセット電圧自動補正機能付きコンパレータにおい
て、前記非反転端子の電位が前記反転端子の電位と所定
電位の和に等しいときに当該コンパレータの出力が反転
するように所定電位を設定する不平衡電位設定手段と、
“H”レベル期間が“L”レベル期間より極めて短いク
ロックを生成するクロック生成手段と、前記クロックが
“H”レベルで且つ当該コンパレータの出力が“L”レ
ベルであるという第1条件が成立するときに、前記非反
転端子への前記第2電圧の接続を切り離すと共に該非反
転端子を前記反転端子と接続し、前記第1条件が不成立
のときにそれとは逆の接続に切り換える接続切換手段
と、前記接続切換手段が前記第1条件が成立したときの
接続を行うとき、当該コンパレータの出力が“L”レベ
ルである場合に、前記不平衡電位設定手段における所定
電位を減少させる電位補正手段とを具備するものであ
る。
In order to solve the above-mentioned object, according to a first aspect of the present invention, there is provided a comparator having an automatic offset voltage correcting function, wherein a first voltage is applied to an inverting terminal and a second voltage is applied to a non-inverting terminal. In a comparator with an offset voltage automatic correction function for inputting and comparing voltages, a predetermined value is set such that when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and a predetermined potential, the output of the comparator is inverted. Unbalanced potential setting means for setting a potential;
Clock generation means for generating a clock whose period of "H" level is much shorter than the period of "L" level, and a first condition that the clock is at "H" level and the output of the comparator is at "L" level is satisfied. A connection switching unit that disconnects the connection of the second voltage to the non-inverting terminal, connects the non-inverting terminal to the inverting terminal, and switches to a reverse connection when the first condition is not satisfied; When the connection switching means performs connection when the first condition is satisfied, when the output of the comparator is at "L" level, the unbalanced potential setting means includes a potential correction means for reducing a predetermined potential. It is provided.

【0009】また、本発明の請求項2に係るオフセット
電圧自動補正機能付きコンパレータは、第1電圧を反転
端子に、第2電圧を非反転端子にそれぞれ入力して、電
圧の比較を行うオフセット電圧自動補正機能付きコンパ
レータにおいて、前記非反転端子の電位が前記反転端子
の電位と所定電位の和に等しいときに当該コンパレータ
の出力が反転するように所定電位を設定する不平衡電位
設定手段と、当該コンパレータの出力が“L”レベルで
あるという第2条件が成立するときに、前記非反転端子
への前記第2電圧の接続を切り離すと共に該非反転端子
を前記反転端子と接続し、前記第2条件が不成立のとき
にそれとは逆の接続に切り換える接続切換手段と、前記
接続切換手段が前記第2条件が成立したときの接続を行
うとき、当該コンパレータの出力が“L”レベルである
場合に、前記不平衡電位設定手段における所定電位を減
少させる電位補正手段とを具備するものである。
According to a second aspect of the present invention, there is provided a comparator having an automatic offset voltage correction function, wherein the first voltage is input to an inverting terminal, and the second voltage is input to a non-inverting terminal, and the offset voltage is compared. An unbalanced potential setting means for setting a predetermined potential so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and a predetermined potential; When the second condition that the output of the comparator is at the “L” level is satisfied, disconnection of the second voltage to the non-inverting terminal and connection of the non-inverting terminal to the inverting terminal; Connection switching means for switching to the reverse connection when the connection is not established, and when the connection switching means performs connection when the second condition is satisfied, When the output of the regulator is at the "L" level, it is intended to and a potential correction means for reducing the predetermined potential in the unbalanced potential setting means.

【0010】また、請求項3に係るオフセット電圧自動
補正機能付きコンパレータは、請求項2に記載のオフセ
ット電圧自動補正機能付きコンパレータにおいて、当該
コンパレータの出力が“H”レベルから“L”レベルに
切り替わった時から第1期間を計時する第1計時手段を
具備し、前記接続切換手段は、前記第1計時手段が前記
第1期間を計時中であるという第3条件が成立するとき
に前記非反転端子への前記第2電圧の接続を切り離すと
共に該非反転端子を前記反転端子と接続し、前記第3条
件が不成立のときにそれとは逆の接続に切り換えるもの
である。
According to a third aspect of the present invention, in the comparator with the automatic offset voltage correction function according to the second aspect, the output of the comparator switches from "H" level to "L" level. A first time measuring means for measuring a first period from the time when the first time has elapsed. The connection of the second voltage to the terminal is cut off, the non-inverting terminal is connected to the inverting terminal, and the connection is switched to the reverse connection when the third condition is not satisfied.

【0011】また、請求項4に係るオフセット電圧自動
補正機能付きコンパレータは、請求項1、2または3に
記載のオフセット電圧自動補正機能付きコンパレータに
おいて、制御電極に前記反転端子が接続され、第1電極
に第1電源電位が第1抵抗を介して接続される第1トラ
ンジスタと、制御電極に前記非反転端子が接続され、第
1電極に第1電源電位が第2抵抗を介して接続される第
2トランジスタとを備えた差動トランジスタ対を具備
し、前記不平衡電位設定手段を、前記第1抵抗または前
記第2トランジスタの第2電極に直列接続される第3抵
抗としたものである。
According to a fourth aspect of the present invention, there is provided the comparator with the automatic offset voltage correction function according to the first, second or third aspect, wherein the inverting terminal is connected to a control electrode, and A first transistor having a first power supply potential connected to an electrode via a first resistor; a non-inverting terminal connected to a control electrode; and a first power supply potential connected to a first electrode via a second resistor. And a differential transistor pair including a second transistor, wherein the unbalanced potential setting means is a third resistor connected in series to the first resistor or a second electrode of the second transistor.

【0012】また、請求項5に係るオフセット電圧自動
補正機能付きコンパレータは、請求項1、2、3または
4に記載のオフセット電圧自動補正機能付きコンパレー
タにおいて、制御電極に前記反転端子が接続され、第1
電極に第1電源電位が第1抵抗を介して接続される第1
トランジスタと、制御電極に前記非反転端子が接続さ
れ、第1電極に第1電源電位が第2抵抗を介して接続さ
れる第2トランジスタとを備えた差動トランジスタ対を
具備し、前記電位補正手段は、前記第2抵抗または前記
第1トランジスタのオン抵抗に流れる電流を増大させる
ものである。
According to a fifth aspect of the present invention, there is provided the comparator with the automatic offset voltage correction function according to the first, second, third, or fourth aspect, wherein the inverting terminal is connected to a control electrode. First
A first power supply potential connected to the electrode via a first resistor;
A differential transistor pair comprising: a transistor; and a second transistor, wherein the non-inverting terminal is connected to a control electrode and a first power supply potential is connected to a first electrode via a second resistor. The means increases the current flowing through the second resistor or the on-resistance of the first transistor.

【0013】また、請求項6に係るオフセット電圧自動
補正機能付きコンパレータは、請求項5に記載のオフセ
ット電圧自動補正機能付きコンパレータにおいて、前記
電位補正手段は、前記第2抵抗または前記第1トランジ
スタのオン抵抗と第2電源電位間に直列接続され、前記
接続切換手段が前記第1条件、第2条件または第3条件
が成立したときの接続を行うときに充電を行うコンデン
サを具備し、前記第2抵抗または前記第1トランジスタ
のオン抵抗に流れる電流の増大量は、前記コンデンサの
充電電荷量で決定されるものである。
The comparator with the automatic offset voltage correction function according to claim 6 is the comparator with the automatic offset voltage correction function according to claim 5, wherein the potential correction means is provided for the second resistor or the first transistor. A capacitor connected in series between an on-resistance and a second power supply potential, the connection switching means performing charging when the first condition, the second condition, or the third condition is satisfied; The amount of increase in the current flowing through the two resistors or the on-resistance of the first transistor is determined by the amount of charge in the capacitor.

【0014】また、請求項7に係るオフセット電圧自動
補正機能付きコンパレータは、第1電圧を反転端子に、
第2電圧を非反転端子にそれぞれ入力して、電圧の比較
を行うオフセット電圧自動補正機能付きコンパレータに
おいて、前記非反転端子の電位が前記反転端子の電位と
所定電位の差に等しいときに当該コンパレータの出力が
反転するように所定電位を設定する不平衡電位設定手段
と、“H”レベル期間が“L”レベル期間より極めて短
いクロックを生成するクロック生成手段と、前記クロッ
クが“H”レベルで且つ当該コンパレータの出力が
“H”レベルであるという第4条件が成立するときに、
前記非反転端子への前記第2電圧の接続を切り離すと共
に該非反転端子を前記反転端子と接続し、前記第4条件
が不成立のときにそれとは逆の接続に切り換える接続切
換手段と、前記接続切換手段が前記第4条件が成立した
ときの接続を行うとき、当該コンパレータの出力が
“H”レベルである場合に、前記不平衡電位設定手段に
おける所定電位を減少させる電位補正手段とを具備する
ものである。
According to a seventh aspect of the present invention, in the comparator with the automatic offset voltage correction function, the first voltage is supplied to the inverting terminal.
In a comparator with an automatic offset voltage correction function for inputting a second voltage to each of the non-inverting terminals and comparing the voltages, when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and a predetermined potential, An unbalanced potential setting means for setting a predetermined potential so that the output of the clock signal is inverted; a clock generation means for generating a clock whose "H" level period is much shorter than the "L" level period; And when the fourth condition that the output of the comparator is at the “H” level is satisfied,
Connection switching means for disconnecting the connection of the second voltage to the non-inverting terminal, connecting the non-inverting terminal to the inverting terminal, and switching to the reverse connection when the fourth condition is not satisfied; A potential correcting means for reducing the predetermined potential in the unbalanced potential setting means when the output of the comparator is at the "H" level when the means makes connection when the fourth condition is satisfied. It is.

【0015】また、請求項8に係るオフセット電圧自動
補正機能付きコンパレータは、第1電圧を反転端子に、
第2電圧を非反転端子にそれぞれ入力して、電圧の比較
を行うオフセット電圧自動補正機能付きコンパレータに
おいて、前記非反転端子の電位が前記反転端子の電位と
所定電位の差に等しいときに当該コンパレータの出力が
反転するように所定電位を設定する不平衡電位設定手段
と、当該コンパレータの出力が“H”レベルであるとい
う第4条件が成立するときに、前記非反転端子への前記
第2電圧の接続を切り離すと共に該非反転端子を前記反
転端子と接続し、前記第4条件が不成立のときにそれと
は逆の接続に切り換える接続切換手段と、前記接続切換
手段が前記第4条件が成立したときの接続を行うとき、
当該コンパレータの出力が“H”レベルである場合に、
前記不平衡電位設定手段における所定電位を減少させる
電位補正手段とを具備するものである。
In the comparator with an automatic offset voltage correction function according to claim 8, the first voltage is supplied to an inverting terminal.
In a comparator with an automatic offset voltage correction function for inputting a second voltage to each of the non-inverting terminals and comparing the voltages, when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and a predetermined potential, An unbalanced potential setting means for setting a predetermined potential so that the output of the comparator is inverted, and a second voltage applied to the non-inverting terminal when a fourth condition that the output of the comparator is at the “H” level is satisfied. Disconnecting the connection and connecting the non-inverting terminal to the inverting terminal, and switching the connection to the opposite connection when the fourth condition is not satisfied; and when the connection switching means has satisfied the fourth condition. When making the connection
When the output of the comparator is at “H” level,
A potential correcting means for reducing a predetermined potential in the unbalanced potential setting means.

【0016】また、請求項9に係るオフセット電圧自動
補正機能付きコンパレータは、請求項8に記載のオフセ
ット電圧自動補正機能付きコンパレータにおいて、当該
コンパレータの出力が“L”レベルから“H”レベルに
切り替わった時から第2期間を計時する第2計時手段を
具備し、前記接続切換手段は、前記第2計時手段が前記
第2期間を計時中であるという第6条件が成立するとき
に前記非反転端子への前記第2電圧の接続を切り離すと
共に該非反転端子を前記反転端子と接続し、前記第6条
件が不成立のときにそれとは逆の接続に切り換えるもの
である。
According to a ninth aspect of the present invention, in the comparator with the automatic offset voltage correction function according to the eighth aspect, the output of the comparator switches from "L" level to "H" level. A second time measuring means for measuring a second time period from the time when the second time measuring means is measuring the second time period. The connection of the second voltage to the terminal is cut off, the non-inverting terminal is connected to the inverting terminal, and the connection is switched to the reverse connection when the sixth condition is not satisfied.

【0017】また、請求項10に係るオフセット電圧自
動補正機能付きコンパレータは、請求項7、8または9
に記載のオフセット電圧自動補正機能付きコンパレータ
において、制御電極に前記反転端子が接続され、第1電
極に第1電源電位が第1抵抗を介して接続される第1ト
ランジスタと、制御電極に前記非反転端子が接続され、
第1電極に第1電源電位が第2抵抗を介して接続される
第2トランジスタとを備えた差動トランジスタ対を具備
し、前記不平衡電位設定手段を、前記第2抵抗または前
記第1トランジスタの第2電極に直列接続される第3抵
抗としたものである。
According to a tenth aspect of the present invention, there is provided a comparator having an automatic offset voltage correcting function.
3. The comparator with the automatic offset voltage correction function according to 1., wherein the inversion terminal is connected to a control electrode, a first power supply potential is connected to a first electrode via a first resistor, and the non-inverting terminal is connected to a control electrode. The inverting terminal is connected,
A differential transistor pair including a first electrode and a second transistor having a first power supply potential connected to the first electrode via a second resistor, wherein the unbalanced potential setting means includes the second resistor or the first transistor. And a third resistor connected in series to the second electrode.

【0018】また、請求項11に係るオフセット電圧自
動補正機能付きコンパレータは、請求項7、8、9また
は10に記載のオフセット電圧自動補正機能付きコンパ
レータにおいて、制御電極に前記反転端子が接続され、
第1電極に第1電源電位が第1抵抗を介して接続される
第1トランジスタと、制御電極に前記非反転端子が接続
され、第1電極に第1電源電位が第2抵抗を介して接続
される第2トランジスタとを備えた差動トランジスタ対
を具備し、前記電位補正手段は、前記第1抵抗または前
記第2トランジスタのオン抵抗に流れる電流を増大させ
るものである。
The comparator with the automatic offset voltage correction function according to claim 11 is the comparator with the automatic offset voltage correction function according to claim 7, 8, 9 or 10, wherein the inverting terminal is connected to a control electrode,
A first transistor having a first power supply potential connected to a first electrode via a first resistor; a non-inverting terminal connected to a control electrode; and a first power supply potential connected to a first electrode via a second resistor. And a potential correction means for increasing a current flowing through the ON resistance of the first resistor or the second transistor.

【0019】また、請求項12に係るオフセット電圧自
動補正機能付きコンパレータは、請求項11に記載のオ
フセット電圧自動補正機能付きコンパレータにおいて、
前記電位補正手段は、前記第1抵抗または前記第2トラ
ンジスタのオン抵抗と第2電源電位間に直列接続され、
前記接続切換手段が前記第4条件、第5条件または第6
条件が成立したときの接続を行うときに充電を行うコン
デンサを具備し、前記第1抵抗または前記第2トランジ
スタのオン抵抗に流れる電流の増大量は、前記コンデン
サの充電電荷量で決定されるものである。
The comparator with the automatic offset voltage correction function according to claim 12 is the comparator with the automatic offset voltage correction function according to claim 11.
The potential correction means is connected in series between an on-resistance of the first resistor or the second transistor and a second power supply potential,
The connection switching means is configured to determine whether the fourth condition, the fifth condition, or the sixth condition is satisfied.
A capacitor for charging when connection is made when the condition is satisfied, and the amount of increase in current flowing through the on-resistance of the first resistor or the second transistor is determined by the amount of charge in the capacitor It is.

【0020】また、請求項13に係るオフセット電圧自
動補正機能付きコンパレータは、請求項6または12に
記載のオフセット電圧自動補正機能付きコンパレータに
おいて、前記電位補正手段は、前記コンデンサの充電時
には順方向電流が、放電時には逆方向電流が流れるよう
に該コンデンサと直列接続されるダイオードを具備する
ものである。
The comparator with the automatic offset voltage correction function according to claim 13 is the comparator with the automatic offset voltage correction function according to claim 6 or 12, wherein the potential correction means is configured to output a forward current when the capacitor is charged. However, it has a diode connected in series with the capacitor so that a reverse current flows during discharging.

【0021】さらに、請求項14に係るオフセット電圧
自動補正機能付きコンパレータは、請求項1、2、3、
4、5、6、7、8、9、10、11、12または13
に記載のオフセット電圧自動補正機能付きコンパレータ
において、前記接続切換手段を、前記クロックまたは当
該コンパレータおよび前記第1または第2計時手段の出
力に基づき切り換え制御されるアナログスイッチとした
ものである。
Further, the comparator with the automatic offset voltage correction function according to claim 14 is the first embodiment of the present invention.
4, 5, 6, 7, 8, 9, 10, 11, 12, or 13
Wherein the connection switching means is an analog switch that is switched and controlled based on the clock or the output of the comparator and the first or second timing means.

【0022】本発明の請求項1、4、5、6、13およ
び14に係るオフセット電圧自動補正機能付きコンパレ
ータでは、非反転端子の電位が反転端子の第1電圧の電
位を下回ったか否かを比較判定するコンパレータとして
機能し、予め不平衡電位設定手段により、非反転端子の
電位が反転端子の電位と所定電位の和に等しいときに当
該コンパレータの出力が反転するように所定電位を設定
しておき、クロック生成手段から生成されるデューティ
比の極めて低いクロックが“H”レベルで且つ当該コン
パレータの出力が“L”レベルであるという第1条件が
成立するときに、接続切換手段は非反転端子への第2電
圧の接続を切り離すと共に該非反転端子を反転端子と接
続し、また該第1条件が不成立のときに、接続切換手段
はそれとは逆の接続に切り換えるようにして、接続切換
手段によって接続が第1条件成立時の接続状態であっ
て、当該コンパレータの出力が“L”レベルである場合
に、電位補正手段により不平衡電位設定手段における所
定電位を減少させるようにしている。
In the comparator with an automatic offset voltage correction function according to claims 1, 4, 5, 6, 13 and 14, it is determined whether or not the potential of the non-inverting terminal is lower than the potential of the first voltage of the inverting terminal. It functions as a comparator for comparing and judging, and a predetermined potential is previously set by the unbalanced potential setting means so that when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and the predetermined potential, the output of the comparator is inverted. When the first condition that the clock with a very low duty ratio generated from the clock generation means is at the “H” level and the output of the comparator is at the “L” level is satisfied, the connection switching means switches to the non-inverting terminal. And disconnecting the second voltage to the non-inverting terminal and connecting the non-inverting terminal to the inverting terminal. When the first condition is not satisfied, the connection switching means switches the reverse connection. When the connection is established by the connection switching means when the first condition is satisfied and the output of the comparator is at the "L" level, the potential correction means sets the predetermined potential in the unbalanced potential setting means. Is to be reduced.

【0023】すなわち、予め不平衡電位設定手段によ
り、非反転端子の電位が反転端子の電位と所定電位の和
に等しいときに当該コンパレータの出力が反転するよう
に所定電位を設定して、当該コンパレータのオフセット
電圧をプラス側に振らせることにより、第2電圧の電位
低下判定をより厳しめに設定しておき、その後、電位補
正手段の(クロックが“H”レベルになる度の)作用に
より、プラス側に振らせたオフセット電圧をクロック周
期毎に順次減少させながら過電圧判定を繰り返し、数回
(クロック数周期分)の電位補正手段によるオフセット
電圧補正作用によりオフセット電圧をほぼ零にして第2
電圧の電位低下判定を正確に行なうことが可能となる。
That is, the predetermined potential is previously set by the unbalanced potential setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and the predetermined potential. The offset voltage of the second voltage is shifted to the plus side, so that the determination of the potential drop of the second voltage is set more strictly. Thereafter, the action of the potential correction means (every time the clock becomes “H” level) is performed. The overvoltage determination is repeated while sequentially decreasing the offset voltage shifted to the plus side in each clock cycle, and the offset voltage is made substantially zero by the offset voltage correction action by several times (for several clock cycles) of the potential correction means.
It is possible to accurately determine the potential drop of the voltage.

【0024】また、本発明の請求項2、3、4、5、
6、13および14に係るオフセット電圧自動補正機能
付きコンパレータでは、非反転端子の電位が反転端子の
第1電圧の電位を下回ったか否かを比較判定するコンパ
レータとして機能し、予め不平衡電位設定手段により、
非反転端子の電位が反転端子の電位と所定電位の和に等
しいときに当該コンパレータの出力が反転するように所
定電位を設定しておき、当該コンパレータの出力が
“L”レベルであるという第2条件が成立するときに、
接続切換手段は非反転端子への第2電圧の接続を切り離
すと共に該非反転端子を反転端子と接続し、また該第2
条件が不成立のときに、接続切換手段はそれとは逆の接
続に切り換えるようにして、接続切換手段によって接続
が第2条件成立時の接続状態であって、当該コンパレー
タの出力が“L”レベルである場合に、電位補正手段に
より不平衡電位設定手段における所定電位を減少させる
ようにしている。
Further, according to the present invention,
The comparators with automatic offset voltage correction functions according to 6, 13 and 14 function as comparators for determining whether or not the potential of the non-inverting terminal is lower than the potential of the first voltage of the inverting terminal. By
A predetermined potential is set so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and the predetermined potential, and the second output that the output of the comparator is at the “L” level When the condition holds,
The connection switching means disconnects the connection of the second voltage to the non-inverting terminal and connects the non-inverting terminal to the inverting terminal.
When the condition is not satisfied, the connection switching means switches the connection to the opposite one, so that the connection is switched by the connection switching means when the second condition is satisfied, and the output of the comparator is at the "L" level. In some cases, the predetermined potential in the unbalanced potential setting means is reduced by the potential correction means.

【0025】すなわち、予め不平衡電位設定手段によ
り、非反転端子の電位が反転端子の電位と所定電位の和
に等しいときに当該コンパレータの出力が反転するよう
に所定電位を設定して、当該コンパレータのオフセット
電圧をプラス側に振らせることにより、第2電圧の電位
低下判定をより厳しめに設定しておき、その後、電位補
正手段の作用により、プラス側に振らせたオフセット電
圧をほぼ零にして第2電圧の電位低下判定を正確に行な
うことが可能となる。
That is, the predetermined potential is previously set by the unbalanced potential setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and the predetermined potential. By setting the offset voltage of the second voltage to the plus side, the potential drop determination of the second voltage is set more strictly, and then the offset voltage shifted to the plus side is reduced to almost zero by the action of the potential correcting means. Thus, it is possible to accurately determine the potential drop of the second voltage.

【0026】特に、請求項3に係るオフセット電圧自動
補正機能付きコンパレータでは、接続切換手段は、当該
コンパレータの出力が“H”レベルから“L”レベルに
切り替わった時からの第1期間を第1計時手段が計時す
るが、第1計時手段が第1期間を計時中であるという第
3条件が成立するときに、非反転端子への第2電圧の接
続を切り離すと共に該非反転端子を反転端子と接続し、
また該第3条件が不成立のときには、それとは逆の接続
に切り換えるようにしている。つまり、請求項1に係る
オフセット電圧自動補正機能付きコンパレータにおける
クロックの代わりに、第1期間を第1計時手段によって
計時させるものであり、より簡単な回路構成で実現する
ことができる。
In particular, in the comparator having the automatic offset voltage correction function according to the third aspect, the connection switching means sets the first period from the time when the output of the comparator switches from the "H" level to the "L" level as the first period. When the third condition is satisfied that the first timer is measuring the first period, the connection of the second voltage to the non-inverting terminal is cut off and the non-inverting terminal is connected to the inverting terminal. connection,
When the third condition is not satisfied, the connection is switched to the reverse connection. That is, instead of the clock in the comparator with the automatic offset voltage correction function according to the first aspect, the first period is measured by the first time measuring means, and can be realized with a simpler circuit configuration.

【0027】また特に、請求項4に係るオフセット電圧
自動補正機能付きコンパレータでは、差動トランジスタ
対の内、制御電極に反転端子が接続される第1トランジ
スタ側の第1抵抗または制御電極に非反転端子が接続さ
れる第2トランジスタの第2電極に、不平衡電位設定手
段として第3抵抗を直列接続して構成するのが望まし
い。これにより、不平衡電位設定手段における所定電位
を簡単な回路構成で容易に設定できる。なお、差動トラ
ンジスタ対を例えばPMOSトランジスタで構成する場
合には、第3抵抗は第1抵抗と直列接続され、またNM
OSトランジスタで構成する場合には、第3抵抗は第2
トランジスタの第2電極(ソース)に直列接続されるこ
ととなる。
In the comparator with the automatic offset voltage correction function according to the fourth aspect, of the differential transistor pair, the non-inverting terminal is connected to the first resistor or the control electrode of the first transistor whose inverting terminal is connected to the control electrode. It is desirable that a third resistor be connected in series as an unbalanced potential setting means to the second electrode of the second transistor to which the terminal is connected. This makes it possible to easily set the predetermined potential in the unbalanced potential setting means with a simple circuit configuration. When the differential transistor pair is formed of, for example, a PMOS transistor, the third resistor is connected in series with the first resistor.
In the case of using an OS transistor, the third resistor is connected to the second resistor.
It will be connected in series to the second electrode (source) of the transistor.

【0028】また特に、請求項5に係るオフセット電圧
自動補正機能付きコンパレータでは、差動トランジスタ
対の内、制御電極に非反転端子が接続される第2トラン
ジスタ側の第2抵抗または制御電極に反転端子が接続さ
れる第1トランジスタのオン抵抗に流れる電流を電位補
正手段により増大させて、不平衡電位設定手段における
所定電位を減少させるのが望ましい。これにより、電位
補正手段を、例えば、第2抵抗または第1トランジスタ
のオン抵抗から分岐して電流を消費する回路で実現でき
るので、簡単な回路構成で容易に実現できる。なお、差
動トランジスタ対を例えばPMOSトランジスタで構成
する場合には、電位補正手段は第2抵抗から分岐する電
流を消費し、またNMOSトランジスタで構成する場合
には、第1トランジスタの第2電極(ソース)から分岐
する電流を消費することとなる。
In the comparator having the automatic offset voltage correction function according to the fifth aspect, of the differential transistor pair, the control electrode has a non-inverting terminal connected to the non-inverting terminal, and the second transistor on the second transistor side or the control electrode has an inversion. It is desirable that the current flowing through the on-resistance of the first transistor to which the terminal is connected is increased by the potential correction means to reduce the predetermined potential in the unbalanced potential setting means. Thus, the potential correcting means can be realized by, for example, a circuit that consumes current by branching off from the second resistor or the on-resistance of the first transistor, and thus can be easily realized with a simple circuit configuration. When the differential transistor pair is constituted by, for example, a PMOS transistor, the potential correction means consumes a current branched from the second resistor. When the differential transistor pair is constituted by an NMOS transistor, the second electrode (first electrode) of the first transistor is used. Source).

【0029】また特に、請求項6に係るオフセット電圧
自動補正機能付きコンパレータでは、電位補正手段にお
いて、接続切換手段が第1条件、第2条件または第3条
件成立時の接続を行うときにコンデンサを充電し、該コ
ンデンサの充電電荷量で第2抵抗または第1トランジス
タのオン抵抗に流れる電流の増大量を決定するようにし
ている。例えば、電位補正手段において分岐電流を消費
する経路に、コンデンサの充電電荷量で該経路の電流量
を制御する素子を介在させたような構成等が該当する。
なお、第3条件における第1期間はコンデンサの充電時
間よりも長く設定されるのが望ましい。
In the comparator with the automatic offset voltage correction function according to the present invention, the potential correction means may include a capacitor when the connection switching means performs connection when the first condition, the second condition, or the third condition is satisfied. The capacitor is charged, and the amount of charge of the capacitor determines the amount of increase in current flowing through the second resistor or the on-resistance of the first transistor. For example, a configuration in which an element that controls the amount of current in the path based on the amount of charge of the capacitor is interposed in a path that consumes a branch current in the potential correction unit corresponds to the configuration.
It is desirable that the first period under the third condition be set longer than the charging time of the capacitor.

【0030】本発明の請求項7、10、11、12、1
3および14に係るオフセット電圧自動補正機能付きコ
ンパレータでは、非反転端子の電位が反転端子の第1電
圧の電位を超えたか否かを比較判定するコンパレータと
して機能し、予め不平衡電位設定手段により、非反転端
子の電位が反転端子の電位と所定電位の差に等しいとき
に当該コンパレータの出力が反転するように所定電位を
設定しておき、クロック生成手段から生成されるデュー
ティ比の極めて低いクロックが“H”レベルで且つ当該
コンパレータの出力が“H”レベルであるという第4条
件が成立するときに、接続切換手段は非反転端子への第
2電圧の接続を切り離すと共に該非反転端子を反転端子
と接続し、また該第4条件が不成立のときに、接続切換
手段はそれとは逆の接続に切り換えるようにして、接続
切換手段によって接続が第4条件成立時の接続状態であ
って、当該コンパレータの出力が“H”レベルである場
合に、電位補正手段により不平衡電位設定手段における
所定電位を減少させるようにしている。
Claims 7, 10, 11, 12, 1 of the present invention
The comparators with the automatic offset voltage correction functions according to 3 and 14 function as comparators for determining whether or not the potential of the non-inverting terminal has exceeded the potential of the first voltage of the inverting terminal. The predetermined potential is set so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and the predetermined potential. When the fourth condition of “H” level and the output of the comparator is “H” level is satisfied, the connection switching means disconnects the connection of the second voltage to the non-inverting terminal and connects the non-inverting terminal to the inverting terminal. And when the fourth condition is not satisfied, the connection switching means switches to the reverse connection, and the connection switching means Continued is a connection state at the time of establishment fourth condition, when the output of the comparator is at "H" level, so that to reduce the predetermined potential in the unbalanced potential setting means by a potential compensation means.

【0031】すなわち、予め不平衡電位設定手段によ
り、非反転端子の電位が反転端子の電位と所定電位の差
に等しいときに当該コンパレータの出力が反転するよう
に所定電位を設定して、当該コンパレータのオフセット
電圧をマイナス側に振らせることにより、第2電圧の電
位上昇判定をより厳しめに設定しておき、その後、電位
補正手段の(クロックが“H”レベルになる度の)作用
により、マイナス側に振らせたオフセット電圧をクロッ
ク周期毎に順次減少させながら過小電圧判定を繰り返
し、数回(クロック数周期分)の電位補正手段によるオ
フセット電圧補正作用によりオフセット電圧をほぼ零に
して第2電圧の電位上昇判定を正確に行なうことが可能
となる。
That is, the predetermined potential is previously set by the unbalanced potential setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and the predetermined potential. By setting the offset voltage of the second voltage to the minus side, the potential rise determination of the second voltage is set more strictly, and thereafter, the action of the potential correction means (every time the clock goes to the “H” level) is performed. The undervoltage determination is repeated while sequentially decreasing the offset voltage shifted to the minus side in each clock cycle, and the offset voltage is reduced to almost zero by the offset voltage correction action of several times (for several cycles of the clock) by the potential correction means. It is possible to accurately determine the potential rise of the voltage.

【0032】本発明の請求項8、9、10、11、1
2、13および14に係るオフセット電圧自動補正機能
付きコンパレータでは、非反転端子の電位が反転端子の
第1電圧の電位を超えたか否かを比較判定するコンパレ
ータとして機能し、予め不平衡電位設定手段により、非
反転端子の電位が反転端子の電位と所定電位の差に等し
いときに当該コンパレータの出力が反転するように所定
電位を設定しておき、当該コンパレータの出力が“H”
レベルであるという第5条件が成立するときに、接続切
換手段は非反転端子への第2電圧の接続を切り離すと共
に該非反転端子を反転端子と接続し、また該第5条件が
不成立のときに、接続切換手段はそれとは逆の接続に切
り換えるようにして、接続切換手段によって接続が第5
条件成立時の接続状態であって、当該コンパレータの出
力が“H”レベルである場合に、電位補正手段により不
平衡電位設定手段における所定電位を減少させるように
している。
Claims 8, 9, 10, 11, 1 of the present invention
The comparators with an automatic offset voltage correction function according to 2, 13, and 14 function as comparators for comparing and determining whether the potential of the non-inverting terminal exceeds the potential of the first voltage of the inverting terminal. Thus, the predetermined potential is set so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and the predetermined potential, and the output of the comparator is set to “H”.
When the fifth condition that the level is satisfied is satisfied, the connection switching means disconnects the connection of the second voltage to the non-inverting terminal, connects the non-inverting terminal to the inverting terminal, and when the fifth condition is not satisfied. , The connection switching means switches to the reverse connection, and the connection switching means switches the connection to the fifth connection.
When the condition is satisfied and the output of the comparator is at "H" level, the predetermined potential in the unbalanced potential setting means is reduced by the potential correction means.

【0033】すなわち、予め不平衡電位設定手段によ
り、非反転端子の電位が反転端子の電位と所定電位の差
に等しいときに当該コンパレータの出力が反転するよう
に所定電位を設定して、当該コンパレータのオフセット
電圧をマイナス側に振らせることにより、第2電圧の電
位上昇判定をより厳しめに設定しておき、その後、電位
補正手段の作用により、マイナス側に振らせたオフセッ
ト電圧をほぼ零にして第2電圧の電位上昇判定を正確に
行なうことが可能となる。
That is, the predetermined potential is set in advance by the unbalanced potential setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and the predetermined potential. By setting the offset voltage of the second voltage to the minus side, the potential rise determination of the second voltage is set more strictly. Thereafter, the offset voltage given to the minus side is reduced to almost zero by the action of the potential correction means. As a result, the potential rise of the second voltage can be accurately determined.

【0034】特に、請求項9に係るオフセット電圧自動
補正機能付きコンパレータでは、接続切換手段は、当該
コンパレータの出力が“L”レベルから“H”レベルに
切り替わった時からの第2期間を第2計時手段が計時す
るが、第2計時手段が第2期間を計時中であるという第
6条件が成立するときに、非反転端子への第2電圧の接
続を切り離すと共に該非反転端子を反転端子と接続し、
また該第6条件が不成立のときに、それとは逆の接続に
切り換えるようにしている。つまり、請求項7に係るオ
フセット電圧自動補正機能付きコンパレータにおけるク
ロックの代わりに、第2期間を第2計時手段によって計
時させるものであり、より簡単な回路構成で実現するこ
とができる。
In particular, in the comparator with the automatic offset voltage correction function according to claim 9, the connection switching means sets the second period from the time when the output of the comparator switches from the "L" level to the "H" level to the second period. The timer means measures the time. When the sixth condition that the second timer means is measuring the second period is satisfied, the connection of the second voltage to the non-inverting terminal is cut off, and the non-inverting terminal is connected to the inverting terminal. connection,
When the sixth condition is not satisfied, the connection is switched to the reverse connection. In other words, instead of the clock in the comparator with the automatic offset voltage correction function according to claim 7, the second period is timed by the second timekeeping means, and can be realized with a simpler circuit configuration.

【0035】特に、請求項10に係るオフセット電圧自
動補正機能付きコンパレータでは、差動トランジスタ対
の内、制御電極に非反転端子が接続される第2トランジ
スタ側の第2抵抗または制御電極に反転端子が接続され
る第1トランジスタの第2電極に、不平衡電位設定手段
として第3抵抗を直列接続して構成するのが望ましい。
これにより、不平衡電位設定手段における所定電位を簡
単な回路構成で容易に設定できる。なお、差動トランジ
スタ対を例えばPMOSトランジスタで構成する場合に
は、第3抵抗は第2抵抗と直列接続され、またNMOS
トランジスタで構成する場合には、第3抵抗は第1トラ
ンジスタの第2電極(ソース)に直列接続されることと
なる。
In particular, in the comparator having the automatic offset voltage correction function according to the tenth aspect, of the differential transistor pair, the non-inverting terminal is connected to the control electrode of the differential transistor pair, or the second resistor on the side of the second transistor or the inverting terminal is connected to the control electrode. It is preferable that a third resistor is connected in series as an unbalanced potential setting means to the second electrode of the first transistor to which the first resistor is connected.
This makes it possible to easily set the predetermined potential in the unbalanced potential setting means with a simple circuit configuration. When the differential transistor pair is formed of, for example, a PMOS transistor, the third resistor is connected in series with the second resistor,
In the case of using a transistor, the third resistor is connected in series to the second electrode (source) of the first transistor.

【0036】また特に、請求項11に係るオフセット電
圧自動補正機能付きコンパレータでは、差動トランジス
タ対の内、制御電極に反転端子が接続される第1トラン
ジスタ側の第1抵抗または制御電極に非反転端子が接続
される第2トランジスタのオン抵抗に流れる電流を電位
補正手段により増大させて、不平衡電位設定手段におけ
る所定電位を減少させるのが望ましい。これにより、電
位補正手段を、例えば、第1抵抗または第2トランジス
タのオン抵抗から分岐して電流を消費する回路で実現で
きるので、簡単な回路構成で容易に実現できる。なお、
差動トランジスタ対を例えばPMOSトランジスタで構
成する場合には、電位補正手段は第1抵抗から分岐する
電流を消費し、またNMOSトランジスタで構成する場
合には、第2トランジスタの第2電極(ソース)から分
岐する電流を消費することとなる。
In the comparator with the automatic offset voltage correction function according to the eleventh aspect, of the differential transistor pair, the non-inverting terminal is connected to the first resistor or the control electrode of the first transistor whose inverting terminal is connected to the control electrode. It is desirable to increase the current flowing through the on-resistance of the second transistor to which the terminal is connected by the potential correction means to reduce the predetermined potential in the unbalanced potential setting means. Thus, the potential correction means can be realized by, for example, a circuit that branches off the on-resistance of the first resistor or the second transistor and consumes current, and thus can be easily realized with a simple circuit configuration. In addition,
When the differential transistor pair is formed of, for example, a PMOS transistor, the potential correction means consumes a current branched from the first resistor. When the differential transistor pair is formed of an NMOS transistor, the second electrode (source) of the second transistor is used. The current diverging from the current is consumed.

【0037】また特に、請求項12に係るオフセット電
圧自動補正機能付きコンパレータでは、電位補正手段に
おいて、接続切換手段が第4条件、第5条件または第6
条件成立時の接続を行うときにコンデンサを充電し、該
コンデンサの充電電荷量で第1抵抗または第2トランジ
スタのオン抵抗に流れる電流の増大量を決定するように
している。例えば、電位補正手段において分岐電流を消
費する経路に、コンデンサの充電電荷量で該経路の電流
量を制御する素子を介在させたような構成等が該当す
る。なお、第6条件における第2期間はコンデンサの充
電時間よりも長く設定されるのが望ましい。
In the comparator with an automatic offset voltage correction function according to claim 12, the connection switching means in the potential correction means may be the fourth condition, the fifth condition or the sixth condition.
The capacitor is charged when the connection is established when the condition is satisfied, and the amount of charge of the capacitor determines the amount of increase in the current flowing through the ON resistance of the first resistor or the second transistor. For example, a configuration in which an element that controls the amount of current in the path based on the amount of charge of the capacitor is interposed in a path that consumes a branch current in the potential correction unit corresponds to the configuration. Note that the second period under the sixth condition is desirably set to be longer than the charging time of the capacitor.

【0038】以上をまとめれば、本発明のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすることができ、2つの入力信号について行われる
電圧比較の精度を高め、特に、過電圧や微小電圧(過電
流や微小電流)の検出に際しても正確に検出を行うこと
ができる。
In summary, the comparator having the automatic offset voltage correction function of the present invention does not require an external terminal for adjusting the offset voltage or an accessory element as in the related art, and automatically corrects the offset voltage in the comparator. Therefore, the influence of errors due to temperature drift can be eliminated even with respect to variations in offset voltage due to temperature changes, and the accuracy of voltage comparison performed between two input signals can be improved. (Current or minute current) can be accurately detected.

【0039】また特に、請求項13に係るオフセット電
圧自動補正機能付きコンパレータでは、電位補正手段
に、コンデンサの充電時には順方向電流が、コンデンサ
の放電時には逆方向電流が流れるように該コンデンサと
直列接続されるダイオードを具備することにより、コン
デンサの放電時間をより長くするのが望ましい。これに
より、オフセット電圧補正量(電流の増大量)をコンデ
ンサの蓄積電荷として記憶することができるので、電位
補正手段の(クロックが“H”レベルになる度の)作用
により、プラスまたはマイナス側に振らせたオフセット
電圧を(クロック周期毎に順次)減少させながら過大電
圧判定や過小電圧判定を繰り返し行なう場合に、特に有
効である。
In the comparator with an automatic offset voltage correction function according to the thirteenth aspect, the potential correction means is connected in series with the capacitor so that a forward current flows when the capacitor is charged and a reverse current flows when the capacitor is discharged. It is desirable that the discharge time of the capacitor be further increased by providing a diode that is used. As a result, the offset voltage correction amount (current increase amount) can be stored as the accumulated charge of the capacitor, and the potential correction means (every time the clock goes to the “H” level) acts on the positive or negative side. This is particularly effective when repeatedly determining an overvoltage or undervoltage while decreasing the applied offset voltage (sequentially for each clock cycle).

【0040】さらに、請求項14に係るオフセット電圧
自動補正機能付きコンパレータでは、接続切換手段を、
クロックまたは当該コンパレータおよび第1または第2
計時手段の出力に基づき切り換え制御されるアナログス
イッチとして構成するのが望ましい。
Further, in the comparator having the automatic offset voltage correction function according to the present invention, the connection switching means may include:
The clock or the comparator and the first or second
It is desirable to configure as an analog switch that is switched and controlled based on the output of the timing means.

【0041】[0041]

【発明の実施の形態】以下、本発明に係るオフセット電
圧自動補正機能付きコンパレータの実施の形態例につい
て、〔第1の実施形態〕、〔第2の実施形態〕、〔第1
および第2の実施形態が適用される第1具体例〕、〔第
3の実施形態〕、〔第4の実施形態〕、〔第5の実施形
態〕、〔第4および第5の実施形態が適用される第2具
体例〕、〔第6の実施形態〕の順に、図1乃至図13を
参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a comparator having an automatic offset voltage correction function according to the present invention will be described with reference to [first embodiment], [second embodiment], [first embodiment].
First Example to which the second embodiment is applied], [Third Embodiment], [Fourth Embodiment], [Fifth Embodiment], [Fourth and Fifth Embodiments] A second specific example to be applied] and [sixth embodiment] will be described in detail in this order with reference to FIGS.

【0042】ここで、図1は本発明の第1の実施形態の
オフセット電圧自動補正機能付きコンパレータの回路構
成図、図2は本発明の第2の実施形態のオフセット電圧
自動補正機能付きコンパレータの回路構成図、図3は第
1および第2の実施形態のコンパレータが適用される電
源供給制御装置の回路構成図、図4は主制御FETの詳
細な回路構成図、図5および図6は電源供給制御装置が
利用する原理を説明する説明図、図7は短絡故障時およ
び通常動作時の実施形態の電源供給制御装置における主
制御FETの電流と電圧を例示する波形図、図8は図3
の電源供給制御装置を電流検出可能な構成としたときの
回路構成図、図9は本発明の第3の実施形態のオフセッ
ト電圧自動補正機能付きコンパレータの回路構成図、図
10は本発明の第4の実施形態のオフセット電圧自動補
正機能付きコンパレータの回路構成図、図11は本発明
の第5の実施形態のオフセット電圧自動補正機能付きコ
ンパレータの回路構成図、図12は第4および第5の実
施形態のコンパレータが適用される電源供給制御装置の
回路構成図、図13は本発明の第6の実施形態のオフセ
ット電圧自動補正機能付きコンパレータの回路構成図で
ある。
Here, FIG. 1 is a circuit diagram of a comparator with an automatic offset voltage correction function according to the first embodiment of the present invention, and FIG. 2 is a diagram of a comparator with an automatic offset voltage correction function according to the second embodiment of the present invention. FIG. 3 is a circuit configuration diagram of a power supply control device to which the comparators of the first and second embodiments are applied, FIG. 4 is a detailed circuit configuration diagram of a main control FET, and FIGS. FIG. 7 is an explanatory diagram illustrating the principle used by the supply control device, FIG. 7 is a waveform diagram illustrating the current and voltage of the main control FET in the power supply control device of the embodiment at the time of a short-circuit fault and during normal operation, and FIG.
FIG. 9 is a circuit configuration diagram of a power supply control device having a configuration capable of detecting current, FIG. 9 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a third embodiment of the present invention, and FIG. FIG. 11 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a fourth embodiment, FIG. 11 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a fifth embodiment of the present invention, and FIG. FIG. 13 is a circuit configuration diagram of a power supply control device to which the comparator of the embodiment is applied, and FIG. 13 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a sixth embodiment of the present invention.

【0043】〔第1の実施形態〕第1の実施形態のオフ
セット電圧自動補正機能付きコンパレータについて、図
1を参照して説明する。第1の実施形態のコンパレータ
は、基準電圧(第1電圧)を反転端子TPに、被検出電
圧(第2電圧)を非反転端子TNにそれぞれ入力して、
これら電圧の比較を行うものである。
First Embodiment A comparator with an automatic offset voltage correction function according to a first embodiment will be described with reference to FIG. The comparator according to the first embodiment inputs a reference voltage (first voltage) to an inversion terminal TP and a detected voltage (second voltage) to a non-inversion terminal TN.
These voltages are compared.

【0044】図1において、本実施形態のオフセット電
圧自動補正機能付きコンパレータは、第1電源電位をV
B、第2電源電位をGNDとし、NチャネルMOSFE
TQ71,Q76,Q77,Q78,Q82,Q83
と、PチャネルMOSFETQ72,Q73,Q74,
Q75,Q79,Q84,Q85,Q86と、ダイオー
ドD11と、抵抗R5,R6,R71〜R83と、コン
デンサC71と、アナログスイッチS71〜S73と、
ANDゲートGA1と、NOTゲートGN1と、電流源
SI1,SI2とを備えて構成されている。なお、参照
符号として抵抗には“R”とそれに続く数字を使用して
いるが、以下の説明では参照符号として使用すると共
に、それぞれ該抵抗の抵抗値をも表すものとする。ま
た、以下の説明では、FETとのみ称呼し特にPチャネ
ル/Nチャネルの区別を明記しないこととする。
In FIG. 1, the comparator with the automatic offset voltage correction function of the present embodiment has a first power supply potential of V
B, the second power supply potential is set to GND, and the N-channel MOSFE
TQ71, Q76, Q77, Q78, Q82, Q83
And P-channel MOSFETs Q72, Q73, Q74,
Q75, Q79, Q84, Q85, Q86, diode D11, resistors R5, R6, R71-R83, capacitor C71, analog switches S71-S73,
The circuit includes an AND gate GA1, a NOT gate GN1, and current sources SI1 and SI2. Although “R” and subsequent numbers are used for the resistors as reference symbols, the following description uses them as reference symbols and also indicates the resistance values of the resistors. In the following description, only the FET is referred to, and the distinction between the P channel and the N channel is not particularly specified.

【0045】コンパレータの基本となる差動トランジス
タ対(第1トランジスタおよび第2トランジスタ)は、
FETQ71〜Q76により構成されている。FETQ
71,Q76は、それぞれゲート(制御電極)を非反転
端子TN,反転端子TPに接続した入力インタフェース
トランジスタとして機能する。また、FETQ72,Q
73および電流源SI1がカレントミラー回路を、FE
TQ74,Q75および電流源SI1がカレントミラー
回路をそれぞれ構成しているので、FETQ72,Q7
3には同一の電流が流れ、それぞれFETQ71の2分
の1の電流となり、また、FETQ74,Q75には同
一の電流が流れ、それぞれFETQ76の2分の1の電
流となる。すなわち、FETQ72〜Q75および電流
源SI1は、差動トランジスタ対の左右のトランジスタ
に流れる電流を足し合わせて一定にする機能を司る。
The differential transistor pair (first transistor and second transistor) which is the basis of the comparator is:
It is constituted by FETs Q71 to Q76. FETQ
71 and Q76 function as input interface transistors whose gates (control electrodes) are connected to the non-inverting terminal TN and the inverting terminal TP, respectively. In addition, FET Q72, Q
73 and the current source SI1 form a current mirror circuit,
Since TQ74, Q75 and current source SI1 constitute a current mirror circuit, respectively, FETs Q72, Q7
3, the same current flows through the FET Q71, and the same current flows through the FET Q71, and the same current flows through the FETs Q74 and Q75, resulting in half the current through the FET Q76. That is, the FETs Q72 to Q75 and the current source SI1 have a function of adding currents flowing through the left and right transistors of the differential transistor pair to make them constant.

【0046】また、FETQ77,Q78は能動負荷と
して機能し、差動トランジスタ対にオフセット電圧が無
く左右のバランスが取れている理想的な条件下では、F
ETQ77,Q78に、FETQ71,Q76を流れる
電流の2分の1の電流が流れ、ドレイン電位は同一であ
る。また、当該能動負荷による差動トランジスタ対の差
動増幅出力(アナログ量)は、抵抗R80およびFET
Q83を介して、当該コンパレータの出力OUT(ディ
ジタル量)に変換される。
The FETs Q77 and Q78 function as active loads.
Half of the current flowing through the FETs Q71 and Q76 flows through the ETQ77 and Q78, and the drain potential is the same. The differential amplified output (analog amount) of the differential transistor pair due to the active load is determined by the resistance R80 and the FET.
The signal is converted into an output OUT (digital amount) of the comparator via Q83.

【0047】クロックCLKは、図示しないクロック生
成手段から生成され、“H”レベルが20[μs]で
“L”レベルが2[ms]のデューティ比の極めて低い
クロックである。ANDゲートGA1には、クロックC
LKと当該コンパレータの出力OUTが入力されてこれ
らの論理積が取られ、NOTゲートGN1はANDゲー
トGA1出力の否定論理を出力する。また、ANDゲー
トGA1出力はアナログスイッチS72,S73のオン
/オフ制御を、NOTゲートGN1出力はアナログスイ
ッチS71のオン/オフ制御をそれぞれ行っている。
The clock CLK is generated by clock generation means (not shown), and is a clock having an "H" level of 20 [μs] and an "L" level of 2 [ms] and having a very low duty ratio. The clock C is applied to the AND gate GA1.
LK and the output OUT of the comparator are input and the logical product of them is taken, and NOT gate GN1 outputs the NOT logic of the output of AND gate GA1. The output of the AND gate GA1 controls on / off of the analog switches S72 and S73, and the output of the NOT gate GN1 controls on / off of the analog switch S71.

【0048】アナログスイッチS71〜S73は接続切
換手段に該当し、クロックが“H”レベルで且つ当該コ
ンパレータの出力OUTが“L”レベルである(AND
ゲートGA1出力が“H”レベル)の時に、アナログス
イッチS72,S73をオンさせると共にアナログスイ
ッチS71をオフさせることにより、非反転端子TNの
FETQ71への接続を切り離すと共に非反転端子TN
を反転端子TPと接続し、また後述の電位補正手段を作
用させるようにしている。
The analog switches S71 to S73 correspond to connection switching means, and the clock is at "H" level and the output OUT of the comparator is at "L" level (AND
By turning on the analog switches S72 and S73 and turning off the analog switch S71 when the gate GA1 output is at "H" level, the connection of the non-inverting terminal TN to the FET Q71 is cut off and the non-inverting terminal TN is turned off.
Is connected to the inverting terminal TP, and a potential correcting means described later is operated.

【0049】抵抗R73は第3抵抗に該当して、FET
Q71のソースに接続されている。つまり、抵抗R73
は、非反転端子TNの電位が反転端子TPの電位と所定
電位の和に等しいときに当該コンパレータの出力OUT
が反転するように所定電位を設定する不平衡電位設定手
段に該当する。すなわち、抵抗R73は当該コンパレー
タのオフセット電圧をプラス側に振らせて(オフセット
電圧VOFF+)、被検出電圧の電位低下判定をより厳しめ
に設定する。
The resistor R73 corresponds to a third resistor, and is a FET.
Connected to the source of Q71. That is, the resistor R73
Is the output OUT of the comparator when the potential of the non-inverting terminal TN is equal to the sum of the potential of the inverting terminal TP and a predetermined potential.
Corresponds to an unbalanced potential setting means for setting a predetermined potential so that is inverted. That is, the resistor R73 causes the offset voltage of the comparator to swing to the plus side (offset voltage VOFF +), and the potential drop of the detected voltage is set more strictly.

【0050】電位補正手段は、抵抗R74〜R76,R
78,R79、コンデンサC71、ダイオードD11お
よびFETQ79,Q82で構成されている。クロック
が“H”レベルで且つ当該コンパレータ出力OUTが
“L”レベルである時に、FETQ82がオン状態に遷
移して電位補正手段によるオフセット電圧補正機能が作
用する。すなわち、この時、コンデンサC71がダイオ
ードD11、抵抗R76を介して第2電源電位GNDに
接地されることによって充電され、コンデンサC71に
充電電荷が蓄積されるに従ってFETQ79がオン状態
に遷移して、FETQ76のオン抵抗に流れる電流を増
大させる。つまり、コンデンサC71の充電電荷量でF
ETQ76のオン抵抗に流れる電流の増大量が決定され
る。
The potential correcting means includes resistors R74 to R76, R
78, R79, a capacitor C71, a diode D11, and FETs Q79 and Q82. When the clock is at the “H” level and the comparator output OUT is at the “L” level, the FET Q82 transitions to the ON state, and the offset voltage correction function by the potential correction means operates. That is, at this time, the capacitor C71 is charged by being grounded to the second power supply potential GND via the diode D11 and the resistor R76, and as the charged charge is accumulated in the capacitor C71, the FET Q79 shifts to the on state, and the FET Q76 Increase the current flowing through the on-resistance. That is, F is the charge amount of the capacitor C71.
The amount of increase in the current flowing through the ON resistance of ETQ 76 is determined.

【0051】次に、本実施形態のオフセット電圧自動補
正機能付きコンパレータにおける動作、特に過電圧(過
電流)検出方法について説明する。先ず、第1抵抗R7
2および第2抵抗R71の抵抗値を等しいもの(R71
=R72)とし、抵抗R73を不平衡電位設定手段とし
て追加することにより、当該コンパレータのオフセット
電圧はプラス側(VOFF+)のみ(反転端子電位<非反転
端子電位)とする。
Next, the operation of the comparator having the automatic offset voltage correction function of the present embodiment, in particular, a method of detecting an overvoltage (overcurrent) will be described. First, the first resistor R7
2 and the second resistor R71 having the same resistance value (R71
= R72), and the resistor R73 is added as an unbalanced potential setting means, so that the offset voltage of the comparator is only on the plus side (VOFF +) (inverted terminal potential <non-inverted terminal potential).

【0052】次に、“H”レベルが20[μs]で
“L”レベルが2[ms]のデューティ比の極めて低い
のクロックCLKをクロック生成手段から生成する。当
該コンパレータの出力OUTが“H”レベルから“L”
レベルになると、クロックCLKが“H”レベルである
20[μs]の間、アナログスイッチS71がオフし、
アナログスイッチS72,S73がオンする。アナログ
スイッチS72がオンとなることによって、差動トラン
ジスタ対への入力電圧の差が零になるので、当該コンパ
レータ出力OUTは“L”レベルを維持することにな
る。
Next, an extremely low duty ratio clock CLK having an "H" level of 20 [μs] and an "L" level of 2 [ms] is generated from the clock generation means. The output OUT of the comparator changes from “H” level to “L” level.
Level, the analog switch S71 is turned off for 20 [μs], when the clock CLK is at the “H” level,
The analog switches S72 and S73 are turned on. When the analog switch S72 is turned on, the difference between the input voltages to the differential transistor pair becomes zero, so that the comparator output OUT maintains the “L” level.

【0053】また、アナログスイッチS73がオンとな
ることによって、FETQ82がオン状態に遷移して、
電位補正手段のコンデンサC71が第1電源電位VBに
よって充電され、所定電荷量(スレシホールドレベル以
上となる電荷量)だけ充電されるとFETQ79がオン
状態に遷移して、FETQ76のオン抵抗を流れる電流
が増大してその電圧降下が大きくなる。これにより、F
ETQ76のゲート電位は上昇していき当該コンパレー
タのオフセット電圧を減少させるように機能することと
なる。
When the analog switch S73 is turned on, the FET Q82 is turned on, and
When the capacitor C71 of the potential correction means is charged by the first power supply potential VB and charged by a predetermined amount of charge (amount of charge equal to or higher than the threshold level), the FET Q79 transitions to the ON state and flows through the ON resistance of the FET Q76. The current increases and the voltage drop increases. Thereby, F
The gate potential of the ETQ 76 rises and functions to reduce the offset voltage of the comparator.

【0054】この時、FETQ76のソース電位は相対
的に下がるので、FETQ75を流れる電流が減少し、
それによりFETQ71,Q72,Q77,Q78を流
れる電流が増加する。これにより、FETQ83のゲー
ト電位が低下するのでFETQ83はオフ状態に向って
遷移し、当該コンパレータの出力OUTが上昇して、A
NDゲートGA1の出力が“L”レベルに遷移する。そ
のため、アナログスイッチS73がオフし、FETQ8
2がオフ状態に遷移することとなり、電位補正手段によ
るオフセット電圧の補正作用が停止する。この時、当該
コンパレータのオフセット電圧は上述の通り減少してお
り、この補正状態はコンデンサC71の蓄積電荷量とし
て記憶されることとなる。
At this time, since the source potential of the FET Q76 is relatively lowered, the current flowing through the FET Q75 decreases,
As a result, the current flowing through the FETs Q71, Q72, Q77, Q78 increases. As a result, the gate potential of the FET Q83 decreases, so that the FET Q83 transitions to the off state, the output OUT of the comparator increases, and A
The output of ND gate GA1 transitions to "L" level. Therefore, the analog switch S73 is turned off, and the FET Q8
2 changes to the off state, and the action of correcting the offset voltage by the potential correcting means stops. At this time, the offset voltage of the comparator has decreased as described above, and this correction state is stored as the amount of charge stored in the capacitor C71.

【0055】次に、クロックCLKが“L”レベルの期
間では、アナログスイッチS71〜S73を元の接続状
態に戻して、当該コンパレータによる被検出電圧の基準
電圧との比較を行う。この時、当該コンパレータのオフ
セット電圧は減少して前回の比較におけるものより小さ
くなっている。電位補正手段の補正作用によっては、オ
フセット電圧が零を超えて、若干のマイナスオフセット
になることもある。以上の電位補正手段によるオフセッ
ト電圧の補正を数回繰り返せば、当該コンパレータのオ
フセット電圧は略零電位「0[V]」(若しくは、若干
のマイナス電位)になり、オフセット電圧を零とした正
確な電圧比較(過電圧検出または過電流検出)が可能と
なる。
Next, while the clock CLK is at the "L" level, the analog switches S71 to S73 are returned to the original connection state, and the detected voltage is compared with the reference voltage by the comparator. At this time, the offset voltage of the comparator decreases and becomes smaller than that in the previous comparison. Depending on the correction operation of the potential correction means, the offset voltage may exceed zero and become a slight negative offset. If the offset voltage correction by the above-described potential correcting means is repeated several times, the offset voltage of the comparator becomes substantially zero potential “0 [V]” (or a slight negative potential), and the correct offset voltage becomes zero. Voltage comparison (overvoltage detection or overcurrent detection) becomes possible.

【0056】以上のように、本実施形態のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすことができ、2つの入力信号について行われる電
圧比較の精度を高め、特に過電圧(過電流)の検出も正
確に行うことができる。
As described above, the comparator with the automatic offset voltage correction function of the present embodiment does not require an external terminal for adjusting the offset voltage or an accessory element unlike the conventional one, and automatically corrects the offset voltage in the comparator. As a result, the influence of errors due to temperature drift can be eliminated even with respect to variations in offset voltage due to temperature changes, the accuracy of voltage comparison performed between two input signals can be improved, and overvoltage (overcurrent) detection in particular Can also be done accurately.

【0057】〔第2の実施形態〕次に、第2の実施形態
のオフセット電圧自動補正機能付きコンパレータについ
て、図2を参照して説明する。第2の実施形態のコンパ
レータは、基準電圧(第1電圧)を反転端子TPに、被
検出電圧(第2電圧)を非反転端子TNにそれぞれ入力
して、これら電圧の比較を行うものである。
[Second Embodiment] Next, a comparator having an automatic offset voltage correction function according to a second embodiment will be described with reference to FIG. The comparator according to the second embodiment compares a reference voltage (first voltage) to an inverting terminal TP and a detected voltage (second voltage) to a non-inverting terminal TN, and compares these voltages. .

【0058】図2において、本実施形態のオフセット電
圧自動補正機能付きコンパレータは、第1の実施形態の
オフセット電圧自動補正機能付きコンパレータ(図1)
において、不平衡電位設定手段である抵抗R73を、差
動トランジスタ対の第1トランジスタ側におけるFET
Q76のソースに直列接続したもので、非反転端子TN
の電位が反転端子TPの電位と所定電位の差に等しいと
きに当該コンパレータの出力OUTが反転するように所
定電位が設定されることとなる。すなわち、抵抗R73
は当該コンパレータのオフセット電圧をマイナス側に振
らせて(オフセット電圧VOFF-)、被検出電圧の電位上
昇判定をより厳しめに設定する。
In FIG. 2, the comparator with the automatic offset voltage correction function of the present embodiment is the comparator with the automatic offset voltage correction function of the first embodiment (FIG. 1).
, A resistor R73, which is an unbalanced potential setting means, is connected to the FET on the first transistor side of the differential transistor pair.
It is connected in series to the source of Q76 and has a non-inverting terminal TN
Is set so that the output OUT of the comparator is inverted when the potential of the comparator is equal to the difference between the potential of the inverting terminal TP and the predetermined potential. That is, the resistor R73
Shifts the offset voltage of the comparator to the negative side (offset voltage VOFF-) and sets the potential rise of the detected voltage more strictly.

【0059】また、不平衡電位設定手段の接続位置の変
更に伴って、電位補正手段が接続される位置も、差動ト
ランジスタ対の第2トランジスタ側のFETQ71のオ
ン抵抗に直列接続されるようにFETQ71のソースに
接続されることとなる。クロックCLKが“H”レベル
で且つ当該コンパレータ出力OUTが“H”レベルであ
る時に、FETQ82がオン状態に遷移して電位補正手
段によるオフセット電圧補正機能が作用するが、この
時、コンデンサC71がダイオードD11、抵抗R76
を介して第2電源電位GNDに接地されることによって
充電され、FETQ79がオン状態に遷移してFETQ
71のオン抵抗に流れる電流を増大させる。つまり、コ
ンデンサC71の充電電荷量でFETQ71のオン抵抗
に流れる電流の増大量が決定されることになる。
Further, with the change of the connection position of the unbalanced potential setting means, the position where the potential correction means is connected is also connected in series with the on-resistance of the FET Q71 on the second transistor side of the differential transistor pair. It will be connected to the source of FET Q71. When the clock CLK is at the "H" level and the comparator output OUT is at the "H" level, the FET Q82 transitions to the ON state and the offset voltage correcting function by the potential correcting means operates. D11, resistor R76
Is charged by being grounded to the second power supply potential GND through the FET Q79.
The current flowing through the on-resistance 71 is increased. That is, the amount of increase in the current flowing through the on-resistance of the FET Q71 is determined by the amount of charge in the capacitor C71.

【0060】次に、本実施形態のオフセット電圧自動補
正機能付きコンパレータにおける動作、特に過小電圧
(微小電流)検出方法について説明する。先ず、第1抵
抗R72および第2抵抗R71の抵抗値を等しいもの
(R71=R72)とし、抵抗R73を不平衡電位設定
手段として追加することにより、当該コンパレータのオ
フセット電圧はマイナス側(VOFF-)のみ(反転端子電
位>非反転端子電位)とする。
Next, the operation of the comparator having the automatic offset voltage correction function of the present embodiment, in particular, a method of detecting an undervoltage (small current) will be described. First, the first resistor R72 and the second resistor R71 have the same resistance value (R71 = R72), and the resistor R73 is added as an unbalanced potential setting means, so that the offset voltage of the comparator becomes negative (VOFF-). Only (inverted terminal potential> non-inverted terminal potential).

【0061】次に、“H”レベルが20[μs]で
“L”レベルが2[ms]のデューティ比の極めて低い
のクロックCLKをクロック生成手段から生成する。当
該コンパレータの出力OUTが“L”レベルから“H”
レベルになると、クロックCLKが“H”レベルである
20[μs]の間、アナログスイッチS71がオフし、
アナログスイッチS72,S73がオンする。アナログ
スイッチS72がオンとなることによって、差動トラン
ジスタ対への入力電圧の差が零になるので、当該コンパ
レータ出力OUTは“H”レベルを維持することにな
る。
Next, an extremely low duty ratio clock CLK having an "H" level of 20 [μs] and an "L" level of 2 [ms] is generated from the clock generation means. The output OUT of the comparator changes from “L” level to “H”.
Level, the analog switch S71 is turned off for 20 [μs], when the clock CLK is at the “H” level,
The analog switches S72 and S73 are turned on. When the analog switch S72 is turned on, the difference between the input voltages to the differential transistor pair becomes zero, so that the comparator output OUT maintains the “H” level.

【0062】また、アナログスイッチS73がオンとな
ることによって、FETQ82がオン状態に遷移して、
電位補正手段のコンデンサC71がダイオードD11、
抵抗R76を介して第2電源電位GNDに接地されるこ
とによって充電され、所定電荷量(スレシホールドレベ
ル以上となる電荷量)だけ充電されるとFETQ79が
オン状態に遷移して、FETQ71のオン抵抗を流れる
電流が増大してその電圧降下が大きくなる。これによ
り、FETQ71のゲート電位は上昇していき当該コン
パレータのオフセット電圧を減少させるように機能する
こととなる。
When the analog switch S73 is turned on, the FET Q82 is turned on, and
The capacitor C71 of the potential correction means is a diode D11,
The FET Q79 is charged by being grounded to the second power supply potential GND via the resistor R76, and when charged by a predetermined amount of charge (the amount of charge equal to or higher than the threshold level), the FET Q79 is turned on and the FET Q71 is turned on. The current flowing through the resistor increases and the voltage drop increases. As a result, the gate potential of the FET Q71 rises and functions to reduce the offset voltage of the comparator.

【0063】この時、FETQ71のソース電位は相対
的に下がるので、FETQ72を流れる電流が減少し、
それによりFETQ78,Q77の電流も減少する。こ
れにより、FETQ83はオン状態に向って遷移し、当
該コンパレータの出力OUTが低下して、FETQ82
がオフ状態に遷移することとなり、電位補正手段による
オフセット電圧の補正作用が停止する。この時、当該コ
ンパレータのオフセット電圧は上述の通り減少してお
り、この補正状態はコンデンサC71の蓄積電荷量とし
て記憶されることとなる。
At this time, since the source potential of the FET Q71 relatively decreases, the current flowing through the FET Q72 decreases,
Thereby, the currents of the FETs Q78 and Q77 also decrease. As a result, the FET Q83 makes a transition toward the ON state, and the output OUT of the comparator falls, and the FET Q82
Changes to the off state, and the action of correcting the offset voltage by the potential correcting means stops. At this time, the offset voltage of the comparator has decreased as described above, and this correction state is stored as the amount of charge stored in the capacitor C71.

【0064】次に、クロックCLKが“L”レベルの期
間では、アナログスイッチS71〜S73を元の接続状
態に戻して、当該コンパレータによる被検出電圧の基準
電圧との比較を行う。この時、当該コンパレータのオフ
セット電圧は減少して前回の比較におけるものより小さ
くなっている。電位補正手段の補正作用によっては、オ
フセット電圧が零を超えて、若干のプラスオフセットに
なることもある。以上の電位補正手段によるオフセット
電圧の補正を数回繰り返せば、当該コンパレータのオフ
セット電圧は略零電位「0[V]」(若しくは、若干の
プラス電位)になり、オフセット電圧を零とした正確な
電圧比較(第2電圧の電位上昇判定)が可能となる。
Next, while the clock CLK is at the "L" level, the analog switches S71 to S73 are returned to the original connection state, and the detected voltage is compared with the reference voltage by the comparator. At this time, the offset voltage of the comparator decreases and becomes smaller than that in the previous comparison. Depending on the correction action of the potential correction means, the offset voltage may exceed zero and become a slight positive offset. If the offset voltage correction by the above-described potential correction means is repeated several times, the offset voltage of the comparator becomes substantially zero potential “0 [V]” (or a slight positive potential), and the correct offset voltage is set to zero. Voltage comparison (potential rise determination of the second voltage) becomes possible.

【0065】以上のように、本実施形態のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすことができ、2つの入力信号について行われる電
圧比較の精度を高め、特に、過小電圧(微小電流)の検
出も正確に行うことができる。
As described above, the comparator with the automatic offset voltage correction function of the present embodiment does not require an external terminal for adjusting the offset voltage or an accessory element as in the related art, and automatically corrects the offset voltage in the comparator. As a result, the influence of errors due to temperature drift can be eliminated even with respect to variations in offset voltage due to temperature changes, the accuracy of voltage comparison performed between two input signals can be increased, and in particular, undervoltage (small current) Can be detected accurately.

【0066】〔第1および第2の実施形態が適用される
第1具体例〕第1および第2の実施形態のオフセット電
圧自動補正機能付きコンパレータを適用する第1具体例
として、電源101の出力電圧VBを負荷102に供給
する経路に、半導体スイッチとしての主制御FETQA
のドレインD−ソースSAを直列接続した構成の電源供
給制御装置を図3に例示する。図中、CMP1に第1の
実施形態の過電流検出を行なうコンパレータが、CMP
2に第2の実施形態の過小電流検出を行なうコンパレー
タがそれぞれ適用される。
[First Specific Example to which the First and Second Embodiments are Applied] As a first specific example to which the comparator with an automatic offset voltage correction function according to the first and second embodiments is applied, the output of the power supply 101 is A main control FET QA as a semiconductor switch is provided on a path for supplying the voltage VB to the load 102.
FIG. 3 illustrates a power supply control device having a configuration in which the drain D-source SA is connected in series. In the figure, a comparator that performs overcurrent detection according to the first embodiment is added to CMP1.
2 is applied with the comparator for detecting an undercurrent according to the second embodiment.

【0067】図3において、主制御FETQAを駆動制
御する部分は、第1リファレンスFETQB,第2リフ
ァレンスFETQC、抵抗R1,R2,R5,R10,
RG,Rr1,Rr2、ツェナーダイオードZD1、ダ
イオードD1、コンパレータCMP1,CMP2、駆動
回路111およびスイッチSW1を備えた構成である。
なお、同図中には、電源Enable302、突入電流
の過電流判定を回避するマスキング303、オン/オフ
回数の積算による遮断制御を行なうON/OFF計数積
算回路304、チャージポンプ305、並びに遮断ラッ
チ回路306についても表記されているが、本発明と直
接的に関係しないので説明を省略する。
In FIG. 3, the parts for controlling the drive of the main control FET QA include a first reference FET QB, a second reference FET QC, resistors R1, R2, R5, R10,
The configuration includes RG, Rr1, Rr2, a Zener diode ZD1, a diode D1, comparators CMP1, CMP2, a drive circuit 111, and a switch SW1.
In the figure, a power supply Enable 302, a masking 303 for avoiding an overcurrent determination of an inrush current, an ON / OFF counting and integrating circuit 304 for performing a cutoff control by integrating ON / OFF times, a charge pump 305, and a cutoff latch circuit Although 306 is also described, since it is not directly related to the present invention, the description is omitted.

【0068】半導体スイッチとしての主制御FETQA
は、より詳しくは図4に示すような構成を備えている。
図4において、主制御FETQAは、内蔵抵抗RG、温
度センサ121、ラッチ回路122および過熱遮断用F
ETQSを備えている。なお、ZD1はゲートG−ソー
スSA間を12[V]に保ってゲートGに過電圧が印加
されようとした場合にこれをバイパスさせるツェナーダ
イオードである。つまり、主制御FETQAは、主制御
FETQAが規定以上の温度まで上昇したことが温度セ
ンサ121によって検出された場合には、その旨の検出
情報がラッチ回路122に保持され、ゲート遮断回路と
しての過熱遮断用FETQSがオン動作となることによ
って、主制御FETQAを強制的にオフ制御する過熱遮
断機能を備えている。また、本具体例の電源供給制御装
置では、負荷102または主制御FETQAと負荷10
2間において発生する短絡故障による過電流、或いは不
完全短絡故障による異常電流に対する保護機能をも備え
ている。
Main control FET QA as semiconductor switch
Has a configuration as shown in FIG. 4 in more detail.
In FIG. 4, a main control FET QA includes a built-in resistor RG, a temperature sensor 121, a latch circuit 122, and an overheat cutoff F.
It has ETQS. Note that ZD1 is a Zener diode that bypasses an overvoltage applied to the gate G while maintaining the voltage between the gate G and the source SA at 12 [V]. That is, when the temperature sensor 121 detects that the temperature of the main control FET QA has risen to a temperature equal to or higher than the specified value, the main control FET QA holds the detection information to that effect in the latch circuit 122, and overheats as a gate cutoff circuit. An overheat shut-off function is provided for forcibly turning off the main control FET QA by turning on the shut-off FET QS. Further, in the power supply control device of this specific example, the load 102 or the main control FET QA and the load 10
It also has a protection function against an overcurrent due to a short-circuit fault occurring between the two or an abnormal current due to an incomplete short-circuit fault.

【0069】第1リファレンスFETQBおよび抵抗R
r1は、過電流検出における基準電圧を発生する手段で
ありコンパレータCMP1の反転端子に供給される。コ
ンパレータCMP1の非反転端子には、主制御FETQ
AのドレインD−ソースSA間電圧VDSAを抵抗R1と
抵抗R2とで分圧した電圧が抵抗R5を介して供給され
ている。また、コンパレータCMP1の反転端子には、
第1リファレンスFETQBのドレインD−ソースSB
間電圧VDSBが供給されている。
First reference FET QB and resistor R
r1 is a means for generating a reference voltage for overcurrent detection, and is supplied to the inverting terminal of the comparator CMP1. The non-inverting terminal of the comparator CMP1 has a main control FET Q
A voltage obtained by dividing the voltage VDSA between the drain D and the source SA of A by the resistors R1 and R2 is supplied via the resistor R5. Also, the inverting terminal of the comparator CMP1
The drain D-source SB of the first reference FET QB
An inter-voltage VDSB is supplied.

【0070】次に、本具体例の電源供給制御装置におけ
る電源供給制御方法を説明する。具体的な動作説明を行
う前に、図5および図6を参照して、利用する原理につ
いて説明する。ここで、図5はオフ状態からオン状態へ
の遷移時のドレイン−ソース間電圧の立ち下がり特性の
説明図、図6は概念的回路図である。なお、本明細書中
ではFETの素子特性における「ピンチオフ領域」およ
び「オーミック領域」という語を用いるが、これら語の
正確な定義については、“Analysis and Design of ANA
LOG INTEGRATED CIRCUITS”(Third Edition),PAUL
R. GRAY,ROBERTG MEYER著の66頁を参照されたい。
Next, a power supply control method in the power supply control device of this embodiment will be described. Before giving a specific description of the operation, the principle of use will be described with reference to FIGS. Here, FIG. 5 is an explanatory diagram of a fall characteristic of a drain-source voltage at the time of transition from an off state to an on state, and FIG. 6 is a conceptual circuit diagram. In this specification, the terms “pinch-off region” and “ohmic region” in the device characteristics of FETs are used.
LOG INTEGRATED CIRCUITS ”(Third Edition), PAUL
See page 66 of R. GRAY, ROBERTG MEYER.

【0071】半導体スイッチとして主制御FETQAを
使用した場合、電源101から負荷102への電力供給
経路は、概念的に図6に示すような回路として表され
る。負荷102には電力供給経路の配線インダクタンス
L0と配線抵抗R0とを含む。このような電力供給経路
の一部を成す主制御FETQAのドレイン−ソース間電
圧VDSは、主制御FETQAがオフ状態からオン状態へ
遷移する際の立ち下がり電圧特性として、図5に示す如
くなる。即ち、短絡の場合、基準負荷(通常動作)の場
合、負荷102が抵抗1[KΩ]の場合についての立ち
下がり電圧特性である。このように、立ち下がり特性
は、電力供給経路および負荷の状態、即ち、経路が持つ
配線インダクタンス並びに配線抵抗および短絡抵抗に基
づく時定数に応じて変化する。
When the main control FET QA is used as a semiconductor switch, a power supply path from the power supply 101 to the load 102 is conceptually represented as a circuit as shown in FIG. The load 102 includes a wiring inductance L0 and a wiring resistance R0 of the power supply path. The drain-source voltage VDS of the main control FET QA which forms a part of such a power supply path is as shown in FIG. 5 as a falling voltage characteristic when the main control FET QA transitions from the off state to the on state. That is, it is a falling voltage characteristic in the case of a short circuit, a reference load (normal operation), and a case where the load 102 has a resistance of 1 KΩ. As described above, the fall characteristic changes according to the state of the power supply path and the load, that is, the time constant based on the wiring inductance and the wiring resistance and the short-circuit resistance of the path.

【0072】図5において、主制御FETQAがオン状
態に遷移してドレイン−ソース間電圧VDSが飽和するま
での期間は、主制御FETQAはピンチオフ領域で動作
する。また、負荷102の抵抗が1[KΩ]のときのド
レイン−ソース間電圧VDSの変化について、次のように
考察できる。つまり、第1に、例えば主制御FETQA
に日立製の「HAF2001」を使用した場合、電源電
圧12[V]のとき、ドレイン電流ID=12[mA]
だから、ゲート−ソース間電圧VTGS は、ほぼしきい値
電圧1.6[V]に維持される。第2に、駆動回路11
1によるゲート(G)への充電は継続されるから、この
まま行くとゲート−ソース間電圧VTGSは上昇して行っ
てしまうが、ドレイン−ソース間電圧VDSが低下して、
ゲートードレイン間の容量CGDを放電させるので、ゲー
ト−ソース間電圧VTGS に達する電荷を吸収してしまう
ことになる。即ち、ドレイン−ソース間電圧VDSはゲー
ト−ソース間電圧VTGS に達した電荷が電位上昇を生じ
させないだけの電荷をゲート−ドレイン間の容量CGDか
ら放電させるような速度で降下することになる。これに
より、ゲート−ソース間電圧VTGS は約1.6[V]に
維持される。
In FIG. 5, the main control FET QA operates in a pinch-off region until the main control FET QA transitions to the ON state and the drain-source voltage VDS is saturated. The change in the drain-source voltage VDS when the resistance of the load 102 is 1 [KΩ] can be considered as follows. That is, first, for example, the main control FET QA
When "HAF2001" manufactured by Hitachi is used, the drain current ID = 12 [mA] when the power supply voltage is 12 [V].
Therefore, the gate-source voltage VTGS is maintained at approximately 1.6 [V]. Second, the driving circuit 11
Since the charging of the gate (G) by 1 is continued, the gate-source voltage VTGS rises and goes as it is, but the drain-source voltage VDS decreases,
Since the capacitance CGD between the gate and the drain is discharged, the charge reaching the gate-source voltage VTGS is absorbed. In other words, the drain-source voltage VDS drops at such a rate that the charge reaching the gate-source voltage VTGS does not cause an increase in the potential, and is discharged from the gate-drain capacitor CGD. As a result, the gate-source voltage VTGS is maintained at about 1.6 [V].

【0073】また、負荷抵抗=1[KΩ]時のドレイン
−ソース間電圧VDSの変化について、次のような解釈も
可能である。つまり、主制御FETQAがオン状態に遷
移した後の各経過時点で、駆動回路111によってゲー
ト(G)に送られる充電電荷を吸収し、真のゲート(T
G)の電圧VTGS を一定に保つようなドレイン−ソース
間電圧VDSの値を表している。したがって、ある経過時
間の後にドレイン−ソース間電圧VDSが図5の負荷抵抗
=1[KΩ]時の曲線より上側にあれば、ゲート−ソー
ス間電圧VTGS は1.6[V]よりも高くなっているこ
とを意味する。
The following interpretation is possible for the change in the drain-source voltage VDS when the load resistance is 1 [KΩ]. That is, at each lapse of time after the main control FET QA has transitioned to the ON state, the charged charge sent to the gate (G) by the drive circuit 111 is absorbed and the true gate (T
G) indicates the value of the drain-source voltage VDS which keeps the voltage VTGS constant. Therefore, if the drain-source voltage VDS is above the curve at the time of load resistance = 1 [KΩ] in FIG. 5 after a certain elapsed time, the gate-source voltage VTGS becomes higher than 1.6 [V]. Means that.

【0074】さらに、同一経過時間における図5の負荷
抵抗=1[KΩ]時の曲線からの距離をΔVDSGAP とす
ると、ΔVDSGAP ×CGD分の電荷をゲート−ソース間電
圧VTGS から引き去れば、ゲート−ソース間電圧VTGS
は1.6[V]になることを意味する。換言すれば、ゲ
ート−ソース間電圧VTGS は1.6[V]からこの電荷
分だけ電位が上昇していることを意味する。このことを
式で示せば次式となる。 VTGS −1.6=ΔVDSGAP ×2CGD/(CGS+2CGD) 即ち、ΔVDSGAP は(ゲート−ソース間電圧VTGS −
1.6[V])に比例する。
Further, assuming that the distance from the curve at the same elapsed time when the load resistance in FIG. Source voltage VTGS
Means 1.6 [V]. In other words, the gate-source voltage VTGS is increased from 1.6 [V] by this charge. This can be expressed by the following equation. VTGS-1.6 = ΔVDSGAP × 2CGD / (CGS + 2CGD) That is, ΔVDSGAP is (gate-source voltage VTGS−
1.6 [V]).

【0075】なお、ドレイン電流IDがゼロの時はゲー
トを充電する回路およびミラー容量だけでドレイン−ソ
ース間電圧VDSの曲線は決まるが、ドレイン電流IDが
流れると、回路のインダクタンスLC および回路全体の
抵抗RC の影響を受けることになる。ドレイン電流ID
が増大するに連れてドレイン−ソース間電圧VDSの曲線
は浮き上がって行くが、完全短絡(デッドショート)の
ようにドレイン電流IDが大きくなると、ドレイン電流
IDの立ち上り勾配はゲートを充電する回路による充電
速度で決まる一定値に収れんし、したがってゲート−ソ
ース間電圧VTGS の曲線も収れんすることとなる。
When the drain current ID is zero, the curve of the drain-source voltage VDS is determined only by the gate charging circuit and the Miller capacitance. However, when the drain current ID flows, the inductance LC of the circuit and the overall circuit It will be affected by the resistance RC. Drain current ID
As the current increases, the curve of the drain-source voltage VDS rises. However, when the drain current ID increases as in the case of a complete short circuit (dead short circuit), the rising gradient of the drain current ID becomes smaller due to the charging by the gate charging circuit. The curve converges to a constant value determined by the speed, and the curve of the gate-source voltage VTGS also converges.

【0076】次に、以上の考察を踏まえて、本具体例の
電源供給制御装置の動作を説明する。先ず、主制御FE
TQAおよび基準電圧生成手段(第1リファレンスFE
TQB,抵抗Rr)について説明する。主制御FETQ
Aと第1リファレンスFETQBは1000:1のカレ
ントミラー(Current mirror)回路を構成し、両者のソ
ース電位が等しいときはドレイン電流IDQA=1000
×ドレイン電流IDQBとなる。したがって、主制御FE
TQAのドレイン電流としてIDQA=5[A]、第1リ
ファレンスFETQBのドレイン電流としてIDQB=5
[mA]がそれぞれ流れているときは、主制御FETQ
Aおよび第1リファレンスFETQBのそれぞれのドレ
イン−ソース間電圧VDSとゲート−ソース間電圧VTGS
は一致する。即ち、VDSA =VDSB 、VTGSA=VTGSBと
なる。ここで、VDSA ,VDSB はそれぞれ主制御FET
QA,第1リファレンスFETQBのドレイン−ソース
間電圧であり、VTGSA,VTGSBはそれぞれ主制御FET
QA,第1リファレンスFETQBのゲート−ソース間
電圧である。
Next, the operation of the power supply control device of this embodiment will be described based on the above considerations. First, the main control FE
TQA and reference voltage generating means (first reference FE)
TQB, resistance Rr) will be described. Main control FETQ
A and the first reference FET QB constitute a 1000: 1 current mirror circuit, and when both have the same source potential, the drain current IDQA = 1000
X Drain current IDQB. Therefore, the main control FE
IDQA = 5 [A] as the drain current of TQA, and IDQB = 5 as the drain current of the first reference FET QB.
When [mA] is flowing, the main control FET Q
A and the drain-source voltage VDS and the gate-source voltage VTGS of the first reference FET QB, respectively.
Matches. That is, VDSA = VDSB and VTGSA = VTGSB. Here, VDSA and VDSB are the main control FETs respectively.
QA is a drain-source voltage of the first reference FET QB, and VTGSA and VTGSB are main control FETs, respectively.
QA is the gate-source voltage of the first reference FET QB.

【0077】したがって、第1リファレンスFETQB
が完全にオン状態に遷移しているときは、抵抗Rr1の
両端にほぼ電源電圧VBが印加されるから、主制御FE
TQAに接続する5[A]負荷に等価な第1リファレン
スFETQBの負荷として、抵抗Rr1の抵抗値は、R
r1=12[V]/5[mA]=1.4[KΩ]として
決定される。
Therefore, the first reference FET QB
Is completely turned on, the power supply voltage VB is substantially applied to both ends of the resistor Rr1.
As a load of the first reference FET QB equivalent to a 5 [A] load connected to TQA, the resistance value of the resistor Rr1 is R
It is determined that r1 = 12 [V] / 5 [mA] = 1.4 [KΩ].

【0078】次に、ピンチオフ領域における動作につい
て説明する。主制御FETQAがオフ状態からオン状態
になると、ドレイン電流IDQAは回路抵抗で決まる最終
負荷電流値を目指して立ち上がって行く。また、主制御
FETQAのゲート−ソース間電圧VTGSAは、ドレイン
電流IDQAで決まる値を取り、ドレイン−ソース間電圧
VDSA の低下によるコンデンサ容量CGDのミラー効果で
ブレーキをかけられながら、これも立ち上がっていく。
さらに、第1リファレンスFETQBのゲート−ソース
間電圧VTGSBは、第1リファレンスFETQBが抵抗R
r=1.4[KΩ]を負荷とするソースフォロアとして
動作することにより決まる。
Next, the operation in the pinch-off region will be described. When the main control FET QA changes from the off state to the on state, the drain current IDQA rises toward the final load current value determined by the circuit resistance. Further, the gate-source voltage VTGSA of the main control FET QA takes a value determined by the drain current IDQA, and this rises while being braked by the Miller effect of the capacitor CGD due to the decrease in the drain-source voltage VDSA. .
Further, the voltage VTGSB between the gate and the source of the first reference FET QB is equal to the resistance R
It is determined by operating as a source follower with r = 1.4 [KΩ] as a load.

【0079】また、主制御FETQAのゲート−ソース
間電圧VTGSAは、ドレイン電流IDQAの増加に応じて大
きくなって行く。また、VDSA =VTGSA+VTGD 、VDS
B =VTGSB+VTGD の関係にあるから、VDSA −VDSB
=VTGSA−VTGSB=(IDQA−n×IDQB)/Gmとな
る。したがって、ドレイン−ソース間電圧の差VDSA−
VDSB を検出することにより、ドレイン電流の差IDQA
−n×IDQBを得ることができる。但し、Gmは主制御
FETQAの伝達コンダクタンス、nは主制御FETQ
Aと第1リファレンスFETQBのチャンネル幅比であ
る。
The gate-source voltage VTGSA of the main control FET QA increases as the drain current IDQA increases. VDSA = VTGSA + VTGD, VDS
Since B = VTSGB + VTGD, VDSA-VDSB
= VTGSA-VTGSB = (IDQA-n * IDQB) / Gm. Therefore, the drain-source voltage difference VDSA-
By detecting VDSB, the drain current difference IDQA
−n × IDQB can be obtained. Here, Gm is the transmission conductance of the main control FET QA, and n is the main control FET QA.
A is the channel width ratio between A and the first reference FET QB.

【0080】第1リファレンスFETQBのドレイン−
ソース間電圧VDSB はコンパレータCMP1に直接入力
され、主制御FETQAのドレイン−ソース間電圧VDS
A は抵抗R1と抵抗R2で分圧した値がコンパレータC
MP1に入力される。即ち、 VDSA ×R1/(R1+R2) ……(1) がコンパレータCMP1に入力されることになる。主制
御FETQAがオン状態に遷移した直後は、第1リファ
レンスFETQBのドレイン−ソース間電圧VDSB >
(1)であるが、主制御FETQAのドレイン電流ID
QAが増加するに連れて(1)は減少する。この時、ドレ
イン−ソース間電圧VDSB も減少し、ドレイン−ソース
間電圧VDSB の減少率より(1)の減少率の方が小さい
ので、ついには第1リファレンスFETQBのドレイン
−ソース間電圧VDSB より(1)が大きくなり、この
時、コンパレータCMP1の出力は“H”レベルから
“L”レベルに変化して、駆動回路111のオフ制御に
より、主制御FETQAをオフ状態に遷移させる。
The drain of the first reference FET QB
The source-to-source voltage VDSB is directly input to the comparator CMP1, and the drain-to-source voltage VDS of the main control FET QA is
A is a value obtained by dividing the voltage divided by the resistors R1 and R2 into the comparator C.
Input to MP1. That is, VDSA × R1 / (R1 + R2) (1) is input to the comparator CMP1. Immediately after the main control FET QA transitions to the ON state, the drain-source voltage VDSB of the first reference FET QB>
(1) The drain current ID of the main control FET QA
(1) decreases as QA increases. At this time, the drain-source voltage VDSB also decreases, and the decrease rate of (1) is smaller than the decrease rate of the drain-source voltage VDSB, so that the drain-source voltage VDSB of the first reference FET QB finally becomes ( 1) increases, and at this time, the output of the comparator CMP1 changes from the “H” level to the “L” level, and the main control FET QA is turned off by the off control of the drive circuit 111.

【0081】なお、コンパレータCMP1では、ダイオ
ードD1と抵抗R5でヒステリシスが形成されている。
主制御FETQAがオフ状態に遷移したとき、駆動回路
111のシンクトランジスタによりゲート電位は接地さ
れ、ダイオードD1のカソード側と主制御FETQAの
ドレインD間の電位差は、VDSA +0.7[V](ツェ
ナーダイオードZD1の順方向電圧)になるので、抵抗
R1→抵抗R5→ダイオードD1の経路で電流が流れ、
コンパレータCMP1の“+”入力端子の電位は、駆動
回路111がオン制御しているときより低下する。した
がって、オフ状態に遷移したときより小さいドレイン−
ソース間電圧の差VDSA −VDSB まで主制御FETQA
はオフ状態を維持し、その後オン状態に遷移することと
なる。なお、ヒステリシス特性の付け方にはいろいろな
方法があるが、これはその一例である。
In the comparator CMP1, a hysteresis is formed by the diode D1 and the resistor R5.
When the main control FET QA transitions to the off state, the gate potential is grounded by the sink transistor of the drive circuit 111, and the potential difference between the cathode side of the diode D1 and the drain D of the main control FET QA is VDSA + 0.7 [V] (Zener (A forward voltage of the diode ZD1).
The potential of the “+” input terminal of the comparator CMP1 is lower than when the drive circuit 111 is performing ON control. Therefore, a smaller drain-
Main control FET QA up to source voltage difference VDSA-VDSB
Maintain the off state, and then transition to the on state. It should be noted that there are various methods for attaching the hysteresis characteristic, but this is one example.

【0082】主制御FETQAがオフ状態に遷移すると
きのドレイン−ソース間電圧VDSAをしきい値VDSAth
とすると、次式が成立する。 VDSAth −VDSB =R2/R1×VDSB ( at 5[mA]) ……(2) 過電流判定値は(2)式で決まることになる。
The drain-source voltage VDSA when the main control FET QA transitions to the off state is set to the threshold value VDSAth
Then, the following equation is established. VDSAth−VDSB = R2 / R1 × VDSB (at 5 [mA]) (2) The overcurrent determination value is determined by equation (2).

【0083】次に、オーミック領域における動作につい
て説明する。配線が正常な状態で、主制御FETQAが
オン状態に遷移すると、主制御FETQAは連続的にオ
ン状態を維持することとなるので、ゲート−ソース間電
圧VTGSA、VTGSBは10[V]近くまで達し、主制御F
ETQA,第1リファレンスFETQBともオーミック
領域で動作する。
Next, the operation in the ohmic region will be described. When the main control FET QA transitions to the ON state in a normal wiring state, the main control FET QA continuously maintains the ON state, so that the gate-source voltages VTGSA and VTGSB reach nearly 10 [V]. , Main control F
Both the ETQA and the first reference FET QB operate in the ohmic region.

【0084】この領域ではドレイン−ソース間電圧VDS
とドレイン電流IDの間には1対1の関係は無くなる。
日立製の「HAF2001」の場合、オン抵抗はドレイ
ン−ソース間電圧VDS=10[V]のとき、RDS(ON)
=30[mΩ]であるので、次式となる。 VDSB=5[A]×30[mΩ]=0.15[V] VDSA=IDQA×30[mΩ] VDSA−VDSB=30[mΩ]×(IDQA−5[A]) ……(3)
In this region, the drain-source voltage VDS
And the drain current ID no longer has a one-to-one relationship.
In the case of “HAF2001” manufactured by Hitachi, the on-resistance is RDS (ON) when the drain-source voltage VDS = 10 [V].
= 30 [mΩ], so that VDSB = 5 [A] × 30 [mΩ] = 0.15 [V] VDSA = IDQA × 30 [mΩ] VDSA−VDSB = 30 [mΩ] × (IDQA-5 [A]) (3)

【0085】また、配線の短絡等でドレイン電流IDQA
が増加すると式(3)の値が大きくなり、過電流判定値
を超えると主制御FETQAをオフ状態に遷移させる。
この後は上記ピンチオフ領域の状態に移り、主制御FE
TQAはオン状態およびオフ状態への遷移を繰り返し
て、最終的に過熱遮断に至る。なお、過熱遮断に至る前
に、配線が正常に復帰すれば(間欠的短絡故障の例)、
主制御FETQAは連続的にオン状態を維持するように
なり、オーミック領域の動作に戻る。
Also, if the drain current IDQA
Increases, the value of equation (3) increases, and when the current exceeds the overcurrent determination value, the main control FET QA is turned off.
Thereafter, the state shifts to the state of the pinch-off region and the main control FE
The TQA repeats a transition to an on state and an off state, eventually leading to overheating cutoff. If the wiring returns to normal before the overheat interruption (example of intermittent short-circuit failure),
The main control FET QA continuously maintains the ON state, and returns to the operation in the ohmic region.

【0086】図7には、本実施形態の電源供給制御装置
における主制御FETQAの電流と電圧の波形図を例示
している。ここで、図7(a)はドレイン電流ID
(A)を、図7(b)はドレイン−ソース間電圧VDSを
それぞれ示し、図中、は正常動作の場合、は過負荷
(ソース〜負荷間の配線短絡抵抗を含む)の場合であ
る。過負荷状態の場合(図中)は、上述のように主制
御FETQAのオン/オフ制御を繰り返し行って、主制
御FETQAの周期的な発熱作用によって、過熱遮断保
護機能を働かせている。
FIG. 7 illustrates a waveform diagram of the current and voltage of the main control FET QA in the power supply control device of the present embodiment. Here, FIG. 7A shows the drain current ID.
FIG. 7A shows the drain-source voltage VDS, and FIG. 7B shows the case of normal operation and the case of overload (including the short-circuit resistance between the source and the load). In the case of an overload state (in the figure), the on / off control of the main control FET QA is repeatedly performed as described above, and the overheat cutoff protection function is activated by the periodic heating action of the main control FET QA.

【0087】以上のように、本具体例の電源供給制御装
置では、電流検出を行うために電力の供給経路に直列接
続されるシャント抵抗を不要とし、高精度の過電流検出
が可能であり、装置全体としての熱損失を抑えることが
でき、また、完全短絡による過電流検出のみならず、あ
る程度の短絡抵抗を持つ不完全短絡などのレアショート
が発生した場合の異常電流をもハードウェア回路によっ
て連続的に検出可能である。
As described above, the power supply control device of the present embodiment does not require a shunt resistor connected in series to the power supply path to detect the current, and enables highly accurate overcurrent detection. The heat loss of the entire device can be suppressed, and not only the overcurrent detection due to a complete short circuit, but also the abnormal current in the event of a rare short circuit such as an incomplete short circuit with a certain degree of short circuit resistance is handled by a hardware circuit. It can be detected continuously.

【0088】また、過小電流検出については、第2リフ
ァレンスFETQCおよび抵抗Rr2が過小電流検出に
おける基準電圧を発生して、コンパレータCMP2の反
転端子に供給し、該コンパレータCMP2の非反転端子
に、主制御FETQAのソースSA電圧VSAを供給する
構成で行われる。さらに、コンパレータCMP2の出力
を用いて電流検出信号を得たい場合には、図8に示すよ
うに、トランジスタQ91および抵抗R91,R92,
Rr2の回路をチップ110の外部端子T15,T16
に付加接続すればよい。
As for undercurrent detection, the second reference FET QC and the resistor Rr2 generate a reference voltage for undercurrent detection and supply the reference voltage to the inverting terminal of the comparator CMP2. This is performed in a configuration in which the source SA voltage VSA of the FET QA is supplied. When it is desired to obtain a current detection signal using the output of the comparator CMP2, as shown in FIG. 8, the transistor Q91 and the resistors R91, R92,
The circuit of Rr2 is connected to the external terminals T15 and T16 of the chip 110.
May be additionally connected.

【0089】なお、コンパレータCMP1,CMP2の
内部で使用する“H”レベルが20[μs]で“L”レ
ベルが2[ms]のデューティ比の極めて低いクロック
CLKについては、別途クロック生成手段を構成する必
要がなく、チャージポンプ305用のクロックを分周し
て使用すればよい。また、上記第1および第2の実施形
態のオフセット電圧自動補正機能付きコンパレータの適
用は、このような具体例の電源供給制御装置に限定され
るものではなく、2つの入力信号について電圧比較を行
なう用途であればどのような形態であっても適用でき、
高精度の電圧比較を実現することができる。
It is to be noted that, for the clock CLK having an "H" level of 20 [μs] and an "L" level of 2 [ms], which is used inside the comparators CMP1 and CMP2 and having an extremely low duty ratio, a separate clock generation means is provided. It is not necessary to divide the clock for the charge pump 305 and use it. Further, the application of the comparator having the automatic offset voltage correction function of the first and second embodiments is not limited to the power supply control device of such a specific example, and the voltage comparison is performed for two input signals. It can be applied in any form as long as it is used,
A highly accurate voltage comparison can be realized.

【0090】〔第3の実施形態〕次に、第3の実施形態
のオフセット電圧自動補正機能付きコンパレータについ
て、図9を参照して説明する。第3の実施形態のコンパ
レータは、第2の実施形態と同様に、基準電圧(第1電
圧)を反転端子TPに、被検出電圧(第2電圧)を非反
転端子TNにそれぞれ入力して、これらの電圧を比較す
るものである。
[Third Embodiment] Next, a comparator with an automatic offset voltage correction function according to a third embodiment will be described with reference to FIG. As in the second embodiment, the comparator according to the third embodiment inputs a reference voltage (first voltage) to an inversion terminal TP and a detected voltage (second voltage) to a non-inversion terminal TN. These voltages are compared.

【0091】図9において、本実施形態のオフセット電
圧自動補正機能付きコンパレータは、第1または第2の
実施形態のオフセット電圧自動補正機能付きコンパレー
タ(図1または図2)において、差動トランジスタ対を
PチャネルMOSFETQ71,Q76,Q86で構成
したものであり、FETQ86はFETQ84および電
流源SI2とのカレントミラー回路により電流を安定化
させている。その他の構成については、第2の実施形態
のオフセット電圧自動補正機能付きコンパレータ(図
2)の構成と類似し、動作(過小電圧検出方法)につい
ても第2の実施形態と同様である。
In FIG. 9, the comparator with the automatic offset voltage correction function according to the present embodiment is the same as the comparator with the automatic offset voltage correction function according to the first or second embodiment (FIG. 1 or FIG. 2). It is composed of P-channel MOSFETs Q71, Q76 and Q86, and the FET Q86 stabilizes the current by a current mirror circuit with the FET Q84 and the current source SI2. The other configuration is similar to the configuration of the comparator with the automatic offset voltage correction function of the second embodiment (FIG. 2), and the operation (undervoltage detection method) is the same as that of the second embodiment.

【0092】図9において、本実施形態のオフセット電
圧自動補正機能付きコンパレータは、不平衡電位設定手
段となる抵抗R73を、差動トランジスタ対の第2トラ
ンジスタFETQ71側の第2抵抗R71と直列に接続
し、非反転端子TNの電位が反転端子TPの電位と所定
電位の差に等しいときに当該コンパレータの出力OUT
が反転するように所定電位を設定するものである。すな
わち、抵抗R73は当該コンパレータのオフセット電圧
をマイナス側に振らせて(オフセット電圧VOFF-)、被
検出電圧源の電位上昇判定をより厳しめに設定する。
In FIG. 9, in the comparator with an automatic offset voltage correction function of the present embodiment, a resistor R73 serving as an unbalanced potential setting means is connected in series with a second resistor R71 on the second transistor FETQ71 side of the differential transistor pair. When the potential of the non-inverting terminal TN is equal to the difference between the potential of the inverting terminal TP and the predetermined potential, the output OUT of the comparator
Is set to a predetermined potential so that the inversion is performed. That is, the resistor R73 swings the offset voltage of the comparator to the negative side (offset voltage VOFF-), and sets the potential rise determination of the detected voltage source more strictly.

【0093】また、不平衡電位設定手段の接続位置の変
更に伴って、電位補正手段が接続される位置も、差動ト
ランジスタ対の第1トランジスタFETQ76側の第1
抵抗R72に直列に接続されることとなる。クロックC
LKが“H”レベルで且つ当該コンパレータ出力OUT
が“H”レベルである時に、FETQ82がオン状態に
遷移して電位補正手段によるオフセット電圧補正機能が
作用するが、この時、コンデンサC71が充電され、F
ETQ79がオン状態に遷移して第1抵抗R72に流れ
る電流を増大させる。つまり、コンデンサC71の充電
電荷量で第1抵抗R72に流れる電流の増大量が決定さ
れることになる。
In accordance with the change in the connection position of the unbalanced potential setting means, the position where the potential correction means is connected also changes to the first transistor FET Q76 side of the differential transistor pair.
This is connected in series to the resistor R72. Clock C
LK is at “H” level and the comparator output OUT
Is at the "H" level, the FET Q82 transitions to the ON state, and the offset voltage correction function by the potential correction means operates. At this time, the capacitor C71 is charged and F
The ETQ 79 transitions to the ON state to increase the current flowing through the first resistor R72. That is, the amount of increase in the current flowing through the first resistor R72 is determined by the amount of charge in the capacitor C71.

【0094】次に、本実施形態のオフセット電圧自動補
正機能付きコンパレータにおける動作について説明す
る。先ず、第1抵抗R72および第2抵抗R71の抵抗
値を等しいもの(R71=R72)とし、抵抗R73を
不平衡電位設定手段として第2抵抗R71側に追加する
ことにより、当該コンパレータのオフセット電圧はマイ
ナス側(VOFF-)のみ(反転端子電位>非反転端子電
位)とする。
Next, the operation of the comparator with an automatic offset voltage correction function according to the present embodiment will be described. First, by setting the resistance values of the first resistor R72 and the second resistor R71 to be equal (R71 = R72), and adding the resistor R73 to the second resistor R71 as unbalanced potential setting means, the offset voltage of the comparator becomes Only the negative side (VOFF-) is set (inversion terminal potential> non-inversion terminal potential).

【0095】次に、“H”レベルが20[μs]で
“L”レベルが2[ms]のデューティ比の極めて低い
のクロックCLKをクロック生成手段から生成する。当
該コンパレータの出力OUTが“L”レベルから“H”
レベルになると、クロックCLKが“H”レベルである
20[μs]の間、アナログスイッチS71がオフし、
アナログスイッチS72/S73がオンする。アナログ
スイッチS72がオンとなることによって、差動トラン
ジスタ対への入力電圧の差が零になるので、当該コンパ
レータ出力OUTは“H”レベルを維持することにな
る。
Next, an extremely low duty ratio clock CLK having an "H" level of 20 [μs] and an "L" level of 2 [ms] is generated from the clock generation means. The output OUT of the comparator changes from “L” level to “H”.
Level, the analog switch S71 is turned off for 20 [μs], when the clock CLK is at the “H” level,
The analog switches S72 / S73 are turned on. When the analog switch S72 is turned on, the difference between the input voltages to the differential transistor pair becomes zero, so that the comparator output OUT maintains the “H” level.

【0096】FETQ79がオン状態に遷移して、電位
補正手段のコンデンサC71が充電され、所定電荷量だ
け充電されるとFETQ79がオン状態に遷移して、第
1抵抗R72を流れる電流が増大して電圧降下が大きく
なる。これにより、FETQ76を流れる電流が減少
し、それによりFETQ77,Q78の電流も減少す
る。これにより、FETQ83はオン状態に向って遷移
し、当該コンパレータの出力OUTが低下して、FET
Q82がオフ状態に遷移することとなり、電位補正手段
によるオフセット電圧の補正作用が停止する。この時、
当該コンパレータのオフセット電圧は減少しており、こ
の補正状態はコンデンサC71に記憶されることとな
る。
When the FET Q79 shifts to the ON state, the capacitor C71 of the potential correcting means is charged. When the capacitor C71 is charged by a predetermined amount, the FET Q79 shifts to the ON state, and the current flowing through the first resistor R72 increases. The voltage drop increases. As a result, the current flowing through the FET Q76 decreases, and the current flowing through the FETs Q77 and Q78 also decreases. As a result, the FET Q83 makes a transition toward the ON state, and the output OUT of the comparator falls, and
Q82 transitions to the off state, and the operation of correcting the offset voltage by the potential correcting means stops. At this time,
The offset voltage of the comparator is decreasing, and the correction state is stored in the capacitor C71.

【0097】次に、クロックCLKが“L”レベルの期
間では、アナログスイッチS71〜S73を元の接続状
態に戻して、当該コンパレータによる被検出電圧の基準
電圧との比較を行う。この時、当該コンパレータのオフ
セット電圧は減少して前回の比較におけるものより小さ
くなっている。電位補正手段の補正作用によっては、オ
フセット電圧が零を超えて、若干のプラスオフセットに
なることもある。以上の電位補正手段によるオフセット
電圧の補正を数回繰り返せば、当該コンパレータのオフ
セット電圧は略零電位「0[V]」(若しくは、若干の
プラス電位)になり、オフセット電圧を零とした正確な
電圧比較(第2電圧の電位上昇判定)が可能となる。
Next, while the clock CLK is at the "L" level, the analog switches S71 to S73 are returned to the original connection state, and the detected voltage is compared with the reference voltage by the comparator. At this time, the offset voltage of the comparator decreases and becomes smaller than that in the previous comparison. Depending on the correction action of the potential correction means, the offset voltage may exceed zero and become a slight positive offset. If the offset voltage correction by the above-described potential correction means is repeated several times, the offset voltage of the comparator becomes substantially zero potential “0 [V]” (or a slight positive potential), and the correct offset voltage is set to zero. Voltage comparison (potential rise determination of the second voltage) becomes possible.

【0098】以上のように、本実施形態のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすことができ、2つの入力信号の電圧比較の精度を
高め、特に過小電圧(微小電流)の検出も正確に行うこ
とができる。
As described above, the comparator with the automatic offset voltage correction function according to the present embodiment does not require an external terminal for adjusting the offset voltage or an accessory element unlike the conventional one, and automatically corrects the offset voltage in the comparator. As a result, it is possible to eliminate the influence of an error due to a temperature drift with respect to a variation in an offset voltage due to a temperature change, to enhance the accuracy of voltage comparison between two input signals, and particularly to detect an undervoltage (small current). Can be done accurately.

【0099】〔第4の実施形態〕次に、第4の実施形態
のオフセット電圧自動補正機能付きコンパレータについ
て、図10を参照して説明する。第4の実施形態のコン
パレータは、基準電圧(第1電圧)を反転端子TPに、
被検出電圧(第2電圧)を非反転端子TNにそれぞれ入
力して、これら電圧の比較を行うものである。
[Fourth Embodiment] Next, a comparator having an automatic offset voltage correction function according to a fourth embodiment will be described with reference to FIG. The comparator according to the fourth embodiment applies a reference voltage (first voltage) to an inversion terminal TP,
The detected voltage (second voltage) is input to the non-inverting terminal TN, respectively, and these voltages are compared.

【0100】図10において、本実施形態のオフセット
電圧自動補正機能付きコンパレータは、第1電源電位を
VB、第2電源電位をGNDとし、NチャネルMOSF
ETQ71,Q76,Q77,Q78,Q82,Q83
と、PチャネルMOSFETQ72,Q73,Q74,
Q75,Q79,Q84,Q85,Q87と、ダイオー
ドD11,D12と、抵抗R5,R6,R71〜R7
6,R78〜R85と、コンデンサC71,C72と、
アナログスイッチS71,S72と、NOTゲートGN
11,GN12と、電流源SI1,SI2とを備えて構
成されている。なお、第1の実施形態のオフセット電圧
自動補正機能付きコンパレータと同等の構成要素につい
ては、同一の参照符号を付している。
In FIG. 10, the comparator with the automatic offset voltage correction function of the present embodiment has a first power supply potential of VB, a second power supply potential of GND, and an N-channel MOSF.
ETQ71, Q76, Q77, Q78, Q82, Q83
And P-channel MOSFETs Q72, Q73, Q74,
Q75, Q79, Q84, Q85, Q87, diodes D11, D12, resistors R5, R6, R71-R7
6, R78 to R85, capacitors C71 and C72,
Analog switches S71 and S72, NOT gate GN
11, GN12 and current sources SI1 and SI2. The same components as those of the comparator with the automatic offset voltage correction function of the first embodiment are denoted by the same reference numerals.

【0101】コンパレータの基本となる差動トランジス
タ対(第1トランジスタおよび第2トランジスタ)は、
FETQ71〜Q76により構成されている。FETQ
71,Q76は、それぞれゲート(制御電極)を非反転
端子TN,反転端子TPに接続した入力インタフェース
トランジスタとして機能する。また、FETQ72,Q
73および電流源SI1がカレントミラー回路を、FE
TQ74,Q75および電流源SI1がカレントミラー
回路をそれぞれ構成しているので、FETQ72,Q7
3には同一の電流が流れ、それぞれFETQ71の2分
の1の電流となり、また、FETQ74,Q75には同
一の電流が流れ、それぞれFETQ76の2分の1の電
流となる。すなわち、FETQ72〜Q75および電流
源SI1は、差動トランジスタ対の左右のトランジスタ
に流れる電流を足し合わせて一定にする機能を司る。
The differential transistor pair (first transistor and second transistor) which is the basis of the comparator is:
It is constituted by FETs Q71 to Q76. FETQ
71 and Q76 function as input interface transistors whose gates (control electrodes) are connected to the non-inverting terminal TN and the inverting terminal TP, respectively. In addition, FET Q72, Q
73 and the current source SI1 form a current mirror circuit,
Since TQ74, Q75 and current source SI1 constitute a current mirror circuit, respectively, FETs Q72, Q7
3, the same current flows through the FET Q71, and the same current flows through the FET Q71, and the same current flows through the FETs Q74 and Q75, resulting in half the current through the FET Q76. That is, the FETs Q72 to Q75 and the current source SI1 have a function of adding currents flowing through the left and right transistors of the differential transistor pair to make them constant.

【0102】また、FETQ77,Q78は能動負荷と
して機能し、差動トランジスタ対にオフセット電圧が無
く左右のバランスが取れている理想的な条件下では、F
ETQ77,Q78に、FETQ71,Q76を流れる
電流の2分の1の電流が流れ、ドレイン電位は同一であ
る。また、当該能動負荷による差動トランジスタ対の差
動増幅出力(アナログ量)は、抵抗R80およびFET
Q83を介して、当該コンパレータの出力OUT(ディ
ジタル量)に変換される。
The FETs Q77 and Q78 function as active loads, and under ideal conditions where there is no offset voltage in the differential transistor pair and the left and right sides are balanced, FQ
Half of the current flowing through the FETs Q71 and Q76 flows through the ETQ77 and Q78, and the drain potential is the same. The differential amplified output (analog amount) of the differential transistor pair due to the active load is determined by the resistance R80 and the FET.
The signal is converted into an output OUT (digital amount) of the comparator via Q83.

【0103】コンデンサC72、抵抗R85およびNO
TゲートGN12は、当該コンパレータの出力OUTが
“H”レベルから“L”レベルに切り替わった時から第
1期間の間だけ“H”レベルを出力する第1計時手段と
して機能する。すなわち、コンデンサC72および抵抗
R85は微分回路であり、C72×R85の値に基づき
第1期間を規定し、当該コンパレータの出力OUTが
“H”レベルから“L”レベルに切り替わった時から第
1期間だけ“L”レベルを出力し、NOTゲートGN1
2により該出力の反転論理を得ている。またさらに、N
OTゲートGN11はNOTゲートGN12出力の反転
論理を出力しており、NOTゲートGN12出力はアナ
ログスイッチS72のオン/オフ制御を、NOTゲート
GN11出力はアナログスイッチS71のオン/オフ制
御をそれぞれ行っている。
The capacitor C72, the resistor R85 and the NO
The T gate GN12 functions as a first timing unit that outputs the “H” level only during the first period from when the output OUT of the comparator switches from the “H” level to the “L” level. That is, the capacitor C72 and the resistor R85 are differentiating circuits, and define a first period based on the value of C72 × R85. Only at the "L" level, and the NOT gate GN1
2, the inverted logic of the output is obtained. Furthermore, N
The OT gate GN11 outputs the inverted logic of the output of the NOT gate GN12, and the output of the NOT gate GN12 performs on / off control of the analog switch S72, and the output of the NOT gate GN11 performs on / off control of the analog switch S71. .

【0104】アナログスイッチS71,S72は接続切
換手段に該当している。当該コンパレータの出力OUT
が“H”レベルから“L”レベルに切り替わった時から
第1計時手段による第1期間だけNOTゲートGN12
の出力として“H”レベルが出力されている間、NOT
ゲートGN11の出力が“L”レベルであるので、アナ
ログスイッチS72がオンとなると共にアナログスイッ
チS71がオフとなり、非反転端子TNのFETQ71
への接続が切り離されると共に非反転端子TNが反転端
子TPと接続される。
The analog switches S71 and S72 correspond to connection switching means. Output OUT of the comparator
Gate is switched from the "H" level to the "L" level for the first period by the first timing means for the NOT gate GN12.
While the “H” level is being output as the output of
Since the output of the gate GN11 is at "L" level, the analog switch S72 is turned on and the analog switch S71 is turned off, and the FET Q71 of the non-inverting terminal TN is turned off.
And the non-inverting terminal TN is connected to the inverting terminal TP.

【0105】また、抵抗R83,R84、ダイオードD
12およびFETQ87で構成される部分回路は、第1
の実施形態におけるアナログスイッチS73の代わりに
設けられている部分回路であって、当該コンパレータの
出力OUTが“H”レベルから“L”レベルに切り替わ
った時から第1計時手段による第1期間だけNOTゲー
トGN12の出力として“H”レベルが出力されている
間、FETQ87はオン状態に遷移して後述の電位補正
手段を機能させる。なお、NOTゲートGN12から
“H”レベルが出力される第1期間経過後に、当該コン
パレータの出力OUTが“L”レベルのままであれば、
以後の電位補正手段による補正(コンデンサC71を充
電するリフレッシュ動作)を行わないようにする働きも
している。
The resistors R83 and R84, the diode D
12 and the FET Q87,
Is a partial circuit provided in place of the analog switch S73 in the embodiment of the present invention. While the “H” level is being output as the output of the gate GN12, the FET Q87 transitions to the ON state to function the potential correction means described later. Note that if the output OUT of the comparator remains at the “L” level after the first period in which the “H” level is output from the NOT gate GN12,
It also serves to prevent subsequent correction by the potential correction means (refresh operation for charging the capacitor C71).

【0106】次に、抵抗R73は第3抵抗に該当して、
FETQ71のソースに接続されている。つまり、抵抗
R73は、非反転端子TNの電位が反転端子TPの電位
と所定電位の和に等しいときに当該コンパレータの出力
OUTが反転するように所定電位を設定する不平衡電位
設定手段に該当する。すなわち、抵抗R73は当該コン
パレータのオフセット電圧をプラス側に振らせて(オフ
セット電圧VOFF+)、被検出電圧の電位低下判定をより
厳しめに設定する。
Next, the resistor R73 corresponds to a third resistor.
It is connected to the source of FET Q71. That is, the resistor R73 corresponds to unbalanced potential setting means for setting the predetermined potential so that the output OUT of the comparator is inverted when the potential of the non-inverting terminal TN is equal to the sum of the potential of the inverting terminal TP and the predetermined potential. . That is, the resistor R73 causes the offset voltage of the comparator to swing to the plus side (offset voltage VOFF +), and the potential drop of the detected voltage is set more strictly.

【0107】電位補正手段は、抵抗R74〜R79、コ
ンデンサC71、ダイオードD11およびFETQ7
9,Q82で構成されている。当該コンパレータの出力
OUTが“H”レベルから“L”レベルに切り替わった
時から第1計時手段による第1期間だけNOTゲートG
N12から“H”レベルが出力されると、FETQ87
がオン状態に遷移して電位補正手段によるオフセット電
圧補正機能が作用する。すなわち、この時、コンデンサ
C71がダイオードD11、抵抗R76を介して第2電
源電位GNDに接地されることによって充電され、コン
デンサC71に充電電荷が蓄積されるに従ってFETQ
79がオン状態に遷移して、FETQ76のオン抵抗に
流れる電流を増大させる。つまり、コンデンサC71の
充電電荷量でFETQ76のオン抵抗に流れる電流の増
大量が決定される。なお、第1計時手段が計時する第1
期間は、コンデンサC71の充電時間よりも長く設定さ
れることが望ましく、例えば約20μsである。
The potential correcting means includes resistors R74 to R79, capacitor C71, diode D11 and FET Q7.
9, Q82. The NOT gate G is provided only for the first period by the first clock means from the time when the output OUT of the comparator switches from the “H” level to the “L” level.
When "H" level is output from N12, FET Q87
Transitions to the ON state, and the offset voltage correction function of the potential correction means operates. That is, at this time, the capacitor C71 is charged by being grounded to the second power supply potential GND via the diode D11 and the resistor R76.
79 changes to the ON state to increase the current flowing through the ON resistance of the FET Q76. That is, the amount of charge of the capacitor C71 determines the amount of increase in the current flowing through the on-resistance of the FET Q76. Note that the first time counting means
The period is desirably set to be longer than the charging time of the capacitor C71, for example, about 20 μs.

【0108】次に、本実施形態のオフセット電圧自動補
正機能付きコンパレータにおける動作、特に過電圧(過
電流)検出方法について説明する。先ず、第1抵抗R7
2および第2抵抗R71の抵抗値を等しいもの(R71
=R72)とし、抵抗R73を不平衡電位設定手段とし
て追加することにより、当該コンパレータのオフセット
電圧はプラス側(VOFF+)のみ(反転端子電位<非反転
端子電位)とする。
Next, the operation of the comparator having the automatic offset voltage correction function according to the present embodiment, in particular, the overvoltage (overcurrent) detection method will be described. First, the first resistor R7
2 and the second resistor R71 having the same resistance value (R71
= R72), and the resistor R73 is added as an unbalanced potential setting means, so that the offset voltage of the comparator is only on the plus side (VOFF +) (inverted terminal potential <non-inverted terminal potential).

【0109】当該コンパレータの出力OUTが“H”レ
ベルから“L”レベルになると、コンデンサC72およ
び抵抗R85の微分回路により、NOTゲートGN12
の入力側が第1期間だけ“L”レベルになる。この時、
NOTゲートGN12の出力側が“H”レベルになるの
で、アナログスイッチS72がオンすると共にアナログ
スイッチS71がオフする。アナログスイッチS72が
オンとなることによって、差動トランジスタ対(FET
Q71〜FETQ76)への入力電圧の差が無くなるの
で、当該コンパレータ出力OUTは“L”レベルを維持
することとなる。
When the output OUT of the comparator changes from the "H" level to the "L" level, the NOT gate GN12 is operated by the differentiating circuit of the capacitor C72 and the resistor R85.
Is at the "L" level only for the first period. At this time,
Since the output side of the NOT gate GN12 becomes “H” level, the analog switch S72 is turned on and the analog switch S71 is turned off. When the analog switch S72 is turned on, the differential transistor pair (FET)
Since the difference between the input voltages to Q71 to FET Q76) disappears, the comparator output OUT maintains the “L” level.

【0110】またこの時、FETQ87がオン状態に遷
移することによって、FETQ82がオン状態に遷移し
て、電位補正手段のコンデンサC71が充電される。所
定電荷量(FETQ79のスレシホールドレベル以上と
なる電荷量)だけ充電されると、FETQ79がオン状
態に遷移するので、FETQ76を流れる電流が増加す
ることとなり、FETQ76のゲート−ソース間の電圧
が増大する。
At this time, when the FET Q87 is turned on, the FET Q82 is turned on, and the capacitor C71 of the potential correcting means is charged. When a predetermined amount of charge (a charge amount equal to or higher than the threshold level of the FET Q79) is charged, the FET Q79 transitions to the ON state, so that the current flowing through the FET Q76 increases, and the voltage between the gate and the source of the FET Q76 decreases. Increase.

【0111】この時、FETQ76のソース電圧が低下
するので、FETQ74のソース−ゲート間電圧が低下
して、FETQ74、従ってFETQ75を流れる電流
が減少する。このため、FETQ73、従ってFETQ
72を流れる電流が増加し、FETQ77の電流が増加
する。FETQ78はFETQ77と同じ大きさの電流
を流せる能力があるので、FETQ83のゲート電位は
低下し、FETQ83はオフ状態に向かう。このため、
当該コンパレータ出力OUTの電位は上昇してくること
になる。
At this time, since the source voltage of the FET Q76 decreases, the voltage between the source and the gate of the FET Q74 decreases, and the current flowing through the FET Q74 and thus the FET Q75 decreases. Because of this, FET Q73, and hence FET Q
The current flowing through 72 increases, and the current of FET Q77 increases. Since the FET Q78 has the ability to flow the same amount of current as the FET Q77, the gate potential of the FET Q83 decreases and the FET Q83 turns off. For this reason,
The potential of the comparator output OUT rises.

【0112】FETQ87のゲート−ソース間電圧、即
ち{(VB−出力OUT電位)×R83/(R83+R
84)}がFETQ87のスレシホールドレベル未満の
電圧になると、その結果FETQ87がオフ状態に遷移
し、FETQ82がオフ状態に遷移する。これにより、
コンデンサC71の充電電流が遮断され、電位補正手段
によるオフセット電圧補正作用が停止することになる。
この時、当該コンパレータのオフセット電圧は零になっ
ており、この補正状態はコンデンサC71の蓄積電荷量
として記憶されることとなる。なお、電荷の記憶保持時
間は時定数C71×(R76+D11の逆方向抵抗値)
で決まる。
The gate-source voltage of the FET Q87, that is, {(VB−output OUT potential) × R83 / (R83 + R
84) When} becomes a voltage lower than the threshold level of the FET Q87, as a result, the FET Q87 transitions to the off state, and the FET Q82 transitions to the off state. This allows
The charging current of the capacitor C71 is cut off, and the offset voltage correction operation by the potential correction means stops.
At this time, the offset voltage of the comparator is zero, and the correction state is stored as the amount of charge stored in the capacitor C71. Note that the charge holding time is a time constant C71 × (R76 + reverse resistance value of D11).
Is determined by

【0113】当該コンパレータの出力OUTが“H”レ
ベルになると、NOTゲートGN12の入力は“H”レ
ベルとなるので、アナログスイッチS72がオフすると
共にアナログスイッチS71がオンして、オフセット電
圧零となった当該コンパレータによる被検出電圧の基準
電圧との比較が行われることになる。オフセット電圧零
のコンパレータで判定して出力OUTが“L”レベルに
なれば、非反転端子TNに加わる被検出電圧が変化しな
い限り、出力OUTが“L”レベルに維持され、この状
態ではそれ以後の補正(リフレッシュ動作)は行われな
いことになる。また、判定出力OUTが“H”レベルで
あれば、当該コンパレータはオフセット電圧ゼロ補正が
維持される間は高精度の判定をして“H”レベルを出力
するが、コンデンサC71による補正量の記憶が消えて
くると、当該コンパレータの出力OUTが“H”レベル
から“L”レベルに遷移して再度補正(リフレッシュ動
作)を行うことになる。
When the output OUT of the comparator goes to "H" level, the input of the NOT gate GN12 goes to "H" level, so that the analog switch S72 is turned off and the analog switch S71 is turned on, and the offset voltage becomes zero. The detected voltage is compared with the reference voltage by the comparator. If the output OUT goes to the "L" level as determined by the offset voltage zero comparator, the output OUT is maintained at the "L" level as long as the detected voltage applied to the non-inverting terminal TN does not change. (Refresh operation) is not performed. If the determination output OUT is at the “H” level, the comparator makes a high-precision determination and outputs the “H” level while the offset voltage zero correction is maintained, but the correction amount is stored by the capacitor C71. Disappears, the output OUT of the comparator changes from the "H" level to the "L" level, and the correction (refresh operation) is performed again.

【0114】以上のように、本実施形態のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすことができ、2つの入力信号について行われる電
圧比較の精度を高め、特に過電圧(過電流)の検出も正
確に行うことができる。また、第1の実施形態のオフセ
ット電圧自動補正機能付きコンパレータと比較して、ク
ロックCLKを必要としないので、より簡単な回路構成
で実現することができる。
As described above, the comparator with the automatic offset voltage correction function of the present embodiment does not require an external terminal for adjusting the offset voltage or an attached element unlike the conventional one, and the offset voltage is automatically corrected in the comparator. As a result, even if the offset voltage varies due to a temperature change, the influence of the error due to the temperature drift can be eliminated, the accuracy of the voltage comparison performed between the two input signals can be improved, and particularly, the overvoltage (overcurrent) detection can be performed. Can also be done accurately. Further, as compared with the comparator having the automatic offset voltage correction function of the first embodiment, since the clock CLK is not required, it can be realized with a simpler circuit configuration.

【0115】〔第5の実施形態〕次に、第5の実施形態
のオフセット電圧自動補正機能付きコンパレータについ
て、図11を参照して説明する。第5の実施形態のコン
パレータは、基準電圧(第1電圧)を反転端子TPに、
被検出電圧(第2電圧)を非反転端子TNにそれぞれ入
力して、これら電圧の比較を行うものである。
[Fifth Embodiment] Next, a comparator having an automatic offset voltage correction function according to a fifth embodiment will be described with reference to FIG. The comparator according to the fifth embodiment sets the reference voltage (first voltage) to the inverting terminal TP,
The detected voltage (second voltage) is input to the non-inverting terminal TN, respectively, and these voltages are compared.

【0116】図11において、本実施形態のオフセット
電圧自動補正機能付きコンパレータは、第4の実施形態
のオフセット電圧自動補正機能付きコンパレータ(図1
0)において、不平衡電位設定手段となる抵抗R73
は、差動トランジスタ対の第1トランジスタ側における
FETQ76のソースに直列接続され、非反転端子TN
の電位が反転端子TPの電位と所定電位の差に等しいと
きに当該コンパレータの出力OUTが反転するように所
定電位が設定される。すなわち、抵抗R73は当該コン
パレータのオフセット電圧をマイナス側に振らせて(オ
フセット電圧VOFF-)、被検出電圧の電位上昇判定をよ
り厳しめに設定する。
In FIG. 11, the comparator with the automatic offset voltage correction function of the present embodiment is the same as the comparator with the automatic offset voltage correction function of the fourth embodiment (FIG. 1).
0), a resistor R73 serving as an unbalanced potential setting means
Is connected in series to the source of the FET Q76 on the first transistor side of the differential transistor pair, and the non-inverting terminal TN
The predetermined potential is set such that the output OUT of the comparator is inverted when the potential of the comparator is equal to the difference between the potential of the inverting terminal TP and the predetermined potential. That is, the resistor R73 causes the offset voltage of the comparator to shift to the negative side (offset voltage VOFF-), and the potential rise of the detected voltage is set more strictly.

【0117】また、不平衡電位設定手段の接続位置の変
更に伴って、電位補正手段が接続される位置も、差動ト
ランジスタ対の第2トランジスタ側のFETQ71のオ
ン抵抗に直列接続されるようにFETQ71のソースに
接続されることとなる。また、コンデンサC72、抵抗
R85およびNOTゲートGN12は、当該コンパレー
タの出力OUTが“L”レベルから“H”レベルに切り
替わった時から第2期間の間だけ“L”レベルを出力す
る第2計時手段として機能する。すなわち、コンデンサ
C72および抵抗R85は微分回路であり、C72×R
85の値に基づき第2期間を規定し、当該コンパレータ
の出力OUTが“L”レベルから“H”レベルに切り替
わった時から第2期間だけ“H”レベルを出力し、NO
TゲートGN12により該出力の反転論理を得ている。
さらに、抵抗R83,R84およびFETQ87で構成
される部分回路は、第2の実施形態におけるアナログス
イッチS73の代わりに設けられている部分回路であっ
て、当該コンパレータの出力OUTが“L”レベルから
“H”レベルに切り替わった時から第2計時手段による
第2期間だけNOTゲートGN12出力として“L”レ
ベルが出力されている間、FETQ87はオン状態に遷
移して電位補正手段を機能させる。
With the change of the connection position of the unbalanced potential setting means, the position of the potential correction means is also connected in series to the on-resistance of the FET Q71 on the second transistor side of the differential transistor pair. It will be connected to the source of FET Q71. Further, the capacitor C72, the resistor R85, and the NOT gate GN12 are provided with a second timing means for outputting the "L" level only during the second period from when the output OUT of the comparator switches from the "L" level to the "H" level. Function as That is, the capacitor C72 and the resistor R85 are a differentiation circuit, and C72 × R
The second period is defined based on the value of 85, and the “H” level is output only for the second period from the time when the output OUT of the comparator switches from the “L” level to the “H” level.
The inverted logic of the output is obtained by the T gate GN12.
Further, a partial circuit including the resistors R83 and R84 and the FET Q87 is a partial circuit provided in place of the analog switch S73 in the second embodiment, and the output OUT of the comparator is changed from “L” level to “L”. The FET Q87 transitions to the ON state and causes the potential correction means to function while the "L" level is being output as the output of the NOT gate GN12 only during the second period by the second timing means from the time of switching to the "H" level.

【0118】つまり、第2計時手段によって、当該コン
パレータの出力OUTが“L”レベルから“H”レベル
に切り替わった時から第2期間だけNOTゲートGN1
2から“L”レベルが出力されると、FETQ82がオ
ン状態に遷移して電位補正手段によるオフセット電圧補
正機能が作用するが、この時、コンデンサC71がダイ
オードD11、抵抗R76を介して第2電源電位GND
に接地されることによって充電され、FETQ79がオ
ン状態に遷移してFETQ71のオン抵抗に流れる電流
を増大させる。つまり、コンデンサC71の充電電荷量
でFETQ71のオン抵抗に流れる電流の増大量が決定
されることになる。なお、第2計時手段が計時する第2
期間は、コンデンサC71の充電時間よりも長く設定さ
れることが望ましく、例えば約20μsである。
That is, the NOT gate GN1 is provided only for the second period from the time when the output OUT of the comparator is switched from the "L" level to the "H" level by the second timing means.
2 outputs an "L" level, the FET Q82 transitions to the ON state, and the offset voltage correcting function of the potential correcting means operates. Potential GND
The FET Q79 transitions to the ON state to increase the current flowing through the ON resistance of the FET Q71. That is, the amount of increase in the current flowing through the on-resistance of the FET Q71 is determined by the amount of charge in the capacitor C71. Note that the second timing means measures the second
The period is desirably set to be longer than the charging time of the capacitor C71, for example, about 20 μs.

【0119】次に、本実施形態のオフセット電圧自動補
正機能付きコンパレータにおける動作、特に過小電圧
(微小電流)検出方法について説明する。先ず、第1抵
抗R72および第2抵抗R71の抵抗値を等しいもの
(R71=R72)とし、抵抗R73を不平衡電位設定
手段として追加することにより、当該コンパレータのオ
フセット電圧はマイナス側(VOFF-)のみ(反転端子電
位>非反転端子電位)とする。
Next, the operation of the comparator having the automatic offset voltage correction function of the present embodiment, in particular, a method of detecting an undervoltage (small current) will be described. First, the first resistor R72 and the second resistor R71 have the same resistance value (R71 = R72), and the resistor R73 is added as an unbalanced potential setting means, so that the offset voltage of the comparator becomes negative (VOFF-). Only (inverted terminal potential> non-inverted terminal potential).

【0120】当該コンパレータの出力OUTが“L”レ
ベルから“H”レベルに切り替わると、コンデンサC7
2および抵抗R85の微分回路により、NOTゲートG
N12の出力が第2期間だけ“L”レベルになる。この
ため、アナログスイッチS71がオフすると共にアナロ
グスイッチS72がオンする。アナログスイッチS72
がオンとなることによって、差動トランジスタ対への入
力電圧の差が無くなるので、当該コンパレータ出力OU
Tは“H”レベルとなる。
When the output OUT of the comparator switches from "L" level to "H" level, the capacitor C7
2 and a differential circuit of the resistor R85, the NOT gate G
The output of N12 becomes "L" level only for the second period. Therefore, the analog switch S71 turns off and the analog switch S72 turns on. Analog switch S72
Is turned on, the difference between the input voltages to the differential transistor pair disappears, and the comparator output OU
T becomes "H" level.

【0121】またこの時、FETQ87がオン状態に遷
移することによって、FETQ82がオン状態に遷移し
て、電位補正手段のコンデンサC71が充電される。所
定電荷量(FETQ79のスレシホールドレベル以上と
なる電荷量)だけ充電されると、FETQ79がオン状
態に遷移するので、FETQ71を流れる電流が増加す
ることとなり、FETQ71のゲート−ソース間の電圧
が増大する。
At this time, when the FET Q87 is turned on, the FET Q82 is turned on, and the capacitor C71 of the potential correcting means is charged. When the FET Q79 is charged by a predetermined amount of charge (the amount of charge that is equal to or higher than the threshold level of the FET Q79), the FET Q79 transitions to the ON state, so that the current flowing through the FET Q71 increases, and the voltage between the gate and source of the FET Q71 decreases. Increase.

【0122】この時、FETQ71のソース電圧が低下
するのでFETQ73のソース−ゲート間電圧が低下し
て、FETQ73、従ってFETQ72,Q77を流れ
る電流が減少する。このため、FETQ74を流れる電
流が増加し、FETQ75はより電流を流せる状態にな
る。FETQ77の電流が減少するとFETQ78の電
流も減少する。FETQ78のドレイン電位は上昇し、
FETQ83のゲート電位が上昇して、FETQ83は
オン状態に向かう。このため、当該コンパレータ出力O
UTの電位は低下してくることになる。その結果、FE
TQ87がオフ状態に遷移し、FETQ82がオフ状態
に遷移する。これにより、コンデンサC71の充電電流
が遮断され、電位補正手段によるオフセット電圧補正作
用が停止することになる。この時、当該コンパレータの
オフセット電圧は零になっており、この補正状態はコン
デンサC71の蓄積電荷量として記憶されることとな
る。記憶保持時間は時定数C71×(R76+D11の
逆方向抵抗値)で決まる。
At this time, since the source voltage of the FET Q71 decreases, the voltage between the source and the gate of the FET Q73 decreases, and the current flowing through the FET Q73, and thus the FETs Q72 and Q77, decreases. Therefore, the current flowing through the FET Q74 increases, and the FET Q75 is in a state where more current can flow. When the current of the FET Q77 decreases, the current of the FET Q78 also decreases. The drain potential of the FET Q78 rises,
The gate potential of the FET Q83 rises, and the FET Q83 turns on. Therefore, the comparator output O
The potential of the UT will decrease. As a result, FE
TQ87 transitions to the off state, and FET Q82 transitions to the off state. As a result, the charging current of the capacitor C71 is cut off, and the offset voltage correcting operation by the potential correcting means stops. At this time, the offset voltage of the comparator is zero, and the correction state is stored as the amount of charge stored in the capacitor C71. The storage holding time is determined by a time constant C71 × (R76 + reverse resistance value of D11).

【0123】当該コンパレータの出力OUTが“L”レ
ベルになると、NOTゲートGN12の出力は“H”レ
ベルとなるので、アナログスイッチS71がオンすると
共にアナログスイッチS72がオフして、オフセット電
圧零となった当該コンパレータによる被検出電圧の基準
電圧との比較が行われることになる。オフセット電圧零
の当該コンパレータで判定して出力OUTが“H”レベ
ルになれば、非反転端子TNに加わる被検出電圧が変化
しない限り、出力OUTが“H”レベルに維持され、こ
の状態ではそれ以後の補正(リフレッシュ動作)は行わ
れないことになる。また、判定出力OUTが“L”レベ
ルであれば、当該コンパレータはオフセット電圧ゼロ補
正が維持される間は高精度の判定をして“L”レベルを
出力するが、コンデンサC71による補正量の記憶が消
えてくると、当該コンパレータ出力OUTが“L”レベ
ルから“H”レベルに遷移して再度補正(リフレッシュ
動作)を行うことになる。
When the output OUT of the comparator goes to "L" level, the output of the NOT gate GN12 goes to "H" level, so that the analog switch S71 is turned on, the analog switch S72 is turned off, and the offset voltage becomes zero. The detected voltage is compared with the reference voltage by the comparator. If the output OUT goes to the “H” level as determined by the comparator with the offset voltage of zero, the output OUT is maintained at the “H” level unless the detected voltage applied to the non-inverting terminal TN changes. Subsequent correction (refresh operation) will not be performed. If the determination output OUT is at the “L” level, the comparator makes a high-precision determination and outputs the “L” level while the offset voltage zero correction is maintained, but the correction amount is stored by the capacitor C71. Disappears, the comparator output OUT changes from the "L" level to the "H" level, and the correction (refresh operation) is performed again.

【0124】以上のように、本実施形態のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすことができ、2つの入力信号について行われる電
圧比較の精度を高め、特に、過小電圧(微小電流)の検
出も正確に行うことができる。また、第2の実施形態の
オフセット電圧自動補正機能付きコンパレータと比較し
て、クロックCLKを必要としないので、より簡単な回
路構成で実現することができる。
As described above, the comparator with the automatic offset voltage correction function of the present embodiment does not require an external terminal or an attached element for adjusting the offset voltage unlike the related art, and the offset voltage is automatically corrected in the comparator. As a result, the influence of errors due to temperature drift can be eliminated even with respect to variations in offset voltage due to temperature changes, the accuracy of voltage comparison performed between two input signals can be increased, and in particular, undervoltage (small current) Can be detected accurately. Further, as compared with the comparator with the automatic offset voltage correction function of the second embodiment, since the clock CLK is not required, it can be realized with a simpler circuit configuration.

【0125】〔第4および第5の実施形態が適用される
具体例〕第4および第5の実施形態のオフセット電圧自
動補正機能付きコンパレータを適用する第2具体例とし
て、電源101の出力電圧VBを負荷102に供給する
経路に、半導体スイッチとしての主制御FETQAのド
レインD−ソースSAを直列接続した構成の電源供給制
御装置を図12に例示する。図中、CMP1に第4の実
施形態の過電流検出を行なうコンパレータが、CMP2
に第5の実施形態の過小電流検出を行なうコンパレータ
がそれぞれ適用される。
[Specific Example to which Fourth and Fifth Embodiments are Applied] As a second specific example to which the comparators with automatic offset voltage correction functions of the fourth and fifth embodiments are applied, the output voltage VB of the power supply 101 is FIG. 12 illustrates a power supply control device having a configuration in which a drain D-source SA of a main control FET QA as a semiconductor switch is connected in series to a path for supplying the power to the load 102. In the figure, a comparator that performs overcurrent detection according to the fourth embodiment is applied to CMP1.
The comparator for detecting an undercurrent according to the fifth embodiment is applied to each of them.

【0126】図12の電源供給制御装置は、図3とほぼ
同等のものであるので、ここでは、第1具体例の電源供
給制御装置と異なる回路構成部分(トランジスタQ1、
抵抗R1〜R6、ダイオードD2,D3)について、該
回路の機能や作用について説明する。
Since the power supply control device of FIG. 12 is substantially the same as that of FIG. 3, here, the circuit components (transistors Q1,
With respect to the resistors R1 to R6 and the diodes D2 and D3), the function and operation of the circuit will be described.

【0127】先ず、電源101と抵抗R1との間に接続
されているPNPトランジスタQ1は、暗電流に対処す
るためのものであり、スイッチSW1がオンされた(負
荷102への電源供給指示がなされた)時にのみトラン
ジスタQ1をオン状態に遷移させ、そうでない時はオフ
状態として、暗電流の経路を削減している。つまり、ト
ランジスタQ1がオフ状態にある時は、抵抗R1→抵抗
R3→抵抗R2→GND(接地電位)、抵抗R1→ダイ
オードD3→抵抗R5→負荷102→GND、並びに、
抵抗R1→抵抗R3→ダイオードD2→抵抗R6→抵抗
Rr1→GND(接地電位)の経路を流れる電流がカッ
トされ、暗電流を低減できることとなる。
First, the PNP transistor Q1 connected between the power supply 101 and the resistor R1 is for dealing with dark current, and the switch SW1 is turned on (power supply instruction to the load 102 is issued). ), The transistor Q1 is turned on, and if not, it is turned off to reduce the path of dark current. That is, when the transistor Q1 is in the off state, the resistor R1 → the resistor R3 → the resistor R2 → GND (ground potential), the resistor R1 → the diode D3 → the resistor R5 → the load 102 → GND, and
The current flowing through the path of the resistor R1, the resistor R3, the diode D2, the resistor R6, the resistor Rr1, and the GND (ground potential) is cut, and the dark current can be reduced.

【0128】次に、抵抗R1〜R6、ダイオードD2,
D3はダイオードクランプ回路を構成している。抵抗R
1と抵抗R3の接続点の電位をVC、抵抗R3と抵抗R
2の接続点の電位をVEとすると、トランジスタQ1が
オン状態にある時はVC>VEである。主制御FETQ
Aのソース電圧VSA≧VC−0.7[V]であれば、ソ
ース電圧VSAがコンパレータCMP1の“+”入力端子
に入力されるが、VSA<VC−0.7[V]であれば、
コンパレータCMP1の“+”入力端子にはソース電圧
VSAに関係なくVC−0.7[V]の電位が入力され
る。すなわち、ソース電圧VSAが低下してもコンパレー
タCMP1の“+”入力端子はVC−0.7[V]の電
位にクランプされ、該電位以下にはならない。また、コ
ンパレータCMP1の“−”入力端子についても同様
に、リファレンスFETQBのソース電圧VSBがVE−
0.7[V]未満に低下してもVE−0.7[V]の電
位にクランプされる。
Next, resistors R1 to R6, diode D2,
D3 forms a diode clamp circuit. Resistance R
The potential at the connection point of the resistor R3 and the resistor R3 is VC,
Assuming that the potential at the connection point of No. 2 is VE, when the transistor Q1 is in the ON state, VC> VE. Main control FETQ
If the source voltage of A is VSA ≧ VC−0.7 [V], the source voltage VSA is input to the “+” input terminal of the comparator CMP1, but if VSA <VC−0.7 [V],
A potential of VC-0.7 [V] is input to the "+" input terminal of the comparator CMP1 regardless of the source voltage VSA. That is, even if the source voltage VSA decreases, the "+" input terminal of the comparator CMP1 is clamped to the potential of VC-0.7 [V] and does not fall below the potential. Similarly, for the "-" input terminal of the comparator CMP1, the source voltage VSB of the reference FET QB becomes VE-
Even if it falls below 0.7 [V], it is clamped to the potential of VE-0.7 [V].

【0129】このようなダイオードクランプ回路によ
り、主制御FETQAおよびリファレンスFETQBが
オフ状態に遷移して、ソース電圧VSAおよびソース電圧
VSBが低下した時でも、コンパレータCMP1の“+”
入力端子および“−”入力端子は、それぞれVC−0.
7[V]の電位およびVE−0.7[V]の電位にクラ
ンプされ、VC>VEであるのでコンパレータCMP1
の出力を“H”レベルとすることができ、ソース電圧V
SAおよびソース電圧VSBの大小関係に関らず、主制御F
ETQAを確実にオン制御することができる。また、コ
ンパレータCMP1の“+”入力端子および“−”入力
端子を一定値以下の電位に低下させることが無いので、
“+”入力端子および“−”入力端子の耐圧性を改善す
ることができる。
With such a diode clamp circuit, even when the main control FET QA and the reference FET QB transit to the off state and the source voltage VSA and the source voltage VSB decrease, the "+" of the comparator CMP1 is maintained.
The input terminal and the "-" input terminal are respectively VC-0.
7 [V] and a potential of VE-0.7 [V], and since VC> VE, the comparator CMP1
Can be set to the “H” level, and the source voltage V
Regardless of the magnitude relation between SA and source voltage VSB, the main control F
ETQA can be reliably turned on. Further, since the "+" input terminal and the "-" input terminal of the comparator CMP1 are not lowered to a potential lower than a certain value,
The withstand voltage of the “+” input terminal and the “−” input terminal can be improved.

【0130】なお、上記第1、第2および第3の実施形
態のオフセット電圧自動補正機能付きコンパレータを、
この第2具体例に適用可能であることはいうまでもな
い。また、上記第4および第5の実施形態のオフセット
電圧自動補正機能付きコンパレータの適用は、このよう
な第1または第2具体例の電源供給制御装置に限定され
るものではなく、2つの入力信号について電圧比較を行
なう用途であればどのような形態であっても適用でき、
高精度の電圧比較を実現することができる。
The comparators with the automatic offset voltage correction function of the first, second and third embodiments are described below.
It goes without saying that the present invention can be applied to the second specific example. Further, the application of the comparator with the automatic offset voltage correction function of the fourth and fifth embodiments is not limited to the power supply control device of the first or second specific example. Can be applied in any form as long as it is used for voltage comparison for
A highly accurate voltage comparison can be realized.

【0131】〔第6の実施形態〕次に、第6の実施形態
のオフセット電圧自動補正機能付きコンパレータについ
て、図13を参照して説明する。第6の実施形態のコン
パレータは、第2の実施形態と同様に、基準電圧(第1
電圧)を反転端子TPに、被検出電圧(第2電圧)を非
反転端子TNにそれぞれ入力して、これらの電圧を比較
するものである。
[Sixth Embodiment] Next, a comparator having an automatic offset voltage correction function according to a sixth embodiment will be described with reference to FIG. As in the second embodiment, the comparator according to the sixth embodiment includes a reference voltage (first
The voltage is input to the inverting terminal TP, and the detected voltage (second voltage) is input to the non-inverting terminal TN, and these voltages are compared.

【0132】図13において、本実施形態のオフセット
電圧自動補正機能付きコンパレータは、第4または第5
の実施形態のオフセット電圧自動補正機能付きコンパレ
ータ(図10または図11)において、差動トランジス
タ対をPチャネルMOSFETQ71,Q76,Q86
で構成したものであり、FETQ86はFETQ84お
よび電流源SI2とのカレントミラー回路により電流を
安定化させている。その他の構成については、第5の実
施形態のオフセット電圧自動補正機能付きコンパレータ
(図11)の構成と類似し、動作(過小電圧検出方法)
についても第5の実施形態と同様である。
In FIG. 13, the comparator with the automatic offset voltage correction function of the present embodiment is the fourth or fifth comparator.
In the comparator with the automatic offset voltage correction function (FIG. 10 or FIG. 11) of the embodiment, the differential transistor pair is replaced by P-channel MOSFETs Q71, Q76, Q86.
The current of the FET Q86 is stabilized by a current mirror circuit with the FET Q84 and the current source SI2. The other configuration is similar to the configuration of the comparator with an automatic offset voltage correction function of the fifth embodiment (FIG. 11), and operates (undervoltage detection method).
Is the same as in the fifth embodiment.

【0133】図13において、本実施形態のオフセット
電圧自動補正機能付きコンパレータは、不平衡電位設定
手段となる抵抗R73を、差動トランジスタ対の第2ト
ランジスタFETQ71側の第2抵抗R71と直列に接
続し、非反転端子TNの電位が反転端子TPの電位と所
定電位の差に等しいときに当該コンパレータの出力OU
Tが反転するように所定電位を設定するものである。す
なわち、抵抗R73は当該コンパレータのオフセット電
圧をマイナス側に振らせて(オフセット電圧VOFF-)、
被検出電圧源の電位上昇判定をより厳しめに設定する。
In FIG. 13, in the comparator with the automatic offset voltage correction function of the present embodiment, a resistor R73 serving as an unbalanced potential setting means is connected in series with a second resistor R71 on the second transistor FETQ71 side of the differential transistor pair. When the potential of the non-inverting terminal TN is equal to the difference between the potential of the inverting terminal TP and the predetermined potential, the output OU of the comparator
The predetermined potential is set so that T is inverted. That is, the resistor R73 causes the offset voltage of the comparator to swing to the minus side (offset voltage VOFF-),
The determination of the potential rise of the detected voltage source is set more strictly.

【0134】また、不平衡電位設定手段の接続位置の変
更に伴って、電位補正手段が接続される位置も、差動ト
ランジスタ対の第1トランジスタFETQ76側の第1
抵抗R72に直列に接続されることとなる。当該コンパ
レータの出力OUTが“L”レベルから“H”レベルに
切り替わった時から第2計時手段による第2期間だけN
OTゲートGN12から“L”レベルが出力されると、
FETQ82がオン状態に遷移して電位補正手段による
オフセット電圧補正機能が作用するが、この時、コンデ
ンサC71が充電され、FETQ79がオン状態に遷移
して第1抵抗R72に流れる電流を増大させる。つま
り、コンデンサC71の充電電荷量で第1抵抗R72に
流れる電流の増大量が決定されることになる。
As the connection position of the unbalanced potential setting means is changed, the position to which the potential correction means is connected is also changed to the first transistor FETQ76 side of the differential transistor pair.
This is connected in series to the resistor R72. From the time when the output OUT of the comparator switches from the “L” level to the “H” level, N is maintained only for the second period by the second timing means.
When the “L” level is output from the OT gate GN12,
The FET Q82 transitions to the ON state, and the offset voltage correction function by the potential correction means operates. At this time, the capacitor C71 is charged, and the FET Q79 transitions to the ON state to increase the current flowing through the first resistor R72. That is, the amount of increase in the current flowing through the first resistor R72 is determined by the amount of charge in the capacitor C71.

【0135】次に、本実施形態のオフセット電圧自動補
正機能付きコンパレータにおける動作について説明す
る。先ず、第1抵抗R72および第2抵抗R71の抵抗
値を等しいもの(R71=R72)とし、抵抗R73を
不平衡電位設定手段として第2抵抗R71側に追加する
ことにより、当該コンパレータのオフセット電圧はマイ
ナス側(VOFF-)のみ(反転端子電位>非反転端子電
位)とする。
Next, the operation of the comparator with the automatic offset voltage correction function of this embodiment will be described. First, by setting the resistance values of the first resistor R72 and the second resistor R71 to be equal (R71 = R72), and adding the resistor R73 to the second resistor R71 as unbalanced potential setting means, the offset voltage of the comparator becomes Only the negative side (VOFF-) is set (inversion terminal potential> non-inversion terminal potential).

【0136】当該コンパレータの出力OUTが“L”レ
ベルから“H”レベルになると、コンデンサC72およ
び抵抗R85の微分回路により、NOTゲートGN12
の出力が第2期間(約20μs)だけ“L”レベルにな
る。このため、アナログスイッチS71がオフすると共
にアナログスイッチS72がオンする。アナログスイッ
チS72がオンとなることによって、差動トランジスタ
対への入力電圧の差が無くなるので、当該コンパレータ
出力OUTは“H”レベルとなる。
When the output OUT of the comparator changes from "L" level to "H" level, the NOT gate GN12 is obtained by the differentiating circuit of the capacitor C72 and the resistor R85.
Is at "L" level for the second period (about 20 .mu.s). Therefore, the analog switch S71 turns off and the analog switch S72 turns on. When the analog switch S72 is turned on, the difference between the input voltages to the differential transistor pair disappears, and the comparator output OUT goes to the “H” level.

【0137】またこの時、FETQ87がオン状態に遷
移することによってFETQ82がオン状態に遷移し
て、電位補正手段のコンデンサC71が充電される。所
定電荷量(FETQ79のスレシホールドレベル以上と
なる電荷量)だけ充電されると、FETQ79がオン状
態に遷移するので、第1抵抗R72を流れる電流が増大
して電圧降下が大きくなる。これにより、FETQ76
を流れる電流が減少し、それに伴ってFETQ77,Q
78を流れる電流も減少する。この時、FETQ83の
ゲート電位が上昇してFETQ83はオン状態に向かう
ことになる。このため、当該コンパレータ出力OUTの
電位は下降していくことになり、その結果、FETQ8
7がオフ状態に遷移し、FETQ82がオフ状態に遷移
する。この時点でコンデンサC71の充電電流が遮断さ
れ、電位補正手段によるオフセット電圧の補正作用が停
止することになる。この時、当該コンパレータのオフセ
ット電圧は零になっており、この補正状態はコンデンサ
C71の蓄積電荷量として記憶されることとなる。記憶
保持時間は時定数C71×(R76+D11の逆方向抵
抗値)で決まる。
At this time, when the FET Q87 is turned on, the FET Q82 is turned on, and the capacitor C71 of the potential correcting means is charged. When the FET Q79 is charged by a predetermined charge amount (charge amount equal to or higher than the threshold level of the FET Q79), the FET Q79 transitions to the ON state, so that the current flowing through the first resistor R72 increases and the voltage drop increases. Thereby, the FET Q76
Current flowing through the FETs Q77 and Q77
The current flowing through 78 also decreases. At this time, the gate potential of the FET Q83 rises, and the FET Q83 is turned on. As a result, the potential of the comparator output OUT decreases, and as a result, the FET Q8
7 changes to the off state, and the FET Q82 changes to the off state. At this time, the charging current of the capacitor C71 is cut off, and the operation of correcting the offset voltage by the potential correcting means stops. At this time, the offset voltage of the comparator is zero, and the correction state is stored as the amount of charge stored in the capacitor C71. The storage holding time is determined by a time constant C71 × (R76 + reverse resistance value of D11).

【0138】当該コンパレータの出力OUTが“L”レ
ベルになると、NOTゲートGN12の出力は“H”レ
ベルとなるので、アナログスイッチS71がオンすると
共にアナログスイッチS72がオフして、オフセット電
圧零となった当該コンパレータによる被検出電圧の基準
電圧との比較が行われることになる。オフセット電圧零
の当該コンパレータで判定して出力OUTが“H”レベ
ルになれば、非反転端子TNに加わる被検出電圧が変化
しない限り、出力OUTが“H”レベルに維持され、こ
の状態ではそれ以後の補正(リフレッシュ動作)は行わ
れないことになる。また、判定出力OUTが“L”レベ
ルであれば、当該コンパレータはオフセット電圧ゼロ補
正が維持される間は高精度の判定をして“L”レベルを
出力するが、コンデンサC71による補正量の記憶が消
えてくると、当該コンパレータの出力OUTが“L”レ
ベルから“H”レベルに遷移して再度補正(リフレッシ
ュ動作)を行うことになる。
When the output OUT of the comparator goes to "L" level, the output of the NOT gate GN12 goes to "H" level, so that the analog switch S71 is turned on and the analog switch S72 is turned off, and the offset voltage becomes zero. The detected voltage is compared with the reference voltage by the comparator. If the output OUT goes to the “H” level as determined by the comparator with the offset voltage of zero, the output OUT is maintained at the “H” level unless the detected voltage applied to the non-inverting terminal TN changes. Subsequent correction (refresh operation) will not be performed. If the determination output OUT is at the “L” level, the comparator performs a high-precision determination and outputs the “L” level while the offset voltage zero correction is maintained, but the correction amount is stored by the capacitor C71. Disappears, the output OUT of the comparator changes from the “L” level to the “H” level, and the correction (refresh operation) is performed again.

【0139】以上のように、本実施形態のオフセット電
圧自動補正機能付きコンパレータでは、従来のようにオ
フセット電圧調整用の外部端子や付属素子を必要とせ
ず、コンパレータ内でオフセット電圧を自動的に補正す
ることができるので、温度変化によるオフセット電圧の
バラツキについても、温度ドリフトによる誤差の影響を
無くすことができ、2つの入力信号の電圧比較の精度を
高め、特に過小電圧(微小電流)の検出も正確に行うこ
とができる。また、第3の実施形態のオフセット電圧自
動補正機能付きコンパレータと比較して、クロックCL
Kを必要としないので、より簡単な回路構成で実現する
ことができる。
As described above, the comparator with the automatic offset voltage correction function of the present embodiment does not require an external terminal for adjusting the offset voltage or an accessory element as in the related art, and automatically corrects the offset voltage in the comparator. As a result, the influence of errors due to temperature drift can be eliminated even with respect to variations in offset voltage due to temperature changes, the accuracy of voltage comparison between two input signals can be improved, and particularly detection of an undervoltage (small current) can be performed. Can be done accurately. Further, compared to the comparator with the automatic offset voltage correction function of the third embodiment, the clock CL
Since K is not required, it can be realized with a simpler circuit configuration.

【0140】[0140]

【発明の効果】以上説明したように、本発明のオフセッ
ト電圧自動補正機能付きコンパレータにおいては、非反
転端子の電位が反転端子の第1電圧の電位を下回ったか
否かを比較判定するコンパレータとして機能させる場
合、予め不平衡電位設定手段により、非反転端子の電位
が反転端子の電位と所定電位の和に等しいときに当該コ
ンパレータの出力が反転するように所定電位を設定して
おき、クロック生成手段から生成されるデューティ比の
極めて低いクロックが“H”レベルで且つ当該コンパレ
ータの出力が“L”レベルであるという第1条件が成立
するときに、接続切換手段は非反転端子への第2電圧の
接続を切り離すと共に該非反転端子を反転端子と接続
し、また該第1条件が不成立のときに、接続切換手段は
それとは逆の接続に切り換えるようにして、接続切換手
段によって接続が第1条件成立時の接続状態であって、
当該コンパレータの出力が“L”レベルである場合に、
電位補正手段により不平衡電位設定手段における所定電
位を減少させるので、数回(クロック数周期分)の電位
補正手段によるオフセット電圧補正作用によりオフセッ
ト電圧をほぼ零にして過電圧判定を正確に行なうことが
可能となる。
As described above, the comparator with the automatic offset voltage correction function of the present invention functions as a comparator for comparing and determining whether the potential of the non-inverting terminal is lower than the potential of the first voltage of the inverting terminal. In this case, the predetermined potential is previously set by the unbalanced potential setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and the predetermined potential. When the first condition that the clock with the extremely low duty ratio generated from the comparator is at the "H" level and the output of the comparator is at the "L" level is satisfied, the connection switching means switches the second voltage to the non-inverting terminal. And the non-inverting terminal is connected to the inverting terminal, and when the first condition is not satisfied, the connection switching means switches to the reverse connection. As changing the connection connecting the switching means a connection state at the time of establishment first condition,
When the output of the comparator is at “L” level,
Since the predetermined potential in the unbalanced potential setting means is reduced by the potential correcting means, the offset voltage can be made substantially zero by the offset voltage correcting action of the potential correcting means several times (for several cycles of the clock) so that the overvoltage determination can be accurately performed. It becomes possible.

【0141】また、本発明のオフセット自動補正機能付
きコンパレータにおいては、非反転端子の電位が反転端
子の第1電圧の電位を下回ったか否かを比較判定するコ
ンパレータとして機能させる場合、予め不平衡電位設定
手段により、非反転端子の電位が反転端子の電位と所定
電位の和に等しいときに当該コンパレータの出力が反転
するように所定電位を設定しておき、当該コンパレータ
の出力が“L”レベルであるという第2条件が成立する
とき、或いは、当該コンパレータの出力が“H”レベル
から“L”レベルに切り替わった時からの第1期間を第
1計時手段が計時中であるという第3条件が成立すると
きに、接続切換手段は非反転端子への第2電圧の接続を
切り離すと共に該非反転端子を反転端子と接続し、また
該第2または第3条件が不成立のときに、接続切換手段
はそれとは逆の接続に切り換えるようにして、接続切換
手段によって接続が第2または第3条件成立時の接続状
態であって、当該コンパレータの出力が“L”レベルで
ある場合に、電位補正手段により不平衡電位設定手段に
おける所定電位を減少させることにより、オフセット電
圧をほぼ零にして過電圧判定を正確に行うことが可能で
ある。
In the comparator with an automatic offset correcting function according to the present invention, when the comparator functions as a comparator for judging whether or not the potential of the non-inverting terminal is lower than the potential of the first voltage of the inverting terminal, the unbalanced potential is determined in advance. A predetermined potential is set by the setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the sum of the potential of the inverting terminal and the predetermined potential. The third condition is that the first timing means is timing the first period from when the second condition that there is is satisfied or when the output of the comparator switches from the “H” level to the “L” level. When the condition is established, the connection switching means disconnects the connection of the second voltage to the non-inverting terminal, connects the non-inverting terminal to the inverting terminal, and connects the second or third terminal. When the condition is not established, the connection switching means switches to the reverse connection, and the connection switching means is in the connection state when the second or third condition is satisfied, and the output of the comparator is "L". In the case of "level", the potential correction means reduces the predetermined potential in the unbalanced potential setting means, so that the offset voltage can be made substantially zero and the overvoltage determination can be made accurately.

【0142】また、本発明のオフセット電圧自動補正機
能付きコンパレータにおいては、非反転端子の電位が反
転端子の第1電圧の電位を超えたか否かを比較判定する
コンパレータとして機能させる場合、予め不平衡電位設
定手段により、非反転端子の電位が反転端子の電位と所
定電位の差に等しいときに当該コンパレータの出力が反
転するように所定電位を設定しておき、クロック生成手
段から生成されるデューティ比の極めて低いクロックが
“H”レベルで且つ当該コンパレータの出力が“H”レ
ベルであるという第4条件が成立するときに、接続切換
手段は非反転端子への第2電圧の接続を切り離すと共に
該非反転端子を反転端子と接続し、また該第4条件が不
成立のときに、接続切換手段はそれとは逆の接続に切り
換えるようにして、接続切換手段によって接続が第4条
件成立時の接続状態であって、当該コンパレータの出力
が“H”レベルである場合に、電位補正手段により不平
衡電位設定手段における所定電位を減少させるので、数
回(クロック数周期分)の電位補正手段によるオフセッ
ト電圧補正作用によりオフセット電圧をほぼ零にして過
小電圧判定を正確に行なうことが可能となる。
In the comparator with an automatic offset voltage correction function according to the present invention, when the comparator functions as a comparator for determining whether or not the potential of the non-inverting terminal has exceeded the potential of the first voltage of the inverting terminal, the unbalanced voltage is determined in advance. The predetermined potential is set by the potential setting means so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and the predetermined potential, and the duty ratio generated by the clock generating means is set. When the fourth condition that the extremely low clock of the comparator is at the "H" level and the output of the comparator is at the "H" level is satisfied, the connection switching means disconnects the connection of the second voltage to the non-inverting terminal and disconnects the non-inverting terminal. The inversion terminal is connected to the inversion terminal, and when the fourth condition is not satisfied, the connection switching means switches to the reverse connection. When the connection is established by the connection switching means when the fourth condition is satisfied and the output of the comparator is at the "H" level, the predetermined potential in the unbalanced potential setting means is reduced by the potential correction means. The offset voltage is corrected to approximately zero by the offset voltage correcting action of the potential correcting means (for several clock cycles), so that the undervoltage determination can be accurately performed.

【0143】さらに、本発明のオフセット自動補正機能
付きコンパレータにおいては、非反転端子の電位が反転
端子の第1電圧の電位を超えたか否かを比較判定するコ
ンパレータとして機能させる場合、予め不平衡電位設定
手段により、非反転端子の電位が反転端子の電位と所定
電位の差に等しいときに当該コンパレータの出力が反転
するように所定電位を設定しておき、当該コンパレータ
の出力が“H”レベルであるという第5条件が成立する
とき、或いは、当該コンパレータの出力が“L”レベル
から“H”レベルに切り替わった時からの第2期間を第
2計時手段が計時中であるという第6条件が成立すると
きに、接続切換手段は非反転端子への第2電圧の接続を
切り離すと共に該非反転端子を反転端子と接続し、また
該第5または第6条件が不成立のときに、接続切換手段
はそれとは逆の接続に切り換えるようにして、接続切換
手段によって接続が第5または第6条件成立時の接続状
態であって、当該コンパレータの出力が“H”レベルで
ある場合に、電位補正手段により不平衡電位設定手段に
おける所定電位を減少させることにより、オフセット電
圧をほぼ零にして過小電圧判定を正確に行うことが可能
である。
Further, in the comparator with an automatic offset correcting function according to the present invention, when the comparator functions as a comparator for judging whether or not the potential of the non-inverting terminal exceeds the potential of the first voltage of the inverting terminal, the unbalanced potential is determined in advance. The setting means sets a predetermined potential so that the output of the comparator is inverted when the potential of the non-inverting terminal is equal to the difference between the potential of the inverting terminal and the predetermined potential. The sixth condition that the second timing means is counting the second period from when the fifth condition that the comparator is present or when the output of the comparator is switched from the “L” level to the “H” level. When the condition is satisfied, the connection switching means disconnects the connection of the second voltage to the non-inverting terminal, connects the non-inverting terminal to the inverting terminal, and connects the fifth or sixth terminal. When the condition is not established, the connection switching means switches the connection to the opposite connection, so that the connection is switched by the connection switching means when the fifth or sixth condition is satisfied, and the output of the comparator is "H". In the case of the "level", by reducing the predetermined potential in the unbalanced potential setting means by the potential correction means, it is possible to make the offset voltage almost zero and accurately perform the undervoltage determination.

【0144】つまり、本発明のオフセット電圧自動補正
機能付きコンパレータによれば、従来のようにオフセッ
ト電圧調整用の外部端子や付属素子を必要とせず、コン
パレータ内でオフセット電圧を自動的に補正することが
でき、温度変化によるオフセット電圧のバラツキについ
ても、温度ドリフトによる誤差の影響を無くして、2つ
の入力信号の比較精度を高め、特に過電圧や微小電圧
(過電流や微小電流)の検出に際しても正確に検出を行
うことができる。
That is, according to the comparator having the automatic offset voltage correction function of the present invention, the offset voltage can be automatically corrected in the comparator without the need for an external terminal for adjusting the offset voltage or an accessory element as in the related art. The accuracy of comparison of two input signals is improved by eliminating the influence of errors due to temperature drift, and the accuracy of offset voltage variations due to temperature changes is also high, especially when detecting overvoltages or minute voltages (overcurrent or minute current). Can be detected.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施形態のオフセット電圧自動
補正機能付きコンパレータの回路構成図である。
FIG. 1 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a first embodiment of the present invention.

【図2】本発明の第2の実施形態のオフセット電圧自動
補正機能付きコンパレータの回路構成図である。
FIG. 2 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a second embodiment of the present invention.

【図3】第1および第2の実施形態のコンパレータが適
用される電源供給制御装置の回路構成図である。
FIG. 3 is a circuit configuration diagram of a power supply control device to which the comparators of the first and second embodiments are applied;

【図4】主制御FETの詳細な回路構成図である。FIG. 4 is a detailed circuit configuration diagram of a main control FET.

【図5】電源供給制御装置が利用する原理を説明する説
明図である。
FIG. 5 is an explanatory diagram illustrating a principle used by the power supply control device.

【図6】電源供給制御装置が利用する原理を説明する説
明図である。
FIG. 6 is an explanatory diagram illustrating a principle used by the power supply control device.

【図7】短絡故障時および通常動作時の実施形態の電源
供給制御装置における主制御FETの電流と電圧を例示
する波形図である。
FIG. 7 is a waveform diagram exemplifying a current and a voltage of a main control FET in the power supply control device of the embodiment at the time of a short-circuit fault and at the time of normal operation.

【図8】図3の電源供給制御装置を電流検出可能な構成
としたときの回路構成図である。
8 is a circuit configuration diagram when the power supply control device of FIG. 3 is configured to be capable of detecting a current.

【図9】本発明の第3の実施形態のオフセット電圧自動
補正機能付きコンパレータの回路構成図である。
FIG. 9 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a third embodiment of the present invention.

【図10】本発明の第4の実施形態のオフセット電圧自
動補正機能付きコンパレータの回路構成図である。
FIG. 10 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a fourth embodiment of the present invention.

【図11】本発明の第5の実施形態のオフセット電圧自
動補正機能付きコンパレータの回路構成図である。
FIG. 11 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a fifth embodiment of the present invention.

【図12】第4および第5の実施形態のコンパレータが
適用される電源供給制御装置の回路構成図である。
FIG. 12 is a circuit configuration diagram of a power supply control device to which the comparators of the fourth and fifth embodiments are applied.

【図13】本発明の第6の実施形態のオフセット電圧自
動補正機能付きコンパレータの回路構成図である。
FIG. 13 is a circuit configuration diagram of a comparator with an automatic offset voltage correction function according to a sixth embodiment of the present invention.

【符号の説明】 VB 第1電源電位 GND 第2電源電位 Q71,Q76,Q77,Q78 NチャネルMOS
FET Q82,Q83 NチャネルMOSFET Q72,Q73,Q74,Q75,Q79 Pチャネ
ルMOSFET Q84〜Q86 PチャネルMOSFET D11 ダイオード R5,R6,R71〜R83 抵抗 C71 コンデンサ S71〜S73 アナログスイッチ GA1 ANDゲート GN1 NOTゲート SI1,SI2 電流源 101 電源 102 負荷 110 チップ構成部分 111 駆動回路 QA 主制御FET RG 内部抵抗 QB 第1リファレンスFET QC 第2リファレンスFET Rr1,Rr2 抵抗 CMP1,CMP2 コンパレータ R1〜R55 抵抗 ZD1 ツェナーダイオード D1〜D51 ダイオード C11〜C31 コンデンサ 121 温度センサ 122 ラッチ回路 QS 過熱遮断用FET SW1 スイッチ
[Explanation of Symbols] VB First power supply potential GND Second power supply potential Q71, Q76, Q77, Q78 N-channel MOS
FET Q82, Q83 N-channel MOSFET Q72, Q73, Q74, Q75, Q79 P-channel MOSFET Q84-Q86 P-channel MOSFET D11 Diode R5, R6, R71-R83 Resistance C71 Capacitor S71-S73 Analog switch GA1 AND gate GN1 NOT gate SI1, SI2 Current source 101 Power supply 102 Load 110 Chip component 111 Drive circuit QA Main control FET RG Internal resistance QB First reference FET QC Second reference FET Rr1, Rr2 Resistance CMP1, CMP2 Comparator R1-R55 Resistance ZD1 Zener diode D1-D51 Diode C11 to C31 Capacitor 121 Temperature sensor 122 Latch circuit QS Overheat cutoff FET SW1 Switch

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 第1電圧を反転端子に、第2電圧を非反
転端子にそれぞれ入力して、電圧の比較を行うオフセッ
ト電圧自動補正機能付きコンパレータにおいて、 前記非反転端子の電位が前記反転端子の電位と所定電位
の和に等しいときに当該コンパレータの出力が反転する
ように所定電位を設定する不平衡電位設定手段と、 “H”レベル期間が“L”レベル期間より極めて短いク
ロックを生成するクロック生成手段と、 前記クロックが“H”レベルで且つ当該コンパレータの
出力が“L”レベルであるという第1条件が成立すると
きに、前記非反転端子への前記第2電圧の接続を切り離
すと共に該非反転端子を前記反転端子と接続し、前記第
1条件が不成立のときにそれとは逆の接続に切り換える
接続切換手段と、 前記接続切換手段が前記第1条件が成立したときの接続
を行うとき、当該コンパレータの出力が“L”レベルで
ある場合に、前記不平衡電位設定手段における所定電位
を減少させる電位補正手段と、 を有することを特徴とするオフセット電圧自動補正機能
付きコンパレータ。
1. A comparator having an automatic offset voltage correction function for comparing voltages by inputting a first voltage to an inverting terminal and a second voltage to a non-inverting terminal, wherein the potential of the non-inverting terminal is the inverting terminal. And an unbalanced potential setting means for setting a predetermined potential so that the output of the comparator is inverted when the potential is equal to the sum of the potential and a predetermined potential, and a clock whose "H" level period is much shorter than the "L" level period is generated. A clock generation unit, disconnecting the connection of the second voltage to the non-inverting terminal when a first condition that the clock is at “H” level and the output of the comparator is at “L” level is satisfied; Connection switching means for connecting the non-inverting terminal to the inverting terminal, and switching to a reverse connection when the first condition is not satisfied; And a potential correcting means for reducing a predetermined potential in the unbalanced potential setting means when an output of the comparator is at the "L" level when connection is established when one condition is satisfied. Comparator with automatic offset voltage correction function.
【請求項2】 第1電圧を反転端子に、第2電圧を非反
転端子にそれぞれ入力して、電圧の比較を行うオフセッ
ト電圧自動補正機能付きコンパレータにおいて、 前記非反転端子の電位が前記反転端子の電位と所定電位
の和に等しいときに当該コンパレータの出力が反転する
ように所定電位を設定する不平衡電位設定手段と、 当該コンパレータの出力が“L”レベルであるという第
2条件が成立するときに、前記非反転端子への前記第2
電圧の接続を切り離すと共に該非反転端子を前記反転端
子と接続し、前記第2条件が不成立のときにそれとは逆
の接続に切り換える接続切換手段と、 前記接続切換手段が前記第2条件が成立したときの接続
を行うとき、当該コンパレータの出力が“L”レベルで
ある場合に、前記不平衡電位設定手段における所定電位
を減少させる電位補正手段と、 を有することを特徴とするオフセット電圧自動補正機能
付きコンパレータ。
2. A comparator with an automatic offset voltage correction function for comparing voltages by inputting a first voltage to an inverting terminal and a second voltage to a non-inverting terminal, wherein the potential of the non-inverting terminal is equal to the inverting terminal. Unbalanced potential setting means for setting the predetermined potential so that the output of the comparator is inverted when the potential of the comparator is equal to the sum of the potential and the predetermined potential, and the second condition that the output of the comparator is at the “L” level is satisfied. Sometimes, the second signal to the non-inverting terminal
Connection switching means for disconnecting the voltage connection, connecting the non-inverting terminal to the inverting terminal, and switching to a reverse connection when the second condition is not satisfied, the connection switching means satisfying the second condition And a potential correcting means for reducing the predetermined potential in the unbalanced potential setting means when the output of the comparator is at the "L" level when the connection is made. With comparator.
【請求項3】 当該コンパレータの出力が“H”レベル
から“L”レベルに切り替わった時から第1期間を計時
する第1計時手段を有し、 前記接続切換手段は、前記第1計時手段が前記第1期間
を計時中であるという第3条件が成立するときに前記非
反転端子への前記第2電圧の接続を切り離すと共に該非
反転端子を前記反転端子と接続し、前記第3条件が不成
立のときにそれとは逆の接続に切り換えることを特徴と
する請求項2に記載のオフセット電圧自動補正機能付き
コンパレータ。
3. A first timer for measuring a first period from when the output of the comparator switches from “H” level to “L” level, wherein the connection switching means includes a first timer. Disconnecting the second voltage to the non-inverting terminal and connecting the non-inverting terminal to the inverting terminal when a third condition that the first period is being measured is satisfied, and the third condition is not satisfied 3. The comparator with an automatic offset voltage correction function according to claim 2, wherein the connection is switched to the reverse connection at the time.
【請求項4】 制御電極に前記反転端子が接続され、第
1電極に第1電源電位が第1抵抗を介して接続される第
1トランジスタと、制御電極に前記非反転端子が接続さ
れ、第1電極に第1電源電位が第2抵抗を介して接続さ
れる第2トランジスタと、を備えた差動トランジスタ対
を有し、 前記不平衡電位設定手段は、前記第1抵抗または前記第
2トランジスタの第2電極に直列接続される第3抵抗で
あることを特徴とする請求項1、2または3に記載のオ
フセット電圧自動補正機能付きコンパレータ。
4. A first transistor, wherein the inversion terminal is connected to a control electrode, a first power supply potential is connected to a first electrode via a first resistor, and the non-inversion terminal is connected to a control electrode. A second transistor having a first power supply potential connected to one electrode via a second resistor; and a differential transistor pair, wherein the unbalanced potential setting means includes a first resistor or a second transistor. 4. The comparator with an automatic offset voltage correction function according to claim 1, wherein the third resistor is a third resistor connected in series to the second electrode.
【請求項5】 制御電極に前記反転端子が接続され、第
1電極に第1電源電位が第1抵抗を介して接続される第
1トランジスタと、制御電極に前記非反転端子が接続さ
れ、第1電極に第1電源電位が第2抵抗を介して接続さ
れる第2トランジスタと、を備えた差動トランジスタ対
を有し、 前記電位補正手段は、前記第2抵抗または前記第1トラ
ンジスタのオン抵抗に流れる電流を増大させることを特
徴とする請求項1、2、3または4に記載のオフセット
電圧自動補正機能付きコンパレータ。
5. A first transistor, wherein the inversion terminal is connected to a control electrode, a first power supply potential is connected to a first electrode via a first resistor, and the non-inversion terminal is connected to a control electrode. And a second transistor having a first power supply potential connected to one electrode via a second resistor. The potential correction means turns on the second resistor or the first transistor. 5. The comparator with an automatic offset voltage correction function according to claim 1, wherein the current flowing through the resistor is increased.
【請求項6】 前記電位補正手段は、前記第2抵抗また
は前記第1トランジスタのオン抵抗と第2電源電位間に
直列接続され、前記接続切換手段が前記第1条件、前記
第2条件または前記第3条件が成立したときの接続を行
うときに充電を行うコンデンサを有し、 前記第2抵抗または前記第1トランジスタのオン抵抗に
流れる電流の増大量は、前記コンデンサの充電電荷量で
決定されることを特徴とする請求項5に記載のオフセッ
ト電圧自動補正機能付きコンパレータ。
6. The potential correction means is connected in series between the second resistance or the on-resistance of the first transistor and a second power supply potential, and the connection switching means sets the first condition, the second condition or the second condition. A capacitor that charges when the connection is made when the third condition is satisfied; and the amount of increase in the current flowing through the on-resistance of the second resistor or the first transistor is determined by the amount of charge in the capacitor. 6. The comparator with an automatic offset voltage correction function according to claim 5, wherein:
【請求項7】 第1電圧を反転端子に、第2電圧を非反
転端子にそれぞれ入力して、電圧の比較を行うオフセッ
ト電圧自動補正機能付きコンパレータにおいて、 前記非反転端子の電位が前記反転端子の電位と所定電位
の差に等しいときに当該コンパレータの出力が反転する
ように所定電位を設定する不平衡電位設定手段と、 “H”レベル期間が“L”レベル期間より極めて短いク
ロックを生成するクロック生成手段と、 前記クロックが“H”レベルで且つ当該コンパレータの
出力が“H”レベルであるという第4条件が成立すると
きに、前記非反転端子への前記第2電圧の接続を切り離
すと共に該非反転端子を前記反転端子と接続し、前記第
4条件が不成立のときにそれとは逆の接続に切り換える
接続切換手段と、 前記接続切換手段が前記第4条件が成立したときの接続
を行うとき、当該コンパレータの出力が“H”レベルで
ある場合に、前記不平衡電位設定手段における所定電位
を減少させる電位補正手段と、 を有することを特徴とするオフセット電圧自動補正機能
付きコンパレータ。
7. A comparator with an automatic offset voltage correction function for comparing voltages by inputting a first voltage to an inverting terminal and a second voltage to a non-inverting terminal, wherein the potential of the non-inverting terminal is the inverting terminal. An unbalanced potential setting means for setting a predetermined potential so that the output of the comparator is inverted when the potential is equal to a predetermined potential, and a clock whose "H" level period is much shorter than the "L" level period is generated. A clock generation unit, disconnecting the connection of the second voltage to the non-inverting terminal when a fourth condition that the clock is at “H” level and the output of the comparator is at “H” level is satisfied; A connection switching unit that connects the non-inverting terminal to the inverting terminal, and that switches to a reverse connection when the fourth condition is not satisfied; When the connection is established when the four conditions are satisfied, when the output of the comparator is at the “H” level, there is provided a potential correcting means for reducing a predetermined potential in the unbalanced potential setting means. Comparator with automatic offset voltage correction function.
【請求項8】 第1電圧を反転端子に、第2電圧を非反
転端子にそれぞれ入力して、電圧の比較を行うオフセッ
ト電圧自動補正機能付きコンパレータにおいて、 前記非反転端子の電位が前記反転端子の電位と所定電位
の差に等しいときに当該コンパレータの出力が反転する
ように所定電位を設定する不平衡電位設定手段と、 当該コンパレータの出力が“H”レベルであるという第
5条件が成立するときに、前記非反転端子への前記第2
電圧の接続を切り離すと共に該非反転端子を前記反転端
子と接続し、前記第5条件が不成立のときにそれとは逆
の接続に切り換える接続切換手段と、 前記接続切換手段が前記第5条件が成立したときの接続
を行うとき、当該コンパレータの出力が“H”レベルで
ある場合に、前記不平衡電位設定手段における所定電位
を減少させる電位補正手段と、 を有することを特徴とするオフセット電圧自動補正機能
付きコンパレータ。
8. A comparator having an automatic offset voltage correction function for comparing voltages by inputting a first voltage to an inverting terminal and a second voltage to a non-inverting terminal, wherein the potential of the non-inverting terminal is the inverting terminal. An unbalanced potential setting means for setting a predetermined potential so that the output of the comparator is inverted when the potential of the comparator is equal to the predetermined potential, and a fifth condition that the output of the comparator is at the “H” level is satisfied. Sometimes, the second inversion to the non-inverting terminal
A connection switching unit that disconnects the voltage connection and connects the non-inverting terminal to the inverting terminal, and switches to a reverse connection when the fifth condition is not satisfied; and the connection switching unit satisfies the fifth condition. And a potential correcting means for reducing a predetermined potential in the unbalanced potential setting means when the output of the comparator is at the "H" level. With comparator.
【請求項9】 当該コンパレータの出力が“L”レベル
から“H”レベルに切り替わった時から第2期間を計時
する第2計時手段を有し、 前記接続切換手段は、前記第2計時手段が前記第2期間
を計時中であるという第6条件が成立するときに前記非
反転端子への前記第2電圧の接続を切り離すと共に該非
反転端子を前記反転端子と接続し、前記第6条件が不成
立のときにそれとは逆の接続に切り換えることを特徴と
する請求項8に記載のオフセット電圧自動補正機能付き
コンパレータ。
9. Second connection means for measuring a second period from the time when the output of the comparator switches from "L" level to "H"level; Disconnecting the second voltage to the non-inverting terminal and connecting the non-inverting terminal to the inverting terminal when the sixth condition that the second period is being measured is satisfied, and the sixth condition is not satisfied 9. The comparator with the automatic offset voltage correction function according to claim 8, wherein the connection is switched to the reverse connection at the time of.
【請求項10】 制御電極に前記反転端子が接続され、
第1電極に第1電源電位が第1抵抗を介して接続される
第1トランジスタと、制御電極に前記非反転端子が接続
され、第1電極に第1電源電位が第2抵抗を介して接続
される第2トランジスタと、を備えた差動トランジスタ
対を有し、 前記不平衡電位設定手段は、前記第2抵抗または前記第
1トランジスタの第2電極に直列接続される第3抵抗で
あることを特徴とする請求項7、8または9に記載のオ
フセット電圧自動補正機能付きコンパレータ。
10. The inversion terminal is connected to a control electrode,
A first transistor having a first power supply potential connected to a first electrode via a first resistor, a non-inverting terminal connected to a control electrode, and a first power supply potential connected to a first electrode via a second resistor; A differential transistor pair including: a second transistor to be set, wherein the unbalanced potential setting means is a third resistor connected in series to the second resistor or a second electrode of the first transistor. The comparator with an automatic offset voltage correction function according to claim 7, 8, or 9.
【請求項11】 制御電極に前記反転端子が接続され、
第1電極に第1電源電位が第1抵抗を介して接続される
第1トランジスタと、制御電極に前記非反転端子が接続
され、第1電極に第1電源電位が第2抵抗を介して接続
される第2トランジスタと、を備えた差動トランジスタ
対を有し、 前記電位補正手段は、前記第1抵抗または前記第2トラ
ンジスタのオン抵抗に流れる電流を増大させることを特
徴とする請求項7、8、9または10に記載のオフセッ
ト電圧自動補正機能付きコンパレータ。
11. The inversion terminal is connected to a control electrode,
A first transistor having a first power supply potential connected to a first electrode via a first resistor, a non-inverting terminal connected to a control electrode, and a first power supply potential connected to a first electrode via a second resistor; 8. A differential transistor pair comprising: a second transistor to be connected to the first transistor; and the potential correction unit increases a current flowing through an on-resistance of the first resistor or the second transistor. , 8, 9 or 10.
【請求項12】 前記電位補正手段は、前記第1抵抗ま
たは前記第2トランジスタのオン抵抗と第2電源電位間
に直列接続され、前記接続切換手段が前記第4条件、第
5条件または前記第6条件が成立したときの接続を行う
ときに充電を行うコンデンサを有し、 前記第1抵抗または前記第2トランジスタのオン抵抗に
流れる電流の増大量は、前記コンデンサの充電電荷量で
決定されることを特徴とする請求項11に記載のオフセ
ット電圧自動補正機能付きコンパレータ。
12. The potential correction means is connected in series between an on-resistance of the first resistor or the second transistor and a second power supply potential, and the connection switching means is connected to the fourth condition, the fifth condition or the fifth condition. A capacitor that charges when connection is established when the six conditions are satisfied; and the amount of increase in current flowing through the on-resistance of the first resistor or the second transistor is determined by the amount of charge in the capacitor. The comparator with an automatic offset voltage correction function according to claim 11, wherein:
【請求項13】 前記電位補正手段は、前記コンデンサ
の充電時には順方向電流が、放電時には逆方向電流が流
れるように該コンデンサと直列接続されるダイオードを
有することを特徴とする請求項6または12に記載のオ
フセット電圧自動補正機能付きコンパレータ。
13. The potential correction means includes a diode connected in series with the capacitor so that a forward current flows when the capacitor is charged and a reverse current flows when the capacitor is discharged. The comparator with the automatic offset voltage correction function described in 1.
【請求項14】 前記接続切換手段は、前記クロックま
たは当該コンパレータおよび前記第1または第2計時手
段の出力に基づき切り換え制御されるアナログスイッチ
であることを特徴とする請求項1、2、3、4、5、
6、7、8、9、10、11、12または13に記載の
オフセット電圧自動補正機能付きコンパレータ。
14. The apparatus according to claim 1, wherein said connection switching means is an analog switch that is switched and controlled based on said clock or an output of said comparator and said first or second timing means. 4, 5,
6. The comparator with an automatic offset voltage correction function according to 6, 7, 8, 9, 10, 11, 12, or 13.
JP2000084916A 1999-03-25 2000-03-24 Comparator with offset voltage automatic correction function Pending JP2000341097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000084916A JP2000341097A (en) 1999-03-25 2000-03-24 Comparator with offset voltage automatic correction function

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP11-82393 1999-03-25
JP8239399 1999-03-25
JP2000084916A JP2000341097A (en) 1999-03-25 2000-03-24 Comparator with offset voltage automatic correction function

Publications (1)

Publication Number Publication Date
JP2000341097A true JP2000341097A (en) 2000-12-08

Family

ID=26423426

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000084916A Pending JP2000341097A (en) 1999-03-25 2000-03-24 Comparator with offset voltage automatic correction function

Country Status (1)

Country Link
JP (1) JP2000341097A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008529129A (en) * 2005-01-25 2008-07-31 リニアー テクノロジー コーポレイション Power supply side device with auto-zero circuit for determining and controlling output current
CN102109548A (en) * 2009-12-23 2011-06-29 力博特公司 Current detection circuit with current compensation and temperature compensation
CN108462400A (en) * 2018-03-01 2018-08-28 芯海科技(深圳)股份有限公司 A kind of full wave rectified signal generation circuit of adaptive deadband eliminating
CN111030650A (en) * 2019-12-11 2020-04-17 成都铭科思微电子技术有限责任公司 Background correction circuit and method for offset error of enhanced clock control comparator
US11632104B2 (en) 2021-08-12 2023-04-18 Kabushiki Kaisha Toshiba Semiconductor device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008529129A (en) * 2005-01-25 2008-07-31 リニアー テクノロジー コーポレイション Power supply side device with auto-zero circuit for determining and controlling output current
CN102109548A (en) * 2009-12-23 2011-06-29 力博特公司 Current detection circuit with current compensation and temperature compensation
CN102109548B (en) * 2009-12-23 2013-11-06 力博特公司 Current detection circuit with current compensation and temperature compensation
CN108462400A (en) * 2018-03-01 2018-08-28 芯海科技(深圳)股份有限公司 A kind of full wave rectified signal generation circuit of adaptive deadband eliminating
CN108462400B (en) * 2018-03-01 2024-04-26 芯海科技(深圳)股份有限公司 Full-wave rectification signal generating circuit capable of adaptively eliminating dead zone
CN111030650A (en) * 2019-12-11 2020-04-17 成都铭科思微电子技术有限责任公司 Background correction circuit and method for offset error of enhanced clock control comparator
US11632104B2 (en) 2021-08-12 2023-04-18 Kabushiki Kaisha Toshiba Semiconductor device

Similar Documents

Publication Publication Date Title
JP3706515B2 (en) Power supply control device and power supply control method
JP4504222B2 (en) Overcurrent detection device
US7626792B2 (en) Power supply control apparatus including highly-reliable overcurrent detecting circuit
US8766671B2 (en) Load driving apparatus
US20090128106A1 (en) Power supply controller and semiconductor device
US9748789B2 (en) Charging/discharging control circuit, charging/discharging control device, and battery device
TWI666845B (en) Charge and discharge control circuit and battery device
US8223467B2 (en) Transient blocking unit using normally-off device to detect current trip threshold
US20020125942A1 (en) Comparator circuit
JP3808265B2 (en) Power supply control device and power supply control method
US9203119B2 (en) Battery device
CN108075463B (en) Integrated circuit with reverse current protection and power disconnect detection
JP2007135274A (en) Current abnormality detection circuit and current value adjustment method at abnormality detection
US20120256658A1 (en) Comparator circuit
JP2000341097A (en) Comparator with offset voltage automatic correction function
JP4147965B2 (en) Single-phase load overcurrent detection circuit with PWM voltage control by MOS transistor
JP2011086993A (en) Transmission apparatus for differential communication
JP2000341096A (en) Comparator with offset voltage automatic correction function
CN112114257B (en) Voltage-current conversion circuit and charge-discharge control device
JP2000299624A (en) Switching device
US9673656B2 (en) Charge and discharge control circuit and battery device
JP3802412B2 (en) MOS transistor output circuit
US7501885B2 (en) Filter circuit
JP6024498B2 (en) Semiconductor drive device
CN111756029A (en) High speed wide dynamic range input structure

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20060324