JP3542409B2 - Information processing equipment - Google Patents

Information processing equipment Download PDF

Info

Publication number
JP3542409B2
JP3542409B2 JP15027795A JP15027795A JP3542409B2 JP 3542409 B2 JP3542409 B2 JP 3542409B2 JP 15027795 A JP15027795 A JP 15027795A JP 15027795 A JP15027795 A JP 15027795A JP 3542409 B2 JP3542409 B2 JP 3542409B2
Authority
JP
Japan
Prior art keywords
mode
battery
signal
controller
monitoring controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP15027795A
Other languages
Japanese (ja)
Other versions
JPH096489A (en
Inventor
茂 藤田
智昭 菊地
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP15027795A priority Critical patent/JP3542409B2/en
Publication of JPH096489A publication Critical patent/JPH096489A/en
Application granted granted Critical
Publication of JP3542409B2 publication Critical patent/JP3542409B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【産業上の利用分野】
本発明はバッテリで動作可能な情報処理装置に関するものである。
【0002】
【従来の技術】
従来、バッテリ容量を監視するコントローラを持ち、バッテリで動作が可能で、サスペンドモードを持つ情報処理装置において、バッテリ動作中にバッテリ残容量が少なくなってきた場合これを検出し、データをディスク等に保存してシステムを安全に遮断するための処理を行う必要があった。サスペンドモードはシステムの低消費電力モードであり、直前のフル動作モードの設定を保持し、あるトリガ信号(以下レジュームイベントと呼ぶ)によってサスペンドモードへ入る直前のフル動作モード環境へ復帰(レジューム)するモードでもある。また、サスペンドモード中にバッテリ残量が不足し、データを保持できなくなると、音などでその旨をユーザーに通知し、ユーザーの処理を促すか、システム設定内容をディスクなどの安全な記憶装置に自動的に待避し、システムを遮断する処理を行う必要がある。つまり、サスペンド中にバッテリ残容量が不足した状態もレジュームイベントの一つとして捉えることができる。従って、サスペンドモードからモード遷移を起こす必要のあるトリガ要因を一括して管理するためには、バッテリ容量監視コントローラにレジュームイベントを検出する機能を合わせて持たせると都合が良い。こういった理由からバッテリ容量監視コントローラにレジュームイベントを検出する機能を持たせるように構成した情報処理装置の例がある。
【0003】
【発明が解決しようとしている課題】
バッテリ容量を監視するコントローラを持ちバッテリで動作が可能で、サスペンドモードを持つ情報処理装置において、バッテリ容量監視コントローラを可能なかぎり長い時間、スリープモードで動作させ、必要な時に通常動作モードに遷移させるように構成すると、バッテリ容量監視コントローラ自身が消費する電力を低下させたい場合有効である。これは、システム全体の消費電力を低下させるサスペンドモードにおいて、サスペンドモード持続時間を伸ばしたい場合、特に有効である。しかし、バッテリ残量監視コントローラがスリープモード動作に使用できる割り込み検出信号数を上回る数のレジュームイベントを検出したい場合、スリープ時間があまり長くなると、その間に発生したレジュームイベントを検出できないという欠点がある。このためある程度リアルタイム性が要求されるレジュームイベント、例えば、サスペンド中のキー入力、マウスクリックなどユーザーが起こすイベントを検出できなくなり、結果としてユーザーはレジュームさせたくても、レジュームイベントが発生した時にバッテリ容量監視コントローラがスリープモードであるとイベントを検出できないので、レジューム要求が受け付けられない場合があったり、コントローラがレジュームイベントを検出するまで待たされることになり、非常に不便であった。例えば、ユーザーからのレジュームイベントをある程度リアルタイムで検出するためには、バッテリ残量監視コントローラを1秒間に8回程度(8Hz周期)スリープから解除することが必要である。これを100秒に一回程度に延長できれば、消費電力を抑えることはできないが、ユーザーがレジュームイベントを入力してもほとんど取りこぼされ、検出されることはなくなってしまう。
【0004】
なお、バッテリ残量監視コントローラのスリープモードとは、コントローラ内蔵のソフトが動作を停止し、限られた割り込み信号を検出することができ、この割り込み信号によってフル動作モードへ復帰することができるモードであり、フル動作モードよりもコントローラ自身の消費電力は小さくなるモードのことをいう。
【0005】
また、バッテリ残量監視コントローラのフル動作モードとは、コントローラ内蔵のソフトウェアが動作し、コントローラに装備されたすべての信号端子が使用可能で、外部ハードウェアからの信号またはソフトウェアの設定によってスリープモードへ遷移できる動作モードのことをいう。
【0006】
上述した従来例では、バッテリ残量監視コントローラがスリープ中にレジュームイベントを検出できないので、コントローラの消費電力を抑えるためにスリープを解除する割り込み信号の発生間隔を長くし、コントローラが通常動作モードとなる延べ時間を減らそうとすると、レジュームイベントを検出できない時間が長くなり、ユーザにとってはかえって不便になってしまうというジレンマを抱えていることがわかる。
【0007】
本出願に係る第1の発明の目的は、スリープモードを持つコントローラにバッテリ容量を監視させ、バッテリで動作可能な情報処理装置において、システムの省電力モードであるサスペンドモードにおいてバッテリ容量監視コントローラの消費電力を抑え、サスペンドモードにおいても持続時間の長い情報システムをユーザに提供することである。
【0008】
本出願に係る第2の発明の目的は、システムをサスペンドモードから通常動作モードへレジュームする際に、ある程度リアルタイム性が要求されるレジュームイベント、例えば、サスペンド中のキー入力、マウスクリックなどユーザーが起こすイベントを検出し、ユーザーがレジュームさせたい時にはユーザーを待たせることなく、いつでも応答し、フル動作モードへ遷移する情報処理装置を提供することである。
【0009】
【課題を解決するための手段】
上記目的を解決するために、本発明の情報処理装置は、バッテリで駆動され、サスペンドモードを有する情報処理装置あって、スリープモードを持ち、前記バッテリの容量を監視するバッテリ容量監視コントローラと、前記バッテリ容量監視コントローラの動作モードを、スリープモードから通常モードへ遷移するように指示する指示手段と、前記情報処理装置のサスペンドモードから通常動作モードへの復帰を要求する信号を保持する保持手段と、前記情報処理装置の動作モードを、サスペンドモードから通常動作モードへ遷移させる制御部とを有し、前記バッテリ容量監視コントローラの動作モードが、スリープモードから通常モードへ遷移したときに、前記保持手段に前記復帰を要求する信号が保持されている場合、前記サスペンドモードから前記通常動作モードへ遷移するように、前記バッテリ容量監視コントローラが前記制御部へ指示した後に、前記バッテリ容量監視コントローラはスリープモードへ入ることを特徴とする。
【0013】
【実施例】
(実施例1)
図1に本発明の実施例1のブロック図を示す。
【0014】
E11は情報処理装置の中央演算処理装置(CPU)である。
【0015】
E12は種々のデータを記憶するメモリである。
【0016】
E13はCPUE11、メモリE12、周辺機器を接続するメモリコントローラである。
【0017】
E14はメモリコントローラE13に接続する周辺デバイスAで、システムがサスペンド中でも電源が切れないデバイスである。
【0018】
E15はメモリコントローラE13に接続する周辺デバイスBで、システムがサスペンド中電源が切れるデバイスである。
【0019】
E16はシステムモード制御部であり、システムを通常動作モードとサスペンドモードとを遷移させる制御を行う。システムモード制御部E16はサスペンド中も電源が供給され、レジューム処理などを行う。
【0020】
E17は電源部でシステムモード制御部E16からの制御信号に従い、通常動作モードではシステムの全デバイスへ電力を供給するが、サスペンドモードでは必要なデバイスに電力を供給する。この図の場合は、周辺デバイスBE15にはサスペンドモード中電源が供給されない。また、システムモード制御部E16はサスペンドモード中に電源が切れないデバイスE14に対しては、Suspend_State信号を出力してシステムの動作モード状態を通知する。さらに、システムモード制御部は内部にカウンタを持ち、このカウンタに設定された値をカウントアップしたときに、バッテリ残量監視コントローラに対して、スリープ解除割り込み信号を発生し、コントローラをスリープモードから通常動作モードへ戻し、バッテリの全容量を検出させる。Suspend_State信号を受けたデバイスはあらかじめ設定されたとおりに動作し、サスペンドモード中は省電力動作に移行する。
【0021】
E18はバッテリ残量監視コントローラであり、バッテリE19の出力電圧を監視し、バッテリの残容量を監視する。残容量がシステム動作に影響する場合は、システムに対してLowバッテリ通知信号を出力して通知する。また、バッテリ残量監視コントローラE18はシステムモード制御部からのスリープ解除割り込み信号によって割り込みが発生し、スリープモードから通常動作モードへ遷移し、各処理を行う。この処理はコントローラ自身に内蔵されているプログラムに従い、実行される。また、この例ではシステムがサスペンドモードからレジュームするトリガとなる6種類のレジュームイベント信号がバッテリ残量監視コントローラに接続されている。PWR−ON信号はシステムのPower Onスイッチが入れられたことを示す信号、KEY_IN信号はキーボードからキー入力があったことを示す信号、MOUSE_IN信号はマウス入力があったことを示す信号、Event−A、Event−B、Ebent−C信号はその他のレジュームイベント信号を示している。先にも述べたが、スリープモードを持つコントローラは、スリープモード中の自身の消費電力を抑えるために、スリープモード中に使用できる入力信号端子数や割り込み入力端子数を制限するものが多い。この例ではスリープモード中に有効な割り込み入力端子は1つしかなく、他のレジュームイベント信号すべてを割り込み端子へ割り当てることができないコントローラを使用している。
【0022】
本発明では、レジュームイベントトリガ信号が発生した時に、これをラッチし、保持するトリガ信号保持装置E20が新たに加わった点である。このトリガ信号保持装置E20はサスペンド中も電源を切らずにレジュームイベント信号を保持することはいうまでもない。バッテリ残量監視コントローラE18がスリープから解除されて、各端子を読み終えたら、クリア信号を発生し、トリガ信号保持装置E20が保持していた状態をクリアする。
【0023】
また、トリガ信号保持装置E20は、具体的にはCMOSプロセスによるフリップフロップ回路のように、信号をラッチしたり、クリアしたりする動作以外の静的な状態ではほとんど電力を消費しない構成にすることが消費電力を低下させる効果を大きくするためには、有効である。
【0024】
図2に本実施例の動作を説明するフローチャートを示す。レジュームイベントトリガ信号保持装置E20を追加したことにより、本実施例ではS14でレジュームイベント信号が接続されたコントローラの各端子を読み込めば、トリガ信号が保持されているのでレジュームイベントが発生していたことを検出でき、S16でシステムへレジューム信号発生要求を行うことができるようになっている。
【0025】
図2は図1中のバッテリ残量監視コントローラE18がシステムモード制御部E16からスリープ解除割り込み信号を受け、発生した割り込み処理の内容を示すものである。
【0026】
S10は割り込み処理の開始である。
【0027】
S11はバッテリ残量検出処理である。この例ではバッテリが出力している電圧値からバッテリ残容量を算出するものとするが、バッテリが自身の容量を通信できる機能を備えている場合は通信によって残容量を取得してもよい。
【0028】
S12はバッテリ残容量がシステムの動作に対して十分かどうかを判定する。あらかじめ設定された値に満たなければ、S19へ進む。そうでなければ、S13へ進む。
【0029】
S13はシステムが現在サスペンド中かどうかを判定する。Suspend_State信号の状態で判断できる。システムがサスペンド中の場合は、S14へ進み、サスペンド中でなければレジュームイベントを検査する必要がないので、この処理を飛ばしてS17へ進む。
【0030】
S14はトリガ信号保持装置E20からレジュームイベント信号が接続されている各端子を順番に読み込む。これにより、コントローラE18がスリープ中に、発生したレジュームイベントは検出できる。
【0031】
S15はS14で読み込んだ各端子の値から、レジュームイベント発生の有無を判定する。レジュームイベントが発生していなければ、S17へ進む。レジュームイベントが発生していた場合は、S16へ進む。
【0032】
S16ではレジュームイベントが発生していたことを検出した時の処理で、システムモード制御部E16に対して、レジューム要求信号を出力する。
【0033】
S17はバッテリ残量監視コントローラの消費電力を抑えるために、スリープモードへ入る。ここでは、自身の命令(ソフトウェア)でスリープモードへ遷移可能なコントローラを想定している。
【0034】
S19ではS12でバッテリ残量を検出した結果、バッテリ残量が不十分と判断されたため、システムに対してLowバッテリ信号を出力し、通知する。この信号を受けたシステムはあらかじめ設定された処理を開始する。
【0035】
S18は本割り込み処理の終了である。
【0036】
(実施例2)
図3に本発明の実施例2のブロック図を示す。
【0037】
図3において、E31は情報処理装置の中央演算処理装置(CPU)である。
【0038】
E32は種々のデータを記憶するメモリである。
【0039】
E33はCPUE31、メモリE32、周辺機器を接続するメモリコントローラである。
【0040】
E34はメモリコントローラE33に接続する周辺デバイスAで、システムがサスペンド中でも電源が切れないデバイスである。
【0041】
E35はメモリコントローラE33に接続する周辺デバイスBで、システムがサスペンド中電源が切れるデバイスである。
【0042】
E36はシステムモード制御部であり、システムを通常動作モードとサスペンドモードとを遷移させる制御を行う。システムモード制御部E36はサスペンド中も電源が供給され、レジューム処理などを行う。
【0043】
E37は電源部でシステムモード制御部E36からの制御信号に従い、通常動作モードではシステムの全デバイスへ電力を供給するが、サスペンドモードでは必要なデバイスに電力を供給する。この図の場合は、周辺デバイスBE35にはサスペンドモード中電源が供給されない。また、システムモード制御部E36はサスペンドモード中に電源が切れないデバイスE34に対しては、Suspend_State信号を出力してシステムの動作モード状態を通知する。さらに、システムモード制御部は内部にカウンタを持ち、このカウンタに設定された値をカウントアップしたときに、バッテリ残量監視コントローラに対して、スリープ解除割り込み信号を発生し、コントローラをスリープモードから通常動作モードへ戻し、バッテリの全容量を検出させる。Suspend_State信号を受けたデバイスはあらかじめ設定されたとおりに動作し、サスペンドモード中は省電力動作に移行する。
【0044】
E38はバッテリ残量監視コントローラであり、バッテリE39の出力電圧を監視し、バッテリの残容量を監視する。残容量がシステム動作に影響する場合は、システムに対してLowバッテリ通知信号を出力して通知する。また、バッテリ残量監視コントローラE38はシステムモード制御部E36からのスリープ解除割り込み信号によって割り込みが発生し、スリープモードから通常動作モードへ遷移し、各処理を行う。この処理はコントローラ自身に内蔵されているプログラムに従い、実行される。また、この例ではシステムがサスペンドモードからレジュームするトリガとなる6種類のレジュームイベント信号がバッテリ残量監視コントローラに接続されている。PWR−ON信号はシステムのPower Onスイッチが入れられたことを示す信号、KEY_IN信号はキーボードからキー入力があったことを示す信号、MOUSE_IN信号はマウス入力があったことを示す信号、Event−A、Event−B、Event−C信号はその他のレジュームイベント信号を示している。先にも述べたが、スリープモードを持つコントローラは、スリープモード中の自身の消費電力を抑えるために、スリープモード中に使用できる入力信号端子数や割り込み入力端子数を制限するものが多い。この例ではスリープモード中に有効な割り込み入力端子は1つしかなく、他のレジュームイベント信号すべてを割り込み端子へ割り当てることができないコントローラを使用している。
【0045】
E38はバッテリ残量監視コントローラで、スリープ解除割り込み以外にスリープモード中でも使用できる割り込み入力を1本以上持つコントローラを前提としている。ただし、スリープモード中に使用できる割り込み本数がすべてのレジュームイベント数よりも少ない場合、本実施例の解決方法が必要になる。また、本実施例の場合、バッテリ残量監視コントローラはシステムのサスペンド状態を監視する必要がないためSuspend_State信号は接続されていない。
【0046】
E40はレジュームイベントトリガ信号統合手段であり、各レジュームイベント信号のORをとり、バッテリ残量監視コントローラのもう一つの割り込み入力端子に、その出力信号を接続している。本実施例では、レジュームイベント信号、バッテリ残量監視コントローラの割り込み入力信号共に負論理の場合の構成であり、NORによって実現している。また、このレジュームイベントトリガ信号統合手段の電源はサスペンドモード中も切れないことはいうまでもない。
【0047】
また、レジュームイベントトリガ信号統合手段は、具体的にはCMOSプロセス回路のように、入力信号が安定している時にはほとんど電力を消費しない構成にすることが消費電力を低下させる効果を大きくするためには、有効である。
【0048】
図4に本実施例の動作を説明するフローチャートを示す。
【0049】
図4は、図3中のバッテリ残量監視コントローラE38がシステムモード制御部E36がスリープ解除割り込み信号を受けたか、またはレジュームイベントトリガ信号統合手段E40がレジュームイベント割り込み信号を受けて、割り込み処理が発生したときの割り込み処理の内容を示すものである。
【0050】
S30は割り込み処理の開始である。
【0051】
S31は2系統のどちらの割り込みが発生したかを検出する。スリープモード解除割り込みだった場合はS32へ進み、そうでない場合はレジュームイベントが発生してたことになるのでS37へ進み、システムへレジューム要求出力を発生する。
【0052】
S32はバッテリ残量検出処理である。この例ではバッテリが出力している電圧値からバッテリ残容量を算出するものとするが、バッテリが自身の容量を通信できる機能を備えている場合は通信によって残容量を取得しても差し支えない。
【0053】
S33はバッテリ残容量がシステムの動作に対して十分かどうかを判定する。あらかじめ設定された値に満たなければ、S34へ進む。そうでなければ、S35へ進む。
【0054】
S34ではS33でバッテリ残量を検出した結果、バッテリ残量が不十分と判断されたため、システムに対してLowバッテリ信号を出力し、通知する。この信号を受けたシステムはあらかじめ設定された処理を開始する。
【0055】
S37はバッテリ残量監視コントローラの消費電力を抑えるために、スリープモードへ入る。
【0056】
ここでは、自身の命令(ソフトウェア)でスリープモードへ遷移可能なコントローラを想定している。
【0057】
S36は本割り込み処理の終了である。
【0058】
【発明の効果】
以上説明のように、本発明によれば、バッテリ容量監視コントローラが情報処理装置のサスペンドモードとは独立したスリープモードを有し、バッテリ容量監視コントローラのスリープモードのときに発生したレジュームイベント信号を検出し、情報処理装置のレジューム動作を行うことができるという効果がある。
【図面の簡単な説明】
【図1】本発明の第1の実施例に係る構成を説明する図である。
【図2】本発明の第1の実施例に係る動作を説明するフローチャートである。
【図3】本発明の第2の実施例に係る構成を説明する図である。
【図4】本発明の第2の実施例に係る動作を説明するフローチャートである。
【符号の説明】
E11 CPU
E12 メモリ
E13 メモリコントローラ
E14 周辺デバイスA
E15 周辺デバイスB
E16 システムモード制御部
E17 電源部
E18 バッテリ残量監視コントローラ
E19 バッテリ
E20 トリガ信号保持装置
[0001]
[Industrial applications]
The present invention relates to an information processing device operable with a battery.
[0002]
[Prior art]
Conventionally, an information processing device that has a controller that monitors battery capacity, can operate on a battery, and can operate on a battery, and has a suspend mode detects when the remaining battery capacity is low during battery operation, and stores the data on a disk or the like. It was necessary to save and perform processing to safely shut off the system. The suspend mode is a low power consumption mode of the system. The system retains the setting of the last full operation mode, and returns (resumes) to a full operation mode environment immediately before entering the suspend mode by a certain trigger signal (hereinafter referred to as a resume event). Mode. Also, if the battery level is insufficient during suspend mode and the data cannot be retained, the user is notified by sound, etc., to prompt the user to perform the process, or the system settings are saved to a secure storage device such as a disk. It is necessary to automatically evacuate and shut down the system. That is, a state in which the remaining battery capacity is insufficient during the suspend can be regarded as one of the resume events. Therefore, in order to collectively manage trigger factors that need to cause a mode transition from the suspend mode, it is convenient to provide the battery capacity monitoring controller with a function of detecting a resume event. For these reasons, there is an example of an information processing apparatus configured to provide the battery capacity monitoring controller with a function of detecting a resume event.
[0003]
[Problems to be solved by the invention]
In an information processing device that has a controller that monitors the battery capacity and can operate on a battery and has a suspend mode, the battery capacity monitoring controller operates in the sleep mode for as long as possible and transitions to the normal operation mode when necessary This configuration is effective when it is desired to reduce the power consumed by the battery capacity monitoring controller itself. This is particularly effective in a suspend mode for reducing the power consumption of the entire system, when it is desired to extend the suspend mode duration. However, when the battery remaining amount monitoring controller wants to detect more resume events than the number of interrupt detection signals that can be used for the sleep mode operation, if the sleep time is too long, there is a disadvantage that the resume event generated during the sleep time cannot be detected. This makes it impossible to detect a resume event that requires a certain degree of real-time performance, for example, an event caused by the user, such as a key input during suspension or a mouse click. Since the event cannot be detected when the monitoring controller is in the sleep mode, the resume request may not be accepted, or the controller may wait until the resume event is detected, which is very inconvenient. For example, in order to detect a resume event from the user to some extent in real time, it is necessary to release the battery level monitoring controller from sleep about eight times per second (8 Hz cycle). If this can be extended to about once every 100 seconds, power consumption cannot be reduced, but even if the user inputs a resume event, it will be almost missed and will not be detected.
[0004]
Note that the sleep mode of the battery remaining amount monitoring controller is a mode in which the software in the controller stops operating, a limited interrupt signal can be detected, and the interrupt signal returns to the full operation mode. Yes, this is a mode in which the power consumption of the controller itself is smaller than in the full operation mode.
[0005]
The full operation mode of the battery level monitoring controller means that the software built in the controller operates, all signal terminals of the controller can be used, and the controller enters sleep mode by a signal from external hardware or software setting. It refers to an operation mode that can make a transition.
[0006]
In the above-described conventional example, since the battery level monitoring controller cannot detect a resume event during sleep, the interval between occurrences of an interrupt signal for canceling sleep is increased to suppress power consumption of the controller, and the controller enters the normal operation mode. It can be seen that if the total time is reduced, the time during which the resume event cannot be detected becomes longer, and the user has a dilemma that it becomes inconvenient.
[0007]
An object of a first invention according to the present application is to make a controller having a sleep mode monitor a battery capacity, and in an information processing apparatus operable on a battery, the consumption of the battery capacity monitoring controller in a suspend mode which is a power saving mode of the system. An object of the present invention is to provide a user with an information system that saves power and has a long duration even in a suspend mode.
[0008]
An object of a second invention according to the present application is to provide a resume event that requires a certain degree of real-time performance when the system is resumed from a suspend mode to a normal operation mode, such as a user input such as a key input during a suspend or a mouse click. An object of the present invention is to provide an information processing apparatus which detects an event, responds at any time without waiting the user when the user wants to resume, and transitions to the full operation mode.
[0009]
[Means for Solving the Problems]
To solve the above object, the information processing apparatus of the present invention is driven by a battery, an information processing apparatus having a suspend mode, and the battery capacity monitoring controller has a sleep mode, monitors the capacity of the battery, Instruction means for instructing the operation mode of the battery capacity monitoring controller to transition from a sleep mode to a normal mode; and holding means for holding a signal requesting a return of the information processing apparatus from a suspend mode to a normal operation mode. A control unit for changing an operation mode of the information processing apparatus from a suspend mode to a normal operation mode, wherein when the operation mode of the battery capacity monitoring controller changes from a sleep mode to a normal mode, the holding unit If the signal requesting the return is held at the To transition from the over-de to the normal operation mode, after the battery capacity monitoring controller instructs to the control unit, the battery capacity monitoring controller is characterized by entering into sleep mode.
[0013]
【Example】
(Example 1)
FIG. 1 shows a block diagram of Embodiment 1 of the present invention.
[0014]
E11 is a central processing unit (CPU) of the information processing device.
[0015]
E12 is a memory for storing various data.
[0016]
E13 is a memory controller that connects the CPU E11, the memory E12, and peripheral devices.
[0017]
E14 is a peripheral device A connected to the memory controller E13, and is a device that does not turn off even when the system is suspended.
[0018]
E15 is a peripheral device B connected to the memory controller E13, and is a device whose power is turned off while the system is suspended.
[0019]
E16 is a system mode control unit that controls the system to transition between the normal operation mode and the suspend mode. The power is supplied to the system mode control unit E16 even during the suspension, and the system mode control unit E16 performs a resume process and the like.
[0020]
E17 is a power supply unit that supplies power to all devices in the system in the normal operation mode and supplies power to necessary devices in the suspend mode according to a control signal from the system mode control unit E16. In this case, power is not supplied to the peripheral device BE15 during the suspend mode. In addition, the system mode control unit E16 outputs a Suspend_State signal to the device E14 whose power is not turned off during the suspend mode to notify the operation mode state of the system. Furthermore, the system mode control unit has an internal counter, and when the value set in the counter is counted up, generates a sleep release interrupt signal to the battery remaining amount monitoring controller, and causes the controller to switch from the sleep mode to the normal mode. Return to the operation mode and detect the full capacity of the battery. The device that has received the Suspend_State signal operates as previously set, and shifts to a power saving operation during the suspend mode.
[0021]
E18 is a battery remaining amount monitoring controller that monitors the output voltage of the battery E19 and monitors the remaining capacity of the battery. When the remaining capacity affects the system operation, a low battery notification signal is output to the system for notification. In addition, the battery remaining amount monitoring controller E18 generates an interrupt in response to a sleep release interrupt signal from the system mode control unit, transitions from the sleep mode to the normal operation mode, and performs various processes. This processing is executed according to a program built in the controller itself. In this example, six types of resume event signals that trigger the system to resume from the suspend mode are connected to the battery remaining amount monitoring controller. The PWR-ON signal is a signal indicating that the power on switch of the system is turned on, the KEY_IN signal is a signal indicating that a key is input from the keyboard, the MOUSE_IN signal is a signal indicating that a mouse input is performed, Event-A , Event-B, and Event-C signals indicate other resume event signals. As described above, many controllers having a sleep mode limit the number of input signal terminals and the number of interrupt input terminals that can be used during the sleep mode in order to suppress the power consumption of the controller itself during the sleep mode. In this example, there is only one interrupt input terminal that is valid during the sleep mode, and a controller that cannot allocate all other resume event signals to the interrupt terminal is used.
[0022]
According to the present invention, when a resume event trigger signal is generated, a trigger signal holding device E20 for latching and holding the resume event trigger signal is newly added. It goes without saying that the trigger signal holding device E20 holds the resume event signal without turning off the power even during the suspension. When the battery remaining amount monitoring controller E18 is released from the sleep mode and finishes reading each terminal, a clear signal is generated to clear the state held by the trigger signal holding device E20.
[0023]
Further, the trigger signal holding device E20 has a configuration that consumes almost no power in a static state other than the operation of latching and clearing signals, such as a flip-flop circuit formed by a CMOS process. Is effective to increase the effect of reducing power consumption.
[0024]
FIG. 2 shows a flowchart for explaining the operation of this embodiment. By adding the resume event trigger signal holding device E20, in this embodiment, if each terminal of the controller to which the resume event signal is connected is read in S14, the resume event has occurred because the trigger signal is held. Can be detected, and a request to generate a resume signal can be made to the system in S16.
[0025]
FIG. 2 shows the contents of the interrupt processing that has occurred when the battery remaining amount monitoring controller E18 in FIG. 1 receives a sleep release interrupt signal from the system mode control unit E16.
[0026]
S10 is the start of interrupt processing.
[0027]
S11 is a battery remaining amount detection process. In this example, the remaining battery capacity is calculated from the voltage value output by the battery. However, when the battery has a function of communicating its own capacity, the remaining capacity may be obtained by communication.
[0028]
S12 determines whether the remaining battery charge is sufficient for the operation of the system. If the value does not satisfy the preset value, the process proceeds to S19. Otherwise, proceed to S13.
[0029]
S13 determines whether the system is currently suspended. The determination can be made based on the state of the Suspend_State signal. If the system is suspended, the process proceeds to step S14. If the system is not suspended, it is not necessary to check for a resume event.
[0030]
In step S14, the terminals to which the resume event signal is connected are sequentially read from the trigger signal holding device E20. Thus, the resume event that has occurred while the controller E18 is in the sleep state can be detected.
[0031]
In step S15, whether or not a resume event has occurred is determined from the values of the terminals read in step S14. If the resume event has not occurred, the process proceeds to S17. If a resume event has occurred, the process proceeds to S16.
[0032]
In S16, in a process when it is detected that a resume event has occurred, a resume request signal is output to the system mode control unit E16.
[0033]
In step S17, a sleep mode is entered in order to reduce the power consumption of the battery remaining amount monitoring controller. Here, it is assumed that the controller can transition to the sleep mode by its own instruction (software).
[0034]
In S19, as a result of detecting the remaining battery level in S12, it is determined that the remaining battery level is insufficient. Therefore, a Low battery signal is output to the system and notified. The system receiving this signal starts a preset process.
[0035]
S18 is the end of this interrupt processing.
[0036]
(Example 2)
FIG. 3 shows a block diagram of Embodiment 2 of the present invention.
[0037]
In FIG. 3, E31 is a central processing unit (CPU) of the information processing apparatus.
[0038]
E32 is a memory for storing various data.
[0039]
E33 is a memory controller that connects the CPU E31, the memory E32, and peripheral devices.
[0040]
E34 is a peripheral device A connected to the memory controller E33, and is a device that does not turn off even when the system is suspended.
[0041]
E35 is a peripheral device B connected to the memory controller E33, and is a device whose power is turned off while the system is suspended.
[0042]
E36 is a system mode control unit that controls the system to transition between the normal operation mode and the suspend mode. The power is supplied to the system mode control unit E36 even during the suspension, and the system mode control unit E36 performs a resume process and the like.
[0043]
E37 is a power supply unit that supplies power to all devices in the system in the normal operation mode and supplies power to necessary devices in the suspend mode according to a control signal from the system mode control unit E36. In this case, power is not supplied to the peripheral device BE35 during the suspend mode. Further, the system mode control unit E36 outputs a Suspend_State signal to the device E34 whose power is not turned off during the suspend mode to notify the operation mode state of the system. Furthermore, the system mode control unit has an internal counter, and when the value set in the counter is counted up, generates a sleep release interrupt signal to the battery remaining amount monitoring controller, and causes the controller to switch from the sleep mode to the normal mode. Return to the operation mode and detect the full capacity of the battery. The device that has received the Suspend_State signal operates as previously set, and shifts to a power saving operation during the suspend mode.
[0044]
E38 is a battery remaining amount monitoring controller that monitors the output voltage of the battery E39 and monitors the remaining capacity of the battery. When the remaining capacity affects the system operation, a low battery notification signal is output to the system for notification. In addition, the battery remaining amount monitoring controller E38 generates an interrupt in response to a sleep release interrupt signal from the system mode control unit E36, transitions from the sleep mode to the normal operation mode, and performs various processes. This processing is executed according to a program built in the controller itself. In this example, six types of resume event signals that trigger the system to resume from the suspend mode are connected to the battery remaining amount monitoring controller. The PWR-ON signal is a signal indicating that the power on switch of the system is turned on, the KEY_IN signal is a signal indicating that a key is input from the keyboard, the MOUSE_IN signal is a signal indicating that a mouse input is performed, Event-A , Event-B, and Event-C signals indicate other resume event signals. As described above, many controllers having a sleep mode limit the number of input signal terminals and the number of interrupt input terminals that can be used during the sleep mode in order to suppress the power consumption of the controller itself during the sleep mode. In this example, there is only one interrupt input terminal that is valid during the sleep mode, and a controller that cannot allocate all other resume event signals to the interrupt terminal is used.
[0045]
E38 is a battery remaining amount monitoring controller, which is based on a controller having one or more interrupt inputs that can be used even in the sleep mode in addition to the sleep release interrupt. However, when the number of interrupts that can be used during the sleep mode is smaller than the number of all resume events, the solution of this embodiment is required. In the case of the present embodiment, the Suspend_State signal is not connected because the battery remaining amount monitoring controller does not need to monitor the suspend state of the system.
[0046]
E40 is a resume event trigger signal integrating means, which takes the OR of each resume event signal and connects its output signal to another interrupt input terminal of the battery remaining amount monitoring controller. In this embodiment, the resume event signal and the interrupt input signal of the battery remaining amount monitoring controller have a negative logic, and are realized by NOR. Also, it goes without saying that the power of the resume event trigger signal integrating means is not turned off during the suspend mode.
[0047]
In order to increase the effect of reducing power consumption, the resume event trigger signal integration means may be configured to consume little power when the input signal is stable, such as a CMOS process circuit. Is valid.
[0048]
FIG. 4 shows a flowchart for explaining the operation of this embodiment.
[0049]
FIG. 4 shows that the remaining battery level monitoring controller E38 in FIG. 3 causes the system mode control unit E36 to receive a sleep release interrupt signal, or the resume event trigger signal integration means E40 receives a resume event interrupt signal, and an interrupt process occurs. This shows the contents of the interrupt processing when the processing is performed.
[0050]
S30 is the start of interrupt processing.
[0051]
S31 detects which of the two interrupts has occurred. If it is a sleep mode release interrupt, the process proceeds to S32; otherwise, the process proceeds to S37 since a resume event has occurred, and a resume request output is generated to the system.
[0052]
S32 is a battery remaining amount detection process. In this example, the remaining battery capacity is calculated from the voltage value output from the battery. However, if the battery has a function of communicating its own capacity, the remaining capacity may be obtained by communication.
[0053]
In step S33, it is determined whether the remaining battery charge is sufficient for the operation of the system. If the value does not satisfy the preset value, the process proceeds to S34. Otherwise, proceed to S35.
[0054]
In S34, as a result of detecting the remaining battery level in S33, it is determined that the remaining battery level is insufficient. Therefore, a Low battery signal is output to the system and notified. The system receiving this signal starts a preset process.
[0055]
In step S37, a sleep mode is entered in order to reduce the power consumption of the battery remaining amount monitoring controller.
[0056]
Here, it is assumed that the controller can transition to the sleep mode by its own instruction (software).
[0057]
S36 is the end of this interrupt processing.
[0058]
【The invention's effect】
As described above, according to the present invention, the battery capacity monitoring controller has the sleep mode independent of the suspend mode of the information processing device, and detects the resume event signal generated when the battery capacity monitoring controller is in the sleep mode. However, there is an effect that the resume operation of the information processing apparatus can be performed.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating a configuration according to a first example of the present invention.
FIG. 2 is a flowchart illustrating an operation according to the first exemplary embodiment of the present invention.
FIG. 3 is a diagram illustrating a configuration according to a second example of the present invention.
FIG. 4 is a flowchart illustrating an operation according to a second example of the present invention.
[Explanation of symbols]
E11 CPU
E12 Memory E13 Memory controller E14 Peripheral device A
E15 Peripheral device B
E16 System mode control unit E17 Power supply unit E18 Battery remaining amount monitoring controller E19 Battery E20 Trigger signal holding device

Claims (2)

バッテリで駆動され、サスペンドモードを有する情報処理装置あって、
スリープモードを持ち、前記バッテリの容量を監視するバッテリ容量監視コントローラと、
前記バッテリ容量監視コントローラの動作モードを、スリープモードから通常モードへ遷移するように指示する指示手段と、
前記情報処理装置のサスペンドモードから通常動作モードへの復帰を要求する信号を保持する保持手段と、
前記情報処理装置の動作モードを、サスペンドモードから通常動作モードへ遷移させる制御部とを有し、
前記バッテリ容量監視コントローラの動作モードが、スリープモードから通常モードへ遷移したときに、前記保持手段に前記復帰を要求する信号が保持されている場合、前記サスペンドモードから前記通常動作モードへ遷移するように、前記バッテリ容量監視コントローラが前記制御部へ指示した後に、前記バッテリ容量監視コントローラはスリープモードへ入ることを特徴とする情報処理装置。
Is driven by a battery, an information processing apparatus having a suspend mode,
A battery capacity monitoring controller having a sleep mode and monitoring the capacity of the battery;
Instruction means for instructing the operation mode of the battery capacity monitoring controller to transition from a sleep mode to a normal mode;
Holding means for holding a signal requesting a return from the suspend mode to the normal operation mode of the information processing apparatus,
A control unit that transitions the operation mode of the information processing apparatus from a suspend mode to a normal operation mode,
When the operation mode of the battery capacity monitoring controller transitions from the sleep mode to the normal mode, if the signal requesting the return is retained in the retaining unit, the transition from the suspend mode to the normal operation mode is performed. The information processing apparatus , wherein the battery capacity monitoring controller enters a sleep mode after the battery capacity monitoring controller instructs the control unit.
前記バッテリ容量監視コントローラは、前制御部へ指示を行った後に、前記保持手段に保持されている信号のクリアを指示することを特徴とする請求項1記載の情報処理装置。The battery capacity monitoring controller, after the instruction Previous Symbol controller, the information processing apparatus according to claim 1, wherein the instructing clearing of the signal held in said holding means.
JP15027795A 1995-06-16 1995-06-16 Information processing equipment Expired - Fee Related JP3542409B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15027795A JP3542409B2 (en) 1995-06-16 1995-06-16 Information processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15027795A JP3542409B2 (en) 1995-06-16 1995-06-16 Information processing equipment

Publications (2)

Publication Number Publication Date
JPH096489A JPH096489A (en) 1997-01-10
JP3542409B2 true JP3542409B2 (en) 2004-07-14

Family

ID=15493455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15027795A Expired - Fee Related JP3542409B2 (en) 1995-06-16 1995-06-16 Information processing equipment

Country Status (1)

Country Link
JP (1) JP3542409B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3584920B2 (en) * 2001-10-04 2004-11-04 株式会社ノーリツ Power control device
JP4151566B2 (en) 2003-02-25 2008-09-17 株式会社デンソー Microcomputer
JPWO2004099958A1 (en) * 2003-05-12 2006-07-13 富士通株式会社 Electronics
JP2011008346A (en) * 2009-06-23 2011-01-13 Renesas Electronics Corp Semiconductor integrated circuit

Also Published As

Publication number Publication date
JPH096489A (en) 1997-01-10

Similar Documents

Publication Publication Date Title
US6678831B1 (en) Managing power states in a computer system
US5878264A (en) Power sequence controller with wakeup logic for enabling a wakeup interrupt handler procedure
US5903765A (en) Power management system for a computer
JP3855172B2 (en) Method of operating a system including a processor, storage device and peripheral device
US6016548A (en) Apparatus for controlling duty ratio of power saving of CPU
KR960003412B1 (en) Computer power management system
JP3213208B2 (en) Information processing apparatus and control method thereof
US5355501A (en) Idle detection system
US5504910A (en) Power management unit including software configurable state register and time-out counters for protecting against misbehaved software
JP3352090B2 (en) Electronic equipment that automatically controls the power consumed by components according to the operating time input by the user
US6076169A (en) Computer system having a screen saver with a power shutdown function and a control method thereof
US5721934A (en) Retrofit external power saving system and method for use
US20030226047A1 (en) Portable terminal with enhanced power management function and method for managing power of the same
JP2004046324A (en) Information processor with standby mode, and standby mode starting method and standby mode canceling method for the same
US6647501B1 (en) Power save control device and control method
US5978924A (en) Computer system with an advanced power saving function and an operating method therefor
JP3542409B2 (en) Information processing equipment
JP2000259140A (en) Power-saving method, and computer system and display device using same method
JP2002082743A (en) Electronic equipment and storage medium stored with electronic equipment control program
JP3164729B2 (en) Power management mechanism for battery starter
JPH06222862A (en) Power consumption controller
JP3302149B2 (en) Computer system
JP2661918B2 (en) Battery driven electronics
JPH06337739A (en) Computer system
KR20050120161A (en) Apparatus and method for controlling status battery in low voltage

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040316

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040331

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130409

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140409

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees