[go: up one dir, main page]

JP2002270248A - Battery voltage detecting device and method - Google Patents

Battery voltage detecting device and method

Info

Publication number
JP2002270248A
JP2002270248A JP2001064603A JP2001064603A JP2002270248A JP 2002270248 A JP2002270248 A JP 2002270248A JP 2001064603 A JP2001064603 A JP 2001064603A JP 2001064603 A JP2001064603 A JP 2001064603A JP 2002270248 A JP2002270248 A JP 2002270248A
Authority
JP
Japan
Prior art keywords
battery
voltage
detecting
battery voltage
replacement
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
JP2001064603A
Other languages
Japanese (ja)
Inventor
Noriaki Nakagawa
典昭 中川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2001064603A priority Critical patent/JP2002270248A/en
Publication of JP2002270248A publication Critical patent/JP2002270248A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)
  • Tests Of Electric Status Of Batteries (AREA)
  • Cameras In General (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Abstract

(57)【要約】 【課題】 電子機器の電池交換を検出して、電池残量を
より正確に表示することを目的とする。 【解決手段】 予め定められた電圧範囲で正常動作する
電子機器の電源電圧の状態を検出する電池電圧検出装置
において、電池の交換を検出する電池交換検出装置17
と、電池電圧を所定の電圧と比較判断する電池残量検知
手段16と、電子機器の動作終了時の電池電圧を記憶す
る不揮発メモリ28と、前記電池の交換検出装置17の
検出結果に応じて、電池残量検知回路16の検知動作を
制御するCPU8を備えたものである。
(57) Abstract: detecting the battery change of the electronic device, which aims to more accurately display the remaining battery capacity. SOLUTION: In a battery voltage detecting device for detecting a state of a power supply voltage of an electronic device operating normally in a predetermined voltage range, a battery replacement detecting device 17 for detecting replacement of a battery.
A battery remaining amount detecting means 16 for comparing and judging the battery voltage with a predetermined voltage; a non-volatile memory 28 for storing the battery voltage at the end of the operation of the electronic device; and a detection result of the battery replacement detecting device 17. And a CPU 8 for controlling the detection operation of the battery remaining amount detection circuit 16.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、携帯用の電子機器
に装着される電池電圧検出装置及び検出方法に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery voltage detecting device and a detecting method mounted on a portable electronic device.

【0002】[0002]

【従来の技術】従来、電池駆動のデジタルカメラは、そ
の電池残量を使用者に通知するため、特開平9−269
523号公報に開示されているように、電池の残量が所
定の値以下になったときに電池残量を音声報知やファイ
ンダー報知などが行われていた。また、電池残量を知る
電池の情報として電流、電圧、温度を検知して、現在使
用中の電池の残量を予測していた。
2. Description of the Related Art Conventionally, a battery-operated digital camera is disclosed in Japanese Patent Application Laid-Open No.
As disclosed in Japanese Patent Application Publication No. 523, when the remaining amount of the battery becomes equal to or less than a predetermined value, the battery remaining amount is notified by voice or finder. Also, current, voltage, and temperature are detected as battery information for knowing the remaining battery level, and the remaining battery level of the currently used battery is predicted.

【0003】[0003]

【発明が解決しようとする課題】一般的にデジタルカメ
ラの電池電圧検出装置では、電池残量を知る手段として
電池電圧から予測して残量表示を行い電池電圧が規定の
電圧以下になれば、誤動作を防ぐためマイコンにより警
告表示をしてデジタルカメラ本体の電源を切っていた。
Generally, in a battery voltage detecting device of a digital camera, as a means for knowing the remaining battery level, the battery voltage is predicted from the battery voltage and the remaining battery level is displayed. In order to prevent malfunction, the microcomputer displayed a warning and turned off the digital camera.

【0004】電池には内部抵抗による電圧低下があり、
消費電流の大きな撮影状態において電池電圧が低くなっ
て使えなくなった電池でも、消費電流の小さな再生状態
では電池の内部抵抗による電圧低下が小さく、電圧検出
だけでは電池容量が十分残った残量表示を示していた。
A battery has a voltage drop due to internal resistance.
Even if the battery voltage becomes too low in the shooting mode where the current consumption is large and the battery cannot be used, the voltage drop due to the internal resistance of the battery is small in the playback state where the current consumption is small, and the remaining capacity display with sufficient battery capacity can be obtained only by detecting the voltage. It showed.

【0005】また、電池電圧検出装置の電池残量表示で
は無くなった電池をしばらく放置しておくと、電池の電
圧が復活して電池残量があるように表示され、使用者は
一度使用されて残量が無くなった電池か新しい電池なの
か識別できなかった。このため一度使用された電池で
は、電源投入時に十分な残量表示をしていても撮影時に
急激に電圧が低下して撮影ができなくなることがあっ
た。
Further, the keep left for a while the battery runs out in battery level of the battery voltage detection device, appears to be a battery residual amount is revived voltage of the battery, the user is used once It was not possible to identify whether the battery was dead or a new one. For this reason, in the case of a battery that has been used once, even when a sufficient remaining amount is displayed when the power is turned on, the voltage suddenly drops during shooting, and shooting may not be performed.

【0006】[0006]

【課題を解決するための手段】前記課題を解決するため
に、本発明の電池電圧検出装置は、予め定められた電圧
範囲で正常動作する電子機器の電池電圧の状態を検出す
る電池電圧検出装置において、電池の交換を検出する電
池交換検出手段と、電池電圧を所定の電圧と比較判断す
る電池残量検知手段と、電子機器の動作終了時の電池電
圧を記憶するメモリ手段と、前記電池の交換検出手段の
検出結果に応じて、前記電池残量検知手段の検知動作を
制御するCPUを備えたことを特徴としたものである。
In order to solve the above problems SUMMARY OF THE INVENTION The battery voltage detecting device of the present invention, a battery voltage detector for detecting a state of the battery voltage of the electronic device which normally operates at a voltage within a predetermined range A battery replacement detecting means for detecting battery replacement, a battery remaining amount detecting means for comparing and determining the battery voltage with a predetermined voltage, a memory means for storing a battery voltage at the end of operation of the electronic device, in accordance with the detection result of the replacement detection unit, it is obtained by comprising the CPU for controlling the operation of detecting the battery remaining amount detecting means.

【0007】本発明によれば、電池が交換されたことを
検出し記憶し、一度電池が使い切られた場合にはメモリ
手段にその情報を書き込み、電池が交換されるまで電子
機器本体の電源の投入を禁止することも可能になり、ま
た、使用途中の電池の場合には最後に電源を切った状態
の電圧をメモリ手段に記憶しておき、電池が交換される
まで最後に電源を切った状態から残量表示を継続して行
うことにより、電池の残量表示がより正確に行える電池
電圧検出装置を提供できる。
According to the present invention, the fact that the battery has been replaced is detected and stored, and when the battery has been used up, the information is written into the memory means, and the power supply of the electronic device main body is maintained until the battery is replaced. It is also possible to prohibit turning on the battery, and in the case of a battery in use, the voltage in the state where the power was last turned off is stored in the memory means, and the power is finally turned off until the battery is replaced. By continuously displaying the remaining amount from the state, it is possible to provide a battery voltage detecting device capable of more accurately displaying the remaining amount of the battery.

【0008】[0008]

【発明の実施の形態】以下、本発明の詳細を図面に基づ
いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the drawings.

【0009】(実施の形態1)図1は携帯型電子機器で
あるデジタルカメラのブロック構成図であり、図2は、
図1における電池交換検出装置の一実施の形態を、図
4、図5、図6、図7は電池残量の検出方法を示すフロ
ーチャート、図8は電池残量表示の一例を示す図であ
る。
(Embodiment 1) FIG. 1 is a block diagram of a digital camera which is a portable electronic device, and FIG.
4, 5, 6, and 7 are flowcharts showing a method of detecting a remaining battery level, and FIG. 8 is a diagram showing an example of a remaining battery level display. .

【0010】図1において、デジタルカメラ1には撮影
レンズ2が取り付けられ、撮影レンズ2の光軸上に撮影
された光学像を光電変換する光電変換素子であるCCD
3が配置される。光電変換された画像データはA/D回
路4によりアナログデータからデジタルデータに変換さ
れる。デジタルデータに変換された画像データはメモリ
5に格納される。メモリ5に格納された画像データはデ
ータを圧縮伸張する信号処理回路6により圧縮される。
In FIG. 1, a photographic lens 2 is attached to a digital camera 1 and a CCD which is a photoelectric conversion element for photoelectrically converting an optical image photographed on the optical axis of the photographic lens 2.
3 are arranged. Image data converted photoelectrically is converted into digital data from analog data by the A / D circuit 4. The image data converted into digital data is stored in the memory 5. The image data stored in the memory 5 is compressed by a signal processing circuit 6 for compressing and expanding the data.

【0011】切替装置7は中央演算装置であるCPU8
の判断により記録装置9へのアクセスの許可を制御す
る。信号処理回路6により圧縮された画像データは、切
替装置7を介して記録装置9に保存され、また、記録装
置9に記録された画像データは切替装置7を介して記録
装置9より読み出され信号処理回路6にてデータを伸張
されモニタ装置10にて表示される。
[0011] The switching device 7 is a central processing unit CPU8
Control of the access to the recording device 9 is controlled based on the judgment of. The image data compressed by the signal processing circuit 6 is stored in the recording device 9 via the switching device 7, and the image data recorded in the recording device 9 is read from the recording device 9 via the switching device 7. The data is expanded by the signal processing circuit 6 and displayed on the monitor device 10.

【0012】通信装置11は外部装置12とデータのや
りとりを可能とするもので、切替装置7は、通信装置1
1と記録装置9間のアクセスを制御しており、アクセス
許可されると記録装置9内のデータを外部装置12にデ
ータを送信したり、外部装置12から記録装置9に記録
するためのデータを受信する。
The communication device 11 enables the exchange of data with the external device 12.
1 and the recording device 9, and when the access is permitted, data in the recording device 9 is transmitted to the external device 12, and data for recording from the external device 12 to the recording device 9 is transmitted. Receive.

【0013】時計回路27は時計用電池26で動作し
て、CPU8を介して日付や時計データを画像データに
付加したり、モニタ装置10に表示する。
A clock circuit 27 is operated by a clock battery 26, and adds date and clock data to the image data via the CPU 8 and displays the data on the monitor device 10.

【0014】不揮発メモリ28は、CPU8に接続され
電池残量や電池が交換された情報を記憶する。
The non-volatile memory 28 is connected to the CPU 8 and stores the remaining battery power and information on the exchange of the battery.

【0015】電源装置13は交換可能な電池14や外部
電源端子15による外部からの電源の供給を切り替えて
モニタ装置10を始めとする各装置に必要な電源を供給
する。
The power supply device 13 switches the supply of external power from the replaceable battery 14 and the external power terminal 15 to supply necessary power to the monitor device 10 and other devices.

【0016】電源装置13内の残量検知回路16は電池
14の残量を監視して残量をCPU8に伝達し、電池交
換検出装置17は、電池14が交換されたことを検出す
る。
The remaining amount detecting circuit 16 in the power supply unit 13 monitors the remaining amount of the battery 14 and transmits the remaining amount to the CPU 8, and the battery replacement detecting device 17 detects that the battery 14 has been replaced.

【0017】CPU8は外部電源端子15からの電源供
給が無いときは、電池14の残量と電池交換の有無の情
報に基づいてモニタ装置10に電池残量の表示を行う。
すなわち、電池14の電圧がデジタルカメラ1の正常な
動作範囲を保証する電圧範囲にあるのか、正常動作範囲
の下限電圧にあるのか、電池が使い切っている状態なの
かを表示する。そして、電池電圧が正常動作範囲の下限
電圧より低い場合は、警告表示を行うとともに、電池交
換がされるまで、電源スイッチが入らないような制御を
行う。
The CPU8 when no power is supplied from the external power supply terminal 15, and displays the remaining battery capacity on the monitor 10 based on the information on the presence of the remaining amount and battery replacement of the battery 14.
That is, whether is in the voltage range which the voltage of the battery 14 is to ensure the normal operating range of the digital camera 1, whether in the lower limit voltage of the normal operating range, and displays whether the state in which the battery is used up. When the battery voltage is lower than the lower limit voltage of the normal operation range, a warning is displayed and control is performed so that the power switch is not turned on until the battery is replaced.

【0018】次に図2を用いて、電池交換を検出する電
池交換検出装置17について、動作を詳細に説明する。
Next, the operation of the battery replacement detecting device 17 for detecting battery replacement will be described in detail with reference to FIG.

【0019】図2において、21は充放電をするコンデ
ンサであり、18はコンデンサ21への充電回路、19
はコンデンサ21への放電回路で、20はコンデンサ2
1の充放電状態を検出する電圧検出回路で、以上より電
池交換検出装置17が構成される。又、24は電池14
が脱着される時の電池電圧検出端子であり、22は電池
交換検出装置17の入力端子(即ち、充電回路18の入
力端子)であり、23は電池交換検出装置17の出力端
子(すなわち、電圧検出回路20の出力端子)である。
[0019] In FIG 2, 21 is a capacitor for charging and discharging, 18 charging circuit to the capacitor 21, 19
Is a discharge circuit to the capacitor 21, and 20 is the capacitor 2
The battery replacement detection device 17 is constituted by the voltage detection circuit for detecting the charge / discharge state of No. 1 above. 24 is the battery 14
Is an input terminal of the battery replacement detection device 17 (that is, an input terminal of the charging circuit 18), and 23 is an output terminal (that is, voltage) of the battery replacement detection device 17. Output terminal of the detection circuit 20).

【0020】CPU8は、電池交換検出装置17の入力
端子(すなわち、充電回路18の入力端子)22に所定
の電圧値の第1の制御信号を送ってコンデンサ21の充
電を開始し、コンデンサ21のコンデンサ電圧を上昇さ
す。すなわち、Lレベルの電圧値を入力端子22に印加
し、充電回路18のトランジスタをオンにして、コンデ
ンサ21を充電する。
The CPU 8 sends a first control signal having a predetermined voltage value to an input terminal 22 of the battery replacement detection device 17 (that is, an input terminal of the charging circuit 18) to start charging the capacitor 21. Increase the capacitor voltage. That is, by applying a voltage of L level to the input terminal 22, and turns on the transistor of the charging circuit 18 to charge the capacitor 21.

【0021】このコンデンサ21に接続された電圧検出
回路20は、予め設定されたレベルに達した電圧が入力
されると出力端子23がHレベルからLレベルにセット
される。CPU8は、出力端子23の電圧をモニタして
HレベルからLレベルになれば、電池交換検出装置17
が初期状態になったと判断し第1の所定の電圧を有する
制御信号を入力端子22に入力するのを停止してコンデ
ンサ21への充電を停止する。
[0021] The capacitor 21 voltage detecting circuit 20 connected to the output terminal 23 and the voltage reaches a predetermined level is input is set from the H level to L level. The CPU 8 monitors the voltage of the output terminal 23 and, when the voltage changes from the H level to the L level, the battery replacement detecting device 17.
Is determined to be in the initial state, the input of the control signal having the first predetermined voltage to the input terminal 22 is stopped, and the charging of the capacitor 21 is stopped.

【0022】次に、電池14が交換される場合の動作を
説明する。電池14が外され新しい電池が装着された場
合、電池14の電圧による第2の制御信号が電池検出端
子24に入力される。これにより放電回路19のトラン
ジスタがオン状態となり、コンデンサ21の電荷を放電
させコンデンサ21のコンデンサ電圧が低下する。そし
て、コンデンサ21に接続された電圧検出回路20の出
力はLレベルからHレベルになり(すなわち、出力端子
23がLレベルからHレベルへ変化する)、前記CPU
8は、電池が交換されたと判断する。コンデンサ29は
放電回路19のトランジスタをオン、オフするための充
放電用素子である。電池14の交換時、電池が外される
と放電回路19のトランジスタは、抵抗30で接地され
ているのでオフ状態で、コンデンサ21が充電状態を保
持し放電されないが、次に電池が装着されると電池検出
端子24がLレベルからHレベルの電圧変化となり、放
電回路19のトランジスタをオンさす。そして、コンデ
ンサ21の電荷を放電させ、電圧検出回路20のトラン
ジスタをオフさせ出力端子23をLからHにして出力端
子23にHレベルを検出して、電池交換されたことを検
出する。
Next, the operation when the battery 14 is replaced will be described. If the battery 14 is removed a new battery is attached, the second control signal according to the voltage of the battery 14 is input to the battery detection terminal 24. As a result, the transistor of the discharge circuit 19 is turned on, the electric charge of the capacitor 21 is discharged, and the capacitor voltage of the capacitor 21 decreases. Then, the output of the voltage detection circuit 20 connected to the capacitor 21 changes from the L level to the H level (that is, the output terminal 23 changes from the L level to the H level).
8 determines that the battery has been replaced. Capacitor 29 turns on the transistor of the discharge circuit 19, a charge and discharge element for turning off. When the battery 14 is replaced, when the battery is removed, the transistor of the discharge circuit 19 is grounded by the resistor 30 and is in the off state, and the capacitor 21 keeps the charged state and is not discharged. Then, the voltage of the battery detection terminal 24 changes from the L level to the H level, and the transistor of the discharge circuit 19 is turned on. Then, the charge of the capacitor 21 is discharged, the transistor of the voltage detection circuit 20 is turned off, the output terminal 23 is changed from L to H, the H level is detected at the output terminal 23, and it is detected that the battery is replaced.

【0023】電池14が交換されない場合は、放電回路
19のトランジスタがオン状態とならず、コンデンサ2
1はコンデンサ電圧を維持し電圧検出回路20の出力
(すなわち、出力端子23)はLレベルで変化しない。
また、電池14が交換された場合は前述のように、コン
デンサ21の電荷は放電されコンデンサ電圧が低下し、
電圧検出回路20の出力(すなわち、出力端子23)は
LレベルからHレベルになる。
[0023] If the battery 14 is not replaced, the transistor of the discharge circuit 19 is not turned on, the capacitor 2
1 maintains the capacitor voltage, and the output of the voltage detection circuit 20 (that is, the output terminal 23) does not change at the L level.
Further, as described above when the battery 14 is replaced, the charge of capacitor 21 is a capacitor voltage is discharged decrease,
The output of the voltage detection circuit 20 (that is, the output terminal 23) changes from L level to H level.

【0024】このように電源装置13が投入されている
ときは、CPU8の第1の制御信号を入力端子22に印
加してコンデンサ21を充電し、電源装置13が切断さ
れているときには、交換された電池14の電池電圧によ
りコンデンサ21を放電させる。このように電池の交換
の有無をコンデンサ21の充放電電圧の状態で判断する
ため、前記電源装置13が停止して前記CPU8の電源
が切れている間や外部電源で動作中に電池が交換されて
も、前記CPU8はコンデンサ21に接続された電圧検
出回路20の出力端子23の電圧レベルを読みに行くこ
とにより電池交換の有無が検出可能となる。
As described above, when the power supply 13 is turned on, the first control signal of the CPU 8 is applied to the input terminal 22 to charge the capacitor 21. When the power supply 13 is disconnected, the power supply 13 is replaced. The capacitor 21 is discharged by the battery voltage of the battery 14 that has been used. As described above, since the presence or absence of battery replacement is determined based on the state of the charge / discharge voltage of the capacitor 21, the battery is replaced while the power supply unit 13 is stopped and the CPU 8 is turned off or is operated by an external power supply. However, the CPU 8 can detect whether or not the battery has been replaced by reading the voltage level of the output terminal 23 of the voltage detection circuit 20 connected to the capacitor 21.

【0025】次に図3を用いて、電池交換検出装置17
の他の実施例を説明する。
Next, referring to FIG.
Another embodiment will be described.

【0026】電池交換検出装置17は、フリップフロッ
プ回路25、時計用電池26から構成される。時計用電
池26は電池または大容量コンデンサ等を使用し、デジ
タルカメラ1の時計回路27のバックアップ用である。
また、時計用電池26を電池交換検出装置17のフリッ
プフロップ回路25の電源として兼用することにより、
電池交換検出装置17の電源が不要になる。
The battery replacement detecting device 17 comprises a flip-flop circuit 25 and a clock battery 26. The clock battery 26 uses a battery or a large-capacity capacitor, and is used as a backup for the clock circuit 27 of the digital camera 1.
Also, by using the clock battery 26 as a power source for the flip-flop circuit 25 of the battery replacement detection device 17,
The power supply of the battery replacement detection device 17 becomes unnecessary.

【0027】最初に、CPU8は所定の電圧値を有する
第1の制御信号であるLレベルの電圧を電池交換検出装
置17の入力端子22(すなわち、フリップフロップ回
路25のセット端子S)に送出して、フリップフロップ
回路25をセットする。この時、電池交換検出装置17
の出力端子23(すなわち、フリップフロップ回路25
の反転出力端子/Q)はLレベルにセットされる。
First, the CPU 8 sends an L level voltage, which is a first control signal having a predetermined voltage value, to the input terminal 22 of the battery replacement detection device 17 (ie, the set terminal S of the flip-flop circuit 25). Then, the flip-flop circuit 25 is set. At this time, the battery replacement detection device 17
Output terminal 23 (ie, flip-flop circuit 25)
Are set to L level.

【0028】電池14が交換されたときは、電池14の
電圧による第2の制御信号(HからLへ電圧変化し、電
池が接続されてHに変化)が電池電圧検出端子24(即
ち、フリップフロップ25のリセット端子R)に入力さ
れる。これによりフリップフロップ回路25のリセット
入力端子にLレベルが入力されてリセットされ、電池交
換検出装置17の出力端子23はLレベルからHレベル
にリセットされる。
When the battery 14 is replaced, a second control signal (voltage changes from H to L and changes to H when the battery is connected) based on the voltage of the battery 14 is applied to the battery voltage detection terminal 24 (ie, flip-flop). Is input to the reset terminal R) of the loop 25. Thus L level is input is reset to the reset input terminal of the flip-flop circuit 25, the output terminal 23 of the battery exchange detection unit 17 is reset from the L level to the H level.

【0029】CPU8は、コンデンサ21を使用した実
施の形態の時と同様に出力端子23の電圧レベルを読み
に行くことにより電池の交換の有無が検出可能となる。
また、独立した時計用電池26で動作するため電源装置
13が切れているときや外部電源端子15に外部電源が
供給されてデジタルカメラ1が動作中であっても、電池
の交換の有無が検出可能となる。
The CPU 8 can detect whether or not the battery has been replaced by reading the voltage level of the output terminal 23 as in the case of the embodiment using the capacitor 21.
Further, even when the digital camera 1 is operating when the power supply device 13 is cut off or the external power supply is supplied to the external power supply terminal 15 because the operation is performed by the independent clock battery 26, it is possible to detect whether or not the battery is replaced. It can become.

【0030】次に図4、図5、図6、図7、図8を用い
て図1と対比させ、電池電圧検出方法と残量表示切換の
動作について説明する。
Next, the battery voltage detection method and the operation of switching the remaining amount display will be described with reference to FIGS. 4, 5, 6, 7, and 8 in comparison with FIG.

【0031】図4において、デジタルカメラ1が内蔵電
池を使用して駆動している場合を説明する。ステップa
1は、電池の交換がされているかの交換検出処理開始で
あり、a2のステップは、電池が交換されているかの判
断を行い、電池交換が行われていなければ、ステップa
3で不揮発メモリ28から前回終了時の電池電圧情報の
読み込みを行い、前回の電池電圧をCPU8が読み込ん
だので、ステップa4で電池交換検出装置17の初期化
を行う。又、ステップa2で電池交換が行われると、ス
テップa3へ飛ばずに、直接ステップa4で電池交換検
出装置17の初期化を行い、新しい電池でデジタルカメ
ラ1の動作を行い、通常の電池電圧を検出して電池残量
表示を行う。
Referring to FIG. 4, a case where the digital camera 1 is driven using a built-in battery will be described. Step a
1 is a start of the replacement detection process whether the battery has been replaced. In step a2, it is determined whether the battery has been replaced. If the battery has not been replaced, step a
In 3, the battery voltage information at the time of the previous end is read from the nonvolatile memory 28, and since the previous battery voltage was read by the CPU 8, the battery replacement detection device 17 is initialized in step a 4. When the battery is replaced in step a2, the battery replacement detection device 17 is directly initialized in step a4 without skipping to step a3, the digital camera 1 is operated with a new battery, and the normal battery voltage is reduced. Detect and display the remaining battery level.

【0032】図5は、図4のフローチャートのステップ
a2で、電池が交換されていない場合の電池残量検出動
作の詳細なフローチャートを示す。b1ステップは、電
残量表示1の処理開始であり、電池が交換されていなけ
れば、不揮発メモリ28から前回終了時の電池電圧情報
を読み込む。
FIG. 5 is a detailed flowchart of the battery remaining amount detecting operation when the battery has not been replaced in step a2 of the flowchart of FIG. b1 step is the start of the processing Denzan quantity display 1, if it is not replaced battery, reads battery voltage information of last time from the nonvolatile memory 28.

【0033】ここで説明を簡単にするために、各種所定
の電池電圧を、定義しておく。すなわち、前回デジタル
カメラ1の動作終了時の電池電圧をX(不揮発メモリ2
8に記録されている)、電池残量検知回路16で検知さ
れる実際の電池電圧をY、デジタルカメラの正常動作を
保証できる電池電圧をA、正常動作の下限の電池電圧を
B、数分間のみ使用可能な警告の電池電圧をCとする。
Here, for the sake of simplicity, various predetermined battery voltages are defined. That is, the battery voltage at the end of the previous operation of the digital camera 1 is represented by X (the nonvolatile memory 2).
8), the actual battery voltage detected by the battery level detection circuit 16 is Y, the battery voltage that can guarantee the normal operation of the digital camera is A, the battery voltage at the lower limit of the normal operation is B, and several minutes. Let C be the warning battery voltage that can only be used.

【0034】ステップb2で、前回終了時の電池電圧X
の電池残量判断を行う。不揮発メモリ28から読み出さ
れた電池電圧Xと所定の下限電圧Bと比較し、電池電圧
Xが下限電圧Bより大きくない時、すなわち、X<Bの
時は、前回のデジタルカメラ1動作時に電池を使い切っ
たと判断して、ステップb8へ飛び電池残量警告表示を
行う。図8(c)に警告表示例を示す。
[0034] In step b2, the battery voltage X at the time of the last end
The remaining battery level is determined. The battery voltage X read from the non-volatile memory 28 is compared with a predetermined lower limit voltage B. When the battery voltage X is not higher than the lower limit voltage B, that is, when X <B, the battery voltage X during the previous operation of the digital camera 1 Is determined to have been used up, and the process jumps to step b8 to display the remaining battery level warning. FIG. 8C shows a warning display example.

【0035】電池電圧Xが下限電圧Bより大きく、すな
わち、X>Bならば、ステップb3で、次の電池電圧の
判断を行う。ステップb3において、前回終了時の電池
電圧Xが正常動作を保証できる電池電圧Aより小さけれ
ば、すなわち、X<Aならばステップb6で下限電圧B
と比較する電池残量判断を行う。もし、前回終了時の電
池電圧X>Aならば、ステップb4で電池電池残量判断
を行う。
If the battery voltage X is higher than the lower limit voltage B, that is, if X> B, the next battery voltage is determined in step b3. In step b3, if the battery voltage X at the end of the previous time is lower than the battery voltage A that can guarantee normal operation, that is, if X <A, the lower limit voltage B in step b6
The remaining battery level is determined by comparing with the remaining battery level. If the battery voltage X at the end of the previous time is greater than A, the remaining battery charge is determined in step b4.

【0036】ステップb4では残量検知回路16で得ら
れた電池14の実際の電池電圧Yが、正常動作を保証で
きる電池電圧Aより大、すなわち、Y>Aならば、ステ
ップb5で、電池残量表示Aを実行し、正常動作範囲で
あることを表示する。図8(a)に電池残量が正常動作
範囲を示す満タン時の表示例を示す。
At step b4, if the actual battery voltage Y of the battery 14 obtained by the remaining amount detection circuit 16 is higher than the battery voltage A that can guarantee normal operation, that is, if Y> A, then at step b5, The quantity display A is executed to indicate that the operation range is normal. Battery level in FIG. 8 (a) shows a display example at the time of full indicating normal operating range.

【0037】電池電圧Y<Aならば、ステップb6で電
池残量判断を行い、電池残量検知回路16で得られた電
池電圧Yが、下限電圧Bより大、すなわちY>Bなら
ば、ステップb7で下限電圧であることを表示する。図
8(b)に電池電圧がAより小さくBより大の場合の残
量表示例を示す。電池電圧Y<Bならば、ステップb8
で警告電圧であることを表示する電池残量警告表示を示
す図8(c)の警告表示を行う。なお、電池残量表示
は、もちろん、これ以外の表示方法で3段階表示を行う
ことができ、例えば何らかの印の数で満タン時2つの
印、次を1つの印で、警告をビックリマークなどを使用
して表示できる。
The battery voltage Y <If A, perform the remaining battery level determination in step b6, the battery voltage Y obtained in the battery remaining amount detection circuit 16, from the large lower limit voltage B, that Y> if B, step The lower limit voltage is indicated by b7. FIG. 8B shows a display example of the remaining amount when the battery voltage is smaller than A and larger than B. If the battery voltage Y <B, step b8
A warning display of FIG. 8C showing a battery remaining amount warning display for indicating that the voltage is the warning voltage is performed. Of course, the remaining battery level can be displayed in three levels using other display methods. For example, when the number of signs is full, two marks are displayed, the next is indicated by one mark, and a warning is indicated by a surprised mark. Can be displayed using

【0038】図4で、電池交換の判断のステップa2
で、電池交換がされたと判断した後の通常の電池残量表
示の場合のフローを図6を用いて詳細に説明する。図6
において、ステップc1は電池残量表示2の開始ステッ
プであり、ステップc2で動作中の電池14の電池電圧
Yの電池残量判断を行い、電池残量検知回路16で得ら
れた電池14の電池電圧Yが正常電圧Aより大、すなわ
ち、Y>Aならば、ステップc3で電池14の電池電圧
が正常電圧Aであることを表示する電池残量表示を行う
(すなわち、図8(a)の満タン表示)。Y<Aなら
ば、ステップc4で電池残量判断を行い、電池残量検知
回路16で得られた電池14の電池電圧Yが下限電圧B
より大、すなわち、Y>Bならば、ステップc5で下限
電圧Bであることを表示する電池残量表示を行う(図8
(b)の表示)。Y<Bならば、ステップc6で電池1
4の残量警告表示(図8(c)の警告表示)を行う。
In FIG. 4, step a2 for determining battery replacement is performed.
The flow of the normal battery remaining amount display after determining that the battery has been replaced will be described in detail with reference to FIG. FIG.
In step c1, a step for starting the battery remaining amount display 2 is performed. In step c2, the battery remaining amount of the battery voltage Y of the operating battery 14 is determined, and the battery remaining amount of the battery 14 obtained by the battery remaining amount detection circuit 16 is determined. If the voltage Y is higher than the normal voltage A, that is, if Y> A, a battery remaining amount display indicating that the battery voltage of the battery 14 is the normal voltage A is performed in step c3 (that is, FIG. 8A). Full display). Y <A, then the perform battery residual quantity determined in step c4, the battery voltage Y is a lower limit voltage B of the battery 14 obtained in the battery remaining amount detection circuit 16
If it is larger, that is, if Y> B, the remaining battery level is displayed in step c5 to indicate that the lower limit voltage B is reached (FIG. 8)
(B) display). If Y <B, battery 1 in step c6
4 is displayed (warning display of FIG. 8C).

【0039】デジタルカメラ1の動作終了時には、図7
に示すように、ステップd1で電池残量記憶処理を開始
し、ステップd2で電池14の電池電圧を不揮発メモリ
28に書き込み、電池残量の情報を記憶する。
At the end of the operation of the digital camera 1, FIG.
As shown in (1), the battery remaining amount storage process is started in step d1, the battery voltage of the battery 14 is written in the nonvolatile memory 28 in step d2, and information on the battery remaining amount is stored.

【0040】これにより、電池交換がされていない場合
には、前回終了時の電池残量の情報を利用できることに
より、より正確な電池残量表示を行うことが可能となっ
た。
As a result, when the battery has not been replaced, the information on the remaining battery level at the end of the previous time can be used, so that a more accurate display of the remaining battery level can be performed.

【0041】[0041]

【発明の効果】以上のように、本発明の電池電圧検出装
置及びその検出方法によれば、電池が交換されているか
どうか検出して、交換されていない場合は、電子機器の
前回の動作終了状態が記憶されており、その電池情報を
利用することができるので、正確な電池残量表示を行う
ことができる。
As described above, according to the battery voltage detecting device and the detecting method of the present invention, it is detected whether or not the battery has been replaced, and if not, the previous operation of the electronic device is terminated. Since the state is stored and the battery information can be used, an accurate remaining battery level can be displayed.

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

【図1】本発明の実施の形態1における電池交換検出装
置を含むデジタルカメラのブロック構成図
FIG. 1 is a block diagram of a digital camera including a battery replacement detection device according to a first embodiment of the present invention.

【図2】本発明の実施の形態1における電池交換検出装
置の詳細ブロック図
Detailed block diagram of a battery exchange detection device in the first embodiment of the present invention; FIG

【図3】本発明の他の実施の形態における電池交換検出
装置の詳細ブロック図
Detailed block diagram of a battery exchange detection device according to another embodiment of the present invention; FIG

【図4】本発明の実施の形態の電池電圧検出方法のフロ
ーチャート
FIG. 4 is a flowchart of a battery voltage detection method according to an embodiment of the present invention.

【図5】本発明の実施の形態1の電池が交換されていな
い場合の電池電圧検出方法を示すフローチャート
Flowchart showing a battery voltage detection method in the case where the battery of the first embodiment of the present invention; FIG not replaced

【図6】本発明の実施の形態1の電池が交換された場合
の電池電圧検出方法を示すフローチャート
FIG. 6 is a flowchart showing a battery voltage detecting method when the battery is replaced according to the first embodiment of the present invention;

【図7】本発明の実施の形態1の電池電圧検出方法の動
作終了時のフローチャート
FIG. 7 is a flowchart of operations at the end of the battery voltage detection method of Embodiment 1 of the present invention

【図8】本発明の実施の形態1における電池残量表示法
の一例を示す図
Illustrates an example of a battery remaining amount display method according to the first embodiment of the present invention; FIG

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

1 デジタルカメラ(電子機器) 8 CPU 10 モニタ装置 13 電源装置 14 電池 15 外部電源端子 16 電池残量検知回路 17 電池交換検出装置 18 充電回路 19 放電回路 20 電圧検出回路 21、29 コンデンサ 22 電池検出装置の入力端子 23 電池検出装置の出力端子 24 電池検出端子 25 フリップフロップ回路 26 時計用電池 27 時計回路 28 不揮発メモリ 1 Digital Camera (Electronic Equipment) 8 CPU 10 Monitor 13 Power Supply 14 Battery 15 External Power Terminal 16 Battery Remaining Detector 17 Battery Replacement Detector 18 Charger 19 Discharge Circuit 20 Voltage Detector 21, 29 Capacitor 22 Battery Detector Input terminal 23 output terminal of battery detection device 24 battery detection terminal 25 flip-flop circuit 26 clock battery 27 clock circuit 28 non-volatile memory

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 2G016 CA04 CB12 CC03 CC04 CC06 CC14 CC16 CC27 CC28 CD04 CD10 2H054 AA01 2H102 AB02 5G003 BA01 DA02 EA05 GA01 GC05 5H030 AA06 AS11 FF44 FF51  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 2G016 CA04 CB12 CC03 CC04 CC06 CC14 CC16 CC27 CC28 CD04 CD10 2H054 AA01 2H102 AB02 5G003 BA01 DA02 EA05 GA01 GC05 5H030 AA06 AS11 FF44 FF51

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 予め定められた電圧範囲で正常動作する
電子機器の電池電圧の状態を検出する電池電圧検出装置
において、電池の交換を検出する電池交換検出手段と、
電池電圧を所定の電圧と比較判断する電池残量検知手段
と、電子機器の動作終了時の電池電圧を記憶するメモリ
手段と、前記電池交換検出手段の検出結果に応じて前記
電池残量検知手段の検知動作を制御するCPUを備えた
ことを特徴とする電池電圧検出装置。
1. A battery voltage detecting device for detecting a battery voltage state of an electronic device that normally operates in a predetermined voltage range, wherein a battery replacement detecting unit detects battery replacement.
Battery level detecting means for comparing and determining the battery voltage with a predetermined voltage; memory means for storing the battery voltage at the end of the operation of the electronic device; and battery level detecting means in accordance with the detection result of the battery replacement detecting means A battery voltage detecting device comprising a CPU for controlling the detecting operation of the battery voltage.
【請求項2】 電池交換検出手段は、CPUから所定の
制御信号が入力され、前記電池交換検出手段の出力を所
定の論理レベルにセットして初期化した後、前記初期化
状態に対応した論理状態がリセットされるかどうかを検
出して電池交換の有無を検出することを特徴とする請求
項1に記載の電池電圧検出装置。
2. A battery replacement detection unit receives a predetermined control signal from a CPU, sets an output of the battery replacement detection unit to a predetermined logic level and initializes the logic, and then executes a logic corresponding to the initialization state. 2. The battery voltage detecting device according to claim 1, wherein whether the battery is replaced is detected by detecting whether the state is reset.
【請求項3】 予め定められた電圧範囲で正常動作する
電子機器の電池電圧の状態を検出する電池電圧検出装置
において、電池の交換を検出する電池交換検出手段と、
電池電圧を所定の電圧と比較判断する電池残量検知手段
と、電子機器の動作終了時の電池電圧を記憶するメモリ
手段と、前記電池交換検出手段の検出結果に応じて電池
電圧検出動作を制御するCPUを備え、前記電池交換検
出手段の出力により、電池交換がされていないことが検
出されると、前記メモリ手段からの電池電圧値を読み出
し、該電池電圧と所定の電圧を比較して、電池残量表示
を行うことを特徴とする電池電圧検出装置。
3. A battery voltage detecting device for detecting a battery voltage state of an electronic device that normally operates in a predetermined voltage range, wherein a battery replacement detecting means detects battery replacement.
Battery remaining amount detecting means for comparing and determining the battery voltage with a predetermined voltage; memory means for storing the battery voltage at the end of the operation of the electronic device; and battery voltage detecting operation controlled in accordance with the detection result of the battery replacement detecting means When a battery replacement is detected by the output of the battery replacement detection unit, the battery voltage value is read from the memory unit, and the battery voltage is compared with a predetermined voltage. A battery voltage detecting device for displaying a remaining battery level.
【請求項4】 予め定められた電圧範囲で正常動作する
電子機器の電池電圧の状態を検出する電池電圧検出方法
において、電池の交換の有無を検出し、電池交換されて
いる時は、電池交換検出手段を初期化し、電池交換され
ていない時は、電子機器の前回電池動作終了時の電池電
圧が記憶されているメモリ手段からの電池電圧を読み出
し、該電池電圧と所定の電圧を比較して、電池残量表示
を行うことを特徴とする電池電圧検出方法。
4. A battery voltage detection method for detecting a battery voltage state of an electronic device that normally operates in a predetermined voltage range, detects whether or not the battery is replaced, and replaces the battery when the battery is replaced. Initialize the detecting means, when the battery is not replaced, read the battery voltage from the memory means in which the battery voltage at the time of the last battery operation of the electronic device is stored, and compare the battery voltage with a predetermined voltage. And a battery voltage detection method, wherein a remaining battery level is displayed.
【請求項5】 CPUから所定の制御信号を入力し、前
記電池交換検出手段の出力を所定の論理レベルにセット
して初期化した後、前記初期化状態に対応した論理状態
がリセットされたかどうかを検出して電池交換の有無を
検出することを特徴とする請求項4に記載の電池電圧検
出方法。
5. After a predetermined control signal is input from a CPU, an output of the battery replacement detection means is set to a predetermined logic level and initialized, and then whether a logic state corresponding to the initialized state has been reset. The battery voltage detection method according to claim 4, wherein the presence or absence of battery replacement is detected by detecting the battery voltage.
JP2001064603A 2001-03-08 2001-03-08 Battery voltage detecting device and method Pending JP2002270248A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001064603A JP2002270248A (en) 2001-03-08 2001-03-08 Battery voltage detecting device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001064603A JP2002270248A (en) 2001-03-08 2001-03-08 Battery voltage detecting device and method

Publications (1)

Publication Number Publication Date
JP2002270248A true JP2002270248A (en) 2002-09-20

Family

ID=18923397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001064603A Pending JP2002270248A (en) 2001-03-08 2001-03-08 Battery voltage detecting device and method

Country Status (1)

Country Link
JP (1) JP2002270248A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007147543A (en) * 2005-11-30 2007-06-14 D & M Holdings Inc Battery drive device, and driving method therefor
JP2010170779A (en) * 2009-01-21 2010-08-05 Hitachi Koki Co Ltd Battery pack and tool system
CN102375127A (en) * 2011-11-11 2012-03-14 深圳市中兴移动通信有限公司 Method for displaying residual battery electricity quantity of mobile terminal
JP2018081100A (en) * 2016-03-01 2018-05-24 カシオ計算機株式会社 Electronic device, battery remaining amount management method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007147543A (en) * 2005-11-30 2007-06-14 D & M Holdings Inc Battery drive device, and driving method therefor
JP2010170779A (en) * 2009-01-21 2010-08-05 Hitachi Koki Co Ltd Battery pack and tool system
CN102375127A (en) * 2011-11-11 2012-03-14 深圳市中兴移动通信有限公司 Method for displaying residual battery electricity quantity of mobile terminal
JP2018081100A (en) * 2016-03-01 2018-05-24 カシオ計算機株式会社 Electronic device, battery remaining amount management method, and program
US10700539B2 (en) 2016-03-01 2020-06-30 Casio Computer Co., Ltd. Electronic device, battery remaining amount management method, and recording medium

Similar Documents

Publication Publication Date Title
US7352152B2 (en) Portable electronic appliance with a battery having a wireless tag containing battery information
JP4204446B2 (en) Battery pack, battery protection processing device, and activation control method for battery protection processing device
US6753921B1 (en) Camera and camera system
US20010011883A1 (en) Battery pack
US7765334B2 (en) Electronic apparatus for use with removable storage medium, control method therefor, and program for implementing the method
US9043175B2 (en) Electronic apparatus
US5764031A (en) Method and apparatus for supplying a power source to an electronic apparatus
JPH11191437A (en) Battery identification device and its identifying method
WO2003075088A1 (en) Electronic device and control method
JP4215985B2 (en) Electronic device, display control method, recording medium, and program
US20090164153A1 (en) Apparatus using a battery
JP2002270248A (en) Battery voltage detecting device and method
JP2016208648A (en) Electronic device, control method and program
JP2807793B2 (en) Power system
JP3463650B2 (en) Mobile devices and battery packs used for them
US5528335A (en) Battery check device for a camera
JP5127506B2 (en) Electronic device and charging control method in electronic device
JP4508721B2 (en) Mobile device and control method thereof
JP2003084050A (en) Method of checking battery in digital camera
JP4253089B2 (en) Imaging device
JP3112507B2 (en) Battery operated device
JP4321168B2 (en) Battery capacity display device and camera
JPH08317326A (en) Digital camera
JPH06335178A (en) Power supply circuit and charger of electronic information apparatus
JP2003186098A (en) Camera