JPH07104015A - Voltage detecting circuit - Google Patents

Voltage detecting circuit

Info

Publication number
JPH07104015A
JPH07104015A JP24698193A JP24698193A JPH07104015A JP H07104015 A JPH07104015 A JP H07104015A JP 24698193 A JP24698193 A JP 24698193A JP 24698193 A JP24698193 A JP 24698193A JP H07104015 A JPH07104015 A JP H07104015A
Authority
JP
Japan
Prior art keywords
voltage
external power
circuit
power supply
battery
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
JP24698193A
Other languages
Japanese (ja)
Inventor
Hidenobu Gochi
英伸 郷地
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP24698193A priority Critical patent/JPH07104015A/en
Publication of JPH07104015A publication Critical patent/JPH07104015A/en
Pending legal-status Critical Current

Links

Landscapes

  • Continuous-Control Power Sources That Use Transistors (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

PURPOSE:To detect a constant voltage even in the case where an external power source at 5V or 3.3V is used. CONSTITUTION:In the case where an external power source 1 at 3.3V is used, the voltage at 5V to be given to a power source of a constant voltage generating circuit for generating the voltage at 2.6V to be compared with the voltage of a battery 12 is obtained by using a booster circuit 20, and in the case where the external power source at 5V is used, the external power source 1 is given as it is to obtain the voltage at 5V, and the constant voltage is always given to the constant voltage generating circuit 13. With this structure, constant voltage is thereby generated by the constant voltage generating circuit 13 independently of the voltage of the external power source 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、低電圧の電池電圧を
検知する電圧検知回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a voltage detection circuit for detecting a low voltage battery voltage.

【0002】[0002]

【従来の技術】従来の電圧検知回路の構成について図4
を参照しながら説明する。図4は、従来の電圧検知回路
の構成を示す図である。
2. Description of the Related Art The structure of a conventional voltage detection circuit is shown in FIG.
Will be described with reference to. FIG. 4 is a diagram showing a configuration of a conventional voltage detection circuit.

【0003】図4において、1は外部電源(端子)、2
は電池でバックアップが可能となる内部電源(端子)、
3はGND(端子)、4は電池電圧検知信号(出力端
子)である。また、5と6は外部電源1の電圧を分圧す
る抵抗、7はコンパレータ、8はバンドギャップを利用
した基準電圧発生回路、9は外部電源1と電池を切り換
える信号を発生する電源切換回路、10はPチャネルの
MOSFET、11は逆電流を防止するダイオード、1
2は電池、13は電池電圧のリファレンス電圧(約2.
6V)を出力する定電圧発生回路、14はコンパレー
タ、15は電池電圧検知信号を出力するバッファであ
る。なお、上記各構成部品はICカード内部にあり、抵
抗5と抵抗6の値は、それぞれ70kΩと50kΩであ
る。
In FIG. 4, 1 is an external power source (terminal), 2
Is an internal power supply (terminal) that can be backed up with batteries,
3 is a GND (terminal) and 4 is a battery voltage detection signal (output terminal). Further, 5 and 6 are resistors for dividing the voltage of the external power source 1, 7 is a comparator, 8 is a reference voltage generating circuit using a band gap, 9 is a power source switching circuit for generating a signal for switching the external power source 1 and the battery, 10 Is a P-channel MOSFET, 11 is a diode for preventing reverse current, 1
2 is a battery, 13 is a reference voltage (about 2.
6 V) is a constant voltage generating circuit, 14 is a comparator, and 15 is a buffer which outputs a battery voltage detection signal. The above-mentioned components are inside the IC card, and the values of the resistors 5 and 6 are 70 kΩ and 50 kΩ, respectively.

【0004】つぎに、前述した従来の電圧検知回路の動
作について説明する。外部電源1が0Vから3.3V、
または0Vから5Vに変化した場合、分圧抵抗5と6に
よってコンパレータ7の非反転(+)入力は、0Vから
約2.08Vに変化する。
Next, the operation of the above-mentioned conventional voltage detection circuit will be described. External power supply 1 is 0V to 3.3V,
Alternatively, when the voltage is changed from 0V to 5V, the non-inverting (+) input of the comparator 7 is changed from 0V to about 2.08V by the voltage dividing resistors 5 and 6.

【0005】基準電圧発生回路8は,外部電源1が約2
V以上で1.25Vの基準電位を発生する。従って、外
部電源1が3Vの場合は、非反転入力は1.25Vとな
りその前後でコンパレータ7の出力は反転する。この出
力を電源切換回路9がうけて外部電源1が0V〜3Vの
ときは“H”レベルを出力し、3V以上のときには
“L”レベルを出力してPチャネルのMOSFET10
をOFF/ONする働きをする。
In the reference voltage generating circuit 8, the external power source 1 has about 2
A reference potential of 1.25 V is generated at V or higher. Therefore, when the external power supply 1 is 3V, the non-inverting input is 1.25V, and the output of the comparator 7 is inverted before and after that. This output is received by the power supply switching circuit 9 to output the “H” level when the external power supply 1 is 0V to 3V, and outputs the “L” level when the external power supply 1 is 3V or more to output the P-channel MOSFET 10.
Turns off / on.

【0006】次に、電池12は、外部電源1が3V以下
の場合は、ダイオード11を通じて内部電源2に電圧を
供給する。外部電源1が3V以上の場合には、外部電源
1がMOSFET10を通じて内部電源2に電圧を供給
する。その際、内部電源2からの逆電流を防止するため
に電池12の電源ラインにはダイオード11を挿入して
いる。電池12の電圧は、外部電源1から電源が供給さ
れる定電圧発生回路13で約2.6Vの電圧を発生さ
せ、それと電池電圧をコンパレータ14で比較すること
によりバッファ15を介して電池電圧検出信号4として
出力される。
Next, the battery 12 supplies a voltage to the internal power supply 2 through the diode 11 when the external power supply 1 is 3 V or less. When the external power supply 1 is 3 V or higher, the external power supply 1 supplies a voltage to the internal power supply 2 through the MOSFET 10. At that time, a diode 11 is inserted in the power supply line of the battery 12 in order to prevent a reverse current from the internal power supply 2. Regarding the voltage of the battery 12, the constant voltage generating circuit 13 supplied with power from the external power supply 1 generates a voltage of about 2.6 V, and the comparator 14 compares the generated voltage with the battery voltage to detect the battery voltage via the buffer 15. It is output as signal 4.

【0007】[0007]

【発明が解決しようとする課題】上述したような従来の
電圧検知回路では、外部電源1が3.3Vのときは、定
電圧発生回路13が正常に動作せず所望の電圧2.6V
を出力しないという問題点があった。これは、定電圧発
生回路13は、外部電源1が5Vのときのみ正常に動作
するよう回路構成されているためである。
In the conventional voltage detecting circuit described above, when the external power supply 1 is 3.3V, the constant voltage generating circuit 13 does not operate normally and the desired voltage is 2.6V.
There was a problem of not outputting. This is because the constant voltage generating circuit 13 is configured to operate normally only when the external power supply 1 is at 5V.

【0008】この発明は、前述した問題点を解決するた
めになされたもので、外部電源が5Vのときでも、また
3.3Vのときでも正しく電池電圧を検知できる電圧検
知回路を得ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the invention is to obtain a voltage detection circuit capable of correctly detecting a battery voltage even when the external power supply is 5V or 3.3V. And

【0009】[0009]

【課題を解決するための手段】この発明の請求項1に係
る電圧検知回路は、次に掲げる手段を備えたものであ
る。 〔1〕 外部電源の電圧を検出する検出手段。 〔2〕 前記外部電源の電圧が所定値より低いときには
切換信号を発生する切換信号発生手段。 〔3〕 前記切換信号に基づいて前記外部電源の電圧を
昇圧する昇圧手段。 〔4〕 前記昇圧された外部電源に基づいて一定電圧を
出力する定電圧発生手段。 〔5〕 前記一定電圧と電池電圧を比較する比較手段。
A voltage detecting circuit according to claim 1 of the present invention comprises the following means. [1] Detection means for detecting the voltage of the external power supply. [2] Switching signal generating means for generating a switching signal when the voltage of the external power source is lower than a predetermined value. [3] Boosting means for boosting the voltage of the external power supply based on the switching signal. [4] Constant voltage generating means for outputting a constant voltage based on the boosted external power source. [5] Comparison means for comparing the constant voltage and the battery voltage.

【0010】この発明の請求項2に係る電圧検知回路
は、次に掲げる手段を備えたものである。 〔1〕 外部電源の電圧によらずに基準電圧を発生する
基準電圧発生手段。 〔2〕 電池電圧を一定電圧だけ降圧する降圧手段。 〔3〕 前記基準電圧と前記一定電圧だけ降圧された電
池電圧を比較する比較手段。
The voltage detecting circuit according to claim 2 of the present invention comprises the following means. [1] Reference voltage generating means for generating a reference voltage regardless of the voltage of the external power supply. [2] A step-down means for stepping down the battery voltage by a constant voltage. [3] Comparison means for comparing the reference voltage and the battery voltage reduced by the constant voltage.

【0011】この発明の請求項3に係る電圧検知回路
は、次に掲げる手段を備えたものである。 〔1〕 外部電源の電圧によらずに基準電圧を発生する
基準電圧発生回路。 〔2〕 複数のダイオードから構成され電池電圧を一定
電圧だけ降圧する降圧回路。 〔3〕 前記基準電圧と前記一定電圧だけ降圧された電
池電圧を比較するコンパレータ。
The voltage detecting circuit according to claim 3 of the present invention comprises the following means. [1] A reference voltage generation circuit that generates a reference voltage regardless of the voltage of an external power supply. [2] A step-down circuit configured by a plurality of diodes to step down the battery voltage by a constant voltage. [3] A comparator that compares the reference voltage with the battery voltage reduced by the constant voltage.

【0012】この発明の請求項4に係る電圧検知回路
は、次に掲げる手段を備えたものである。 〔1〕 外部電源の電圧によらずに基準電圧を発生する
基準電圧発生回路。 〔2〕 電池電圧を一定電圧に分圧する抵抗分圧回路。 〔3〕 前記基準電圧と前記一定電圧に分圧された電池
電圧を比較するコンパレータ。
A voltage detecting circuit according to a fourth aspect of the present invention comprises the following means. [1] A reference voltage generation circuit that generates a reference voltage regardless of the voltage of an external power supply. [2] A resistance voltage dividing circuit that divides the battery voltage into a constant voltage. [3] A comparator that compares the reference voltage and the battery voltage divided into the constant voltage.

【0013】[0013]

【作用】この発明の請求項1に係る電圧検知回路におい
ては、検出手段によって、外部電源の電圧が検出され
る。また、切換信号発生手段によって、前記外部電源の
電圧が所定値より低いときには切換信号が発生される。
また、昇圧手段によって、前記切換信号に基づいて前記
外部電源の電圧が昇圧される。さらに、定電圧発生手段
によって、前記昇圧された外部電源に基づいて一定電圧
が出力される。そして、比較手段によって、前記一定電
圧と電池電圧が比較される。
In the voltage detecting circuit according to the first aspect of the present invention, the voltage of the external power supply is detected by the detecting means. Further, the switching signal generating means generates a switching signal when the voltage of the external power supply is lower than a predetermined value.
Moreover, the voltage of the external power supply is boosted by the boosting means based on the switching signal. Further, the constant voltage generating means outputs a constant voltage based on the boosted external power source. Then, the comparison means compares the constant voltage with the battery voltage.

【0014】この発明の請求項2に係る電圧検知回路に
おいては、基準電圧発生手段によって、外部電源の電圧
によらずに基準電圧が発生される。また、降圧手段によ
って、電池電圧が一定電圧だけ降圧される。そして、比
較手段によって、前記基準電圧と前記一定電圧だけ降圧
された電池電圧が比較される。
In the voltage detecting circuit according to the second aspect of the present invention, the reference voltage generating means generates the reference voltage regardless of the voltage of the external power source. Further, the voltage reducing means reduces the battery voltage by a constant voltage. Then, the comparing means compares the reference voltage with the battery voltage reduced by the constant voltage.

【0015】この発明の請求項3に係る電圧検知回路に
おいては、基準電圧発生回路によって、外部電源の電圧
によらずに基準電圧が発生される。また、複数のダイオ
ードから構成された降圧回路によって、電池電圧が一定
電圧だけ降圧される。そして、コンパレータによって、
前記基準電圧と前記一定電圧だけ降圧された電池電圧が
比較される。
In the voltage detecting circuit according to the third aspect of the present invention, the reference voltage generating circuit generates the reference voltage regardless of the voltage of the external power source. Further, the voltage of the battery is stepped down by a constant voltage by the step-down circuit composed of a plurality of diodes. And by the comparator,
The reference voltage and the battery voltage reduced by the constant voltage are compared.

【0016】この発明の請求項4に係る電圧検知回路に
おいては、基準電圧発生回路によって、外部電源の電圧
によらずに基準電圧が発生される。また、抵抗分圧回路
によって、電池電圧が一定電圧に分圧される。そして、
コンパレータによって、前記基準電圧と前記一定電圧に
分圧された電池電圧が比較される。
In the voltage detecting circuit according to the fourth aspect of the present invention, the reference voltage generating circuit generates the reference voltage regardless of the voltage of the external power supply. Moreover, the battery voltage is divided into a constant voltage by the resistance voltage dividing circuit. And
The comparator compares the reference voltage with the battery voltage divided into the constant voltage.

【0017】[0017]

【実施例】【Example】

実施例1.この発明の実施例1の構成について図1を参
照しながら説明する。図1は、この発明の実施例1の構
成を示す図であり、外部電源1〜バッファ15は上述し
た従来回路のものと同様である。なお、各図中、同一符
号は同一又は相当部分を示す。
Example 1. The configuration of the first embodiment of the present invention will be described with reference to FIG. FIG. 1 is a diagram showing a configuration of a first embodiment of the present invention, and the external power supply 1 to the buffer 15 are similar to those of the conventional circuit described above. In each figure, the same reference numerals indicate the same or corresponding parts.

【0018】図1において、16と17は外部電源1の
電圧を分圧する抵抗、18はコンパレータ、19は5V
と3.3Vの切り換え信号を発生する切換信号発生回
路、20は昇圧回路で、21はスイッチである。なお、
分圧抵抗16と17の値は、それぞれ110kΩと50
kΩである。
In FIG. 1, 16 and 17 are resistors for dividing the voltage of the external power source 1, 18 is a comparator, and 19 is 5V.
And a switching signal generating circuit for generating switching signals of 3.3V, 20 is a boosting circuit, and 21 is a switch. In addition,
The values of the voltage dividing resistors 16 and 17 are 110 kΩ and 50, respectively.
It is kΩ.

【0019】ところで、この発明の請求項1に係る検出
手段は、この実施例1では基準電圧発生回路8、抵抗1
6、17、及びコンパレータ18から構成され、この発
明の請求項1に係る切換信号発生手段は、この実施例1
では切換信号発生回路19に相当し、この発明の請求項
1に係る昇圧手段は、この実施例1では昇圧回路20及
びスイッチ21から構成され、この発明の請求項1に係
る定電圧発生手段は、この実施例1では定電圧発生回路
13に相当し、この発明の請求項1に係る比較手段は、
この実施例1ではコンパレータ14に相当する。
By the way, the detecting means according to claim 1 of the present invention is the same as the detecting means according to the first embodiment.
6 and 17 and a comparator 18, and the switching signal generating means according to claim 1 of the present invention is the switching signal generating means according to the first embodiment.
Corresponds to the switching signal generating circuit 19, and the boosting means according to claim 1 of the present invention comprises the boosting circuit 20 and the switch 21 in the first embodiment. The constant voltage generating means according to claim 1 of the present invention is The first embodiment corresponds to the constant voltage generating circuit 13, and the comparison means according to claim 1 of the present invention is
The first embodiment corresponds to the comparator 14.

【0020】つぎに、前述した実施例1の動作について
説明する。外部電源1が0Vから5Vまで変化した場合
は、分圧抵抗16と17によってコンパレータ18の非
反転(+)入力は0Vから約1.56Vまで変化する。
Next, the operation of the above-described first embodiment will be described. When the external power supply 1 changes from 0V to 5V, the non-inverting (+) input of the comparator 18 changes from 0V to about 1.56V by the voltage dividing resistors 16 and 17.

【0021】基準電源発生回路8は、外部電源1が約2
V以上で1.25Vの基準電圧を発生する。従って、外
部電源1が4Vのとき非反転入力は1.25Vとなりそ
の前後でコンパレータ18の出力は反転する。この出力
を5Vと3.3Vの切換信号発生回路19がうけて外部
電源1が0〜4Vのときは“L”レベル、4V以上のと
きには“H”レベルを出力する。この信号を昇圧回路2
0がうけると、“L”レベルのときは外部電源1の電圧
を5Vまで昇圧し、“H”レベルのときは外部電源1の
電圧をそのままスイッチ21により供給し、昇圧回路2
0は非動作状態となる。
In the reference power source generation circuit 8, the external power source 1 has about 2
A reference voltage of 1.25V is generated at V or higher. Therefore, when the external power supply 1 is 4V, the non-inverting input becomes 1.25V, and the output of the comparator 18 is inverted before and after that. This output is received by the switching signal generating circuit 19 of 5V and 3.3V and outputs "L" level when the external power source 1 is 0 to 4V and "H" level when it is 4V or more. This signal is sent to the booster circuit 2
When 0 is received, the voltage of the external power supply 1 is boosted to 5 V when it is at “L” level, and the voltage of the external power supply 1 is directly supplied by the switch 21 when it is at “H” level.
0 is inactive.

【0022】この発明の実施例1は、前述したように、
外部電源と電池電源を切り換え、さらにその電池電圧を
検出する電圧検知回路において、電池電圧と比較するあ
る一定電圧(2.6V)を出力する定電圧発生回路13
と、その一定電圧と電池電圧を比較するコンパレータ1
4と、その定電圧発生回路13に入力される電源を昇圧
する昇圧回路20と、外部電源1の電圧を検知する分圧
抵抗16、17とコンパレータ18と、その外部電源1
の電圧により昇圧回路20の動作・非動作を決定する切
換信号発生回路19とを備えたものである。
The first embodiment of the present invention, as described above,
A constant voltage generating circuit 13 that outputs a certain constant voltage (2.6 V) to be compared with the battery voltage in a voltage detection circuit that switches the external power supply and the battery power supply and further detects the battery voltage.
And a comparator 1 that compares the constant voltage with the battery voltage
4, a booster circuit 20 that boosts the power supply input to the constant voltage generation circuit 13, voltage dividing resistors 16 and 17 that detect the voltage of the external power supply 1, a comparator 18, and the external power supply 1
And a switching signal generating circuit 19 that determines whether the booster circuit 20 operates or not depending on the voltage.

【0023】外部電源1が3.3Vのときに定電圧発生
回路13に入力される電源電圧を昇圧回路20で5Vに
昇圧させたものである。つまり、昇圧回路20は外部電
源1が3.3Vのときに5Vに昇圧してやり、定電圧発
生回路13のみに5Vを供給し、定電圧発生回路13の
出力が所望の電圧(2.6V)を出力する。
The power supply voltage input to the constant voltage generating circuit 13 when the external power supply 1 is 3.3V is boosted to 5V by the boosting circuit 20. That is, the booster circuit 20 boosts the voltage to 5V when the external power supply 1 is 3.3V, supplies 5V only to the constant voltage generation circuit 13, and outputs the desired voltage (2.6V) from the constant voltage generation circuit 13. Output.

【0024】すなわち、この実施例1は、外部電源1が
5Vのときでも、あるいは3.3Vのときでも同じ一定
の電圧で検知することを目的とする。そのために、電池
電圧と比較する電圧である2.6Vを発生させる定電圧
発生回路13の電源に与える電圧を外部電源1が3.3
Vのときは、昇圧回路20を用いて5Vに、外部電源1
が5Vのときにはそのまま外部電源1を与えて5Vにし
て、常に一定の電圧を与えるようして、定電圧発生回路
13の発生する電圧を外部電源1の電圧にかかわらず常
に一定とする構成としたものである。その結果、外部電
源1が5Vでも、3.3Vでも電池電圧を同じ値で正し
く検知することができるという効果を奏する。
That is, the first embodiment is intended to detect with the same constant voltage even when the external power supply 1 is 5V or 3.3V. Therefore, the external power supply 1 supplies 3.3 V to the power supply of the constant voltage generation circuit 13 that generates 2.6 V which is a voltage to be compared with the battery voltage.
When the voltage is V, the booster circuit 20 is used to bring the voltage to 5 V, and the external power source 1
Is 5 V, the external power supply 1 is applied as it is to 5 V so that a constant voltage is always applied so that the voltage generated by the constant voltage generation circuit 13 is always constant regardless of the voltage of the external power supply 1. It is a thing. As a result, it is possible to correctly detect the battery voltage with the same value whether the external power supply 1 is 5V or 3.3V.

【0025】実施例2.この発明の実施例2の構成につ
いて図2を参照しながら説明する。図2は、この発明の
実施例2の構成を示す図であり、電源電圧1〜電池1
2、コンパレータ14、バッファ15は上述した従来回
路のものと同様である。
Example 2. The configuration of the second embodiment of the present invention will be described with reference to FIG. FIG. 2 is a diagram showing the configuration of the second embodiment of the present invention, in which the power supply voltage 1 to the battery 1
2, the comparator 14 and the buffer 15 are the same as those of the conventional circuit described above.

【0026】図2において、22は電池電圧をある一定
の電圧に降下させる降圧回路である。この実施例2で
は、リファレンス電圧である基準電圧と比較するため
1.35Vに降下させる。
In FIG. 2, reference numeral 22 is a step-down circuit for dropping the battery voltage to a certain voltage. In the second embodiment, the voltage is lowered to 1.35V for comparison with the reference voltage which is the reference voltage.

【0027】ところで、この発明の請求項2に係る基準
電圧発生手段は、この実施例2では基準電圧発生回路8
に相当し、この発明の請求項2に係る降圧手段は、この
実施例2では降圧回路22に相当し、この発明の請求項
2に係る比較手段は、この実施例2ではコンパレータ1
4に相当する。
The reference voltage generating means according to claim 2 of the present invention is the reference voltage generating circuit 8 in the second embodiment.
The step-down means according to claim 2 of the present invention corresponds to the step-down circuit 22 in the second embodiment, and the comparison means according to claim 2 of the present invention corresponds to the comparator 1 in the second embodiment.
Equivalent to 4.

【0028】また、この発明の請求項3に係る基準電圧
発生回路は、この実施例2では基準電圧発生回路8に相
当し、この発明の請求項3に係る降圧回路は、この実施
例2では降圧回路22に相当し、この発明の請求項3に
係るコンパレータは、この実施例2ではコンパレータ1
4に相当する。
The reference voltage generating circuit according to claim 3 of the present invention corresponds to the reference voltage generating circuit 8 in the second embodiment, and the step-down circuit according to claim 3 of the present invention in the second embodiment. The comparator according to claim 3 of the present invention corresponds to the step-down circuit 22.
Equivalent to 4.

【0029】つぎに、前述した実施例2の動作について
説明する。外部電源1が3.3Vでも5.0Vでも、基
準電圧発生回路8は1.25Vの基準電圧を正常に発生
する。降圧回路22によって1.35Vに電池電圧が降
圧されると、電池電圧が約2.6Vぐらい下がったと
き、コンパレータ14の非反転(+)入力が1.25V
となりその前後でコンパレータ14の出力が反転するこ
とにより、電池電圧を検知できる。つまり、電池12の
電圧が2.6V以上のときと、以下のときではコンパレ
ータ14の出力は変化し、電池12の電圧を検知するこ
とができる。
Next, the operation of the above-described second embodiment will be described. Whether the external power supply 1 is 3.3V or 5.0V, the reference voltage generation circuit 8 normally generates the reference voltage of 1.25V. When the battery voltage is lowered to 1.35V by the step-down circuit 22, when the battery voltage drops by about 2.6V, the non-inverting (+) input of the comparator 14 becomes 1.25V.
The battery voltage can be detected by inverting the output of the comparator 14 before and after. That is, the output of the comparator 14 changes when the voltage of the battery 12 is 2.6 V or more and when it is below, and the voltage of the battery 12 can be detected.

【0030】この発明の実施例2は、前述したように、
外部電源と電池電源を切り換え、さらにその電池電圧を
検出する電圧検知回路において、電池電圧をある一定の
電圧だけ降圧させる降圧回路22と、それと比較するた
めの電圧を発生させる基準電圧発生回路8と、それらの
電圧を比較するコンパレータ14とを備えたものであ
る。つまり、リファレンス電圧に約2Vから動作する基
準電圧発生回路8を用い、また電池電圧をある一定電圧
分降圧させて比較させたものである。降圧回路22は電
池電圧を降圧させて、外部電源1が低電圧でも動作する
基準電圧発生回路8と比較させて電池電圧を検知するも
のである。その結果、外部電源1が5Vでも、3.3V
でも電池電圧を同じ値で正しく検知することができると
いう効果を奏する。
The second embodiment of the present invention, as described above,
In a voltage detection circuit that switches between an external power supply and a battery power supply, and further detects the battery voltage, a step-down circuit 22 that steps down the battery voltage by a certain constant voltage, and a reference voltage generation circuit 8 that generates a voltage for comparison therewith. , And a comparator 14 for comparing these voltages. That is, the reference voltage generation circuit 8 which operates from about 2V is used as the reference voltage, and the battery voltage is stepped down by a certain constant voltage for comparison. The step-down circuit 22 detects the battery voltage by stepping down the battery voltage and comparing it with the reference voltage generating circuit 8 that operates even when the external power supply 1 is at a low voltage. As a result, 3.3V even if the external power supply 1 is 5V
However, there is an effect that the battery voltage can be correctly detected with the same value.

【0031】実施例3.なお、上記実施例2では、ある
一定電圧を降圧させる降圧回路22にダイオードのドロ
ップ電圧を用いたが、この実施例3は、図3に示すよう
に抵抗23と24の分圧電圧を利用したものである。他
の構成と動作は上記実施例2と同様である。なお、この
際の抵抗23と24の値は電池12の電圧が丁度2.6
Vのとき、コンパレータ14の非反転入力に1.25V
がはいるようにそれぞれの値を決める。また、電池12
の消弧を抑えるため、抵抗値は極力大きい値とする必要
がある。例えば、抵抗23と24の抵抗値は、それぞれ
27MΩと25MΩである。
Example 3. In the second embodiment described above, the diode drop voltage is used for the step-down circuit 22 that steps down a certain voltage, but in the third embodiment, the divided voltage of the resistors 23 and 24 is used as shown in FIG. It is a thing. Other configurations and operations are the same as those in the second embodiment. The value of the resistors 23 and 24 at this time is exactly 2.6 when the voltage of the battery 12 is 2.6.
1.25V to the non-inverting input of comparator 14 when V
Decide each value so that there is. Also, the battery 12
In order to suppress the arc extinction, it is necessary to make the resistance value as large as possible. For example, the resistance values of the resistors 23 and 24 are 27 MΩ and 25 MΩ, respectively.

【0032】ところで、この発明の請求項2に係る基準
電圧発生手段は、この実施例3では基準電圧発生回路8
に相当し、この発明の請求項2に係る降圧手段は、この
実施例3では抵抗23及び24から構成され、この発明
の請求項2に係る比較手段は、この実施例3ではコンパ
レータ14に相当する。
The reference voltage generating means according to claim 2 of the present invention is the reference voltage generating circuit 8 in the third embodiment.
The step-down means according to claim 2 of the present invention is composed of resistors 23 and 24 in the third embodiment, and the comparison means according to claim 2 of the present invention corresponds to the comparator 14 in the third embodiment. To do.

【0033】また、この発明の請求項4に係る基準電圧
発生回路は、この実施例3では基準電圧発生回路8に相
当し、この発明の請求項4に係る抵抗分圧回路は、この
実施例3では抵抗23及び24から構成され、この発明
の請求項4に係るコンパレータは、この実施例3ではコ
ンパレータ14に相当する。
Further, the reference voltage generating circuit according to claim 4 of the present invention corresponds to the reference voltage generating circuit 8 in the third embodiment, and the resistance voltage dividing circuit according to claim 4 of the present invention corresponds to the present embodiment. 3 comprises resistors 23 and 24, and the comparator according to claim 4 of the present invention corresponds to the comparator 14 in the third embodiment.

【0034】[0034]

【発明の効果】この発明の請求項1に係る電圧検知回路
は、以上説明したとおり、外部電源の電圧を検出する検
出手段と、前記外部電源の電圧が所定値より低いときに
は切換信号を発生する切換信号発生手段と、前記切換信
号に基づいて前記外部電源の電圧を昇圧する昇圧手段
と、前記昇圧された外部電源に基づいて一定電圧を出力
する定電圧発生手段と、前記一定電圧と電池電圧を比較
する比較手段とを備えたので、外部電源が5Vでも、
3.3Vでも電池電圧を同じ値で正しく検知することが
できるという効果を奏する。
As described above, the voltage detecting circuit according to the first aspect of the present invention generates the switching signal when the voltage of the external power supply is lower than the predetermined value and the detecting means for detecting the voltage of the external power supply. Switching signal generating means, boosting means for boosting the voltage of the external power supply based on the switching signal, constant voltage generating means for outputting a constant voltage based on the boosted external power supply, the constant voltage and battery voltage Since it has a comparison means for comparing, even if the external power supply is 5V,
Even at 3.3V, the battery voltage can be correctly detected with the same value.

【0035】この発明の請求項2に係る電圧検知回路
は、以上説明したとおり、外部電源の電圧によらずに基
準電圧を発生する基準電圧発生手段と、電池電圧を一定
電圧だけ降圧する降圧手段と、前記基準電圧と前記一定
電圧だけ降圧された電池電圧を比較する比較手段とを備
えたので、外部電源が5Vでも、3.3Vでも電池電圧
を同じ値で正しく検知することができるという効果を奏
する。
As described above, the voltage detecting circuit according to the second aspect of the present invention includes the reference voltage generating means for generating the reference voltage regardless of the voltage of the external power source and the step-down means for stepping down the battery voltage by a constant voltage. And the comparison means for comparing the reference voltage with the battery voltage reduced by the constant voltage, it is possible to correctly detect the battery voltage with the same value regardless of whether the external power supply is 5V or 3.3V. Play.

【0036】この発明の請求項3に係る電圧検知回路
は、以上説明したとおり、外部電源の電圧によらずに基
準電圧を発生する基準電圧発生回路と、複数のダイオー
ドから構成され電池電圧を一定電圧だけ降圧する降圧回
路と、前記基準電圧と前記一定電圧だけ降圧された電池
電圧を比較するコンパレータとを備えたので、外部電源
が5Vでも、3.3Vでも電池電圧を同じ値で正しく検
知することができるという効果を奏する。
As described above, the voltage detection circuit according to the third aspect of the present invention comprises a reference voltage generation circuit for generating a reference voltage regardless of the voltage of the external power supply, and a plurality of diodes to keep the battery voltage constant. Since the step-down circuit for stepping down the voltage and the comparator for comparing the reference voltage and the battery voltage stepped down by the constant voltage are provided, the battery voltage is correctly detected with the same value regardless of whether the external power source is 5V or 3.3V. There is an effect that can be.

【0037】この発明の請求項4に係る電圧検知回路
は、以上説明したとおり、外部電源の電圧によらずに基
準電圧を発生する基準電圧発生回路と、電池電圧を一定
電圧に分圧する抵抗分圧回路と、前記基準電圧と前記一
定電圧に分圧された電池電圧を比較するコンパレータと
を備えたので、外部電源が5Vでも、3.3Vでも電池
電圧を同じ値で正しく検知することができるという効果
を奏する。
As described above, the voltage detecting circuit according to claim 4 of the present invention includes a reference voltage generating circuit for generating a reference voltage regardless of the voltage of the external power source, and a resistor component for dividing the battery voltage into a constant voltage. Since the voltage circuit and the comparator that compares the reference voltage with the battery voltage divided into the constant voltage are provided, the battery voltage can be correctly detected with the same value regardless of whether the external power supply is 5V or 3.3V. Has the effect.

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

【図1】この発明の実施例1の構成を示す図である。FIG. 1 is a diagram showing a configuration of a first embodiment of the present invention.

【図2】この発明の実施例2の構成を示す図である。FIG. 2 is a diagram showing a configuration of a second embodiment of the present invention.

【図3】この発明の実施例3の構成を示す図である。FIG. 3 is a diagram showing a configuration of a third embodiment of the present invention.

【図4】従来の電圧検知回路の構成を示す図である。FIG. 4 is a diagram showing a configuration of a conventional voltage detection circuit.

【符号の説明】[Explanation of symbols]

1 外部電源 2 内部電源 3 GND 4 電池電圧検知信号 5 抵抗 6 抵抗 7 コンパレータ 8 基準電圧発生回路 9 電源切換回路 10 MOSFET 11 ダイオード 12 電池 13 定電圧発生回路 14 コンパレータ 15 バッファ 16 抵抗 17 抵抗 18 コンパレータ 19 切換信号発生回路 20 昇圧回路 21 スイッチ 22 降圧回路 23 抵抗 24 抵抗 1 External power supply 2 Internal power supply 3 GND 4 Battery voltage detection signal 5 Resistance 6 Resistance 7 Comparator 8 Reference voltage generation circuit 9 Power supply switching circuit 10 MOSFET 11 Diode 12 Battery 13 Constant voltage generation circuit 14 Comparator 15 Buffer 16 Resistance 17 Resistance 18 Comparator 19 Switching signal generation circuit 20 Booster circuit 21 Switch 22 Step-down circuit 23 Resistor 24 Resistor

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 外部電源の電圧を検出する検出手段、前
記外部電源の電圧が所定値より低いときには切換信号を
発生する切換信号発生手段、前記切換信号に基づいて前
記外部電源の電圧を昇圧する昇圧手段、前記昇圧された
外部電源に基づいて一定電圧を出力する定電圧発生手
段、及び前記一定電圧と電池電圧を比較する比較手段を
備えたことを特徴とする電圧検知回路。
1. A detecting means for detecting a voltage of an external power supply, a switching signal generating means for generating a switching signal when the voltage of the external power supply is lower than a predetermined value, and a voltage of the external power supply is boosted based on the switching signal. A voltage detection circuit comprising: boosting means, constant voltage generating means for outputting a constant voltage based on the boosted external power source, and comparing means for comparing the constant voltage with a battery voltage.
【請求項2】 外部電源の電圧によらずに基準電圧を発
生する基準電圧発生手段、電池電圧を一定電圧だけ降圧
する降圧手段、及び前記基準電圧と前記一定電圧だけ降
圧された電池電圧を比較する比較手段を備えたことを特
徴とする電圧検知回路。
2. A reference voltage generating means for generating a reference voltage regardless of the voltage of an external power source, a step-down means for stepping down the battery voltage by a constant voltage, and a comparison between the reference voltage and the battery voltage stepped down by the constant voltage. A voltage detecting circuit comprising:
【請求項3】 外部電源の電圧によらずに基準電圧を発
生する基準電圧発生回路、複数のダイオードから構成さ
れ電池電圧を一定電圧だけ降圧する降圧回路、及び前記
基準電圧と前記一定電圧だけ降圧された電池電圧を比較
するコンパレータを備えたことを特徴とする電圧検知回
路。
3. A reference voltage generation circuit for generating a reference voltage regardless of the voltage of an external power supply, a step-down circuit configured by a plurality of diodes for stepping down a battery voltage by a constant voltage, and the reference voltage and the constant voltage. A voltage detection circuit comprising a comparator for comparing stored battery voltages.
【請求項4】 外部電源の電圧によらずに基準電圧を発
生する基準電圧発生回路、電池電圧を一定電圧に分圧す
る抵抗分圧回路、及び前記基準電圧と前記一定電圧に分
圧された電池電圧を比較するコンパレータを備えたこと
を特徴とする電圧検知回路。
4. A reference voltage generating circuit for generating a reference voltage regardless of the voltage of an external power source, a resistance voltage dividing circuit for dividing a battery voltage into a constant voltage, and a battery divided into the reference voltage and the constant voltage. A voltage detection circuit comprising a comparator for comparing voltages.
JP24698193A 1993-10-01 1993-10-01 Voltage detecting circuit Pending JPH07104015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24698193A JPH07104015A (en) 1993-10-01 1993-10-01 Voltage detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24698193A JPH07104015A (en) 1993-10-01 1993-10-01 Voltage detecting circuit

Publications (1)

Publication Number Publication Date
JPH07104015A true JPH07104015A (en) 1995-04-21

Family

ID=17156598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24698193A Pending JPH07104015A (en) 1993-10-01 1993-10-01 Voltage detecting circuit

Country Status (1)

Country Link
JP (1) JPH07104015A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7166932B2 (en) 2004-04-21 2007-01-23 Pentax Corporation Power circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7166932B2 (en) 2004-04-21 2007-01-23 Pentax Corporation Power circuit

Similar Documents

Publication Publication Date Title
JP3639189B2 (en) Load drive circuit
US5347170A (en) Semiconductor integrated circuit having a voltage stepdown mechanism
US7795848B2 (en) Method and circuit for generating output voltages from input voltage
US5608385A (en) Device for determining state of electricity generation of solar battery
US6310497B1 (en) Power supply loss detector method and apparatus
JPH07261883A (en) Semiconductor integrated circuit device for electric power control
JP2006325339A (en) Power supply control circuit
JP2003047150A (en) Power supply circuit
US7176657B2 (en) Capacitor charging circuit with a soft-start function
CN215009573U (en) Power supply overvoltage protection circuit
JPH07104015A (en) Voltage detecting circuit
JP4660921B2 (en) Voltage regulator circuit
US7564232B2 (en) Charging circuit and control method and integrated circuit utilizing the same
JPH09149631A (en) Power supply apparatus
JP2000201475A (en) Power supply equipment
JPH07122992B2 (en) Semiconductor integrated circuit
JP2830648B2 (en) Voltage detection circuit
US20100295835A1 (en) Voltage Boosting Circuit and Display Device Including the Same
JP3232739B2 (en) Switch ON detection circuit
US20230008237A1 (en) Switch device, current determination method and computer program
JP3507164B2 (en) Power supply circuit for electronic equipment
US6459249B2 (en) Reset circuit
JP2000111589A (en) Semiconductor integrated circuit
JP2530320Y2 (en) Clock constant voltage circuit
JP3226079B2 (en) Signal generation circuit