JPH04105190A - Voltage detecting circuit and ic card provided with same - Google Patents

Voltage detecting circuit and ic card provided with same

Info

Publication number
JPH04105190A
JPH04105190A JP2223625A JP22362590A JPH04105190A JP H04105190 A JPH04105190 A JP H04105190A JP 2223625 A JP2223625 A JP 2223625A JP 22362590 A JP22362590 A JP 22362590A JP H04105190 A JPH04105190 A JP H04105190A
Authority
JP
Japan
Prior art keywords
voltage
circuit
power supply
value
vdet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2223625A
Other languages
Japanese (ja)
Other versions
JP2888618B2 (en
Inventor
Hiroki Muroga
室賀 啓希
Nobutaka Kitagawa
信孝 北川
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2223625A priority Critical patent/JP2888618B2/en
Publication of JPH04105190A publication Critical patent/JPH04105190A/en
Application granted granted Critical
Publication of JP2888618B2 publication Critical patent/JP2888618B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To execute the setting of detecting voltage to have arbitrary temperature characteristic and value by providing a comparing circuit to compare reference voltage generated in a reference voltage circuit and divided voltage generated in a voltage dividing circuit. CONSTITUTION:Reference voltage VREF obtained in a reference voltage circuit 4 and divided voltage VDIV obtained in a voltage dividing circuit 7 are supplied to the non-inversion input terminal (+) and the inversion input terminal (-) of a comparing circuit (voltage comparator) 8 respectively. The voltage comparator 8 generates a logical signal to correspond to the scale relation of the both input voltage, moreover, the logical output of the voltage comparator 8 is inverted by an inverter 9 and is outputted as a detecting signal VH. Thus, the setting of detecting voltage to have arbitrary temperature characteristic and value can be executed.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は集積回路に内蔵される電圧検出回路に係り、
特にICカード等における電源電圧の検出に好適な電圧
検出回路に関する。
[Detailed Description of the Invention] [Objective of the Invention (Industrial Application Field) This invention relates to a voltage detection circuit built into an integrated circuit,
In particular, the present invention relates to a voltage detection circuit suitable for detecting power supply voltage in IC cards and the like.

(従来の技術) 一般に、電池によって駆動される集積回路は電圧検出回
路を内蔵している場合が多い。その理由は、電源電圧か
一定の基準電圧以下になると集積回路か誤動作する恐れ
がありからである。このため、電圧検出回路によって電
源電圧が基準電圧以下になったことを検出し、この検出
出力で集積回路の動作を停止させる等の制御を行う必要
がある。
(Prior Art) Generally, integrated circuits driven by batteries often include a built-in voltage detection circuit. The reason for this is that if the power supply voltage falls below a certain reference voltage, the integrated circuit may malfunction. Therefore, it is necessary to use a voltage detection circuit to detect that the power supply voltage has fallen below a reference voltage, and use this detection output to perform control such as stopping the operation of the integrated circuit.

上記電圧検出回路で使用される基準電圧を形成する従来
の基準電圧回路を第16図に示す。この基準電圧回路は
、文献rIEEE  JOURNAL  OF  5O
LID−8TATE  CIRCUIT、VOL、5C
−14,N0、3.JUNE1979Jの第655頁な
いし第657頁に記載されているrA CMO8Ban
dgap  Voltage  ReferenceJ
の第1図に図示されているものであり、以下、この基準
電圧回路について簡単に説明する。この回路は、4個の
MOSトランジスタT1〜T4と1個の抵抗素子R1と
からなる定電流回路で所定の基準電流を発生し、この定
電流回路で上記基準電流を流すことによって得られる一
定電圧をMOS)ランジスタT6のゲートバイアスとし
て供給することにより、上記定電流回路で発生される基
準電流に比例した一定電流を上記MOSトランジスタT
6に流し、さらに直列接続されている基準抵抗素子R2
及びダイオード接続されたバイポーラトランジスタT5
にこの一定電流を流すことにより、基準抵抗素子R2に
おける降下電圧と、バイポーラトランジスタT5のベー
ス、エミッタ間の順方向電圧との和によって基準電圧を
形成している。
FIG. 16 shows a conventional reference voltage circuit that forms the reference voltage used in the voltage detection circuit. This reference voltage circuit is described in the document rIEEE JOURNAL OF 5O.
LID-8TATE CIRCUIT, VOL, 5C
-14,N0,3. rA CMO8Ban described on pages 655 to 657 of JUNE1979J
dgap Voltage ReferenceJ
This reference voltage circuit is shown in FIG. 1, and this reference voltage circuit will be briefly explained below. This circuit generates a predetermined reference current in a constant current circuit consisting of four MOS transistors T1 to T4 and one resistance element R1, and a constant voltage obtained by flowing the reference current in this constant current circuit. By supplying as a gate bias to the MOS transistor T6, a constant current proportional to the reference current generated in the constant current circuit is supplied to the MOS transistor T6.
6 and is further connected in series with the reference resistance element R2.
and diode-connected bipolar transistor T5
By passing this constant current through, a reference voltage is formed by the sum of the voltage drop across the reference resistance element R2 and the forward voltage between the base and emitter of the bipolar transistor T5.

上記基準電圧回路は、基準抵抗素子R2の降下電圧の温
度特性か正、バイポーラトランジスタT5のペース エ
ミッタ間順方向電圧の温度特性が負であることを利用し
て、基準電圧の温度特性を非常に小さくすることが特徴
である。
The above reference voltage circuit uses the fact that the temperature characteristic of the voltage drop of the reference resistance element R2 is positive, and the temperature characteristic of the forward voltage between the emitters of the bipolar transistor T5 is negative. It is characterized by being small.

(発明が解決しようとする課題) しかしなから、上記の基準電圧回路では、温度特性を非
常に小さくし、はぼ零にすることが目的であり、これを
実現するために回路定数に制約がある。このため、温度
特性がほぼ零となるような値の基準電圧でしか使用する
ことができない。従って、検出電圧の値が任意に設定で
きないという欠点がある。
(Problem to be solved by the invention) However, the purpose of the reference voltage circuit described above is to make the temperature characteristics very small, almost zero, and in order to achieve this, there are restrictions on the circuit constants. be. Therefore, it can only be used with a reference voltage that has a value such that the temperature characteristics are approximately zero. Therefore, there is a drawback that the value of the detection voltage cannot be set arbitrarily.

また、上記の基準電圧回路を使用して電圧検出回路を構
成した場合には、検出電圧の任意の温度特性を得ること
ができないという欠点もある。
Furthermore, when a voltage detection circuit is constructed using the above-mentioned reference voltage circuit, there is also a drawback that arbitrary temperature characteristics of the detected voltage cannot be obtained.

二の発明は上記のような事情を考慮してなされたもので
あり、その目的は、任意の温度特性及び値を持つ検出電
圧の設定を行うことができる電圧検出回路及びこれを備
えたICカードを提供することにある。
The second invention was made in consideration of the above circumstances, and its purpose is to provide a voltage detection circuit that can set a detection voltage having arbitrary temperature characteristics and values, and an IC card equipped with the voltage detection circuit. Our goal is to provide the following.

[発明の構成] (課題を解決するための手段) この発明の電圧検出回路は、第1の電源電圧と第2の電
源電圧との間に接続され、値が調整可能な基準電流を含
む基準電圧回路と、上記第1の電源電圧と第2の電源電
圧との間に接続され、第1の電源電圧と第2の電源電圧
とを分圧する分圧回路と、上記基準電圧回路で発生され
る基準電圧と上記分圧回路で発生される分圧電圧とを比
較する比較回路とを具備したことを特徴とする。
[Structure of the Invention] (Means for Solving the Problems) The voltage detection circuit of the present invention includes a reference current connected between a first power supply voltage and a second power supply voltage, and including a reference current whose value is adjustable. a voltage circuit, a voltage dividing circuit connected between the first power supply voltage and the second power supply voltage to divide the first power supply voltage and the second power supply voltage, and a voltage generated by the reference voltage circuit. The present invention is characterized by comprising a comparison circuit that compares the reference voltage generated by the voltage dividing circuit with the divided voltage generated by the voltage dividing circuit.

また、この発明のICカードは、第1の電源電圧と第2
の電源電圧との間に接続され、値が調整可能な基準電流
回路を含む基準電圧回路、上記第1の電源電圧と第2の
電源電圧との間に接続され、第1の電源電圧と第2の電
源電圧とを分圧する分圧回路、及び上記基準電圧回路で
発生される基準電圧と上記分圧回路で発生される分圧電
圧とを比較する比較回路とが同一半導体チップ上に集積
された第1の集積回路と、上記第1の集積回路の電圧検
出信号に応じて動作が制御される第2の集積回路と、上
記第1及び第2の集積回路に対して上記第1の電源電圧
と第2の電源電圧とを供給する電池とを具備したことを
特徴とする。
Further, the IC card of the present invention has a first power supply voltage and a second power supply voltage.
a reference voltage circuit connected between the first power supply voltage and the second power supply voltage and including a reference current circuit whose value is adjustable; A voltage divider circuit that divides the power supply voltage of 2 and a comparison circuit that compares the reference voltage generated by the reference voltage circuit and the divided voltage generated by the voltage divider circuit are integrated on the same semiconductor chip. a first integrated circuit, a second integrated circuit whose operation is controlled according to a voltage detection signal of the first integrated circuit, and a first power source for the first and second integrated circuits; The present invention is characterized in that it includes a battery that supplies the voltage and the second power supply voltage.

(作用) この発明によれば、基準電圧回路に含まれる基準電流回
路の値を調整することにより、任意の温度特性を得るこ
とができる。しかも、上記基準電流回路の値を調整する
ことにより任意の検出電圧を設定することができる。
(Function) According to the present invention, arbitrary temperature characteristics can be obtained by adjusting the values of the reference current circuit included in the reference voltage circuit. Moreover, any detection voltage can be set by adjusting the value of the reference current circuit.

(実施例) 以下、図面を参照してこの発明を実施例により説明する
(Examples) Hereinafter, the present invention will be explained by examples with reference to the drawings.

第1図はこの発明に係る電圧検出回路の一実施例による
概略的な構成を示す回路図である。正極性の電源電圧V
+には、値I RBPが調整可能な定電流回路1の一端
が接続されている。この定電流回路1の他端には、抵抗
値が調整可能な抵抗回路2の一端が接続されている。さ
らにこの抵抗回路2の他端と接地電圧との間にはダイオ
ード3が順方向に接続されている。そして、上記定電流
回路1、抵抗回路2及びダイオード3により基準電圧回
路4か構成されており、上記定電流回路1と抵抗回路2
との接続点に所定の基準電圧V R1!Pが得られる。
FIG. 1 is a circuit diagram showing a schematic configuration of an embodiment of a voltage detection circuit according to the present invention. Positive power supply voltage V
+ is connected to one end of a constant current circuit 1 whose value I RBP is adjustable. The other end of the constant current circuit 1 is connected to one end of a resistance circuit 2 whose resistance value can be adjusted. Furthermore, a diode 3 is connected in the forward direction between the other end of this resistance circuit 2 and the ground voltage. A reference voltage circuit 4 is constituted by the constant current circuit 1, the resistance circuit 2, and the diode 3.
A predetermined reference voltage V R1! is applied to the connection point with V R1! P is obtained.

また、上記電源電圧V4と接地電圧との間には2個の抵
抗素子5.6か直列接続されている。この2個の抵抗素
子5.6により分圧回路7が構成されており、この分圧
回路7は、電源電圧v4の値を2個の抵抗素子5.6の
抵抗値に応じた分圧比で分圧するものであり、抵抗素子
5.6の接続点に所定の分圧電圧V DIVが得られる
Further, two resistance elements 5.6 are connected in series between the power supply voltage V4 and the ground voltage. These two resistive elements 5.6 constitute a voltage dividing circuit 7, and this voltage dividing circuit 7 divides the value of the power supply voltage v4 at a voltage dividing ratio according to the resistance values of the two resistive elements 5.6. A predetermined divided voltage V DIV is obtained at the connection point of the resistance element 5.6.

上記基準電圧回路4で得られた基準電圧V REF及び
上記分圧回路7で得られた分圧電圧VDIvは、電圧コ
ンパレータ8の非反転入力端子(+)及び反転入力端子
(−)それぞれに供給される。二の電圧コンパレータ8
は両入力端子の大小関係に応じた論理信号を発生する。
The reference voltage V REF obtained by the reference voltage circuit 4 and the divided voltage VDIv obtained by the voltage dividing circuit 7 are supplied to the non-inverting input terminal (+) and the inverting input terminal (-) of the voltage comparator 8, respectively. be done. Second voltage comparator 8
generates a logic signal according to the magnitude relationship between both input terminals.

さらに、この電圧コンパレータ8の論理出力はインバー
タ9によって反転され、検出信号vHとして出力される
Furthermore, the logic output of this voltage comparator 8 is inverted by an inverter 9 and output as a detection signal vH.

このような構成において、いま、検出信号V。In such a configuration, now the detection signal V.

が“]”レベルになるような電源電圧V。の値をこの電
圧検出回路の検出電圧V detとすると、第2図の特
性図に示すように、基準電圧V REPと分圧電圧V:
l[Vとか等1−(゛ときの電源型、!’E V。が検
出電圧V detとなる。3すなわち、電源電圧V。が
検出電圧V detよりも小さいときに検出信号V1.
lは“0” レベルになり、検出電圧V detを越え
ると検出信号VHは“1”レベルに反転する。
The power supply voltage V is such that the voltage becomes the "]" level. Assuming that the value of is the detection voltage V det of this voltage detection circuit, as shown in the characteristic diagram of FIG. 2, the reference voltage V REP and the divided voltage V:
l[V, etc. 1-(゛When the power supply type, !'EV. becomes the detection voltage V det.3 That is, when the power supply voltage V. is smaller than the detection voltage V det, the detection signal V1.
When l becomes the "0" level and exceeds the detection voltage V det, the detection signal VH is inverted to the "1" level.

上記実施例回路において、任意の設定温度0における定
電流回路1のI REFをIえEFO、ダイオード3の
順方向電圧VFをVFQs基準電圧回路4の基準電圧V
 MEI’をV 、EF、、また、分圧回路7内の抵抗
素′F5.6の値をRH,RLとすると、検出温度0に
おけろ検出電圧V deLゎ、は以下の式%式% )] 検出電圧V detの温度特性は、上記電圧Vdetn
を温度Tで微分する二とにより得られ、これは以下の式
で表され乙。
In the above embodiment circuit, I REF of the constant current circuit 1 at an arbitrary set temperature 0 is IEFO, forward voltage VF of the diode 3 is VFQs, and reference voltage V of the reference voltage circuit 4 is
When MEI' is V, EF, and the values of the resistor element 'F5.6 in the voltage divider circuit 7 are RH and RL, the detection voltage V deLゎ at the detection temperature 0 is calculated by the following formula % formula % )] The temperature characteristic of the detection voltage Vdet is the above voltage Vdetn
It is obtained by differentiating T with respect to temperature T, which is expressed by the following formula.

次にダイオ−K qの温度特性に−)いて考えてみる。Next, let's consider the temperature characteristics of diode Kq.

第3図は、ダイオードに所定のI<イアスミ流IFを流
した状態で、温度Tを変化させたときの順方向電圧VF
の変化を示す特性図である。図示のようにダイオードは
−2〜−3mV/’C(図中のΔVの値である)の温度
特性を持ち、上記2式中の   の値は物理定数的に決
定されるため、 T 非常に安定した特性を示す。
Figure 3 shows the forward voltage VF when the temperature T is changed with a predetermined I<Iasumi current IF flowing through the diode.
FIG. As shown in the figure, the diode has a temperature characteristic of -2 to -3 mV/'C (the value of ΔV in the figure), and the value of in the above two equations is determined by physical constants, so T is very Shows stable characteristics.

次に、上記2式を変形し、次の3式を得る。Next, the above two equations are transformed to obtain the following three equations.

次に抵抗素子5.6の温度特性について考えてみる。普
通、集積回路内の抵抗素子は低濃度の不純物拡散法もし
くはイオン注入法によって製造されており、これらの方
法によって製造された抵抗素子の温度特性も含めた抵抗
値Rは次式で表現される。
Next, consider the temperature characteristics of resistance element 5.6. Resistance elements in integrated circuits are usually manufactured by low-concentration impurity diffusion or ion implantation, and the resistance value R, including temperature characteristics, of resistance elements manufactured by these methods is expressed by the following formula: .

ここで、ρ0はいわゆるシート抵抗と呼ばれる抵抗素子
の面積抵抗であり普通は1〜8にΩ/口、Lは抵抗素子
の長さ及びWは幅であり、KTは抵抗素子の温度変化の
係数であり、普通は+0. 1〜+1%/℃である。
Here, ρ0 is the sheet resistance of the resistance element, which is called sheet resistance, and is usually 1 to 8 Ω/mouth, L is the length of the resistance element, W is the width, and KT is the coefficient of temperature change of the resistance element. Usually +0. It is 1 to +1%/°C.

次に上記4式を用いて、上記3式中の抵抗の温eRRp
、p 次に基準電流の温度特性を求めてみる。ここで、定電流
回路1として前記第16図と同様の構成の91 Rap
Next, using the above 4 equations, calculate the resistance temperature eRRp in the above 3 equations.
,p Next, let's find the temperature characteristics of the reference current. Here, as the constant current circuit 1, 91 Rap having the same configuration as in FIG. 16 is used.
.

ま、To=300°にとすると、To>3.3%/℃で
あれば負の温度特性に、To<3.3%/℃であれば正
の温度特性になる。
Well, when To=300°, if To>3.3%/°C, the temperature characteristic will be negative, and if To<3.3%/°C, the temperature characteristic will be positive.

I  REFO 係を前記3式に代入すると、次の6式か得られる。I REFO By substituting the equation into the above three equations, the following six equations are obtained.

ここで、第4図の特性図に示すように、前記1式は設定
温度0における検出電圧Vdetoを示し、上記6式は
この点を通る温度特性を示す。従って、所望する温度特
性及び値を持つ検出電圧の設定を行うには、上記1式と
6式を連立させて所望する特性を満足する分圧回路7に
おける分圧比る降下電圧RREFO・I REFOを得
ることができる。
Here, as shown in the characteristic diagram of FIG. 4, the above-mentioned equation 1 indicates the detected voltage Vdeto at the set temperature of 0, and the above-mentioned equation 6 indicates the temperature characteristic passing through this point. Therefore, in order to set the detection voltage with the desired temperature characteristics and value, by combining the above equations 1 and 6, the voltage drop RREFO/I REFO, which is the voltage drop ratio in the voltage dividing circuit 7 that satisfies the desired characteristics, is determined. Obtainable.

所望する検出電圧V det  とその温度特性決定し
、さらに上記8式によりRREFO” I Rオ。を決
定することができる。
After determining the desired detection voltage V det and its temperature characteristics, it is possible to determine RREFO'' I R O. using the above-mentioned formula 8.

ここで注意すべきことは、RREP。・I REF。以
外は、所望する特性と分圧比及びダイオードの特性であ
るが、分圧比及びダイオード特性は製造ばらつきが極め
て少なく、非常に安定したものが集積回路上で容品に実
現できることである。しかしながら、定電流回路1を構
成するMOS)ランジスタの特性のばらつき、非対称性
、抵抗回路2を抵抗素子で構成した場合のシート抵抗ρ
。のばらつき等に影響され、RREF。・I REFO
の値は大きくばらつく恐れかある。しかし、この実施例
回路の場合には、定電流回路1及び抵抗回路2共にそれ
ぞれの値が調整可能にされているので、容易に目標とな
る値に設定することができる。
What you should be careful about here is RREP.・I REF. The other characteristics are the desired characteristics, voltage division ratio, and diode characteristics.The voltage division ratio and diode characteristics have very little manufacturing variation, and extremely stable products can be realized on integrated circuits. However, there are variations in the characteristics of the MOS transistors that make up the constant current circuit 1, asymmetry, and sheet resistance ρ when the resistance circuit 2 is made up of resistance elements.
. RREF.・I REFO
There is a risk that the value of will vary widely. However, in the case of this embodiment circuit, since the values of both the constant current circuit 1 and the resistance circuit 2 are adjustable, it is possible to easily set the values to the target values.

次に具体的な数値を用いて、上記各回路の設定状態を説
明する。
Next, the setting states of each of the above circuits will be explained using specific numerical values.

一般に、ICカードに用いられる集積回路は電気的書き
込み、消去が可能なプログラマブル・メモリ(E2 F
ROM)を内蔵している。そして、このE2FROM内
の内部回路からの制約で、電源電圧がある値以下になっ
た場合には正常な動作が期待できなくなるため、特定の
電源電圧V detを検出し、書き込み動作を禁止させ
る必要がある。
Generally, integrated circuits used in IC cards are programmable memories (E2F) that can be electrically written and erased.
It has a built-in ROM. Due to constraints from the internal circuitry within this E2FROM, normal operation cannot be expected if the power supply voltage drops below a certain value, so it is necessary to detect a specific power supply voltage V det and prohibit write operations. There is.

また、ICカードに内蔵された電池は、その出力電圧値
か温度に依存し、所定の温度傾斜を持つため、検出電圧
V detの温度特性もこれに合わせることが要求され
る。いま、Vdet o = 2. 5 V。
Furthermore, since the battery built into the IC card depends on its output voltage value or temperature and has a predetermined temperature gradient, the temperature characteristics of the detected voltage V det are also required to match this. Now, Vdet o = 2. 5V.

温度特性として+3.3mV/’Cが要求され、集積回
路内に寄生しているダイオードの特性が、順方向電圧V
po”” 0. 65 V (順方向バイアー2、Om
 V / ’Cとすると、分圧比りは上記7式一方、抵
抗回路2における降下電圧RREP。・I REFoの
値は上記8式より、 RR6,。・I REFO−2,5X O,8280,
65−1,42(V)・・・10 となる。製造上のばらつきにより上記RREPO・I 
REPOの値が変動しても、その値がちょうど1.42
Vとなるように抵抗回路2において抵抗値の調整を行う
ようにすれば、検出電圧の値とその温度特性を同時に満
足させることができる。
+3.3mV/'C is required as a temperature characteristic, and the characteristics of the parasitic diode in the integrated circuit are such that the forward voltage V
po"" 0. 65 V (forward via 2, Om
If V/'C, then the voltage division ratio is the equation 7 above, and the voltage drop in the resistor circuit 2 is RREP.・The value of I REFo is RR6, from the above formula 8.・I REFO-2, 5X O, 8280,
65-1,42(V)...10. Due to manufacturing variations, the above RREPO・I
Even if the value of REPO fluctuates, its value is exactly 1.42.
By adjusting the resistance value in the resistor circuit 2 so that the voltage becomes V, the value of the detected voltage and its temperature characteristics can be satisfied at the same time.

いま、定電流回路1の値が設定値に対して数分の−から
数倍の範囲で変動し、もしくは抵抗回路2におけるシー
ト抵抗の値が設定値に対して±30%変動すると仮定し
ても、基準電流の調整範囲を例えば4通り(相対値で1
.2,4.6)、抵抗回路2における抵抗値の調整範囲
を例えばしておけば、十分な精度で目標値に適合するに
調整を行うことができる。なおかつ、この場合の調整に
必要なディジタル信号のビット数は8ビツトであり、マ
イクロコンピュータを主体とするICカート用集積回路
においては非常に取扱い易いビット数である。
Now, suppose that the value of constant current circuit 1 fluctuates in the range of several minutes to several times the set value, or that the value of the sheet resistance in resistor circuit 2 fluctuates by ±30% of the set value. For example, the reference current adjustment range can be adjusted in 4 ways (1 relative value).
.. 2, 4.6) If the adjustment range of the resistance value in the resistance circuit 2 is determined, for example, the adjustment can be made to match the target value with sufficient accuracy. Furthermore, the number of bits of the digital signal required for adjustment in this case is 8 bits, which is a number of bits that is very easy to handle in an integrated circuit for an IC cart mainly based on a microcomputer.

また、上記実施例回路において、検出電圧とその温度特
性の設定範囲は、ダイオード3の特性が製造プロセスに
依存して決定されるため、Vdet>Vp等の制約を受
ける。しかし、0.8<30mV/℃程度の、通常用い
られる範囲では十分に設定可能である。
Furthermore, in the above embodiment circuit, the setting range of the detection voltage and its temperature characteristics is determined depending on the manufacturing process of the diode 3, and is therefore subject to restrictions such as Vdet>Vp. However, it can be sufficiently set within the commonly used range of about 0.8<30 mV/°C.

次に上記実施例回路を実際に集積回路化するときの各回
路の具体的な構成について説明する。
Next, the specific configuration of each circuit when the above-described embodiment circuit is actually integrated is explained.

上記定電流回路1は、内部で所定の基準電流を発生し、
この基準電流に応した一定電圧を発生する定電圧発生回
路と、この定電圧発生回路で得られる一定電圧が供給さ
れ、複数ビットのディジタル信号に応じた値の電流を発
生する電流調整回路とから構成されている。第5図(a
)〜(d)はそれぞれ上記定電圧発生回路の具体的な回
路図である。
The constant current circuit 1 generates a predetermined reference current internally,
A constant voltage generation circuit that generates a constant voltage corresponding to this reference current, and a current adjustment circuit that is supplied with the constant voltage obtained by this constant voltage generation circuit and generates a current with a value corresponding to a multi-bit digital signal. It is configured. Figure 5 (a
) to (d) are specific circuit diagrams of the constant voltage generating circuit, respectively.

第5図(a)の定電圧発生回路は、各ソースが正極性の
電源電圧■。に共通に接続され、ゲートか互いに接続さ
れた2個のPチャネルのMOSトランジスタIL 12
からなるカレントミラー回路13と、上記MOSトラン
ジスタ11のドレインに一端が接続された電流値設定用
の抵抗素子14と、この抵抗素子14の他端にドレイン
が、上記MO3I−ランジスタ11のドレインにゲート
がそれぞれ接続され、ソースが接地電圧に接続されたN
チャネルのMOSトランジスタ15と、上記MOSトラ
ンジスタ12のドレインにドレインが、上記抵抗素子1
4の他端にゲートがそれぞれ接続され、ソースが接地電
圧に接続されたNチャネルのMOSトランジスタ16と
から構成されている。このような構成の回路では、抵抗
素子14の値に応じて上記カレントミラー回路13の電
流値か設定され、この電流値と等しい値の電流がNチャ
ネルのMOSトランジスタ16に流れる。そして、MO
Sトランジスタ12.16のゲート電圧がPチャネル側
及びNチャネル側のゲートバイアス電圧VBIASP 
% VBIASNとして出力される。
In the constant voltage generating circuit shown in FIG. 5(a), each source has a positive polarity power supply voltage ■. two P-channel MOS transistors IL 12 whose gates are connected to each other;
a current mirror circuit 13 consisting of a current mirror circuit 13; a resistance element 14 for setting a current value, one end of which is connected to the drain of the MOS transistor 11; a drain is connected to the other end of the resistance element 14; are connected to each other, and the source is connected to ground voltage.
The channel MOS transistor 15 and the drain of the MOS transistor 12 have a drain connected to the resistor element 1.
4, and an N-channel MOS transistor 16 whose gate is connected to the other end of the transistor 4 and whose source is connected to the ground voltage. In a circuit having such a configuration, the current value of the current mirror circuit 13 is set according to the value of the resistive element 14, and a current equal to this current value flows through the N-channel MOS transistor 16. And M.O.
The gate voltage of the S transistor 12.16 is the gate bias voltage VBIASP on the P channel side and the N channel side.
% Output as VBIASN.

第5図(b)の定電圧発生回路は、上記第5図(a)中
のカレントミラー回路をNチャネルのMOSトランジス
タを用いて構成するようにしたものである。すなわち、
この回路は、各ソースか接地電圧に共通に接続され、ゲ
ートが互いに接続された2個のNチャネルのMOSトラ
ンジスタ11’  12’からなるカレントミラー回路
13′ と、上記MOSトランジスタ11′のドレイン
に一端が接続された電流値設定用の抵抗素子14と、こ
の抵抗素子14の他端にドレインが、上記MOSトラン
ジスタ11′のドレインにゲートがそれぞれ接続され、
ソースが電源電圧V+に接続されたPチャネルのMOS
トランジスタ15′ と、上記MOSトランジスタ12
′ のドレインにドレインが、上記抵抗素子14の他端
にゲートがそれぞれ接続され、ソースが電源電圧■。に
接続されたPチャネルのMOSトランジスタ16′ と
から構成されている。
The constant voltage generating circuit shown in FIG. 5(b) is constructed by constructing the current mirror circuit shown in FIG. 5(a) using an N-channel MOS transistor. That is,
This circuit consists of a current mirror circuit 13' consisting of two N-channel MOS transistors 11' and 12' whose sources are commonly connected to the ground voltage and whose gates are connected to each other, and a current mirror circuit 13' which is made up of two N-channel MOS transistors 11' and 12' whose gates are connected to each other, and the drain of the MOS transistor 11'. A resistor element 14 for setting a current value is connected to one end, a drain is connected to the other end of the resistor element 14, and a gate is connected to the drain of the MOS transistor 11'.
P-channel MOS whose source is connected to the power supply voltage V+
transistor 15' and the MOS transistor 12
The drain is connected to the drain of , the gate is connected to the other end of the resistor element 14, and the source is connected to the power supply voltage ■. A P-channel MOS transistor 16' is connected to the P-channel MOS transistor 16'.

このような構成の回路でも、抵抗素子14の値に応じて
上記カレントミラー回路13′の電流値が設定され、こ
の電流値に比例した電流がPチャネルのMOSトランジ
スタ16′ に流れる。そして、上記MO3)ランジス
タ1B’  12’のゲート電圧がPチャネル側及びN
チャネル側のゲートバイアス電圧V BIASP 、V
 BIASNとシテ出力すレル。
Even in a circuit having such a configuration, the current value of the current mirror circuit 13' is set according to the value of the resistive element 14, and a current proportional to this current value flows through the P-channel MOS transistor 16'. Then, the gate voltage of MO3) transistor 1B'12' is applied to the P channel side and N
Channel side gate bias voltage V BIASP , V
BIASN and output output.

第5図(c)の定電圧発生回路は、各ソースが電源電圧
V+に共通に接続され、ゲートが互いに接続された2個
のPチャネルのMOS)ランジスタ21.22からなる
カレントミラー回路23と、ドレインが上記MO5)ラ
ンジスタ21.22ドレインにそれぞれ接続され、ゲー
トが互いに接続された2個のNチャネルのMOS)ラン
ジスタ24.25からなるカレントミラー回路26と、
上記MOS)ランジスタ24のソースと接地電圧との間
に接続された電流値設定用の抵抗素子27とから構成さ
れている。
The constant voltage generating circuit shown in FIG. 5(c) includes a current mirror circuit 23 consisting of two P-channel MOS transistors 21 and 22 whose sources are commonly connected to the power supply voltage V+ and whose gates are connected to each other. , a current mirror circuit 26 consisting of two N-channel MOS transistors 24 and 25 whose drains are respectively connected to the drains of the MO transistors 21 and 22 and whose gates are connected to each other;
The resistor element 27 for setting a current value is connected between the source of the MOS transistor 24 and the ground voltage.

なお、MOSトランジスタ25のソースは接地電圧に直
接に接続されている。このような構成の回路では、抵抗
素子27の値に応じて上記2個のカレントミラー回路2
3.26の電流値が同値に設定される。
Note that the source of the MOS transistor 25 is directly connected to the ground voltage. In a circuit with such a configuration, the two current mirror circuits 2
The current value of 3.26 is set to the same value.

そして、MO5I−ランジスタ22.25のゲート電圧
がPチャネル側及びNチャネル側のゲートバイアス電圧
vBIASP 、VBIASNとして出力される。
Then, the gate voltages of the MO5I transistors 22 and 25 are output as gate bias voltages vBIASP and VBIASN on the P-channel side and the N-channel side.

第5図(d)の定電圧発生回路は、上記第5図(C)中
のカレントミラー回路をチャネル型がそれぞれ反対型の
MOSトランジスタを用いて構成するようにしたもので
ある。すなわち、この回路は、各ソースが接地電圧に共
通に接続され、ゲートが互いに接続された2個のNチャ
ネルのMOSトランジスタ21′、22′からなるカレ
ントミラー回路23′ と、ドレインが上記MOSトラ
ンジスタ21’ 、22’のドレインにそれぞれ接続さ
れ、ゲートが互いに接続された2個のPチャネルのMO
Sトランジスタ24′、25′からなるカレントミラー
回路26′ と、上記MOSトランジスタ24′のソ−
スと電源電圧V4との間に接続された電流値設定用の抵
抗素子27とから構成されている。なお、MOSトラン
ジスタ25′のソースは電源電圧V+に直接に接続され
ている。このような構成の回路でも、抵抗素子27の値
に応じて上記2個のカレントミラー回路23’ 、2B
’ の電流値か同値に設定され、MOSトランジスタ2
5′、22′のゲート電圧かPチャネル側及びNチャネ
ル側のゲートバイアス電圧V RIASP 、V BI
ASNとして出力される。
The constant voltage generating circuit shown in FIG. 5(d) is constructed by constructing the current mirror circuit shown in FIG. 5(C) using MOS transistors having opposite channel types. That is, this circuit includes a current mirror circuit 23' consisting of two N-channel MOS transistors 21' and 22' whose sources are commonly connected to the ground voltage and whose gates are connected to each other; Two P-channel MOs connected to the drains of 21' and 22', respectively, and whose gates are connected to each other.
A current mirror circuit 26' consisting of S transistors 24' and 25' and a source of the MOS transistor 24'
and a resistance element 27 for setting a current value connected between the power supply voltage V4 and the power supply voltage V4. Note that the source of the MOS transistor 25' is directly connected to the power supply voltage V+. Even in a circuit with such a configuration, the two current mirror circuits 23' and 2B
' is set to the current value or the same value, and the MOS transistor 2
Gate voltages of 5' and 22' or gate bias voltages of P channel side and N channel side V RIASP , V BI
Output as ASN.

第6図(a)、(b)はそれぞれ上記定電流回路1内の
電流調整回路の具体的な回路図である。
FIGS. 6(a) and 6(b) are specific circuit diagrams of the current adjustment circuit in the constant current circuit 1, respectively.

第6図(a)の電流調整回路は、前記第5図(a)〜(
d)のいずれか一つの定電圧発生回路から出力されるP
チャネル側のゲートバイアス電圧V BIASPと、4
通りの制御信号を受け、前記のように相対値で1.2,
4.6の値を持つ4通りの11流を発生するものである
。この回路は電源電圧V+と出力電流を得る。ノード3
0との間に直列接続節されたそれぞれ2個のPチャネル
のMOSトランジスタ31と32.33と34.35と
36.37と38とから構成されており、上記直列接続
された各一方のMOSトランジスタ31.33.35.
37のゲートにはゲートバイアス電圧V BIASPか
並列に供給され、各他方のMOS)ランジスタ32.3
4.38.38のゲートには4通りの各制御信号か供給
される。そして、直列接続された上記各2個の素子寸法
は、MOSトランジスタ31.32それぞれを「1」と
すると、33と34か共にrlJ、35と36か共に「
2」、37と38が共に「2」となるように設定されて
いる。
The current adjustment circuit shown in FIG. 6(a) is based on the current adjustment circuit shown in FIGS.
P output from any one of the constant voltage generation circuits in d)
The gate bias voltage V BIASP on the channel side and 4
As mentioned above, the relative value is 1.2,
It generates 11 flows in 4 ways with a value of 4.6. This circuit obtains a power supply voltage V+ and an output current. node 3
It is composed of two P-channel MOS transistors 31, 32, 33, 34, 35, 36, 37, and 38, which are connected in series between each other. Transistor 31.33.35.
A gate bias voltage V BIASP is supplied in parallel to the gate of 37, and each other MOS) transistor 32.3
Four types of control signals are supplied to the gates of 4.38.38. The dimensions of each of the above two elements connected in series are, assuming that each of the MOS transistors 31 and 32 is "1", 33 and 34 are both rlJ, and 35 and 36 are both "1".
2'', and 37 and 38 are both set to be ``2''.

この回路において、MOSトランジスタ32のゲートに
供給される制御信号か“O”レベルにされると、このM
OSトランジスタ32がオンし、MOSトランジスタ3
1.32を介して電源電圧■やからノード30に対し、
前記「1」の値の電流か供給される。また、MOSトラ
ンジスタ32.34の各ゲートに供給される制御信号が
共に“0”レベルにされた場合には、MOSトランジス
タ32.34か共にオンし、ノード30には前記「2」
の値の電流が供給される。以下同様に、各ゲートに供給
料される制御信号が選択的に“O″レベルされることに
より、MOS)ランジスタ32.34.36.38が選
択的にオン状態にされ、それぞれの素子寸法に応じた値
の電流がノード30に対して供給される。
In this circuit, when the control signal supplied to the gate of the MOS transistor 32 is set to "O" level, the M
The OS transistor 32 turns on, and the MOS transistor 3
1.32 from the power supply voltage ■ to node 30,
A current having the value "1" is supplied. Further, when the control signals supplied to each gate of the MOS transistors 32 and 34 are both set to the "0" level, both the MOS transistors 32 and 34 are turned on, and the "2" level is applied to the node 30.
A current of value is supplied. Similarly, by selectively setting the control signal supplied to each gate to the "O" level, the MOS transistors 32, 34, 36, and 38 are selectively turned on, and the respective element dimensions are adjusted. A corresponding value of current is supplied to node 30.

第6図(b)の電流調整回路は、上記第6図(a)の回
路におけるPチャネルのMOSトランジスタの代りに、
NチャネルのMOSトランジスタを用いるようにしたも
のである。なお、第6図(a)と対応する箇所にはその
符号の末尾に「′」を付してその詳細な説明は省略する
。なお、この回路の場合、前記第5図(a)〜(d)の
いずれか一つの定電圧発生回路から出力されるNチャネ
ル側のゲートバイアス電圧VBIASNがMOSトラン
ジスタ31’ 、3B’ 、35’ 、37’の各ゲー
トに並列に供給される点のみが第6図(a)と異なって
いる。
The current adjustment circuit of FIG. 6(b) replaces the P-channel MOS transistor in the circuit of FIG. 6(a) above.
This uses an N-channel MOS transistor. It should be noted that the parts corresponding to those in FIG. 6(a) are marked with "'" at the end of the reference numerals, and detailed explanation thereof will be omitted. In the case of this circuit, the N-channel side gate bias voltage VBIASN output from any one of the constant voltage generating circuits shown in FIGS. , 37' is different from FIG. 6(a) only in that it is supplied in parallel to each gate.

第7図(a)は前記基準電圧回路4内の抵抗回路2及び
ダイオード3の具体的な構成を示す回路図である。前記
ダイオード3はCMOSプロセスによって寄生的に形成
されるPNP型バイポーラトランジスタ40を用いて構
成されており、そのベースB、コレクタCが共に接地電
圧に接続されて使用される。なお、このバイポーラトラ
ンジスタ40の素子断面図を第8図(a)に示す。さら
に前記抵抗回路2は、前記定電流回路1と上記バイポー
ラトランジスタ40のエミッタとの間に直列接続された
複数個の抵抗素子41.・・・と、これら抵抗素子の各
直列接続点と上記バイポーラトランジスタ40のエミッ
タとの間に並列的に接続された複数個のスイッチ用のN
チャネルのMOSトランジスタ42.・・・とから構成
されている。そして、上記MOSトランジスタ42.・
・・の各ゲートには複数の制御信号のそれぞれが供給さ
れる。
FIG. 7(a) is a circuit diagram showing a specific configuration of the resistor circuit 2 and diode 3 in the reference voltage circuit 4. FIG. The diode 3 is constructed using a PNP type bipolar transistor 40 parasitically formed by a CMOS process, and is used with its base B and collector C both connected to the ground voltage. Note that a cross-sectional view of this bipolar transistor 40 is shown in FIG. 8(a). Furthermore, the resistance circuit 2 includes a plurality of resistance elements 41 . . . . and N for a plurality of switches connected in parallel between each series connection point of these resistance elements and the emitter of the bipolar transistor 40.
Channel MOS transistor 42. It is composed of... The MOS transistor 42.・
Each of the plurality of control signals is supplied to each gate of .

この回路では、複数の制御信号に応じて上記MOS)ラ
ンジスタ42.・・・が選択的にオン、オフ制御される
ことにより、抵抗回路2内で直列接続されている抵抗素
子41.・・・の個数が選択され、その個数に応じた降
下電圧が抵抗回路2の両端間に得られるものである。
In this circuit, the above-mentioned MOS) transistor 42. . . are selectively controlled on and off, the resistance elements 41 . . . connected in series within the resistance circuit 2 . . is selected, and a voltage drop corresponding to the selected number is obtained across the resistor circuit 2.

第7図(b)は前記基準電圧回路4内の抵抗回路2及び
ダイオード3の他の具体的な構成を示す回路図である。
FIG. 7(b) is a circuit diagram showing another specific configuration of the resistor circuit 2 and diode 3 in the reference voltage circuit 4.

この回路は、CM OSプロセスによって寄生的に形成
されるPNP型バイポーラトランジスタ40′を用いて
構成されており、そのベースB、コレクタCが共に電源
電圧V+に接続されて使用される。さらにこの回路では
、上記スイッチ用のNチャネルのMOSトランジスタ4
2 1.。
This circuit is constructed using a PNP type bipolar transistor 40' parasitically formed by a CMOS process, and is used with its base B and collector C both connected to the power supply voltage V+. Furthermore, in this circuit, an N-channel MOS transistor 4 for the switch is used.
2 1. .

の代りにPチャネルのMOSトランジスタ42′・・・
を用いるようにしている。なお、上記バイポーラトラン
ジスタ40′の素子断面図を第8図(b)に示す。
Instead of P-channel MOS transistor 42'...
I try to use A cross-sectional view of the bipolar transistor 40' is shown in FIG. 8(b).

第9図(a)、(b)、(c)はそれぞれ前記分圧回路
7の具体的な構成を示す回路図である。
FIGS. 9(a), (b), and (c) are circuit diagrams showing specific configurations of the voltage dividing circuit 7, respectively.

第9図(a)の分圧回路においては、電源電圧V+と接
地電圧との間に複数個の抵抗素子51.・・・を直列接
続し、これら抵抗素子の各直列接続点に発生するそれぞ
れ値が異なる電圧を複数個のスイッチ素子52.・・・
を選択的にオンさせることにより分圧電圧VDIvとし
て取り出すようにしたものである。この場合、前記抵抗
素子R,及びR5それぞれの値は、選択的にオン状態に
されたスイッチ素子52を境にして、電源電圧V。側に
存在している全ての抵抗素子51の抵抗値の和及び接地
電圧側に存在している全ての抵抗素子51の抵抗値の和
に相当している。
In the voltage divider circuit of FIG. 9(a), a plurality of resistive elements 51. ... are connected in series, and voltages of different values generated at each series connection point of these resistance elements are connected to a plurality of switch elements 52. ...
By selectively turning on the voltage, the voltage is extracted as a divided voltage VDIv. In this case, the values of the resistive elements R and R5 are equal to the power supply voltage V, with the switch element 52 selectively turned on as a boundary. This corresponds to the sum of the resistance values of all the resistance elements 51 existing on the side and the sum of the resistance values of all the resistance elements 51 existing on the ground voltage side.

一方、第9図(b)及び(c)の分圧回路ではそれぞれ
、電源電圧V。と接地電圧との間に複数個の抵抗素子5
1.・・・を直列接続し、さらにこれら抵抗素子の各直
列接続点に複数個のスイッチ素子52゜・・・の各一端
を接続し、これらスイッチ素子52.・・・の各他端に
所定の電圧を供給し、これらスイッチ素子52.・・を
選択的にオンさせることにより値が異なる分圧電圧V 
DIVを取り出すようにしたものである。
On the other hand, in the voltage dividing circuits of FIGS. 9(b) and 9(c), the power supply voltage is V, respectively. A plurality of resistive elements 5 are connected between the
1. ... are connected in series, and each one end of a plurality of switch elements 52... is connected to each series connection point of these resistance elements, and these switch elements 52. A predetermined voltage is supplied to each other end of these switching elements 52. The divided voltage V whose value differs by selectively turning on...
The DIV is taken out.

第10図(a)、(b)はそれぞれ、基準電圧V RE
Fと分圧電圧VDIvとを比較する前記電圧コンパレー
タ8の具体的な構成を示す回路図である。
FIGS. 10(a) and 10(b) show the reference voltage V RE
FIG. 2 is a circuit diagram showing a specific configuration of the voltage comparator 8 that compares F and a divided voltage VDIv.

第10図(a)の回路は、ゲートに前記第5図の回路で
発生されるNチャネル側のゲートバイアス電圧V BI
ASNが供給される電流源用のNチャネルのMOSトラ
ンジスタ61、ソースが共通に接続され、各ゲートに上
記基準電圧V REPもしくは分圧電圧V DIVが供
給される2個のNチャネルのMOS)ランジスタロ2.
63からなる差動対64.2個のPチャネルのMOSト
ランジスタ65.6Bからなり、上記差動対64の負荷
となるカレントミラー回路67を備えた差動増幅段68
と、ゲートに上記ゲートバイアス電圧V B H^SN
が供給される電流源用のNチャネルのMOSトランジス
タ69及び上記差動増幅段68の出力がゲートに供給さ
れるPチャネルのMOS)ランジスタフ0からなる出力
段71とから構成された周知のものである。
The circuit of FIG. 10(a) has an N-channel side gate bias voltage V BI generated in the circuit of FIG. 5 at the gate.
An N-channel MOS transistor 61 for a current source to which ASN is supplied; two N-channel MOS transistors whose sources are commonly connected and each gate is supplied with the reference voltage V REP or divided voltage V DIV; 2.
63 differential pair 64. A differential amplifier stage 68 comprising two P-channel MOS transistors 65.6B and a current mirror circuit 67 serving as a load for the differential pair 64.
And the above gate bias voltage V B H^SN is applied to the gate.
This is a well-known device consisting of an N-channel MOS transistor 69 for a current source to which the differential amplifier stage 68 is supplied, and an output stage 71 consisting of a P-channel MOS transistor 0 whose gate is supplied with the output of the differential amplifier stage 68. be.

また、第10図(b)の回路は、上記第10図(a)の
回路におけるPチャネルのMOSトランジスタの代りに
NチャネルのMOSトランジスタを、NチャネルのMO
S)ランジスタの代りにPチャネルのMOSトランジス
タをそれぞれ用いるようにしたものである。なお、第1
0図(a)と対応する箇所にはその符号の末尾に「′」
を付してその詳細な説明は省略する。なお、この回路の
場合、PチャネルのMOSトランジスタ81’ 、69
の各ゲートには、前記第5図の回路で発生されるPチャ
ネル側のゲートバイアス電圧VBt^spが供給される
Further, the circuit of FIG. 10(b) uses an N-channel MOS transistor instead of the P-channel MOS transistor in the circuit of FIG. 10(a), and an N-channel MOS transistor.
S) P-channel MOS transistors are used instead of transistors. In addition, the first
For locations corresponding to Figure 0 (a), there is a ``''' at the end of the code.
, and detailed explanation thereof will be omitted. Note that in the case of this circuit, P-channel MOS transistors 81', 69
A P-channel side gate bias voltage VBt^sp generated in the circuit shown in FIG. 5 is supplied to each gate of .

第11図は上記第5図ないし第10図の具体的回路を用
いて、前記第1図の実施例回路を実際に集積化する際の
全体の構成を示す詳細図である。
FIG. 11 is a detailed diagram showing the overall configuration when the embodiment circuit shown in FIG. 1 is actually integrated using the specific circuits shown in FIGS. 5 to 10.

図において、IAは前記定電流回路1内の定電圧発生回
路である。この定電圧発生回路IAは基本的には前記第
5図(a)と同様の構成のものであるが、この基本回路
に対し、スタンバイ機能とコンデンサ・キック機能とが
付加されている。
In the figure, IA is a constant voltage generating circuit within the constant current circuit 1. This constant voltage generating circuit IA basically has the same configuration as that shown in FIG. 5(a), but a standby function and a capacitor kick function are added to this basic circuit.

すなわち、Pチャネル側のゲートバイアス電圧VB1八
SPが得られる前記MOSトランジスタ12のゲート及
びドレインの接続点と電源電圧V+との間にはPチャネ
ルのMOSトランジスタ17が、Nチャネル側のゲート
バイアス電圧V BIASNが得られる前記MOSトラ
ンジスタ16のゲート及びドレインの接続点と接地電圧
との間にはNチャネルのMOS)ランジスタ18がそれ
ぞれ接続されている。
That is, a P-channel MOS transistor 17 is connected between the connection point of the gate and drain of the MOS transistor 12 where the P-channel side gate bias voltage VB18SP is obtained and the power supply voltage V+, and the N-channel side gate bias voltage N-channel MOS transistors 18 are connected between the connection point of the gate and drain of the MOS transistor 16 from which V BIASN is obtained and the ground voltage.

そして、上記一方のMOSトランジスタ18のゲートに
はスタンバイ制御信号OPか供給され、他方のMOSト
ランジスタ17のゲートにはこのスタンバイ制御信号O
Pが奇数個のインバータ19.・・・を直列に介して供
給される。さらに前記MOSトランジスタ12.16の
共通ドレインにはコンデンサ20の一端が接続されてお
り、このコンデンサ20の他端にはスタンバイ制御信号
OPが偶数個のインバータ19.・・を介して供給され
る。
The standby control signal OP is supplied to the gate of one of the MOS transistors 18, and the standby control signal OP is supplied to the gate of the other MOS transistor 17.
Inverter 19 where P is an odd number. ... are supplied in series. Furthermore, one end of a capacitor 20 is connected to the common drain of the MOS transistors 12, 16, and the other end of this capacitor 20 receives a standby control signal OP from an even number of inverters 19. Supplied via...

このような構成の回路では、スタンバイ制御信号−か子
が“1“レベルのとき、MOS)ランジスタ18.17
が共にオンし、Pチャネル側のゲートバイアス電圧VB
IAsPは電源電圧V+に、Nチャネル側のゲートバイ
アス電圧V BIASNはOVの接地電圧にそれぞれ設
定され、スタンバイ状態になる。
In a circuit with such a configuration, when the standby control signal -1 is at the "1" level, the MOS transistors 18 and 17
are both turned on, and the gate bias voltage VB on the P channel side
IAsP is set to the power supply voltage V+, and the gate bias voltage VBIASN on the N-channel side is set to the ground voltage of OV, thereby entering a standby state.

スタンバイ制御信号OPが“1”レベルから″0″レベ
ルに反転すると、上記MOSl−ランジスタ18.17
か共にオフし、さらにコンデンサ20を介してMO3I
−ランジスタ12.16の共通ドレインが強制的に“0
ルベルに引き下げられる。
When the standby control signal OP is inverted from the "1" level to the "0" level, the above MOS1-transistor 18.17
MO3I is also turned off through capacitor 20.
- common drain of transistors 12.16 is forced to “0”
He is pulled down by Rubel.

第11図中のIBは前記定電流回路1内の定電圧発生回
路である。この定電圧発生回路1Bは基本的には前記第
6図(a)と同様の構成のものであるが、この基本回路
に対し、スタンバイ機能とディジタル信号のデコード機
能とか付加されている。
IB in FIG. 11 is a constant voltage generating circuit in the constant current circuit 1. This constant voltage generating circuit 1B basically has the same configuration as that shown in FIG. 6(a), but a standby function and a digital signal decoding function are added to this basic circuit.

この回路の動作は、スタンバイ制御信号0POPと2ビ
ツトのディジタル信号B6.B7とから制御されるよう
になっている。上記スタンバイ制御信号OPは前記MO
Sトランジスタ32のゲートに供給される。上記2ビツ
トのディジタル信号B6.B7はORゲート81に並列
に供給される。
The operation of this circuit is based on the standby control signal 0POP and the 2-bit digital signal B6. It is controlled from B7. The standby control signal OP is the MO
It is supplied to the gate of the S transistor 32. The above 2-bit digital signal B6. B7 is supplied to OR gate 81 in parallel.

このORゲート81の出力はスタンバイ制御信号OPと
共にNANDゲート82に供給され、このNANDゲー
ト82の出力は前記MOSトランジスタ34のゲートに
供給される。上記一方のディジタル信号B7はスタンバ
イ制御信号OPと共にNANDゲート83に供給され、
このN A N D 83の出力は前記MOSトランジ
スタ34のゲートに供給される。さらに2ビツトのディ
ジタル信号B6゜B7はANDゲート84に並列に供給
される。このANDゲート84の出力はスタンバイ制御
信号OPと共にNANDゲート85に供給され、このN
 A N D 85の出力は前記MO8)ランジスタ3
8のゲートに供給される。
The output of this OR gate 81 is supplied together with the standby control signal OP to a NAND gate 82, and the output of this NAND gate 82 is supplied to the gate of the MOS transistor 34. The one digital signal B7 is supplied to the NAND gate 83 together with the standby control signal OP,
The output of this N A N D 83 is supplied to the gate of the MOS transistor 34 . Further, 2-bit digital signals B6 and B7 are supplied to an AND gate 84 in parallel. The output of this AND gate 84 is supplied to a NAND gate 85 together with the standby control signal OP, and this
The output of A N D 85 is the MO8) transistor 3.
8 gates.

このような構成の回路では、スタンバイ制御信号OPか
“1″レベル、OPが0”レベルのときに動作し、ノー
ド30に所定の電流が流れる。いま、2ビツトのディジ
タル信号B6.B7が共に“0“レベルのときはMOS
トランジスタ32がオンし、ノード30には前記「1」
に相当する電流が流れる。また、2ビツトのディジタル
信号B6゜B7のうち下位桁の信号B6が″1″レベル
のときは、NANDゲート82の出力が“0”レベルと
なり、MOSトランジスタ34がオンする。従って、こ
のときは2個のMOSトランジスタ32.34が共にオ
ン状態になり、ノード30には前記「2」に相当する電
流が流れる。また、上位桁の信号B7が“1”レベルの
ときは、NANDゲート83の出力が“0”レベルとな
り、MOSトランジスタ36がオンする。従って、この
ときは3個のMOSトランジスタ32.34.36が共
にオン状態になり、ノード30には前記「4」に相当す
る電流が流れる。さらに、2ビツトのディジタル信号B
6.B7が共に“1″ルベルのときは、NANDゲート
85の出力が“0″レベルとなり、MOSトランジスタ
38がオンする。従って、このときは4個のMOSトラ
ンジスタ32.34.36.38が共にオン状態になり
、ノード30には前記「6」に相当する電流が流れる。
A circuit with such a configuration operates when the standby control signal OP is at the "1" level and when OP is at the 0" level, and a predetermined current flows through the node 30. Now, both the 2-bit digital signals B6 and B7 When it is “0” level, MOS
The transistor 32 turns on, and the node 30 receives the "1".
A current corresponding to flows. Furthermore, when the lower digit signal B6 of the 2-bit digital signals B6 and B7 is at the "1" level, the output of the NAND gate 82 is at the "0" level, and the MOS transistor 34 is turned on. Therefore, at this time, the two MOS transistors 32 and 34 are both turned on, and a current corresponding to "2" flows through the node 30. Further, when the signal B7 of the upper digit is at the "1" level, the output of the NAND gate 83 is at the "0" level, and the MOS transistor 36 is turned on. Therefore, at this time, the three MOS transistors 32, 34, and 36 are all turned on, and a current corresponding to "4" flows through the node 30. Furthermore, a 2-bit digital signal B
6. When both B7 are at the "1" level, the output of the NAND gate 85 is at the "0" level, and the MOS transistor 38 is turned on. Therefore, at this time, all four MOS transistors 32, 34, 36, and 38 are turned on, and a current corresponding to the above "6" flows through the node 30.

第11図中の抵抗回路2は、基本的には前記第7図(a
)と同様の構成のものであるが、この基本回路に対して
スタンバイ機能とディジタル信号のデコード機能とが付
加されている。これらの機能はスタンバイ制御信号OP
と6ビツトのディジタル信号BO−B5.BO〜B5に
基づいて制御される。
The resistance circuit 2 in FIG. 11 is basically the same as that shown in FIG.
), but a standby function and a digital signal decoding function are added to this basic circuit. These functions are controlled by the standby control signal OP.
and 6-bit digital signals BO-B5. It is controlled based on BO to B5.

すなわち、前記スイッチ用のNチャネルのMOSトラン
ジスタ42のゲートには複数個のNORゲート43の各
出力が並列に供給されるようになっている。これらNO
Rゲート43の各一方入力端子と電源電圧V+との間に
は、上記スタンバイ制御信号OPに基づいて制御される
充電用の複数個の各PチャネルのMOSトランジスタ4
4が接続されている。さらに、上記NORゲート43の
各一方入力端子と接地電圧との間には、上記6ピッ6個
のNチャネルのMOSトランジスタ45.・・・が直列
に接続されている。また、上記NORゲート43の各他
方入力端子にはスタンバイ制御信号OPが並列に供給さ
れる。
That is, each output of a plurality of NOR gates 43 is supplied in parallel to the gate of the N-channel MOS transistor 42 for the switch. These NO
Between each input terminal of the R gate 43 and the power supply voltage V+, a plurality of P-channel MOS transistors 4 for charging are controlled based on the standby control signal OP.
4 is connected. Further, between each one input terminal of the NOR gate 43 and the ground voltage, the six 6-pin N-channel MOS transistors 45. ... are connected in series. Further, a standby control signal OP is supplied in parallel to each other input terminal of the NOR gate 43.

この回路では、スタンバイ制御信号OPが“0”レベル
のときに各MOSトランジスタ44がオンし、上記NO
Rゲート43の各一方入力端子が“1”レベル、すなわ
ち電源電圧V+に充電される。このとき、上記NORゲ
ート43の各他方入力端子は信号OPにより“0″レベ
ルにされている。この状態のとき、6ビツトのディジタ
ル信号BO〜B5゜BO〜B5の論理状態に応して、上
記直列接続されている6個のMOS)ランジスタ45.
・・・のいずれか1組が全てオン状態になると、これら
のMO3I−ランジスタを介して1個のNORゲート4
3の一方入力端子が“0”レベルに放電され、このNO
Rゲート43の出力のみが“1”レベルとなる。すると
、このNORゲート43の出力が供給される前記スイッ
チ用のMO3I−ランジスタ42が選択的にオンし、前
記複数個の抵抗素子41の個数が決定される。
In this circuit, when the standby control signal OP is at the "0" level, each MOS transistor 44 is turned on, and the NO.
Each one input terminal of the R gate 43 is charged to the "1" level, that is, the power supply voltage V+. At this time, each other input terminal of the NOR gate 43 is set to the "0" level by the signal OP. In this state, the six series-connected MOS transistors 45.
When any one set of . . . is all turned on, one NOR gate 4 is
One input terminal of NO.3 is discharged to “0” level, and this NO.
Only the output of the R gate 43 becomes "1" level. Then, the switch MO3I-transistor 42 to which the output of the NOR gate 43 is supplied is selectively turned on, and the number of the plurality of resistance elements 41 is determined.

第11図中のダイオード3は、基本的には前記第7図(
a)中のものと同様にPNP型のバイポーラトランジス
タを用いて構成されたものであるが、この基本回路に対
してさらにスタンバイ機能が付加されている。このダイ
オード3を構成するバイポーラトランジスタのエミッタ
、コレクタ間に並列にNチャネルのMOSトランジスタ
46が接続されており、このMOSトランジスタ46の
ゲートにはスタンバイ制御信号OPが供給されている。
The diode 3 in FIG. 11 is basically the diode 3 shown in FIG.
Like the one in a), it is constructed using PNP type bipolar transistors, but a standby function is added to this basic circuit. An N-channel MOS transistor 46 is connected in parallel between the emitter and collector of the bipolar transistor constituting the diode 3, and a standby control signal OP is supplied to the gate of the MOS transistor 46.

この回路では、スタンバイ制御信号OPが“1“レベル
のときにスタンバイ状態となる。すなわち、このスタン
バイ状態のときは、MOSトランジスタ46がオンし、
ダイオード3の両端が短絡される。
This circuit enters a standby state when the standby control signal OP is at the "1" level. That is, in this standby state, the MOS transistor 46 is turned on,
Both ends of diode 3 are shorted.

しかし、スタンバイ制御信号OPが“0”レベルのとき
はMOS)ランジスタ46がオフし、ダイオード3は所
定の順方向電圧を発生する。
However, when the standby control signal OP is at the "0" level, the MOS transistor 46 is turned off and the diode 3 generates a predetermined forward voltage.

第11図中の前記分圧回路7は、基本的には前記第1図
のものと同様に抵抗素子5.6を用いて構成されたもの
であるが、この基本回路に対してさらにスタンバイ機能
が付加されている。すなわち、前記抵抗素子5に対して
、ゲートにスタンバイ制御信号OPが供給さ、れている
PチャネルのMOS)ランジスタ47が直列に接続され
ている。
The voltage dividing circuit 7 in FIG. 11 is basically constructed using resistive elements 5 and 6 in the same way as the one in FIG. 1, but a standby function is added to this basic circuit. is added. That is, a P-channel MOS transistor 47 whose gate is supplied with a standby control signal OP is connected in series to the resistance element 5.

この回路では、スタンバイ制御信号OPか“1″レベル
のときにMOS)ランジスタ47がオフし、スタンバイ
状態となあ。
In this circuit, when the standby control signal OP is at the "1" level, the MOS transistor 47 is turned off and the circuit is in a standby state.

第11図中の電圧コンパレータ8は、基本的には前記第
10図(a)のものと同様に構成されているが、この基
本回路に対してさらにスタンバイ機能か付加されている
。すなわち、この回路では前記出力段71のMOS)ラ
ンジスタフ0のゲートと電源電圧V+との間にPチャネ
ルのMOSトランジスタ91か、この出力段71の論理
信号の出力端と接地電圧との間にNチャネルのMOSト
ランジスタ92がそれぞれ接続され、一方のMOS)ラ
ンジスタ91のゲートにはスタンバイ制御信号oPが、
他方のMOSトランジスタ92のゲートにはスタンバイ
制御信号OPがそれぞれ供給される。このような構成に
おいて、スタンバイ制御信号OPが“0”レベル、OP
か″1ルベルのスタンバイ状態のときは上記両MOSト
ランジスタ91.92がオン状態になり、論理出力信号
は入力にががゎらずに“0”レベルとなる。
The voltage comparator 8 shown in FIG. 11 has basically the same structure as that shown in FIG. 10(a), but a standby function is added to this basic circuit. That is, in this circuit, a P-channel MOS transistor 91 is connected between the gate of the MOS transistor 0 of the output stage 71 and the power supply voltage V+, or an N transistor is connected between the logic signal output terminal of the output stage 71 and the ground voltage. The MOS transistors 92 of the channels are connected to each other, and the standby control signal oP is applied to the gate of one MOS transistor 91.
A standby control signal OP is supplied to the gates of the other MOS transistors 92, respectively. In such a configuration, the standby control signal OP is at “0” level, OP
In the standby state of 1 level, both the MOS transistors 91 and 92 are turned on, and the logic output signal goes to the "0" level without any delay in response to the input.

第11図では前記インバータ9は図示のようにPチャネ
ルのMOSトランジスタ93とNチャネルのMOS)ラ
ンジスタ94とからなるCMOSインバータで構成され
ている。 第12図は上記第5図ないし第10図の具体
的回路を用いて、前記第1図の実施例回路を実際に集積
化する際の、上記第11図とは異なる全体の構成を示す
詳細図である。
In FIG. 11, the inverter 9 is constituted by a CMOS inverter consisting of a P-channel MOS transistor 93 and an N-channel MOS transistor 94 as shown. FIG. 12 shows details of the overall configuration, which is different from that shown in FIG. 11, when the embodiment circuit shown in FIG. 1 is actually integrated using the specific circuits shown in FIGS. 5 to 10. It is a diagram.

この詳細回路は、前記抵抗回路2をスタンバイ制御信号
OPと4ビツトのディジタル信号BO〜B3.BO〜B
3に基づいて制御し、かつ前記分圧回路7をスタンバイ
制御信号OPと2ビツトのディジタル信号B4、B5.
B4、B5に基づいて制御するようにしたものである。
This detailed circuit operates the resistor circuit 2 using a standby control signal OP and 4-bit digital signals BO to B3. B-B
3, and the voltage dividing circuit 7 is controlled based on the standby control signal OP and 2-bit digital signals B4, B5 .
Control is performed based on B4 and B5.

すなわち、前記抵抗回路2ては、前記NORゲート43
の各他方入力端子と接地電圧との間には、上記4ビツト
のディジタル信号BO〜B3.BO〜B3の組み合わ信
号のそれぞれが各ゲートに供給される各4個のNチャネ
ルのMOSランジスタ45、・・・が直列に接続されて
いる。
That is, the resistance circuit 2 has the NOR gate 43
The 4-bit digital signals BO to B3 . are connected between each other input terminal and the ground voltage. Four N-channel MOS transistors 45, . . . are connected in series, each of which receives a combined signal of BO to B3 to each gate.

一方、前記分圧回路7は、基本的には前記第9図(a)
の原理のものを使用しているが、この基本回路に対して
さらにスタンバイ機能とディジタル信号のデコード機能
とが付加されている。すなわち、この分圧回路7では、
前記スイッチ素子52がNチャネルのMOSトランジス
タ53で構成されており、これらのMOSトランジスタ
53のゲートには複数個のNORゲート54の各出力が
並列に供給されるようになっている。これらNORゲー
ト54の各一方入力端子と電源電圧V+との間には、前
記スタンバイ制御信号OPに基づいて制御される充電用
の複数個の各PチャネルのMOSトランジスタ55か接
続されている。さらに、上記NORゲート54の各一方
入力端子と接地電圧との間には、給される各2個のNチ
ャネルのMOSトランジスタ56.・・・が直列に接続
されている。また、上記NORゲート54の各他方入力
端子にはスタンバイ制御信号OPが並列に供給される。
On the other hand, the voltage dividing circuit 7 basically operates as shown in FIG. 9(a).
However, a standby function and a digital signal decoding function are added to this basic circuit. That is, in this voltage dividing circuit 7,
The switch element 52 is composed of N-channel MOS transistors 53, and the outputs of a plurality of NOR gates 54 are supplied in parallel to the gates of these MOS transistors 53. A plurality of P-channel MOS transistors 55 for charging, which are controlled based on the standby control signal OP, are connected between one input terminal of each of these NOR gates 54 and the power supply voltage V+. Furthermore, two N-channel MOS transistors 56 . ... are connected in series. Further, a standby control signal OP is supplied in parallel to each other input terminal of the NOR gate 54.

さらに、抵抗素子51の終端と接地電圧との間には、ゲ
ートにインバータ57を介してスタンバイ制御信号OP
が供給されるNチャネルのMOS)ランジスタ58が接
続されている。
Furthermore, a standby control signal OP is connected between the terminal end of the resistive element 51 and the ground voltage through an inverter 57 at the gate.
An N-channel MOS) transistor 58 is connected to the N-channel MOS transistor 58.

この回路では、スタンバイ制御信号OPが“0″レベル
のときにMOSトランジスタ58がオンし、直列接続さ
れた複数個の抵抗素子51に電流が流れる。また、この
スタンバイ制御信号OPが″0″レベルのときは各MO
Sトランジスタ55がオンし、上記NORゲート54の
各一方入力端子が“1″レベル、すなわち電源電圧V4
に充電される。このとき、上記NORゲート54の各他
方入力端子は信号OPにより“0″レベルにされている
。この状態のとき、2ビツトのディジタル信号B4.B
5゜B4、B5の論理状態に応じて、上記直列接続され
ている2個のMOS)ランジスタ56.・・・のいずれ
か1組が全てオン状態になると、これらのMOS)ラン
ジスタを介して1個のNORゲート54の一方人〉、端
子が“O”レベルに放電され、このNORゲート43の
出力のみが“1”レベルとなる。すると、このNORゲ
ート54の出力が供給される前記スイッチ用のMOSト
ランジスタ53が選択的にオンし、前記複数個の抵抗素
子51の任意の接続点の電圧が分圧電圧として取り出さ
れる。
In this circuit, when the standby control signal OP is at the "0" level, the MOS transistor 58 is turned on, and current flows through the plurality of resistive elements 51 connected in series. Also, when this standby control signal OP is at "0" level, each MO
The S transistor 55 is turned on, and one input terminal of the NOR gate 54 is at the "1" level, that is, the power supply voltage V4.
is charged to. At this time, each other input terminal of the NOR gate 54 is set to the "0" level by the signal OP. In this state, the 2-bit digital signal B4. B
5° Depending on the logic state of B4 and B5, the two series-connected MOS) transistors 56. When any one set of . only is at the “1” level. Then, the switching MOS transistor 53 to which the output of the NOR gate 54 is supplied is selectively turned on, and the voltage at any connection point of the plurality of resistance elements 51 is taken out as a divided voltage.

第13図はこの発明の応用例の構成を示すブロック図で
あり、この発明の電圧検出回路をICカードに応用した
ものである。図において、100は上記第11図もしく
は第12図に示すような電圧検出回路が1チツプ上に集
積化された電圧検出回路用集積回路である。この電圧検
出回路用集積回路100で発生される検出信号(前記V
H)は、ホールド信号として演算用集積回路110に供
給される。なお、上記画集積回路100.110には電
池130から電源電圧が供給されている。また、上記電
圧検出回路用集積回路+00で使用される前記8ビツト
のディジタル信号BO−B7、BO〜B7は、外部に設
けられたスイッチ回路140によって設定される。
FIG. 13 is a block diagram showing the configuration of an applied example of the present invention, in which the voltage detection circuit of the present invention is applied to an IC card. In the figure, 100 is an integrated circuit for a voltage detection circuit in which a voltage detection circuit as shown in FIG. 11 or 12 is integrated on one chip. The detection signal (the V
H) is supplied to the calculation integrated circuit 110 as a hold signal. Note that power supply voltage is supplied from a battery 130 to the image integrated circuits 100 and 110. Further, the 8-bit digital signals BO-B7 and BO-B7 used in the voltage detection circuit integrated circuit +00 are set by a switch circuit 140 provided externally.

前記のように、ICカードでは、演算用集積回路11O
にE2PROMが内蔵されており、このB2 FROM
の内部回路からの制約により、電源電圧がある値以下に
なると、正常な動作が期待できなくなる。このため、上
だの応用例のように、ICカード内に電圧検出回路が構
成された集積回路を設け、この集積回路によって電池の
出力電圧を検出し、この検出信号によって演算用集積回
路にホールドをかけることにより、E2FROMの誤書
き込みの発生を防止することができる。また、ICカー
ドに内蔵された上記電池130は、その出力電圧が温度
に依存して変化するため、上記のように検出電圧の温度
特性か変えられる電圧検出回路を使用することにより、
検出の信頼性か向上する。
As mentioned above, in the IC card, the arithmetic integrated circuit 11O
This B2 FROM has a built-in E2PROM.
Due to constraints from the internal circuit of the device, normal operation cannot be expected when the power supply voltage falls below a certain value. For this reason, as in the application example above, an integrated circuit in which a voltage detection circuit is configured is provided in the IC card, and this integrated circuit detects the output voltage of the battery, and this detection signal is used to hold the output voltage in the calculation integrated circuit. By multiplying by , it is possible to prevent the occurrence of erroneous writing to the E2FROM. Furthermore, since the output voltage of the battery 130 built into the IC card changes depending on the temperature, by using a voltage detection circuit that can change the temperature characteristics of the detected voltage as described above,
Improves detection reliability.

第14図はこの発明の他の応用例の構成を示すブロック
図であり、この発明の電圧検出回路をICカードに応用
したものである。この応用例では、上記電圧検出回路用
集積回路100で使用される前記8ビツトのディジタル
信号BO〜B7、BO〜B7を、メモリ140の記憶デ
ータとして電圧検出回路用集積回路100に供給するよ
うにしたものである。なお、このメモリ140は電圧検
出回路用集積回路100、もしくは演算用集積回路11
0に内蔵されたものを使用するようにしてもよい。
FIG. 14 is a block diagram showing the configuration of another application example of the present invention, in which the voltage detection circuit of the present invention is applied to an IC card. In this application example, the 8-bit digital signals BO to B7, BO to B7 used in the voltage detection circuit integrated circuit 100 are supplied to the voltage detection circuit integrated circuit 100 as stored data in the memory 140. This is what I did. Note that this memory 140 is the voltage detection circuit integrated circuit 100 or the calculation integrated circuit 11.
It is also possible to use the one built in 0.

第15図はこの発明のさらに他の応用例の構成を示す回
路図である。この応用例回路は、前記第1図の実施例回
路において、定電流回路1及び分圧回路7内の抵抗素子
5を電源電圧V+に接続する代わりに、前記電圧コンパ
レータ8の出力がゲートに供給されるPチャネルのMO
Sトランジスタ10を介して電源電圧■。に接続するこ
とにより、任意の値で任意の温度特性を持った定電圧出
力を得るようにしたものである。
FIG. 15 is a circuit diagram showing the configuration of still another application example of the present invention. In this application example circuit, the output of the voltage comparator 8 is supplied to the gate instead of connecting the constant current circuit 1 and the resistance element 5 in the voltage dividing circuit 7 to the power supply voltage V+ in the example circuit shown in FIG. MO of P channel to be
Power supply voltage ■ via the S transistor 10. By connecting it to the circuit, a constant voltage output with any value and any temperature characteristics can be obtained.

[発明の効果コ 以上説明したようにこの発明によれば、任意の温度特性
及び値を持つ検出電圧の設定を行うことができる電圧検
出回路及びこれを備えたICカードを提供することがで
きる。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide a voltage detection circuit that can set a detection voltage having arbitrary temperature characteristics and values, and an IC card equipped with the voltage detection circuit.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明に係る電圧検出回路の一実施例による
概略的な構成を示す回路図、第2図は上記実施例回路に
おける基準電圧、分圧電圧、電源電圧及び検出電圧との
関係を示す特性図、第3図は上記実施例回路で使用され
るダイオードの特性図、第4図は上記実施例回路の温度
特性図、第5図ないし第10図はそれぞれ上記実施例回
路の各回路の詳細な構成を示す回路図、第11図及び第
12図はそれぞれ上記第1図の実施例回路を詳細に示す
回路図、第13図及び第14図はそれぞれこの発明の応
用例の構成を示すブロック図、第15図はこの発明の他
の応用例の構成を示す回路図、第16図は従来の基準電
圧回路の回路図である。 1・・・定電流回路、2・・・抵抗回路、3・・・ダイ
オード、4・・・基準電圧回路、5,6・・・抵抗素子
、7・・・分圧回路、8・・・電圧コンパレータ、9・
・・インバータ。 出願人代理人 弁理士 鈴江武彦 ■ 第1図 第2図 幻IF 第3 図 第 図 (a) (a) (c) (b) 第 図 (b) (d) (a) (b) 第8図 第10図
Fig. 1 is a circuit diagram showing a schematic configuration of an embodiment of a voltage detection circuit according to the present invention, and Fig. 2 shows the relationship among the reference voltage, divided voltage, power supply voltage, and detection voltage in the above embodiment circuit. 3 is a characteristic diagram of the diode used in the above embodiment circuit, FIG. 4 is a temperature characteristic diagram of the above embodiment circuit, and FIGS. 5 to 10 are respective circuits of the above embodiment circuit. FIGS. 11 and 12 are circuit diagrams showing the detailed configuration of the embodiment circuit shown in FIG. FIG. 15 is a circuit diagram showing the configuration of another application example of the present invention, and FIG. 16 is a circuit diagram of a conventional reference voltage circuit. DESCRIPTION OF SYMBOLS 1... Constant current circuit, 2... Resistance circuit, 3... Diode, 4... Reference voltage circuit, 5, 6... Resistance element, 7... Voltage divider circuit, 8... Voltage comparator, 9.
...Inverter. Applicant's agent Patent attorney Takehiko Suzue Figure 1 Figure 2 Phantom IF Figure 3 Figure (a) (a) (c) (b) Figure (b) (d) (a) (b) Figure 8 Figure 10

Claims (13)

【特許請求の範囲】[Claims] (1)第1の電源電圧と第2の電源電圧との間に接続さ
れ、値が調整可能な基準電流を含む基準電圧回路と、上
記第1の電源電圧と第2の電源電圧との間に接続され、
第1の電源電圧と第2の電源電圧とを分圧する分圧回路
と、上記基準電圧回路で発生される基準電圧と上記分圧
回路で発生される分圧電圧とを比較する比較回路とを具
備したことを特徴とする電圧検出回路。
(1) A reference voltage circuit connected between a first power supply voltage and a second power supply voltage and including a reference current whose value is adjustable, and between the first power supply voltage and the second power supply voltage. connected to,
a voltage divider circuit that divides a first power supply voltage and a second power supply voltage; and a comparison circuit that compares a reference voltage generated by the reference voltage circuit and a divided voltage generated by the voltage divider circuit. A voltage detection circuit characterized by comprising:
(2)前記基準電圧回路が、前記第1の電源電圧と基準
電圧出力ノードとの間に接続され、制御信号に応じて値
が調整される基準電流回路と、上記基準電圧出力ノード
と前記第2の電源電圧との間に接続され、制御信号に応
じて値が調整される基準抵抗回路と、上記基準電圧出力
ノードと前記第2の電源電圧との間に順方向に接続され
、かつ上記基準抵抗回路に対して直列接続されたダイオ
ードとを具備したことを特徴とする請求項1記載の電圧
検出回路。
(2) The reference voltage circuit is connected between the first power supply voltage and the reference voltage output node, and includes a reference current circuit whose value is adjusted according to a control signal; a reference resistance circuit connected between the reference voltage output node and the second power supply voltage, the value of which is adjusted according to the control signal; and a reference resistance circuit connected between the reference voltage output node and the second power supply voltage in the forward direction, 2. The voltage detection circuit according to claim 1, further comprising a diode connected in series with the reference resistance circuit.
(3)前記分圧回路は、その電圧分圧比が制御信号に応
じて調整される請求項1記載の電圧検出回路。
(3) The voltage detection circuit according to claim 1, wherein the voltage division ratio of the voltage division circuit is adjusted according to a control signal.
(4)前記ダイオードの順方向電圧の値をV_F、所定
の温度T_0におけるV_Fの値をV_F_0、前記第
1の電源電圧と第2の電源電圧との差電圧である検出電
圧をVdet、所定の温度T_0におけるVdetの値
をVdet_0、Vdetの温度変化分を∂/(∂T)
Vdet、V_Fの温度変化分を∂/(∂T)V_Fと
するとき、前記分圧回路の電圧分圧比Dが、 ▲数式、化学式、表等があります▼ もしくは、 ▲数式、化学式、表等があります▼ の関係に設定されてなることを特徴とする請求項3記載
の電圧検出回路。
(4) The value of the forward voltage of the diode is V_F, the value of V_F at a predetermined temperature T_0 is V_F_0, the detection voltage which is the difference voltage between the first power supply voltage and the second power supply voltage is Vdet, and the value of V_F at a predetermined temperature T_0 is V_F_0. The value of Vdet at temperature T_0 is Vdet_0, and the temperature change in Vdet is ∂/(∂T).
When the temperature change of Vdet, V_F is ∂/(∂T)V_F, the voltage division ratio D of the voltage dividing circuit is: 4. The voltage detection circuit according to claim 3, wherein the voltage detection circuit is set to have the following relationship.
(5)前記分圧回路の電圧分圧比をD、前記第1の電源
電圧と第2の電源電圧との差電圧である検出電圧Vde
tの所定の温度T_0おける値をVdet_0前記ダイ
オードの順方向電圧V_F所定の温度T_0おける値を
V_F_0とするとき、前記基準抵抗回路の両端間に発
生する電圧が、Vdet_0×D−V_F_0 に設定されることを特徴とする請求項3記載の電圧検出
回路。
(5) The voltage division ratio of the voltage dividing circuit is D, and the detection voltage Vde is the difference voltage between the first power supply voltage and the second power supply voltage.
When the value of t at a predetermined temperature T_0 is Vdet_0, the forward voltage of the diode V_F is the value at a predetermined temperature T_0 is V_F_0, the voltage generated across the reference resistance circuit is set to Vdet_0×D−V_F_0. The voltage detection circuit according to claim 3, characterized in that:
(6)前記ダイオードの順方向電圧の値をV_F、所定
の温度T_0におけるV_Fの値をV_F_0、前記第
1の電源電圧と第2の電源電圧との差電圧である検出電
圧をVdet、所定の温度T_0におけるVdetの値
をVdet_0、Vdetの温度変化分を(∂/∂T)
Vdet、V_Fの温度変化分を(∂/∂T)V_Fと
するとき、前記分圧回路の電圧分圧比Dが、 ▲数式、化学式、表等があります▼ もしくは、 ▲数式、化学式、表等があります▼ の関係に設定されており、かつ、 前記分圧回路の電圧分圧比をD、前記第1の電源電圧と
第2の電源電圧との差電圧である検出電圧Vdetの所
定の温度T_0における値をVdet_0、前記ダイオ
ードの順方向電圧V_Fの所定の温度T_0における値
をV_F_0とするとき、前記基準抵抗回路の両端間に
発生する電圧が、Vdet_0×D−V_F_0 に設定されることを特徴とする請求項3記載の電圧検出
回路。
(6) The value of the forward voltage of the diode is V_F, the value of V_F at a predetermined temperature T_0 is V_F_0, the detection voltage which is the difference voltage between the first power supply voltage and the second power supply voltage is Vdet, and the value of V_F at a predetermined temperature T_0 is V_F_0. The value of Vdet at temperature T_0 is Vdet_0, and the temperature change in Vdet is (∂/∂T).
When the temperature change of Vdet, V_F is (∂/∂T)V_F, the voltage division ratio D of the voltage dividing circuit is: ▼, and the voltage division ratio of the voltage dividing circuit is D, and the detection voltage Vdet, which is the difference voltage between the first power supply voltage and the second power supply voltage, is set at a predetermined temperature T_0. When the value is Vdet_0 and the value of the forward voltage V_F of the diode at a predetermined temperature T_0 is V_F_0, the voltage generated across the reference resistance circuit is set to Vdet_0×D−V_F_0. The voltage detection circuit according to claim 3.
(7)前記基準電圧回路、分圧回路及び比較回路が同一
半導体チップ上に形成されていることを特徴とする請求
項1記載、の電圧検出回路。
(7) The voltage detection circuit according to claim 1, wherein the reference voltage circuit, voltage dividing circuit, and comparison circuit are formed on the same semiconductor chip.
(8)第1の電源電圧と第2の電源電圧との間に接続さ
れ、値が調整可能な基準電流回路を含む基準電圧回路、
上記第1の電源電圧と第2の電源電圧との間に接続され
、第1の電源電圧と第2の電源電圧とを分圧する分圧回
路、及び上記基準電圧回路で発生される基準電圧と上記
分圧回路で発生される分圧電圧とを比較する比較回路と
が同一半導体チップ上に集積された第1の集積回路と、
上記第1の集積回路の電圧検出信号に応じて動作が制御
される第2の集積回路と、上記第1及び第2の集積回路
に対して上記第1の電源電圧と第2の電源電圧とを供給
する電池とを具備したことを特徴とするICカード。
(8) a reference voltage circuit connected between a first power supply voltage and a second power supply voltage and including a reference current circuit whose value is adjustable;
a voltage dividing circuit connected between the first power supply voltage and the second power supply voltage and dividing the first power supply voltage and the second power supply voltage; and a reference voltage generated by the reference voltage circuit. a first integrated circuit in which a comparison circuit for comparing the divided voltages generated by the voltage dividing circuit is integrated on the same semiconductor chip;
a second integrated circuit whose operation is controlled in accordance with the voltage detection signal of the first integrated circuit; An IC card characterized in that it is equipped with a battery that supplies.
(9)前記基準電圧回路が、前記第1の電源電圧と基準
電圧出力ノードとの間に接続され、制御信号に応じて値
が調整される基準電流回路と、上記基準電圧出力ノード
と前記第2の電源電圧との間に接続され、制御信号に応
じて値が調整される基準抵抗回路と、上記基準電圧出力
ノードと前記第2の電源電圧との間に順方向に接続され
、かつ上記基準抵抗回路に対して直列接続されたダイオ
ードとを具備したことを特徴とする請求項8記載のIC
カード。
(9) The reference voltage circuit is connected between the first power supply voltage and the reference voltage output node, and includes a reference current circuit whose value is adjusted according to a control signal; a reference resistance circuit connected between the reference voltage output node and the second power supply voltage, the value of which is adjusted according to the control signal; and a reference resistance circuit connected between the reference voltage output node and the second power supply voltage in the forward direction, 9. The IC according to claim 8, further comprising a diode connected in series to the reference resistance circuit.
card.
(10)前記分圧回路は、その電圧分圧比が制御信号に
応じて調整される請求項8記載のICカード。
(10) The IC card according to claim 8, wherein the voltage dividing ratio of the voltage dividing circuit is adjusted according to a control signal.
(11)前記ダイオードの順方向電圧の値をV_F、所
定の温度T_0におけるV_Fの値をV_F_0、前記
第1の電源電圧と第2の電源電圧との差電圧である検出
電圧をVdet、所定の温度T_0におけるVdetの
値をVdet_0、Vdetの温度変化分を(∂/∂T
)Vdet、V_Fの温度変化分を(∂/∂T)V_F
とするとき、前記分圧回路の電圧分圧比Dが、 ▲数式、化学式、表等があります▼ もしくは、 ▲数式、化学式、表等があります▼ の関係に設定されてなることを特徴とする請求項10記
載のICカード。
(11) The value of the forward voltage of the diode is V_F, the value of V_F at a predetermined temperature T_0 is V_F_0, the detection voltage which is the difference voltage between the first power supply voltage and the second power supply voltage is Vdet, and the value of V_F at a predetermined temperature T_0 is V_F_0. The value of Vdet at temperature T_0 is Vdet_0, and the temperature change in Vdet is (∂/∂T
)Vdet, the temperature change of V_F is (∂/∂T)V_F
A claim characterized in that the voltage division ratio D of the voltage dividing circuit is set to the following relationship: ▲There is a mathematical formula, chemical formula, table, etc.▼ or ▲There is a mathematical formula, chemical formula, table, etc.▼ The IC card described in Section 10.
(12)前記分圧回路の電圧分圧比をD、前記第1の電
源電圧と第2の電源電圧との差電圧である検出電圧Vd
etの所定の温度_0における値をVdet_0、前記
ダイオードの順方向電圧V_Fの所定の温度T_0にお
ける値をV_F_0とするとき、前記基準抵抗回路の両
端間に発生する電圧が、Vdet_0×D−V_F_0 に設定されることを特徴とする請求項10記載のICカ
ード。
(12) The voltage division ratio of the voltage dividing circuit is D, and the detection voltage Vd is the difference voltage between the first power supply voltage and the second power supply voltage.
When the value of et at a predetermined temperature_0 is Vdet_0, and the value of the forward voltage V_F of the diode at a predetermined temperature T_0 is V_F_0, the voltage generated across the reference resistance circuit is Vdet_0×D−V_F_0. The IC card according to claim 10, wherein the IC card is set.
(13)前記ダイオードの順方向電圧の値をV_F、所
定の温度T_0におけるV_Fの値をV_F_0、前記
第1の電源電圧と第2の電源電圧との差電圧である検出
電圧をVdet、所定の温度T_0におけるVdetの
値をVdet_0、Vdetの温度変化分を(∂/∂T
)Vdet、V_Fの温度変化分を(∂/∂T)V_F
とするとき、前記分圧回路の電圧分圧比Dが、 ▲数式、化学式、表等があります▼ もしくは、 ▲数式、化学式、表等があります▼ の関係に設定されており、かつ、前記分圧回路の電圧分
圧比をD、前記第1の電源電圧と第2の電源電圧との差
電圧である検出電圧Vdetの所定の温度T_0におけ
る値をVdet_0、前記ダイオードの順方向電圧V_
Fの所定の温度T_0における値をV_Fとするとき、
前記基準抵抗回路の両端間に発生する電圧が、 Vdet_0×D−V_F_0 に設定されることを特徴とする請求項10記載のICカ
ード。
(13) The value of the forward voltage of the diode is V_F, the value of V_F at a predetermined temperature T_0 is V_F_0, the detection voltage that is the difference voltage between the first power supply voltage and the second power supply voltage is Vdet, and the value of V_F at a predetermined temperature T_0 is V_F_0. The value of Vdet at temperature T_0 is Vdet_0, and the temperature change in Vdet is (∂/∂T
)Vdet, the temperature change of V_F is (∂/∂T)V_F
When, the voltage division ratio D of the voltage divider circuit is set to the relationship ▲There is a mathematical formula, chemical formula, table, etc.▼ or ▲There is a mathematical formula, chemical formula, table, etc.▼, and the said partial pressure The voltage division ratio of the circuit is D, the value of the detection voltage Vdet, which is the difference voltage between the first power supply voltage and the second power supply voltage, at a predetermined temperature T_0 is Vdet_0, and the forward voltage of the diode is V_
When the value of F at a predetermined temperature T_0 is V_F,
The IC card according to claim 10, wherein the voltage generated across the reference resistance circuit is set to Vdet_0×D−V_F_0.
JP2223625A 1990-08-24 1990-08-24 Voltage detection circuit and IC card having the same Expired - Fee Related JP2888618B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2223625A JP2888618B2 (en) 1990-08-24 1990-08-24 Voltage detection circuit and IC card having the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2223625A JP2888618B2 (en) 1990-08-24 1990-08-24 Voltage detection circuit and IC card having the same

Publications (2)

Publication Number Publication Date
JPH04105190A true JPH04105190A (en) 1992-04-07
JP2888618B2 JP2888618B2 (en) 1999-05-10

Family

ID=16801143

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2223625A Expired - Fee Related JP2888618B2 (en) 1990-08-24 1990-08-24 Voltage detection circuit and IC card having the same

Country Status (1)

Country Link
JP (1) JP2888618B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007059738A (en) * 2005-08-26 2007-03-08 Hitachi Ltd Semiconductor device having protection circuit
JP2011130348A (en) * 2009-12-21 2011-06-30 Oki Semiconductor Co Ltd Voltage change-detecting apparatus
JP2014225739A (en) * 2013-05-15 2014-12-04 株式会社デンソー Voltage determination device
JPWO2013042285A1 (en) * 2011-09-22 2015-03-26 パナソニックIpマネジメント株式会社 Voltage detection circuit and voltage regulator device including the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007059738A (en) * 2005-08-26 2007-03-08 Hitachi Ltd Semiconductor device having protection circuit
JP2011130348A (en) * 2009-12-21 2011-06-30 Oki Semiconductor Co Ltd Voltage change-detecting apparatus
US8653865B2 (en) 2009-12-21 2014-02-18 Lapis Semiconductor Co., Ltd. Voltage change detection device
US8912826B2 (en) 2009-12-21 2014-12-16 Lapis Semiconductor Co., Ltd. Voltage change detection device
JPWO2013042285A1 (en) * 2011-09-22 2015-03-26 パナソニックIpマネジメント株式会社 Voltage detection circuit and voltage regulator device including the same
JP2014225739A (en) * 2013-05-15 2014-12-04 株式会社デンソー Voltage determination device

Also Published As

Publication number Publication date
JP2888618B2 (en) 1999-05-10

Similar Documents

Publication Publication Date Title
USRE39918E1 (en) Direct current sum bandgap voltage comparator
US6396739B2 (en) Reference voltage generator using flash memory cells
US7789558B2 (en) Thermal sensing circuit using bandgap voltage reference generators without trimming circuitry
KR100193212B1 (en) Current measurement circuit of power MOS transistor
US6937088B2 (en) Potential generating circuit capable of correctly controlling output potential
US4471290A (en) Substrate bias generating circuit
JP3519547B2 (en) Intermediate voltage generating circuit and nonvolatile semiconductor memory having the same
JP3575453B2 (en) Reference voltage generation circuit
EP0145254B1 (en) Voltage converting circuit
JPH0620482A (en) Semiconductor device
US20070170956A1 (en) Sense amplifier
JP2601903B2 (en) Semiconductor storage device
US6476669B2 (en) Reference voltage adjustment
JPH04105190A (en) Voltage detecting circuit and ic card provided with same
TW202141478A (en) Integrated circuit having temperature sensor
US7190212B2 (en) Power-up and BGREF circuitry
US6785163B2 (en) Trim circuit and method for tuning a current level of a reference cell in a flash memory
JP3142542B2 (en) Voltage measurement circuit
US11249118B2 (en) Current sensing circuit
US20020084775A1 (en) High voltage regulation circuit
EP0945869B1 (en) Method for reading a multiple-level memory cell
US6888401B1 (en) Current mode current sense circuits and methods
JPH0196897A (en) Non-volatile semiconductor memory device
JPH01300318A (en) Reference voltage generation circuit utilizing charge up and discharge circuit
JP2812074B2 (en) Semiconductor device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees