JPH11272369A - Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method - Google Patents

Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method

Info

Publication number
JPH11272369A
JPH11272369A JP10072780A JP7278098A JPH11272369A JP H11272369 A JPH11272369 A JP H11272369A JP 10072780 A JP10072780 A JP 10072780A JP 7278098 A JP7278098 A JP 7278098A JP H11272369 A JPH11272369 A JP H11272369A
Authority
JP
Japan
Prior art keywords
battery
portable electronic
electronic device
remaining capacity
malfunction
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
JP10072780A
Other languages
Japanese (ja)
Inventor
Tamio Yamada
民夫 山田
Yuichi Inoue
祐一 井上
Kazuhiro Koyama
和宏 小山
Atsushi Hirotomi
淳 広富
Masahiro Noguchi
正博 野口
Atsushi Muto
淳 武藤
Noboru Kawai
昇 川合
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.)
Seiko Instruments Inc
Original Assignee
Seiko Instruments 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 Seiko Instruments Inc filed Critical Seiko Instruments Inc
Priority to JP10072780A priority Critical patent/JPH11272369A/en
Publication of JPH11272369A publication Critical patent/JPH11272369A/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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Calculators And Similar Devices (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Tests Of Electric Status Of Batteries (AREA)
  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To accurately detect the current supply capacity of a battery and to autonomously stop the operation of a portable electronic instrument before arrival at a level disabling a normal operation. SOLUTION: Detection data indicating battery voltage obtained by allowing a fixed load current to flow into a battery 11 set up in a portable electronic instrument 20 is converted into maximum potential drop voltage supposed when a heavy load current is allowed to flow into the battery 11, the remaining capacity of the battery 11 is detected based on the converted result, and when the remaining capacity is less than a prescribed level, an access from a CPU 1 to a flash RAM 4 is inhibited. The remaining capacity of the battery 11 can be detected also by previously storing the real data of each current consumption required for the operation of each unit and the stand-by time of the unit, calculating the power consumption of the unit at each operation of the unit by referring to the real data and integrating respective calculated values.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、携帯用電子機器の
誤動作防止方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for preventing a malfunction of a portable electronic device.

【0002】[0002]

【従来の技術】近年、多機能化の要求に応えるため、腕
時計、電子手帳の如く電池を電源として用いている携帯
用電子機器において、CPU及び該CPUで実行される
プログラムを格納しておくためのメモリ(例えばRAM
やフラッシュメモリ)を搭載し所要の多機能を実現する
ようにしたものが公知である。
2. Description of the Related Art In recent years, in order to respond to demands for multifunctionality, a portable electronic device using a battery as a power source, such as a wristwatch or an electronic organizer, has a CPU and a program to be executed by the CPU. Memory (for example, RAM
And a flash memory) for realizing required multi-functions.

【0003】このような携帯用電子機器にあっては、電
池切れによりメモリの内容が消失してしまうことになる
ので、その電池の残存容量を使用者が把握していること
が望まれる。ところで、電池の容量は、同一の型式のも
のであっても製造メーカーによる製品の品質のバラツキ
や使用する環境温度による消耗度合の変化があるため、
画一的に使用時間のみで電池交換しても電池切れによる
不具合の発生を確実に防止することはできず、携帯用電
子機器の突然の誤動作を生じさせる虞があった。
In such a portable electronic device, since the contents of the memory are lost due to the exhaustion of the battery, it is desired that the user know the remaining capacity of the battery. By the way, the capacity of the battery, even if it is of the same model, is subject to variations in the quality of the product by the manufacturer and changes in the degree of consumption due to the environmental temperature used,
Even if the battery is replaced only for a uniform usage time, it is not possible to reliably prevent the occurrence of a problem due to battery exhaustion, and there is a possibility that a sudden malfunction of the portable electronic device may occur.

【0004】このため、従来では、電池の残存容量を検
知してこれを管理する方法として、電池電圧を検出し
て、放電初期と放電末期との電位違いから放電末期電位
を検出したとき電池寿命の警告報知を行うようにした方
法や、電池から回路に流れ込む電流を電池と回路の間に
挿入した微少抵抗の電位降下として検出し、その電位降
下の持続時間から電池放電量を求め、電池寿命及び電池
残量表示を行うようにした方法が公知である。
[0004] Therefore, conventionally, as a method of detecting and managing the remaining capacity of a battery, a battery voltage is detected, and a battery life is detected when a potential at the end of discharge is detected based on a difference in potential between the initial discharge and the final discharge. And the current flowing from the battery into the circuit is detected as the potential drop of the micro-resistance inserted between the battery and the circuit, and the amount of battery discharge is determined from the duration of the potential drop to determine the battery life. A method for displaying the remaining battery power is known.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、前者の
方法によると、携帯用電子機器が低消費電流モードで動
作している場合、放電初期と放電末期との電位差が小さ
いため、電池の容量の検出が困難である。このため、電
池の容量がまだ充分であると誤判断されてしまい、その
後ランプを点灯するなど、携帯用電子機器が高消費電流
モードで動作した場合に電池電圧が著しく低下し、携帯
用電子機器が誤動作したり、あるいは、使用温度環境が
急変するなどして電池電圧が著しく低下し、携帯用電子
機器が誤動作したり動作不能に陥ってしまったりすると
いう不具合があった。
However, according to the former method, when the portable electronic device operates in the low current consumption mode, the potential difference between the initial stage and the final stage of the discharge is small, so that the capacity of the battery is detected. Is difficult. For this reason, it is erroneously determined that the capacity of the battery is still sufficient, and when the portable electronic device is operated in the high current consumption mode, for example, when the lamp is turned on, the battery voltage is significantly reduced, and the portable electronic device However, there has been a problem that the portable electronic device malfunctions or becomes inoperable due to a malfunction, or a sudden change in the operating temperature environment, causing a significant drop in the battery voltage.

【0006】また、後者の方法によると、携帯用電子機
器が低消費電流モード動作時のとき、電池から回路に流
れ込む電流を電池と回路の間に挿入した微少抵抗の電位
降下が極めて小さいので、その検出回路を付加しなけれ
ばならず、回路のコストアップ、回路全体の消費電流増
加を招くという問題点を有している。さらに、新たにセ
ットされた電池の初期容量が一定でないと電池寿命、電
池残量表示が正確に行えないため、同一型式の電池であ
っても製造メーカーによって電池容量がばらついたりす
ると電池の残存容量が殆どないにも拘らず電池の容量が
充分である等の残量表示が出てしまう虞が生じる。
According to the latter method, when the portable electronic device is operating in the low current consumption mode, the current flowing from the battery to the circuit is extremely small, and the potential drop of the minute resistance inserted between the battery and the circuit is extremely small. The detection circuit has to be added, which causes a problem that the cost of the circuit is increased and the current consumption of the entire circuit is increased. In addition, if the initial capacity of a newly set battery is not constant, the battery life and remaining battery capacity cannot be accurately displayed, so even if the battery capacity varies depending on the manufacturer even for batteries of the same type, the remaining capacity of the battery However, there is a possibility that a remaining amount display such as a sufficient capacity of the battery may be displayed even though there is almost no battery.

【0007】このほか、回路を幾つかの回路モジュール
に分け、それぞれの回路モジュールの動作時、及び待機
時の消費電流を既定値としてROMに定めておき、それ
ら回路モジュールの動作モードと動作時間を監視して電
池消費電力を推定し、電池寿命や電池残量表示を行う方
法も提案されているが、やはり新たにセットされた電池
の初期容量が一定でないと電池寿命、電池残量表示が正
確に行えないという問題を有しているほか、幾つかの回
路モジュールに分けられた、それぞれの回路モジュール
の動作時、待機時の消費電流の既定値のバラツキが小さ
くできない場合にあっては、電池の残存容量の推定を正
確に行うことができないという問題点を有している。
In addition, the circuit is divided into several circuit modules, and the current consumption during operation and during standby of each circuit module is determined in ROM as a default value, and the operation mode and operation time of these circuit modules are determined. A method of monitoring and estimating the battery power consumption and displaying the battery life and the remaining battery level has also been proposed. However, if the initial capacity of the newly set battery is not constant, the battery life and the remaining battery level display will be accurate. In addition to the problem that it is not possible to reduce the variation in the current consumption during standby and standby during operation of each circuit module divided into several circuit modules, Has a problem that the remaining capacity cannot be estimated accurately.

【0008】本発明の目的は、従来技術における上述の
問題点を解決することができる携帯用電子機器の誤動作
防止方法を提供することにある。すなわち、本発明は、
電池の電流供給能力を正確に検出し、電池の電流供給能
力がシステムの正常動作不可能なレベルに達する前に携
帯用電子機器の動作を自ら停止させて携帯用電子機器の
誤動作の防止を図ることを目的としている。
An object of the present invention is to provide a method for preventing a malfunction of a portable electronic device which can solve the above-mentioned problems in the prior art. That is, the present invention
Accurately detects the current supply capacity of the battery and stops the operation of the portable electronic device by itself before the current supply capability of the battery reaches a level at which the system cannot operate normally, thereby preventing malfunction of the portable electronic device. It is intended to be.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に、本発明の第1の構成では、内蔵電池により動作する
CPUとメモリとを備えて成る携帯用電子機器の誤動作
防止方法であって、前記メモリをアクセスする前に、前
記電池に一定負荷電流を流してその時の電池電圧を示す
検出データを得、この検出データを前記携帯用電子機器
で想定される重負荷電流が前記電池に流れた場合の最大
電位降下電圧に換算し、該換算によって得られた結果に
基づいて前記電池の残容量検出を行い、検出された電池
残容量が所定レベル以下である場合には前記メモリのア
クセス機能を停止させるように携帯用電子機器の誤動作
防止方法を構成した。
According to a first aspect of the present invention, there is provided a method for preventing a malfunction of a portable electronic device comprising a CPU and a memory operated by a built-in battery. Before accessing the memory, a constant load current is supplied to the battery to obtain detection data indicating a battery voltage at that time, and the detection data is transmitted to the battery by a heavy load current assumed in the portable electronic device. Is converted to the maximum potential drop voltage, and the remaining capacity of the battery is detected based on the result obtained by the conversion. When the detected remaining battery capacity is equal to or less than a predetermined level, the access function of the memory is performed. The method for preventing malfunction of the portable electronic device is configured to stop the operation.

【0010】この方法によると、実際に電池に流す電流
は小さいので電池が寿命末期にあったとしても、残容量
検出のために電池電圧が極端に低下せしめられて携帯用
電子機器の動作に支障が生じるのを回避しつつ、電池が
重負荷電流を供給するに足る電流供給能力を有している
か否かの判別を行うことができ、電池の電流供給能力不
足により携帯用電子機器が誤動作を生じる前に自ら電源
をオフとし、メモリ内容が破壊されるに至るのを未然に
防止する。
According to this method, the current flowing through the battery is small, so that even if the battery is at the end of its life, the battery voltage is drastically reduced to detect the remaining capacity, which hinders the operation of the portable electronic device. It is possible to determine whether or not the battery has a sufficient current supply capability to supply a heavy load current while avoiding the occurrence of power failure, and the portable electronic device may malfunction due to insufficient current supply capability of the battery. The power is turned off by itself before it occurs, preventing the memory contents from being destroyed.

【0011】また、本発明の第2の構成では、内蔵電池
により動作するCPUとメモリとを備えて成る携帯用電
子機器の誤動作防止方法であって、前記携帯用電子機器
を構成する回路を複数のユニットに分け、これらのユニ
ットの作動時及び待機時における各消費電流の実データ
を予め記憶素子に記憶しておき、前記ユニットが動作す
る毎に前記実データを参照してその時々の消費電力を計
算して積算しておき、積算された消費電力の値に基づい
て前記電池の残容量検出を行い、検出された電池残容量
が所定レベル以下である場合には前記メモリのアクセス
機能を停止させるように携帯用電子機器の誤動作防止方
法を構成した。
According to a second aspect of the present invention, there is provided a method for preventing a malfunction of a portable electronic device comprising a CPU and a memory operated by a built-in battery, wherein a plurality of circuits constituting the portable electronic device are provided. The actual data of current consumption during operation and standby of these units are stored in advance in a storage element, and each time the unit operates, the actual data is referred to by referring to the actual data. The remaining capacity of the battery is detected based on the integrated power consumption value, and the access function of the memory is stopped when the detected remaining battery capacity is equal to or less than a predetermined level. A method for preventing a malfunction of a portable electronic device is configured to cause the malfunction.

【0012】この方法では、各回路ユニットにおける電
流消費状態を実測してその結果得られた実データをRO
Mその他の記憶素子に記憶させておき、この実データを
用いて消費電力の積算を行うから、極めて正確に消費電
力の積算を行うことができる。これにより、電池の電流
供給能力を正確に把握することができ、電池の電流供給
能力不足により携帯用電子機器が誤動作を生じる前に自
ら電源をオフとし、メモリ内容が破壊されるに至るのを
未然に防止する。
In this method, the current consumption state of each circuit unit is actually measured, and the actual data obtained as a result is stored in an RO.
Since the power consumption is stored in M or another storage element and the power consumption is integrated using the actual data, the power consumption can be very accurately integrated. As a result, the current supply capability of the battery can be accurately grasped, and the portable electronic device is turned off by itself before the malfunction occurs due to the insufficient current supply capability of the battery, thereby preventing the memory contents from being destroyed. Prevent beforehand.

【0013】さらに、本発明の第3の構成では、内蔵電
池により動作するCPUとメモリとを備えて成る携帯用
電子機器の誤動作防止方法であって、前記メモリをアク
セスする前に、前記電池に一定負荷電流を流してその時
の電池電圧を示す検出データを得、この検出データを前
記携帯用電子機器で想定される重負荷電流が前記電池に
流れた場合の最大電位降下電圧に換算し、該換算によっ
て得られた結果に基づいて前記電池の残容量検出を行い
第1の検出結果を得ると共に、前記携帯用電子機器を構
成する複数の回路ユニットの作動時及び待機時における
各消費電流の実データを予め記憶素子に記憶しておき、
前記回路ユニットが動作する毎に前記実データを参照し
てその時々の消費電力を計算して積算しておき、積算さ
れた消費電力の値に基づいて前記電池の残容量検出を行
い第2の検出結果を得、前記第1及び第2の検出結果の
うち少なくともいずれか一方の検出結果が前記電池の残
容量が所定レベル以下であることを示している場合に
は、前記メモリのアクセス機能を停止させるように携帯
用電子機器の誤動作防止方法を構成した。
Further, according to a third aspect of the present invention, there is provided a method for preventing a malfunction of a portable electronic device comprising a CPU and a memory operated by a built-in battery, wherein the method comprises the steps of: A detection data indicating a battery voltage at that time is obtained by flowing a constant load current, and the detection data is converted into a maximum potential drop voltage when a heavy load current assumed in the portable electronic device flows through the battery. Based on the result obtained by the conversion, the remaining capacity of the battery is detected to obtain a first detection result, and the actual current consumption of each of the plurality of circuit units constituting the portable electronic device at the time of operation and standby is measured. Data is stored in the storage element in advance,
Each time the circuit unit operates, the actual power consumption is calculated with reference to the actual data, and the power consumption is calculated and integrated, and the remaining capacity of the battery is detected based on the integrated power consumption value. When a detection result is obtained and at least one of the first and second detection results indicates that the remaining capacity of the battery is below a predetermined level, the access function of the memory is disabled. A method for preventing malfunction of a portable electronic device is configured to stop the operation.

【0014】この構成によれば、電池の容量のバラツキ
により電池の実際の容量が少なく寿命末期に来ているに
も拘らず、消費電力の積算に基づいて推定される電池の
残存容量が充分なレベルによっても、電池に実際に負荷
電流を流すことによって生じる電池電圧の降下値により
電池の寿命末期を確実に検出することができる。一方、
実際には電池が寿命末期にあるにも拘らず、使用環境温
度が高いため、電池に負荷電流を流しても所定の電圧降
下が得られない場合にあっては、消費電力の積算による
電池の残存容量から電池の寿命末期を確実に検出するこ
とができる。この結果、電池の電流供給能力不足により
携帯用電子機器が誤動作を生じる前に自ら電源をオフと
し、メモリ内容が破壊されるに至るのを未然に防止す
る。
According to this configuration, the remaining capacity of the battery estimated based on the integrated power consumption is sufficient even though the actual capacity of the battery is low due to the variation in the capacity of the battery and the battery is near the end of its life. Depending on the level, the end of life of the battery can be reliably detected from the drop value of the battery voltage caused by actually flowing the load current to the battery. on the other hand,
Actually, even if the battery is at the end of its life, the operating environment temperature is high, and if a predetermined voltage drop cannot be obtained even when a load current is applied to the battery, the battery is calculated by integrating the power consumption. The end of life of the battery can be reliably detected from the remaining capacity. As a result, before the portable electronic device malfunctions due to insufficient current supply capability of the battery, the power is turned off by itself, thereby preventing the memory contents from being destroyed.

【0015】さらにまた、本発明では、前記誤動作防止
方法を採用して、電池の容量低下による誤動作を防止す
るように携帯用電子機器を構成した。
Further, according to the present invention, the portable electronic device is configured so as to prevent the malfunction due to the decrease in the capacity of the battery by adopting the malfunction prevention method.

【0016】[0016]

【発明の実施の形態】以下、図面を参照しながら、本発
明の実施の形態の一例について説明する。図1は本発明
の方法により電池の残容量を検出してその容量を管理す
るようにした携帯用電子機器の実施の形態の一例を示す
ブロック図である。この携帯用電子機器20は、電池1
1を電源とするものであり、システムを制御するCPU
1と、マスクROM2、スタティックRAM3及びフラ
ッシュRAM4からなるメモリー部Aと、各種情報を表
示する液晶表示パネルモジュール5と、キー操作確認音
や警告報知音を発するためのブザー発鳴モジュール6
と、暗がりで表示パネルを見やすく照らすためのEL発
光モジュール7と、電池11の電圧を検出する時に電池
11に一時的に一定の負荷電流を流すための疑似負荷回
路8と、他の情報機器と赤外線で通信するための赤外通
信モジュール9と、電池11の電圧をAD変換して電池
電圧を測定するためのAD変換電池電圧検出モジュール
10とを備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of an embodiment of a portable electronic device in which the remaining capacity of a battery is detected and the capacity is managed by the method of the present invention. The portable electronic device 20 includes a battery 1
CPU that uses 1 as a power supply and controls the system
1, a memory section A comprising a mask ROM 2, a static RAM 3, and a flash RAM 4, a liquid crystal display panel module 5 for displaying various information, and a buzzer sounding module 6 for emitting a key operation confirmation sound and a warning notification sound.
And an EL light emitting module 7 for illuminating the display panel in the dark so that it is easy to see, a pseudo load circuit 8 for temporarily supplying a constant load current to the battery 11 when detecting the voltage of the battery 11, and other information devices. An infrared communication module 9 for communicating with infrared rays and an AD conversion battery voltage detection module 10 for AD converting the voltage of the battery 11 and measuring the battery voltage are provided.

【0017】メモリー部AのマスクROM2には、AD
変換電池電圧検出モジュール10での電池電圧検出結果
による電池容量管理データとして、(1) 量産された
製品である携帯用電子機器20において予想される最大
負荷消費電流が流れた時の電池11の電圧降下を想定し
て、電池交換を促すメッセージを表示すべき電池電圧値
BLD1を示すデータと、(2) 一旦電池電圧が前記
電圧値BLD1となって電池交換を促すメッセージを表
示したが、その後電池11の電圧が復帰して電池交換を
する必要がなくなり電池交換を促すメッセージを解除す
るための電池電圧値BLD3を示すデータと、(3)
携帯用電子機器20の正常動作保証ができなくなる電池
電圧値BLD2を示すデータと、(4) CPU1に対
しフラッシュRAM4へのアクセスを禁止すべき電池電
圧値BLD4を示すデータとが格納されている。
In the mask ROM 2 of the memory section A, AD
As the battery capacity management data based on the battery voltage detection result of the conversion battery voltage detection module 10, (1) the voltage of the battery 11 when the maximum load consumption current expected in the portable electronic device 20 which is a mass-produced product flows Assuming a drop, data indicating the battery voltage value BLD1 to display a message prompting battery replacement and (2) a message prompting battery replacement once the battery voltage becomes the voltage value BLD1 are displayed. Data indicating the battery voltage value BLD3 for canceling the message prompting the user to replace the battery because the voltage of the battery 11 has returned and the need to replace the battery is eliminated, and (3)
Data indicating a battery voltage value BLD2 at which normal operation of the portable electronic device 20 cannot be guaranteed and (4) data indicating a battery voltage value BLD4 at which access to the flash RAM 4 should be prohibited for the CPU 1 are stored.

【0018】メモリー部AのフラッシュRAM4には、
アセンブルされた携帯用電子機器20毎に実際に測定さ
れた最大負荷消費電流に見合った電池交換を促すメッセ
ージを表示すべき電池電圧値BLD1aと、電池11の
電圧が一旦電池電圧値BLD1aとなって電池交換を促
すメッセージを表示したが、その後電池電圧が復帰して
電池交換をする必要がなくなり電池交換を促すメッセー
ジを解除するための電池電圧値BLD3aと、携帯用電
子機器20の正常動作保証ができなくなる電池電圧値B
LD2aと、CPU1に対しフラッシュRAM4へのア
クセスを禁止すべき電池電圧値BLD4aとが格納され
ている。
In the flash RAM 4 of the memory section A,
The battery voltage value BLD1a for displaying a message prompting battery replacement corresponding to the maximum load consumption current actually measured for each of the assembled portable electronic devices 20 and the voltage of the battery 11 once become the battery voltage value BLD1a. Although the message prompting the user to replace the battery is displayed, the battery voltage is restored after that, and the battery replacement does not need to be performed. The battery voltage value BLD3a for releasing the message prompting the user to replace the battery and the normal operation of the portable electronic device 20 are guaranteed. Battery voltage value B that cannot be used
The LD 2 a and a battery voltage value BLD 4 a for which the CPU 1 is prohibited from accessing the flash RAM 4 are stored.

【0019】また、携帯用電子機器20を構成する回路
を複数のユニットに分け、これらのユニットの作動時及
び待機時における各消費電流の実データを予め記憶して
おき、各ユニットが動作する毎に記憶されている実デー
タを参照してその時々の消費電力を計算して積算してお
き、積算された消費電力の値に基づいて電池11の残容
量検出を行うようにするため、メモリー部AのマスクR
OM2には、携帯用電子機器20に内蔵されている回路
モジュールユニット毎の予想される最大消費電流が流れ
た時の積算すべき値が、個々のユニットの作動時及び待
機時における各消費電力の管理データとして、格納され
ている。
The circuit constituting the portable electronic device 20 is divided into a plurality of units, and actual data of current consumption during operation and standby of these units are stored in advance, and each unit operates. In order to detect the remaining power of the battery 11 based on the integrated power consumption value, the power consumption at each time is calculated with reference to the actual data stored in the memory unit. A mask R
In OM2, a value to be integrated when the expected maximum current consumption of each circuit module unit built in the portable electronic device 20 flows is a value of each power consumption at the time of operation and standby of each unit. It is stored as management data.

【0020】更に、この値を用いて積算された電池11
の消費電力の積算結果に基づいて求められた電池残容量
を管理すべきデータとして、電池交換を促すメッセージ
を表示すべき電池残容量値BLDY1と、携帯用電子機
器20の正常動作保証ができなくなる電池残容量値BL
DY2と、CPU1に対しフラッシュRAM4へのアク
セスを禁止すべき電池残容量値BLDY4とが、メモリ
ー部AのマスクROM2に格納されている。
Further, the battery 11 integrated using this value is
The battery remaining capacity value BLDY1 for displaying a message prompting battery replacement and the normal operation of the portable electronic device 20 cannot be guaranteed as data for managing the battery remaining capacity obtained based on the integrated result of the power consumption of the portable electronic device 20. Battery remaining capacity value BL
DY2 and a remaining battery level value BLDY4 for which the CPU 1 should be prohibited from accessing the flash RAM 4 are stored in the mask ROM 2 of the memory unit A.

【0021】メモリー部AのフラッシュRAM4には、
アセンブルされた携帯用電子機器20毎に個々のユニッ
トの実消費電流が測定され、この測定された電流に見合
った複数のユニットに分けられた個々のユニットの作動
時及び待機時における積算されるべき値が格納されてい
る。この値を用いて積算された電池11の消費電力の積
算結果に基づいて求められた電池残容量を管理すべきデ
ータとして、電池交換を促すメッセージを表示すべき電
池残容量値BLDY1aと、携帯用電子機器20の正常
動作保証ができなくなる電池残容量値BLDY2aと、
CPU1に対しフラッシュRAM4へのアクセスを禁止
すべき電池残容量値BLDY4aとが格納されている。
In the flash RAM 4 of the memory section A,
The actual current consumption of each unit is measured for each of the assembled portable electronic devices 20, and the actual current consumption of each unit divided into a plurality of units corresponding to the measured current should be integrated at the time of operation and at the time of standby. The value is stored. The battery remaining capacity value BLDY1a for displaying a message prompting battery replacement as data for managing the battery remaining capacity obtained based on the integrated result of the power consumption of the battery 11 integrated using this value, A battery remaining capacity value BLDY2a at which normal operation of the electronic device 20 cannot be guaranteed;
A battery remaining capacity value BLDY4a for which access to the flash RAM 4 should be prohibited for the CPU 1 is stored.

【0022】次に動作について説明する。先ず、AD変
換電池電圧検出モジュール10での電池電圧検出動作に
ついて説明する。携帯用電子機器20の電源がオンされ
ると、CPU1はシステムの起動初期状態に移行するに
必要なデータやプログラムをフラッシュRAM4からロ
ードする前に、電池11に一定の値の疑似負荷電流を流
し電池11の電圧を検出する。この検出電圧がフラッシ
ュRAM4をアクセスしても良い所定の電池電圧値BL
D4(マスクROM2に格納されているデータ)以下で
ある時、図2(b)に示す表示を行ってオートパワーオ
フし液晶表示パネルモジュール5を図2(c)に示す表
示消去状態とする。この検出電圧がフラッシュRAM4
をアクセスしても良い所定のレベル以上である時、CP
U1はフラッシュRAM4に電池11の容量を管理する
ための電池電圧値BLD1a、BLD2a、BLD3
a、BLD4aのデータが格納されているかどうかをチ
ェックする。
Next, the operation will be described. First, the battery voltage detection operation of the AD conversion battery voltage detection module 10 will be described. When the power of the portable electronic device 20 is turned on, the CPU 1 supplies a pseudo load current of a certain value to the battery 11 before loading data and programs necessary for shifting to the initial state of system startup from the flash RAM 4. The voltage of the battery 11 is detected. This detection voltage is a predetermined battery voltage value BL which may access the flash RAM 4.
When it is less than D4 (data stored in the mask ROM 2), the display shown in FIG. 2B is performed, the power is automatically turned off, and the liquid crystal display panel module 5 is brought into the display erasing state shown in FIG. This detection voltage is used for the flash RAM 4
When the access level is higher than a predetermined level, CP
U1 is a battery voltage value BLD1a, BLD2a, BLD3 for managing the capacity of the battery 11 in the flash RAM4.
a, It is checked whether data of the BLD 4a is stored.

【0023】該データが格納されているときは、以下の
動作を行う。軽負荷状態(負荷電流の大きいブザー発鳴
モジュール6、EL発光モジュール7、赤外通信モジュ
ール9が駆動されていない状態)である時、CPU1は
所定の時間間隔で単パルスの疑似負荷電流を流しながら
電池11の電圧をAD変換して電池電圧を監視する。こ
の疑似負荷電流は、電池11の電圧を著しく低下させる
ことのない比較的小さいレベルの一定電流、例えば3.
5mAに設定される。このAD変換して求められた電池
電圧はフラッシュRAM4に格納されている所定の電池
電圧BLD1a、BLD2a、BLD3a、BLD4a
と比較される。
When the data is stored, the following operation is performed. In a light load state (a state in which the buzzer sounding module 6, the EL light emitting module 7, and the infrared communication module 9 having a large load current are not driven), the CPU 1 supplies a single pulse pseudo load current at predetermined time intervals. While the voltage of the battery 11 is A / D converted, the battery voltage is monitored. The pseudo load current is a relatively low level constant current that does not significantly lower the voltage of the battery 11, for example, 3.
It is set to 5 mA. The battery voltage obtained by the AD conversion is a predetermined battery voltage BLD1a, BLD2a, BLD3a, BLD4a stored in the flash RAM 4.
Is compared to

【0024】この比較結果により電池11の電圧が電池
電圧値BLD1aと一致していることを検出した場合、
図2(a)に示すような電池交換を促すメッセージが表
示される。このメッセージに表示されているNoを選択
すると表示は元に戻り今までの動作を継続する。一方Y
esを選択すると図3(a)の表示となる。使用者が電
池交換手順を理解している場合には、Enterキーを
押すと携帯用電子機器20はオートパワーオフ状態とな
り、なにも表示されない状態となる。使用者が電池交換
手順を理解していない場合には、表示メッセージに戻っ
て矢印キーを操作すると、図3(b)〜(i)に示すメ
ッセージが次々と表示される。
When it is detected from the result of the comparison that the voltage of the battery 11 matches the battery voltage value BLD1a,
A message prompting for battery replacement as shown in FIG. 2A is displayed. If No displayed in this message is selected, the display returns to the original state and the operation up to now is continued. On the other hand, Y
When es is selected, the display shown in FIG. If the user understands the battery replacement procedure, pressing the Enter key puts the portable electronic device 20 in an auto power off state, and a state in which nothing is displayed. When the user does not understand the battery replacement procedure, returning to the display message and operating the arrow keys, the messages shown in FIGS. 3B to 3I are displayed one after another.

【0025】一方、比較の結果、AD変換して求められ
た電池11の電圧が電池電圧値BLD3aと一致したと
き、携帯用電子機器20が電池電圧値BLD1a検知後
の電池交換を促すモード状態であれば、このモードは解
除される。このような状態は、屋外の寒いところにいた
ために電池電圧が低下し、その後屋内の暖かいところに
戻った場合に電池電圧が回復することによっておこる。
AD変換して求められた電池電圧が電池電圧値BLD2
aと一致したとき、これ以上携帯用電子機器20の正常
動作継続が保証できないとして図2(b)に示す表示を
所定の時間表示したのちオートパワーオフして図2
(c)に示すように、表示が消えて機能停止する。前記
AD変換して求められた電池11の電圧が電池電圧値B
LD4aと一致したとき、電池11の電圧が電池交換を
促す電池電圧値BLD1aと一致した時と同じ動作をし
て、CPU1はフラッシュRAM4をアクセスする必要
のあるプログラムモジュールの実行を停止し、他のプロ
グラムモジュールのみの実行を行う。
On the other hand, as a result of the comparison, when the voltage of the battery 11 obtained by the A / D conversion matches the battery voltage value BLD3a, the portable electronic device 20 is in a mode in which the battery replacement is promoted after the detection of the battery voltage value BLD1a. If so, this mode is canceled. Such a state occurs when the battery voltage drops due to being in a cold place outdoors and then recovers when returning to a warm place indoors.
The battery voltage obtained by AD conversion is a battery voltage value BLD2.
2A, it is determined that the normal operation of the portable electronic device 20 cannot be guaranteed any more, the display shown in FIG. 2B is displayed for a predetermined time, and then the power is automatically turned off.
As shown in (c), the display disappears and the function stops. The voltage of the battery 11 obtained by the AD conversion is a battery voltage value B.
When the voltage matches the LD4a, the CPU 1 performs the same operation as when the voltage of the battery 11 matches the battery voltage value BLD1a prompting the battery replacement, and the CPU 1 stops execution of the program module that needs to access the flash RAM 4, and Executes only program modules.

【0026】携帯用電子機器20の動作が開始し軽負荷
状態となっている場合に、負荷電流の大きいブザー発鳴
モジュール6、EL発光モジュール7、赤外通信モジュ
ール9などが駆動されると、これらのモジュールが駆動
されている間CPU1はフラッシュRAM4のアクセス
は禁止し、AD変換電池電圧検出モジュール10によ
り、電池11の電圧の変化を所定の時間間隔で検出す
る。このようにして検出された検出電圧が、携帯用電子
機器20の正常動作を保証できない電池電圧値BLD1
aになったとき、CPU1は直ちに負荷電流の大きいブ
ザー発鳴モジュール6、EL発光モジュール7、赤外通
信モジュール9の駆動を停止し、つぎに指定された動作
モードを継続する。負荷電流の大きいブザー発鳴モジュ
ール6、EL発光モジュール7、赤外通信モジュール9
などが駆動されてフラッシュRAM4のアクセスに移行
するときは、疑似負荷電流を流し電池11の電圧をAD
変換して検出し、AD変換して求められた電池11の電
圧が電池電圧値BLD4aと一致したとき、電池11の
交換を促す電池電圧BLD1aを検出した時と同じ動作
をして、CPU1はフラッシュRAM4をアクセスする
必要のあるプログラムモジュールの実行を停止し、他の
プログラムモジュールのみの実行を行う。
When the operation of the portable electronic device 20 is started and the load is in a light load state, when the buzzer sounding module 6, the EL light emitting module 7, the infrared communication module 9 and the like having a large load current are driven, While these modules are being driven, the CPU 1 prohibits the access to the flash RAM 4, and the A / D conversion battery voltage detection module 10 detects a change in the voltage of the battery 11 at predetermined time intervals. The detected voltage detected in this manner has a battery voltage value BLD1 that cannot guarantee the normal operation of the portable electronic device 20.
When it becomes a, the CPU 1 immediately stops driving the buzzer sounding module 6, the EL light emitting module 7, and the infrared communication module 9 having a large load current, and continues the specified operation mode. Buzzer sounding module 6 with large load current, EL light emitting module 7, infrared communication module 9
When the operation shifts to the access to the flash RAM 4 by driving the flash RAM 4, a pseudo load current is applied to adjust the voltage of the battery 11 to AD.
When the converted and detected voltage of the battery 11 obtained by the A / D conversion matches the battery voltage value BLD4a, the CPU 1 performs the same operation as when the battery voltage BLD1a prompting the replacement of the battery 11 is detected, and the CPU 1 flashes. The execution of the program module that needs to access the RAM 4 is stopped, and only the other program modules are executed.

【0027】フラッシュRAM4に電池電圧値BLD1
a、BLD2a、BLD3a、BLD4aのデータが格
納されていなかった時は、電池電圧値BLD1a、BL
D2a、BLD3a、BLD4aのデータの代わりにマ
スクROM2に格納されている電池電圧値BLD1、B
LD2、BLD3、BLD4の値を用いて上述の動作を
行う。
The battery voltage value BLD1 is stored in the flash RAM4.
a, BLD2a, BLD3a, and BLD4a, when the data is not stored, the battery voltage values BLD1a, BL
The battery voltage values BLD1, BLD stored in the mask ROM 2 instead of the data of D2a, BLD3a, BLD4a
The above operation is performed using the values of LD2, BLD3, and BLD4.

【0028】なお、既に説明したように、疑似負荷電流
は携帯用電子機器20の最大負荷電流よりも小さめに設
定されており、この疑似負荷電流での電池電圧降下は携
帯用電子機器20の最大負荷電流での電池電圧降下より
も小さいので、常に携帯用電子機器20の誤動作に至ら
ない電池電圧範囲で、携帯用電子機器20の正常動作保
証ができなくなる電池電圧を検知することができる。
As described above, the pseudo load current is set to be smaller than the maximum load current of the portable electronic device 20, and the battery voltage drop at the pseudo load current is the maximum of the portable electronic device 20. Since the battery voltage is smaller than the battery voltage drop due to the load current, a battery voltage at which normal operation of the portable electronic device 20 cannot be guaranteed can be detected within a battery voltage range that does not always cause a malfunction of the portable electronic device 20.

【0029】次に、電池の消費電力を積算する方法によ
って電池11の残容量を検出する動作について説明す
る。携帯用電子機器20がパワーオンされると、CPU
1はフラッシュRAM4に、量産された携帯用電子機器
20個々に内蔵されている回路モジュールの個々のユニ
ットの作動時及び待機時における各消費電力の管理デー
タとして、ユニット毎の動作時、待機時の予想される消
費電流が流れた時の積算すべき値と、電池残容量管理デ
ータとして電池残容量値BLDY1a、BLDY2a、
BLDY4aのデータが格納されているかどうかをチェ
ックする。
Next, an operation for detecting the remaining capacity of the battery 11 by a method of integrating the power consumption of the battery will be described. When the portable electronic device 20 is powered on, the CPU
Reference numeral 1 denotes management data of power consumption in the flash RAM 4 during operation and standby of each unit of the circuit module incorporated in each of the mass-produced portable electronic devices 20. The value to be integrated when the expected current consumption flows, and the remaining battery capacity values BLDY1a, BLDY2a,
It is checked whether the data of BLDY4a is stored.

【0030】これらのデータが格納されているときは、
CPU1は以下の動作を行う。携帯用電子機器20がパ
ワーオンされると、CPU1は複数に分けられたユニッ
トを動作状態、待機状態にするたび毎にフラッシュRA
M4に格納されている個々のユニットの作動時及び待機
時における積算すべき値を参照して消費電力の積算を行
い、この積算データと電池残容量管理データである電池
残容量値BLDY1a、BLDY2a、BLDY4aと
を比較する。この比較の結果、積算データが電池残容量
値BLDY1aと一致すると、図2(a)に示すような
電池交換を促すメッセージが表示される。このメッセー
ジに表示されているNoを選択すると表示は元に戻り今
までの動作を継続する。この電池残容量検出動作は積算
データが電池残容量値BLD2aと一致したことが検出
されるまで繰り返される。
When these data are stored,
The CPU 1 performs the following operation. When the portable electronic device 20 is powered on, the CPU 1 sets the flash RA every time the divided units are put into the operating state and the standby state.
The power consumption is integrated with reference to the values to be integrated during operation and standby of the individual units stored in M4, and the integrated data and the remaining battery capacity values BLDY1a, BLDY2a, Compare with BLDY4a. As a result of this comparison, when the integrated data matches the remaining battery value BLDY1a, a message prompting for battery replacement as shown in FIG. 2A is displayed. If No displayed in this message is selected, the display returns to the original state and the operation up to now is continued. This battery remaining capacity detection operation is repeated until it is detected that the integrated data matches the battery remaining capacity value BLD2a.

【0031】一方、Yesを選択すると図3(a)に示
す表示状態となる。使用者が電池交換手順を理解してい
る場合には、Enterキーを押すと携帯用電子機器2
0はオートパワーオフ状態となり、なにも表示されない
状態となる。使用者が電池交換手順を理解していない場
合には、表示メッセージに戻って矢印キーを操作する
と、図3(b)〜(i)に示すメッセージが次々と表示
される。積算して求められた電池残容量値を示す積算結
果が電池残容量値BLDY2aと一致したとき、これ以
上正常動作継続が保証できないとして図2(b)に示す
表示を所定の時間表示したのち携帯用電子機器20をオ
ートパワーオフして図2(c)に示すように、表示が消
えて機能停止する。検出された電池11の電池残容量値
が電池残容量値BLDY4aと一致すると、電池交換を
促す電池残容量値BLDY1aを検出した時と同じ動作
をして、CPU1はフラッシュRAM4をアクセスする
必要のあるプログラムモジュールの実行を停止し、他の
プログラムモジュールのみの実行を行う。
On the other hand, when Yes is selected, the display state shown in FIG. If the user understands the battery replacement procedure, pressing the Enter key causes the portable electronic device 2 to change.
0 indicates an auto power off state, in which nothing is displayed. When the user does not understand the battery replacement procedure, returning to the display message and operating the arrow keys, the messages shown in FIGS. 3B to 3I are displayed one after another. When the integration result indicating the remaining battery value obtained by the integration matches the remaining battery value BLDY2a, the display shown in FIG. 2B is displayed for a predetermined time after the display shown in FIG. The electronic device 20 is automatically powered off, and the display disappears and the function stops, as shown in FIG. When the detected remaining battery capacity value of the battery 11 matches the remaining battery capacity value BLDY4a, the CPU 1 needs to access the flash RAM 4 by performing the same operation as when detecting the remaining battery capacity value BLDY1a prompting battery replacement. Stop execution of a program module, and execute only other program modules.

【0032】フラッシュRAM4に、量産された携帯用
電子機器20個々に内蔵されている回路モジュールを複
数のユニットに分けた個々のユニットの作動時及び待機
時における各消費電力の管理データとして、ユニット毎
の動作時、待機時の予想される消費電流が流れた時に積
算すべき値と、電池残容量管理データとしての電池残容
量値BLDY1a、BLDY2a、BLDY4aのデー
タが格納されていなかった時は、該データの代わりにマ
スクROM2に格納されている量産された携帯用電子機
器20個々に内蔵されている回路モジュールを複数のユ
ニットに分けた個々のユニットの作動時及び待機時にお
ける各消費電力の管理データとして、ユニット毎の動作
時、待機時の予想される消費電流が流れた時の積算すべ
き値と、電池残容量管理データとしての電池残容量値B
LDY1、BLDY2、BLDY4の値を用いて上述の
動作を行う。
The flash RAM 4 is divided into a plurality of circuit modules built in each of the mass-produced portable electronic devices 20 and divided into a plurality of units. In the operation of the above, when a value to be integrated when the expected current consumption at the time of standby flows and the data of the battery remaining capacity values BLDY1a, BLDY2a, and BLDY4a as the battery remaining capacity management data are not stored, Management data of each power consumption at the time of operation and stand-by of each unit obtained by dividing the circuit module built in each mass-produced portable electronic device 20 stored in the mask ROM 2 into a plurality of units instead of the data. The value to be integrated when the expected current consumption during operation and standby during the operation of each unit Battery remaining capacity value B as the management data
The above operation is performed using the values of LDY1, BLDY2, and BLDY4.

【0033】AD変換電池電圧検出モジュール10での
電池電圧検出動作と、消費電力の積算による電池容量検
出動作とは、同時に平行して行われており、どちらか一
方でも電池容量管理データである電池交換を促す値や、
システムの正常動作保証できない値や、フラッシュRA
M4へのアクセスを禁止すべき電池電圧BLD4を検出
すると、電池交換を促すメッセージを表示したり、フラ
ッシュRAM4をアクセスするプログラムモジュールの
実行を禁止したり、これ以上正常動作継続が保証できな
いとして図2(b)に示す表示を所定の時間表示したの
ちオートパワーオフして図2(c)に示すように、表示
が消えて機能停止する動作をする。
The operation of detecting the battery voltage in the AD conversion battery voltage detection module 10 and the operation of detecting the battery capacity by integrating the power consumption are performed simultaneously in parallel. The value that prompts you to exchange,
Values for which normal operation of the system cannot be guaranteed or flash RA
When the battery voltage BLD4 that should prohibit access to the M4 is detected, a message prompting battery replacement is displayed, execution of a program module for accessing the flash RAM 4 is prohibited, and continuation of normal operation cannot be guaranteed anymore. After the display shown in (b) is displayed for a predetermined time, the power is automatically turned off, and the display is turned off and the function is stopped, as shown in FIG. 2 (c).

【0034】以上の構成によれば、電池電圧を検出する
とき比較的小レベルの一定電流を疑似負荷電流として流
して電池11の電位降下を生ぜしめ電池電圧を検出する
ようにしたので、軽負荷電流で検出した電池電圧から電
池11が放電末期状態であるか否かを識別し易くなっ
た。また、疑似負荷電流は携帯用電子機器20の最大負
荷電流よりも小さめに設定されており、この疑似負荷電
流での電池電圧降下は携帯用電子機器20の最大負荷電
流での電池電圧降下よりも小さいので、常にシステムの
誤動作に至らない電池電圧範囲で、携帯用電子機器20
の正常動作保証ができなくなる電池電圧を検知すること
ができるという効果を有する。
According to the above configuration, when detecting the battery voltage, a relatively low level constant current is supplied as the pseudo load current to cause the potential drop of the battery 11 and detect the battery voltage. It has become easier to determine whether or not the battery 11 is in the last stage of discharge from the battery voltage detected by the current. Further, the pseudo load current is set to be smaller than the maximum load current of the portable electronic device 20, and the battery voltage drop at the pseudo load current is smaller than the battery voltage drop at the maximum load current of the portable electronic device 20. Because of its small size, the portable electronic device 20 must be in a battery voltage range that does not always lead to system malfunction.
This has an effect that a battery voltage at which normal operation of the battery cannot be guaranteed can be detected.

【0035】通常、携帯用電子機器20の電池寿命は、
量産されてできる製品の最大消費電流となるものにあわ
せて設定されるのが常であったため、消費電流が少ない
ものでも電池寿命は最大消費電流のものと一緒にしなけ
ればならなかったが、電池の消費電力を積算して電池の
容量を検出するに際して、携帯用電子機器20を構成す
る回路を複数のユニットに分け、これらのユニットの作
動時及び待機時における各消費電流の実データを参照し
てその時々の電力を計算して積算するようにしたので、
量産された携帯用電子機器20のうち前記消費電流が少
ないものは、電池寿命が長くなるよう設定できるので、
電池の有効利用を最大限に図ることができる。
Normally, the battery life of the portable electronic device 20 is as follows:
Since the current consumption was usually set according to the maximum current consumption of products that can be mass-produced, the battery life had to be the same as the maximum current consumption even if the current consumption was small. When detecting the capacity of the battery by integrating the power consumption of the portable electronic device 20, the circuit constituting the portable electronic device 20 is divided into a plurality of units, and actual data of each current consumption at the time of operation and standby of these units is referred to. Since the power at each time is calculated and integrated,
Among the mass-produced portable electronic devices 20, those having a small current consumption can be set to have a long battery life.
It is possible to maximize the effective use of the battery.

【0036】また、電池交換を問う表示を行うようにし
たので電池交換を促す表示が常時なされず、必要な情報
のみをディスプレイに表示することができディスプレイ
の有効活用がはかれる。さらに、電池切れによる動作停
止する旨の表示を行ってから強制的に電源をオフとする
ようにしたので、使用者が操作中に突然表示が消え動作
停止してもその理由が容易に知ることができる。
Further, since a display asking for battery replacement is made, a display prompting for battery replacement is not always displayed, and only necessary information can be displayed on the display, so that the display can be used effectively. In addition, since the power is turned off after the display indicating that the operation is stopped due to battery exhaustion, if the display disappears suddenly during operation by the user and the operation stops, it is easy to know the reason. Can be.

【0037】フラッシュRAM4のアクセスを禁止すべ
き電池電圧値BLD4を検出すると、電池交換を促すメ
ッセージを表示し、フラッシュRAM4をアクセスする
プログラムモジュールの実行を禁止して他のプログラム
モジュールの実行は許すので、一部の機能を使用しなが
ら電池交換までの間携帯用電子機器20の有効使用を図
れる。
When the battery voltage value BLD4 for which access to the flash RAM 4 is to be prohibited is detected, a message prompting replacement of the battery is displayed, execution of a program module for accessing the flash RAM 4 is prohibited, and execution of another program module is permitted. The portable electronic device 20 can be effectively used until the battery is replaced while using some functions.

【0038】[0038]

【発明の効果】本発明によれば、実際に電池に流す電流
は小さいので電池が寿命末期にあったとしても、容量検
出のために電池電圧が極端に低下せしめられて携帯用電
子機器の動作に支障が生じるのを回避しつつ、電池が重
負荷電流を供給するに足る電流供給能力を有しているか
否かの判別を行うことができ、電池の電流供給能力不足
により携帯用電子機器が誤動作を生じる前に自ら電源を
オフとし、メモリ内容が破壊されるに至るのを未然に防
止することができる。
According to the present invention, since the current actually flowing through the battery is small, even if the battery is at the end of its life, the battery voltage is extremely lowered for detecting the capacity, and the operation of the portable electronic device is reduced. It is possible to determine whether or not the battery has a sufficient current supply capability to supply a heavy load current while avoiding a problem with the portable electronic device. The power supply can be turned off by itself before a malfunction occurs, thereby preventing the memory contents from being destroyed.

【0039】また、本発明によれば、各回路ユニットに
おける電流消費状態を実測してその結果得られた実デー
タをROMその他の記憶素子に記憶させておき、この実
データを用いて消費電力の積算を行うから、極めて正確
に消費電力の積算を行うことができる。これにより、電
池の電流供給能力を正確に把握することができ、電池の
電流供給能力不足により携帯用電子機器が誤動作を生じ
る前に自ら電源をオフとし、メモリ内容が破壊されるに
至るのを未然に防止することができる。
According to the present invention, the current consumption state of each circuit unit is actually measured, and the actual data obtained as a result is stored in a ROM or other storage element, and the power consumption is determined using the actual data. Since the integration is performed, the power consumption can be integrated very accurately. As a result, the current supply capability of the battery can be accurately grasped, and the portable electronic device is turned off by itself before the malfunction occurs due to the insufficient current supply capability of the battery, thereby preventing the memory contents from being destroyed. It can be prevented beforehand.

【0040】さらに、本発明によれば、電池の容量のバ
ラツキにより電池の実際の容量が少なく寿命末期に来て
いるにも拘らず、消費電力の積算に基づいて推定される
電池の残存容量が充分なレベルであっても、電池に実際
に負荷電流を流すことによって生じる電池電圧の降下値
により電池の寿命末期を確実に検出することができる。
一方、実際には電池が寿命末期にあるにも拘らず、使用
環境温度が高いため、電池に負荷電流を流しても所定の
電圧降下が得られない場合にあっては、消費電力の積算
による電池の残存容量から電池の寿命末期を確実に検出
することができる。この結果、電池の電流供給能力不足
により携帯用電子機器が誤動作を生じる前に自ら電源を
オフとし、メモリ内容が破壊されるに至るのを未然に防
止することができる。
Further, according to the present invention, the remaining capacity of the battery estimated based on the integrated power consumption can be reduced even though the actual capacity of the battery is small due to the variation in the capacity of the battery and the battery is near the end of its life. Even at a sufficient level, the end of life of the battery can be reliably detected from the drop value of the battery voltage caused by actually applying the load current to the battery.
On the other hand, in spite of the fact that the battery is actually at the end of its service life and the operating environment temperature is high, a predetermined voltage drop cannot be obtained even when a load current flows through the battery, The end of life of the battery can be reliably detected from the remaining capacity of the battery. As a result, before the portable electronic device malfunctions due to insufficient current supply capability of the battery, the power can be turned off by itself and the memory contents can be prevented from being destroyed.

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

【図1】本発明の方法により電池の残容量の検出及び管
理を行うようにした携帯用電子機器の実施の形態の一例
を示すブロック図。
FIG. 1 is a block diagram showing an example of an embodiment of a portable electronic device that detects and manages the remaining capacity of a battery according to the method of the present invention.

【図2】図1に示した携帯用電子機器における電池の交
換を促すための表示形態を示す図。
FIG. 2 is an exemplary view showing a display form for urging replacement of a battery in the portable electronic device shown in FIG. 1;

【図3】図1に示す液晶表示パネルモジュールにおける
電池交換手順の表示の一例を示す図。
FIG. 3 is a view showing an example of a display of a battery replacement procedure in the liquid crystal display panel module shown in FIG. 1;

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

1 CPU 2 マスクROM 3 スタティックRAM 4 フラッシュRAM 5 液晶パネルモジュール 6 ブザー発鳴モジュール 7 EL発光モジュール 8 疑似負荷回路 9 赤外通信モジュール 10 AD変換電池電圧検出モジュール 11 電池 20 携帯用電子機器 A メモリー部 DESCRIPTION OF SYMBOLS 1 CPU 2 Mask ROM 3 Static RAM 4 Flash RAM 5 Liquid crystal panel module 6 Buzzer sounding module 7 EL light emitting module 8 Pseudo load circuit 9 Infrared communication module 10 A / D conversion battery voltage detection module 11 Battery 20 Portable electronic device A Memory unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H02J 7/00 G06F 1/00 341L (72)発明者 広富 淳 千葉県千葉市美浜区中瀬1丁目8番地 セ イコーインスツルメンツ株式会社内 (72)発明者 野口 正博 千葉県千葉市美浜区中瀬1丁目8番地 セ イコーインスツルメンツ株式会社内 (72)発明者 武藤 淳 千葉県千葉市美浜区中瀬1丁目8番地 セ イコーインスツルメンツ株式会社内 (72)発明者 川合 昇 千葉県千葉市美浜区中瀬1丁目8番地 セ イコーインスツルメンツ株式会社内────────────────────────────────────────────────── ─── Continued on the front page (51) Int.Cl. 6 Identification symbol FI H02J 7/00 G06F 1/00 341L (72) Inventor Jun Hirotomi 1-8 Nakase, Mihama-ku, Chiba-shi, Chiba Seiko Instruments Inc. (72) Inventor Masahiro Noguchi 1-8 Nakase, Mihama-ku, Chiba City, Chiba Prefecture Inside Seiko Instruments Inc. (72) Inventor Jun Muto 1-8-8 Nakase, Mihama-ku, Chiba City, Chiba Prefecture Inside Seiko Instruments Inc. ( 72) Inventor Noboru Kawai 1-8-8 Nakase, Mihama-ku, Chiba-shi, Chiba Seiko Instruments Inc.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 内蔵電池により動作するCPUとメモリ
とを備えて成る携帯用電子機器の誤動作防止方法であっ
て、 前記メモリをアクセスする前に、前記電池に一定負荷電
流を流してその時の電池電圧を示す検出データを得、 この検出データを前記携帯用電子機器で想定される重負
荷電流が前記電池に流れた場合の最大電位降下電圧に換
算し、 該換算によって得られた結果に基づいて前記電池の残容
量検出を行い、 検出された電池残容量が所定レベル以下である場合には
前記メモリのアクセス機能を停止させるようにしたこと
を特徴とする携帯用電子機器の誤動作防止方法。
1. A method for preventing a malfunction of a portable electronic device comprising a CPU operated by a built-in battery and a memory, wherein a predetermined load current is supplied to the battery before accessing the memory. Obtaining detection data indicating a voltage, converting the detection data into a maximum potential drop voltage when a heavy load current assumed in the portable electronic device flows through the battery, and based on a result obtained by the conversion. A method for preventing malfunction of a portable electronic device, wherein the remaining capacity of the battery is detected, and the access function of the memory is stopped when the detected remaining capacity of the battery is below a predetermined level.
【請求項2】 内蔵電池により動作するCPUとメモリ
とを備えて成る携帯用電子機器の誤動作防止方法であっ
て、 前記携帯用電子機器を構成する回路を複数のユニットに
分け、 これらのユニットの作動時及び待機時における各消費電
流の実データを予め記憶素子に記憶しておき、 前記ユニットが動作する毎に前記実データを参照してそ
の時々の消費電力を計算して積算しておき、 積算された消費電力の値に基づいて前記電池の残容量検
出を行い、 検出された電池残容量が所定レベル以下である場合には
前記メモリのアクセス機能を停止させるようにしたこと
を特徴とする携帯用電子機器の誤動作防止方法。
2. A method for preventing a malfunction of a portable electronic device comprising a CPU and a memory operated by a built-in battery, wherein a circuit constituting the portable electronic device is divided into a plurality of units. The actual data of each current consumption at the time of operation and standby is stored in the storage element in advance, and each time the unit operates, the power consumption at each time is calculated by referring to the actual data and integrated, The remaining capacity of the battery is detected based on the integrated power consumption value, and the access function of the memory is stopped when the detected remaining battery capacity is equal to or less than a predetermined level. A method for preventing malfunction of portable electronic devices.
【請求項3】 内蔵電池により動作するCPUとメモリ
とを備えて成る携帯用電子機器の誤動作防止方法であっ
て、 外部メモリをアクセスする前に、前記電池に一定負荷電
流を流してその時の電池電圧を示す検出データを得、 この検出データを前記携帯用電子機器で想定される重負
荷電流が前記電池に流れた場合の最大電位降下電圧に換
算し、 該換算によって得られた結果に基づいて前記電池の残容
量検出を行い第1の検出結果を得ると共に、 前記携帯用電子機器を構成する複数の回路ユニットの作
動時及び待機時における各消費電流の実データを予め記
憶素子に記憶しておき、 前記回路ユニットが動作する毎に前記実データを参照し
てその時々の消費電力を計算して積算しておき、 積算された消費電力の値に基づいて前記電池の残容量検
出を行い第2の検出結果を得、 前記第1及び第2の検出結果のうち少なくともいずれか
一方の検出結果が前記電池の残容量が所定レベル以下で
あることを示している場合には、前記メモリのアクセス
機能を停止させるようにしたことを特徴とする携帯用電
子機器の誤動作防止方法。
3. A method for preventing a malfunction of a portable electronic device comprising a CPU and a memory operated by a built-in battery, wherein a constant load current is passed through the battery before accessing an external memory. Obtaining detection data indicating a voltage, converting the detection data into a maximum potential drop voltage when a heavy load current assumed in the portable electronic device flows through the battery, and based on a result obtained by the conversion. The remaining capacity of the battery is detected to obtain a first detection result, and actual data of current consumption during operation and standby of a plurality of circuit units constituting the portable electronic device are stored in a storage element in advance. Every time the circuit unit is operated, the actual power consumption is calculated by referring to the actual data and accumulated at each time, and the remaining capacity of the battery is detected based on the integrated power consumption value. And obtaining a second detection result. If at least one of the first and second detection results indicates that the remaining capacity of the battery is equal to or lower than a predetermined level, A method for preventing malfunction of a portable electronic device, wherein an access function of the memory is stopped.
【請求項4】 請求項1ないし請求項3いずれか一項記
載の誤動作防止方法を採用し、電池の容量低下による誤
動作を防止するように構成したことを特徴とする携帯用
電子機器。
4. A portable electronic device comprising the malfunction prevention method according to claim 1, wherein the malfunction is prevented by a reduction in battery capacity.
JP10072780A 1998-03-20 1998-03-20 Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method Pending JPH11272369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10072780A JPH11272369A (en) 1998-03-20 1998-03-20 Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10072780A JPH11272369A (en) 1998-03-20 1998-03-20 Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method

Publications (1)

Publication Number Publication Date
JPH11272369A true JPH11272369A (en) 1999-10-08

Family

ID=13499255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10072780A Pending JPH11272369A (en) 1998-03-20 1998-03-20 Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method

Country Status (1)

Country Link
JP (1) JPH11272369A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005334082A (en) * 2004-05-24 2005-12-08 Olympus Corp Apparatus introduced into subject
JP2010257232A (en) * 2009-04-24 2010-11-11 Toshiba Corp Information processing apparatus and power-saving effect display method
JP2012098612A (en) * 2010-11-04 2012-05-24 Ricoh Elemex Corp Image forming device, image forming system and control method of the same
US9575131B2 (en) 2009-07-31 2017-02-21 Fujitsu Limited Residual quantity display system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05215793A (en) * 1992-02-07 1993-08-24 Fujitsu Ltd Method for integrating current consumption
JPH05265879A (en) * 1992-03-24 1993-10-15 Sharp Corp Memory protector for portable electronic equipment
JPH07239372A (en) * 1994-02-25 1995-09-12 Fujitsu Ltd Remained capacity detector for battery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05215793A (en) * 1992-02-07 1993-08-24 Fujitsu Ltd Method for integrating current consumption
JPH05265879A (en) * 1992-03-24 1993-10-15 Sharp Corp Memory protector for portable electronic equipment
JPH07239372A (en) * 1994-02-25 1995-09-12 Fujitsu Ltd Remained capacity detector for battery

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005334082A (en) * 2004-05-24 2005-12-08 Olympus Corp Apparatus introduced into subject
JP4542370B2 (en) * 2004-05-24 2010-09-15 オリンパス株式会社 Intra-subject introduction device
JP2010257232A (en) * 2009-04-24 2010-11-11 Toshiba Corp Information processing apparatus and power-saving effect display method
US8316254B2 (en) 2009-04-24 2012-11-20 Kabushiki Kaisha Toshiba Power-saving effect apparatus and method based on power-saving parameters and power-saving amounts
US9575131B2 (en) 2009-07-31 2017-02-21 Fujitsu Limited Residual quantity display system
JP2012098612A (en) * 2010-11-04 2012-05-24 Ricoh Elemex Corp Image forming device, image forming system and control method of the same

Similar Documents

Publication Publication Date Title
US8386809B2 (en) System and method for configuring a power device
US8732602B2 (en) System and method for altering a user interface of a power device
US8041977B2 (en) Notebook battery replacement time-saving method and battery detector thereof
US5714870A (en) Method for measuring suspend-time power consumption in a battery-powered electronic device
US20100244571A1 (en) System and method for changing power states of a power device
CN101441589A (en) Detection method of substrate management controller and server thereof
CN112172713A (en) Storage battery management method, storage battery management device, vehicle and storage medium
CN113608930B (en) System chip and electronic device
JPH11272369A (en) Method for preventing malfunction of portable electronic instrument and portable electronic instrument adopting its method
JP2020113201A (en) In-vehicle system, wireless communication device, and control method
JP2010086448A (en) Device for detecting degradation of backup condenser, and electronic equipment
JPH11271407A (en) Method for detecting battery residual capacity, and portable electronic device and method for managing battery capacity thereof
US7877631B2 (en) Detection of system battery errors
JP2836600B2 (en) Mobile terminal device
JP2006195560A (en) Electronic device
JPH06348535A (en) Abnormality generation history storage device
JP2016095771A (en) Backup circuit of device drive battery
JP2765502B2 (en) Backup power supply circuit
CN113866651B (en) Low-power detection method and device for remote controller and remote controller
JP5729206B2 (en) Mobile device
JP2661918B2 (en) Battery driven electronics
JP2002359931A (en) Electronic apparatus, control method thereof, and computer-readable storage medium stored with control program therefor
JP2834619B2 (en) Gas leak alarm device
JP3861616B2 (en) Power management device for portable terminal
CN117810479A (en) Method, device, equipment and medium for preventing battery passivation of data recorder