JPH09205736A - Battery driven small-sized electronic equipment - Google Patents

Battery driven small-sized electronic equipment

Info

Publication number
JPH09205736A
JPH09205736A JP8028686A JP2868696A JPH09205736A JP H09205736 A JPH09205736 A JP H09205736A JP 8028686 A JP8028686 A JP 8028686A JP 2868696 A JP2868696 A JP 2868696A JP H09205736 A JPH09205736 A JP H09205736A
Authority
JP
Japan
Prior art keywords
charging
time
charge
battery
secondary battery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8028686A
Other languages
Japanese (ja)
Inventor
Toru Sakai
徹 境井
Hideo Shimizu
英生 清水
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP8028686A priority Critical patent/JPH09205736A/en
Publication of JPH09205736A publication Critical patent/JPH09205736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Calculators And Similar Devices (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the shortage of charging, etc., by obtaining the forecast time for charging until the completion of this charging from the past charging history, when charging a secondary battery. SOLUTION: In a portable terminal 1, CPU1-1 updates the charging count CT2, and counts the charging time of a secondary battery. In the charging of the secondary battery, CPU1-1 updates the charging counter CT1, and counts the charging time. A charging history learning table is one which stores the past charging time geared to the discharge time as charging history information, and CPU-1 accesses this charging history learning table CHST, based on this discharging time, and gets forecast time for this charging the forecast time for this charging from that contents and shows it as guide.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は電池を電源として
駆動する電池駆動式小型電子機器に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a battery-driven compact electronic device driven by a battery as a power source.

【0002】[0002]

【従来の技術】従来、二次電池を電源とする電池駆動式
小型電子機器において、この機器本体を充電器に接続す
ることにより二次電池を充電すると、充電中あるいは充
電完了をランプ等のインディケータによって指示するよ
うにしている。一方、電池を電源とする電池駆動式小型
電子機器においては、電源がオンされている状態で一定
時間入力操作が行われなかったことを条件に、スリープ
モードに切り替えることにより無駄な電力の消費を最小
限に抑えるようにしている。
2. Description of the Related Art Conventionally, in a battery-powered small electronic device using a secondary battery as a power source, when the secondary battery is charged by connecting the main body of the device to a charger, an indicator such as a lamp indicates whether charging is completed or charging is completed. I'm trying to tell you. On the other hand, in battery-powered small electronic devices that use a battery as a power source, switching to the sleep mode consumes unnecessary power when there is no input operation for a certain period while the power is on. I try to keep it to a minimum.

【0003】[0003]

【発明が解決しようとする課題】ところで、二次電池を
充電中にはインディケータによって充電中か充電完了か
を知ることができるが、充電不足にもかかわらず、略フ
ル充電されたものとみなし、充電を途中で中断してしま
うことがある。この発明の課題は、二次電池を充電して
いる際に、過去の充電履歴に基づいて今回の充電が完了
するまでの充電予測時間を求めることによって充電不足
等を未然に防止できるようにすることである。一方、ス
リープモード下で入力操作が行われると、スリップモー
ドを解除して通常の動作モードに戻すようにしている
が、スリープモードに切り替えられるまでの間は、通常
の動作モードのままに設定されており、表示装置等の重
負荷回路によって電力が無駄に使用される。したがっ
て、スリープモードへの切り替えが頻繁に行われると、
実際に入力操作した時間が少ないにもかかわらず、思っ
たよりも早く電池切れとなることがあった。この発明の
課題は、スリープモードに切り替えられるまでの間、表
示装置等の重負荷回路によって無駄な電力が消費される
ため、スリープモードへの切り替え回数を監視すること
によりその切り替え回数に伴う電池残量の不足を警告で
きるようにすることである。
By the way, while the secondary battery is being charged, it is possible to know whether it is being charged or completed by the indicator. Charging may be interrupted on the way. An object of the present invention is to prevent a shortage of charge or the like by obtaining a predicted charge time until the current charge is completed based on the past charge history while the secondary battery is being charged. That is. On the other hand, when an input operation is performed in the sleep mode, the slip mode is canceled and the normal operation mode is restored.However, the normal operation mode is set until the sleep mode is switched to. Therefore, electric power is wasted by a heavy load circuit such as a display device. Therefore, if you frequently switch to sleep mode,
The battery may run out faster than I expected, despite the fact that the input time was short. An object of the present invention is to waste power by a heavy load circuit such as a display device until switching to the sleep mode. It is to be able to warn of lack of quantity.

【0004】[0004]

【課題を解決するための手段】第1の発明(請求項1記
載の発明)の手段は次の通りである。二次電池を内蔵
し、この二次電池を電源として駆動する電池駆動式小型
電子機器において、 (1)、放電時間計測手段は前記二次電池の放電時間を
計測する。 (2)、充電時間計測手段は前記二次電池の充電が完了
するまでの充電時間を計測する。 (3)、充電履歴記憶手段は前記放電時間計測手段によ
って得られた放電時間に対応して前記充電時間計測手段
によって得られた充電時間を充電履歴情報として記憶す
る。 (4)、充電予測時間を求める手段は今回の充電開始時
に、前記放電計測手段によって得られた今回の放電時間
に基づいて前記充電履歴記憶手段をアクセスし、今回の
充電が完了する。 いま、放電時間計測手段によって前回の充電終了時から
今回の充電開始時までの放電時間(例えば、電源オン時
の累計時間)が計測されると、今回の放電時間に基づい
て充電履歴記憶手段がアクセスされ、今回の充電予測時
間が求められる。したがって、二次電池を充電している
際に、過去の充電履歴に基づいて今回の充電が完了する
までの充電予測時間を求めることによって充電不足等を
未然に防止することができる。第2の発明(請求項2記
載の発明)の手段は次の通りである。電池を電源として
駆動し、かつ電源がオンされている状態で一定時間入力
操作が行われなかったことを条件にスリープモードへ切
り替えると共に、このスリープモードで入力操作が行わ
れた際に、スリープモードを解除する電池駆動式小型電
子機器において、 (1)、計数手段はスリープモードへ切り替えられた回
数を計数する。 (2)、比較手段はこの計数手段によって得られたスリ
ープ回数と予め設定されている設定回数とを比較する。 (3)、報知手段はこの比較手段の比較結果を報知す
る。 いま、電源がオンされている状態で一定時間入力操作が
行われなかったことを条件にスリープモードへ切り替え
られると、計数手段はその切り替え回数を計数する。す
ると、比較手段はこのスリープ回数と設定回数とを比較
し、その比較結果はメッセージ表示等によって報知され
る。したがって、スリープモードに切り替えられるまで
の間、表示装置等の重負荷回路によって無駄な電力が消
費されるため、スリープモードへの切り替え回数を監視
することによりその切り替え回数に伴う電池残量の不足
を警告することができる。
The means of the first invention (the invention described in claim 1) is as follows. In a battery-powered small electronic device that incorporates a secondary battery and is driven by the secondary battery as a power source, (1), the discharge time measuring means measures the discharge time of the secondary battery. (2), the charging time measuring means measures the charging time until the charging of the secondary battery is completed. (3) The charging history storage means stores the charging time obtained by the charging time measuring means as the charging history information in correspondence with the discharging time obtained by the discharging time measuring means. (4) The means for obtaining the estimated charge time accesses the charge history storage means based on the current discharge time obtained by the discharge measuring means at the start of the current charge, and the current charge is completed. Now, when the discharge time measurement means measures the discharge time from the end of the previous charge to the start of the current charge (for example, the cumulative time when the power is turned on), the charge history storage means is based on the current discharge time. It is accessed and the estimated charging time for this time is required. Therefore, when the secondary battery is being charged, it is possible to prevent insufficient charging by obtaining the estimated charging time until the current charging is completed based on the past charging history. The means of the second invention (the invention of claim 2) is as follows. When the battery is used as a power supply and the input operation is not performed for a certain period while the power is on, the sleep mode is set and the sleep mode is set when the input operation is performed in this sleep mode. In the battery-powered small electronic device for canceling, (1), the counting means counts the number of times the sleep mode is switched. (2) The comparing means compares the number of sleeps obtained by the counting means with a preset number of times. (3), the notification means notifies the comparison result of the comparison means. When the sleep mode is switched to the condition that the input operation is not performed for a certain period while the power is on, the counting unit counts the number of times of switching. Then, the comparison means compares the number of sleeps with the set number of times, and the comparison result is notified by a message display or the like. Therefore, until switching to the sleep mode, unnecessary electric power is consumed by the heavy load circuit such as the display device. Therefore, by monitoring the number of times of switching to the sleep mode, it is possible to check whether the battery level is insufficient due to the number of times of switching. Can warn.

【0005】[0005]

【発明の実施の形態】以下、図1〜図5を参照してこの
発明の一実施形態を説明する。図1は携帯用端末装置1
とI/Oボックス2とに分離された分離型電子機器にお
いて、携帯用端末装置1、I/Oボックス2の構成を示
したブロック図である。携帯用端末装置1において、C
PU1−1は各種プログラムにしたがって所定のデータ
処理を実行するもので、携帯用端末装置1の各種動作を
制御する他に、I/Oボックス2側の各種動作をも制御
する。なお、記憶装置1−2は、プログラム、データ等
が予め記憶されている記憶媒体を有しており、この記憶
媒体は磁気的、光学的記憶媒体、もしくは半導体メモリ
で構成されている。この記憶媒体は記憶装置に固定的に
設けたもの、もしくは着脱自在に装着するものである。
また、前記記憶媒体に記憶するプログラム、データ等
は、通信回線等を介して接続された他の機器から受信し
て記憶する構成にしてもよく、更に、通信回線等を介し
て接続された他の機器側に前記記憶媒体を備えた記憶装
置を設け、この記憶媒体に記憶されているプログラム、
データを通信回線を介して使用する構成にしてもよい。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 shows a portable terminal device 1.
FIG. 3 is a block diagram showing a configuration of a portable terminal device 1 and an I / O box 2 in a separation-type electronic device separated into an I / O box 2 and an I / O box 2. In the portable terminal device 1, C
The PU 1-1 executes predetermined data processing according to various programs, and in addition to controlling various operations of the portable terminal device 1, also controls various operations on the I / O box 2 side. The storage device 1-2 has a storage medium in which programs, data, etc. are stored in advance, and this storage medium is composed of a magnetic or optical storage medium or a semiconductor memory. This storage medium is fixedly provided in the storage device, or is detachably mounted.
Further, the program, data, etc. stored in the storage medium may be configured to be received and stored from another device connected via a communication line or the like, and further connected via a communication line or the like. A storage device provided with the storage medium on the device side, and a program stored in the storage medium,
The data may be used via a communication line.

【0006】また、携帯用端末装置1は電源部1−3内
の二次電池を電源として駆動するもので、電源スイッチ
1−4がオンされると、電源部1−3は各種回路に駆動
電圧を供給する。また、携帯用端末装置1をI/Oボッ
クス2に載置すると、I/Oボックス2から接続部1−
5を介して電源部1−3に電源供給され、この電源供給
によって二次電池が充電されると共に、携帯用端末装置
1はI/Oボックス2からの電源供給によって駆動され
る。充電状態検出部1−6は二次電池がフル充電された
か否かを検出するもので、CPU1−1は充電状態検出
部1−6によってフル充電が検出されるまで充電時間を
計測する。ここで、ワークメモリ1−7内の充電時間カ
ウンタCT1は、充電開始時にリセットされ、二次電池
がフル充電されるまでの充電時間をカウントするもの
で、CPU1−1は充電完了後、この充電時間カウンタ
CT1で得られた充電時間に基づいてRAM1−8内の
充電履歴学習テーブルCHSTの内容を更新する。
The portable terminal device 1 is driven by the secondary battery in the power source unit 1-3 as a power source. When the power switch 1-4 is turned on, the power source unit 1-3 drives various circuits. Supply voltage. Moreover, when the portable terminal device 1 is placed on the I / O box 2, the connection section 1-
Power is supplied to the power supply unit 1-3 via 5, the secondary battery is charged by this power supply, and the portable terminal device 1 is driven by the power supply from the I / O box 2. The charge state detection unit 1-6 detects whether or not the secondary battery is fully charged, and the CPU 1-1 measures the charge time until the charge state detection unit 1-6 detects full charge. Here, the charge time counter CT1 in the work memory 1-7 is reset at the start of charging and counts the charge time until the secondary battery is fully charged. The contents of the charging history learning table CHST in the RAM 1-8 are updated based on the charging time obtained by the time counter CT1.

【0007】図2は充電履歴学習テーブルCHSTの構
成を示したもので、この充電履歴学習テーブルCHST
は二次電池の放電時間(使用時間)を5分間隔毎に刻
み、図中右側は放電時間「0分」、左側は放電時間「6
0分」に対応付けられている。そして、二次電池がフル
充電されている状態で放電時間が「60分」の場合には
充電予測時間として「120分」が設定されている。つ
まり、放電時間が60分以上であれば、フル充電までに
要する所要時間は最大120分に設定されている。同様
に5分刻みの放電時間に対応する各マス目にもその放電
時間に対応してフル充電までに要する充電予測時間が設
定されるが、図2(A)は充電履歴学習テーブルCHS
Tの初期設定内容を示し、その初期値として「−1」が
それぞれ設定されている。この状態において、例えば、
実際の放電時間が「22分」のとき、フル充電までに
「20分」要したものとすると、充電履歴学習テーブル
CHSTの放電時間「20分」に対応するマス目には、
図2(B)に示す如く「20分」が充電予測時間として
設定される。ここで、放電時間に対応する充電予測時間
は平均化された値であり、次の放電時間が22分で、フ
ル充電までに22分要したものとすると、(20+2
2)÷2=21分が求められて充電履歴学習テーブルC
HSTの対応位置にセットされる。
FIG. 2 shows the structure of the charging history learning table CHST. The charging history learning table CHST is shown in FIG.
Indicates the discharge time (use time) of the secondary battery at intervals of 5 minutes, the right side of the figure is discharge time "0 minutes", and the left side is discharge time "6".
It is associated with "0 minutes". When the secondary battery is fully charged and the discharge time is "60 minutes", "120 minutes" is set as the estimated charge time. That is, if the discharge time is 60 minutes or more, the maximum time required for full charge is set to 120 minutes. Similarly, the estimated charging time required for full charge is also set for each square corresponding to the discharge time in 5-minute increments, but FIG. 2A shows the charge history learning table CHS.
The content of the initial setting of T is shown, and "-1" is set as the initial value thereof. In this state, for example,
If the actual discharge time is "22 minutes" and it takes "20 minutes" to fully charge, the square corresponding to the discharge time "20 minutes" in the charge history learning table CHST is
As shown in FIG. 2B, “20 minutes” is set as the estimated charging time. Here, the estimated charging time corresponding to the discharging time is an averaged value, and if the next discharging time is 22 minutes and it takes 22 minutes to fully charge, (20 + 2)
2) ÷ 2 = 21 minutes is calculated, and charging history learning table C
It is set at the corresponding position of HST.

【0008】ワークメモリ1−7はスリープカウンタS
C、スリープタイマST、放電時間カウンタCT2、充
電時間カウンタCT1等を有する構成で、スリープカウ
ンタSCはスリープモードへの切り替え回数を計数する
カウンタであり、またスリープタイマSTはスリープモ
ードへ切り替えるために入力操作が一定時間行われなか
ったかを監視するためのタイマである。放電時間カウン
タCT2は二次電池の放電時間を計測するもので、放電
時間とは二次電池が前回フル充電されてから今回の充電
を開始するまでの間において、電源がオンされている実
際の放電時間(二次電池使用時間)である。
The work memory 1-7 is a sleep counter S.
C, a sleep timer ST, a discharge time counter CT2, a charge time counter CT1 and the like, the sleep counter SC is a counter for counting the number of times of switching to the sleep mode, and the sleep timer ST is an input for switching to the sleep mode. This is a timer for monitoring whether or not an operation has been performed for a certain period of time. The discharge time counter CT2 measures the discharge time of the secondary battery. The discharge time is the actual time when the power is turned on between the time when the secondary battery was fully charged last time and the time when this charge is started. The discharge time (secondary battery usage time).

【0009】一方、入力部1−9から在庫データ等が入
力されると、CPU1−1はこの在庫データ等を表示部
1−10に表示出力させたり、RAM1−8に格納す
る。そして、携帯用端末装置1がI/Oボックス2に載
置された際に、CPU1−1はRAM1−8から在庫デ
ータ等を読み出し、接続部1−5内の光通信部(例え
ば、非接触型赤外線インターフェイス)を介してI/O
ボックス2に転送する。なお、ブザー1−11は例え
ば、スリープカウンタSCの値が予め設定されている設
定回数を越えたときにアラーム音を発生するもので、こ
のアラーム音によって二次電池を充電すべきことが要求
される。
On the other hand, when inventory data or the like is input from the input unit 1-9, the CPU 1-1 causes the display unit 1-10 to display and output the inventory data or the like and stores it in the RAM 1-8. Then, when the portable terminal device 1 is placed on the I / O box 2, the CPU 1-1 reads inventory data and the like from the RAM 1-8, and the optical communication unit (for example, non-contact) in the connection unit 1-5. Type infrared interface) via I / O
Transfer to Box 2. The buzzer 1-11, for example, generates an alarm sound when the value of the sleep counter SC exceeds a preset number of times, and it is required that the secondary battery be charged by the alarm sound. It

【0010】またI/Oボックス2はモデムを内蔵し、
電話回線を介してホストコンピュータに接続され、更に
I/Oボックス2はサーマルプリンタ等のプリンタ装置
を内蔵し、携帯用端末装置1から光通信によって送信さ
れて来たデータを印字出力させる。ここで、携帯用端末
装置1には各種プログラムにしたがって所定のデータ処
理を実行するCPUが搭載されているが、I/Oボック
ス2にはCPUは搭載されておらず、携帯用端末装置1
側のCPUによってプリンタ装置に対する印字動作やホ
ストコンピュータとのデータ送受信動作が制御される。
ここで、電源部2−1はAC電源に接続され、接続部2
−2を介して携帯用端末装置1側に電源供給を行う。ま
た、接続部2−2は光通信部(例えば、非接触型赤外線
インターフェイス)を有し、携帯用端末装置1との間で
データの送受信を行う。I/O部2−3はモデムやプリ
ンタ装置を構成する。
The I / O box 2 has a built-in modem,
The I / O box 2 is connected to a host computer via a telephone line, and the I / O box 2 has a built-in printer device such as a thermal printer, and prints out data transmitted from the portable terminal device 1 by optical communication. Here, the portable terminal device 1 is equipped with a CPU that executes predetermined data processing according to various programs, but the I / O box 2 is not equipped with a CPU, and therefore the portable terminal device 1
The CPU on the side controls the printing operation for the printer device and the data transmission / reception operation with the host computer.
Here, the power supply unit 2-1 is connected to the AC power supply, and the connection unit 2
-2 supplies power to the portable terminal device 1 side. The connection unit 2-2 has an optical communication unit (for example, a non-contact type infrared interface), and transmits / receives data to / from the portable terminal device 1. The I / O unit 2-3 constitutes a modem or a printer device.

【0011】次に、この電池駆動式小型電子機器の動作
を図3〜図5に示すフローチャートにしたがって説明す
る。図3は携帯用端末装置1の全体動作を示したフロー
チャートである。なお、このフローチャートに記載した
各機能を実行するプログラムはCPUが読み取り可能な
プログラムコードの形態で前記記憶媒体に記憶されてい
る。先ず、携帯用端末装置1がI/Oボックス2から切
り離されているかをチェックする(ステップA1)。こ
こで、携帯用端末装置1がI/Oボックス2に載置され
ているか、切り離されているかは携帯用端末装置1側に
設けたマイクロスイッチ(図示せず)等によって検出さ
れる。いま、携帯用端末装置1がI/Oボックス2から
切り離されている場合、携帯用端末装置1は二次電池を
電源として駆動される。ここで、電源スイッチ1−4が
オンされると(ステップA2)、CPU1−1は放電時
間カウンタCT2を更新すると共に(ステップA3)、
キー入力操作有無をチェックする(ステップA4)。
Next, the operation of the battery-powered small electronic device will be described with reference to the flow charts shown in FIGS. FIG. 3 is a flowchart showing the overall operation of the portable terminal device 1. The programs that execute the functions described in this flowchart are stored in the storage medium in the form of program codes that can be read by the CPU. First, it is checked whether or not the portable terminal device 1 is separated from the I / O box 2 (step A1). Here, whether the portable terminal device 1 is placed on the I / O box 2 or disconnected is detected by a micro switch (not shown) or the like provided on the portable terminal device 1 side. Now, when the portable terminal device 1 is separated from the I / O box 2, the portable terminal device 1 is driven by using a secondary battery as a power source. Here, when the power switch 1-4 is turned on (step A2), the CPU 1-1 updates the discharge time counter CT2 (step A3),
The presence / absence of a key input operation is checked (step A4).

【0012】いま、キー入力が無い場合、CPU1−1
はスリープタイマSTを更新すると共に(ステップA
5)、このスリープタイマSTの値が一定時間以上かを
チェックする(ステップA6)。ここで、一定時間以
上、キー入力が行われなかった場合、CPU1−1はス
リープカウンタSCの値に「1」を加算してその更新を
行うと共に(ステップA7)、通常の動作モードからス
リープモードへ切り替える(ステップA8)。一方、ス
リープタイマSTの値が一定時間未満であれば、ステッ
プA9に進み、携帯用端末装置1をI/Oボックス2か
ら切り離した直後かをチェックするが、携帯用端末装置
1をI/Oボックス2から切り離した後、最初に電源ス
イッチ1−4が操作された場合には切り離し直後と判定
する。この結果、切り離し直後であれば、放電時間カウ
ンタCT2をリセットする(ステップA10)。そし
て、ステップA1に戻る。いま、キー入力が有れば(ス
テップA4)、スリープタイマSTをクリアする(ステ
ップA11)。そして、現在スリープモードでなければ
(ステップA12)、キー入力に応じた処理の実行に移
る(ステップA14)。またスリープモードであれば、
キー入力に応答してスリープモードを解除し、通常の動
作モードに切り替えたのち(ステップA13)、キー入
力に応じた処理の実行に移る(ステップA14)。そし
て、ステップA1に戻る。一方、上述のステップA8で
スリープモードに切り替えられた場合には、ステップA
15に進み、スリープカウンタSCの値が予め設定され
ている設定回数を越えたかをチェックし、越えていなけ
ればステップA1に戻るが、スリープ回数が設定回数以
上であればブザー1−11を駆動してアラーム音を発生
させると共に充電すべき旨のメッセージ表示を行う(ス
テップA16)。このような警告を無視し、充電を行わ
ないまま使用し続け、スリープカウンタSCの値が限界
設定値を越えた場合には(ステップA17)、強制的に
スリープモードへ切替固定する(ステップA18)。す
なわち、この固定スリープモードは二次電池が充電され
なければ、スリープモードでキー入力が行われてもスリ
ープモードを解除せず、スリープモードのままに固定さ
れることを意味している。
If there is no key input, the CPU 1-1
Updates the sleep timer ST (step A
5) Then, it is checked whether the value of the sleep timer ST is a certain time or more (step A6). Here, when the key input is not performed for a certain period of time or more, the CPU 1-1 adds "1" to the value of the sleep counter SC to update the value (step A7), and changes from the normal operation mode to the sleep mode. (Step A8). On the other hand, if the value of the sleep timer ST is less than the predetermined time, the process proceeds to step A9, and it is checked whether or not the portable terminal device 1 has just been disconnected from the I / O box 2. When the power switch 1-4 is operated first after disconnecting from the box 2, it is determined to be immediately after disconnecting. As a result, immediately after disconnection, the discharge time counter CT2 is reset (step A10). Then, the process returns to step A1. If there is a key input (step A4), the sleep timer ST is cleared (step A11). If the current mode is not the sleep mode (step A12), the process corresponding to the key input is executed (step A14). Also, if it is sleep mode,
In response to the key input, the sleep mode is canceled and the normal operation mode is switched to (step A13), and then the process corresponding to the key input is executed (step A14). Then, the process returns to step A1. On the other hand, when the sleep mode is switched to in step A8 described above, step A
In step 15, it is checked whether or not the value of the sleep counter SC exceeds a preset number of times. If it does not exceed the preset number of times, the process returns to step A1. Generates an alarm sound and displays a message indicating that the battery should be charged (step A16). If such a warning is ignored, the sleep counter SC continues to be used without being charged, and when the value of the sleep counter SC exceeds the limit set value (step A17), the mode is forcibly switched to the sleep mode and fixed (step A18). . That is, this fixed sleep mode means that if the secondary battery is not charged, the sleep mode is not canceled even if a key input is made in the sleep mode, and the sleep mode is fixed.

【0013】他方、携帯用端末装置1をI/Oボックス
2に載置すると、携帯用端末装置1はI/Oボックス2
からの供給電源によって駆動される。ここで、ステップ
A1で携帯用端末装置1がI/Oボックス2に載置され
ると、CPU1−1はスリープカウンタSCをリセット
する(ステップA19)。そして、現在スリープモード
であれば(ステップA20)、スリープモードを解除し
て通常の動作モードに切り替える(ステップA21)。
ここで、キー入力が行われると(ステップA22)、キ
ー入力に応じた処理の実行に移る(ステップA23)。
次に、今回の充電に要する充電予測時間を取得する処理
に移るが(ステップA24)、この取得処理は図4に示
すフローチャートにしたがって実行される。
On the other hand, when the portable terminal device 1 is placed on the I / O box 2, the portable terminal device 1 is placed on the I / O box 2.
It is driven by the power supply from. Here, when the portable terminal device 1 is placed on the I / O box 2 in step A1, the CPU 1-1 resets the sleep counter SC (step A19). Then, if it is currently in the sleep mode (step A20), the sleep mode is canceled to switch to the normal operation mode (step A21).
Here, when a key input is performed (step A22), the process corresponding to the key input is executed (step A23).
Next, the process proceeds to a process of acquiring the estimated charging time required for the current charging (step A24), and this acquisition process is executed according to the flowchart shown in FIG.

【0014】すなわち、放電時間カウンタCT2によっ
て得られた放電時間に基づいて充電履歴学習テーブルC
HSTをアクセスし、放電時間に対応する5分刻みの位
置を求める(ステップB1)。そして、該当位置に正の
値が設定されていれば(ステップB2)、この値を今回
の充電予測時間として充電履歴学習テーブルCHSTか
ら取り出す(ステップB3)。また、充電履歴学習テー
ブルCHSTの該当位置に正の値が無い場合にはステッ
プB4に進み、放電時間カウンタCT2の値が60分を
越えたかを調べ、60分未満であれば、充電履歴学習テ
ーブルCHSTの該当位置よりも左に1コマ分ずれた位
置を指定し(ステップB5)、この指定位置に正の値が
有るかを調べる(ステップB2)。この結果、指定位置
に正の値が有れば、その値を充電予測時間として取り出
す(ステップB3)。一方、放電時間カウンタCT2の
値が60分を越えていれば、その最大充電値120分を
充電予測時間として読み出す(ステップB6)。
That is, the charge history learning table C is based on the discharge time obtained by the discharge time counter CT2.
The HST is accessed to find the position in 5-minute increments corresponding to the discharge time (step B1). Then, if a positive value is set in the corresponding position (step B2), this value is taken out from the charging history learning table CHST as the current estimated charging time (step B3). If there is no positive value at the corresponding position in the charge history learning table CHST, the process proceeds to step B4 to check whether the value of the discharge time counter CT2 exceeds 60 minutes, and if it is less than 60 minutes, the charge history learning table. A position shifted by one frame to the left of the corresponding CHST position is designated (step B5), and it is checked whether or not the designated position has a positive value (step B2). As a result, if the designated position has a positive value, that value is taken out as the estimated charging time (step B3). On the other hand, if the value of the discharge time counter CT2 exceeds 60 minutes, the maximum charge value 120 minutes is read as the estimated charge time (step B6).

