JPH04195316A - Power saving circuit - Google Patents

Power saving circuit

Info

Publication number
JPH04195316A
JPH04195316A JP2322385A JP32238590A JPH04195316A JP H04195316 A JPH04195316 A JP H04195316A JP 2322385 A JP2322385 A JP 2322385A JP 32238590 A JP32238590 A JP 32238590A JP H04195316 A JPH04195316 A JP H04195316A
Authority
JP
Japan
Prior art keywords
clock
control circuit
power
supply
circuit
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
JP2322385A
Other languages
Japanese (ja)
Inventor
Toshihiko Makino
俊彦 牧野
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2322385A priority Critical patent/JPH04195316A/en
Publication of JPH04195316A publication Critical patent/JPH04195316A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a wait time and to the processing speed from decreasing by starting supplying electric power or a clock prior to the operation start of a device according to a detection signal indicating that a CPU reads a specific area of a memory. CONSTITUTION:The CPU 1 sends an address and a read signal to the memory 7 when reading a vector. When a detecting circuit 8 detects a vector for placing a device A2a in operation being read from the address and read signal, a control signal A is outputted to a control circuit A4a. The control circuit supplies the electric power or clock from a supply source A3a to the device A2a. When the detecting circuit 8 detects a vector for placing a device B2b in operation being read, the control circuit operates similarly. A control circuit B4b which receives a control signal B supplies the electric power or clock from a supply source B3b to the device B2b.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、電池駆動の情報処理装置における省電力回路
に間するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a power saving circuit in a battery-powered information processing device.

(従来の技術) 電池駆動の情報処理装置では、電池による動作時間を延
ばすことを目的として、消費電力の低減を図る工夫をし
ている。
(Prior Art) In battery-powered information processing devices, efforts have been made to reduce power consumption in order to extend the operating time of the device using batteries.

電子機器では、様々な機能を持った複数のデバイスが組
み合わされて一つの装置が構成されているが、これらの
デバイスが常に動作しているのではなく、その機能が必
要なときのみ動作する。しかし、消費電力は、デバイス
が動作をしている時も動作していない時も変わらない。
In electronic equipment, multiple devices with various functions are combined to form a single device, but these devices do not operate all the time, but operate only when their functions are required. However, power consumption remains the same whether the device is operating or not.

そこで、動作していないデバイスの電源やクロックを切
ることにより、消費電力を低減する方式が採られてきた
Therefore, methods have been adopted to reduce power consumption by turning off the power and clock of devices that are not operating.

第5図は、その省電力方式を示したもので、1はCPU
、2はデバイス、3は電源又はクロック供給源(以下単
に供給源という)、4はその供給源3からデバイス2に
対する電源又はクロックの供給・停止の制御を行う電源
又はクロック制御回路(以下単に制御回路という)であ
る。デバイス2が動作していない時は、CPUIから制
御回路4に電源又はクロックの切断を指示することで、
供給源3からデバイス2への電源又はクロックの供給を
停止する。これにより、デバイス2での電力消費をなく
することができる。デバイス2が動作するときは、CP
UIが予め制御回路4に対し電源又はクロックの供給を
指示することで、供給が開始され、デバイス2は動作可
能となる。
Figure 5 shows the power saving method, where 1 indicates the CPU
, 2 is a device, 3 is a power supply or clock supply source (hereinafter simply referred to as a supply source), and 4 is a power supply or clock control circuit (hereinafter simply referred to as a control circuit) that controls the supply/stop of power or clock from the supply source 3 to the device 2. circuit). When the device 2 is not operating, the CPU instructs the control circuit 4 to turn off the power or clock.
The supply of power or clock from the supply source 3 to the device 2 is stopped. Thereby, power consumption in the device 2 can be eliminated. When device 2 operates, CP
When the UI instructs the control circuit 4 in advance to supply power or clock, the supply is started and the device 2 becomes operational.

CPUIから制御回路4への指示は、通常、ソフトウェ
アによる制御信号で行われる。しかしながら、この制御
信号のための命令が追加されることになるので、ソフト
ウェアの変更が必要になり、又その変更が大きな負担と
なる欠点があった。
Instructions from the CPUI to the control circuit 4 are normally given using control signals by software. However, since a command for this control signal is added, it is necessary to change the software, and the change has the drawback of being a heavy burden.

このような欠点を解消するために、ソフトウェアに負担
をかけずに、ハードウェアで制御回路4に指示を与える
方式もある。第6図は、その方式を示したもので、第5
図と同一符号のものは同一のものを表わしている。ここ
では、制御回路4に指示を与える信号をアクセス検出回
路5により作成する。即ち、CPUIとデバイス2との
間の信号を監視して、デバイス2が動作する、つまりC
PUIからデバイス2に対しアクセスされたことをアク
セス検出回路5が検出し、それに基づいて制御回路4に
指示信号を与えることにより、デバイス2への電源又は
クロックの供給が開始される。
In order to overcome these drawbacks, there is a method in which instructions are given to the control circuit 4 using hardware without placing a burden on the software. Figure 6 shows the method.
Items with the same reference numerals as those in the figures represent the same items. Here, a signal giving an instruction to the control circuit 4 is generated by the access detection circuit 5. That is, by monitoring the signal between the CPUI and the device 2, the device 2 operates, that is, the C
The access detection circuit 5 detects that the device 2 is accessed from the PUI, and based on this, provides an instruction signal to the control circuit 4, thereby starting supply of power or clock to the device 2.

しかしながら、この方式の場合、CPUIがデバイス2
をアクセスする時に所定時間待つ必要がある。つまり、
電源又はクロックは、第7図及び第8図に示したように
、アクセスがあって、制御回路4が電源等の供給を指示
する信号を受けとってから実際にデバイス2が動作でき
るようになるまで、即ち、電源又はクロックが安定する
まで、1時間かかってしまう。このため、CPU1は、
デバイス2をアクセスしようとするとき、1時間待つ必
要があり、CPUIが待つためのWait回路6が更に
必要となる。このように、この方式では回路が複雑にな
り、また、T時間待たされることにより実行速度が低下
するという問題があった。
However, in this method, the CPUI is
It is necessary to wait a predetermined period of time when accessing. In other words,
As shown in FIGS. 7 and 8, the power supply or clock is accessed and the control circuit 4 receives a signal instructing the supply of power, etc., until the device 2 can actually operate. In other words, it takes one hour for the power supply or clock to stabilize. For this reason, CPU1
When attempting to access the device 2, it is necessary to wait for one hour, and a Wait circuit 6 for the CPUI to wait is also required. As described above, this method has the problem that the circuit becomes complicated and the execution speed decreases due to waiting time T.

(発明が解決しようとする課題) 本発明は、上記従来技術の問題点を解決するもので、従
来からのソフトウェアの変更を行う必要がなく、簡単な
回路で、かつ実行速度の低下もない省電力回路を提供す
ることを目的とする。
(Problems to be Solved by the Invention) The present invention solves the above-mentioned problems of the prior art. It is a simple circuit that does not require changes to conventional software, and does not reduce execution speed. The purpose is to provide power circuits.

(課題を解決するための手段) この目的を達成するために、本発明は、情報処理装置を
構成する少なくとも一部のブロックに対して電源又はク
ロックの供給を制御する制御回路と、CPUがメモリ上
の1又は複数の特定領域を読みに行ったことを検出して
特定領域毎に信号を出力する検出回路とを備え、検出回
路から出力された信号により制御回路を駆動し、電源又
はクロックの供給を開始させる構成とするものである。
(Means for Solving the Problem) In order to achieve this object, the present invention includes a control circuit that controls the supply of power or a clock to at least some blocks constituting an information processing device, and a control circuit that controls the supply of power or a clock to at least some blocks that constitute an information processing device, and It is equipped with a detection circuit that detects that one or more of the above specific areas has been read and outputs a signal for each specific area, and the control circuit is driven by the signal output from the detection circuit, and the power supply or clock The configuration is such that supply starts.

また、特定領域を割込みベクタ部とするものである。Further, the specific area is used as an interrupt vector section.

(作 用) 上記構成によれば、CPUがメモリ上の特定領域を読み
に行ったことを検出し、その検出信号に基づいて、デバ
イスの動作開始に先立って電源又はクロックの供給を開
始するので、待ち時間を必要とせず、勿論、ソフトウェ
アの変更もない。
(Function) According to the above configuration, it is detected that the CPU has read a specific area on the memory, and based on the detection signal, the supply of power or clock is started before the device starts operating. , no waiting time required, and of course no software changes.

(実施例) 以下、図面に基づいて実施例を詳細に説明する。(Example) Hereinafter, embodiments will be described in detail based on the drawings.

先ず、情報処理装置のソフトウェアは、一般に第2図に
示したような構成になっている。即ち、装置を構成する
ハードウェア11を動作させるBIO312があり、そ
の上位に0313が存在し、その上位にアプリケーショ
ン14がある。アプリケーション14からハードウェア
11を直接操作することはなく、0313又は一部BI
O312を通してハードウェアIIに対して動作を要求
する。アプリケーション14が0313又はBIO31
2に要求を出すときは、INT XX (XXは数字)
という特定の命令で、xxの箇所に特定のデバイスに対
する数字を与えることで実行できる。
First, the software of an information processing device generally has a configuration as shown in FIG. That is, there is a BIO 312 that operates the hardware 11 constituting the device, a 0313 exists above it, and an application 14 exists above it. There is no direct operation of the hardware 11 from the application 14, and 0313 or some BI
Requests an operation to hardware II through O312. Application 14 is 0313 or BIO31
When making a request to 2, enter INT XX (XX is a number)
This can be executed by specifying a number for a specific device in place of xx in the specific command.

さらに第3図は、メモリ7上にアプリケーション14、
BIO312,0813がどのように存在しているかを
示したもので、ベクタ15と共にそれぞれ別々に配置さ
れている。BIO812とベクタ15は機器によって固
定されている。ここで、ベクタとは、アプリケーション
14がINTXXの命令を発行したときに、ソフトウェ
アの実行処理がアプリケーション14からBIO312
又は0313ヘジヤンプするが、このジャンプする場所
を表わすデータが格納されている。
Furthermore, FIG. 3 shows that an application 14 is stored on the memory 7,
This shows how the BIOs 312 and 0813 exist, and are arranged separately together with the vector 15. BIO 812 and vector 15 are fixed by the device. Here, vector means that when the application 14 issues an INTXX command, the software execution process is transferred from the application 14 to the BIO 312.
Or 0313 jump, but data representing the jump location is stored.

第4図は、アプリケーション14がデバイス使用要求し
たときの動作フローを示したもので、アプリケーション
上でデバイスの使用要求が起こると(21)、アプリケ
ーションはINTXXの命令を発行してBiO2又はO
8にデバイス動作を要求する(22)。次に、CPUは
INT XX(7)命令によるジャンプ先を、INTX
XにおけるXXの数字に対応したベクタ箇所から読んで
くる(23)。
FIG. 4 shows the operation flow when the application 14 requests the use of a device. When a device use request occurs on the application (21), the application issues an INTXX command and
8 to request device operation (22). Next, the CPU sets the jump destination by the INT XX (7) instruction to INT
It reads from the vector location corresponding to the number XX in X (23).

CPUはジャンプできるようにレジスター値の退避など
の処理を行う(24)。この後、BiO2又はOSヘジ
ャンプする(25)。ジャンプしたBiO2又はO8の
中でデバイスを動作させる処理を開始しく26)、そし
て動作が終了する(27)、次いで、アプリケーション
にソフトウェアの実行処理が戻るためにCPUが処理を
行い(28)、そしてジャンプ先へ戻る(29)、アプ
リケーションはデバイスを使用した結果を受は取り(3
0)、次の処理へ移る(31)。
The CPU performs processing such as saving register values in order to be able to jump (24). After this, jump to BiO2 or OS (25). The process of operating the device in the jumped BiO2 or O8 is started 26), and the operation is finished (27).Then, the CPU performs processing in order to return the software execution process to the application (28), and Return to jump destination (29), the application receives and receives the results of using the device (3)
0), and moves on to the next process (31).

第5図や第6図の従来技術では、第4図におけるフロー
の(26)の段階で、ソフトウェアやハードウェアによ
りデバイスへの電源又はクロックの供給開始を行ってい
るため、実際にデバイスが動作可能となるまで待たなけ
ればならなかった。しかし、本発明では、(23)の段
階で、デバイスへの電源又はクロックの供給を開始して
、(26)で待つ必要がないようにしたものである。
In the conventional techniques shown in Figures 5 and 6, the supply of power or clock to the device is started by software or hardware at step (26) of the flow in Figure 4, so the device actually operates. I had to wait until it was possible. However, in the present invention, the supply of power or clock to the device is started at step (23) so that there is no need to wait at step (26).

第1図は、本発明の一実施例を示したもので、lはCP
U、2a、2bはデバイスA及びB、3a。
FIG. 1 shows an embodiment of the present invention, where l is CP
U, 2a, 2b are devices A and B, 3a.

3bは電源又はクロックの供給源A及びB、4a。3b are power or clock supply sources A and B, 4a;

4bはデバイスに対する電源又はクロックの供給・停止
の制御を行う制御回路A及びB、7は第3図に示すメモ
リ、8はベクタ15の読込みを検出する検出回路である
Reference numeral 4b designates control circuits A and B that control supply/stop of power or clock to the device, 7 a memory shown in FIG. 3, and 8 a detection circuit that detects reading of the vector 15.

第4図の(23)で、CPUIがベクタを読みにくると
きはメモリ7に対してアドレスとリード信号を発行する
。そこで検出回路8がアドレスとリード信号からデバイ
スA2aを動作させるベクタを読みにきたことを検出し
たときは、制御信号Aを制御回路A4aに出力する。制
御信号Aを受けた制御回路A4aは、供給源A3aから
の電源又はクロックをデバイスA2aに供給する。検出
回路8がデバイスB2bを動作させるベクタを読みにき
たことを検出したときも同様に動作する。即ち、検出回
路8から制御信号Bを出力し、その制御信号Bを受けた
制御回路B4bは供給源B3bからの電源又はクロック
をデバイスB2bに供給する。
At (23) in FIG. 4, when the CPUI comes to read the vector, it issues an address and a read signal to the memory 7. When the detection circuit 8 detects that the vector for operating the device A2a is read from the address and read signal, it outputs the control signal A to the control circuit A4a. The control circuit A4a that has received the control signal A supplies the power or clock from the supply source A3a to the device A2a. The same operation occurs when the detection circuit 8 detects that it has come to read the vector for operating the device B2b. That is, the control circuit B4b which outputs the control signal B from the detection circuit 8 and receives the control signal B supplies the power or clock from the supply source B3b to the device B2b.

本実施例では、動作状態から電源又はクロックの供給停
止状態にする構成にはなっていないが、第4図の(27
)のデバイス動作終了時に、制御回路AやBに対して電
源又はクロックの供給停止の信号を与えたり、一定時間
デバイスA、Bの動作がない時に、供給停止状態にする
ようにすればよい。
In this embodiment, the configuration is not such that the power supply or clock supply is stopped from the operating state, but (27) in FIG.
) at the end of the device operation, a signal to stop the supply of power or clock may be given to the control circuits A and B, or when the devices A and B do not operate for a certain period of time, the supply may be stopped.

(発明の効果) 以上説明したように、本発明によれば、(1)ソフトウ
ェアの変更や負担がないため、ソフトウェアの互換性が
維持できる。
(Effects of the Invention) As explained above, according to the present invention, (1) software compatibility can be maintained because there is no change or burden on software;

(2)動作開始に際し、待ち時間がないので、処理速度
の低下を防止することができる。
(2) Since there is no waiting time when starting the operation, it is possible to prevent a decrease in processing speed.

(3)待つための回路が必要でないため、ハードウェア
の構成が簡単になる、 等の効果を奏するものである。
(3) Since no waiting circuit is required, the hardware configuration is simplified.

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

第1図は、本発明の一実施例のブロック図、第2図は、
情報処理装置のソフトウェアの構成図、第3図は、メモ
リ上のアプリケーション、BrO3、O8及びベクタの
配置図、第4図は、アプリケーションがデバイス使用要
求したときの動作を示すフローチャート、第5図及び第
6図は、それぞれ従来技術における省電力方式を示すブ
ロック図、第7図及び第8図は、従来技術における電源
又はクロックが安定するまでの待ち時間を示す図である
。 1−CPU、 2a、2b−・デバイ、7.A、B。 3a、3b・・・電源又はクロック供給源A、B。 4a、4b・・・電源又はクロック制御回路A、B、7
 ・・・メモリ、 8 ・・・検出回路。 特許出願人   株式会社 リ コー 第2図 第3図 第4図 第5図
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is a configuration diagram of the software of the information processing device; FIG. 3 is a layout diagram of the application, BrO3, O8, and vectors on the memory; FIG. 4 is a flowchart showing the operation when the application requests device use; FIGS. FIG. 6 is a block diagram showing a power saving method in the prior art, and FIGS. 7 and 8 are diagrams showing the waiting time until the power supply or clock becomes stable in the prior art. 1-CPU, 2a, 2b--Debye, 7. A, B. 3a, 3b...Power or clock supply sources A, B. 4a, 4b...power supply or clock control circuit A, B, 7
...Memory, 8...Detection circuit. Patent applicant Ricoh Co., Ltd. Figure 2 Figure 3 Figure 4 Figure 5

Claims (2)

【特許請求の範囲】[Claims] (1)情報処理装置を構成する少なくとも一部のブロッ
クに対して電源又はクロックの供給を制御する制御回路
と、CPUがメモリ上の1又は複数の特定領域を読みに
行ったことを検出して特定領域毎に信号を出力する検出
回路とを備え、前記検出回路から出力された信号により
前記制御回路を駆動し、電源又はクロックの供給を開始
させることを特徴とする省電力回路。
(1) A control circuit that controls the supply of power or clock to at least some of the blocks constituting the information processing device, and a control circuit that detects that the CPU reads one or more specific areas on the memory. 1. A power-saving circuit comprising: a detection circuit that outputs a signal for each specific area; and the control circuit is driven by the signal output from the detection circuit to start supplying power or a clock.
(2)特定領域が割込みベクタ部であることを特徴とす
る請求項(1)記載の省電力回路。
(2) The power saving circuit according to claim (1), wherein the specific area is an interrupt vector section.
JP2322385A 1990-11-28 1990-11-28 Power saving circuit Pending JPH04195316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2322385A JPH04195316A (en) 1990-11-28 1990-11-28 Power saving circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2322385A JPH04195316A (en) 1990-11-28 1990-11-28 Power saving circuit

Publications (1)

Publication Number Publication Date
JPH04195316A true JPH04195316A (en) 1992-07-15

Family

ID=18143070

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2322385A Pending JPH04195316A (en) 1990-11-28 1990-11-28 Power saving circuit

Country Status (1)

Country Link
JP (1) JPH04195316A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112309A (en) * 1997-04-23 2000-08-29 International Business Machines Corp. Computer system, device and operation frequency control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6112309A (en) * 1997-04-23 2000-08-29 International Business Machines Corp. Computer system, device and operation frequency control method

Similar Documents

Publication Publication Date Title
US5586332A (en) Power management for low power processors through the use of auto clock-throttling
US4949241A (en) Microcomputer system including a master processor and a slave processor synchronized by three control lines
US7356717B2 (en) Information processing apparatus with central processing unit and main memory having power saving mode, and power saving controlling method
EP0419908A2 (en) Computer system with a sleep mode function
JPH0667768A (en) Method for operating processor of type including bus unit and executing unit, central processing unit, computer system and clock control device circuit
JP2002215597A (en) Multiprocessor device
JPH10228340A (en) Electronic device
US5515539A (en) Apparatus and method for reducing power consumption by peripheral devices after downloading a program therefrom
JP3437238B2 (en) Computer, computer system and control method thereof
JPH1153049A (en) Computer system
JPH04195316A (en) Power saving circuit
JPH0789346B2 (en) DMA controller
JP2667411B2 (en) Personal computer
JPH0883133A (en) Computer system and clock control method for the same
JPH09138720A (en) Display controller
JP2000285227A (en) Information processor and control method therefor
JPS60263395A (en) Microprocessor
JP2001184304A (en) Automatic command packet receiving sequence circuit
JP3231683B2 (en) Serial data transfer method and device
JP3302149B2 (en) Computer system
JPH0264725A (en) Semiconductor integrated circuit device
JPH0876876A (en) Clock supply control circuit of microprocessor
JPH1153224A (en) Watch dog timer and microcomputer
JPS63298657A (en) Ipl system
JP2000298585A (en) System and method for rewriting rom