JP2631661B2 - Electronics - Google Patents

Electronics

Info

Publication number
JP2631661B2
JP2631661B2 JP62188878A JP18887887A JP2631661B2 JP 2631661 B2 JP2631661 B2 JP 2631661B2 JP 62188878 A JP62188878 A JP 62188878A JP 18887887 A JP18887887 A JP 18887887A JP 2631661 B2 JP2631661 B2 JP 2631661B2
Authority
JP
Japan
Prior art keywords
power supply
voltage
battery
time
change
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.)
Expired - Fee Related
Application number
JP62188878A
Other languages
Japanese (ja)
Other versions
JPS6435277A (en
Inventor
信二 堺
了介 宮本
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP62188878A priority Critical patent/JP2631661B2/en
Publication of JPS6435277A publication Critical patent/JPS6435277A/en
Application granted granted Critical
Publication of JP2631661B2 publication Critical patent/JP2631661B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野 本発明は、着脱可能な電源を持つ電子機器に関し、特
に、電源の状態をチェックする機能を有する電子機器に
関するものである。
Description: TECHNICAL FIELD The present invention relates to an electronic device having a detachable power supply, and more particularly to an electronic device having a function of checking a power supply state.

[従来の技術] 従来、カメラ等の装置においては、動作の初期又は動
作中にバッテリ等の電圧をチェックし、この電圧が低い
場合には警告、もしくは動作の禁止を行ってきた。
2. Description of the Related Art Conventionally, in a device such as a camera, the voltage of a battery or the like is checked at the beginning of or during operation, and if the voltage is low, a warning is issued or the operation is prohibited.

[発明が解決しようとする問題点] 上記のような各種の装置においては、近年、コンデン
サ、IC等のリーク電流が低下したことによって電源とし
ての電池を取りはずしても、しばらくの間、電源回路の
コンデンサに電圧が残っており、場合によっては数日間
ほとんど電圧の低下しない場合がある。
[Problems to be Solved by the Invention] In the various devices as described above, in recent years, even if a battery as a power supply is removed due to a decrease in leakage current of a capacitor, an IC, or the like, the power supply circuit remains for a while. Voltage remains on the capacitor, and in some cases, the voltage hardly drops for several days.

一方、各種装置の消費電流も従来より比較して低下し
てきたため、上記のようにバッテリ電圧がなくても、電
源回路のコンデンサにたまった電圧だけで、ある程度の
時間は、スレッショルド以上の電圧を保つ可能性がある
が、その時間がすぎるとスレッショルド以下の電圧に低
下してしまう。
On the other hand, since the current consumption of various devices has also been reduced compared to the past, even if there is no battery voltage as described above, the voltage above the threshold is maintained for a certain time only by the voltage accumulated in the capacitor of the power supply circuit. Although it is possible, after that time, the voltage drops below the threshold.

そして、上記のようなコンデンサの電圧がスレッショ
ルド以下になったとき、カメラ等では撮影・動作を禁止
する。
When the voltage of the capacitor falls below the threshold, the camera or the like prohibits photographing and operation.

しかるに、カメラ等の撮影装置ではバッテリの電圧低
下、あるいはバッテリが装着されていない場合には、装
置が前記状態にあることをユーザーに早く知らせる必要
があるが、コンデンサにたまっている電圧がスレッショ
ルド電圧以下に低下するまでは、撮影動作を禁止しない
様にしているためバッテリ交換時期が遅れてしまい、ト
ラブルを発生する原因になっていた。
However, in an imaging device such as a camera, when the battery voltage is low, or when the battery is not mounted, it is necessary to promptly notify the user that the device is in the above-mentioned state, but the voltage accumulated in the capacitor is a threshold voltage. Until the temperature drops below, the battery replacement time is delayed because the photographing operation is not prohibited, which causes a trouble.

本発明はかかる問題点を解決するためになされたもの
で、着脱可能な電源を持つ電子機器において、前記電源
が当該機器から離脱状態であるか或は前記電源が使用不
可能な状態であるかを正確に判断することができ、当該
機器の誤動作を防止することができる優れた電源状態チ
ェック機能を有する電子機器を提供することを目的とす
る。
The present invention has been made to solve such a problem. In an electronic device having a detachable power supply, whether the power supply is disconnected from the device or the power supply is unusable. It is an object of the present invention to provide an electronic device having an excellent power supply state check function capable of accurately judging the condition and preventing a malfunction of the device.

[問題点を解決するための手段] 上記目的を達成するために、本発明の電子機器は、着
脱可能な電源を有する電子機器において、前記電源の電
圧を検出し、前記電源の電圧が所定値よりも低いか否か
を検出することと、前記電源の電圧が所定値より低くな
い場合に、更に所定時間経過毎に前記電源の電圧の変化
率を検出し、検出された前記電源の電圧の変化率が所定
値よりも大きいか否かを検出することにより、前記電源
が当該機器から離脱状態であるか或は前記電源が使用不
可能な状態であると判断し、その旨を示す表示を行うか
或は当該機器の各部の動作の禁止を行う制御手段を有す
るものである。
[Means for Solving the Problems] In order to achieve the above object, an electronic apparatus according to the present invention, in an electronic apparatus having a detachable power supply, detects a voltage of the power supply, and sets the voltage of the power supply to a predetermined value. Detecting whether the voltage of the power supply is lower than a predetermined value, and when the voltage of the power supply is not lower than a predetermined value, further detecting a rate of change of the voltage of the power supply every predetermined time, and detecting the voltage of the detected power supply voltage. By detecting whether the rate of change is greater than a predetermined value, it is determined that the power supply is disconnected from the device or the power supply is unusable, and a display indicating that fact is displayed. It has control means for performing or prohibiting the operation of each section of the device.

[作用] 上述の構成によって、電源が機器から離脱状態である
か或は前記電源が使用不可能な状態であるかを正確に判
断し、当該機器の誤動作を防止することができる。
[Operation] With the above-described configuration, it is possible to accurately determine whether the power supply is disconnected from the device or the power supply is unusable, thereby preventing the device from malfunctioning.

[実施例] 第1図は本発明の電源電圧チェック方式を適用したシ
ステムの一実施例を示すシステムのブロック図で、第2
図は第1図の動作を示すフローチャートである。
[Embodiment] FIG. 1 is a block diagram of a system showing one embodiment of a system to which a power supply voltage check system of the present invention is applied.
The figure is a flowchart showing the operation of FIG.

図において、1はバッテリで、スイッチ2をONすると
このシステムは動作を開始し、レギュレータ3を通して
制御回路4に電源を与える。
In the figure, reference numeral 1 denotes a battery. When a switch 2 is turned on, the system starts operating and supplies power to a control circuit 4 through a regulator 3.

また、レギュレータ3の出力、スイッチ2の出力、バ
ッテリ1の出力等はすべてその他のシステムにもその電
気エネルギーを与えている。
The output of the regulator 3, the output of the switch 2, the output of the battery 1, and the like all supply the other systems with the electric energy.

また、制御回路4は抵抗7,8、トランジスタ9、抵抗1
0,11、トランジスタ12で構成される電源ラッチ回路を用
いてスイッチ2がOFFになっても必要ならば、パワーを
供給し続けることができる。
Further, the control circuit 4 includes the resistors 7, 8, the transistor 9, the resistor 1,
Even if the switch 2 is turned off using the power supply latch circuit composed of the transistors 0, 11 and 12, the power can be continuously supplied if necessary.

ここで、スイッチ2をONした時、もしくは必要と思わ
れる時点で、制御回路4はアナログ・ディジタル(A/
D)コンバータ及びマイクロコンピュータ等により構成
されており、第2図の制御回路4におけるマイクロコン
ピュータの動作フローチャートにしたがってバッテリを
チェックする。
At this time, when the switch 2 is turned on or when it is deemed necessary, the control circuit 4 executes the analog / digital (A /
D) The battery is checked in accordance with the operation flowchart of the microcomputer in the control circuit 4 shown in FIG.

第1図、第2図において、まずST101でバッテリの電
圧を抵抗5,6により構成されている分圧器と制御回路4
に備えられているA/Dコンバータを用いてディジタル値
として読み込み、その電圧をV1とする。
In FIG. 1 and FIG. 2, first, in step ST101, the voltage of the battery is divided into a voltage divider constituted by resistors 5 and 6 and a control circuit 4.
Read as a digital value using an A / D converter provided in the, to the voltage V 1.

ST102で電圧V1が、定められたスレッショルド電圧VTH
より低いと、ST103の電源電圧低下(LOW−BATTREY)処
理ルーチンへ行き、装置の動作の禁止や表示等を行い、
誤動作を発生させないように処理する。
Voltages V 1 in ST102 is stipulated threshold voltage V TH
If it is lower, go to the power supply voltage drop (LOW-BATTREY) processing routine of ST103, prohibit or display the operation of the device,
Process so as not to cause malfunction.

また、もしV1≧VTHであれば一定時間(T1)待つ(ST1
04)。
If V 1 ≧ V TH , wait for a certain time (T 1 ) (ST1
04).

ここで一定時間T1は、システムの動作上許される最大
限の値が望ましいが、カメラ等の装置では、1mSから30m
S程度に定めればよい。
Here, the constant time T 1 is desirably the maximum value allowed for the operation of the system, but in a device such as a camera, it is 1 mS to 30 m.
It may be set to about S.

但し、必要なら必ずしも一定値でなくとも良く、この
場合はおよそ上記のような時間で、かつこの時間がカウ
ンタ等を用いることによって測定もしくは推定する様に
しても良く、この時間をT1とすればよい。
However, may not necessarily constant value if necessary, to this case approximately a time as described above, and this time may be in the manner of measuring or estimating by using a counter or the like, the time T 1 I just need.

この後、ST105で再びバッテリ1の電圧を読み、その
電圧をV2とする。
Thereafter, again reading the voltage of the battery 1 in ST105, to the voltage V 2.

ここで(V1−V2)/T1>VTHΔ1の場合、バッテリ1
が極めて不安定(弱くなっている)か、あるいはバッテ
リ1が取りはずされて電源回路のコンデンサ14,15から
電気エネルギーとしての電圧が与えられていると推定さ
れるので再びST101へ行く。
Here, if (V 1 −V 2 ) / T 1 > V THΔ1 , the battery 1
Is estimated to be extremely unstable (weakened) or the battery 1 is removed and the voltage as electric energy is supplied from the capacitors 14 and 15 of the power supply circuit.

ここで本当にバッテリ1が電圧低下による不能か又は
取りはずされている場合は、この動作を繰り返し行って
いるうち、V1<VTHとなり、LOW−BATTERY処理ルーチン
であるST103へ行く。
Here, if the real battery 1 is disabled or removed due to the voltage drop, among which repeated the operation, it goes to V 1 <V TH becomes a LOW-BATTERY routine ST 103.

但し、VTH1は、電源回路のコンデンサの容量の最大値
と装置の消費電流の最小値から定めればよく、例えば電
源回路のコンデンサの容量が500μF,25mAであれば25mA/
500μF=50V/secであるからVTH1≒25V/sec位にすれば
よい。ちなみにT1=10mSとすると、V1−V2>250mVのと
き使用不可能となり、この程度の値であれば、制御回路
4において8ビット程度のA/Dコンバータを用いれば、
制御回路4に読み込むことができる。
However, V TH1 may be determined from the maximum value of the capacitance of the capacitor of the power supply circuit and the minimum value of the current consumption of the device.For example, if the capacitance of the capacitor of the power supply circuit is 500 μF, 25 mA, 25 V
Since 500 μF = 50 V / sec, V TH1 ≒ 25 V / sec may be set. By the way, if T 1 = 10 mS, it becomes impossible to use when V 1 −V 2 > 250 mV. If this value is about this, if an A / D converter of about 8 bits is used in the control circuit 4,
It can be read into the control circuit 4.

ST106の判定がNOの場合は、安全のために、もう1度
一定時間T2だけ待機し(ST107)、再度バッテリの電圧
を制御回路4に供給しA/D変換してV3とし(ST108)、
(V2−V3)/T2>VTHΔ2であれば、ST101へもどり、
(V2−V3)/T2≦VTHΔ2であれば、充分安定している
としたEND(ST110)に行く。
If the determination in ST106 is NO, for safety, and waits T 2 again fixed time (ST 107), and V 3 is A / D converted and supplied to the voltage of the battery to the control circuit 4 again (ST 108 ),
If (V 2 −V 3 ) / T 2 > V THΔ2 , return to ST101,
If (V 2 −V 3 ) / T 2 ≦ V THΔ2 , go to END (ST110), which is considered to be sufficiently stable.

尚、T2,VTHΔ2は、それぞれT1,VTHΔ1と同じような
値でよい。
Note that T 2 and V THΔ2 may be the same values as T 1 and V THΔ1 , respectively.

尚、以上の例は主にバッテリに関して説明したが、こ
れらはAC電源、又は外部のアダプタ、又は太陽電池のよ
うに一定状態でないと出力のない電源を用いた装置、シ
ステムでも同様に使用できる。
Although the above example mainly describes a battery, they can also be used in an apparatus or system using an AC power supply, an external adapter, or a power supply that does not output unless it is in a fixed state, such as a solar cell.

また、EPROM,バックアップ・メモリ等の不揮発性のメ
モリを持ったシステムでは、これらの書きかえの前に、
上述のようなバッテリの電圧チェックを行う様にすれば
誤ってメモリに記憶されているデータを消してしまうこ
とがなくなる。
In systems with non-volatile memories such as EPROMs and backup memories,
If the battery voltage check is performed as described above, the data stored in the memory will not be accidentally erased.

本実施例は、制御回路4をA/Dコンバータ及び第2図
に示した様な動作を行うマイクロコンピュータにより構
成する様にしたが、コンデンサ及び抵抗等により構成さ
れているサンプルホールド回路とコンパレータによって
も同様に構成することができる。
In this embodiment, the control circuit 4 is constituted by an A / D converter and a microcomputer which performs the operation as shown in FIG. 2. However, the control circuit 4 is constituted by a sample and hold circuit constituted by a capacitor and a resistor and a comparator. Can be similarly configured.

また、本実施例の制御回路4におけるマイクロコンピ
ュータは、前述のバッテリ電圧チェック動作中に制御回
路4に接続されている他のシステムにより他の作業を行
わせる様にしても良く、また、タイマ等を用いて適当に
他のシステムの動作制御を割り込ませる様にすれば、よ
り効率的な動作を行うことができる。
Further, the microcomputer in the control circuit 4 of the present embodiment may cause the other system connected to the control circuit 4 to perform other operations during the above-described battery voltage check operation. If the operation control of another system is appropriately interrupted by using, more efficient operation can be performed.

また、上述の他のシステムに消費電流が適当に増大す
る様な作業を行わせる様にすることにより、本実施例の
バッテリ電圧チェックの精度を上げることができる。
In addition, by making the other system perform an operation for appropriately increasing the current consumption, the accuracy of the battery voltage check of the present embodiment can be improved.

[発明の効果] 以上のように、本発明によれば、簡単で低コストな構
成により、着脱可能な電源を持つ電子機器において、前
記電源が当該機器から離脱状態であるか或は前記電源が
使用不可能な状態であるかを正確に判断することがで
き、当該機器の誤動作を防止することができる優れた電
源状態チェック機能を有する電子機器を提供することが
できる。
[Effects of the Invention] As described above, according to the present invention, in an electronic device having a detachable power supply, the power supply is in a detached state from the device or the power supply has a simple and low-cost configuration. It is possible to provide an electronic device having an excellent power supply state check function capable of accurately determining whether the device is in an unusable state and preventing a malfunction of the device.

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

第1図は本発明の一実施例として電源電圧チェック方式
を適用したシステムのブロック図、第2図は第1図の制
御回路の動作を示すフローチャートである。図中. 1:バッテリ、2:スイッチ 3:レギュレータ、4:制御回路
FIG. 1 is a block diagram of a system to which a power supply voltage checking method is applied as one embodiment of the present invention, and FIG. 2 is a flowchart showing the operation of the control circuit of FIG. In the figure. 1: Battery, 2: Switch 3: Regulator, 4: Control circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】着脱可能な電源を有する電子機器におい
て、前記電源の電圧を検出し、前記電源の電圧が所定値
よりも低いか否かを検出することと、前記電源の電圧が
所定値より低くない場合に、更に所定時間経過毎に前記
電源の電圧の変化率を検出し、検出された前記電源の電
圧の変化率が所定値よりも大きいか否かを検出すること
により、前記電源が当該機器から離脱状態であるか或は
前記電源が使用不可能な状態であると判断し、その旨を
示す表示を行うか或は当該機器の各部の動作の禁止を行
う制御手段を有することを特徴とする電子機器。
An electronic device having a detachable power supply, detecting a voltage of the power supply and detecting whether or not the voltage of the power supply is lower than a predetermined value; If not, the power supply further detects the rate of change of the voltage of the power supply every predetermined time, and detects whether the detected rate of change of the voltage of the power supply is greater than a predetermined value. It is determined that the device is in a detached state from the device or the power supply is in an unusable state, and that a control means for performing a display to that effect or prohibiting the operation of each unit of the device is provided. Electronic equipment characterized.
【請求項2】前記制御手段は、前記電源の電圧の変化率
を当該機器の電源回路のコンデンサの容量に対応した時
間経過毎に検出するものであることを特徴とする特許請
求の範囲第(1)項記載の電子機器。
2. The apparatus according to claim 1, wherein said control means detects the rate of change of the voltage of said power supply every time a time corresponding to the capacitance of a capacitor of a power supply circuit of said device has passed. Electronic equipment according to item 1).
【請求項3】前記制御手段は、前記電源の電圧の変化率
を1ms〜100msの任意の時間経過毎に検出するものである
ことを特徴とする特許請求の範囲第(1)項記載の電子
機器。
3. The electronic device according to claim 1, wherein said control means detects the rate of change of the voltage of said power supply every time an arbitrary time of 1 ms to 100 ms elapses. machine.
JP62188878A 1987-07-30 1987-07-30 Electronics Expired - Fee Related JP2631661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62188878A JP2631661B2 (en) 1987-07-30 1987-07-30 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62188878A JP2631661B2 (en) 1987-07-30 1987-07-30 Electronics

Publications (2)

Publication Number Publication Date
JPS6435277A JPS6435277A (en) 1989-02-06
JP2631661B2 true JP2631661B2 (en) 1997-07-16

Family

ID=16231460

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62188878A Expired - Fee Related JP2631661B2 (en) 1987-07-30 1987-07-30 Electronics

Country Status (1)

Country Link
JP (1) JP2631661B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59116052A (en) * 1982-12-23 1984-07-04 Mitsubishi Electric Corp Voltage abnormality detector
JPS61198066A (en) * 1985-02-07 1986-09-02 Honda Motor Co Ltd Voltage variation detecting circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59116052A (en) * 1982-12-23 1984-07-04 Mitsubishi Electric Corp Voltage abnormality detector
JPS61198066A (en) * 1985-02-07 1986-09-02 Honda Motor Co Ltd Voltage variation detecting circuit

Also Published As

Publication number Publication date
JPS6435277A (en) 1989-02-06

Similar Documents

Publication Publication Date Title
US4929931A (en) Battery monitor
TW521467B (en) Battery status monitor circuit and battery device
US5387871A (en) Method of testing characteristics of battery set
US4984185A (en) Portable computer having a battery voltage detecting circuit
US7293188B2 (en) Low voltage detection system
JP2011109745A (en) Energy storage device
US20020021110A1 (en) Power supply unit, battery, electrical apparatus, and memory effect detection method
JP2631661B2 (en) Electronics
JPS58168123A (en) Power source trouble detector/memory
JP2001118607A (en) Battery pack
CN107293319A (en) Stand-by power supply detection method and device
CN115728665A (en) Power failure detection circuit, method and system
EP4123867A1 (en) Smart battery device, and electronic device thereof
US5528335A (en) Battery check device for a camera
US20070024241A1 (en) Battery monitoring circuit and method
EP0697791A2 (en) Apparatus for determining if the duration of a power failure exceeded predetermined limits
CN112505548A (en) Method and related device for monitoring service life of CMOS battery
JP3105797B2 (en) Battery judgment device
JP2900124B2 (en) Uninterruptible power system
JP2005030818A (en) Voltage monitoring circuit
JPH0993831A (en) Power supply controller
CN114859254A (en) State information estimating device for electronic equipment battery
JPH0591677A (en) Battery charger
KR950012062B1 (en) Rapd charging control-method of battery for computer
JP2575034Y2 (en) SRAM memory card reader / writer

Legal Events

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