JPS61231472A - Circuit for detecting voltage of battery - Google Patents

Circuit for detecting voltage of battery

Info

Publication number
JPS61231472A
JPS61231472A JP60071976A JP7197685A JPS61231472A JP S61231472 A JPS61231472 A JP S61231472A JP 60071976 A JP60071976 A JP 60071976A JP 7197685 A JP7197685 A JP 7197685A JP S61231472 A JPS61231472 A JP S61231472A
Authority
JP
Japan
Prior art keywords
switch
battery
circuit
voltage
output
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
JP60071976A
Other languages
Japanese (ja)
Inventor
Eiichi Kumagai
熊谷 瑛一
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP60071976A priority Critical patent/JPS61231472A/en
Publication of JPS61231472A publication Critical patent/JPS61231472A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electric Status Of Batteries (AREA)

Abstract

PURPOSE:To reduce the current consumption of a battery for measurement and to eliminate the adjustment work of each circuit part, by simple constitution such that voltage is connected to a battery only at the time of voltage and compared with a preliminarily stored value as an initial voltage value. CONSTITUTION:An integrator circuit consisting of a resistor 12 and a condenser 13 is connected to the switch 12 connected to a battery 9 and a switch 11 is connected between the connection point of the resistor 12 and the switch 10 and the earth and turned OFF and ON by turning the switch ON and OFF. When the output level of the integrator circuit reaches a predetermined value or more, the output of a comparator 15 changes to be applied to a microcomputer (MPU) 1. MPU 1 measures the time before the output of the comparator 15 is turned ON after the ON-control of the switch 10 on the basis of a microprogram to store the same in RAM 3 as the initial voltage value of the battery and subsequently compares the value measured by turning the controlled switch 10 ON with the value of RAM 3 to detect the voltage of the battery.

Description

【発明の詳細な説明】 (産業上の利用分野ン 本発明は電子機器等に用いられる電池の電圧低下を検出
するための電池電圧検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a battery voltage detection circuit for detecting a voltage drop in a battery used in electronic equipment and the like.

(従来の技術) 従来のこの種の電池電圧検出回路は精密な基準電圧発生
器と電圧比較用のコンパレータとで構成されていた。
(Prior Art) Conventionally, this type of battery voltage detection circuit has been comprised of a precise reference voltage generator and a comparator for voltage comparison.

(発明が解決しようとする問題点) 七のため個々の基準電圧のバラツキ、コンパレータのレ
ベル変動、コンデンサ、抵抗等の素子のバラツキを吸収
するために調整作業が必要であるという欠点があった。
(Problems to be Solved by the Invention) Therefore, there is a drawback that adjustment work is required to absorb variations in individual reference voltages, level variations in comparators, and variations in elements such as capacitors and resistors.

また、一般的に基準電圧発生器の電圧は電池の電圧より
低いので電池の電圧を分圧回路で落とし基準電圧に合わ
せているが、分圧回路にはわずかの電流が流れるために
電池が無駄に消費されるという欠点があった。また、比
較的精密な入手しにくいアナログ電子回路を必要として
全体として高価になシ易いという欠点があった。
Also, since the voltage of the reference voltage generator is generally lower than the battery voltage, the battery voltage is lowered using a voltage divider circuit to match the reference voltage, but since a small amount of current flows through the voltage divider circuit, the battery is wasted. The disadvantage was that it was consumed. Another disadvantage is that it requires relatively precise analog electronic circuits that are difficult to obtain, making it expensive as a whole.

本発明の目的は上述の欠点を解決するもので、電圧検出
時のみ電池出力に接続することによりネ要な電池容量の
消費を防止するとともに新品装着時の電池電圧に相当す
る値を予じめ記憶□し、それを比較基準にすることによ
り各回路、素子等の調整作業を削除し、さらに電圧の検
出を、積分回路の充電時間をディジタル的に計るという
動作に置き換える回路構成にすることにより比較的高価
なアナログ回路の使用も不要とした電池電圧検出回路を
提供することにある。
The purpose of the present invention is to solve the above-mentioned drawbacks.By connecting to the battery output only when voltage is detected, it is possible to prevent unnecessary consumption of battery capacity and to set a value corresponding to the battery voltage when a new battery is installed in advance. By storing it in memory and using it as a comparison standard, we can eliminate the adjustment work for each circuit, element, etc., and by replacing voltage detection with digitally measuring the charging time of the integrating circuit. It is an object of the present invention to provide a battery voltage detection circuit that does not require the use of relatively expensive analog circuits.

(問題点を解決するための手段) 前記目的を達成するために本発明による電池電圧検出回
路は電池電圧の低下を検出する検出回路において、電池
に接続された第1のスイッチと、この第1のスイッチに
接続され、抵抗とコンデンサよりなる積分回路と、この
積分回路の抵抗と第1のスイッチとの接続点と接地間に
接続され、前記第1のスイッチのオンでオフ、オフでオ
ンとなるような関係で動作する第2のスイッチと、前記
積分回路の電圧が所定レベル以上になったことを検出す
るコンパレータと、前記第1のスイッチの□オンで4間
の測定を開始シ、前記コンパレータの検出出力で時間の
測定を停止する時間測定回路と、不揮発メモリとを含み
、前記第1のスイッチをオン制御することにより測定さ
れる前記時間測定回路の出力を電池初期の電圧値として
前記不揮発メモリに記憶しておき、後に制御される前記
第1のスイッチのオンにより前記時間測定回路により測
定される値と前記不揮発メモリの値と全比較することに
より電池電圧を検出するように構成されている。
(Means for Solving the Problems) In order to achieve the above object, a battery voltage detection circuit according to the present invention includes a first switch connected to the battery, and a first switch connected to the battery. is connected to the switch, and is connected between an integrating circuit consisting of a resistor and a capacitor, and a connection point between the resistor of this integrating circuit and a first switch, and ground, and is turned off when the first switch is turned on, and turned on when turned off. a second switch that operates in such a relationship; a comparator that detects that the voltage of the integrating circuit has exceeded a predetermined level; It includes a time measuring circuit that stops measuring time based on the detection output of the comparator, and a nonvolatile memory, and the output of the time measuring circuit, which is measured by turning on the first switch, is used as the initial voltage value of the battery. The battery voltage is stored in a non-volatile memory and is configured to detect the battery voltage by completely comparing the value measured by the time measuring circuit when the first switch is turned on which is controlled later with the value in the non-volatile memory. ing.

(作 用] 前記構成によれば調整作業の削除、電池容量の不要な消
耗の防止、低価格の回路を実現でき、本発明の目的は完
全に達成できる。
(Function) According to the above configuration, adjustment work can be eliminated, unnecessary consumption of battery capacity can be prevented, and a low-cost circuit can be realized, so that the objects of the present invention can be completely achieved.

(実施例] 次に本発明の実施例について図面を参照して説明する。(Example] Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明による電池電圧検出回路の実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a battery voltage detection circuit according to the present invention.

本図は時計等が電源オフしたときバックアップをするた
めに用いられている電池の電圧低下を検出する場合で、
電池電圧検出回路全体がマイクロコンピュータで制御さ
れるものである。装置全体を制御するマイクロコンピュ
ータlのバス2に[EEPROM等で構成される不揮発
メモリ3、不揮発メモリの実行する命令、データ等を記
憶するメインメモリ4、外部とのデータをや9とりする
入出力部5、電圧検出回・路の制゛御データを出力する
出力ポートロ、電圧検出回路の状態を入力する入力ポー
ドアが接続されている。
This diagram shows the case of detecting a voltage drop in a battery used to back up a watch, etc. when the power is turned off.
The entire battery voltage detection circuit is controlled by a microcomputer. A bus 2 of a microcomputer that controls the entire device includes a non-volatile memory 3 consisting of EEPROM, etc., a main memory 4 that stores instructions and data to be executed by the non-volatile memory, and input/output for exchanging data with the outside. A section 5, an output port for outputting control data of the voltage detection circuit/circuit, and an input port for inputting the state of the voltage detection circuit are connected.

電圧検出回路は出力ポートロの制御データにょシ開閉さ
れる第1のスイッチ1G、第2のスイッチ11と、抵抗
12とコンデンサ13で構成される積分回路と、積分回
路の出方レベルが所定値以上になると出力が変化するコ
ンパレータ15からなっておシ、コンパレータ15の出
力である検出出力33は入力ポードア全通してマイクロ
コンピュータlでその状態が読み取れる。
The voltage detection circuit includes a first switch 1G, a second switch 11, which is opened and closed according to the control data of the output port, and an integrating circuit consisting of a resistor 12 and a capacitor 13. The detection output 33, which is the output of the comparator 15, is passed through the input port door and its state can be read by the microcomputer 1.

第2図は第1′図の動作を説明するための各回路部の出
力波形でちゃ−、32は積分回路の出力波形、31は第
1のスイッチ10および第2のスイッチ11をオンオフ
制御するスイッチ制御信号、33はコンパレータ15の
出力波形をそれぞれ示している。
FIG. 2 shows the output waveforms of each circuit section to explain the operation of FIG. The switch control signal 33 indicates the output waveform of the comparator 15, respectively.

抵抗]2、コンデンサ13からなる積分回路の入力は初
期状態では第2のスイッチ11によって接地されている
。し次がってアナログ信号32は0である。ここで、マ
イクロコンピュータlf出カポートロに信号を送シ、ス
イッチ制御信号31をオンしたとする。第1のスイッチ
1Gはオン、第2のスイッチ□11はインバータ14ヲ
介して制御されているので°オフになシ、電池9の電池
電圧30は抵抗12t−介してコンデンサ13に充電さ
れる。コンデンサ13のアナログ信号32は第2図の3
2の波形のように上昇し、コンパレータ15の検出レベ
ルVTi越えると検出出力33がオンとなる。マイクロ
コンピュータlはこの検出出力33ヲ入カポ−ドアt−
通して読み取る。電池9の電圧が高ければ高いほどコン
デンサ13の充電カーブは急となり充電速度は速まシ、
マイクロコンピュータ1がスイッチ制御信号311にオ
ンしてから検出出力33がオンになるまでの時間Tは小
さくなる。すなわち時間Tは電池電圧レベル30の関数
になっており、Tの大小で電池電圧レベル30が測定で
きることになる。この時間Tは時間測定回路である図示
しないカウンタあるいはマイクロコンピュータlのマイ
クロプログラムによって簡単にかつ、かなり精密に測定
される。
In the initial state, the input of an integrating circuit consisting of a resistor] 2 and a capacitor 13 is grounded by a second switch 11. Then analog signal 32 is zero. Here, it is assumed that a signal is sent to the microcomputer lf output port and the switch control signal 31 is turned on. The first switch 1G is on, the second switch 11 is controlled via the inverter 14, so it is not off, and the battery voltage 30 of the battery 9 is charged to the capacitor 13 via the resistor 12t. The analog signal 32 of the capacitor 13 is 3 in FIG.
2, and when it exceeds the detection level VTi of the comparator 15, the detection output 33 turns on. The microcomputer l has this detection output 33 inputted to it.
Read through. The higher the voltage of the battery 9, the steeper the charging curve of the capacitor 13 and the faster the charging speed.
The time T from when the microcomputer 1 turns on the switch control signal 311 to when the detection output 33 turns on becomes shorter. That is, the time T is a function of the battery voltage level 30, and the battery voltage level 30 can be measured depending on the magnitude of T. This time T can be easily and fairly accurately measured by a counter (not shown) serving as a time measuring circuit or by a microprogram of the microcomputer I.

電池電圧30の絶対値は測定できないが、変化は十分精
密に測定できるものである。
Although the absolute value of the battery voltage 30 cannot be measured, changes can be measured with sufficient precision.

電池電圧30の低下を検出してアラームを出すため、ま
ず電池9のセット時に、電池初期の電圧に対応する時間
Toを読取フ、不揮発メモリ3に記憶する。
In order to detect a drop in the battery voltage 30 and issue an alarm, first, when setting the battery 9, a time To corresponding to the initial voltage of the battery is read and stored in the nonvolatile memory 3.

以後、装置の電源オン時等に必要に応じて、時間Tt−
測定し、不揮発メモリ内の時間Toと比較して一定以上
時間Tが大きくなっていれば電池電圧30が低下したと
してアラームを出力する。
Thereafter, the time Tt-
The battery voltage 30 is measured, and if the time T becomes longer than a certain value compared to the time To in the nonvolatile memory, an alarm is output as a result of the battery voltage 30 decreasing.

この回路に使用される第1のスイッチ10.第2のスイ
ッチ11、抵抗】2、コンデンサ13およびコンパレー
タ15はいずれも経緯変化のないものであれば精度はま
ったく必要としない。
First switch 10 used in this circuit. The second switch 11, the resistor 2, the capacitor 13, and the comparator 15 do not require any precision as long as they do not change over time.

マイクロコンピュータ1は通常、水晶オツシレータで動
作しているので時間は十分に精密に測定できる。
Since the microcomputer 1 normally operates with a crystal oscillator, time can be measured with sufficient precision.

本回路と電池9とは測定をしない状態においては第1の
スイッチlOがオフとなっていて切離されているので無
駄な電流の消費はない。
Since this circuit and the battery 9 are disconnected from each other when no measurement is being performed with the first switch 10 turned off, there is no wasteful consumption of current.

また、測定のために消費される電流は小さい容量のコン
デンサ13f:選定すれば無視できる程度に小さい。
Further, the current consumed for measurement is negligible if a capacitor 13f with a small capacity is selected.

第1のスイッチlOと第2のスイッチ11は電子スイッ
チであるFET等を使用することが可能である。コンデ
ンサエ3の放電パスが必要であるが、一般にはコンデン
サ13のリークで自然放電するので必ずしも用意する必
要はない。
The first switch IO and the second switch 11 can be electronic switches such as FETs. Although a discharge path for the capacitor 3 is required, it is not necessarily necessary to provide one since the capacitor 13 generally discharges naturally due to leakage.

不揮発メモリ3はこのような装置には様々なパラメータ
等を記憶しておくために具備されておシ、本発明に用い
る不揮発メモリとして共用されている。
A nonvolatile memory 3 is provided in such a device to store various parameters, etc., and is commonly used as a nonvolatile memory used in the present invention.

(発明の効果ン 本発明は、以上詳しく説明したように、電池電圧のアナ
ログ値を積分回路を用いることにより対厄のディジタル
値に変換し、予じめ不揮発メモリに記憶されている電池
初期電圧に対応する値と、このディジタル値とを比較す
ることに゛よって初期がらの電池電圧の変化をそれに対
応するディジタル値として測定でき、従来回路に比較し
、構成の簡易化、測定のための電池電流消費の低減およ
び各回路部の満整作業の削除を実現できる効果がある。
(Effects of the Invention) As explained in detail above, the present invention converts the analog value of the battery voltage into a digital value by using an integrating circuit, and converts the analog value of the battery voltage into a digital value that is stored in advance in a non-volatile memory. By comparing this digital value with the value corresponding to This has the effect of reducing current consumption and eliminating the need for complete assembly of each circuit section.

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

第11i9は本発明による電池電圧検出回路の実施例を
示すブロック図、第2図は第1図の回路の動作を説明す
るためのタイムチャートである。 1・・・マイクロコンピュータ(MPU)2・・・バス
(BU8ン 3−・・不[発メモIJ (N V FLAM )4・
・・メインメモリ(MgMン 5・・・入出力部Cl10)
11i9 is a block diagram showing an embodiment of the battery voltage detection circuit according to the present invention, and FIG. 2 is a time chart for explaining the operation of the circuit of FIG. 1. 1... Microcomputer (MPU) 2... Bus (BU8-3-... Not issued memo IJ (NV FLAM) 4-
・・Main memory (MgM-5...input/output section Cl10)

Claims (1)

【特許請求の範囲】[Claims] 電池電圧の低下を検出する検出回路において、電池に接
続された第1のスイッチと、この第1のスイッチに接続
され、抵抗とコンデンサよりなる積分回路と、この積分
回路の抵抗と第1のスイッチとの接続点と接地間に接続
され、前記第1のスイッチのオンでオフ、オフでオンと
なるような関係で動作する第2のスイッチと、前記積分
回路の電圧が所定レベル以上になつたことを検出するコ
ンパレータと、前記第1のスイッチのオンで時間の測定
を開始し、前記コンパレータの検出出力で時間の測定を
停止する時間測定回路と、不揮発メモリとを含み、前記
第1のスイッチをオン制御することにより測定される前
記時間測定回路の出力を電池初期の電圧値として前記不
揮発メモリに記憶しておき、後に制御される前記第1の
スイッチのオンにより前記時間測定回路により測定され
る値と前記不揮発メモリの値とを比較することにより電
池電圧を検出するように構成したことを特徴とする電池
電圧検出回路。
A detection circuit that detects a decrease in battery voltage includes a first switch connected to the battery, an integrating circuit connected to the first switch and consisting of a resistor and a capacitor, and a resistor of the integrating circuit and the first switch. and a second switch connected between the connection point of the first switch and the ground and operated in such a manner that it turns off when the first switch is turned on and turns on when it turns off, and the voltage of the integrating circuit reaches a predetermined level or higher. a time measurement circuit that starts measuring time when the first switch is turned on and stops measuring time at the detection output of the comparator; and a nonvolatile memory, the first switch The output of the time measuring circuit measured by turning on the first switch is stored in the non-volatile memory as an initial voltage value of the battery, and the output is measured by the time measuring circuit by turning on the first switch which is controlled later. A battery voltage detection circuit characterized in that the battery voltage detection circuit is configured to detect a battery voltage by comparing a value stored in the nonvolatile memory with a value stored in the nonvolatile memory.
JP60071976A 1985-04-05 1985-04-05 Circuit for detecting voltage of battery Pending JPS61231472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60071976A JPS61231472A (en) 1985-04-05 1985-04-05 Circuit for detecting voltage of battery

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60071976A JPS61231472A (en) 1985-04-05 1985-04-05 Circuit for detecting voltage of battery

Publications (1)

Publication Number Publication Date
JPS61231472A true JPS61231472A (en) 1986-10-15

Family

ID=13475999

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60071976A Pending JPS61231472A (en) 1985-04-05 1985-04-05 Circuit for detecting voltage of battery

Country Status (1)

Country Link
JP (1) JPS61231472A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0514265A2 (en) * 1991-05-13 1992-11-19 Sony Corporation Device for displaying remaining electric energy of battery
JP2007046917A (en) * 2005-08-05 2007-02-22 Yazaki Corp Device and method for measuring voltage of group battery
JP6268357B1 (en) * 2017-07-04 2018-01-31 inQs株式会社 Power storage device and control method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0514265A2 (en) * 1991-05-13 1992-11-19 Sony Corporation Device for displaying remaining electric energy of battery
US5424722A (en) * 1991-05-13 1995-06-13 Sony Corporation Device for displaying remaining electric energy of battery
JP2007046917A (en) * 2005-08-05 2007-02-22 Yazaki Corp Device and method for measuring voltage of group battery
JP4508977B2 (en) * 2005-08-05 2010-07-21 矢崎総業株式会社 Assembled battery voltage measuring device and assembled battery voltage measuring method
JP6268357B1 (en) * 2017-07-04 2018-01-31 inQs株式会社 Power storage device and control method thereof
JP2019017146A (en) * 2017-07-04 2019-01-31 inQs株式会社 Power storage device and control method therefor

Similar Documents

Publication Publication Date Title
US5099209A (en) Battery voltage detecting device
US4365302A (en) High accuracy AC electric energy metering system
US4429236A (en) Apparatus for generating pulses upon decreases in supply voltage
US8264231B2 (en) Switch circuit
US5479103A (en) Non-linear voltage measuring implementing capacitor charging time
US4206648A (en) Impedance measuring circuit
US4282480A (en) Apparatus for humidity detection
US7737730B2 (en) Method of detecting the frequency of an input clock signal of an integrated circuit and integrated circuit
JPH0726988B2 (en) Capacitance measuring device and method
JPS6152424B2 (en)
JPH06242159A (en) Electrostatic capacity measuring device
JPS61231472A (en) Circuit for detecting voltage of battery
US5500834A (en) Device for measuring time lapse after turn off of power source and method thereof
US4881072A (en) Device for remote metering
US4058808A (en) High performance analog to digital converter for integrated circuits
EP1070965B1 (en) Method for measuring an electric voltage and arrangement for implementing the method
JPS62228173A (en) Battery voltage detection circuit
JPH0678913B2 (en) Variable capacitance type sensor system
US5144309A (en) Analog-to-digital converter to be used along with a resistive sensor
JPS625664Y2 (en)
SU1420537A1 (en) Electrometric charge converter
JPH01180464A (en) Capacitor measuring instrument
US5187441A (en) Portable information apparatus for sensing battery voltage drop
JPS5952324A (en) Detecting circuit for service interruption and its recovery
JPS6322265B2 (en)