JP2005025409A - Electronic equipment and power supply control method - Google Patents

Electronic equipment and power supply control method Download PDF

Info

Publication number
JP2005025409A
JP2005025409A JP2003188881A JP2003188881A JP2005025409A JP 2005025409 A JP2005025409 A JP 2005025409A JP 2003188881 A JP2003188881 A JP 2003188881A JP 2003188881 A JP2003188881 A JP 2003188881A JP 2005025409 A JP2005025409 A JP 2005025409A
Authority
JP
Japan
Prior art keywords
illuminance
main body
illuminance value
value
time
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
JP2003188881A
Other languages
Japanese (ja)
Inventor
Hideji Hori
秀司 堀
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2003188881A priority Critical patent/JP2005025409A/en
Publication of JP2005025409A publication Critical patent/JP2005025409A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide electronic equipment and a power source control method for controlling power to be consumed according to circumferential brightness. <P>SOLUTION: A CPU 11 compares read luminance data with luminance set by a luminance setting part 154 based on a power source control program 211 (a step S106). Then, when the read luminance data(current luminance) is smaller than the set luminance(set luminance) (step S106; YES), whether or not a non-input time started in a step S102 is larger than a time(T1 in this implemented configuration) set by a time setting part 158 is decided (a step S107). When the non-input time from a keyboard 19 or a touch pad 101 is larger than the time T1 (step S107; YES), predetermined processing to turn off the power source of a personal computer 1 is executed so that the power supply of the personal computer 1 can be shut off according to a power source control program 211 (a step S108). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、周囲の明るさを検出可能な電子機器および電子機器の電源制御方法に関する。
【0002】
【従来の技術】
近年、パーソナルコンピュータ(以下、パソコンと称す)に代表される情報処理装置の普及は著しく、持ち運び易いものなど携帯性が重視されている。このような情報処理装置の表示装置としては、液晶ディスプレイに代表されるフラットパネルディスプレイが設けられることが多い。このようなディスプレイを有する情報処理装置を携帯し、移動中などに使用する場合、周囲の明るさによってディスプレイが見ずらくなる現象が起きることがある。このような問題に鑑みて、周囲の明るさを検出し、その明るさに応じてディスプレイの輝度を調節する装置も現れている(例えば、特許文献1参照)。また、このような照度検出のしくみを利用して、周囲の明るさに応じて電子機器の電源制御を行う技術が知られている(例えば特許文献2)。
【0003】
【特許文献1】
特開平10−228010号公報
【0004】
【特許文献2】
特開平8−241147号公報
【0005】
【発明が解決しようとする課題】
上記した情報処理装置のうち、輝度自動調整機構を備えた機種に於いては、通常使用時に表示輝度が周囲の明るさにより自動調整されることから通常使用時の使い勝手は良いがが、周囲の明るさ等に応じて、その都度表示輝度が頻繁に切替わるという問題があり、使用者に対して視覚的に疲労感を与えるという問題があった。
【0006】
また特許文献2に記載のように周囲の明るさに応じて電子機器の電源制御を行う技術では、周囲が暗い且つキー入力が一定時間無い場合は必ず電源が遮断されてしまい、例えば音楽の再生や映像の再生中に勝手に電源が遮断されてしまうという問題があった。
【0007】
本発明は上記実情に鑑みなされたもので、周囲の明るさに応じて消費される電力を制御することが可能な電子機器および電源制御方法を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1にかかる発明では、本体と、本体に設けられ、本体周囲の照度を検出する照度検出手段と、本体の動作制御を行うBIOSプログラムとを具備し、BIOSプログラムは、所定の照度値を記憶し、照度検出手段で検出された照度と照度値とを比較する比較手段と、比較手段により検出された照度が照度値より小さいと判断された場合、本体の電源を遮断することを特徴とする。
【0009】
このような構成により、周囲の明るさに応じて消費される電力を制御することが可能な電子機器を提供することが可能である。
【0010】
また、請求項7に係る発明では、本体と、本体に設けられる電子デバイスと、本体に設けられ、本体周囲の照度を検出する照度検出手段と、本体の動作状態の制御を行うBIOSプログラムとを具備し、BIOSプログラムは、所定の照度値とを記憶し、照度検出手段で検出された照度と、所定の照度値とを比較する第1の比較手段と、第1の比較手段により照度が所定の照度値より小さいと判断された場合に時間を計測する手段と、計測手段により計測された時間と、第1の時間および第2の時間とを比較する第2の比較手段と、第2の比較手段により、計測された時間が第1の時間を超えたと判断された場合に、電子デバイスへの電源供給を制限し、第2の比較手段により、計測された時間が第2の時間を超えたと判断された場合、本体の電源を遮断することを特徴とする。
【0011】
このような構成により、周囲の明るさに応じて消費される電力を制御することが可能な電子機器を提供することが可能である。
【0012】
また、請求項8に係る発明では、本体と、本体に設けられ、本体周囲の照度を検出する照度検出手段と、本体の動作状態の制御を行うBIOSプログラムとを具備し、BIOSプログラムは、第1の照度値と第2の照度値と第3の照度値を記憶し、照度検出手段で検出された照度と、第1の照度値又は第2の照度値又は第3の照度値とを比較する手段と、比較手段により照度が第1の照度値より小さいと判断された場合、本体の電源を遮断し、第2の照度値より小さいと判断された場合、本体をハイバーネーション処理を行ない、第3の照度値より小さいと判断された場合、本体をサスペンド処理することを特徴とする。
【0013】
このような構成により、周囲の明るさに応じて消費される電力を制御することが可能な電子機器を提供することが可能である。
【0014】
【発明の実施の形態】
以下、図面を参照して本発明の実施形態を説明する。
【0015】
図1に本発明の第1の実施形態による電子機器の構成を示す。ここではバッテリ駆動可能なノートブックタイプのパソコンを例に、そのパソコンの構成を示している。
【0016】
このパソコン1には、図示するように、CPU11、グラフィック・メモリコントローラハブ12、メモリ(主記憶装置)13、グラフィックコントローラ14、I/Oハブ15、BIOS−ROM16、ハードディスクドライブ(HDD)17、エンベッテッドコントローラ・キーボードコントローラ(以後、EC/KBCと称す)18、キーボード19、照度検出部20等を備えている。
【0017】
CPU11は、パソコン1全体の動作制御およびメモリ13の内容を参照し、それに基づきデータ処理等を実行するデバイスである。
【0018】
メモリ13は、オペレーティングシステム(以後、OSと称す)131や、第1の実施形態に係るユーティリティプログラム132や実行アプリケーションなどが記憶され、CPU11により、読出し/書き込みが実行される。また、パソコン1の起動時にBIOS−ROM16から、OS実行中に必要なBIOSプログラム21がメインメモリ13にコピーされる。このBIOSプログラム21には、第1の実施形態に係る電源制御プログラム211やその設定値が含まれている。
【0019】
グラフィックコントローラ14は、VRAM141と接続されている。CPU11が実行するOSの制御の下に、ディスプレイユニット22に設けられるLCD(Liquid Crystal Display)23を表示駆動制御するとともに、図示しないCRT端子、DVI端子、TV端子等、各種外部ディスプレイの接続インタフェースを介して接続された外部表示デバイスを表示駆動制御する。
【0020】
VRAM141は、グラフィックコントローラ14により制御されるメモリデバイスであり、LCD23に表示される表示データを一時格納する。グラフィックコントローラ14により、グラフィック・メモリコントローラハブ12から送信される映像データの書込み/読み出しが行われる。
【0021】
I/Oハブ15は、I/Oハブ15に接続されるLPC(Low Pin Count)バス24上のデバイスと、グラフィック・メモリコントローラハブ12との間のデータ変換等を行うブリッジ回路であり、各種I/Oコントローラが内蔵されている。
【0022】
BIOS−ROM16は、パソコン内の各種ハードウェアをアクセスするファンクション実行ルーチンを体系化したプログラムであり、プログラムが書き換え可能なようにフラッシュROMにより構成されている。パソコン1の起動時に、各種ハードウェアの初期化を行ったり、起動時にBIOS−ROM16の一部プログラムがメモリ13へコピーされ(BIOS21)、OS実行中にも各種ハードウェアへの入出力制御を行う。電源制御プログラム211はBIOS−ROM16の一部として記憶されており、パソコン1の起動時にメモリ13へコピーされる。また、後述するユーティリティプログラム132による設定値もBIOS−ROM16に記憶される。
【0023】
HDD17は、データを記憶する不揮発性記憶デバイスであり、パソコン1の電源が切断されている状態でもデータを保持可能である。このHDD17には、OSや、各種アプリケーション、ドライバ、ユーティリティソフト、音楽や映像などのコンテンツデータが記憶されており、これらのデータはCPU11により適宜メモリ13へ読み出され、読み出されたデータはCPU11によってさらに処理される。
【0024】
EC/KBC18は、CPU11によってリード/ライト可能な複数のレジスタ181を内蔵している。このレジスタ181を使用することにより、CPU11と、EC/KBC18に接続されたデバイスとの間の通信が可能となる。また、キーボードコントローラの機能も内蔵されており、EC/KBC18に接続されるキーボード19から入力される信号の処理が行われ、上位のデバイス(CPU111等)へ通知する。
【0025】
照度検出部20は、照度センサー201を備え、パソコン1の使用環境下での明るさ、即ち装置周囲の照度を検出し、その検出データをEC/KBC18に送出する。本実施形態では、所定時間毎に照度の読み出しを行う。また、1回の照度の読み出しでは4回のA/D変換を行い、最大値と最小値とを除いた2つの値の平均をとって照度の読み出し値としてEC/KBC18へ通知する。EC/KBC18は、照度検出部20で検出された照度データを取得しレジスタ181に格納する。
【0026】
さらにEC/KBC18には、パワーサプライコントローラ(以後、PSCと称す)25が接続されている。
【0027】
PSC25は、パソコン1全体の電源制御を行っており、二次電池であるバッテリ26や外部電源となるACアダプタ27からの電源供給をパソコン1内のデバイスへ供給する。また、バッテリの充放電制御を行い、バッテリ26の残量監視なども行う。また、ACアダプタ27から電源供給を受けている場合は、バッテリ26の残量に応じて充電制御を行う。
【0028】
本実施形態では、BIOSプログラム21に含まれる電源制御プログラム211に基づき、EC/KBC18のレジスタ181に格納された照度データが所定の照度を下回った場合に、パソコン1の電源制御や省電力制御を行うことを可能とする
【0029】
次に、図2に第1の実施形態に於けるパソコン1の外観斜視図を示す。ここでは、ノートブック型のパソコンを示している。この図2に示す、本発明の実施形態によるパソコン1は、本体100と、ディスプレイユニット22とを有している。ディスプレイユニット22には、LCD23が組み込まれており、このLCD23が組み込まれたディスプレイユニット22は、本体100に対してディスプレイユニット22を開いた状態である解放位置とディスプレイユニット22を閉じた状態である閉塞位置との間で回動自在に取り付けられている。
【0030】
本体100は箱形の筐体を有しており、その上面には、キーボード19が配置され、キーボード19の手前の本体100上面のほぼ中央部には、タッチパネル101が設けられる。
【0031】
また、本体100上面には、周囲の明るさ(光の強さ)を感知する照度センサー201が設けられている。この照度センサー201で感知した照度検知信号は、上述したように照度検出部20より照度検出データとしてEC/KBC18に送出される。
【0032】
図3に第1の実施形態に係るユーティリティプログラムの設定画面例の図を示す。
【0033】
ユーティリティプログラム132を実行した際に、図示のウインドウ150が表示される。このウインドウ150には、3つの項目(151、152、153)が表示されている。一番上の項目は、電源制御プログラム211に基づいて、パソコン1の電源を切断する際の明るさの閾値を設定可能な照度レベル枠151であり、真中の枠は照度レベル枠151で定めされた照度の値に基づいて、電源制御プログラム211に基づく制御を実行するか否か(有効/無効)を設定する電源制御設定枠152であり、一番下の枠は照度レベル枠151で定められた閾値に基づいて、パソコン1内のデバイスの省電力制御を設定するデバイス制御枠153である。
【0034】
照度レベル枠151では、本実施形態の電源制御プログラム211に基づく、電源制御を行う際に、電源制御を行う判断基準となる照度の閾値を設定する。照度の設定は、照度設定部154に照度の数値を入力する。但し、一般の使用者は、照度の数値がどの程度の明るさかどうかわかりずらいため、本実施形態では記録ボタン155を設けている。この記録ボタン155は、押された場合に、照度センサ201から、パソコン1の周囲の明るさのデータを読み取り、このデータを閾値として照度設定部154に設定する。このため、使用者が、電源オフにする状態を考慮した明るさ(暗さ)の環境において、記録ボタン155をした場合に、その時の照度が照度の閾値として設定される。
【0035】
電源制御設定枠152では、電源制御プログラム211に基づく電源制御の有効または無効を設定可能である。ここでは、照度設定部154で設定された照度の値を下回っている状態でパソコンの電源オフを実行する「有効」ボタン156と、照度設定部154で設定された照度の値を下回っている状態で電源オフ制御を実行させない「無効」ボタン157とが表示されており、いずれかを選択可能になっている。「有効」の場合は、さらに照度の閾値を下回る状態が継続する時間(本実施形態ではこの時間をT1と呼ぶ)を設定可能な時間設定部158が表示されており、使用者に応じて時間を設定可能である。電源制御プログラム211では、電源制御設定枠152で有効に設定されている状態で、時間設定部158で設定された時間より長く、照度設定部154で設定された照度の値を継続して下回った場合にパソコン1の電源がオフされることになる。
【0036】
デバイス制御枠153では、電源制御プログラム211に基づいて照度設定部154で設定された照度の値を下回る状態が一定時間続いた場合に、HDD17のモータや、LCD23のバックライトをオフする省電力制御を設定可能である。デバイス制御設定枠153では、照度の閾値を下回っている状態でデバイスの省電力制御を行う「有効」ボタン159と、照度に基づいてのデバイスの省電力制御を行わない「無効」ボタン159とが表示されており、いずれかを選択可能になっている。「有効」の場合は、さらに省電力制御を行うデバイスの選択が可能であり、本実施形態では図示のようにHDD17の電源を切る項目161と、モニタ(LCD23)の電源(ここではバックライト)を切る項目162とが表示されている。各項目の頭にはチェックボックスが表示されており、チェックボックスがチェックされているデバイスが省電力制御される。さらに、それぞれの項目に対して、照度設定部154で設定された値を継続して下回る状態が継続する時間(本実施形態ではこの時間をT2と呼ぶ)を設定する時間設定部163、164が表示されており、デバイス毎に時間設定が可能である。時間設定部163、164に設定された時間と照度設置部154で設定された値に基づいて、各項目のデバイスの電源制御が行われる。
【0037】
上記のユーティリティプログラム132で設定された各設定値は、BIOS−ROM16に保存される。パソコン1の起動時にメモリ13に読み込まれ、OS131の制御下では、BIOS21に含まれ各設定値が参照され電源制御プログラム211が実行される。
【0038】
続いて、図4に第1の実施形態に係る電源制御プログラムに基づく制御フローチャートを示す。
【0039】
まず図3に示した電源制御枠152で電源制御が有効に設定されているか否か判断する(ステップS101)。ここで有効に設定された情報がBIOS21に保存されていた場合(ステップS101のYES)、キーボード19やタッチパッド101からの入力が無い時間(無入力時間)のカウントを開始する(ステップS102)。続いて、照度センサー201で感知した照度検知信号は、照度検出部20より照度検出データとしてEC/KBC18に送出され、レジスタ181に記憶される(ステップS103)。ここでレジスタへの書き込みが発生した場合、EC/KBC18はCPU11へ割り込みを通知する(ステップS104)。割り込み通知を受けたCPU11はEC/KBC18のレジスタ181に記憶されている照度データを読み出す(ステップS105)。
【0040】
CPU11は電源制御プログラム211に基づいて、読み出された照度データと照度設定部154で設定された照度との比較を行う(ステップS106)。ここで、読み出された照度データ(現在の照度)が設定された照度(設定照度)よりも小さい場合(ステップS106のYES)、ステップS102で開始した無入力時間が、時間設定部158に設定された時間(本実施形態ではT1とする)より大きいか否かを判断する(ステップS107)。
【0041】
キーボード19やタッチパッド101からの無入力時間がT1より大きい場合(ステップS107のYES)、電源制御プログラム211に従い、パソコン1の電源をオフする所定処理を実行し、パソコン1の電源を落とす(ステップS108)。
【0042】
また、キーボード19やタッチパッド101からの無入力時間がT1以下である場合(ステップS107のNO)、デバイス制御枠153にデバイスの省電力制御が設定されているか否かを判断する(ステップS109)。デバイスの制御が有効に設定されている場合(ステップS109のYES)、ステップS102で開始した無入力時間が、時間設定部163、164に設定された時間(本実施形態ではT2とする)より大きいか否かを判断する(ステップS110)。キーボード19やタッチパッド101からの無入力時間がT2より大きい場合(ステップS110のYES)、電源制御プログラム211に従い、T2を越えたデバイスの省電力制御を実行する(ステップS111)。
【0043】
また、デバイスの省電力制御が設定されていない場合(ステップS109のNO)や、キーボード19やタッチパッド101からの無入力時間がT2以下である場合(ステップS110のNO)は照度データの読み取り処理に戻る。
【0044】
なお、現在の照度が設定照度よりも大きい場合(ステップS106のNO)はタイマをリセットし、再度タイマによる無入力時間のカウントを開始する。
【0045】
続いて、電源制御枠152により電源制御の設定が無効に設定されている場合は、デバイス制御枠153にデバイスの省電力制御が設定されているか否かを判断する(ステップS113)。デバイスの制御が有効に設定されている場合(ステップS113のYES)、キーボード19やタッチパッド101からの入力が無い時間(無入力時間)をカウント開始する(ステップS114)。続いて、照度センサー201で感知した照度検知信号は、照度検出部20より照度検出データとしてEC/KBC18に送出され、レジスタ181に記憶される(ステップS115)。ここでレジスタへの書き込みが発生した場合、EC/KBC18はCPU11へ割り込みを通知する(ステップS116)。割り込み通知を受けたCPU11はEC/KBC18のレジスタ181に記憶されている照度データを読み出す(ステップS117)。
【0046】
CPU11は電源制御プログラム211に基づいて、読み出された照度データと照度設定部154で設定された照度との比較を行う(ステップS118)。ここで、読み出された照度データ(現在の照度)が設定された照度(設定照度)よりも小さい場合(ステップS118のYES)、ステップS102で開始した無入力時間が、時間設定部163、164に設定された時間(T2)より大きいか否かを判断する(ステップS119)。
【0047】
キーボード19やタッチパッド101からの無入力時間がT1より大きい場合(ステップS119のYES)、電源制御プログラム211に従い、電源制御プログラム211に従い、T2を越えたデバイスの省電力制御を実行する(ステップS120)。
【0048】
また、キーボード19やタッチパッド101からの無入力時間がT2以下である場合(ステップS119のNO)は照度データの読み取り処理に戻る。
【0049】
なお、現在の照度が設定照度よりも大きい場合(ステップS118のNO)はタイマをリセットし、再度タイマによる無入力時間のカウントを開始する。
【0050】
電源制御もデバイス制御も無効である場合(ステップS101のNO、ステップS113のNO)、照度データの読み取り処理は行なわれず本処理を終了する。
【0051】
上述のように図3で設定された情報に基づいてパソコン1の電源制御が行われる。
【0052】
続いて図5にパソコン1の電源起動時のBIOS処理のフローチャートを示す。
【0053】
パソコン1の電源がオンされると(ステップS201)、BIOSのPOST(Power On Self Test)が開始される(ステップS202)。このPOSTルーチン処理ではBIOSにより、パソコン1のデバイス、インターフェース等の初期化を実行する。
【0054】
ここで、BIOS−ROM16に記憶されている電源制御プログラムの設定情報として、電源制御機能の有効/無効情報を読み出す(ステップS203)。
【0055】
ここで、電源制御機能が有効のデータで記憶されている場合(ステップS204のYES)、その他の設定値、照度設定部154で設定された照度の値の情報を読出し(ステップS205)、時間設定部158で設定された無入力時間の設定値の情報を読み出す(ステップS206)。
【0056】
上述の処理が通常のBIOSのPOST処理に加えて実行される。なお、読み出した各値は、メインメモリのBIOS21の領域に記憶され、電源制御プログラム211によって参照されてパソコン1の制御が行われる。
【0057】
以上、上述の第1の実施形態では、ユーザの設定に応じて、所定時間使用されていないパソコンの電源を遮断したりデバイスの電力を低減する省電力制御を周囲の明るさに基づいて実行することが可能である。
【0058】
続いて第2の実施形態について説明する。
【0059】
第2の実施形態では、電源制御において、パソコン1の電源オフ制御について、数種類のオプションを選択可能にした例である。第2の実施形態でも、第1の実施形態と同様のパソコンを例に取り説明するため、パソコン1の説明は省略する。
【0060】
図6に第2の実施形態に係るユーティリティプログラムの画面例の図を示す。
【0061】
第2の実施形態でも電源制御プログラム211及びユーティリティプログラム132が記憶されている。第2の実施形態に係るユーティリティプログラム132が実行されると、ウインドウ201が表示される。
【0062】
このウインドウ201では、システムの電源オフの設定として、電源オフ211、スタンバイ212、休止状態213の3つのオプションが選択可能である。
【0063】
これら3つのオプションは、各項目の頭に表示されているマーク211、212、213をマークすることで選択され、図示の状態では、スタンバイ212と休止状態が選択されている。
【0064】
電源オフ211は、設定部214で設定された照度の値を下回った状態が、同じく設定部214で設定された時間だけ継続した場合にパソコン1の電源を遮断する。設定部214で設定された照度の設定値をB1とし、時間の設定値をT11とする。
【0065】
休止状態212は設定部215で設定された照度の値を下回った状態が、同じく設定部215で設定された時間だけ継続した場合にパソコン1を休止状態へ移行させる。休止状態とは、パソコン1内でメモリ13に記憶されているシステムデータをHDD17へ移行させて電源を遮断する。電源投入指示があった場合は、HDD17からメモリ13へシステムデータを復元させることで、通常の軌道処理に比べ起動時間が短縮される(ハイバネーション処理とも言う)。設定部215で設定された照度の設定値をB2とし、時間の設定値をT12とする。
【0066】
スタンバイ213は、設定部216で設定された照度の値を下回った状態が、同じく設定部216で設定された時間だけ継続した場合にパソコン1をスタンバイ状態へ移行させる。スタンバイ状態とは、パソコン1内でメモリ13を除いたデバイスへの電源を遮断する。よって、メモリ13には電源オフ状態前のシステム設定が保持されており、電源投入指示があった場合は、即時にメモリ13からデータを復元できるので、上述の休止状態より、さらに起動時間が短縮される(サスペンド処理とも言う)。設定部216で設定された照度の設定値をB3とし、時間の設定値をT13とする。なお、本実施の形態では、B1<B2<B3という関係で設定されているが、これに限られるものではない。このように第2の実施形態では電源オフに関する処理でオプションを選択可能である。ここで設定された値は、第1の実施形態と同様にBIOS−ROM16に記憶される。パソコン1が動作されている場合は、BIOSプログラム21と同様にメモリ13読み出されている状態である。
【0067】
続いて図7に第2の実施形態に係る電源制御プログラムに基づく電源制御処理のフローチャートを示す。
【0068】
まず図6に示したシステム設定210で電源オフが有効に設定されているか否か判断する(ステップS301)。ここで電源オフが有効に設定された情報がBIOS21に保存されていた場合(ステップS301のYES)、キーボード19やタッチパッド101からの入力が無い時間(無入力時間)のカウントを開始する(ステップS302)。続いて、照度センサー201で感知した照度検知信号は、照度検出部20より照度検出データとしてEC/KBC18に送出され、レジスタ181に記憶される(ステップS303)。ここでレジスタへの書き込みが発生した場合、EC/KBC18はCPU11へ割り込みを通知する(ステップS304)。割り込み通知を受けたCPU11はEC/KBC18のレジスタ181に記憶されている照度データを読み出す(ステップS305)。
【0069】
CPU11は電源制御プログラム211に基づいて、読み出された照度データと設定部214で設定された照度B1との比較を行う(ステップS306)。ここで、読み出された照度データ(現在の照度)が設定された照度B1よりも小さい場合(ステップS306のYES)、ステップS302でカウントを開始した無入力時間が、設定部214で設定された時間(T11)より大きいか否かを判断する(ステップS307)。
【0070】
キーボード19やタッチパッド101からの無入力時間がT11より大きい場合(ステップS307のYES)、電源制御プログラム211に従い、パソコン1の電源をオフする所定処理を実行し、パソコン1の電源を落とす(ステップS308)。キーボード19やタッチパッド101からの無入力時間がT11以下である場合(ステップS307のNO)、照度データの読み取り処理に戻る。
【0071】
ステップS301において電源オフの設定が有効でなかった場合(ステップS301のNO)又は、ステップS306において現在の照度がB1以上であった場合(ステップS306のNO)、システム設定210において、休止状態212が有効であるように設定されているか否か判断する(ステップS309)。ここで休止状態が有効に設定された情報がBIOS21に保存されていた場合(ステップS309のYES)、CPU11は電源制御プログラム211に基づいて、読み出された照度データと設定部215で設定された照度B2との比較を行う(ステップS310)。ここで、読み出された照度データ(現在の照度)が設定された照度B2よりも小さい場合(ステップS310のYES)、ステップS302でカウントを開始した無入力時間が、設定部215で設定された時間(T12)より大きいか否かを判断する(ステップS311)。
【0072】
キーボード19やタッチパッド101からの無入力時間がT12より大きい場合(ステップS311のYES)、電源制御プログラム211に従い、パソコン1を休止状態へ移行させる(ステップS312)。ここでは、メモリ13のシステムデータをHDD17並行する処理を行った後、パソコン1の電源をオフする処理が実行される。キーボード19やタッチパッド101からの無入力時間がT12以下である場合(ステップS311のNO)、照度データの読み取り処理に戻る。
【0073】
ステップS309において、休止状態の設定が有効で無かった場合(ステップS309のNO)又は、ステップS310において現在の照度がB2以上であった場合(ステップS310のNO)、システム設定210において、スタンバイが有効であるように設定されているか否か判断する(ステップS313)。ここでスタンバイが有効に設定された情報がBIOS21に保存されていた場合(ステップS313のYES)、CPU11は電源制御プログラム211に基づいて、読み出された照度データと設定部216で設定された照度B3との比較を行う(ステップS314)。ここで、読み出された照度データ(現在の照度)が設定された照度B3よりも小さい場合(ステップS314のYES)、ステップS302でカウントを開始した無入力時間が、設定部216で設定された時間(T13)より大きいか否かを判断する(ステップS315)。
【0074】
キーボード19やタッチパッド101からの無入力時間がT13より大きい場合(ステップS315のYES)、電源制御プログラム211に従い、パソコン1をスタンバイ状態へ移行させる(ステップS316)。ここでは、メモリ13への電源供給を除いて、パソコン1内の他のデバイスへの電源供給を停止する。キーボード19やタッチパッド101からの無入力時間がT13以下である場合(ステップS315のNO)、照度データの読み取り処理に戻る。
【0075】
ステップS313において、スタンバイの設定が有効で無かった場合(ステップS313のNO)又は、現在の照度がB3以上であった場合(ステップS314のNO)、無入力時間をカウントするタイマをリセットし(ステップS317)、ステップS301の処理に戻る。
【0076】
上述のように第2の実施形態では、電源オフの処理を複数選択可能とすることで、周囲の照度に応じて電源オフの状態を切替えることが可能となる。
【0077】
以上、詳述したように、本発明では、周囲の明るさに応じて消費される電力を制御することが可能である。特に、本発明では、BIOSの処理により実現することで、OSの種類やドライバ等に関係なく所望の処理を行なうことが可能となる。また、第1の実施形態および第2の実施形態で示した照度センサの配置位置は、これに限られるものではなく、ディスプレイユニットに設けても良い。
【0078】
なお、本願発明は、前記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。更に、前記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。たとえば、実施形態に示される全構成要件から幾つかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。
【0079】
【発明の効果】
以上詳述したように本発明によれば、周囲の明るさに応じて消費される電力を制御することが可能な電子機器および電源制御方法を提供することが可能である。
【図面の簡単な説明】
【図1】第1の実施形態による電子機器の構成図。
【図2】第1の実施形態に於けるパソコンの外観斜視図。
【図3】第1の実施形態に係るユーティリティプログラムの設定画面例の図。
【図4】第1の実施形態に係る電源制御プログラムに基づく制御フローチャート。
【図5】パソコン1の電源起動時のBIOS処理のフローチャート。
【図6】第2の実施形態に係るユーティリティプログラムの画面例の図。
【図7】第2の実施形態に係る電源制御プログラムに基づく電源制御処理のフローチャート。
【符号の説明】
1…パソコン、11…CPU、12…グラフィック・メモリコントローラハブ、13…メモリ、14…グラフィックコントローラ、15…I/Oハブ、16…BIOS−ROM、17…ハードディスクドライブ(HDD)、18…エンベッテッドコントローラ・キーボードコントローラ(EC/KBC)、19…キーボード、20…照度検出部、21…BIOSプログラム、22…ディスプレイユニット、23…LCD、100…コンピュータ本体、101…タッチパネル、151…照度レベル枠、152…電源制御設定枠、153…デバイス制御設定枠、154…照度設定部、158、163、164…時間設定部201…照度センサ、214、215、216…設定部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an electronic device capable of detecting ambient brightness and a power control method for the electronic device.
[0002]
[Prior art]
In recent years, information processing apparatuses represented by personal computers (hereinafter referred to as personal computers) have been widely used, and portability such as those that are easy to carry has been emphasized. As a display device of such an information processing apparatus, a flat panel display represented by a liquid crystal display is often provided. When an information processing apparatus having such a display is carried and used while moving, a phenomenon may occur in which the display becomes difficult to see depending on ambient brightness. In view of such a problem, an apparatus that detects the brightness of the surroundings and adjusts the brightness of the display in accordance with the brightness has also appeared (for example, see Patent Document 1). In addition, a technique is known in which power control of an electronic device is controlled in accordance with ambient brightness using such a mechanism of illuminance detection (for example, Patent Document 2).
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 10-228010
[0004]
[Patent Document 2]
JP-A-8-241147
[0005]
[Problems to be solved by the invention]
Among the information processing devices described above, in the models equipped with the automatic brightness adjustment mechanism, the display brightness is automatically adjusted according to the ambient brightness during normal use. There is a problem that the display luminance is frequently switched each time depending on the brightness and the like, and there is a problem that the user is visually fatigued.
[0006]
Further, in the technique of controlling the power supply of an electronic device according to the ambient brightness as described in Patent Document 2, the power is always cut off when the environment is dark and there is no key input for a certain period of time. There was a problem that the power was cut off without permission during video playback.
[0007]
The present invention has been made in view of the above circumstances, and an object thereof is to provide an electronic device and a power supply control method capable of controlling power consumed according to ambient brightness.
[0008]
[Means for Solving the Problems]
To achieve the above object, the invention according to claim 1 comprises a main body, an illuminance detecting means provided on the main body for detecting the illuminance around the main body, and a BIOS program for controlling the operation of the main body. The program stores a predetermined illuminance value, and compares the illuminance detected by the illuminance detection means with the illuminance value, and if the illuminance detected by the comparison means is determined to be smaller than the illuminance value, The power supply is cut off.
[0009]
With such a configuration, it is possible to provide an electronic device that can control power consumed according to ambient brightness.
[0010]
According to a seventh aspect of the invention, there is provided a main body, an electronic device provided in the main body, an illuminance detecting means provided in the main body for detecting the illuminance around the main body, and a BIOS program for controlling the operating state of the main body. The BIOS program stores a predetermined illuminance value, and the first comparing means for comparing the illuminance detected by the illuminance detecting means with the predetermined illuminance value, and the illuminance is predetermined by the first comparing means. Means for measuring time when it is determined that the illuminance value is smaller than the second illuminance value, second comparing means for comparing the time measured by the measuring means with the first time and the second time, When it is determined by the comparison means that the measured time exceeds the first time, the power supply to the electronic device is restricted, and the time measured by the second comparison means exceeds the second time. If it is determined that Characterized by interrupting the power supply.
[0011]
With such a configuration, it is possible to provide an electronic device that can control power consumed according to ambient brightness.
[0012]
According to an eighth aspect of the invention, there is provided a main body, an illuminance detecting means provided on the main body for detecting the illuminance around the main body, and a BIOS program for controlling the operating state of the main body. The first illuminance value, the second illuminance value, and the third illuminance value are stored, and the illuminance detected by the illuminance detection means is compared with the first illuminance value, the second illuminance value, or the third illuminance value. When the illuminance is determined to be smaller than the first illuminance value by the comparing means and the comparing means, the power supply of the main body is shut off, and when it is determined that the illuminance is smaller than the second illuminance value, the main body is subjected to hibernation processing, When it is determined that it is smaller than the third illuminance value, the main body is suspended.
[0013]
With such a configuration, it is possible to provide an electronic device that can control power consumed according to ambient brightness.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0015]
FIG. 1 shows the configuration of an electronic apparatus according to the first embodiment of the present invention. Here, a notebook-type personal computer that can be driven by a battery is taken as an example, and the configuration of the personal computer is shown.
[0016]
As shown in the figure, the personal computer 1 includes a CPU 11, a graphic memory controller hub 12, a memory (main storage device) 13, a graphic controller 14, an I / O hub 15, a BIOS-ROM 16, a hard disk drive (HDD) 17, an encoder. A bedded controller / keyboard controller (hereinafter referred to as EC / KBC) 18, a keyboard 19, an illuminance detection unit 20, and the like are provided.
[0017]
The CPU 11 is a device that refers to the operation control of the entire personal computer 1 and the contents of the memory 13 and executes data processing and the like based on the reference.
[0018]
The memory 13 stores an operating system (hereinafter referred to as OS) 131, a utility program 132 according to the first embodiment, an execution application, and the like, and reading / writing is executed by the CPU 11. Further, when the personal computer 1 is started up, the BIOS program 21 required during OS execution is copied from the BIOS-ROM 16 to the main memory 13. The BIOS program 21 includes the power supply control program 211 according to the first embodiment and its set value.
[0019]
The graphic controller 14 is connected to the VRAM 141. Under the control of the OS executed by the CPU 11, the LCD (Liquid Crystal Display) 23 provided in the display unit 22 is controlled to display, and various external display connection interfaces such as a CRT terminal, a DVI terminal, and a TV terminal (not shown) are provided. Display drive control of the external display device connected via the interface.
[0020]
The VRAM 141 is a memory device controlled by the graphic controller 14 and temporarily stores display data displayed on the LCD 23. The graphic controller 14 writes / reads video data transmitted from the graphic / memory controller hub 12.
[0021]
The I / O hub 15 is a bridge circuit that performs data conversion between a device on an LPC (Low Pin Count) bus 24 connected to the I / O hub 15 and the graphic memory controller hub 12. An I / O controller is built in.
[0022]
The BIOS-ROM 16 is a program that systematizes a function execution routine for accessing various hardware in the personal computer, and is configured by a flash ROM so that the program can be rewritten. Various hardware initialization is performed when the personal computer 1 is started, and some programs in the BIOS-ROM 16 are copied to the memory 13 at the time of startup (BIOS 21), and input / output control to various hardware is performed even while the OS is running. . The power control program 211 is stored as a part of the BIOS-ROM 16 and is copied to the memory 13 when the personal computer 1 is activated. Further, a setting value by a utility program 132 described later is also stored in the BIOS-ROM 16.
[0023]
The HDD 17 is a non-volatile storage device that stores data, and can hold data even when the personal computer 1 is powered off. The HDD 17 stores content data such as an OS, various applications, drivers, utility software, music, and video. These data are read by the CPU 11 to the memory 13 as appropriate, and the read data is the CPU 11. Further processing by
[0024]
The EC / KBC 18 has a plurality of registers 181 that can be read / written by the CPU 11. By using this register 181, communication between the CPU 11 and a device connected to the EC / KBC 18 becomes possible. Also, a keyboard controller function is built in, and a signal input from the keyboard 19 connected to the EC / KBC 18 is processed and notified to a higher-level device (CPU 111 or the like).
[0025]
The illuminance detection unit 20 includes an illuminance sensor 201, detects the brightness under the usage environment of the personal computer 1, that is, the illuminance around the apparatus, and sends the detection data to the EC / KBC 18. In the present embodiment, the illuminance is read every predetermined time. Further, in one reading of the illuminance, A / D conversion is performed four times, and an average of two values excluding the maximum value and the minimum value is taken and notified to the EC / KBC 18 as an illuminance read value. The EC / KBC 18 acquires illuminance data detected by the illuminance detection unit 20 and stores it in the register 181.
[0026]
Further, a power supply controller (hereinafter referred to as PSC) 25 is connected to the EC / KBC 18.
[0027]
The PSC 25 controls the power supply of the entire personal computer 1 and supplies power to the devices in the personal computer 1 from the battery 26 as a secondary battery and the AC adapter 27 as an external power source. Further, the battery charge / discharge control is performed, and the remaining amount of the battery 26 is monitored. Further, when power is supplied from the AC adapter 27, charging control is performed according to the remaining amount of the battery 26.
[0028]
In the present embodiment, when the illuminance data stored in the register 181 of the EC / KBC 18 falls below a predetermined illuminance based on the power control program 211 included in the BIOS program 21, the power control and power saving control of the personal computer 1 are performed. Make it possible to do
[0029]
Next, FIG. 2 shows an external perspective view of the personal computer 1 in the first embodiment. Here, a notebook personal computer is shown. The personal computer 1 according to the embodiment of the present invention shown in FIG. 2 has a main body 100 and a display unit 22. An LCD 23 is incorporated in the display unit 22, and the display unit 22 in which the LCD 23 is incorporated is in a state where the display unit 22 is opened with respect to the main body 100 and a state in which the display unit 22 is closed. It is attached so as to be rotatable between the closed position.
[0030]
The main body 100 has a box-shaped housing. A keyboard 19 is disposed on the upper surface of the main body 100, and a touch panel 101 is provided at a substantially central portion of the upper surface of the main body 100 in front of the keyboard 19.
[0031]
An illuminance sensor 201 that senses ambient brightness (light intensity) is provided on the upper surface of the main body 100. The illuminance detection signal sensed by the illuminance sensor 201 is sent from the illuminance detection unit 20 to the EC / KBC 18 as illuminance detection data as described above.
[0032]
FIG. 3 shows an example of a utility program setting screen according to the first embodiment.
[0033]
When the utility program 132 is executed, the illustrated window 150 is displayed. In this window 150, three items (151, 152, 153) are displayed. The top item is an illuminance level frame 151 that can set a brightness threshold when the power of the personal computer 1 is turned off based on the power control program 211, and the middle frame is defined by the illuminance level frame 151. This is a power control setting frame 152 for setting whether to execute control based on the power control program 211 (valid / invalid) based on the illuminance value, and the bottom frame is defined by the illuminance level frame 151. This is a device control frame 153 for setting power saving control of devices in the personal computer 1 based on the threshold value.
[0034]
In the illuminance level frame 151, when performing power control based on the power control program 211 of this embodiment, a threshold value of illuminance is set as a criterion for performing power control. The illuminance is set by inputting a numerical value of illuminance to the illuminance setting unit 154. However, since it is difficult for a general user to know how bright the illuminance value is, the recording button 155 is provided in this embodiment. When this recording button 155 is pressed, it reads the brightness data around the personal computer 1 from the illuminance sensor 201 and sets this data in the illuminance setting unit 154 as a threshold value. For this reason, when the user performs the recording button 155 in a brightness (darkness) environment in consideration of the power-off state, the illuminance at that time is set as the illuminance threshold.
[0035]
In the power supply control setting frame 152, it is possible to set power supply control based on the power supply control program 211 to be valid or invalid. Here, an “effective” button 156 for executing the power-off of the personal computer in a state where the illuminance value set by the illuminance setting unit 154 is below, and a state where the value is below the illuminance value set by the illuminance setting unit 154 An “invalid” button 157 that does not execute the power-off control is displayed, and one of them can be selected. In the case of “valid”, a time setting unit 158 capable of setting a time during which the state below the illuminance threshold continues (this time is referred to as T1 in this embodiment) is displayed, and the time is set according to the user. Can be set. In the power supply control program 211, while being set to be effective in the power supply control setting frame 152, it is longer than the time set by the time setting unit 158 and continuously falls below the illuminance value set by the illuminance setting unit 154. In this case, the personal computer 1 is turned off.
[0036]
In the device control frame 153, when the state where the illuminance value set by the illuminance setting unit 154 is below the illuminance setting unit 154 based on the power control program 211 continues for a certain period of time, the power saving control for turning off the motor of the HDD 17 and the backlight of the LCD Can be set. In the device control setting frame 153, there are an “valid” button 159 for performing power saving control of the device in a state where it is below the illuminance threshold value, and an “invalid” button 159 for not performing power saving control of the device based on the illuminance. It is displayed and either can be selected. In the case of “valid”, it is possible to select a device for further power saving control. In this embodiment, as shown in the figure, an item 161 for turning off the power of the HDD 17 and a power source for the monitor (LCD 23) (backlight here). An item 162 for turning off is displayed. A check box is displayed at the head of each item, and power saving control is performed on a device whose check box is checked. Further, for each item, time setting units 163 and 164 for setting a time for which a state in which the value set by the illuminance setting unit 154 is continuously lower is continued (this time is referred to as T2 in this embodiment). It is displayed and the time can be set for each device. Based on the time set in the time setting units 163 and 164 and the value set in the illuminance setting unit 154, power control of the device of each item is performed.
[0037]
Each setting value set by the utility program 132 is stored in the BIOS-ROM 16. It is read into the memory 13 when the personal computer 1 is started up, and under the control of the OS 131, the power supply control program 211 is executed with reference to each setting value included in the BIOS 21.
[0038]
FIG. 4 is a control flowchart based on the power supply control program according to the first embodiment.
[0039]
First, it is determined whether or not power control is set to be effective in the power control frame 152 shown in FIG. 3 (step S101). If the information set to be valid here is stored in the BIOS 21 (YES in step S101), the counting of the time when there is no input from the keyboard 19 or the touch pad 101 (no input time) is started (step S102). Subsequently, the illuminance detection signal sensed by the illuminance sensor 201 is sent from the illuminance detection unit 20 to the EC / KBC 18 as illuminance detection data and stored in the register 181 (step S103). Here, when writing to the register occurs, the EC / KBC 18 notifies the CPU 11 of an interrupt (step S104). Receiving the interrupt notification, the CPU 11 reads the illuminance data stored in the register 181 of the EC / KBC 18 (step S105).
[0040]
Based on the power control program 211, the CPU 11 compares the read illuminance data with the illuminance set by the illuminance setting unit 154 (step S106). When the read illuminance data (current illuminance) is smaller than the set illuminance (set illuminance) (YES in step S106), the no-input time started in step S102 is set in the time setting unit 158. It is determined whether or not it is longer than the set time (T1 in this embodiment) (step S107).
[0041]
When the no-input time from the keyboard 19 or the touch pad 101 is larger than T1 (YES in step S107), a predetermined process for turning off the personal computer 1 is executed according to the power control program 211, and the personal computer 1 is turned off (step) S108).
[0042]
If the no-input time from the keyboard 19 or the touch pad 101 is T1 or less (NO in step S107), it is determined whether or not the device power saving control is set in the device control frame 153 (step S109). . If the device control is set to be valid (YES in step S109), the no-input time started in step S102 is longer than the time set in the time setting units 163 and 164 (T2 in this embodiment). Whether or not (step S110). When the no-input time from the keyboard 19 or the touch pad 101 is longer than T2 (YES in step S110), the power saving control of the device exceeding T2 is executed according to the power control program 211 (step S111).
[0043]
In addition, when the power saving control of the device is not set (NO in step S109), or when the no-input time from the keyboard 19 or the touch pad 101 is T2 or less (NO in step S110), the illuminance data reading process Return to.
[0044]
If the current illuminance is greater than the set illuminance (NO in step S106), the timer is reset, and the timer starts counting the non-input time again.
[0045]
Subsequently, when the power control setting is set to invalid by the power control frame 152, it is determined whether or not the device power saving control is set in the device control frame 153 (step S113). If the device control is set to be valid (YES in step S113), the time when there is no input from the keyboard 19 or the touch pad 101 (no input time) is started (step S114). Subsequently, the illuminance detection signal sensed by the illuminance sensor 201 is sent from the illuminance detection unit 20 to the EC / KBC 18 as illuminance detection data and stored in the register 181 (step S115). Here, when writing to the register occurs, the EC / KBC 18 notifies the CPU 11 of an interrupt (step S116). Receiving the interrupt notification, the CPU 11 reads the illuminance data stored in the register 181 of the EC / KBC 18 (step S117).
[0046]
Based on the power control program 211, the CPU 11 compares the read illuminance data with the illuminance set by the illuminance setting unit 154 (step S118). Here, when the read illuminance data (current illuminance) is smaller than the set illuminance (set illuminance) (YES in step S118), the no-input time started in step S102 is the time setting unit 163, 164. It is determined whether or not it is longer than the time (T2) set in (step S119).
[0047]
When the no-input time from the keyboard 19 or the touch pad 101 is larger than T1 (YES in step S119), the power saving control of the device exceeding T2 is executed according to the power control program 211 according to the power control program 211 (step S120). ).
[0048]
If the no-input time from the keyboard 19 or the touch pad 101 is T2 or less (NO in step S119), the process returns to the illuminance data reading process.
[0049]
If the current illuminance is greater than the set illuminance (NO in step S118), the timer is reset and the timer starts counting the non-input time again.
[0050]
If neither the power control nor the device control is invalid (NO in step S101, NO in step S113), the illuminance data reading process is not performed, and this process is terminated.
[0051]
As described above, power control of the personal computer 1 is performed based on the information set in FIG.
[0052]
Next, FIG. 5 shows a flowchart of the BIOS process when the personal computer 1 is powered on.
[0053]
When the power source of the personal computer 1 is turned on (step S201), BIOS POST (Power On Self Test) is started (step S202). In this POST routine process, initialization of the device, interface, etc. of the personal computer 1 is executed by the BIOS.
[0054]
Here, the valid / invalid information of the power control function is read out as the setting information of the power control program stored in the BIOS-ROM 16 (step S203).
[0055]
If the power control function is stored as valid data (YES in step S204), other setting values and information on the illuminance value set by the illuminance setting unit 154 are read (step S205), and the time setting is performed. Information on the set value of the no-input time set by the unit 158 is read (step S206).
[0056]
The above-described processing is executed in addition to the normal BIOS POST processing. The read values are stored in the BIOS 21 area of the main memory, and are controlled by the power supply control program 211 to control the personal computer 1.
[0057]
As described above, in the first embodiment described above, the power saving control for cutting off the power of the personal computer that has not been used for a predetermined time or reducing the power of the device is executed based on the ambient brightness in accordance with the setting of the user. It is possible.
[0058]
Next, a second embodiment will be described.
[0059]
The second embodiment is an example in which several options can be selected for the power-off control of the personal computer 1 in the power control. In the second embodiment, the same personal computer as in the first embodiment will be described as an example, and the description of the personal computer 1 will be omitted.
[0060]
FIG. 6 shows a screen example of the utility program according to the second embodiment.
[0061]
The power control program 211 and the utility program 132 are also stored in the second embodiment. When the utility program 132 according to the second embodiment is executed, a window 201 is displayed.
[0062]
In this window 201, three options of power-off 211, standby 212, and hibernation state 213 can be selected as the system power-off setting.
[0063]
These three options are selected by marking marks 211, 212, and 213 displayed at the head of each item, and in the state shown in the figure, standby 212 and hibernation are selected.
[0064]
The power-off 211 shuts off the power of the personal computer 1 when the state in which the illuminance value set by the setting unit 214 is lower than the value set by the setting unit 214 continues. The illuminance setting value set by the setting unit 214 is B1, and the time setting value is T11.
[0065]
The hibernation state 212 shifts the personal computer 1 to the hibernation state when the state in which the illuminance value set by the setting unit 215 is lower than the value set by the setting unit 215 continues. In the hibernation state, the system data stored in the memory 13 in the personal computer 1 is transferred to the HDD 17 and the power is shut off. When a power-on instruction is issued, the system data is restored from the HDD 17 to the memory 13, thereby shortening the startup time as compared with normal trajectory processing (also referred to as hibernation processing). The illuminance setting value set by the setting unit 215 is B2, and the time setting value is T12.
[0066]
The standby 213 shifts the personal computer 1 to the standby state when the state in which the illuminance value set by the setting unit 216 is lower than the value set by the setting unit 216 continues. In the standby state, power to devices other than the memory 13 in the personal computer 1 is shut off. Therefore, the system setting before the power-off state is held in the memory 13, and when the power-on instruction is given, the data can be immediately restored from the memory 13, so that the startup time is further shortened than the above-described hibernation state. (Also called suspend processing). The illuminance setting value set by the setting unit 216 is B3, and the time setting value is T13. In this embodiment, the relation B1 <B2 <B3 is set, but the present invention is not limited to this. As described above, in the second embodiment, an option can be selected in the process related to power-off. The value set here is stored in the BIOS-ROM 16 as in the first embodiment. When the personal computer 1 is operating, the memory 13 is being read out in the same manner as the BIOS program 21.
[0067]
Next, FIG. 7 shows a flowchart of the power control process based on the power control program according to the second embodiment.
[0068]
First, it is determined whether or not power-off is set to be effective in the system setting 210 shown in FIG. 6 (step S301). If the information that the power-off is set to be valid is stored in the BIOS 21 (YES in step S301), the counting of the time when there is no input from the keyboard 19 or the touch pad 101 (no input time) is started (step S302). Subsequently, the illuminance detection signal sensed by the illuminance sensor 201 is sent from the illuminance detection unit 20 to the EC / KBC 18 as illuminance detection data and stored in the register 181 (step S303). Here, when writing to the register occurs, the EC / KBC 18 notifies the CPU 11 of an interrupt (step S304). Receiving the interrupt notification, the CPU 11 reads the illuminance data stored in the register 181 of the EC / KBC 18 (step S305).
[0069]
Based on the power supply control program 211, the CPU 11 compares the read illuminance data with the illuminance B1 set by the setting unit 214 (step S306). Here, when the read illuminance data (current illuminance) is smaller than the set illuminance B1 (YES in step S306), the no-input time that started counting in step S302 is set by the setting unit 214. It is determined whether or not the time (T11) is greater (step S307).
[0070]
When the no-input time from the keyboard 19 or the touch pad 101 is larger than T11 (YES in step S307), a predetermined process for turning off the personal computer 1 is executed according to the power control program 211, and the personal computer 1 is turned off (step) S308). When the no-input time from the keyboard 19 or the touch pad 101 is T11 or less (NO in step S307), the process returns to the illuminance data reading process.
[0071]
If the power-off setting is not valid in step S301 (NO in step S301), or if the current illuminance is B1 or more in step S306 (NO in step S306), the hibernation state 212 is set in the system setting 210. It is determined whether or not the setting is valid (step S309). If the information indicating that the hibernation state is set to be valid is stored in the BIOS 21 (YES in step S309), the CPU 11 is set by the read illuminance data and the setting unit 215 based on the power control program 211. Comparison with the illuminance B2 is performed (step S310). Here, when the read illuminance data (current illuminance) is smaller than the set illuminance B2 (YES in step S310), the no-input time that started counting in step S302 is set by the setting unit 215. It is determined whether or not it is longer than time (T12) (step S311).
[0072]
When the no-input time from the keyboard 19 or the touch pad 101 is longer than T12 (YES in step S311), the personal computer 1 is shifted to a sleep state according to the power control program 211 (step S312). Here, after the system data in the memory 13 is processed in parallel with the HDD 17, a process of turning off the personal computer 1 is executed. When the no-input time from the keyboard 19 or the touch pad 101 is T12 or less (NO in step S311), the process returns to the illuminance data reading process.
[0073]
If the hibernation setting is not valid in step S309 (NO in step S309), or if the current illuminance is B2 or more in step S310 (NO in step S310), standby is valid in the system setting 210. It is determined whether or not it is set to be (step S313). If the information that the standby is set to be valid is stored in the BIOS 21 (YES in step S313), the CPU 11 reads the illuminance data read out and the illuminance set by the setting unit 216 based on the power supply control program 211. Comparison with B3 is performed (step S314). Here, when the read illuminance data (current illuminance) is smaller than the set illuminance B3 (YES in step S314), the no-input time that started counting in step S302 is set by the setting unit 216. It is determined whether or not it is longer than the time (T13) (step S315).
[0074]
When the no-input time from the keyboard 19 or the touch pad 101 is longer than T13 (YES in step S315), the personal computer 1 is shifted to the standby state according to the power control program 211 (step S316). Here, the power supply to the other devices in the personal computer 1 is stopped except for the power supply to the memory 13. When the no-input time from the keyboard 19 or the touch pad 101 is T13 or less (NO in step S315), the process returns to the illuminance data reading process.
[0075]
In step S313, if the standby setting is not valid (NO in step S313), or if the current illuminance is B3 or more (NO in step S314), the timer for counting the no-input time is reset (step S313). S317), the process returns to step S301.
[0076]
As described above, in the second embodiment, by enabling selection of a plurality of power-off processes, the power-off state can be switched according to the ambient illuminance.
[0077]
As described above in detail, in the present invention, it is possible to control the power consumed according to the ambient brightness. In particular, in the present invention, it is possible to perform a desired process regardless of the type of OS, the driver, and the like by being realized by the BIOS process. Moreover, the arrangement position of the illuminance sensor shown in the first embodiment and the second embodiment is not limited to this, and may be provided in the display unit.
[0078]
Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be obtained as an invention.
[0079]
【The invention's effect】
As described above in detail, according to the present invention, it is possible to provide an electronic device and a power supply control method capable of controlling power consumed according to ambient brightness.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an electronic device according to a first embodiment.
FIG. 2 is an external perspective view of a personal computer according to the first embodiment.
FIG. 3 is a diagram showing an example of a utility program setting screen according to the first embodiment.
FIG. 4 is a control flowchart based on a power supply control program according to the first embodiment.
FIG. 5 is a flowchart of BIOS processing when the personal computer 1 is powered on.
FIG. 6 is a diagram showing a screen example of a utility program according to the second embodiment.
FIG. 7 is a flowchart of power control processing based on a power control program according to the second embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Personal computer, 11 ... CPU, 12 ... Graphic memory controller hub, 13 ... Memory, 14 ... Graphic controller, 15 ... I / O hub, 16 ... BIOS-ROM, 17 ... Hard disk drive (HDD), 18 ... Envelope Ted controller / keyboard controller (EC / KBC), 19 ... keyboard, 20 ... illuminance detection unit, 21 ... BIOS program, 22 ... display unit, 23 ... LCD, 100 ... computer body, 101 ... touch panel, 151 ... illuminance level frame, 152 ... Power control setting frame, 153 ... Device control setting frame, 154 ... Illuminance setting unit, 158, 163, 164 ... Time setting unit 201 ... Illuminance sensor, 214, 215, 216 ... Setting unit

Claims (11)

本体と、
前記本体に設けられ、前記本体周囲の照度を検出する照度検出手段と、
前記本体の動作制御を行うBIOSプログラムとを具備し、
前記BIOSプログラムは、所定の照度値を記憶し、前記照度検出手段で検出された照度と前記照度値とを比較する比較手段と、前記比較手段により前記検出された照度が前記照度値より小さいと判断された場合、前記本体の電源を遮断すること
を特徴とする電子機器。
The body,
Illuminance detection means provided on the main body for detecting the illuminance around the main body,
A BIOS program for controlling the operation of the main body,
The BIOS program stores a predetermined illuminance value, and compares the illuminance detected by the illuminance detection means with the illuminance value, and the illuminance detected by the comparison means is smaller than the illuminance value. An electronic apparatus characterized by shutting off the power source of the main body when judged.
前記BIOSプログラムはさらに、前記比較手段に基づく前記本体の電源を遮断する処理を実行するか否か設定する設定手段を具備することを特徴とする請求項1に記載の電子機器。The electronic device according to claim 1, wherein the BIOS program further comprises setting means for setting whether or not to execute processing for shutting off the power supply of the main body based on the comparison means. 前記BIOSプログラムはさらに、前記照度値を設定可能な照度値設定手段を具備し、前記比較手段は前記照度値設定手段に設定された照度値と前記検出された照度との比較を実行することを特徴とする請求項1または2に記載の電子機器。The BIOS program further includes an illuminance value setting means capable of setting the illuminance value, and the comparing means executes a comparison between the illuminance value set in the illuminance value setting means and the detected illuminance. The electronic device according to claim 1 or 2, characterized in that 前記BIOSプログラムはさらに、前記比較手段により前記検出された照度が前記照度値より小さいと判断された場合に、時間を計測する計測手段と、前記計測手段により計測された時間の閾値を設定する時間設定手段とを具備し、
前記計測手段により計測された時間が前記時間設定手段により設定された時間を超えた場合に前記本体の電源を遮断することを特徴とする請求項1または2に記載の電子機器。
The BIOS program further includes a measurement unit for measuring time when the comparison unit determines that the detected illuminance is smaller than the illuminance value, and a time for setting a threshold for the time measured by the measurement unit. Setting means,
The electronic apparatus according to claim 1, wherein when the time measured by the measuring unit exceeds the time set by the time setting unit, the power source of the main body is shut off.
前記計測手段は、前記比較手段により前記検出された照度が前記照度値より大きくなった場合に、時間計測をリセットすることを特徴とする請求項4に記載の電子機器。The electronic device according to claim 4, wherein the measurement unit resets time measurement when the illuminance detected by the comparison unit becomes larger than the illuminance value. 前記電子機器は、前記照度値及び前記設定手段により設定された前記本体の電源を遮断する処理を実行するか否かの情報は記憶する不揮発メモリを具備し、
前記本体の電源起動時に前記不揮発性メモリに記憶されている情報に基づいて、前記比較手段に基づく前記本体の電源を遮断する処理を実行するか否かを設定することを特徴とする請求項3に記載の電子機器。
The electronic device includes a nonvolatile memory that stores information on whether to execute the process of shutting off the power of the main body set by the illuminance value and the setting unit,
4. The apparatus according to claim 3, wherein whether to execute a process of shutting off the power source of the main body based on the comparison unit is set based on information stored in the nonvolatile memory when the power source of the main body is activated. The electronic device as described in.
本体と、
前記本体に設けられる電子デバイスと、
前記本体に設けられ、前記本体周囲の照度を検出する照度検出手段と、
前記本体の動作状態の制御を行うBIOSプログラムとを具備し、
前記BIOSプログラムは、
所定の照度値とを記憶し、
前記照度検出手段で検出された照度と、前記所定の照度値とを比較する第1の比較手段と、
前記第1の比較手段により前記照度が前記所定の照度値より小さいと判断された場合に時間を計測する手段と、
前記計測手段により計測された時間と、第1の時間および第2の時間とを比較する第2の比較手段と、
前記第2の比較手段により、前記計測された時間が前記第1の時間を超えたと判断された場合に、前記電子デバイスへの電源供給を制限し、
第2の比較手段により、前記計測された時間が前記第2の時間を超えたと判断された場合、前記本体の電源を遮断することを特徴とする電子機器。
The body,
An electronic device provided in the main body;
Illuminance detection means provided on the main body for detecting the illuminance around the main body,
A BIOS program for controlling the operating state of the main body,
The BIOS program is
Memorize the predetermined illuminance value,
First comparing means for comparing the illuminance detected by the illuminance detecting means with the predetermined illuminance value;
Means for measuring time when the first comparing means determines that the illuminance is smaller than the predetermined illuminance value;
Second comparing means for comparing the time measured by the measuring means with the first time and the second time;
When the second comparison means determines that the measured time exceeds the first time, the power supply to the electronic device is limited,
An electronic apparatus characterized in that when the second comparison means determines that the measured time exceeds the second time, the power of the main body is shut off.
本体と、
前記本体に設けられ、前記本体周囲の照度を検出する照度検出手段と、
前記本体の動作状態の制御を行うBIOSプログラムとを具備し、
前記BIOSプログラムは、第1の照度値と第2の照度値と第3の照度値を記憶し、前記照度検出手段で検出された照度と、前記第1の照度値又は前記第2の照度値又は第3の照度値とを比較する手段と、前記比較手段により前記照度が前記第1の照度値より小さいと判断された場合、前記本体の電源を遮断し、前記第2の照度値より小さいと判断された場合、前記本体をハイバーネーション処理を行ない、前記第3の照度値より小さいと判断された場合、前記本体をサスペンド処理すること
を特徴とする電子機器。
The body,
Illuminance detection means provided on the main body for detecting the illuminance around the main body,
A BIOS program for controlling the operating state of the main body,
The BIOS program stores a first illuminance value, a second illuminance value, and a third illuminance value, and the illuminance detected by the illuminance detection means and the first illuminance value or the second illuminance value. Alternatively, when the illuminance is determined to be smaller than the first illuminance value by means for comparing the third illuminance value with the comparing means, the power supply of the main body is shut off and smaller than the second illuminance value. When it is determined that the main body is hibernated, and when it is determined that the main body is smaller than the third illuminance value, the main body is suspended.
電子機器本体周囲の照度を検出する照度検出手段と、前記本体の動作制御を行うBIOSプログラムとを具備する電子機器の電源制御方法において、
前記BIOSプログラムは、所定の照度値を記憶し、
前記照度検出手段で検出された照度と前記照度値とを比較し、
前記比較手段により前記検出された照度が前記照度値より小さいと判断された場合、前記本体の電源を遮断すること
を特徴とする電源制御方法。
In a power control method for an electronic device comprising illuminance detection means for detecting the illuminance around the electronic device main body and a BIOS program for controlling the operation of the main body,
The BIOS program stores a predetermined illuminance value,
Compare the illuminance value detected by the illuminance detection means with the illuminance value,
The power supply control method according to claim 1, wherein when the detected illuminance is determined to be smaller than the illuminance value by the comparison means, the power supply of the main body is shut off.
電子機器本体に設けられる電子デバイスと、前記本体に設けられ、前記本体周囲の照度を検出する照度検出手段と、前記本体の動作状態の制御を行うBIOSプログラムとを具備する電子機器の電源制御方法において、
前記BIOSプログラムは、第1の照度値と第2の照度値とを記憶し、
前記照度検出手段で検出された照度と、前記第1の照度値及び前記第2の照度値とを比較し、
前記比較手段により前記照度が前記第1の照度値より小さいと判断された場合、前記電子デバイスへの電源供給を制限し、
前記比較手段により前記前記第2の照度値より小さいと判断された場合前記本体の電源を遮断すること
を特徴とする電源制御方法。
Electronic device power control method comprising: an electronic device provided in an electronic device main body; an illuminance detection unit provided in the main body for detecting illuminance around the main body; and a BIOS program for controlling an operation state of the main body. In
The BIOS program stores a first illuminance value and a second illuminance value,
Comparing the illuminance detected by the illuminance detection means with the first illuminance value and the second illuminance value;
If the comparing means determines that the illuminance is smaller than the first illuminance value, the power supply to the electronic device is limited,
The power supply control method according to claim 1, wherein the power supply of the main body is shut off when the comparison means determines that the light intensity is smaller than the second illuminance value.
電子機器本体周囲の照度を検出する照度検出手段と、前記本体の動作制御を行うBIOSプログラムとを具備する電子機器の電源制御方法において、
前記BIOSプログラムは、第1の照度値と第2の照度値と第3の照度値を記憶し、
前記照度検出手段で検出された照度と、前記第1の照度値又は前記第2の照度値又は第3の照度値とを比較し、
前記比較手段により前記照度が前記第1の照度値より小さいと判断された場合、前記本体の電源を遮断し、
前記第2の照度値より小さいと判断された場合、前記本体をハイバーネーション処理を行ない、
前記第3の照度値より小さいと判断された場合、前記本体をサスペンド処理すること
を特徴とする電源制御方法。
In a power control method for an electronic device comprising illuminance detection means for detecting the illuminance around the electronic device main body and a BIOS program for controlling the operation of the main body,
The BIOS program stores a first illuminance value, a second illuminance value, and a third illuminance value,
Comparing the illuminance detected by the illuminance detection means with the first illuminance value or the second illuminance value or the third illuminance value;
When the illuminance is determined by the comparing means to be smaller than the first illuminance value, the power of the main body is shut off,
If it is determined that the illumination intensity is smaller than the second illuminance value, the main body is subjected to a hibernation process,
A power supply control method comprising: suspending the main body when it is determined that the illuminance value is smaller than the third illuminance value.
JP2003188881A 2003-06-30 2003-06-30 Electronic equipment and power supply control method Pending JP2005025409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003188881A JP2005025409A (en) 2003-06-30 2003-06-30 Electronic equipment and power supply control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003188881A JP2005025409A (en) 2003-06-30 2003-06-30 Electronic equipment and power supply control method

Publications (1)

Publication Number Publication Date
JP2005025409A true JP2005025409A (en) 2005-01-27

Family

ID=34187277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003188881A Pending JP2005025409A (en) 2003-06-30 2003-06-30 Electronic equipment and power supply control method

Country Status (1)

Country Link
JP (1) JP2005025409A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116693A1 (en) * 2006-03-28 2007-10-18 Kabushiki Kaisha Toshiba Electronic device and fuel battery system
JP2008252526A (en) * 2007-03-30 2008-10-16 Mitsubishi Electric Corp Power source controller
JP2011013722A (en) * 2009-06-30 2011-01-20 Fujitsu Ltd Electronic apparatus
JP2011159083A (en) * 2010-01-29 2011-08-18 Toshiba Corp Information processing apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007116693A1 (en) * 2006-03-28 2007-10-18 Kabushiki Kaisha Toshiba Electronic device and fuel battery system
JPWO2007116693A1 (en) * 2006-03-28 2009-08-20 株式会社東芝 Electronic equipment and fuel cell system
US7875999B2 (en) 2006-03-28 2011-01-25 Kabushiki Kaisha Toshiba Electronic apparatus and fuel cell system
JP2008252526A (en) * 2007-03-30 2008-10-16 Mitsubishi Electric Corp Power source controller
JP2011013722A (en) * 2009-06-30 2011-01-20 Fujitsu Ltd Electronic apparatus
JP2011159083A (en) * 2010-01-29 2011-08-18 Toshiba Corp Information processing apparatus

Similar Documents

Publication Publication Date Title
KR100471056B1 (en) Computer system and Control method of Waiting mode for Computer system
TW406220B (en) Controlling a computer&#39;s power state
US9098305B2 (en) Computer system and bootup and shutdown method thereof
US20070219644A1 (en) Information processing apparatus and system state control method
US20080028243A1 (en) Information processing apparatus and a controlling method for an information processing apparatus
JP2004279503A (en) Information processor and display luminance control method
JP2005316855A (en) Information processor, starting method thereof, and starting program thereof
JP2007140942A (en) Information processor and processor control method
EP3889735A1 (en) Information processing apparatus and control method
JP2006259903A (en) Information processing device and starting method
CN100399237C (en) Portable electronic device capable of auto switching electric source modes and switching method thereof
KR20180082786A (en) Automatic power consumption reduction device and method for personal computer
US20070200841A1 (en) Information processing apparatus and imaging control method
JP2007206896A (en) Information processor and drawing control method applied to information processor
US20070180284A1 (en) Electronic device and operation control method
JP2005025409A (en) Electronic equipment and power supply control method
US20150123875A1 (en) Power management device and method
US11163354B2 (en) Information processing apparatus, and control method
JP2003241862A (en) Information processing system and its state transition control method
JP2009151489A (en) Information processor
JP5378451B2 (en) Method and computer for reducing start-up reliability and POST time
JP2005110044A (en) Electronic apparatus and sound volume control method
US7940255B2 (en) Information processing device with integrated privacy filter
JP2008197812A (en) Information processor
JP2011113407A (en) Information processor and control method of the same

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050415

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050606