JPH0314111A - Microprocessor power save controller - Google Patents

Microprocessor power save controller

Info

Publication number
JPH0314111A
JPH0314111A JP1151458A JP15145889A JPH0314111A JP H0314111 A JPH0314111 A JP H0314111A JP 1151458 A JP1151458 A JP 1151458A JP 15145889 A JP15145889 A JP 15145889A JP H0314111 A JPH0314111 A JP H0314111A
Authority
JP
Japan
Prior art keywords
microprocessor
system clock
state
halt instruction
power save
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1151458A
Other languages
Japanese (ja)
Inventor
Tetsuo Otsuka
大塚 鉄夫
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP1151458A priority Critical patent/JPH0314111A/en
Publication of JPH0314111A publication Critical patent/JPH0314111A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PURPOSE:To sufficiently execute the power save by executing the power save by delaying a system clock when a microprocessor is executing a halt instruction, and returning the system clock to a period before executing the halt instruction, in case the halt instruction is released by an interruption controller. CONSTITUTION:A state discriminating device 10 supervises the state of a microprocessor 1, and outputs its state. A system clock varying device 5 varies a frequency by the state of the microprocessor 1, and outputs a system clock 9 as a frequency corresponding to the state to the microprocessor 1. Subsequently, in case the microprocessor executes an access to a storage device 2 and a peripheral equipment 3, the access can be executed by the maximum operating frequency by the system clock varying device 5, and on the other hand, in case a job to be processed does not exist, the system clock is delayed in accordance with necessity. In such a way, the power save effect can be displayed enough without decreasing a processing speed of the microprocessor.

Description

【発明の詳細な説明】 産業上の利用分野 2ペーノ 本発明はバッテリー駆動のワード・プロセッサやパーソ
ナル・コンピュータ等のOA機器に利用するマイクロ・
プロセッサのパワー・セーブ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Industrial Field of Application The present invention is a microcomputer used in office automation equipment such as battery-powered word processors and personal computers.
TECHNICAL FIELD The present invention relates to a power saving control device for a processor.

従来の技術 従来、この種のマイクロ・プロセッサ制御装置ハソのマ
イクロ・プロセッサのシステム・バス信号に接続する記
憶装置および周辺装置と前記マイクロ・プロセッサの再
起動を促すだめの割り込み制御装置とシステム・クロッ
ク発生装置等を備えており・前記マイクロ・プロセッサ
が処理すべきジョブがない場合にはパワー・セーブの目
的で、前記マイクロ・プロセッサに設けられたホzLz
)命令を実行することにより実現していた。
BACKGROUND OF THE INVENTION Conventionally, microprocessor controllers of this type include storage devices and peripheral devices connected to the system bus signals of the microprocessor, and interrupt controllers and system clocks to prompt the restart of the microprocessor.・When there is no job to be processed by the microprocessor, the microprocessor is equipped with a generator, etc. for the purpose of power saving.
) was realized by executing the command.

第4図は従来のマイクロ・プロセッサ制御装置の構成を
示している。
FIG. 4 shows the configuration of a conventional microprocessor control device.

第4図において、21はマイクロ・プロセッサ、22は
記憶装置、23は周辺装置、24は割り込み制御装置、
25はシステム・クロック発生装置である。
In FIG. 4, 21 is a microprocessor, 22 is a storage device, 23 is a peripheral device, 24 is an interrupt control device,
25 is a system clock generator.

26はマイクロ帝プロセッサ21により作られるシステ
ム・バスであり、22〜25は26に直接接続されてい
る。
26 is a system bus created by the microprocessor 21, and 22-25 are directly connected to 26.

24は周辺装置23により、割り込みが発生しIRo〜
IR7のいずれかがアクティブになった場合にマイクロ
・プロセッサ21に割り込み要求27がアクティブにな
る。
24, an interrupt is generated by the peripheral device 23, and IRo~
When any of the IRs 7 becomes active, an interrupt request 27 to the microprocessor 21 becomes active.

次に、上記従来例の動作について説明する。Next, the operation of the above conventional example will be explained.

第4図において、21〜25は消費電力を低減する目的
のために一般的には0MO8構造のデバイスが使用され
ている。
In FIG. 4, devices 21 to 25 generally have a 0MO8 structure for the purpose of reducing power consumption.

周知のように0MO3構造のデバイスはその動作周波数
に正比例してその消費電力は増加することが知られてい
る。(第3図) 21は第5図に示すようなシステム・クロックに同期し
て動作しているマイクロ・プロセッサであり、21は記
憶装置22をアクセスすると記憶装置22に対して記憶
装置リード信号28を出力する。記憶装置22は前記信
号28により動作を開始し、アクセス・タイムtacc
を経過した後システム・バスにデータを出力する。
As is well known, the power consumption of a device with an 0MO3 structure increases in direct proportion to its operating frequency. (FIG. 3) 21 is a microprocessor operating in synchronization with the system clock as shown in FIG. Output. The storage device 22 starts operating by the signal 28, and the access time tacc
After this period has elapsed, the data is output to the system bus.

通常はジョブを処理するために、メモリ・フェッチと命
令の実行が連続しており、マイクロ・プロセッサ21は
最大の処理スヒードで動作し、消費電力は最大である。
Normally, in order to process a job, memory fetching and instruction execution are continuous, and the microprocessor 21 operates at the maximum processing speed and consumes maximum power.

処理すべきジョブがなくなった場合(キー人力待ちなど
)一般的にはホルト命令を実行する。
When there are no more jobs to be processed (such as when waiting for key personnel), a halt command is generally executed.

第6図のH時点ではマイクロ・プロセッサ21はホルト
命令を実行し、その後マイクロ・プロセッサ21は内部
回路の一部が動作しているに過ぎず、消費電力は最小と
なシ、パワー・セーブが可能になる。
At time H in FIG. 6, the microprocessor 21 executes the halt instruction, and after that, only a part of the internal circuit of the microprocessor 21 is operating, and the power consumption is the minimum and power saving is possible. It becomes possible.

処理すべきジョブが発生したとき(キー人力など)割り
込み制御装置24の割り込み31(IRQ〜IRE>の
いずれかがアクティブになることにより・割り込み要求
2了がアクティブになり、第5図のS時点では、マイク
ロ・プロセッサは再びジョブの処理を開始し、メモリ・
フェッチと命令の実行が連続し、消費電力は最大になる
When a job to be processed occurs (such as by key manual input), when any of the interrupts 31 (IRQ to IRE>) of the interrupt control device 24 becomes active, the interrupt request 2 becomes active, and at time S in FIG. Now, the microprocessor starts processing the job again and frees up memory.
Fetching and instruction execution occur continuously, and power consumption is maximized.

このように、上記従来のマイクロ・フロセッサ5ベーノ に0MO8構造のものを使用しホルト命令を単に実行す
ることでも、パワー・セーブ効果は得られる。
In this way, the power saving effect can be obtained by simply executing the halt command by using a 0MO8 structure as the conventional micro processor 5beno.

発明が解決しようとする課題 しかしながら、上記従来のマイクロ・プロセッサのパワ
ー・セーブでは、一般的に、前記システム・クロック発
生装置26の周波数は固定されており、処理スピードを
重視するだめに動作周波数を最大にして使用しているだ
めパワー・セーブ効果が十分でなく、−1だパワー・セ
ーブ効果を十分にするためマイクロ・フロセッサのシス
テム・クロックを遅くするとジョブの処理スピードが遅
くなるという問題があった。
Problems to be Solved by the Invention However, in the conventional microprocessor power saving system described above, the frequency of the system clock generator 26 is generally fixed, and the operating frequency is not increased in order to prioritize processing speed. If you use it at maximum, the power saving effect is not sufficient, and if you use it at -1, slowing down the system clock of the micro processor to get sufficient power saving effect, there is a problem that the job processing speed will slow down. Ta.

本発明はこのような従来の問題を解決するものであり、
マイクロ・プロセッサの処理スピードを低下させる事な
く、パワー・セーブ効果を十分に発揮できる、優れたマ
イクロ・プロセッサのパワー・セーブ制御装置を提供す
ることを目的とするものである。
The present invention solves these conventional problems,
It is an object of the present invention to provide an excellent power saving control device for a microprocessor that can fully exhibit the power saving effect without reducing the processing speed of the microprocessor.

課題を解決するだめの手段 6ページ 本発明は上記目的を解決するために、マイクロ・70セ
ツザのシステム・バス信号に接続fる記憶装置および周
辺装置と、マイクロ・プロセッサのシステム・クロック
を可変させるためのシステム・クロック可変装置と、マ
イクロ・プロセッサの動作状態を判別する状態判別装置
と、前記マイクロ・フロセッサの再起動を促す割り込み
制御装置を有し、前記マイクロ・プロセッサがホルト命
令を実行中はシステム・クロックを遅くし、前記マイク
ロ・70セツサのパワー・セーブを行い、前記割り込み
制御装置によりマイクロ・プロセッサのホルト命令を解
除した場合、システム・クロックを、ホルン1−命令実
行以前の周期に復帰させることにし、高速動作を可能に
したものである。
Means for Solving the Problems Page 6 In order to solve the above object, the present invention varies the storage device and peripheral devices connected to the system bus signal of the micro-70 processor and the system clock of the microprocessor. a system clock variable device for determining the operating state of the microprocessor, a state determining device for determining the operating state of the microprocessor, and an interrupt control device for prompting restart of the microprocessor; When the system clock is slowed down to save the power of the micro-70 setter and the halt instruction of the microprocessor is released by the interrupt control device, the system clock is returned to the cycle before executing the horn 1 instruction. This enables high-speed operation.

作用 従って、本発明によれば記憶装置および周辺装置に対し
てマイクロ・プロセッサがアクセスした場合、システム
・クロック可変装置により、最大動作周波数でアクセス
が可能となり、処理スビー1−゛を低下させることはな
い。また処理すべぎジ7・\−/ ヨブがない」場合には、ンステト・クロックを必要に応
じて遅らせることにより、マイクロ・プロセッサの消費
電力を低減できるという効果がある。
Therefore, according to the present invention, when the microprocessor accesses the storage device and peripheral devices, the system clock variable device allows the access to be made at the maximum operating frequency, without reducing the processing speed. do not have. Furthermore, when there are no jobs to be processed, the power consumption of the microprocessor can be reduced by delaying the instant clock as necessary.

実施例 第1図は本発明の一実施例の構成を示すものである。Example FIG. 1 shows the configuration of an embodiment of the present invention.

第1図において、1はマイクロ・プロセッサであり、記
憶装置2および周辺装置3、割り込み制御装置4はマイ
クロ・プロセッサより作られるシステム・バス6に接続
される。
In FIG. 1, 1 is a microprocessor, and a storage device 2, a peripheral device 3, and an interrupt control device 4 are connected to a system bus 6 created by the microprocessor.

状態判別装置10はマイクロ・プロセッサ1と直接接続
されており、マイクロ・プロセッサ1の状態を監視しシ
ステム・クロック可変装置5にマイクロ・プロセッサ1
の状態を出力する。
The status determination device 10 is directly connected to the microprocessor 1, monitors the status of the microprocessor 1, and instructs the system clock variable device 5 to determine the status of the microprocessor 1.
Outputs the status of.

システム・クロック可変装置5はマイクロ・プロセッサ
1の状態により周波数を可変し、マイクロ・プロセッサ
1にシステム・クロック9を状態に応じた周波数にして
出力する。
The system clock variable device 5 varies the frequency depending on the state of the microprocessor 1, and outputs the system clock 9 to the microprocessor 1 at a frequency corresponding to the state.

次に上記実施例の動作について説明する。Next, the operation of the above embodiment will be explained.

第1図においてマイクロ・プロセッサ1ハ第2図に示す
ようなシステム・クロックに同期して動作しているマイ
クロ・プロセッサであり、マイクロ・プロセッサ1は記
憶装置2をアクセスすると記憶装置2に対して記憶装置
リード信号8を出力する。
In FIG. 1, microprocessor 1 is a microprocessor that operates in synchronization with the system clock as shown in FIG. A storage device read signal 8 is output.

記憶装置2は前記記憶装置リード信号8により動作を開
始し、アクセス・タイムtaccを経過した後システム
・バスにデータを出力する。
The storage device 2 starts operating in response to the storage device read signal 8, and outputs data to the system bus after the access time tacc has elapsed.

このとき状態判別装置はラン状態であると判別し、シス
テム・クロック可変装置5にラン状態であることを出力
する。これによシシステム・クロック可変装置5は最大
動作周波数のシステム・クロックをマイクロ・プロセッ
サ1に出力する。
At this time, the status determination device determines that the system is in the run state, and outputs the fact that it is in the run state to the system clock variable device 5. Accordingly, the system clock variable device 5 outputs the system clock at the maximum operating frequency to the microprocessor 1.

通常はジョブを処理するために、メモリ・フェッチと命
令の実行が連続しており、マイクロ・プロセッサ1は最
大の処理スピードで動作し、消費電力は最大である。
Normally, in order to process a job, memory fetching and instruction execution are continuous, and the microprocessor 1 operates at maximum processing speed and consumes maximum power.

処理すべきジョブがなくなった場合(キー人力待ちなど
)一般的にはホ71/ l−命令を実行する。
When there are no more jobs to be processed (such as when waiting for key personnel), the 71/l- command is generally executed.

このとき状態判別装置はホ/V)状態であると判9 ベ
ージ 別シ、システム・クロック可変装置5にホルト状態であ
ることを出力する。これによりシステム・クロック可変
装置5は周波数を低下させたシステム・クロックをマイ
クロ・プロセッサ1に出力する。
At this time, the state determining device determines that the system is in the H/V) state and outputs to the system clock variable device 5 that it is in the halt state. As a result, the system clock variable device 5 outputs a system clock whose frequency has been lowered to the microprocessor 1.

第2図のH時点ではマイクロ・プロセッサ1はホルト命
令を実行し、マイクロ・プロセッサ1は内部回路の一部
が低い周波数で動作しているに過ぎず、消費電力は単に
ホルト命令を実行したものに比べても小さく十分なパワ
ー・セーブが可能になる。
At time H in Figure 2, microprocessor 1 executes the halt instruction, and only part of the internal circuit of microprocessor 1 is operating at a low frequency, so the power consumption is just that of executing the halt instruction. It is also smaller than the previous model, allowing for sufficient power savings.

処理すべきジョブが発生したとき(キー人力など)割り
込み制御装置4の割り込み11(IRO〜IR7)のい
ずれかがアクティブになることにより、割り込み要求7
がアクティブにな9、第2図のS時点では、マイクロ・
プロセッサは再ヒジョブの処理を開始し・メモリ・フェ
ッチと命令の実行が連続し、消費電力は最大になる。
When a job to be processed occurs (such as key manual input), any of the interrupts 11 (IRO to IR7) of the interrupt control device 4 becomes active, and an interrupt request 7 is issued.
At point S in Figure 2, the micro-
The processor starts processing rehijobs and memory fetches and instruction executions continue, resulting in maximum power consumption.

このように、上記実施例によれば状態判別装置ニヨリマ
イクロ・プロセッサの状態に応じて/ス10ペーノ テム・クロックの周波数を可変することによシ、ホルト
命令実行時の大幅なパワー・セーブを可能にすることが
できるという利点を有する。
As described above, according to the above embodiment, by varying the frequency of the /S10penotem clock according to the state of the state discriminator microprocessor, it is possible to save a large amount of power when executing the halt instruction. It has the advantage of being able to

また、上記実施例によれば通常動作時のマイクロ・プロ
セッサのシステム・クロックを最大動作周波数で使用す
るだめ処理スピードを低下させることの内マイクロ・プ
ロセッサシステムが構築できるという効果を有する。
Further, according to the above-mentioned embodiment, a microprocessor system can be constructed by using the system clock of the microprocessor at the maximum operating frequency during normal operation, thereby reducing the processing speed.

発明の効果 本発明は上記実施例よシ明らかなように、以下に示す効
果を有する。
Effects of the Invention As is clear from the above embodiments, the present invention has the following effects.

(1)  マイクロ・プロセッサのシステム・クロック
を可変させているので、通常動作時には、最大システム
・クロック周波数で動作し処理スピードが低下しない。
(1) Since the system clock of the microprocessor is made variable, during normal operation it operates at the maximum system clock frequency and processing speed does not decrease.

(2)  同様にマイクロ・プロセッサがホルト命令実
行時システム・クロック周波数が低下し、十分なパワー
・セーブが可能になる。
(2) Similarly, when the microprocessor executes a halt instruction, the system clock frequency is reduced, making it possible to save sufficient power.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例におけるマイクロ・11、、
−7 プロセッサ・システム装置の概略ブロック図、第2図は
同装置の記憶装置へのアクセスとホルト命令実行を示し
たタイミング図、第3図は0MO3における動作周波数
と消費電力の関係図、第4図は従来のマイクロ・プロセ
ッサ・システム装置の概略ブロック図、第5図は従来の
装置の記憶装置へのアクセスホ)V )命令実行を示し
たタイミング図である。 1 ・・・マイクロ・プロセッサ、2 ・ 記憶装置、
3・・・・周辺装置、4・・・・・割り込み制御装置、
5・・・・システム・クロック可変装置、6 ・・シス
テム・バス、7 ・・・割り込み要求信号、8・ ・記
憶装置リード信号、9・・・・システム・クロック、1
0・・・・状態判別装置、11 ・・割り込みIR○〜
7.21・・・・マイクロ・プロセッサ、22・ ・記
憶装置、23・・・・・周辺装置、24・・・・・・割
り込み制御装置、25・・・・システム・クロック発生
装置、26・・・・・システム・バス、27・ =、1
、tll)込み要求イf1号、28・・記憶装置リード
信号、31・・・・・割り込みIRO〜7゜
FIG. 1 shows a micro-11 in an embodiment of the present invention.
-7 A schematic block diagram of the processor system device. Fig. 2 is a timing diagram showing access to the storage device of the device and halt instruction execution. Fig. 3 is a diagram of the relationship between operating frequency and power consumption in 0MO3. Fig. 4 5 is a schematic block diagram of a conventional microprocessor system device, and FIG. 5 is a timing diagram showing access to a storage device and execution of instructions in the conventional device. 1...Microprocessor, 2. Storage device,
3...Peripheral device, 4...Interrupt control device,
5...System clock variable device, 6...System bus, 7...Interrupt request signal, 8...Storage device read signal, 9...System clock, 1
0...Status determination device, 11...Interrupt IR○~
7.21...Microprocessor, 22...Storage device, 23...Peripheral device, 24...Interrupt controller, 25...System clock generator, 26... ...System bus, 27. =, 1
, tll) Interrupt request f1, 28...Storage device read signal, 31...Interrupt IRO~7°

Claims (1)

【特許請求の範囲】[Claims] マイクロ・プロセッサと、そのマイクロ・プロセッサの
システム・バス信号に接続する記憶装置および周辺装置
と、マイクロ・プロセッサのシステム・クロックを可変
させるためのシステム・クロック可変装置と、マイクロ
・プロセッサの動作状態を判別する状態判別装置と、前
記マイクロ・プロセッサの再起動を促す割り込み制御装
置を有し、前記マイクロ・プロセッサがホルト命令を実
行中はシステム・クロックを遅くし、前記マイクロ・プ
ロセッサのパワー・セーブを行い、前記割り込み制御装
置によりマイクロ・プロセッサのホルト命令を解除した
場合、システム・クロックを、ホルト命令実行以前の周
期に復帰させることを特微とした、マイクロ・プロセッ
サのパワー・セーブ制御装置。
A microprocessor, storage devices and peripheral devices connected to the microprocessor's system bus signals, a system clock variable device for varying the microprocessor's system clock, and a system clock variable device for varying the microprocessor's operating state. and an interrupt control device that prompts the microprocessor to restart, and slows down the system clock while the microprocessor is executing a halt instruction to save power of the microprocessor. A power saving control device for a microprocessor, characterized in that when the halt instruction of the microprocessor is canceled by the interrupt control device, the system clock is returned to the cycle before the execution of the halt instruction.
JP1151458A 1989-06-13 1989-06-13 Microprocessor power save controller Pending JPH0314111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1151458A JPH0314111A (en) 1989-06-13 1989-06-13 Microprocessor power save controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1151458A JPH0314111A (en) 1989-06-13 1989-06-13 Microprocessor power save controller

Publications (1)

Publication Number Publication Date
JPH0314111A true JPH0314111A (en) 1991-01-22

Family

ID=15518998

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1151458A Pending JPH0314111A (en) 1989-06-13 1989-06-13 Microprocessor power save controller

Country Status (1)

Country Link
JP (1) JPH0314111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432947A (en) * 1992-05-22 1995-07-11 Sharp Kabushiki Kaisha Power control technique for a computer system to provide adjustable storage and non-storage access times and an adjustable processor idle time

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5432947A (en) * 1992-05-22 1995-07-11 Sharp Kabushiki Kaisha Power control technique for a computer system to provide adjustable storage and non-storage access times and an adjustable processor idle time

Similar Documents

Publication Publication Date Title
US6775786B2 (en) Method and apparatus for power mode transition in a multi-thread processor
US5083266A (en) Microcomputer which enters sleep mode for a predetermined period of time on response to an activity of an input/output device
US5586332A (en) Power management for low power processors through the use of auto clock-throttling
US6006336A (en) Real-time power conservation for computers
EP0579369B1 (en) Central processing unit with reduced power consumption
US4084233A (en) Microcomputer apparatus
EP0421431B1 (en) A computer system with a sleep function
JPH07295694A (en) Power saving method for arithmetic processing unit
JPH1153049A (en) Computer system
JPH0314111A (en) Microprocessor power save controller
JP2667411B2 (en) Personal computer
JPH0883133A (en) Computer system and clock control method thereof
JP4054448B2 (en) Programmable controller
JP2684813B2 (en) Microcomputer
JP3302149B2 (en) Computer system
JPH10301658A (en) Computer
JPS6316315A (en) Automatic power supply cut-off system
JPH023217B2 (en)
JPH0478909A (en) Personal computer and microprocessor
JPH05241694A (en) Method for changing operational speed of computer
JPH04195316A (en) power saving circuit
JPH07141297A (en) Portable electronic equipment and its control signal processing method
JPS6158019A (en) Power keeping device
JPH0447734U (en)
JPH1196019A (en) Method for controlling interruption