【0015】このようにして充電予測時間を取得する
と、これを今回の充電に要する所要時間として表示出力
させる(ステップA25)。次に、CPU1−1は充電
時間カウンタCT1をリセットしたのち(ステップA2
6)、充電時間カウンタCT1を更新する充電時間計測
動作(ステップA27)を二次電池がフル充電されるま
で行う(ステップA28)。ここで、充電状態検出部1
−6によって二次電池のフル充電が検出されると、この
充電時間カウンタCT1の値に基づいて充電履歴学習テ
ーブルCHSTの内容を更新する処理に移る(ステップ
A29)。
When the estimated charging time is obtained in this way, this is displayed and output as the required time required for the current charging (step A25). Next, the CPU 1-1 resets the charging time counter CT1 (step A2
6), the charging time measuring operation for updating the charging time counter CT1 (step A27) is performed until the secondary battery is fully charged (step A28). Here, the charge state detection unit 1
When the full charge of the secondary battery is detected by -6, the process moves to the process of updating the contents of the charge history learning table CHST based on the value of the charge time counter CT1 (step A29).

【0016】図5は充電履歴学習テーブルCHSTの更
新処理を示したフローチャートである。先ず、CPU1
−1は放電時間カウンタCT2によって得られた今回の
放電時間に基づいて充電履歴学習テーブルCHSTの該
当位置を求め(ステップC1)、この該当位置に正の値
が無ければ(ステップC2)、その値は初期設定値「−
1」であるので、今回の充電時間カウンタCT1の値を
該当位置にそのまま書き込む(ステップC3)。一方、
該当位置に正の値が有れば、その値と充電時間カウンタ
CT1によって得られた今回の充電時間とを加算し、こ
の加算結果を「2」で除算することにより平均的な充電
時間を求め、この平均値を該当位置に書き込む(ステッ
プC4)。そして、ステップA30に進み、充電完了を
表示する。そして、ステップA2に戻る。
FIG. 5 is a flowchart showing the update processing of the charging history learning table CHST. First, CPU1
-1 obtains the corresponding position of the charging history learning table CHST based on the current discharge time obtained by the discharge time counter CT2 (step C1), and if there is no positive value at this corresponding position (step C2), the value Is the default value "-
Since it is "1", the value of the current charging time counter CT1 is written as it is in the corresponding position (step C3). on the other hand,
If there is a positive value at the corresponding position, that value is added to the current charging time obtained by the charging time counter CT1 and the addition result is divided by "2" to obtain the average charging time. The average value is written in the corresponding position (step C4). Then, the process proceeds to step A30, and the completion of charging is displayed. Then, the process returns to step A2.

【0017】以上のように携帯用端末装置1に備えられ
ている二次電池がフル充電されてからの放電時間を計数
すると共に、今回充電を開始する際に、それまでの放電
時間に基づいて充電履歴学習テーブルCHSTをアクセ
スし、この放電時間に対応する位置にセットされている
値を今回の充電予測時間として取得して表示するように
したから、充電完了までの所要時間を知ることができ
る。また、スリープモードに切り替えられる毎にその回
数を計数し、このスリープ回数が予め設定されている設
定回数以上となった際に充電を促す警告を行うようにし
たから、スリープモードへの切り替えが煩雑に行われる
ことによる電池切れを未然に防止することができる。ま
た、スリープ回数が限界値に達すると、固定スリープモ
ードに切り替わり、この固定スリープモードは充電の開
始を条件として解除されるため、警告を無視してスリー
プ回数が限界値まで達したとしても電池切れに伴う入力
データの破壊等を未然に防止することができる。
As described above, the discharging time after the secondary battery provided in the portable terminal device 1 is fully charged is counted, and when the charging is started this time, based on the discharging time up to that time. Since the charge history learning table CHST is accessed and the value set at the position corresponding to this discharge time is acquired and displayed as the current estimated charge time, the time required to complete the charge can be known. . In addition, the number of times each time the sleep mode is switched is counted, and when the number of sleeps exceeds a preset number of times, a warning is issued to prompt charging, so switching to the sleep mode is complicated. It is possible to prevent the battery from running out due to the above. Also, when the number of sleeps reaches the limit value, it switches to the fixed sleep mode, and this fixed sleep mode is canceled on condition that charging is started, so even if the warning is ignored and the number of sleeps reaches the limit value, the battery runs out. It is possible to prevent input data from being destroyed due to the above.

【0018】なお、充電予測時間を求める場合、5分刻
みの放電時間に対応して充電履歴学習テーブルCHST
から平均充電時間を読み出すようにしたが、5分刻みの
放電時間に対応して過去の充電時間を全て記憶してお
き、その中の中間値を充電予測時間として読み出すよう
にしてもよい。また、充電履歴学習テーブルCHSTの
放電時間は5分間隔に限らないことは勿論である。ま
た、充電予測時間を表示するようにしたが充電予測時間
を充電履歴学習テーブルCHSTから読み出してその時
間だけ自動的に充電を行うようにしてもよい。更に、ス
リープモードが解除された際に、現時点までのスリープ
回数を表示して警告するようにしてもよい。
When the estimated charging time is obtained, the charging history learning table CHST is associated with the discharging time in 5 minute increments.
Although the average charging time is read out from, the past charging time may be stored in correspondence with the discharging time in 5 minute intervals, and the intermediate value among them may be read out as the predicted charging time. Further, it goes without saying that the discharge time of the charge history learning table CHST is not limited to the interval of 5 minutes. Further, although the estimated charging time is displayed, the estimated charging time may be read from the charging history learning table CHST and the charging may be automatically performed for that time. Furthermore, when the sleep mode is released, the number of sleeps up to the present time may be displayed to warn.

【0019】[0019]

【発明の効果】この発明によれば、二次電池を充電して
いる際に、過去の充電履歴に基づいて今回の充電が完了
するまでの充電予測時間を求めることによって充電不足
等を未然に防止することができるので、確実な充電が可
能となる。また、スリープモードに切り替えられるまで
の間、表示装置等の重負荷回路によって無駄な電力が消
費されるため、スリープモードへの切り替え回数を監視
することによりその切り替え回数に伴う電池残量の不足
を警告することができる。
According to the present invention, when the secondary battery is being charged, the estimated charging time until the current charging is completed is obtained based on the past charging history, so that insufficient charging can be prevented. Since this can be prevented, reliable charging is possible. In addition, since the heavy load circuit such as the display device consumes unnecessary power until the switching to the sleep mode, the number of switching to the sleep mode is monitored to check the shortage of the battery level due to the switching. Can warn.

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

【図1】携帯用端末装置1とI/Oボックス2とに分離
された分離型電子機器において、携帯用端末装置1、I
/Oボックス2の構成を示したブロック図。
FIG. 1 shows a portable electronic device 1 and an I / O box 2 which are separated into a portable electronic device 1 and an I / O box 2.
The block diagram which showed the structure of the / O box 2.

【図2】充電履歴学習テーブルCHSTの構成を示し、
(A)は初期設定時の内容を示し、(B)は初期設定時
の状態において、充電時間として「20分」が設定され
た際の内容を示した図。
FIG. 2 shows the configuration of a charging history learning table CHST,
FIG. 9A is a diagram showing the contents at the time of initial setting, and FIG. 9B is a diagram showing the contents when the charging time is “20 minutes” in the state at the time of initial setting.

【図3】携帯用端末装置1の全体動作を示したフローチ
ャート。
FIG. 3 is a flowchart showing the overall operation of the portable terminal device 1.

【図4】図3のステップA24(充電予測時間取得処
理)を示したフローチャート。
FIG. 4 is a flowchart showing step A24 (charging estimated time acquisition process) of FIG.

【図5】図3のステップA29(充放電学習テーブル更
新処理)を示したフローチャート。
5 is a flowchart showing step A29 (charging / discharging learning table update processing) of FIG. 3. FIG.

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

1 携帯用端末装置 1−1 CPU 1−2 記憶装置 1−3 電源部 1−4 電源スイッチ 1−5 接続部 1−6 充電状態検出部 1−7 ワークメモリ 1−8 RAM 1−9 入力部 1−10 表示部 1−11 ブザー 2 I/Oボックス CT1 充電時間カウンタ CT2 放電時間カウンタ SC スリープカウンタ ST スリープタイマ CHST 充電履歴学習テーブル 1 Portable Terminal Device 1-1 CPU 1-2 Storage Device 1-3 Power Supply Unit 1-4 Power Switch 1-5 Connection Unit 1-6 Charging State Detection Unit 1-7 Work Memory 1-8 RAM 1-9 Input Unit 1-10 Display 1-11 Buzzer 2 I / O Box CT1 Charging Time Counter CT2 Discharging Time Counter SC Sleep Counter ST Sleep Timer CHST Charging History Learning Table

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】二次電池を内蔵し、この二次電池を電源と
して駆動する電池駆動式小型電子機器において、 前記二次電池の放電時間を計測する放電時間計測手段
と、 前記二次電池の充電が完了するまでの充電時間を計測す
る充電時間計測手段と、 前記放電時間計測手段によって得られた放電時間に対応
して前記充電時間計測手段によって得られた充電時間を
充電履歴情報として記憶する充電履歴記憶手段と、 今回の充電開始時に、前記放電計測手段によって得られ
た今回の放電時間に基づいて前記充電履歴記憶手段をア
クセスし、今回の充電が完了するまでの充電予測時間を
求める手段とを具備したことを特徴とする電池駆動式小
型電子機器。
1. A battery-powered small electronic device having a built-in secondary battery and driven by using the secondary battery as a power source, comprising: discharge time measuring means for measuring a discharge time of the secondary battery; Charging time measuring means for measuring the charging time until the charging is completed, and the charging time obtained by the charging time measuring means corresponding to the discharging time obtained by the discharging time measuring means is stored as charging history information. Charge history storage means, and means for accessing the charge history storage means based on the current discharge time obtained by the discharge measuring means at the start of the current charge, and obtaining a predicted charge time until the current charge is completed. A battery-operated small electronic device comprising:
【請求項2】電池を電源として駆動し、かつ電源がオン
されている状態で一定時間入力操作が行われなかったこ
とを条件にスリープモードへ切り替えると共に、このス
リープモードで入力操作が行われた際に、スリープモー
ドを解除する電池駆動式小型電子機器において、 スリープモードへ切り替えられた回数を計数する計数手
段と、 この計数手段によって得られたスリープ回数と予め設定
されている設定回数とを比較する比較手段と、 この比較手段の比較結果を報知する報知手段とを具備し
たことを特徴とする電池駆動式小型電子機器。
2. A battery is used as a power source, and switching to a sleep mode is performed on condition that no input operation is performed for a certain period while the power is on, and the input operation is performed in this sleep mode. In this case, in the battery-powered small electronic device that releases the sleep mode, the counting means that counts the number of times the sleep mode is switched is compared with the number of sleep times obtained by this counting means and the preset number of times. A battery-operated small electronic device, comprising: a comparison means for performing the comparison and a notification means for reporting the comparison result of the comparison means.
JP8028686A 1996-01-24 1996-01-24 Battery driven small-sized electronic equipment Pending JPH09205736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8028686A JPH09205736A (en) 1996-01-24 1996-01-24 Battery driven small-sized electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8028686A JPH09205736A (en) 1996-01-24 1996-01-24 Battery driven small-sized electronic equipment

Publications (1)

Publication Number Publication Date
JPH09205736A true JPH09205736A (en) 1997-08-05

Family

ID=12255379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8028686A Pending JPH09205736A (en) 1996-01-24 1996-01-24 Battery driven small-sized electronic equipment

Country Status (1)

Country Link
JP (1) JPH09205736A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1057652A2 (en) * 1999-05-26 2000-12-06 Seiko Epson Corporation Printer and charging device
JP2006056678A (en) * 2004-08-20 2006-03-02 Mitsubishi Electric Corp Elevator system
US7304454B2 (en) 2003-12-22 2007-12-04 Lenovo Singapore Pte. Ltd. Information processing apparatus for setting charge-start criteria level based on power supply drive history
JP2008171292A (en) * 2007-01-15 2008-07-24 Toshiba Corp Image forming device, display terminal, communication system, communication method, and program
US7466105B2 (en) 2003-12-22 2008-12-16 Lenovo (Singapore) Pte. Ltd. Autonomic battery reconditioning
JP2009172872A (en) * 2008-01-24 2009-08-06 Toshiba Tec Corp Thermal printer
JP2012106509A (en) * 2012-02-03 2012-06-07 Toshiba Tec Corp Thermal printer
CN111656643A (en) * 2017-12-07 2020-09-11 雅扎米Ip私人有限公司 Adaptive charging protocol for fast charging of battery and fast charging system implementing the same

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1057652A2 (en) * 1999-05-26 2000-12-06 Seiko Epson Corporation Printer and charging device
EP1057652A3 (en) * 1999-05-26 2001-08-22 Seiko Epson Corporation Printer and charging device
US7304454B2 (en) 2003-12-22 2007-12-04 Lenovo Singapore Pte. Ltd. Information processing apparatus for setting charge-start criteria level based on power supply drive history
US7466105B2 (en) 2003-12-22 2008-12-16 Lenovo (Singapore) Pte. Ltd. Autonomic battery reconditioning
JP2006056678A (en) * 2004-08-20 2006-03-02 Mitsubishi Electric Corp Elevator system
JP2008171292A (en) * 2007-01-15 2008-07-24 Toshiba Corp Image forming device, display terminal, communication system, communication method, and program
JP2009172872A (en) * 2008-01-24 2009-08-06 Toshiba Tec Corp Thermal printer
JP2012106509A (en) * 2012-02-03 2012-06-07 Toshiba Tec Corp Thermal printer
CN111656643A (en) * 2017-12-07 2020-09-11 雅扎米Ip私人有限公司 Adaptive charging protocol for fast charging of battery and fast charging system implementing the same

Similar Documents

Publication Publication Date Title
KR920002245B1 (en) Portable computer operated by batteries
JP4580132B2 (en) Battery management circuit
US5804894A (en) Low voltage battery pack monitoring circuit with adjustable set points
US6714016B2 (en) Method for displaying information concerning power consumption and electronic device
US8786131B2 (en) Uninterruptible power supply and method for enabling the same to save energy
US5349668A (en) Battery operated computer having improved battery monitor and cell reversal protection circuit
US7376851B2 (en) Apparatus and method for managing power in computer system
US20040185913A1 (en) Small electronic device
JPH07176333A (en) Electronic apparatus, battery control device, and battery control method
JP2000029576A (en) Electronic equipment and power source control method therefor
JP2002062955A (en) Battery driven terminal device and storage medium
EP1723493A1 (en) Method and apparatus for handling a charging state in a mobile electronic device
JP2008283786A (en) Secondary battery charging system
JPH09205736A (en) Battery driven small-sized electronic equipment
KR20000001949A (en) Method for calibrating capacity of a rechargeable battery
JP2007074866A (en) Malfunction prevention device
JPH06303178A (en) Radio selection calling receiver
JP2780699B2 (en) Battery control method and power supply control circuit for personal computer
JP3120195B2 (en) Battery control device
CN113687711A (en) Terminal wake-up circuit and wake-up method
JP3437397B2 (en) Information processing apparatus, battery pack, and method of calculating remaining battery charge of battery pack
JPH0459645B2 (en)
JPH0752893B2 (en) Callable time display device for cordless handset
JPH11175440A (en) Portable information terminal
CN217360594U (en) Startup and shutdown control device of industrial personal computer

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term