JP5279762B2 - Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption - Google Patents

Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption Download PDF

Info

Publication number
JP5279762B2
JP5279762B2 JP2010123639A JP2010123639A JP5279762B2 JP 5279762 B2 JP5279762 B2 JP 5279762B2 JP 2010123639 A JP2010123639 A JP 2010123639A JP 2010123639 A JP2010123639 A JP 2010123639A JP 5279762 B2 JP5279762 B2 JP 5279762B2
Authority
JP
Japan
Prior art keywords
power
state
electronic device
battery pack
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.)
Active
Application number
JP2010123639A
Other languages
Japanese (ja)
Other versions
JP2011248788A (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.)
Lenovo Singapore Pte Ltd
Original Assignee
Lenovo Singapore Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Singapore Pte Ltd filed Critical Lenovo Singapore Pte Ltd
Priority to JP2010123639A priority Critical patent/JP5279762B2/en
Publication of JP2011248788A publication Critical patent/JP2011248788A/en
Application granted granted Critical
Publication of JP5279762B2 publication Critical patent/JP5279762B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To start a notebook PC in a power-off state by activating a wake-up event to reduce power consumption in executing a predetermined task. <P>SOLUTION: A battery pack 100 can be mounted on an electronic device to supply power. A task processing unit 11 configures settings for executing a task based on a predetermined calender time. The battery pack includes a memory for setting the calender time, a timer for counting time, and a processor for outputting a wake-up event on the basis of the time counted by the timer and the set calender time. A notebook PC having received the wake-up event from the battery pack during a power-off state enters a power-on state to execute a task based on the calender time set by the task processing unit 11. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

本発明は、パワー・オフ状態における電子機器の消費電力を低減する技術に関し、さらに詳細にはイベントによるパワー・オフ状態からパワー・オン状態へのウエイク・アップをサポートする電子機器の消費電力を低減する技術に関する。   The present invention relates to a technique for reducing power consumption of an electronic device in a power-off state, and more specifically, to reduce power consumption of an electronic device that supports a wake-up from a power-off state to a power-on state due to an event. Related to technology.

近年のノートブック型パーソナル・コンピュータ(以下、ノートPCという。)やスマートフォンなどの携帯式電子機器には、一層の省電力動作が求められている。ACPIの規格に適合するノートPCは、パワー・オン状態のS0ステート、スリーピング・ステート、S5ステート(ソフト・オフ状態ともいう。)およびG3メカニカル・オフ・ステートを有する。ここに、スリーピング・ステートは、S3ステート(サスペンド状態ともいう。)およびS4ステート(ハイバネーション状態ともいう。)を含む。   In recent years, portable electronic devices such as notebook personal computers (hereinafter referred to as notebook PCs) and smartphones are required to have further power saving operation. A notebook PC conforming to the ACPI standard has a power-on S0 state, a sleeping state, an S5 state (also referred to as a soft-off state), and a G3 mechanical off-state. Here, the sleeping state includes an S3 state (also referred to as a suspend state) and an S4 state (also referred to as a hibernation state).

ノートPCではプロセッサの消費電力が大きいため、省電力動作を図る1つの傾向として、ノートPCの使用状態を監視してS0ステートでの動作時間を減らし、S3ステート、S4ステート、またはS5ステートでの動作時間を増やすような制御が行われている。S3ステート、S4ステートおよびS5ステートではプロセッサが動作しないため、それらのパワー・ステートに遷移している時刻にノートPCにおいてなんらかのタスクを実行するためには、ネットワークを通じて受け取ったイベントやチップ・セットが発行したイベントに基づいてS0ステートに移行する必要がある。   Since notebook PCs consume a large amount of processor power, one trend to achieve power-saving operations is to monitor the usage state of notebook PCs to reduce the operating time in the S0 state, and in the S3 state, S4 state, or S5 state. Control is performed to increase the operation time. Since the processor does not operate in the S3 state, S4 state, and S5 state, an event or chip set received through the network is issued in order to execute any task in the notebook PC at the time of transition to the power state. It is necessary to shift to the S0 state based on the event that has been performed.

Windows(登録商標)は、登録したプログラムをあらかじめ設定した日時で実行するタスクスケジューラという機能を提供する。タスクスケジューラでは、ノートPCの電力がAC電源で供給されているときだけ実行するような設定およびS3ステートまたはS4ステートなどのスリーピング・ステートに遷移しているときにS0ステートに復帰してから実行するような設定をすることができる。   Windows (registered trademark) provides a function called a task scheduler that executes a registered program at a preset date and time. In the task scheduler, the setting is executed only when the power of the notebook PC is supplied from the AC power supply, and the task scheduler is executed after returning to the S0 state when transitioning to the sleeping state such as the S3 state or the S4 state. It can be set like this.

タスクスケジューラにスリーピング・ステートから復帰して実行する設定をした場合は、タスクスケジューラにより設定されたカレンダ時刻でチップ・セットがウエイク・イベントを発行してパワー・ステートをS0ステートに遷移させる。スリーピング・ステートの間はプロセッサの電力を停止することができるが、タイマを含む回路には電力を供給してカレンダ時刻をカウントし、所定のカレンダ時刻にウエイク・イベントを発行する必要がある。   When the task scheduler is set to execute after returning from the sleeping state, the chip set issues a wake event at the calendar time set by the task scheduler to shift the power state to the S0 state. While the processor power can be stopped during the sleeping state, it is necessary to supply power to the circuit including the timer, count the calendar time, and issue a wake event at the predetermined calendar time.

スリーピング・ステートにおけるタスクスケジューラの実行をサポートするノートPCでは、OSがスリーピング・ステートでのウエイク・イベントをイネーブルにする設定をすると、ノートPCはスリーピング・ステートに遷移したときに、タイマを動作させてウエイク・イベントを発行する回路にも電力を供給しておく必要がある。タスクスケジューラでは、特定の日や曜日を設定して繰り返しプログラムを実行したり、選択した複数のカレンダ時刻でプログラムを実行したりといったような複雑な設定をすることができる。したがって、ウエイク・イベントを生成するためには、タイマだけでなく設定されたカレンダ時刻を認識するハードウエアにも電力を供給する必要がある。   In a notebook PC that supports the execution of the task scheduler in the sleeping state, if the OS is set to enable a wake event in the sleeping state, the notebook PC operates a timer when it transitions to the sleeping state. It is also necessary to supply power to the circuit that issues the wake event. In the task scheduler, it is possible to make complicated settings such as setting a specific day and day of the week and executing the program repeatedly, or executing the program at a plurality of selected calendar times. Therefore, in order to generate a wake event, it is necessary to supply power not only to the timer but also to hardware that recognizes the set calendar time.

これまではアイオー・コントローラ・ハブ(ICH)またはサウス・ブリッジといわれるチップ・セットに組み込んだタイマとプロセッサ機能を利用してスリーピング・ステートでのタスクスケジューラの実行をサポートしていた。そしてタスクスケジューラは、ノートPCの電力源が電池パックの場合も実行できるようになっているため、S4ステートでもチップ・セットへ電力を供給し続けることがあった。その結果、タスクスケジューラのウエイク・イベントをイネーブルに設定するとS4ステートの間もチップ・セットの消費電力およびそれに電力を供給するDC/DCコンバータの電力損失が発生して電池の消耗が激しくなるといった問題があった。   In the past, the execution of the task scheduler in the sleeping state was supported by using a timer and a processor function incorporated in a chip set called an Io controller hub (ICH) or a south bridge. Since the task scheduler can be executed even when the power source of the notebook PC is a battery pack, the task scheduler may continue to supply power to the chip set even in the S4 state. As a result, when the wake event of the task scheduler is set to enable, the power consumption of the chip set and the power loss of the DC / DC converter that supplies power to the chip set occur even during the S4 state, and the battery consumption becomes severe. was there.

特許文献1は、バッテリィを備えたコンピュータ装置が、AC電源が存在しかつシャットダウンしているときの待機電力を削減する技術を開示する。同文献の充電方法では、AC電源が存在しているときにパワー・オフした場合には充電機能を実現するM電源系統を一旦オフにした後にゲートアレイ回路に設けたタイマで計測した所定の時間後にM電源系統をオンにしてバッテリィの充電状態を確認する。   Patent Document 1 discloses a technology in which a computer device equipped with a battery reduces standby power when an AC power supply exists and is shut down. In the charging method of this document, when power is turned off when AC power is present, a predetermined time measured by a timer provided in the gate array circuit after the M power supply system that realizes the charging function is turned off once. Later, the M power system is turned on to check the state of charge of the battery.

特許文献2は、サスペンド状態から通常動作へ移行するための時間のカウント作業を主マイクロ・コントローラではなく、時刻マイクロ・コントローラに行わせることにより、サスペンド状態での待機電力を低減する技術を開示する。時刻マイクロ・コントローラは極低消費電力で動作し、電源から主マイクロ・コントローラへの電源供給を制御する機能をもつ。また、時刻マイクロ・コントローラは、主マイクロ・コントローラがサスペンド状態に入るときに復帰時刻が設定されてサスペンド中に時間をカウントし、復帰時刻になるとスイッチをオンにして主マイクロ・コントローラに電力を供給する。   Patent Document 2 discloses a technique for reducing standby power in the suspend state by causing the time micro controller, not the main micro controller, to perform time counting for shifting from the suspend state to the normal operation. . The time microcontroller operates with extremely low power consumption and has a function of controlling power supply from the power source to the main microcontroller. The time microcontroller also sets the return time when the main microcontroller enters the suspend state, counts the time during suspension, and turns on the switch to supply power to the main microcontroller when the return time is reached. To do.

特許文献3は、指定された時刻に自動的に電源を投入するオートパワーオン機能を備えたパーソナル・コンピュータを開示する。同文献には、電池から常時電力が供給されるRAMを備えるRTCに対してオペレーティング・システム(OS)から設定したアラームタイムとRTCが計測した現在時刻が一致したときにシステムに電源を投入して自動的に立ち上げることが記載されている。   Patent Document 3 discloses a personal computer having an auto power-on function for automatically turning on power at a designated time. In this document, when the alarm time set by the operating system (OS) and the current time measured by the RTC match the RTC having a RAM that is always supplied with power from the battery, the system is turned on. It describes that it starts up automatically.

特開2004−192350号公報JP 2004-192350 A 特開2003−84871号公報JP 2003-84871 A 特開平10−105278号公報JP-A-10-105278

特許文献1の発明は、AC電源が存在するときのシャットダウン時の電力を低減することを目的としてゲートアレイ回路に電力を供給している。ゲートアレイ回路のタイマを動作させるとタイマを動作させないときよりも消費電力が多くなり、ノートPCが電池を電力源としてシャットダウンしている場合の消費電力としては十分に小さいとはいえない。また、ゲートアレイ回路に設けるタイマには、カレンダ時刻まで登録することができないのでタイマが所定の時間ごとにトリガを発生させてM電源系統を起動し、システム側で現在のカレンダ時刻とタスクスケジューラにより設定されたカレンダ時刻が一致するか否かを調べる必要があり、十分に電力を低減することができない。   The invention of Patent Document 1 supplies power to the gate array circuit for the purpose of reducing power during shutdown when an AC power supply is present. When the timer of the gate array circuit is operated, the power consumption is larger than when the timer is not operated, and it cannot be said that the power consumption when the notebook PC is shut down using a battery as a power source is sufficiently small. In addition, since the timer provided in the gate array circuit cannot be registered until the calendar time, the timer generates a trigger every predetermined time to start the M power supply system, and the system side uses the current calendar time and the task scheduler. It is necessary to check whether or not the set calendar times match, and the power cannot be reduced sufficiently.

特許文献2の発明では、時刻マイクロ・コントローラは主マイクロ・コントローラよりも消費電力は小さいが、電力を供給するためにはDC/DCコンバータを動作させる必要がある。DC/DCコンバータの電源系統はデバイスごとにスイッチを設けるとコストが増大するので複数のデバイスに対して一括して電力を供給するように構成されている。したがって、特許文献2の発明では、DC/DCコンバータの電力損失と共通の電源系統に接続されたデバイスの電力損失が発生する。また、マイクロ・コントローラ自体の消費電力もタイマに比べて大きい。   In the invention of Patent Document 2, the time micro-controller consumes less power than the main micro-controller, but it is necessary to operate a DC / DC converter in order to supply power. The power supply system of the DC / DC converter is configured to supply power to a plurality of devices at once because the cost increases when a switch is provided for each device. Therefore, in the invention of Patent Document 2, the power loss of the DC / DC converter and the power loss of the device connected to the common power supply system occur. Also, the power consumption of the microcontroller itself is larger than that of the timer.

特許文献3の発明では、システムがシャットダウンしている間に電池から電力の供給を受けたRTCが時間をカウントし、同一の電池から電力の供給を受けるRAMに設定されたカレンダ時刻に基づいて、常時動作している電源制御用マイクロ・プロセッサに割り込みをかけシステムをウエイク・アップさせている。RTCはノートPCにカレンダ時刻を提供する必要があるため、システムの電池が外されたり容量が低下したりした場合でも経過時間をカウントする必要がある。そしてRTCに電力を供給する電池には通常、充電ができないボタン電池を採用しているため、RTCから定期的にウエイク・イベントを発生させるとボタン電池の消耗が激しくなって実用的には実現が困難である。   In the invention of Patent Document 3, the RTC that receives power supply from the battery while the system is shut down counts the time, and based on the calendar time set in the RAM that receives power supply from the same battery, The system is waked up by interrupting the always-operating power control microprocessor. Since the RTC needs to provide the calendar time to the notebook PC, it is necessary to count the elapsed time even when the battery of the system is removed or the capacity is reduced. The battery that supplies power to the RTC usually uses a button battery that cannot be recharged. Therefore, if a wake event is periodically generated from the RTC, the button battery will be exhausted and practically realized. Have difficulty.

また、RTCは設定された1つのカレンダ時刻でウエイク・イベントを発生させることはできるが、プロセッサを備えていないので、ウエイク・アップを定期的に繰り返すようなタスクスケジューラの機能に対応することはできない。RTCのカレンダ時刻を利用してタスクスケジューラに対応するには、たとえば、OSがタスクスケジューラの設定情報を保持して、今回のウエイク・イベントの発生が終了してから次回のウエイク・イベントの発生までの間に、毎回RTCに次回のウエイク・アップ時刻を設定する必要があり制御が複雑になる。さらに、近年のRTCは、サウス・ブリッジなどのチップ・セットの中に組み込まれており、RTCに電力を供給するためにはDC/DCコンバータを動作させてチップ・セットの他の機能ブロックにも電力を供給する必要があるためパワー・オフ時の消費電力が大きくなる。   In addition, the RTC can generate a wake event at a set calendar time, but since it does not have a processor, it cannot support a task scheduler function that periodically repeats wake-up. . In order to support the task scheduler using the calendar time of the RTC, for example, the OS holds the setting information of the task scheduler and the generation of the current wake event ends until the next wake event occurs. During this time, it is necessary to set the next wake-up time in the RTC every time, and the control becomes complicated. Furthermore, recent RTCs are incorporated in chip sets such as South Bridge, and in order to supply power to RTCs, DC / DC converters are operated and other functional blocks of the chip set are also used. Since it is necessary to supply power, the power consumption during power-off increases.

そこで本発明の目的は、パワー・オフ状態での消費電力を低減しながらウエイク・アップをサポートする電子機器を提供することにある。さらに本発明の目的は、所定の時刻にパワー・オフ状態からパワー・オン状態に移行させるための時間を少ない電力でカウントすることが可能な電子機器を提供することにある。さらに本発明の目的は、追加的なデバイスを設けないでパワー・オフ状態での消費電力を低減することが可能な電子機器を提供することにある。さらに本発明の目的はそのような電子機器に実装が可能な電池パックおよび消費電力の低減方法を提供することにある。   Therefore, an object of the present invention is to provide an electronic device that supports wake-up while reducing power consumption in a power-off state. A further object of the present invention is to provide an electronic device capable of counting with a small amount of power the time required to shift from a power-off state to a power-on state at a predetermined time. A further object of the present invention is to provide an electronic apparatus that can reduce power consumption in a power-off state without providing an additional device. A further object of the present invention is to provide a battery pack that can be mounted on such an electronic device and a method for reducing power consumption.

本発明は、ウエイク・イベントに基づいてパワー・オン状態に移行することが可能な電子機器に関する。ウエイク・イベントを生成するためには、パワー・オフ状態でもウエイク・イベントを発行する時刻を認識する必要があり、そのための回路に電力を供給する必要がある。特に、電子機器が商用電源ではなく充電式の電池から電力の供給を受けている場合は、わずかな消費電力であっても経過時間が長くなると電池が消耗してそれ以後の動作時間に影響を与えてしまう。本発明の原理はパワー・オフ中に時間をカウントするデバイスとして、電子機器を構成するシステムの中から、ウエイク・イベントを発行する時刻の認識が可能な電池パックに注目した点にある。   The present invention relates to an electronic device capable of shifting to a power-on state based on a wake event. In order to generate a wake event, it is necessary to recognize the time at which the wake event is issued even in the power-off state, and it is necessary to supply power to a circuit for that purpose. In particular, when an electronic device is supplied with power from a rechargeable battery instead of a commercial power supply, even if a small amount of power is consumed, if the elapsed time becomes longer, the battery will be consumed and the subsequent operation time will be affected. I will give it. The principle of the present invention is that, as a device for counting time during power-off, attention is paid to a battery pack capable of recognizing the time at which a wake event is issued from a system constituting an electronic apparatus.

電子機器に電力を供給する電池パックは、時間をカウントするタイマとウエイク・イベントを発行する時刻を設定するメモリとタイマがカウントした時間と設定された時刻に基づいてウエイク・イベントを出力することが可能なプロセッサとを標準的に備えている。電池パックのタイマは、電池パックにスリーピング・モードとアクティブ・モードの遷移を行わせたり、使用年数を管理したりするために動作をしており、本発明のウエイク・イベントの発行機能を組み込んだとしても電池パックの消費電力はほとんど増加しない。   A battery pack that supplies power to an electronic device may output a wake event based on a timer that counts time, a memory that sets a time for issuing a wake event, a time that the timer counts, and a set time. With a possible processor as standard. The battery pack timer operates to cause the battery pack to transition between the sleeping mode and the active mode, and to manage the service life, and incorporates the wake event issuing function of the present invention. Even so, the power consumption of the battery pack hardly increases.

また電源制御回路が、パワー・オフ状態のときに電池パックからウエイク・イベントを受け取って電子機器をパワー・オン状態に移行させるようにすれば、電子機器にはパワー・オフ状態の間に電源制御回路にだけ電力を供給すればよいことになる。電源制御回路を、電子機器に電力を供給する回路を制御する制御回路とウエイク・イベントに基づくパワー・オン状態への移行を行うか否かを設定するレジスタを含むハードウエア回路で構成しておけばその消費電力を少なくすることができる。電源回路の動作をソフトウエア的に制御する電子機器では、電源を起動する回路にパワー・オフ状態の間も電力を供給しておく必要があるので、本発明ではウエイク・イベントに基づくパワー・オン状態への遷移をサポートすることによって電子機器の消費電力はほとんど増加しない。   In addition, if the power control circuit receives a wake event from the battery pack in the power-off state and shifts the electronic device to the power-on state, the electronic device can control the power during the power-off state. It is only necessary to supply power to the circuit. The power supply control circuit can be configured with a hardware circuit that includes a control circuit that controls the circuit that supplies power to the electronic device and a register that sets whether or not to enter the power-on state based on a wake event. The power consumption can be reduced. In an electronic device that controls the operation of a power supply circuit in software, it is necessary to supply power to the circuit that starts the power supply even during the power-off state. Therefore, in the present invention, the power-on based on the wake event is performed. By supporting the transition to the state, the power consumption of the electronic device is hardly increased.

タスク処理部は、所定のタスクを実行するカレンダ時刻を電池パックのメモリに設定することができる。タスク処理部は、ディスプレイを通じてユーザがタスクを設定するためのユーザ・インターフェースを提供するように構成することができる。タスク処理部が、タスクを実行するカレンダ時刻に対応するタイミングで発行されたウエイク・イベントに基づいて電子機器がパワー・オン状態に移行してからタスクを実行できるようにしておけば、スリーピング・ステートでのタスク実行の設定が可能なタスクスケジューラをサポートすることができる。   The task processing unit can set a calendar time for executing a predetermined task in the memory of the battery pack. The task processing unit may be configured to provide a user interface for a user to set a task through a display. If the task processing unit can execute the task after the electronic device enters the power-on state based on the wake event issued at the timing corresponding to the calendar time at which the task is executed, the sleep processing state It is possible to support a task scheduler capable of setting task execution in the system.

電池パックのメモリにウエイク・イベントに対応する複数のカレンダ時刻を設定しても、電池パックのプロセッサはそれぞれのカレンダ時刻においてウエイク・イベントを生成することができるので、電池パックはタスクスケジューラの設定に基づくウエイク・イベントを出力することができる。電源制御回路は、電子機器が商用電源から電力の供給を受けている間または電池パックから電力の供給をうけている間のいずれであっても、パワー・オフ状態に移行している間にウエイク・イベントを受け取ったときに電子機器をパワー・オン状態に移行させることができる。   Even if multiple calendar times corresponding to a wake event are set in the battery pack memory, the battery pack processor can generate a wake event at each calendar time. Based wake events can be output. The power control circuit wakes up while it is in the power-off state, whether the electronic device is receiving power from a commercial power source or receiving power from a battery pack. -When an event is received, the electronic device can be shifted to a power-on state.

しかし本発明は、電池パックから電力の供給を受けている間にウエイク・イベントを受け取ってパワー・オン状態に移行させる場合に適用すると特に有効である。電池パックのタイマは時間をカウントするだけでよい。そして電池パックのプロセッサが電子機器から受け取ったカレンダ時刻を基準としてタイマがカウントした時間に基づいて、設定されたカレンダ時刻でウエイク・イベントを出力するように構成することができる。   However, the present invention is particularly effective when applied to a case where a wake event is received and a power-on state is entered while power is supplied from the battery pack. The battery pack timer only needs to count the time. The wake event can be output at the set calendar time based on the time counted by the timer based on the calendar time received from the electronic device by the processor of the battery pack.

プロセッサが電子機器から受け取ったカレンダ時刻を基準にして独自にカレンダ時刻を認識するように構成する場合は、システムと電池パックの2カ所でカレンダ時刻を生成することになる。この場合、定期的に電子機器からカレンダ時刻を受け取って、電子機器のカレンダ時刻と電池パックが認識するカレンダ時刻の差を補正しておくことが望ましい。   When the processor is configured to uniquely recognize the calendar time with reference to the calendar time received from the electronic device, the calendar time is generated at two places, the system and the battery pack. In this case, it is desirable to periodically receive the calendar time from the electronic device and correct the difference between the calendar time of the electronic device and the calendar time recognized by the battery pack.

電池パックにおいては、プロセッサがカレンダ時刻に基づいてウエイク・イベントを生成できるようにするには、ハードウエアの変更は必要がなく、ファームウエアのコードを書き換えるだけでよい。また電源制御回路が電子機器に対する電池パックの装着を検知する装着検出回路または電池パックの温度を監視する温度監視回路を通じてウエイク・イベントを出力するようにすれば、電池パックおよび電子機器の電池ベイにおけるハードウエア・インターフェースを改造する必要がなくなる。パワー・オフ状態はハイバネーション状態に限定するものではなく、本発明はソフト・オフ状態に適用することもできる。   In the battery pack, in order to enable the processor to generate a wake event based on the calendar time, there is no need to change the hardware, and it is only necessary to rewrite the firmware code. In addition, if the power control circuit outputs a wake event through a mounting detection circuit that detects the mounting of the battery pack to the electronic device or a temperature monitoring circuit that monitors the temperature of the battery pack, the battery pack and the electronic device in the battery bay No need to modify hardware interface. The power off state is not limited to the hibernation state, and the present invention can also be applied to the soft off state.

本発明により、パワー・オフ状態での消費電力を低減しながらウエイク・アップをサポートする電子機器を提供することができた。さらに本発明により、所定の時刻にパワー・オフ状態からパワー・オン状態に移行させるための時間を少ない電力でカウントすることが可能な電子機器を提供することができた。さらに本発明により、追加的なデバイスを設けないでパワー・オフ状態での消費電力を低減することが可能な電子機器を提供することができた。さらに本発明によりそのような電子機器に実装が可能な電池パックおよび消費電力の低減方法を提供することができた。   According to the present invention, it is possible to provide an electronic device that supports wake-up while reducing power consumption in a power-off state. Furthermore, according to the present invention, it is possible to provide an electronic device capable of counting the time for shifting from the power-off state to the power-on state at a predetermined time with a small amount of power. Furthermore, according to the present invention, it is possible to provide an electronic apparatus capable of reducing power consumption in a power-off state without providing an additional device. Furthermore, the present invention can provide a battery pack that can be mounted on such an electronic device and a method for reducing power consumption.

本実施の形態にかかるノートPCの主要な構成を示す概略の機能ブロック図である。FIG. 2 is a schematic functional block diagram showing a main configuration of a notebook PC according to the present embodiment. タスクスケジューラに設定するタスク設定情報の一例を示す図である。It is a figure which shows an example of the task setting information set to a task scheduler. 電池パックとウエイク・イベントを出力する回の主要な構成を示す概略の機能ブロック図である。FIG. 3 is a schematic functional block diagram showing a main configuration of a time of outputting a battery pack and a wake event. ノートPCのパワー・ステートと複数のDC/DCコンバータの動作関係を示す図である。It is a figure which shows the operation | movement relationship of the power state of a notebook PC, and several DC / DC converters. ハイバネーション状態からパワー・オン状態に遷移してタスクを実行する手順を示すフローチャートである。It is a flowchart which shows the procedure which transfers to a power-on state from a hibernation state, and performs a task.

[ノートPCの構成]
図1は、ノートPC10の主要な構成を示す概略の機能ブロック図である。タスク処理部11は、CPU13、メモリ・コントローラ・ハブ(MCH)14、およびメイン・メモリ15などのハードウエアと、メイン・メモリ15に読み出されてCPU13で実行される、OS16、BIOS17およびOS16が提供するタスクスケジューラ18などのソフトウエアで構成される。タスクスケジューラ18を提供するOS16の一例としてはWindows(登録商標)またはMAC OS(登録商標)などがある。
[Configuration of notebook PC]
FIG. 1 is a schematic functional block diagram showing the main configuration of the notebook PC 10. The task processing unit 11 includes hardware such as a CPU 13, a memory controller hub (MCH) 14, and a main memory 15, and an OS 16, a BIOS 17, and an OS 16 that are read into the main memory 15 and executed by the CPU 13. It is configured by software such as a task scheduler 18 to be provided. An example of the OS 16 that provides the task scheduler 18 is Windows (registered trademark) or MAC OS (registered trademark).

タスクスケジューラ18は、設定したカレンダ時刻における所定のプログラムの起動、メッセージの表示、またはメールの送信といったタスクを実行するプログラムをいう。本明細書においては、カレンダ時刻という用語を、年、月、日、時、分、秒というようなカレンダ上のある1点を示す情報の意味で使用し、時刻とはカレンダ時刻から年、月、日を除いた情報の意味で使用し、時間とは時刻と時刻との間の時間的な長さの意味で使用する。   The task scheduler 18 is a program that executes tasks such as starting a predetermined program, displaying a message, or sending a mail at a set calendar time. In this specification, the term calendar time is used to mean information indicating a certain point on the calendar such as year, month, day, hour, minute, second, and the time is the year, month from the calendar time. , And is used to mean information excluding days, and time is used to mean the length of time between times.

タスク処理部11は、タスクスケジューラ18にタスクの種類、実行するカレンダ時刻およびスリーピング解除の有無で構成されるタスク設定情報を設定し、さらに、設定したカレンダ時刻が到来したと判断したときに当該タスクを実行する。図2は、タスクスケジューラ18にタスク設定情報を設定する設定画面の一例を示す図である。図2の設定画面はタスクスケジューラ18によりノートPC10のディスプレイに表示される。ユーザはキーボードまたはマウスを操作して設定画面にタスク設定情報を入力する。   The task processing unit 11 sets task setting information including a task type, a calendar time to be executed, and whether or not to cancel sleeping in the task scheduler 18, and further, when determining that the set calendar time has arrived, Execute. FIG. 2 is a diagram showing an example of a setting screen for setting task setting information in the task scheduler 18. The setting screen of FIG. 2 is displayed on the display of the notebook PC 10 by the task scheduler 18. The user operates the keyboard or mouse to input task setting information on the setting screen.

設定画面には、開始するカレンダ時刻と単位をタスクごとに設定することができる。設定の単位は、1回だけ、所定の間隔の日ごと、指定した曜日ごと、または特定の週の特定の曜日ごとといったように将来に渡って順番に実行する複数個のカレンダ時刻を設定することができる。タスクスケジューラ18に設定したタスク設定情報はOS16のレジストリに登録される。OS16はノートPC10がパワー・オン状態の間に定期的にシステムからカレンダ時刻を取得し、レジストリから設定されたカレンダ時刻を取得して両者が一致したタスクを実行する。   On the setting screen, the calendar time and unit to be started can be set for each task. The unit of setting is to set a plurality of calendar times to be executed sequentially in the future such as once, every day at a predetermined interval, every specified day of the week, or every specific day of the week. Can do. The task setting information set in the task scheduler 18 is registered in the registry of the OS 16. The OS 16 periodically acquires the calendar time from the system while the notebook PC 10 is in the power-on state, acquires the calendar time set from the registry, and executes a task in which both match.

タスク処理部11は、「スリーピング解除」を「イネーブル」に設定することで、ノートPC10がスリーピング・ステートの間もタスクを実行できるようにすることができる。この場合、ノートPC10は設定されたカレンダ時刻と現在のカレンダ時刻が一致したときにパワー・オン状態に遷移してからタスクを実行することができるようになっている。   The task processing unit 11 can enable the notebook PC 10 to execute the task even during the sleeping state by setting “sleeping cancellation” to “enable”. In this case, the notebook PC 10 can execute the task after transitioning to the power-on state when the set calendar time coincides with the current calendar time.

たとえば、バックグランドで定期的に実行する必要があるセキュリティ・ソフトウエアやデータのダンプ作業などは、タスクスケジューラ18に設定してノートPC10を夜間にスリーピング・ステートに遷移させておいて、所定の時刻で実行するようにすると都合がよい。この場合、ノートPC10はスリーピング・ステートの間もカレンダ時刻を認識するために経過時間を刻時(clock:時間のカウント)する必要がある。なお、タスク処理部11の構成およびそれをサポートするコンピュータの構成は周知である。   For example, security software that needs to be executed regularly in the background, data dumping work, etc. are set in the task scheduler 18 and the notebook PC 10 is shifted to the sleeping state at night, and a predetermined time is set. It is convenient to run in In this case, the notebook PC 10 needs to clock the elapsed time in order to recognize the calendar time even during the sleeping state. The configuration of the task processing unit 11 and the configuration of a computer that supports it are well known.

ICH21は、周辺入出力デバイスに関するデータ転送を処理する。ICH21は、USB(Universal Serial Bus)、SATA(Serial AT Attachment)、SPI (Serial Peripheral Interface)バス、 PCI(Peripheral Component Interconnect)バス、PCI−Express(PCIe)バス、およびLPC(Low Pin Count)バスなどのインターフェースを備え、それらに対応したデバイスを接続することができる。   The ICH 21 processes data transfer related to peripheral input / output devices. ICH21 is USB (Universal Serial Bus), SATA (Serial AT Attachment), SPI (Serial Peripheral Interface) bus, PCI (Peripheral Component Interconnect) bus, PCI-Express (PCIe) bus, LPC (Low Pin Count) bus, etc. It is possible to connect devices corresponding to these interfaces.

図1では、SATAポートに接続されたHDD22とLPCポートに接続されたエンベデッド・コントローラ(EC)31を示している。ICH21はさらに、リアル・タイム・クロック(RTC)23およびレジスタ29を含んでいる。RTC23は、BIOSの設定画面で使用開始時にユーザにより設定されたカレンダ時刻を基準にして刻時動作をし、ノートPC10で使用するシステムのカレンダ時刻を提供する。RTC23は、ICH21に電力が供給されるときはその電力で動作するが、ICH21に電力が供給されないときはボタン電池25から供給された電力で動作するため、ノートPC10がいかなるパワー・ステートに遷移していても刻時動作を停止することはない。なお、RTC23のカレンダ時刻は、ネットワークを通じて取得した標準時刻で定期的に補正することができる。   FIG. 1 shows an HDD 22 connected to the SATA port and an embedded controller (EC) 31 connected to the LPC port. The ICH 21 further includes a real time clock (RTC) 23 and a register 29. The RTC 23 performs a clock operation based on the calendar time set by the user at the start of use on the BIOS setting screen, and provides the calendar time of the system used in the notebook PC 10. The RTC 23 operates with the power supplied to the ICH 21, but operates with the power supplied from the button battery 25 when the power is not supplied to the ICH 21. Therefore, the notebook PC 10 changes to any power state. However, the clock operation will not be stopped. Note that the calendar time of the RTC 23 can be periodically corrected with the standard time acquired through the network.

これまではスリーピング・ステートにおいて現在のカレンダ時刻と設定したカレンダ時刻が一致したときにタスクを実行させるために、RTC23が刻時したカレンダ時刻を利用して、ICH21がシステムにウエイク・イベントを発行してノートPC10をパワー・オン状態に移行させていた。そのために従来のノートPCでは、ICH21を動作させるためにパワー・オフ中の消費電力が増大していたが、本実施の形態では以下に説明するように電池パック100が刻時するカレンダ時刻を利用してICH21への電力供給を停止して消費電力を低減する。   Previously, ICH21 issued a wake event to the system using the calendar time clocked by RTC 23 in order to execute the task when the current calendar time matches the set calendar time in the sleeping state. The notebook PC 10 has been shifted to the power-on state. For this reason, in the conventional notebook PC, the power consumption during power-off has increased in order to operate the ICH 21, but in this embodiment, the calendar time that the battery pack 100 clocks is used as described below. Then, power supply to the ICH 21 is stopped to reduce power consumption.

レジスタ29はOS16およびBIOS17がノートPC10のパワー・ステートを遷移させたときに、ICH21が遷移後のパワー・ステートを示すビットを設定するための不揮発性メモリである。HDD22は、OS16、BIOS17、タスクスケジューラ18およびタスクに対応するプログラムを格納する。EC31は、CPU、ROM、EEPROM、DMAコントローラ、割り込みコントローラ、およびタイマなどで構成されたマイクロ・コンピュータであり、さらにA/D入力端子、D/A出力端子、SMバス・ポート、SPIバス・ポート、およびディジタル入出力端子を備えている。   The register 29 is a non-volatile memory for setting a bit indicating the power state after the transition by the ICH 21 when the OS 16 and the BIOS 17 transition the power state of the notebook PC 10. The HDD 22 stores the OS 16, BIOS 17, task scheduler 18, and programs corresponding to tasks. The EC 31 is a microcomputer composed of a CPU, a ROM, an EEPROM, a DMA controller, an interrupt controller, a timer, and the like, and further includes an A / D input terminal, a D / A output terminal, an SM bus port, and an SPI bus port. And digital input / output terminals.

EC31はCPU11からは独立して動作し、ノートPC10に実装されるデバイスに供給する電力をパワー・ステートに応じて制御したり、システム筐体の内部の温度を管理したりする。EC31の不揮発性メモリ32には、EC31のCPUが実行するプログラムが格納されている。EC31は、SMバス48と装着検出回路50で電池パック100に接続され、SPIバスで電源制御回路33に接続されている。   The EC 31 operates independently of the CPU 11 and controls the power supplied to the device mounted on the notebook PC 10 according to the power state and manages the temperature inside the system housing. The non-volatile memory 32 of the EC 31 stores a program executed by the CPU of the EC 31. The EC 31 is connected to the battery pack 100 through the SM bus 48 and the mounting detection circuit 50, and is connected to the power supply control circuit 33 through the SPI bus.

タスク処理回路11は、レジストリに登録したタスクスケジューラ18に対するタスク設定情報を不揮発性メモリ32に書き込み、さらに、レジストリの登録内容を更新するたびに不揮発性メモリ32のタスク設定情報も更新する。EC31は、装着検出ライン50を通じて電池パック100がノートPC10の筐体に設けられた電池ベイに装着されたことを検出することができる。   The task processing circuit 11 writes the task setting information for the task scheduler 18 registered in the registry into the nonvolatile memory 32, and also updates the task setting information in the nonvolatile memory 32 every time the registered contents of the registry are updated. The EC 31 can detect that the battery pack 100 is mounted in the battery bay provided in the casing of the notebook PC 10 through the mounting detection line 50.

AC/DCアダプタ43は、一次側が商用電源のアウトレットに接続され、二次側がノートPC10の筐体に接続される。AC/DCアダプタ43は、ノートPC10の筐体の内部に組み込んでもよい。AC/DCアダプタ43は交流電圧を直流電圧に変換してDC/DCコンバータ71〜77に電力を供給し、さらに充電器45に電力を供給して電池パック100を充電することができる。AC/DCアダプタ43の出力には電圧検出器47が接続されている。電圧検出器47は、AC/DCアダプタ43の出力に所定の範囲の電圧が発生していることを示す電圧検出信号ACPWRを電源制御回路33に出力する。   The AC / DC adapter 43 has a primary side connected to the outlet of the commercial power supply and a secondary side connected to the casing of the notebook PC 10. The AC / DC adapter 43 may be incorporated in the casing of the notebook PC 10. The AC / DC adapter 43 can convert the AC voltage into a DC voltage, supply power to the DC / DC converters 71 to 77, and further supply power to the charger 45 to charge the battery pack 100. A voltage detector 47 is connected to the output of the AC / DC adapter 43. The voltage detector 47 outputs to the power supply control circuit 33 a voltage detection signal ACPWR indicating that a voltage within a predetermined range is generated at the output of the AC / DC adapter 43.

電池パック100は、米国インテル社および米国デュラセル社が主体になって提唱したスマート・バッテリィ・システム(SBS:Smart Battery System)と呼ばれる規格に準拠しており、AC/DCアダプタ43が接続されていないときにDC/DCコンバータ71〜77に電力を供給するノートPC10の電力源となる。DC/DCコンバータ71〜77に対する電力源がAC/DCアダプタ43の場合をAC供給といい、電池パック100の場合をDC供給ということにする。電池パック100はAC供給のときに、AC/DCアダプタ43が供給する電力で充電器45により充電される。電池パック100は、ノートPC10の筐体に設けられた電池ベイに外部から容易に着脱できるように装着される。   The battery pack 100 conforms to a standard called Smart Battery System (SBS) proposed mainly by US Intel Corporation and US Duracell Corporation, and the AC / DC adapter 43 is not connected. Sometimes it becomes a power source of the notebook PC 10 that supplies power to the DC / DC converters 71 to 77. The case where the power source for the DC / DC converters 71 to 77 is the AC / DC adapter 43 is referred to as AC supply, and the case of the battery pack 100 is referred to as DC supply. The battery pack 100 is charged by the charger 45 with the power supplied from the AC / DC adapter 43 when AC is supplied. The battery pack 100 is attached to a battery bay provided in the casing of the notebook PC 10 so that it can be easily attached and detached from the outside.

電源制御回路33はNAND回路およびNOR回路などの論理回路、単体のトランジスタ、および抵抗のような受動素子などで構成されたASIC(Application Specific Integrated Circuit)で構成され、制御回路35、レジスタ37、39、41、42を含んでいる。電源制御回路33は、ハードウエア回路だけで構成されプロセッサは含まないため消費電力は極わずかである。電源制御回路33には、電圧検出器47、DC/DCコンバータ71〜77の制御回路、装着検出ライン50およびパワー・ボタン51が接続されている。   The power supply control circuit 33 is composed of an ASIC (Application Specific Integrated Circuit) composed of a logic circuit such as a NAND circuit and a NOR circuit, a single transistor, and a passive element such as a resistor, and includes a control circuit 35 and registers 37 and 39. , 41, 42 are included. Since the power supply control circuit 33 is composed of only hardware circuits and does not include a processor, the power consumption is very small. Connected to the power supply control circuit 33 are a voltage detector 47, a control circuit for the DC / DC converters 71 to 77, a mounting detection line 50, and a power button 51.

パワー・ボタン51は、ノートPC10の筐体に設けられユーザが電源をオン/オフする際に使用する。ノートPC10は、スリーピング・ステートおよびソフト・オフ・ステートからはシステムが電源を起動することもできるが、G3ステートからはパワー・ボタン51の押下だけで起動することができる。制御回路35は、EC31の指示またはパワー・ボタン51の押下により図示しない充放電回路のスイッチを制御したりDC/DCコンバータ71〜77の動作を制御したりする。レジスタ37は、電圧検出器34から電圧検出信号ACPWRを受け取ったことを示す状態を設定する。   The power button 51 is provided on the casing of the notebook PC 10 and is used when the user turns on / off the power. The notebook PC 10 can be activated from the sleeping state and the soft-off state by the system, but can be activated only by pressing the power button 51 from the G3 state. The control circuit 35 controls a switch of a charging / discharging circuit (not shown) or controls the operation of the DC / DC converters 71 to 77 by an instruction of the EC 31 or pressing of the power button 51. Register 37 sets a state indicating that voltage detection signal ACPWR has been received from voltage detector 34.

レジスタ39は、パワー・ボタン51が押下されたことを示す状態を設定する。レジスタ39はノートPC10を起動するイベントの種類を判断するためにEC31により参照され、ノートPC10がパワー・オン状態に移行したあとには制御回路35によりリセットされる。レジスタ41は、ICH21がレジスタ29と同じパワー・ステートを設定する。   The register 39 sets a state indicating that the power button 51 has been pressed. The register 39 is referred to by the EC 31 to determine the type of event that activates the notebook PC 10, and is reset by the control circuit 35 after the notebook PC 10 shifts to the power-on state. In the register 41, the ICH 21 sets the same power state as that of the register 29.

レジスタ42は、ウエイク・アップ・イネーブルまたはウエイク・アップ・ディスエーブルの状態を設定する。タスクスケジューラ18がスリーピング解除をイネーブルに設定したときは、レジスタ42はタスク処理部11によりウエイク・アップ・イネーブルに設定される。タスクスケジューラ18がスリーピング解除をディスエーブルに設定したときは、レジスタ42はタスク処理部11によりウエイク・アップ・ディスエーブルに設定される。レジスタ42は、タスクごとにスリーピング解除の設定をするように構成することもできる。   Register 42 sets the state of wake up enable or wake up disable. When the task scheduler 18 enables sleep canceling, the register 42 is set to wake up enable by the task processing unit 11. When the task scheduler 18 sets the sleep release cancellation to disabled, the register 42 is set to wake up disabled by the task processing unit 11. The register 42 may be configured to cancel the sleeping for each task.

ノートPC10は、ACPIの規格に適合しており、G0ステート、G1ステート、G2ステート、およびG3ステートの4つのグローバル・システム・ステートに遷移することができる。G0ステートはパワー・ステートとしてのS0ステートに相当し、CPU11はアプリケーション・プログラムを実行できる状態となり、周辺デバイスは電力が供給されるが独自の機能に基づいて省電力動作をする。本明細書ではこの状態をパワー・オン状態という。G1ステートはスリーピング・ステートともいわれ、パワー・ステートとしてのS3ステートとS4ステートを含む。   The notebook PC 10 conforms to the ACPI standard, and can transition to four global system states of G0 state, G1 state, G2 state, and G3 state. The G0 state corresponds to the S0 state as a power state, and the CPU 11 is in a state in which an application program can be executed. The peripheral device is supplied with power, but performs a power saving operation based on a unique function. In this specification, this state is referred to as a power-on state. The G1 state is also called a sleeping state, and includes an S3 state and an S4 state as power states.

S3ステートはサスペンド状態ともいわれメイン・メモリ15の記憶を保持するために必要なデバイスの電源以外は停止する。S4ステートは、ハイバネーション状態ともいわれ、コンテキストがHDD22に記憶されてほとんどのデバイスの電源は停止する。G2ステートはソフト・オフともいわれるパワー・ステートとしてのS5ステートに相当し、コンテキストを保持しないでほとんどのデバイスの電源は停止する。ノートPC10では、AC供給のときもDC供給のときもS4ステートとS5ステートの電力供給範囲は同じになるようにしている。   The S3 state is also referred to as a suspend state, and the devices other than the power supply of the device necessary for holding the storage of the main memory 15 are stopped. The S4 state is also called a hibernation state, and the context is stored in the HDD 22 and the power of most devices is stopped. The G2 state corresponds to the S5 state as a power state, which is also called soft-off, and most devices are powered off without maintaining the context. In the notebook PC 10, the power supply ranges in the S4 state and the S5 state are the same during both AC supply and DC supply.

G3ステートは、メカニカル・オフ・ステートともいわれ、ノートPC10の一切の電源は停止して待機電力は発生しない。本明細書では、S4ステートとS5ステートをパワー・オフ状態ということにする。DC/DCコンバータ71、73、75、77は、AC/DCアダプタ43または電池パック100のいずれかを電力源とし、パワー・ステートに応じて電源制御回路33に制御されてノートPC10のさまざまなデバイスに電力を供給する。   The G3 state is also called a mechanical off state, and all power sources of the notebook PC 10 are stopped and no standby power is generated. In this specification, the S4 state and the S5 state are referred to as a power-off state. The DC / DC converters 71, 73, 75, 77 use either the AC / DC adapter 43 or the battery pack 100 as a power source, and are controlled by the power supply control circuit 33 according to the power state to be various devices of the notebook PC 10. To supply power.

[パワー・ステートと電源系統の関係]
図3は、パワー・ステートと複数のDC/DCコンバータの動作関係を示す図である。本実施の形態では、S4ステートとS5ステートはそれぞれにおいて、AC供給とDC供給で動作するDC/DCコンバータが異なる。図3(A)は、レジスタ42がウエイク・アップ・ディスエーブルに設定されたときの従来のDC/DCコンバータ71〜77の動作を示す。図3(B)は、レジスタ42がウエイク・アップ・イネーブルに設定されたときの従来のDC/DCコンバータ71〜77の動作を示す。図3(C)は、レジスタ72がウエイク・アップ・イネーブルに設定されたときの本実施の形態にかかるDC/DCコンバータ71〜77の動作を示す。
[Relationship between power state and power supply system]
FIG. 3 is a diagram illustrating an operational relationship between the power state and a plurality of DC / DC converters. In the present embodiment, the S4 state and the S5 state are different from each other in the DC / DC converter that operates by AC supply and DC supply. FIG. 3A shows the operation of the conventional DC / DC converters 71 to 77 when the register 42 is set to wake up disabled. FIG. 3B shows the operation of the conventional DC / DC converters 71 to 77 when the register 42 is set to wake up enable. FIG. 3C shows the operation of the DC / DC converters 71 to 77 according to the present embodiment when the register 72 is set to wake up enable.

ウエイク・アップ・イネーブルに設定されたときに図3(C)の本実施の形態の動作状態が図3(B)の従来の動作状態と異なる点は、S4ステートでDC/DCコンバータ73が動作を停止していることである。すなわち、本実施の形態では、ウエイク・アップ・イネーブルに設定されたときに、ICH21に電力を供給するDC/DCコンバータ73の動作を停止してもタスクスケジューラ18に設定されたカレンダ時刻でノートPC10を起動することができるようになっている。なお、同じスリーピング・ステートであるS3ステートでは、他の理由によりいずれの場合も同じDC/DCコンバータが動作する。   When the wake-up enable is set, the operation state of the present embodiment in FIG. 3C differs from the conventional operation state in FIG. 3B in that the DC / DC converter 73 operates in the S4 state. Is to stop. That is, in the present embodiment, when the wake-up enable is set, even if the operation of the DC / DC converter 73 that supplies power to the ICH 21 is stopped, the notebook PC 10 is set at the calendar time set in the task scheduler 18. Can be started. In the S3 state that is the same sleeping state, the same DC / DC converter operates in any case for other reasons.

図3(C)において、DC/DCコンバータ71は、G3ステートを除くすべてのパワー・ステート(S5、S4、S3、S0)で動作し、電源制御回路33、充電状態を表示するLED(図示せず。)、および筐体の開閉を検出するリッド・センサ(図示せず。)などのパワー・オフ中の状態表示および起動に関連する最低限のデバイスに電力を供給する。DC/DCコンバータ73は、G3ステート、S5ステート(DC供給)およびS4ステート(DC供給)で動作を停止し、その他のパワー・ステートで動作してICH21の一部とEC31に電力を供給する。   In FIG. 3C, a DC / DC converter 71 operates in all power states (S5, S4, S3, S0) except the G3 state, and includes a power supply control circuit 33 and LEDs (not shown) that display the charge state. ), And a lid sensor (not shown) for detecting opening and closing of the housing, power is supplied to a minimum device related to the status display and activation during power-off. The DC / DC converter 73 stops operating in the G3 state, the S5 state (DC supply), and the S4 state (DC supply), and operates in other power states to supply power to a part of the ICH 21 and the EC 31.

DC/DCコンバータ75は、S0ステート、S3ステートで動作し、ICH17の一部、MCH13およびメイン・メモリ15などに電力を供給する。DC/DCコンバータ77はS0ステートで動作し、ICH21の一部、CPU13およびHDD22などに電力を供給する。ICH17は、複数の機能ブロックを搭載しているので、各機能ブロックがパワー・ステートに応じた動作ができるように異なるDC/DCコンバータから電力を供給する。   The DC / DC converter 75 operates in the S0 state and the S3 state, and supplies power to a part of the ICH 17, the MCH 13, the main memory 15, and the like. The DC / DC converter 77 operates in the S0 state and supplies power to a part of the ICH 21, the CPU 13, the HDD 22, and the like. Since the ICH 17 has a plurality of functional blocks, power is supplied from different DC / DC converters so that each functional block can operate in accordance with the power state.

図3(C)のDC供給におけるS4ステートではDC/DCコンバータ71だけが動作する。図3(B)のDC供給におけるS4ステートでは、DC/DCコンバータ71とDC/DCコンバータ73が動作するが、DC/DCコンバータ71は容量が小さくかつ軽負荷時の効率のよいタイプを使用しているため電力損失は極わずかであり、従来はS4ステートでの消費電力の大部分がDC/DCコンバータ73の動作により発生していた。   In the S4 state in the DC supply of FIG. 3C, only the DC / DC converter 71 operates. In the S4 state in the DC supply of FIG. 3B, the DC / DC converter 71 and the DC / DC converter 73 operate, but the DC / DC converter 71 uses a type having a small capacity and an efficient at light load. Therefore, power loss is negligible, and most of the power consumption in the S4 state conventionally occurs due to the operation of the DC / DC converter 73.

[電池パック]
図4は、電池パック100の内部構成とウエイク・イベントの出力回路を示す機能ブロック図である。電池パック100は、電源端子111、データ端子113、クロック端子115、装着検出端子117およびグランド端子119がそれぞれノートPC10に接続される。電源端子111には、それぞれp型MOS−FETで構成された充電保護スイッチC−FETと放電保護スイッチD−FETが直列に接続されている。放電保護スイッチD−FETには、3本のリチウム・イオン電池セルで構成された電池セット103が直列に接続されている。電池セット103からの放電電流および電池セット103に対する充電電流は、電源端子113およびグランド端子119で構成される充放電回路を通じてノートPC10との間を流れる。
[Battery pack]
FIG. 4 is a functional block diagram showing an internal configuration of the battery pack 100 and a wake event output circuit. In the battery pack 100, a power terminal 111, a data terminal 113, a clock terminal 115, a mounting detection terminal 117, and a ground terminal 119 are connected to the notebook PC 10, respectively. A charge protection switch C-FET and a discharge protection switch D-FET each formed of a p-type MOS-FET are connected to the power supply terminal 111 in series. A battery set 103 including three lithium ion battery cells is connected in series to the discharge protection switch D-FET. A discharging current from the battery set 103 and a charging current for the battery set 103 flow between the notebook PC 10 through a charging / discharging circuit including a power supply terminal 113 and a ground terminal 119.

電池セット103は、電池パック100の内部デバイスにも電力を供給する。電池セット103の各電池セルの電圧側の端子はアナログ・インターフェース107に接続されている。電池セット103の表面には、サーミスタ121が貼り付けられている。サーミスタ121は電池セルの表面温度を測定し、その出力はMPU105に接続されている。電池セット103の負端子には、電流センス抵抗123が接続されている。電流センス抵抗123の両端は、アナログ・インターフェース107に接続されている。   The battery set 103 also supplies power to the internal devices of the battery pack 100. The voltage side terminal of each battery cell of the battery set 103 is connected to the analog interface 107. A thermistor 121 is attached to the surface of the battery set 103. The thermistor 121 measures the surface temperature of the battery cell, and its output is connected to the MPU 105. A current sense resistor 123 is connected to the negative terminal of the battery set 103. Both ends of the current sense resistor 123 are connected to the analog interface 107.

アナログ・インターフェース107は充電保護スイッチC−FETおよび放電保護スイッチD−FETのゲートに接続されオン/オフ制御する。アナログ・インターフェース107は、電池セット103のセル電圧を測定してディジタル値に変換しMPU105に送る。アナログ・インターフェース107は、電流センス抵抗123が検出した電圧から電池セット103に流れる充電電流および放電電流の値を測定してディジタル値に変換しMPU113に送る。MPU113は、8〜16ビット程度のCPU105−1の他に、ROM105−2、RAM105−3、不揮発性メモリ105−4、タイマ105−5などを1個のパッケージの中に備えた集積回路である。   The analog interface 107 is connected to the gates of the charge protection switch C-FET and the discharge protection switch D-FET for on / off control. The analog interface 107 measures the cell voltage of the battery set 103, converts it into a digital value, and sends it to the MPU 105. The analog interface 107 measures the values of the charging current and discharging current flowing through the battery set 103 from the voltage detected by the current sense resistor 123, converts them into digital values, and sends them to the MPU 113. The MPU 113 is an integrated circuit including a ROM 105-2, a RAM 105-3, a nonvolatile memory 105-4, a timer 105-5, and the like in a single package in addition to the CPU 105-1 of about 8 to 16 bits. .

ROM105−2には、本実施の形態にかかるウエイク・イベントの処理のためにCPU105−1が実行するプログラムが格納されている。RAM105−3は、CPU105−1が実行するプログラムの記憶領域と作業領域を提供する。不揮発性メモリ105−4は、電池パック100の製造番号、製造年月、充電電圧、および充電電流などの固有情報を格納する。タイマ105−5は、CPU105−1をアクティブ・モードとスリープ・モードの間で所定の時間間隔で遷移させたり、電池パック100の使用期間を管理したりするために時間を計測する。タイマ105−5は、ウエイク・イベントを生成するために特別に設けたものではなく、電池パック100の制御および管理のために設けているものである。   The ROM 105-2 stores a program executed by the CPU 105-1 for wake event processing according to the present embodiment. The RAM 105-3 provides a storage area and a work area for programs executed by the CPU 105-1. The nonvolatile memory 105-4 stores unique information such as a manufacturing number, a manufacturing date, a charging voltage, and a charging current of the battery pack 100. The timer 105-5 measures time for causing the CPU 105-1 to transition at a predetermined time interval between the active mode and the sleep mode and for managing the usage period of the battery pack 100. The timer 105-5 is not provided specifically for generating a wake event, but is provided for controlling and managing the battery pack 100.

電池パック100では、ノートPC10に装着されていないときまたは装着されていても充放電していないときに、CPU105−1がスリーピング・モードに移行して消費電力の低減を図るようにしている。そのため、定期的にアクティブ・モードとスリーピング・モードの間を遷移してノートPC10に装着されたか否かまたは電流の値が所定値を越えたか否かを数十ミリ秒といった時間毎に確認している。タイマ105−5は、アクティブ・モードとスリーピング・モードとの間の遷移を制御するために、常時動作させておく必要がある。タイマ105−5は、本来電池パックの制御のために常時動作する必要があるため、本実施の形態におけるウエイク・イベントの生成に利用しても余分な電力を消費することはない。   In the battery pack 100, the CPU 105-1 shifts to a sleeping mode to reduce power consumption when the battery pack 100 is not attached to the notebook PC 10 or when it is attached but is not charged / discharged. For this reason, it is periodically checked whether it is attached to the notebook PC 10 between the active mode and the sleeping mode or whether the current value exceeds a predetermined value every several tens of milliseconds. Yes. The timer 105-5 needs to be operated at all times in order to control the transition between the active mode and the sleeping mode. Since the timer 105-5 originally needs to operate constantly for the control of the battery pack, even if it is used for generating a wake event in the present embodiment, no extra power is consumed.

MPU105は、アナログ・インターフェース107と通信が可能になっており、アナログ・インターフェース107から送られた電池セット103に関する電圧および電流に基づいて充電電気量や放電電気量を計算し、さらに満充電容量を計算してRAM105−3に記憶しておく。それらのデータは定期的にEC31が受け取る。MPU105はまた、過電流保護機能、過電圧保護機能(過充電保護機能ともいう。)、および低電圧保護機能(過放電保護機能ともいう。)を備え、アナログ・インターフェース107から受け取った電圧や電流から電池セルに異常を検出した場合に、アナログ・インターフェース107を通じて充電保護スイッチC−FETおよび放電保護スイッチD−FETまたはそのいずれかをオフにする。過電流保護機能、過電圧保護機能、および低電圧保護機能はCPU105−1で実行されるプログラムで構成される。   The MPU 105 can communicate with the analog interface 107, calculates the amount of charge and discharge based on the voltage and current relating to the battery set 103 sent from the analog interface 107, and further calculates the full charge capacity. Calculate and store in RAM 105-3. Those data are periodically received by the EC 31. The MPU 105 also has an overcurrent protection function, an overvoltage protection function (also referred to as an overcharge protection function), and a low voltage protection function (also referred to as an overdischarge protection function), and is based on the voltage and current received from the analog interface 107. When an abnormality is detected in the battery cell, the charge protection switch C-FET and / or the discharge protection switch D-FET are turned off through the analog interface 107. The overcurrent protection function, the overvoltage protection function, and the low voltage protection function are configured by programs executed by the CPU 105-1.

CPU105−1はデータ端子113とクロック端子115に接続されるSMバス48を通じてEC31に接続され、CPU105−1とEC31との間での通信が可能になっている。EC31は、CPU105−1から受け取った設定電流値および設定電圧値を充電器45に設定してし、充電器45の動作を制御する。抵抗125は、グランド・ライン119と装着検出端子117に接続されている。装着検出端子117は装着検出ライン50に接続されている。抵抗125にはゲートがMPU107に接続されたウエイク・スイッチ127が並列に接続されている。ウエイク・スイッチ127の動作はCPU105−1が制御する。   The CPU 105-1 is connected to the EC 31 through the SM bus 48 connected to the data terminal 113 and the clock terminal 115, and communication between the CPU 105-1 and the EC 31 is possible. The EC 31 sets the set current value and the set voltage value received from the CPU 105-1 in the charger 45, and controls the operation of the charger 45. The resistor 125 is connected to the ground line 119 and the attachment detection terminal 117. The attachment detection terminal 117 is connected to the attachment detection line 50. A wake switch 127 whose gate is connected to the MPU 107 is connected to the resistor 125 in parallel. The operation of the wake switch 127 is controlled by the CPU 105-1.

CPU105−1は、ノートPC10に始めて装着されたときに、EC31からカレンダ時刻を受け取りRAM105−3に記憶する。このときEC31は、RTC23からシステムのカレンダ時刻を取得してCPU105−1に提供する。CPU105−1はEC31から受け取ったカレンダ時刻を基準にしてタイマ105−5が刻時した経過時間を利用することにより、ノートPC10から独立した動作で現在のカレンダ時刻を認識することができる。カレンダ時刻は本実施の形態によるウエイク・イベントの他には、電池パックの使用年数を管理するために使用される。CPU105−1は、定期的にEC31からカレンダ時刻を受け取って、自らが認識する現在のカレンダ時刻が、RTC23が刻時するシステムのカレンダ時刻に一致するように補正することが望ましい。   When the CPU 105-1 is first attached to the notebook PC 10, it receives the calendar time from the EC 31 and stores it in the RAM 105-3. At this time, the EC 31 obtains the system calendar time from the RTC 23 and provides it to the CPU 105-1. The CPU 105-1 can recognize the current calendar time by an operation independent from the notebook PC 10 by using the elapsed time clocked by the timer 105-5 with reference to the calendar time received from the EC 31. In addition to the wake event according to the present embodiment, the calendar time is used for managing the years of use of the battery pack. It is desirable that the CPU 105-1 periodically receives the calendar time from the EC 31, and corrects the current calendar time recognized by the CPU 105-1 so that it matches the calendar time of the system clocked by the RTC 23.

電池パック100は、電池セット103により電力が供給されるため、タイマ105−5の動作およびRAM105−3におけるカレンダ時刻の記憶は電池セット103に所定の電圧が確保されている限り維持される。EC31は電池パック100の装着を検知すると、SMバスのプロトコルに基づいて自らがマスタとなってCPU105−1と通信を開始する。CPU105−1は、EC31と通信をすることにより電池パック100がノートPC10に装着されたことを認識する。   Since the battery pack 100 is supplied with power from the battery set 103, the operation of the timer 105-5 and the storage of the calendar time in the RAM 105-3 are maintained as long as a predetermined voltage is secured in the battery set 103. When the EC 31 detects the attachment of the battery pack 100, the EC 31 becomes a master based on the SM bus protocol and starts communication with the CPU 105-1. The CPU 105-1 recognizes that the battery pack 100 is attached to the notebook PC 10 by communicating with the EC 31.

CPU105−1は、EC31から不揮発性メモリ32に記憶されたタスク設定情報を受け取ってRAM105−3に記憶し、認識している現在のカレンダ時刻がタスク設定情報のカレンダ時刻と一致したときに装着検出ライン50を通じて電源制御回路33にウエイク・イベントを通知する。このときCPU105−1はウエイク・スイッチ127を短時間だけオンにしたあとにオフに復帰させるようにパルス状に動作させてウエイクウエイク・イベントを発行する。このような構成により、電池パック100とノートPC10との間のインターフェース回路は変更しないで、電池パック100からノートPC10へのウエイク・イベントの出力を実現することができる。   The CPU 105-1 receives the task setting information stored in the nonvolatile memory 32 from the EC 31, stores it in the RAM 105-3, and detects attachment when the recognized current calendar time coincides with the calendar time of the task setting information. A wake event is notified to the power supply control circuit 33 through the line 50. At this time, the CPU 105-1 issues a wake wake event by operating the wake switch 127 for a short time and then operating it in a pulsed manner so as to return it to the off state. With such a configuration, the output of the wake event from the battery pack 100 to the notebook PC 10 can be realized without changing the interface circuit between the battery pack 100 and the notebook PC 10.

本実施の形態では装着検出ライン50をEC31による電池パック100の装着の検出と電源制御回路33に対するウエイク・イベントの通知に利用する。装着検出ライン50は、抵抗81を通じてDC/DCコンバータ71に接続されており、ウエイク・スイッチ127がオフのときは抵抗81と抵抗125でDC/DCコンバータ71の出力電圧を分圧した電圧でプルアップされている。装着検出ライン50とEC31との間には、保護スイッチ83が接続されている。保護スイッチ83は、DC/DCコンバータ73がEC31に供給する電圧を停止したときに、装着検出ライン50の電圧がEC31に印加されるのを防ぐ。   In the present embodiment, the attachment detection line 50 is used for detection of attachment of the battery pack 100 by the EC 31 and notification of a wake event to the power supply control circuit 33. The mounting detection line 50 is connected to the DC / DC converter 71 through the resistor 81. When the wake switch 127 is off, the mounting detection line 50 is pulled by a voltage obtained by dividing the output voltage of the DC / DC converter 71 by the resistor 81 and the resistor 125. Has been up. A protection switch 83 is connected between the attachment detection line 50 and the EC 31. The protection switch 83 prevents the voltage of the attachment detection line 50 from being applied to the EC 31 when the voltage supplied from the DC / DC converter 73 to the EC 31 is stopped.

コンパレータ85は、−入力が装着検出ライン50に接続され、+入力が基準電圧源87を通じてグランドに接続されている。コンパレータ85の出力はオープンドレイン回路で構成されている。コンパレータ85の出力は、プルアップ抵抗89を通じてDC/DCコンバータ73に接続され、さらに電源制御回路33にも接続されている。つぎに、装着検出ライン50を利用した電池パック100の装着の検出と、ウエイク・イベントの通知に関する動作を説明する。   The comparator 85 has a negative input connected to the mounting detection line 50 and a positive input connected to the ground through a reference voltage source 87. The output of the comparator 85 is composed of an open drain circuit. The output of the comparator 85 is connected to the DC / DC converter 73 through the pull-up resistor 89 and further connected to the power supply control circuit 33. Next, operations relating to detection of attachment of the battery pack 100 using the attachment detection line 50 and notification of a wake event will be described.

DC/DCコンバータ73がEC31に電圧を供給している間は、電源制御回路33は保護スイッチ83をオンにする。装着検出ライン50は、DC/DCコンバータ71の電圧でプルアップされており、ウエイク・スイッチ127がオフの状態で電池パック100が装着されると装着検出ライン50の電圧が低下する。さらにウエイク・スイッチ127がオンになると装着検出ライン50の電圧はゼロになる。   While the DC / DC converter 73 is supplying voltage to the EC 31, the power supply control circuit 33 turns on the protection switch 83. The attachment detection line 50 is pulled up with the voltage of the DC / DC converter 71. When the battery pack 100 is attached with the wake switch 127 turned off, the voltage of the attachment detection line 50 decreases. Further, when the wake switch 127 is turned on, the voltage of the attachment detection line 50 becomes zero.

EC31は、電池パック101が装着されていないときの装着検出ライン50の電圧とウエイク・スイッチ127がオフの状態で電池パック101が装着されたときの装着検出ライン50の電圧のほぼ中間に閾値を設定することで、電池パック100が装着されたことを検出することができる。基準電圧源87の電圧は、ウエイク・スイッチ127がオフの状態で電池パック100が接続されたときの装着検出ライン50の電圧よりも低く設定されている。したがって、ウエイク・スイッチ127が動作する前は、コンパレータ85の出力電圧はゼロになっている。   The EC 31 sets a threshold value approximately in the middle between the voltage of the attachment detection line 50 when the battery pack 101 is not attached and the voltage of the attachment detection line 50 when the battery pack 101 is attached with the wake switch 127 turned off. By setting, it can be detected that the battery pack 100 is mounted. The voltage of the reference voltage source 87 is set lower than the voltage of the attachment detection line 50 when the battery pack 100 is connected with the wake switch 127 being off. Therefore, before the wake switch 127 operates, the output voltage of the comparator 85 is zero.

この状態でウエイク・スイッチ127がパルス状にオンになると、装着検出ライン50の電圧がパルス幅の期間だけゼロになり、基準電圧源87の電圧よりも低下してコンパレータ85の出力はHi−Zになって、電源制御回路33にパルス状のDC/DCコンバータ71の出力電圧が入力される。電源制御回路33は、コンパレータ85から入力されるパルス状の電圧から検出したライジング・エッジまたはフォーリング・エッジをウエイク・イベントとして受け取ることができる。   When the wake switch 127 is turned on in a pulse state in this state, the voltage of the attachment detection line 50 becomes zero only during the period of the pulse width, falls below the voltage of the reference voltage source 87, and the output of the comparator 85 becomes Hi-Z. Thus, the output voltage of the pulsed DC / DC converter 71 is input to the power supply control circuit 33. The power supply control circuit 33 can receive a rising edge or a falling edge detected from a pulsed voltage input from the comparator 85 as a wake event.

なお、図1および図4は本実施の形態を説明するために、本実施の形態に関連する主要なハードウエアの構成および接続関係を簡略化して記載したに過ぎないものである。ここまでの説明で言及した以外にも、ノートPC10を構成するには多くのデバイスが使われる。しかしそれらは当業者には周知であるので、ここでは詳しく言及しない。図で記載した複数のブロックを1個の集積回路もしくは装置としたり、逆に1個のブロックを複数の集積回路もしくは装置に分割して構成したりすることも、当業者が任意に選択することができる範囲においては本発明の範囲に含まれる。また、各々のデバイスの間を接続するバスおよびインターフェースなどの種類はあくまで一例に過ぎず、それら以外の接続であっても当業者が任意に選択することができる範囲においては本発明の範囲に含まれる。   FIGS. 1 and 4 merely illustrate the main hardware configuration and connection relationships related to the present embodiment in order to explain the present embodiment. In addition to those mentioned in the above description, many devices are used to configure the notebook PC 10. However, they are well known to those skilled in the art and will not be described in detail here. A person skilled in the art also arbitrarily selects a plurality of blocks described in the figure as one integrated circuit or device, or conversely, a block is divided into a plurality of integrated circuits or devices. Is included in the scope of the present invention. In addition, the types of buses and interfaces connecting the devices are merely examples, and other connections are included in the scope of the present invention as long as those skilled in the art can arbitrarily select them. It is.

[ウエイク・アップの手順]
図5は、ノートPC10がハイバネーション状態からパワー・オン状態に遷移して設定されたタスクを実行する手順を示すフローチャートである。ブロック201では、ノートPC10が電池パック100から電力の供給を受けてパワー・オン状態で動作し、DC/DCコンバータ71〜77はすべて動作している。
[Wake-up procedure]
FIG. 5 is a flowchart illustrating a procedure in which the notebook PC 10 executes a task set by transitioning from the hibernation state to the power-on state. In block 201, the notebook PC 10 receives power supplied from the battery pack 100 and operates in the power-on state, and the DC / DC converters 71 to 77 are all operating.

電池パック100のCPU105−1は、RTC23のカレンダ時刻を基準にして独自に現在のカレンダ時刻を認識している。EC31は装着検出ライン50を通じて電池パック100がノートPC10に装着されたことを検出すると、現在不揮発性メモリ32に登録されているタスク設定情報を電池パック100のRAM105−3に記憶する。したがって、電池パック100が交換されたときには新たな電池パックはただちにタスクスケジューラ18の実行のためにウエイク・イベントを生成する準備ができる。EC31は、タスク処理部11によって不揮発性メモリ32のタスク設定情報が更新されたときには、RAM105−3のタスク設定情報を更新する。   The CPU 105-1 of the battery pack 100 independently recognizes the current calendar time with reference to the calendar time of the RTC 23. When the EC 31 detects that the battery pack 100 is attached to the notebook PC 10 through the attachment detection line 50, the EC 31 stores the task setting information currently registered in the nonvolatile memory 32 in the RAM 105-3 of the battery pack 100. Therefore, when the battery pack 100 is replaced, the new battery pack is immediately ready to generate a wake event for execution of the task scheduler 18. When the task processing unit 11 updates the task setting information in the nonvolatile memory 32, the EC 31 updates the task setting information in the RAM 105-3.

ブロック203では、ユーザがタスクスケジューラ18の設定画面を通じて、図2に示したタスク設定情報を設定する。ここで、特定のタスクについてのタスク設定情報においてスリーピング解除がイネーブルに設定されたものとする。タスク処理部11は、ユーザにより入力されたタスク設定情報でレジストリと不揮発性メモリ32を更新する。EC31は、更新された不揮発性メモリ32のタスク設定情報を電池パックのRAM105−3に書き込む。ブロック205では、EC31が更新された不揮発性メモリ32のタスク設定情報においてスリーピング解除がイネーブルかディスエーブルかを判断する。   In block 203, the user sets the task setting information shown in FIG. 2 through the setting screen of the task scheduler 18. Here, it is assumed that sleep canceling is enabled in the task setting information for a specific task. The task processing unit 11 updates the registry and the nonvolatile memory 32 with the task setting information input by the user. The EC 31 writes the updated task setting information of the nonvolatile memory 32 into the RAM 105-3 of the battery pack. In block 205, it is determined whether or not the sleep canceling is enabled in the task setting information of the nonvolatile memory 32 in which the EC 31 is updated.

スリーピング解除がイネーブルの場合は、ブロック207に移行してEC31は電源制御回路33のレジスタ42をウエイク・アップ・イネーブルに設定してからブロック209に移行する。ブロック205でスリーピング解除がディスエーブルの場合は、ブロック208に移行してEC31はレジスタ42をウエイク・アップ・ディスエーブルに設定してからブロック209に移行する。   When the sleep canceling is enabled, the process proceeds to block 207, and the EC 31 sets the register 42 of the power supply control circuit 33 to wake up enable, and then proceeds to block 209. If unsleeping is disabled at block 205, the process proceeds to block 208 where the EC 31 sets register 42 to wake up disabled and then proceeds to block 209.

ブロック209では、ユーザがディスプレイの画面を通じて操作したりシステムがアイドル時間の経過を検出したりすることで、OS16がICH23のレジスタ29を設定してノートPC10をS4ステートへ移行させる。OS16はBIOS17を通じてEC31にS4ステートに移行させるように指示する。EC31は、レジスタ37を参照して電圧検出信号が設定されていないことを確認すると、DC/DCコンバータ73、75、77を停止させるように電源制御回路33に指示する。   In block 209, when the user operates through the screen of the display or the system detects the elapse of the idle time, the OS 16 sets the register 29 of the ICH 23 and shifts the notebook PC 10 to the S4 state. The OS 16 instructs the EC 31 to shift to the S4 state through the BIOS 17. When the EC 31 confirms that the voltage detection signal is not set by referring to the register 37, the EC 31 instructs the power supply control circuit 33 to stop the DC / DC converters 73, 75, and 77.

その結果、DC/DCコンバータ71だけが動作することになるので、電池パック100の消費電力は低下する。S4ステートでは消費電力が少ないため電池パック100のCPU105−1は、所定の周期でアクティブ・モードとスリープ・モードの間を遷移している。ブロック213では、アクティブ・モードに遷移したタイミングで毎回CPU105−1が現在のカレンダ時刻とタスク設定情報のカレンダ時刻を比較する。CPU105−1は現在のカレンダ時刻とタスク設定情報のカレンダ時刻が一致したと判断すると、ブロック215でウエイク・スイッチ127をオンにして電源制御回路33にウエイク・イベントを出力する。   As a result, since only the DC / DC converter 71 operates, the power consumption of the battery pack 100 decreases. Since the power consumption is low in the S4 state, the CPU 105-1 of the battery pack 100 transitions between the active mode and the sleep mode at a predetermined cycle. In block 213, the CPU 105-1 compares the current calendar time with the calendar time of the task setting information every time the mode is changed to the active mode. If the CPU 105-1 determines that the current calendar time matches the calendar time of the task setting information, the CPU 105-1 turns on the wake switch 127 in block 215 and outputs a wake event to the power supply control circuit 33.

ブロック217では、ウエイク・イベントを受け取った電源制御回路33がレジスタ42を参照してウエイク・アップ・イネーブルに設定されているか否かを判断する。ウエイク・アップ・イネーブルに設定されている場合は、ブロック219に移行して電源制御回路33はDC/DCコンバータ73、75、77を動作させて、ノートPC10をパワー・オン状態に移行させる。   In block 217, the power supply control circuit 33 that has received the wake event refers to the register 42 to determine whether or not the wake up enable is set. If the wake-up enable is set, the process proceeds to block 219, where the power supply control circuit 33 operates the DC / DC converters 73, 75, 77 to shift the notebook PC 10 to the power-on state.

パワー・オン状態に移行するとノートPC10はブロック209でS4ステートに移行する直前の動作環境に復帰し、OS16はタスクスケジューラ18の実行状態を確認してブロック221でウエイク・イベントの原因となったタスクを実行する。ブロック217で電源制御回路33が、レジスタ42がウエイク・アップ・ディスエーブルに設定されていると判断した場合はブロック203に戻る。   When the power-on state is entered, the notebook PC 10 returns to the operating environment immediately before the transition to the S4 state in block 209, and the OS 16 confirms the execution state of the task scheduler 18 and the task that caused the wake event in block 221. Execute. If the power supply control circuit 33 determines in block 217 that the register 42 is set to wake up disabled, the process returns to block 203.

以上、ハイバネーション状態のときに電池パック100がウエイク・イベントを発行してタスクスケジューラ18を実行する方法を説明したが、本発明は、DC供給でS5ステート(ソフト・オフ状態)のときに電池パック100がタスクスケジューラ18を実行することでS5ステートでの消費電力の低減を図ることもできる。この場合、レジスタ42に、S5ステートでのウエイク・オン・イネーブル/ディスエーブルとS5ステートでのウエイク・オン・イネーブル/ディスエーブルの2種類の設定ができるように構成し、電源制御回路33はウエイク・イベントを受け取ったときにレジスタ42とレジスタ41の設定を参照してパワー・オン状態に遷移させるか否かを判断することができる。   As described above, the method of executing the task scheduler 18 by issuing the wake event when the battery pack 100 is in the hibernation state has been described. However, the present invention is a battery pack in the S5 state (soft-off state) with DC supply. When 100 executes the task scheduler 18, the power consumption in the S5 state can be reduced. In this case, the register 42 is configured so that two types of settings, wake on enable / disable in the S5 state and wake on enable / disable in the S5 state, can be set, and the power control circuit 33 wakes up. When an event is received, it is possible to determine whether or not to shift to the power-on state by referring to the settings of the register 42 and the register 41.

また、DC供給のときだけDC/DCコンバータ73を停止させて電池パック100からウエイク・イベントを受け取ってパワー・オン状態に移行させる例を説明したが、本発明ではAC供給のときも同じようにハイバネーション状態またはソフト・オフ状態でDC/DCコンバータ73を停止させて電池パック100からウエイク・イベントを受け取りパワー・オン状態に移行させることができる。また、電池パックがパワー・オフ中に現在のカレンダ時刻を認識してウエイク・イベントを発行する方法は、タスクスケジューラ18の実行を目的にする場合に限定するものではなく、ノートPCをパワー・オフ状態とパワー・オン状態の間を定期的に遷移させて、パワー・オフ状態での消費電力の低減を図る方法に広く適用することができる。   In addition, the example in which the DC / DC converter 73 is stopped only when DC is supplied and a wake event is received from the battery pack 100 to shift to the power-on state has been described, but the present invention similarly applies when AC is supplied. It is possible to stop the DC / DC converter 73 in the hibernation state or the soft-off state, receive a wake event from the battery pack 100, and shift to the power-on state. In addition, the method of recognizing the current calendar time and issuing a wake event while the battery pack is powered off is not limited to the purpose of executing the task scheduler 18, but the notebook PC is powered off. The present invention can be widely applied to a method for reducing power consumption in the power-off state by periodically transitioning between the state and the power-on state.

たとえば、AC供給の間はパワー・オフ状態においても電池パック100の充電量が所定値以下になったときに充電する必要がある。電池パック100の充電状態はEC31が監視しているためそれを動作させるDC/DCコンバータ73を動作させる必要がある。この場合、DC/DCコンバータ73はパワー・オフ状態で一旦停止させ、電池パック100から所定の時間間隔でウエイク・イベントを発行して、ウエイク・イベントを受け取ったときにDC/DCコンバータ73を動作させてEC31に充電状態を確認させることができる。そして充電が必要な場合は充電が完了してからDC/DCコンバータ73を停止させ、充電が不要な場合はただちにDC/DCコンバータ73を停止させてパワー・オフ状態に戻るような利用も可能である。   For example, during AC supply, it is necessary to charge the battery pack 100 when the charge amount of the battery pack 100 becomes a predetermined value or less even in a power-off state. Since the EC 31 is monitoring the state of charge of the battery pack 100, it is necessary to operate the DC / DC converter 73 that operates it. In this case, the DC / DC converter 73 is temporarily stopped in the power-off state, issues a wake event from the battery pack 100 at a predetermined time interval, and operates the DC / DC converter 73 when the wake event is received. It is possible to let the EC 31 confirm the state of charge. If charging is required, the DC / DC converter 73 is stopped after charging is completed. If charging is not required, the DC / DC converter 73 is immediately stopped to return to the power-off state. is there.

ウエイク・イベントを生成する目的のためだけであれば、電池パック100はタスクスケジューラ18が何らタスク設定情報を設定していないときも現在のカレンダ時刻を認識している必要はない。たとえば、電池パック100は、EC31からタスク設定情報を受け取るときに、その時点でのRTC23のカレンダ時刻も同時に受け取り、その時点からタイマ105−5が刻時する時間に基づいてウエイク・イベントを出力するタイミングを認識するようにしてもよい。   For the purpose of generating a wake event only, the battery pack 100 need not recognize the current calendar time even when the task scheduler 18 has not set any task setting information. For example, when receiving the task setting information from the EC 31, the battery pack 100 also receives the calendar time of the RTC 23 at that time, and outputs a wake event based on the time counted by the timer 105-5 from that time. You may make it recognize timing.

レジスタ42にタスクごとにウエイク・アップ・イネーブル/ディスエーブルを設定すれば、電池パック100のCPU105−1は選択したタスクだけについてウエイク・イベントを出力することもできる。電池パック100の抵抗125に代えてサーミスタを設けることで、EC31は電池パック100の温度を監視することもできる。この場合、装着検出ライン50は温度検出ラインということができる。   If wake-up enable / disable is set for each task in the register 42, the CPU 105-1 of the battery pack 100 can output a wake event only for the selected task. The EC 31 can also monitor the temperature of the battery pack 100 by providing a thermistor instead of the resistor 125 of the battery pack 100. In this case, the mounting detection line 50 can be referred to as a temperature detection line.

これまで本発明について図面に示した特定の実施の形態をもって説明してきたが、本発明は図面に示した実施の形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができることはいうまでもないことである。   Although the present invention has been described with the specific embodiments shown in the drawings, the present invention is not limited to the embodiments shown in the drawings, and is known so far as long as the effects of the present invention are achieved. It goes without saying that any configuration can be adopted.

10…ノートPC
11…タスク処理部
21…アイオー・コントロール・ハブ
31…エンベデッド・コントローラ
33…電源制御回路
29、37、39、41、42…レジスタ
50…装着検出ライン
10 ... Notebook PC
DESCRIPTION OF SYMBOLS 11 ... Task processing part 21 ... IO control hub 31 ... Embedded controller 33 ... Power supply control circuit 29, 37, 39, 41, 42 ... Register 50 ... Installation detection line

Claims (15)

ウエイク・イベントに基づいてパワー・オフ状態からパワー・オン状態に移行することが可能な電子機器であって、
システムのカレンダ時刻を生成する時計回路と
時間をカウントするタイマと、前記ウエイク・イベントを発行するカレンダ時刻を記憶するメモリと、前記計時回路から受け取ったカレンダ時刻を基準にして前記タイマがカウントした経過時間に基づいて前記記憶されたカレンダ時刻で前記ウエイク・イベントを出力するプロセッサとを備え前記電子機器に電力を供給することが可能な電池パックと、
前記パワー・オフ状態のときに電力の供給を受け前記電池パックから前記ウエイク・イベントを受け取って前記電子機器を前記パワー・オン状態に移行させる電源制御回路と
を有する電子機器。
An electronic device capable of transitioning from a power-off state to a power-on state based on a wake event,
A clock circuit for generating the calendar time of the system ;
A timer for counting time, a memory for storing a calendar time for issuing the wake event, and the stored calendar time based on an elapsed time counted by the timer with reference to the calendar time received from the timer circuit. a battery pack capable of supplying power to the electronic device and a processor for outputting the wake-event in,
An electronic device comprising: a power supply control circuit that receives power supply in the power-off state, receives the wake event from the battery pack, and shifts the electronic device to the power-on state.
前記メモリに定のタスクを実行する前記カレンダ時刻を設定するタスク処理部を有する請求項1に記載の電子機器。 The electronic device according to claim 1 having a task processing unit for setting the calendar time executing the given task in the memory. 前記タスク処理部は前記ウエイク・イベントに基づいて前記電子機器が前記パワー・オン状態に移行してから前記タスクを実行する請求項2に記載の電子機器。   The electronic device according to claim 2, wherein the task processing unit executes the task after the electronic device shifts to the power-on state based on the wake event. 前記メモリは前記ウエイク・イベントに対応する複数のカレンダ時刻の設定が可能で、前記プロセッサはそれぞれのカレンダ時刻において前記ウエイク・イベントを生成する請求項1から請求項3のいずれかに記載の電子機器。   4. The electronic device according to claim 1, wherein the memory can set a plurality of calendar times corresponding to the wake event, and the processor generates the wake event at each calendar time. 5. . 前記電源制御回路は、前記電子機器が前記電池パックから電力の供給を受けて前記パワー・オフ状態に移行している間に前記ウエイク・イベントを受け取ったときに前記電子機器を前記パワー・オン状態に移行させる請求項1から請求項4のいずれかに記載の電子機器。 Said power supply control circuit, the power-on state said electronic device upon receiving the wake event while the electronic device is shifted to the power-off state by being supplied with electric power from the battery pack The electronic device according to claim 1, which is shifted to 前記電源制御回路は、前記電子機器に電力を供給する回路を制御する制御回路と前記ウエイク・イベントに基づくパワー・オン状態への移行を行うか否かを設定するレジスタを含むハードウエア回路で構成されている請求項1から請求項5のいずれかに記載の電子機器。   The power supply control circuit is configured by a hardware circuit including a control circuit that controls a circuit that supplies power to the electronic device and a register that sets whether to shift to a power-on state based on the wake event The electronic apparatus according to claim 1, wherein the electronic apparatus is used. 前記電源制御回路は前記電子機器に対する前記電池パックの装着を検知する装着検出回路を通じて前記ウエイク・イベントを受け取る請求項1から請求項のいずれかに記載の電子機器。 The electronic device according to any one of the power supply control circuit according to claim 6 claims 1 to receive the wake-event through mounting detection circuit for detecting the mounting of the battery pack with respect to the electronic device. 前記電源制御回路は前記電池パックの温度を監視する温度監視回路を通じて前記ウエイク・イベントを受け取る請求項1から請求項のいずれかに記載の電子機器。 The electronic device according to claim 6 wherein the power supply control circuit of claims 1 to receive the wake-event through a temperature monitoring circuit for monitoring the temperature of the battery pack. 前記パワー・オフ状態が前記電池パックを電力源として動作するハイバネーション状態である請求項1から請求項のいずれかに記載の電子機器。 The electronic device according to any one of claims 1 to 8 is a hibernation state in which the power-off state to operate the battery pack as a power source. ウエイク・イベントを検知してパワー・オフ状態からパワー・オン状態に移行することが可能な電子機器に装着して前記電子機器に対する電力の供給が可能な電池パックであって、
ウエイク・イベントを発行するカレンダ時刻を設定するメモリと、
時間をカウントするタイマと、
前記電子機器から受け取ったカレンダ時刻を基準にして前記タイマがカウントした経過時間に基づいて前記設定されたカレンダ時刻に前記電子機器に前記ウエイク・イベントを出力することが可能なプロセッサと
を有する電池パック。
A battery pack that can be attached to an electronic device that can detect a wake event and transition from a power-off state to a power-on state and supply power to the electronic device,
Memory for setting the calendar time for issuing a wake event,
A timer that counts the time,
A battery pack comprising: a processor capable of outputting the wake event to the electronic device at the set calendar time based on the elapsed time counted by the timer based on the calendar time received from the electronic device .
前記プロセッサは、前記電池パックの前記電子機器に対する装着を検出する抵抗回路を通じて前記電子機器の電源を制御する電源制御回路に前記ウエイク・イベントを出力する請求項10に記載の電池パック。 The battery pack according to claim 10 , wherein the processor outputs the wake event to a power supply control circuit that controls a power supply of the electronic device through a resistance circuit that detects attachment of the battery pack to the electronic device. 前記メモリは複数の前記カレンダ時刻を設定することが可能で、前記プロセッサは前記タイマがカウントした経過時間と前記複数のカレンダ時刻に基づいて複数の前記ウエイク・イベントを出力する請求項10または請求項11に記載の電池パック。 The memory can be set a plurality of the calendar time, the processor according to claim 10 or claim outputs a plurality of said wake event based on the plurality of calendar time and elapsed time which the timer has counted 11. The battery pack according to 11 . 電池パックから電力の供給を受けて動作する電子機器において消費電力を低減する方法であって、
前記電子機器が前記電池パックにスケジュール時刻を設定するステップと、
前記電子記が前記電池パックにカレンダ時刻を提供するステップと
前記電池パックが前記提供されたカレンダ時刻を基準にしてタイマがカウントした経過時間に基づいて現在のカレンダ時刻を認識するステップと、
前記電子機器がパワー・オフ状態に移行するステップと、
前記認識したカレンダ時刻が前記スケジュール時刻に到達したと判断した前記電池パックが前記電子機器にウエイク・イベントを出力するステップと、
前記ウエイク・イベントに基づいて前記電子機器が前記パワー・オフ状態からパワー・オン状態に移行するステップと
を有する方法。
A method of reducing power consumption in an electronic device that operates by receiving power supply from a battery pack,
The electronic device sets a schedule time in the battery pack;
Providing the calendar time to the battery pack by the electronic device ;
Recognizing a current calendar time based on an elapsed time counted by a timer based on the provided calendar time for the battery pack;
The electronic device transitioning to a power-off state;
The battery pack having determined that the recognized calendar time has reached the schedule time, and outputting a wake event to the electronic device;
Transitioning the electronic device from the power- off state to the power-on state based on the wake event.
前記スケジュール時刻が所定のタスクを実行するカレンダ時刻であり、前記パワー・オン状態に移行して前記カレンダ時刻が到来したことを認識した前記電子機器が前記タスクを実行するステップを有する請求項13に記載の方法。 A calendar time said scheduled time to perform a predetermined task, to claim 13, wherein the electronic device recognizes that the calendar time to transition to the power-on state has arrived has the step of performing said task The method described. 定期的に前記電池パックが認識するカレンダ時刻を前記電子機器のシステムが生成したカレンダ時刻で補正する請求項13または請求項14に記載の方法。 The method according to claim 13 or 14 , wherein a calendar time recognized by the battery pack is periodically corrected with a calendar time generated by a system of the electronic device.
JP2010123639A 2010-05-30 2010-05-30 Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption Active JP5279762B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010123639A JP5279762B2 (en) 2010-05-30 2010-05-30 Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010123639A JP5279762B2 (en) 2010-05-30 2010-05-30 Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption

Publications (2)

Publication Number Publication Date
JP2011248788A JP2011248788A (en) 2011-12-08
JP5279762B2 true JP5279762B2 (en) 2013-09-04

Family

ID=45413928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010123639A Active JP5279762B2 (en) 2010-05-30 2010-05-30 Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption

Country Status (1)

Country Link
JP (1) JP5279762B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013161438A1 (en) * 2012-04-27 2013-10-31 ソニー株式会社 Information processing device, information processing method, and program
JP2016024561A (en) * 2014-07-17 2016-02-08 ローム株式会社 Power management circuit, and electronic device using the same
JP2020016618A (en) * 2018-07-27 2020-01-30 パナソニックIpマネジメント株式会社 Time switch
JP2020024183A (en) * 2018-07-27 2020-02-13 パナソニックIpマネジメント株式会社 Time switch
JP2021005271A (en) 2019-06-27 2021-01-14 レノボ・シンガポール・プライベート・リミテッド Information processing device and control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3763314B2 (en) * 2004-06-04 2006-04-05 日本電気株式会社 Mobile phone
JP2007295057A (en) * 2006-04-21 2007-11-08 Kyowa Exeo Corp Terminal
JP2008090435A (en) * 2006-09-29 2008-04-17 Toshiba Corp Information processor and control method therefor
JP4523656B2 (en) * 2008-05-29 2010-08-11 レノボ・シンガポール・プライベート・リミテッド Computer testing method and computer system
JP5815195B2 (en) * 2008-09-11 2015-11-17 ミツミ電機株式会社 Battery state detection device and battery pack incorporating the same

Also Published As

Publication number Publication date
JP2011248788A (en) 2011-12-08

Similar Documents

Publication Publication Date Title
TWI345707B (en) Single chip microcontroller including battery management and protection
US9229472B2 (en) Method for supplying electric power to a timekeeping circuit within a portable electronic device
US9471121B2 (en) Microprocessor based power management system architecture
US6714016B2 (en) Method for displaying information concerning power consumption and electronic device
US5230074A (en) Battery operated computer power management system
TWI475368B (en) Power control system and method thereof
JP3974510B2 (en) Computer apparatus, power management method, and program
US9841805B2 (en) Power management circuit and electronic device employing the same
US7293188B2 (en) Low voltage detection system
JP3730414B2 (en) Computer and power supply control method thereof
CN101233663B (en) Single chip microcontroller including battery management and protection
JP5279762B2 (en) Electronic device capable of reducing power consumption in power-off state and method for reducing power consumption
JP6018113B2 (en) Method, computer and host device for preventing data loss of nonvolatile memory
EP2843502B1 (en) Information processing device, information processing method, and program
JP5281625B2 (en) Computer reset method and computer
JP5179454B2 (en) Computer and power supply
US20170045926A1 (en) Portable computing device with hibernate mode
JP5670967B2 (en) Method for controlling power state of portable information terminal device, computer program, and portable information terminal device
JP6759200B2 (en) Battery pack and secondary battery discharge control method
CN107179819B (en) Method for preventing battery from swelling and electronic device thereof
JP5330448B2 (en) Computer wake-up method and computer
TW201820144A (en) Motherboard and computer system thereof
CN103257597A (en) Control method and electronic device
JP2009151489A (en) Information processor
TWI433374B (en) Electrical device and battery management method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121106

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121214

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: 20130514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130521

R150 Certificate of patent or registration of utility model

Ref document number: 5279762

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250