JPH09237132A - Computer system and clock control method thereof - Google Patents
Computer system and clock control method thereofInfo
- Publication number
- JPH09237132A JPH09237132A JP8043656A JP4365696A JPH09237132A JP H09237132 A JPH09237132 A JP H09237132A JP 8043656 A JP8043656 A JP 8043656A JP 4365696 A JP4365696 A JP 4365696A JP H09237132 A JPH09237132 A JP H09237132A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- cpu
- application program
- switching signal
- computer system
- 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.)
- Granted
Links
Abstract
(57)【要約】
【課題】システムの状況に応じてクロック周波数を可変
できるようにして、無駄な消費電力を防止するパワーマ
ネージメント機能を確実に実現すると共に、要求される
能力でアプリケーションプログラムの確実な動作を実現
することにある。
【解決手段】システムコントローラ10は、CPU12
の負荷状態、バッテリ16の残容量、CPU12の発熱
温度状態に従って、クロックコントローラ1に対してク
ロック周波数の可変を指示して、それらのシステムの状
況に応じてクロックの周波数を適正値に可変設定させ
る。これにより、アプリケーションプログラムの実行時
にはCPU12に高い能力を発揮させ、またバッテリ1
6の無駄な消費電力を節約したり、CPU12の破壊や
システムの機能不全を未然に防止することが可能とな
る。
(57) [Abstract] [Problem] A power management function capable of varying a clock frequency according to a system condition to prevent wasteful power consumption and ensuring an application program with a required capability. It is to realize various operations. A system controller includes a CPU.
According to the load state of the battery, the remaining capacity of the battery 16, and the heat generation temperature state of the CPU 12, the clock controller 1 is instructed to change the clock frequency, and the clock frequency is variably set to an appropriate value according to the system conditions. . This allows the CPU 12 to exert high performance when executing the application program, and the battery 1
It is possible to save the wasteful power consumption of No. 6 and prevent the destruction of the CPU 12 and the malfunction of the system.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、所定の条件に応じ
てシステムの動作用クロックの周波数を可変する機能を
有するコンピュータシステムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system having a function of changing the frequency of an operating clock of the system according to a predetermined condition.
【0002】[0002]
【従来の技術】従来、ノート型またはパーム(pal
m)トップ型のパーソナルコンピュータは、システムの
動作用電源として充電式バッテリを使用する方式が一般
的である。このような方式では、電力容量に制限のある
バッテリの消費電力を節約するために、各種のパワーマ
ネージメント機能が開発されている。2. Description of the Related Art Conventionally, a notebook type or a palm (pal)
m) A top-type personal computer generally uses a rechargeable battery as a power source for operating the system. In such a system, various power management functions have been developed in order to save the power consumption of a battery having a limited power capacity.
【0003】このパワーマネージメント機能の一つとし
て、システムの動作用クロックの周波数を低下させて、
結果的にバッテリの消費電力を低下させる方式がある。
この方式では、システム内のクロックを制御する機能を
有するシステムコントローラ(システム内の各要素間の
インターフェース機能を有する制御部)が、ユーザから
キーボードのキー入力により設定された設定値に従っ
て、クロック発振器からのクロックの周波数を分周する
ことにより行なう。これにより、システムコントローラ
からクロックを供給されるCPUや表示コントローラ等
は、低い周波数のクロックにより動作するため、全体と
してバッテリの消費電力を低下させることになる。As one of the power management functions, the frequency of the system operation clock is lowered to
As a result, there is a method of reducing the power consumption of the battery.
In this method, a system controller having a function of controlling a clock in the system (a control unit having an interface function between each element in the system) operates from a clock oscillator according to a set value set by a user by a key input of a keyboard. This is done by dividing the frequency of the clock. As a result, the CPU, the display controller, and the like, which are supplied with the clock from the system controller, operate with the low-frequency clock, and as a whole, the power consumption of the battery is reduced.
【0004】[0004]
【発明が解決しようとする課題】従来のパーソナルコン
ピュータに採用されているパワーマネージメント機能と
して、CPUや表示コントローラ等の動作用クロックの
周波数を低下させる方式がある。しかしながら、従来の
方式では、一旦、動作中のアプリケーションプログラム
を終了させて、外部からキー入力等によりクロック周波
数を設定することが前提であり、一度設定されるとそれ
を解除するまで、設定されたクロック周波数によりシス
テムは動作することになる。As a power management function adopted in a conventional personal computer, there is a method of lowering the frequency of an operation clock of a CPU, a display controller or the like. However, in the conventional method, it is premised that the running application program is terminated once and the clock frequency is set by key input from the outside, and once set, it is set until it is released. The system will operate depending on the clock frequency.
【0005】このため、高い能力(高いクロック周波
数)を必要とするアプリケーションプログラムを動作さ
せるときに、低いクロック周波数が設定されたままで、
円滑な動作ができないような事態が発生する。また、逆
に高いクロック周波数が設定されているときに、アプリ
ケーションプログラムが動作していない場合には、無駄
な電力を消費することになる。Therefore, when operating an application program that requires high capability (high clock frequency), the low clock frequency remains set,
A situation occurs in which smooth operation cannot be performed. On the contrary, when the high clock frequency is set and the application program is not operating, useless power is consumed.
【0006】本発明の目的は、システムの状況に応じ
て、各種のアプリケーションプログラム等が動作中であ
っても、クロック周波数をダイナミックに可変できるよ
うにして、無駄な消費電力を防止するパワーマネージメ
ント機能を確実に実現すると共に、要求される能力でア
プリケーションプログラムの確実な動作を実現すること
にある。An object of the present invention is to provide a power management function for preventing unnecessary power consumption by dynamically changing the clock frequency even when various application programs are operating according to the system condition. And to realize the reliable operation of the application program with the required ability.
【0007】[0007]
【課題を解決するための手段】本発明は、システムの動
作に必要なクロックを生成して出力するクロック出力手
段と、前記生成されたクロックに基づいて動作し、アプ
リケーションプログラムを実行するCPUとを有するコ
ンピュータシステムにおいて、前記アプリケーションプ
ログラムの実行中に、前記システムの所定の動作状態を
検出することにより、クロック切換信号を出力する切換
信号出力手段と、前記クロック切換信号を受けて、一旦
CPUによる前記アプリケーションプログラムの動作を
中断し、前記クロック出力手段のクロック周波数を切換
えるクロック切換え手段と、前記クロック周波数が切換
えられた後、前記CPUによるアプリケーションプログ
ラムの実行を再開させる手段とを備えたシステムであ
る。SUMMARY OF THE INVENTION The present invention comprises clock output means for generating and outputting a clock required for system operation, and a CPU that operates based on the generated clock and executes an application program. In a computer system having a switching signal output means for outputting a clock switching signal by detecting a predetermined operating state of the system during execution of the application program, and a CPU for receiving the clock switching signal and once by the CPU. The system is provided with a clock switching unit that suspends the operation of the application program and switches the clock frequency of the clock output unit, and a unit that restarts the execution of the application program by the CPU after the clock frequency is switched.
【0008】[0008]
【発明の実施の形態】以下図面を参照して本発明の実施
の形態を説明する。図1は本実施形態に関係するクロッ
ク制御方式を説明するためのブロック図であり、図2は
本実施形態に関係するパーソナルコンピュータの要部を
示すブロック図であり、図3は本実施形態の動作を説明
するためのフローチャートである。 (システム構成)本実施形態のシステムは、図1に示す
ように、システムの動作に必要なクロックを生成して各
要素に供給するクロックコントローラ1を有し、このク
ロックコントローラ1がシステムの状況に応じてクロッ
クの周波数を可変する機能を有するものである。クロッ
クコントローラ1は、クロック発振器2から供給される
基本クロックCP(例えば75MHzの周波数)を分周
して、異なる周波数のクロックCF,CH,CM,CL
を生成する。さらに、クロックコントローラ1は、シス
テムの状況である具体的条件に応じて、異なる周波数の
クロックCF,CH,CM,CLを生成する(換言すれ
ば、クロック周波数を可変する)。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram for explaining a clock control method related to this embodiment, FIG. 2 is a block diagram showing a main part of a personal computer related to this embodiment, and FIG. 3 is a block diagram of this embodiment. It is a flow chart for explaining operation. (System Configuration) As shown in FIG. 1, the system of the present embodiment has a clock controller 1 that generates a clock necessary for the operation of the system and supplies the clock to each element. It has a function of changing the frequency of the clock accordingly. The clock controller 1 divides a basic clock CP (for example, a frequency of 75 MHz) supplied from the clock oscillator 2 to generate clocks CF, CH, CM, CL having different frequencies.
Generate Further, the clock controller 1 generates clocks CF, CH, CM, CL having different frequencies according to a specific condition that is a system condition (in other words, the clock frequency is changed).
【0009】具体的には、クロックコントローラ1は、
CPUの負荷検出部3、バッテリ残容量検出部4、CP
Uの発熱検出部5からのSMI(システムマネージメン
ト割込み)信号をCPU12が受けたことに基づいて、
CPU12からクロックを可変する指示があると、逆に
CPU12に対してクロックを可変することを示す信号
SIを出力し、CPU12をクロック可変許可状態(ス
トップグラント状態)をセットする。このようなセット
がなされると、CPU12はアプリケーションプログラ
ムの動作を停止する。Specifically, the clock controller 1 is
CPU load detector 3, remaining battery charge detector 4, CP
Based on the CPU 12 receiving the SMI (system management interrupt) signal from the U heat generation detection unit 5,
When the CPU 12 gives an instruction to change the clock, on the contrary, a signal SI indicating that the clock is to be changed is output to the CPU 12, and the CPU 12 is set to the clock variable permission state (stop grant state). When such a setting is made, the CPU 12 stops the operation of the application program.
【0010】そして、クロックコントローラ1によりク
ロックが切換えられた後、CPU12が周波数切換後の
クロックで安定すると、クロックコントローラ1はスト
ップグラント状態を解除し、通常のアプリケーションプ
ログラム動作状態にする。頻繁に、この制御を繰り返す
ことによって、システムが動作中、即ちアプリケーショ
ンプログラムなどが動作中であっても、円滑で確実にか
つ効率良くクロック周波数を切換えて消費電力を低減す
ることができる。After the clock is switched by the clock controller 1, when the CPU 12 becomes stable with the frequency-switched clock, the clock controller 1 releases the stop grant state and enters the normal application program operating state. By repeating this control frequently, even when the system is operating, that is, the application program is operating, the clock frequency can be switched smoothly, reliably and efficiently to reduce the power consumption.
【0011】本実施形態では、クロックCFをフルパワ
ーモードに対応する最高周波数(75MHz)のクロッ
クとし、クロックCHをハイパワーモードに対応する高
い周波数(48MHz程度とする)のクロックとし、ク
ロックCMをミディアムパワーモードに対応する中間周
波数(37MHz程度とする)のクロックとし、クロッ
クCLをローパワーモードに対応する最低周波数(24
MHz程度とする)のクロックと想定する。In this embodiment, the clock CF is a clock of the highest frequency (75 MHz) corresponding to the full power mode, the clock CH is a clock of a high frequency (about 48 MHz) corresponding to the high power mode, and the clock CM is The intermediate frequency (approximately 37 MHz) clock corresponding to the medium power mode is used, and the clock CL is the lowest frequency (24 MHz) corresponding to the low power mode.
The clock is assumed to be about MHz).
【0012】前記の具体的条件とは、CPUの動作時に
おける負荷状態、システムの動作用電源であるバッテリ
の残容量、CPUの発熱温度(CPUの表面温度)を意
味する。そこで、本実施形態のシステムは、それぞれの
条件を判断するための具体的手段として、CPUの負荷
検出部3、バッテリ残容量検出部4、CPUの発熱検出
部5を有する。The above-mentioned specific conditions mean the load state during operation of the CPU, the remaining capacity of the battery which is the power source for operating the system, and the heat generation temperature of the CPU (surface temperature of the CPU). Therefore, the system of the present embodiment has a load detection unit 3 of the CPU, a remaining battery capacity detection unit 4, and a heat generation detection unit 5 of the CPU as specific means for judging each condition.
【0013】以下図2を参照して、本実施形態をパーソ
ナルコンピュータに適用した場合のシステム構成を説明
する。前記のクロックコントローラ1は、システムコン
トローラ10の内部に設けられている。システムコント
ローラ10は、システムインターフェース11等の機能
を有する制御部である。システムコントローラ10は、
クロックコントローラ1によりCPU12や表示コント
ローラ14に動作上必要なクロック(CF,CH,C
M,CL)を供給し、または停止する制御を行なう。The system configuration when the present embodiment is applied to a personal computer will be described below with reference to FIG. The clock controller 1 is provided inside the system controller 10. The system controller 10 is a control unit having functions such as the system interface 11. The system controller 10
Clocks (CF, CH, C) necessary for operation of the CPU 12 and the display controller 14 by the clock controller 1
M, CL) is supplied or stopped.
【0014】システムコントローラ10は、コンピュー
タの動作用電源である充電式のバッテリ16からの電源
を制御する電源コントローラ(電源マイコン)15と連
絡し、電源コントローラ15からバッテリ16の残容量
を通知される。さらに、システムコントローラ10は、
CPU12の表面温度を検出する温度センサ13から温
度検出値を入力し、CPU12の表面温度が許容温度値
を越えているか否かを監視している。 (クロック制御処理)以下図3のフローチャートを参照
して、本実施形態の動作であるクロック制御処理につい
て説明する。The system controller 10 communicates with a power supply controller (power supply microcomputer) 15 for controlling the power supply from a rechargeable battery 16 which is a power supply for operating the computer, and the power supply controller 15 notifies the remaining capacity of the battery 16. . Further, the system controller 10
A temperature detection value is input from a temperature sensor 13 that detects the surface temperature of the CPU 12, and it is monitored whether the surface temperature of the CPU 12 exceeds an allowable temperature value. (Clock Control Processing) The clock control processing, which is the operation of this embodiment, will be described below with reference to the flowchart of FIG.
【0015】まず、電源がオンされると、電源コントロ
ーラ15の制御によりバッテリ16の電力に基づいて、
システムの動作電力が供給される(ステップS1)。シ
ステムコントローラ10では、クロックコントローラ1
は、クロック発振器2からの基本クロックCPに基づい
て、フルパワーモードに対応する最高周波数(75MH
z)のクロックCFをCPU12に供給する(ステップ
S2)。本実施形態では、CPU12に供給するクロッ
ク制御処理についてのみ説明する。First, when the power source is turned on, the power source controller 15 controls the power of the battery 16 to
The operating power of the system is supplied (step S1). In the system controller 10, the clock controller 1
Is the highest frequency (75 MH) corresponding to the full power mode based on the basic clock CP from the clock oscillator 2.
The clock CF of z) is supplied to the CPU 12 (step S2). In the present embodiment, only the clock control processing supplied to the CPU 12 will be described.
【0016】システムコントローラ10は、システムの
状況であるCPU12の負荷状態、バッテリ残容量、C
PU12の発熱温度を監視しており、その状況に従って
クロックコントローラ1にクロック周波数の可変を指示
する。The system controller 10 determines the load status of the CPU 12, which is the status of the system, the remaining capacity of the battery, C
The heat generation temperature of the PU 12 is monitored, and the clock controller 1 is instructed to change the clock frequency according to the situation.
【0017】本実施形態では、第1にCPU12の負荷
状態を検出し、その負荷状態に応じてクロック周波数の
可変を指示する(ステップS3)。CPU12の負荷状
態とは、CPU12がアプリケーションプログラムを実
行しているときの動作状態であり、その段階により前述
のフルパワーモード、ハイパワーモード、ミディアムパ
ワーモード、ローパワーモードに対応している。CPU
12の負荷状態は、OSに付属するドライバソフトウエ
アにより、例えばある一定時間でのCPU12のアイド
ル状態の回数から判断される。即ち、システムコントロ
ーラ10は、CPU12がI/Oまたはメモリをアクセ
スする度にビジー状態を示すフラグがセットされるた
め、このフラグのセット回数に基づいてアイドル状態の
回数を認識して、CPU12の負荷状態を検出する。In the present embodiment, first, the load state of the CPU 12 is detected, and the variable of the clock frequency is instructed according to the load state (step S3). The load state of the CPU 12 is an operating state when the CPU 12 is executing an application program, and corresponds to the above-described full power mode, high power mode, medium power mode, and low power mode depending on the stage. CPU
The load state of 12 is determined by the driver software attached to the OS, for example, from the number of idle states of the CPU 12 in a certain fixed time. That is, the system controller 10 sets the busy state flag every time the CPU 12 accesses the I / O or the memory. Therefore, the system controller 10 recognizes the number of idle states based on the number of times the flag is set, and the load on the CPU 12 is reduced. Detect the condition.
【0018】システムコントローラ10は、CPU12
の負荷状態がフルパワーモード以外のときに、各モード
に従ってクロック周波数を可変することをクロックコン
トローラ1に指示する(ステップS4のNO,S5)。
例えば、CPU12の負荷状態がハイパワーモードに相
当する場合には、クロックコントローラ1は相対的に高
い周波数(48MHz程度とする)のクロックCHに可
変する。同様に、ミディアムパワーモードの場合には、
中間周波数(37MHz程度とする)のクロックCMに
可変し、ローパワーモードの場合には最低周波数(24
MHz程度とする)のクロックCLに可変する。The system controller 10 includes a CPU 12
When the load state of is other than the full power mode, the clock controller 1 is instructed to change the clock frequency according to each mode (NO in step S4, S5).
For example, when the load state of the CPU 12 corresponds to the high power mode, the clock controller 1 changes the clock CH to a relatively high frequency (about 48 MHz). Similarly, in medium power mode,
Variable to the clock CM with an intermediate frequency (about 37 MHz), and in the low power mode, the lowest frequency (24
It is variable to a clock CL of about MHz).
【0019】さらに、システムコントローラ10は、バ
ッテリ16の残容量を監視し、その残容量に応じてクロ
ック周波数の可変をクロックコントローラ1に指示する
(ステップS6)。具体的には、電源コントローラ15
は、バッテリ16の電力容量が例えば100%〜75%
(満充電状態)からある程度減少する毎に、SMI(シ
ステムマネージメント割込み)を発生して、システムコ
ントローラ10に通知する。Further, the system controller 10 monitors the remaining capacity of the battery 16 and instructs the clock controller 1 to change the clock frequency according to the remaining capacity (step S6). Specifically, the power supply controller 15
Indicates that the power capacity of the battery 16 is, for example, 100% to 75%.
An SMI (system management interrupt) is generated and notified to the system controller 10 every time the battery voltage is reduced from the (fully charged state) to some extent.
【0020】システムコントローラ10は、バッテリ1
6の残容量が100%〜75%以外のときに、所定の残
容量に従ってクロック周波数を可変することをクロック
コントローラ1に指示する(ステップS7のNO,S
8)。例えば、バッテリ16の残容量が74%〜50%
程度に減少した場合には、クロックコントローラ1はハ
イパワーモードに相当するクロックCHのクロック周波
数に可変する。同様に、49%〜25%程度に減少した
場合には、ミディアムパワーモードに相当するクロック
CMに可変し、24%以下まで減少した場合にはローパ
ワーモードに相当する最低周波数のクロックCLまで低
下させる。The system controller 10 is a battery 1
When the remaining capacity of 6 is other than 100% to 75%, the clock controller 1 is instructed to change the clock frequency according to the predetermined remaining capacity (NO in step S7, S
8). For example, the remaining capacity of the battery 16 is 74% to 50%
When it decreases to a certain degree, the clock controller 1 changes the clock frequency of the clock CH corresponding to the high power mode. Similarly, when it is reduced to about 49% to 25%, it is changed to the clock CM corresponding to the medium power mode, and when it is reduced to 24% or less, it is lowered to the lowest frequency clock CL corresponding to the low power mode. Let
【0021】また、システムコントローラ10は、動作
中のCPU12の発熱温度を監視し、その発熱温度が許
容温度値を越えている場合にクロック周波数を低下させ
ることをクロックコントローラ1に指示する(ステップ
S9)。具体的には、CPU12の表面に設置された温
度センサ13が、常時CPU12の表面温度を検出し
て、この検出信号を常時電源コントローラ15が監視す
る。そして、CPU12の発熱温度が予め決定された以
下(1)〜(3)の温度になった場合、電源コントロー
ラ15は割り込み信号SMI(system mana
gement inturrupt)を発生し、CPU
12に伝達される。CPU12はシステムコントローラ
10に指示して、クロックコントローラ1にそれに応じ
たクロック制御を実行させる(ステップS10,S1
1)。The system controller 10 also monitors the heat generation temperature of the operating CPU 12 and instructs the clock controller 1 to reduce the clock frequency when the heat generation temperature exceeds the allowable temperature value (step S9). ). Specifically, the temperature sensor 13 installed on the surface of the CPU 12 constantly detects the surface temperature of the CPU 12, and the power supply controller 15 constantly monitors this detection signal. Then, when the heat generation temperature of the CPU 12 becomes a predetermined temperature below (1) to (3), the power supply controller 15 causes the interrupt signal SMI (system mana).
generation interface (CPU)
12 is transmitted. The CPU 12 instructs the system controller 10 to cause the clock controller 1 to execute clock control according to the instruction (steps S10 and S1).
1).
【0022】(1)CPUクロックの周波数をダウンさ
せる温度TAを越えた場合、SMI信号を発行し、スト
ップクロック機能を利用してスピードダウンさせて発熱
を減らす。(2)スピードダウンをリセットする温度T
Bより温度が下がったら、SMI信号を発行してスピー
ドダウンを止め手、通常のスピードに戻す。(3)前記
(1)の制御を行なっても、さらに温度上昇が継続し
て、温度TCを越えた場合、SMI信号を発行して強制
的に電源をOFFする。なお、各温度の関係は、「TB
<TA<TC」となっている。(1) When the temperature TA for reducing the frequency of the CPU clock is exceeded, an SMI signal is issued and the stop clock function is used to reduce the speed to reduce heat generation. (2) Temperature T to reset speed down
If the temperature falls below B, issue an SMI signal to stop the speed down and return to normal speed. (3) If the temperature continues to rise and exceeds the temperature TC even after performing the control of (1), the SMI signal is issued and the power is forcibly turned off. The relationship between each temperature is "TB
<TA <TC ”.
【0023】なお、許容温度値は、システムにより異な
り、その他CPU12の負荷状態、即ちクロック周波数
との関係で決定される。以上のように、CPUクロック
をシステム動作中に、ダイナミックに切換えるために
は、ある程度の時間(0.5〜0.8ms)がかかる。
従って、通信用のアプリケーションプログラムを動作中
の場合には、互換性の問題を生ずる可能性がある。従っ
て、本発明ではアプリケーションプログラムの動作中
に、CPUクロックを切換え可能となっているが、通信
処理中だけはクロックの切換えを許可しないようにす
る。このクロック切換の停止を実現するため、システム
のOSは、現在稼働中のアプリケーションプログラムが
通信プログラムであるか否かを監視する。通信プログラ
ムが稼働中である場合には、CPU12がクロックコン
トローラ1に対して、クロックホールド信号を出力し、
クロック切換えが行なわれないようにする。The allowable temperature value differs depending on the system and is determined in relation to the load state of the CPU 12, that is, the clock frequency. As described above, it takes some time (0.5 to 0.8 ms) to dynamically switch the CPU clock during system operation.
Therefore, compatibility problems may occur when the communication application program is running. Therefore, in the present invention, the CPU clock can be switched during the operation of the application program, but the clock switching is not permitted only during the communication processing. In order to realize the stop of the clock switching, the OS of the system monitors whether or not the currently running application program is the communication program. When the communication program is running, the CPU 12 outputs a clock hold signal to the clock controller 1,
Prevent clock switching.
【0024】以上のように本実施形態によれば、システ
ムの状況に応じて、CPU12等の動作に必要なクロッ
クの周波数を可変設定することにより、システムを常に
適正な状態に維持することができる。即ち、CPU12
の負荷状態に従って、アプリケーションプログラムの動
作においてフルパワーモードの能力が必要な場合には、
それに見合う最高周波数のクロックCFを供給し、逆に
非動作時には最低周波数のクロックCLを供給すること
ができる。従って、アプリケーションプログラムを円滑
に実行させることができると共に、アプリケーションプ
ログラムの非動作時にはクロック周波数を低下させるこ
とによりバッテリ16の消費電力を節約することができ
る。As described above, according to this embodiment, the frequency of the clock necessary for the operation of the CPU 12 and the like is variably set according to the status of the system, so that the system can always be maintained in an appropriate state. . That is, the CPU 12
If the full power mode capability is required for the operation of the application program according to the load condition of
It is possible to supply the clock CF having the highest frequency corresponding thereto and, conversely, the clock CL having the lowest frequency when not operating. Therefore, the application program can be smoothly executed, and the power consumption of the battery 16 can be saved by lowering the clock frequency when the application program is not operating.
【0025】また、バッテリ16の残容量に従ってクロ
ックの周波数を可変設定することにより、結果的にバッ
テリ16の消費電力を節約することができる。特に、許
容範囲の下限値に近い容量(例えば24%以下)まで減
少した場合に、最低のクロック周波数(CL)まで低下
させることにより、バッテリ16の消費電力をできるだ
け節約して、例えばレジューム処理を確実に実行させる
ことができる。これにより、バッテリ16が許容範囲の
下限値以下まで減少して、システムが機能不全となり、
保存の必要なデータが消去するような事態を未然に防止
することができる。Further, by variably setting the clock frequency according to the remaining capacity of the battery 16, it is possible to save the power consumption of the battery 16 as a result. In particular, when the capacity is reduced to the lower limit of the allowable range (for example, 24% or less), the power consumption of the battery 16 is reduced as much as possible by reducing the clock frequency (CL) to the lowest value, for example, the resume process. It can be surely executed. This reduces the battery 16 to below the lower limit of the allowable range, causing the system to malfunction.
It is possible to prevent a situation in which data that needs to be saved is deleted.
【0026】さらに、CPU12の発熱温度を監視し
て、発熱温度が許容温度値を越えている場合に、強制的
にクロック周波数を低下させることにより、CPU12
の発熱温度を低下させることができる。従って、CPU
12の発熱温度の異常な上昇により、CPU12が破壊
したり、暴走するような事態を未然に防止することがで
きる。Further, the heat generation temperature of the CPU 12 is monitored, and when the heat generation temperature exceeds the allowable temperature value, the clock frequency is forcibly lowered to thereby cause the CPU 12 to operate.
The exothermic temperature of can be lowered. Therefore, CPU
It is possible to prevent the CPU 12 from being destroyed or going out of control due to an abnormal rise in the heat generation temperature of the CPU 12.
【0027】[0027]
【発明の効果】以上詳述したように本発明によれば、特
にパーソナルコンピュータに適用した場合に、システム
の状況に応じてクロック周波数を可変することにより、
無駄な消費電力を防止するパワーマネージメント機能お
よび要求される能力でアプリケーションプログラムを確
実に動作させることを実現することができる。具体的に
は、CPUの負荷状態、システムの動作用電源であるバ
ッテリの残容量、およびCPUの発熱温度に従ってクロ
ック周波数を可変することにより、バッテリの消費電力
の節約、確実なアプリケーションプログラムの実行、さ
らにシステムの機能不全の未然防止を図ることができ
る。As described above in detail, according to the present invention, particularly when applied to a personal computer, by changing the clock frequency according to the system condition,
It is possible to realize the reliable operation of the application program with the power management function for preventing wasteful power consumption and the required ability. Specifically, by varying the clock frequency according to the load state of the CPU, the remaining capacity of the battery that is the power supply for operating the system, and the heat generation temperature of the CPU, the power consumption of the battery is saved and the application program is executed reliably. Further, it is possible to prevent the malfunction of the system.
【図1】本発明において本実施形態に関係するクロック
制御方式を説明するためのブロック図。FIG. 1 is a block diagram for explaining a clock control method related to the present embodiment in the present invention.
【図2】本実施形態に関係するパーソナルコンピュータ
の要部を示すブロック図。FIG. 2 is an exemplary block diagram showing a main part of a personal computer according to the embodiment;
【図3】本実施形態の動作を説明するためのフローチャ
ート。FIG. 3 is a flowchart for explaining the operation of the embodiment.
1…クロックコントローラ 2…クロック発振器 3…CPUの負荷検出部 4…バッテリ残容量検出部 5…CPUの発熱検出部 10…システムコントローラ 11…システムインターフェース 12…CPU 13…温度センサ 14…表示コントローラ 15…電源コントローラ 16…充電式バッテリ DESCRIPTION OF SYMBOLS 1 ... Clock controller 2 ... Clock oscillator 3 ... CPU load detection unit 4 ... Battery remaining capacity detection unit 5 ... CPU heat generation detection unit 10 ... System controller 11 ... System interface 12 ... CPU 13 ... Temperature sensor 14 ... Display controller 15 ... Power supply controller 16 ... Rechargeable battery
Claims (7)
て出力するクロック出力手段と、 前記生成されたクロックに基づいて動作し、アプリケー
ションプログラムを実行するCPUと、 前記アプリケーションプログラムの実行中に、前記シス
テムの所定の動作状態を検出することにより、クロック
切換信号を出力する切換信号出力手段と、 前記クロック切換信号を受けて、一旦CPUによる前記
アプリケーションプログラムの動作を中断し、前記クロ
ック出力手段のクロック周波数を切換えるクロック切換
え手段と、 前記クロック周波数が切換えられた後、前記CPUによ
るアプリケーションプログラムの実行を再開させる手段
とを具備したことを特徴とするコンピュータシステム。1. A clock output unit that generates and outputs a clock required for system operation, a CPU that operates based on the generated clock and executes an application program, and a CPU that executes the application program during execution of the application program. Switching signal output means for outputting a clock switching signal by detecting a predetermined operation state of the system, and receiving the clock switching signal, temporarily interrupting the operation of the application program by the CPU, A computer system comprising: a clock switching unit that switches a clock frequency; and a unit that restarts execution of an application program by the CPU after the clock frequency is switched.
ッテリと、 アプリケーションプログラムの動作中に、前記バッテリ
の残容量を検出するバッテリ容量検出手段とを具備し、 前記切換信号出力手段は、前記バッテリ容量検出手段に
より検出されたバッテリの残容量に従って、前記クロッ
ク切換信号を出力することを特徴とする請求項1記載の
コンピュータシステム。2. A battery used as a power supply for operating a system, and a battery capacity detection means for detecting a remaining capacity of the battery during operation of an application program, wherein the switching signal output means includes the battery capacity. 2. The computer system according to claim 1, wherein the clock switching signal is output according to the remaining capacity of the battery detected by the detecting means.
出手段を具備し、 前記切換信号出力手段は、前記温度検出手段により検出
されたCPUの発熱温度に従って、前記クロック切換信
号を出力することを特徴とする請求項1記載のコンピュ
ータシステム。3. A temperature detection means for detecting a heat generation temperature of the CPU is provided, and the switching signal output means outputs the clock switching signal according to the heat generation temperature of the CPU detected by the temperature detection means. The computer system of claim 1, wherein the computer system is a computer system.
を検出するプログラム動作検出手段を具備し、 前記切換信号出力手段は、前記プログラム動作検出手段
により検出されたアプリケーションプログラムの動作状
態に従って、前記クロック切換信号を出力することを特
徴とする請求項1記載のコンピュータシステム。4. A program operation detecting means for detecting an operation state of an application program is provided, wherein the switching signal output means outputs the clock switching signal according to an operation state of the application program detected by the program operation detecting means. The computer system according to claim 1, further comprising:
り、動作状態を検出することを特徴とする請求項4記載
のコンピュータシステム。5. The computer system according to claim 4, wherein the program operation detecting means detects the operating state by counting the number of times the CPU is in an idle state.
ションプログラムが、通信に関するプログラムであるか
どうかを判別する判別手段と、 前記判別手段により、通信に関するアプリケーションプ
ログラムが動作中であると判別された場合には、前記ク
ロック出力手段により出力されるクロック周波数を固定
するため、前記クロック切換信号の出力を中断させる中
断手段とを具備したことを特徴とする請求項1記載のコ
ンピュータシステム。6. A discriminating means for discriminating whether or not the application program operating in the system is a program relating to communication, and a case where the discriminating means discriminates that the application program relating to communication is operating. 2. The computer system according to claim 1, further comprising: an interrupting unit that interrupts the output of the clock switching signal to fix the clock frequency output by the clock output unit.
して出力するクロック出力手段と、前記生成されたクロ
ックに基づいて動作し、アプリケーションプログラムを
実行するCPUとを有するコンピュータシステムのクロ
ック制御方法であって、 前記アプリケーションプログラムの実行中に、前記シス
テムの所定の動作状態を検出することにより、クロック
切換信号を出力するステップと、 前記クロック切換信号を受けて、一旦CPUによる前記
アプリケーションプログラムの動作を中断し、前記クロ
ック出力手段のクロック周波数を切換えるステップと、 前記クロック周波数が切換えられた後、前記CPUによ
るアプリケーションプログラムの実行を再開させるステ
ップとからなることを特徴とするクロック制御方法。7. A clock control method for a computer system, comprising: clock output means for generating and outputting a clock required for system operation; and a CPU that operates based on the generated clock and executes an application program. There is a step of outputting a clock switching signal by detecting a predetermined operating state of the system during execution of the application program, and receiving the clock switching signal, and temporarily operating the application program by the CPU. A clock control method comprising: a step of interrupting and switching the clock frequency of the clock output means; and a step of restarting execution of an application program by the CPU after the clock frequency is switched.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04365696A JP3461237B2 (en) | 1996-02-29 | 1996-02-29 | Computer system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04365696A JP3461237B2 (en) | 1996-02-29 | 1996-02-29 | Computer system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09237132A true JPH09237132A (en) | 1997-09-09 |
| JP3461237B2 JP3461237B2 (en) | 2003-10-27 |
Family
ID=12669911
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP04365696A Expired - Fee Related JP3461237B2 (en) | 1996-02-29 | 1996-02-29 | Computer system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3461237B2 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002021245A1 (en) * | 2000-09-08 | 2002-03-14 | Fujitsu Limited | Clock control method, device therefor, and medium |
| KR100601617B1 (en) * | 1999-08-20 | 2006-07-14 | 삼성전자주식회사 | Personal computer with CPU thermal control function and CPU thermal control method |
| US7165183B2 (en) | 2002-05-28 | 2007-01-16 | Oki Electric Industry Co., Ltd. | Temperature controlled semiconductor circuit |
| US7635964B2 (en) | 2003-07-07 | 2009-12-22 | Sony Corporation | Electronic equipment and power management method for the electronic equipment, and power source unit |
| EP2166426A2 (en) | 2008-09-18 | 2010-03-24 | NEC Electronics Corporation | Clock supply device |
| JP2010097257A (en) * | 2008-10-14 | 2010-04-30 | Nec Corp | Processor control system, method, and program |
| US8397097B2 (en) | 2008-04-09 | 2013-03-12 | Nec Corporation | Computer system and operating method thereof |
-
1996
- 1996-02-29 JP JP04365696A patent/JP3461237B2/en not_active Expired - Fee Related
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100601617B1 (en) * | 1999-08-20 | 2006-07-14 | 삼성전자주식회사 | Personal computer with CPU thermal control function and CPU thermal control method |
| WO2002021245A1 (en) * | 2000-09-08 | 2002-03-14 | Fujitsu Limited | Clock control method, device therefor, and medium |
| US7028211B2 (en) | 2000-09-08 | 2006-04-11 | Fujitsu Limited | Method and apparatus for determining a system clock frequency by summing calculated CPU usage rates for each of a plurality applications |
| US7165183B2 (en) | 2002-05-28 | 2007-01-16 | Oki Electric Industry Co., Ltd. | Temperature controlled semiconductor circuit |
| US7635964B2 (en) | 2003-07-07 | 2009-12-22 | Sony Corporation | Electronic equipment and power management method for the electronic equipment, and power source unit |
| US7863855B2 (en) | 2003-07-07 | 2011-01-04 | Sony Corporation | Electronic equipment and power management method for the electronic equipment, and power source unit |
| US8397097B2 (en) | 2008-04-09 | 2013-03-12 | Nec Corporation | Computer system and operating method thereof |
| EP2166426A2 (en) | 2008-09-18 | 2010-03-24 | NEC Electronics Corporation | Clock supply device |
| JP2010097257A (en) * | 2008-10-14 | 2010-04-30 | Nec Corp | Processor control system, method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3461237B2 (en) | 2003-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3075957B2 (en) | Computer system | |
| US5560024A (en) | Computer power management system | |
| US6678831B1 (en) | Managing power states in a computer system | |
| US5504910A (en) | Power management unit including software configurable state register and time-out counters for protecting against misbehaved software | |
| EP1141812B1 (en) | Apparatus and method for automatic cpu speed control | |
| CN101639723B (en) | Heat dissipation system for computers | |
| JP3213208B2 (en) | Information processing apparatus and control method thereof | |
| EP0229692B1 (en) | Data processing apparatus | |
| KR101503579B1 (en) | System and method for controlling central processing unit power in a virtualized system | |
| US5913068A (en) | Multi-processor power saving system which dynamically detects the necessity of a power saving operation to control the parallel degree of a plurality of processors | |
| EP0426410B1 (en) | Real-time power conservation for portable computers | |
| CN100359435C (en) | Information processing device and control method thereof | |
| KR101409055B1 (en) | System and method for controlling central processing unit power based on inferred workload parallelism | |
| EP0474963A2 (en) | Computer system having sleep mode function | |
| US6052791A (en) | Control method for a hard disk drive and a data processor reducing power consumption of the hard disk drive | |
| EP0730217A1 (en) | Power conservation and thermal management arrangements for computers | |
| US20020104030A1 (en) | ACPI compliant computer system and overtemperature protection method therefor | |
| US20150019895A1 (en) | Information processing apparatus and judging method | |
| JP2000172387A (en) | Method for controlling power consumption and electric apparatus | |
| JP3461237B2 (en) | Computer system | |
| JP4230585B2 (en) | Computer system and power saving control method | |
| JPH11110085A (en) | Portable computer | |
| JP2004334476A (en) | Information processing device and battery device | |
| KR19980074058A (en) | Computer with power cutoff function and power cutoff method | |
| JP3542409B2 (en) | Information processing equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |