JP4586645B2 - Control circuit, information processing apparatus, and control method - Google Patents

Control circuit, information processing apparatus, and control method Download PDF

Info

Publication number
JP4586645B2
JP4586645B2 JP2005178334A JP2005178334A JP4586645B2 JP 4586645 B2 JP4586645 B2 JP 4586645B2 JP 2005178334 A JP2005178334 A JP 2005178334A JP 2005178334 A JP2005178334 A JP 2005178334A JP 4586645 B2 JP4586645 B2 JP 4586645B2
Authority
JP
Japan
Prior art keywords
power supply
access target
target device
processing unit
central processing
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.)
Expired - Fee Related
Application number
JP2005178334A
Other languages
Japanese (ja)
Other versions
JP2006350845A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2005178334A priority Critical patent/JP4586645B2/en
Publication of JP2006350845A publication Critical patent/JP2006350845A/en
Application granted granted Critical
Publication of JP4586645B2 publication Critical patent/JP4586645B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、中央処理装置がアクセス可能なアクセス対象装置を制御するための制御回路、該制御回路を備えた情報処理装置、及び制御方法に関する。   The present invention relates to a control circuit for controlling an access target apparatus accessible by a central processing unit, an information processing apparatus including the control circuit, and a control method.

現在、パーソナルコンピュータ等の情報処理装置において、消費電力を抑制する技術が普及している(例えば、特許文献1及び特許文献2参照)。   Currently, techniques for suppressing power consumption are widespread in information processing apparatuses such as personal computers (see, for example, Patent Document 1 and Patent Document 2).

特許文献1の技術によれば、CPUの内部クロックを停止することによりCPUの消費電力を低減するためのストップクロック信号を備えたCPUを有し、このストップクロック信号を一定間隔でアサートすることによって、見かけ上のCPUの動作速度を低減すると共にCPUの消費電流を低減させている。   According to the technique of Patent Document 1, a CPU having a stop clock signal for reducing the power consumption of the CPU by stopping the internal clock of the CPU is provided, and the stop clock signal is asserted at regular intervals. The apparent operating speed of the CPU is reduced and the current consumption of the CPU is reduced.

また、特許文献2の技術によれば、アクセス頻度の低いバスへのクロック周波数を低下させることによって、消費電力を低減させている。
特開平8―328684号公報 特開2000―66654号公報
Further, according to the technique of Patent Document 2, the power consumption is reduced by lowering the clock frequency to a bus with low access frequency.
Japanese Patent Laid-Open No. 8-328684 JP 2000-66654 A

情報処理装置では、ブート時に起動ディスクに記憶されているブートコードを読取りOSをメモリへとロードしているが、このブートコードを記憶しているデバイスには、ブート時にCPUによりアクセスされた後にはアクセスされないにもかかわらず、電力供給が継続して行われている。上記従来技術によって、消費される電力の低減は図れるが、CPUによるアクセスの無い状態のデバイスへの電力供給は継続して実行されるため、情報処理装置本体に電力が供給されているだけでCPUによる処理が実行されていない場合であっても電力が消費されるという問題があった。   In the information processing apparatus, the boot code stored in the startup disk is read at the time of booting and the OS is loaded into the memory. The device storing this boot code is accessed after being accessed by the CPU at the time of booting. Despite not being accessed, power supply continues. Although the power consumption can be reduced by the above-described conventional technology, the power supply to the device without access by the CPU is continuously executed. Therefore, the CPU is simply supplied with power to the information processing apparatus main body. There is a problem that power is consumed even when the process according to the above is not executed.

本発明は、上述した問題を解決するためになされたものであり、消費電力を低減することが可能な制御回路、情報処理装置、及び制御方法を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a control circuit, an information processing apparatus, and a control method capable of reducing power consumption.

請求項1の制御回路は、各種データ処理を行う中央処理装置から該中央処理装置がアクセス可能なアクセス対象装置へ、前回アクセス信号が出力されてから経過した時間を計測する計測手段と、前記計測手段によって予め定めた所定時間が計測されたときに、前記アクセス対象装置へ電力を供給する電力供給手段による該アクセス対象装置への電力供給を停止するように該電力供給手段を制御する停止制御手段と、電力供給を停止された前記アクセス対象装置に対して、前記中央処理装置から、前記アクセス対象装置をアクセス対象とすることを示すチップセレクト信号が出力されたことを検出する検出手段と、前記検出手段によって前記チップセレクト信号が検出されたときに、前記中央処理装置を、該中央処理装置から前記アクセス対象装置へのアクセスを待機する待機状態とした後に、該アクセス対象装置への電力供給を開始するように前記電力供給手段を制御し、該アクセス対象装置への電力供給が開始された後に前記中央処理装置の前記待機状態を解除する開始制御手段と、を備えている。 The control circuit according to claim 1 includes a measuring unit that measures a time elapsed since a previous access signal was output from a central processing unit that performs various data processing to an access target device accessible by the central processing unit, and the measurement Stop control means for controlling the power supply means to stop the power supply to the access target apparatus by the power supply means for supplying power to the access target apparatus when a predetermined time is measured by the means Detecting means for detecting that a chip select signal indicating that the access target device is an access target is output from the central processing unit to the access target device whose power supply is stopped; When the chip select signal is detected by the detecting means, the central processing unit is connected to the access target from the central processing unit. The power supply means is controlled to start power supply to the access target device after the standby state for waiting for access to the device, and the central processing is performed after power supply to the access target device is started. Start control means for releasing the standby state of the apparatus .

請求項1に記載の制御回路の計測手段は、各種データ処理を行うCPU等の中央処理装置から中央処理装置がアクセス可能な周辺機器等のアクセス対象装置へ、前回アクセス信号が出力されてから経過した時間を計測する。停止制御手段は、計測手段によって、前回アクセス信号が出力されてから経過した時間として予め定めた所定時間が計測されたときに、アクセス対象装置への電力供給を停止するように、アクセス対象装置へ電力を供給する電力供給手段を制御する。   The measuring means of the control circuit according to claim 1 has elapsed since the last access signal was output from a central processing unit such as a CPU that performs various data processing to an access target device such as a peripheral device accessible by the central processing unit. Time. The stop control means sends the access target device to stop the power supply to the access target device when a predetermined time is measured as a time elapsed since the last access signal was output by the measuring means. The power supply means for supplying power is controlled.

このように、中央処理装置から所定時間アクセスの無いアクセス対象装置への電力供給を停止するように、アクセス対象装置へ電力を供給する電力供給手段を制御することができるので、アクセス対象装置によって消費される電力を低減することができる。   In this way, the power supply means for supplying power to the access target device can be controlled so that the power supply from the central processing unit to the access target device that has not been accessed for a predetermined time can be controlled. Power to be reduced.

また、中央処理装置からアクセス対象装置へチップセレクト信号が出力されたときに、アクセス対象装置への電力供給を開始し、中央処理装置からアクセス対象装置へのアクセス信号の出力が所定時間無いときには、アクセス対象装置への電力供給を停止することができるので、アクセス対象装置によって消費される電力を効果的に低減することができる。 Further , when a chip select signal is output from the central processing unit to the access target device, power supply to the access target device is started, and when there is no output of the access signal from the central processing unit to the access target device, Since the power supply to the access target device can be stopped, the power consumed by the access target device can be effectively reduced.

請求項の制御回路は、請求項に記載の制御回路において、前記開始制御手段は、前記計測手段によって予め定めた所定時間が計測されたときに、前記中央処理装置と前記アクセス対象装置との間を信号授受不可能な状態または信号授受可能な状態に切替える切替手段を、該信号授受不可能な状態となるように制御し、前記検出手段によって前記チップセレクト信号が検出されたときに、前記中央処理装置を前記待機状態とした後に、該アクセス対象装置への電力供給を開始するように前記電力供給手段を制御するとともに前記信号授受可能な状態となるように前記切替手段を制御し、該アクセス対象装置への電力供給が開始され且つ前記中央処理装置と前記アクセス対象装置との間が信号授受可能な状態に切り替えられた後に、前記中央処理装置の前記待機状態を解除する。
このため、アクセス対象装置への電力供給が停止されたときに、アクセス対象装置に信号が入力されることを防ぐことができる。
The control circuit according to claim 2 is the control circuit according to claim 1 , wherein when the predetermined time is measured by the measurement unit, the start control unit is configured to execute the central processing unit and the access target device. The switching means for switching between the state in which the signal cannot be exchanged or the state in which the signal can be exchanged is controlled so that the signal cannot be exchanged, and when the chip select signal is detected by the detection means, After setting the central processing unit to the standby state, the power supply unit is controlled to start power supply to the access target device and the switching unit is controlled to be in a state where the signal can be exchanged, After the power supply to the access target device is started and the central processing unit and the access target device are switched to a state in which signals can be exchanged, the center Releasing the waiting state of the management device.
For this reason, it is possible to prevent a signal from being input to the access target device when power supply to the access target device is stopped.

また、アクセス対象装置への電力供給が開始されたときに、中央処理装置からアクセス対象装置へのアクセスが可能となるように制御することができる。 Further, it is possible when the power supply to the access target device is started, to control the central processing unit so as to allow access to the access target device.

なお、請求項に示すように、請求項1または請求項2に記載の制御回路を、中央処理装置と、アクセス対象装置と、電力供給手段と、を備えた情報処理装置に備えるようにすれば、消費電力を効率よく低減可能な情報処理装置を提供することができる。 As shown in claim 3 , the control circuit according to claim 1 or 2 is provided in an information processing apparatus including a central processing unit, an access target device, and power supply means. Thus, it is possible to provide an information processing apparatus that can efficiently reduce power consumption.

なお、次の制御方法によって、アクセス対象装置によって消費される電力を低減することができる。詳細には、請求項の制御方法は、各種データ処理を行う中央処理装置から該中央処理装置がアクセス可能なアクセス対象装置へ、前回アクセス信号が出力されてから経過した時間を計測する計測工程と、予め定めた所定時間が計測されたときに、前記アクセス対象装置へ電力を供給する電力供給手段による該アクセス対象装置への電力供給を停止するように該電力供給手段を制御する停止制御工程と、電力供給を停止された前記アクセス対象装置に対して、前記中央処理装置から、前記アクセス対象装置をアクセス対象とすることを示すチップセレクト信号が出力されたことを検出する検出工程と、前記チップセレクト信号が検出されたときに、前記中央処理装置を該中央処理装置から前記アクセス対象装置へのアクセスを待機する待機状態とした後に、該アクセス対象装置への電力供給を開始するように前記電力供給手段を制御し、該アクセス対象装置への電力供給が開始された後に前記中央処理装置の前記待機状態を解除する開始制御工程と、を含むことを特徴とする。 Note that the power consumed by the access target device can be reduced by the following control method. Specifically, the control method according to claim 4 is a measuring step of measuring a time elapsed since the last access signal was output from a central processing unit that performs various data processing to an access target device accessible by the central processing unit. And a stop control step of controlling the power supply means to stop the power supply to the access target device by the power supply means for supplying power to the access target device when a predetermined time is measured. And a detection step of detecting that a chip select signal indicating that the access target device is an access target is output from the central processing unit to the access target device whose power supply has been stopped, and When a chip select signal is detected, the central processing unit waits for access from the central processing unit to the access target device. Then, the power supply means is controlled to start power supply to the access target device, and after the power supply to the access target device is started, start to release the standby state of the central processing unit And a control step .

本発明に係る制御回路、情報処理装置、及び制御方法は、中央処理装置から所定時間アクセスの無いアクセス対象装置への電力供給を停止するように、アクセス対象装置へ電力を供給する電力供給手段を制御することができるので、アクセス対象装置によって消費される電力を低減することができる、という効果を奏する。   The control circuit, the information processing apparatus, and the control method according to the present invention include a power supply unit that supplies power to the access target apparatus so as to stop power supply from the central processing unit to the access target apparatus that has not been accessed for a predetermined time. Since it can be controlled, the power consumed by the access target device can be reduced.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1に示すように、情報処理装置10は、情報処理装置10全体を制御するための中央処理装置としてのCPU12、バスコントローラ14、デバイス18、デバイス18に電力を供給するための電源供給回路26、電源供給回路26から各種デバイス18へ電力が供給されたことを検出するための電源検出回路28、電源供給回路26からデバイス18への電力供給及び電力供給停止を制御するための電源制御回路30、及びデバイス18を制御するための制御回路24を備えている。   As illustrated in FIG. 1, the information processing apparatus 10 includes a CPU 12 as a central processing unit for controlling the entire information processing apparatus 10, a bus controller 14, a device 18, and a power supply circuit 26 for supplying power to the device 18. , A power detection circuit 28 for detecting that power is supplied from the power supply circuit 26 to the various devices 18, and a power control circuit 30 for controlling power supply from the power supply circuit 26 to the device 18 and power supply stoppage. And a control circuit 24 for controlling the device 18.

デバイス18の一例には、不揮発性メモリ及び揮発性メモリ等の各種機器があり、デバイス18には複数種のデバイスが含まれるものとし、本実施の形態では、デバイス18は、複数種のデバイスを含むものとして説明する。   An example of the device 18 includes various devices such as a nonvolatile memory and a volatile memory. The device 18 includes a plurality of types of devices. In the present embodiment, the device 18 includes a plurality of types of devices. It will be described as including.

CPU12は、データバスやアドレスバス等のバス16を介してバスコントローラ14との間でデータやコマンドを授受可能に接続されている。バスコントローラ14は、バス20によってバス解放バッファ22を介して、デバイス18との間でデータやコマンドを授受可能に接続されている。制御回路24は、バスコントローラ14、バス解放バッファ22、デバイス18、電源検出回路28、及び電源制御回路30各々にデータやコマンドを授受可能に接続されている。電源供給回路26は、デバイス18へ電力供給可能に接続されると共に、電源制御回路30及び電源検出回路28各々を介して制御回路24とデータやコマンドを授受可能に接続されている。   The CPU 12 is connected so as to be able to exchange data and commands with the bus controller 14 via a bus 16 such as a data bus or an address bus. The bus controller 14 is connected to the device 18 via the bus 20 via the bus release buffer 22 so as to be able to exchange data and commands. The control circuit 24 is connected to the bus controller 14, the bus release buffer 22, the device 18, the power supply detection circuit 28, and the power supply control circuit 30 so as to be able to exchange data and commands. The power supply circuit 26 is connected so as to be able to supply power to the device 18, and is connected to the control circuit 24 through the power supply control circuit 30 and the power supply detection circuit 28 so as to be able to exchange data and commands.

バスコントローラ14は、CPU12から入力されたアクセス信号に基づいて、デバイス18との間でバス20を介してデータやコマンドを授受すると共に、CPU12から入力されたアクセス信号に基づいて、制御回路24との間でデータやコマンドを授受する。   The bus controller 14 exchanges data and commands with the device 18 via the bus 20 based on the access signal input from the CPU 12, and the control circuit 24 based on the access signal input from the CPU 12. Send and receive data and commands.

制御回路24は、主に、CPU12からバスコントローラ14を介して入力されたアクセス信号に基づいて、バスコントローラ14、バス解放バッファ22、電源制御回路30、及びデバイス18を制御する(詳細後述)。   The control circuit 24 mainly controls the bus controller 14, the bus release buffer 22, the power supply control circuit 30, and the device 18 based on an access signal input from the CPU 12 via the bus controller 14 (details will be described later).

電源供給回路26は、デバイス18へ電力を供給し、制御回路24による電源制御回路30の制御によって、デバイス18への電力供給または電力供給停止が制御される。   The power supply circuit 26 supplies power to the device 18, and power supply to the device 18 or power supply stoppage is controlled by the control of the power supply control circuit 30 by the control circuit 24.

電源検出回路28は、電源供給回路26からデバイス18へ電力が供給されたことを検出し、デバイス18への電力供給を検出したときに、電力供給開始を示すリセット信号を制御回路24へ出力する。   The power detection circuit 28 detects that power is supplied from the power supply circuit 26 to the device 18, and outputs a reset signal indicating the start of power supply to the control circuit 24 when power supply to the device 18 is detected. .

バス解放バッファ22は、制御回路24による制御によって、バス20をHigh―Z状態またはドライブ状態の何れかに切り替る。詳細には、バス解放バッファ22は、制御回路24から入力されるアウトプットイネーブル(/OE:Output Enable)信号(以下、/OE信号と記す)に基づいて、バス20をHigh―Z状態またはドライブ状態の何れかに切替える。具体的には、この/OE信号がローレベルのとき(/OE信号をアサートしたとき)には、バス20はドライブ状態となり、バスコントローラ14とデバイス18とはデータや信号授受可能に接続された状態(ドライブ状態)となる。一方、/OE信号がハイレベルのとき(/OE信号をネゲートしたとき)には、バス20はHigh―Z状態となり、バスコントローラ14とデバイス18とはデータや信号の授受が不可能な状態となる。   The bus release buffer 22 switches the bus 20 to either the High-Z state or the drive state under the control of the control circuit 24. Specifically, the bus release buffer 22 sets the bus 20 in a High-Z state or a drive based on an output enable (/ OE) signal (hereinafter referred to as an / OE signal) input from the control circuit 24. Switch to one of the states. Specifically, when the / OE signal is at a low level (when the / OE signal is asserted), the bus 20 is in a drive state, and the bus controller 14 and the device 18 are connected to be able to exchange data and signals. State (drive state). On the other hand, when the / OE signal is at a high level (when the / OE signal is negated), the bus 20 is in a High-Z state, and the bus controller 14 and the device 18 are in a state in which data and signals cannot be exchanged. Become.

次に制御回路24で実行される処理について説明する。   Next, processing executed by the control circuit 24 will be described.

制御回路24では、CPU12からデバイス18へ前回アクセス信号が出力されてから経過した時間を計測し、計測時間が所定時間以上となるまで否定判断を繰り返し、肯定されるとステップ102へ進む。ステップ100の判断によって、CPU12からデバイス18へのアクセスが所定時間以上無いか否かを判別することができる。   The control circuit 24 measures the time that has elapsed since the last access signal was output from the CPU 12 to the device 18, and repeats negative determination until the measurement time exceeds a predetermined time. Based on the determination in step 100, it is possible to determine whether or not the CPU 12 has not accessed the device 18 for a predetermined time.

この所定時間は、制御回路24内に予め記憶されるようにすればよい。なお、この所定時間は、バス16にデータ授受可能に接続された図示を省略したユーザインターフェースのユーザによる操作によって、変更されるようにしてもよい。また、CPU12による変更指示によって変更されるようにしてもよい。   The predetermined time may be stored in the control circuit 24 in advance. The predetermined time may be changed by an operation by a user of a user interface (not shown) connected to the bus 16 so as to be able to exchange data. Moreover, you may make it change by the change instruction | indication by CPU12.

なお、CPU12からデバイス18へ前回アクセス信号が出力されてから経過した時間の計測は、制御回路24内部に時間計測のためのタイマを内蔵するようにし、このタイマによって計測するようにすればよく、またCPU12に内蔵されているタイマまたはソフトプログラムタイマーを用いて計測するようにしてもよい。CPU12に内蔵されているタイマを用いるようにすれば、制御回路24の小型化を図ることができる。   Note that the time elapsed since the last access signal was output from the CPU 12 to the device 18 may be measured by using a timer for measuring time in the control circuit 24. Alternatively, measurement may be performed using a timer built in the CPU 12 or a soft program timer. If a timer built in the CPU 12 is used, the control circuit 24 can be downsized.

ステップ102では、デバイス18への電力供給停止が可能か否かを判断する。ステップ102の判断は、予め制御回路24内にデバイス18への電力供給を停止する事が可能であることを示す情報を記憶するようにし、この情報が記憶されているか否かを判別することによって判断可能である。なお、このデバイス18への電力供給を停止する事が可能であることを示す情報は、図示を省略したユーザインターフェースのユーザによる操作指示やCPU12の制御によって変更されるようにすればよい。また、デバイス18への電力供給を停止する事が可能であることを示す情報は、情報処理装置10本体に設けられたディップスイッチ(図示省略)によって設定可能としてもよい。この場合、ステップ102の判断は、ディップスイッチの状態を判別することによって判断可能である。   In step 102, it is determined whether power supply to the device 18 can be stopped. In step 102, information indicating that the power supply to the device 18 can be stopped is stored in the control circuit 24 in advance, and it is determined whether or not this information is stored. Judgment is possible. Information indicating that the power supply to the device 18 can be stopped may be changed by an operation instruction by a user of a user interface (not shown) or by control of the CPU 12. Information indicating that the power supply to the device 18 can be stopped may be set by a dip switch (not shown) provided in the information processing apparatus 10 main body. In this case, the determination in step 102 can be made by determining the state of the dip switch.

次のステップ104では、バス解放バッファ22へ/OE信号をアサートする。ステップ104の処理によって、バス20はHigh―Z状態となり、バスコントローラ14とデバイス18とはデータや信号の授受が不可能な状態となる。   In the next step 104, the / OE signal is asserted to the bus release buffer 22. By the processing in step 104, the bus 20 is in a High-Z state, and the bus controller 14 and the device 18 are unable to exchange data or signals.

次のステップ106では、デバイス18への電力供給を停止するように、電源制御回路30を制御した後に、本ルーチンを終了する。電源制御回路30の制御によって、電源供給回路26からデバイス18への電力供給が停止される。   In the next step 106, the power supply control circuit 30 is controlled so as to stop the power supply to the device 18, and then this routine is terminated. Under the control of the power supply control circuit 30, the power supply from the power supply circuit 26 to the device 18 is stopped.

上記ステップ100からステップ106の処理が実行されることによって、所定時間以上CPU12からのアクセスが無いデバイス18への電力供給が停止されると共に、バスコントローラ14とデバイス18とはデータや信号の授受が不可能な状態となる。   By executing the processing from step 100 to step 106, the power supply to the device 18 that has not been accessed by the CPU 12 for a predetermined time or more is stopped, and the bus controller 14 and the device 18 exchange data and signals. It becomes impossible.

次に、上記ステップ100からステップ106の処理が実行されることによって、CPU12によるアクセスが所定時間以上無いデバイス18への電力供給が停止されると、制御回路24において、図3に示す処理ルーチンが実行されてステップ200へ進む。   Next, when the power supply to the device 18 that has not been accessed by the CPU 12 for a predetermined time or more is stopped by executing the processing from the step 100 to the step 106, the processing routine shown in FIG. The process proceeds to step 200.

ステップ200では、電力供給が停止されたデバイス18へCPU12からアクセスが発生するまで否定判断を繰り返し、肯定されるとステップ202へ進む。ステップ200の判断は、CPU12からバスコントローラ14へアクセス信号が入力されて、アクセス信号に基づく信号がバスコントローラ14から入力されたか否かを判別することによって判断可能である。バスコントローラ14から入力されるアクセス信号に基づく信号には、CPU12のアクセス対象となるデバイスを示すチップセレクト信号(以下、/CS信号という)、デバイスの読取りまたは書込みを指示するための信号(以下、/RW信号という)、及び(/OE信号)等がある。   In step 200, the negative determination is repeated until the CPU 12 is accessed to the device 18 whose power supply has been stopped. The determination in step 200 can be made by determining whether an access signal is input from the CPU 12 to the bus controller 14 and a signal based on the access signal is input from the bus controller 14. The signal based on the access signal input from the bus controller 14 includes a chip select signal (hereinafter referred to as a / CS signal) indicating a device to be accessed by the CPU 12, and a signal for instructing reading or writing of the device (hereinafter referred to as a “device”) / RW signal) and (/ OE signal).

ステップ202では、バスコントローラ14に対してWait信号をアサートする。ステップ202の処理によって、バスコントローラ14にWait信号がアサートされるので、CPU12によるデバイス18へのアクセスは待機状態となる。   In step 202, the Wait signal is asserted to the bus controller 14. Since the Wait signal is asserted to the bus controller 14 by the process of step 202, the access to the device 18 by the CPU 12 is in a standby state.

次のステップ204では、電力供給が停止されているデバイス18への電力供給を開始するための指示信号を電源制御回路30へ出力する。電源制御回路30は、デバイス18への電力供給を開始するための指示信号が入力されると、デバイス18への電力供給を開始するように電源供給回路26を制御する。ステップ204の処理によって、デバイス18への電力供給が開始される。   In the next step 204, an instruction signal for starting power supply to the device 18 whose power supply has been stopped is output to the power supply control circuit 30. When an instruction signal for starting power supply to the device 18 is input, the power supply control circuit 30 controls the power supply circuit 26 to start power supply to the device 18. By the processing in step 204, power supply to the device 18 is started.

次のステップ206では、電源供給回路26からデバイス18へ電力供給が開始されたことを示すリセット信号が電源検出回路28から入力されるまで否定判断を繰り返し、肯定されるとステップ208へ進む。   In the next step 206, negative determination is repeated until a reset signal indicating that power supply from the power supply circuit 26 to the device 18 has been started is input from the power supply detection circuit 28.

ステップ208では、バス解放バッファ22へ/OE信号をアサートすることによってバス解放バッファ22(バス20)をHigh―Z状態からドライブ状態へと遷移させる。   In step 208, the bus release buffer 22 (bus 20) is transitioned from the High-Z state to the drive state by asserting the / OE signal to the bus release buffer 22.

次のステップ210では、上記ステップ200で入力された/CS信号をデバイス18へアサートする。   In the next step 210, the / CS signal input in step 200 is asserted to the device 18.

上記ステップ208及びステップ210の処理が実行されることによって、High―Z状態に遷移されていたバス20がドライブ状態へと遷移されると共に、制御回路24からデバイス18へ/CS信号がドライブされる。このため、バスコントローラ14からデバイス18へバス20を介して、上記ステップ200の処理においてCPU12からバスコントローラ14へ入力されたアクセス信号の内のアドレス信号及び/CS信号を除いた信号がデバイス18へアサートされる。   By executing the processing of step 208 and step 210 described above, the bus 20 that has been changed to the High-Z state is changed to the drive state, and the / CS signal is driven from the control circuit 24 to the device 18. . For this reason, the signal excluding the address signal and the / CS signal among the access signals input from the CPU 12 to the bus controller 14 in the processing of step 200 via the bus 20 from the bus controller 14 to the device 18 is sent to the device 18. Asserted.

次のステップ212では、デバイス18の予め定められたアクセス時間が経過するまで否定判断を繰り返し、肯定されるとステップ214へ進む。   In the next step 212, a negative determination is repeated until a predetermined access time of the device 18 elapses.

予め定められたアクセス時間は、デバイス18における読取りまたは書込み等のアクセスに必要な時間であり、予め計測され設定されているものとする。   The predetermined access time is a time required for access such as reading or writing in the device 18, and is measured and set in advance.

次のステップ214では、バスコントローラ14に対してWait信号をネゲートすることによって、CPU12の待機状態を解除する。 In the next step 214, the wait state of the CPU 12 is canceled by negating the Wait signal to the bus controller 14.

次のステップ216では、バスコントローラ14が/CS信号をネゲートするタイミングで、デバイス18への/CS信号をネゲートした後に、本ルーチンを終了する。   In the next step 216, after the / CS signal to the device 18 is negated at the timing when the bus controller 14 negates the / CS signal, this routine is finished.

以上説明したように、本発明の情報処理装置10によれば、所定時間以上CPU12からデバイス18へのアクセスが無いときに、デバイス18への電力供給を停止するので、消費電力を低減することができる。   As described above, according to the information processing apparatus 10 of the present invention, the power supply to the device 18 is stopped when there is no access from the CPU 12 to the device 18 for a predetermined time or more, so that power consumption can be reduced. it can.

また、所定時間以上CPU12からデバイス18へのアクセスが無いときに、バスコントローラ14とデバイス18とをデータや信号授受可能に接続するバス20をドライブ状態からHhigh―Z状態へと切替えることができるので、デバイス18の破壊を防止することができる。   Further, when the CPU 12 has not accessed the device 18 for a predetermined time or longer, the bus 20 that connects the bus controller 14 and the device 18 so as to be able to exchange data and signals can be switched from the drive state to the High-Z state. The device 18 can be prevented from being broken.

また、デバイス18への電力供給停止時にCPU12からデバイス18へのアクセスが発生した場合には、制御回路24は、CPU12を待機状態にしてデバイス18への電力供給を開始した後に、バス20をHigh―Z状態からドライブ状態へと切替え、デバイス18のアクセス時間が経過した後に、CPU12の待機状態を解除するので、デバイス18の破壊を防止しつつ、CPU12によるアクセスが発生したときにのみデバイス18への電力供給を開始してCPU12によるアクセスを可能とすることができる。   If access from the CPU 12 to the device 18 occurs when power supply to the device 18 is stopped, the control circuit 24 sets the CPU 12 in a standby state and starts supplying power to the device 18. Since the standby state of the CPU 12 is released after switching from the Z state to the drive state and the access time of the device 18 elapses, the device 18 is prevented from being destroyed, and only when the access by the CPU 12 occurs. The power supply can be started to enable access by the CPU 12.

なお、本発明に係る情報処理装置は、本発明を実現する構成を備えたものであればよく、上述した情報処理装置の構成に限定されるものではない。   Note that the information processing apparatus according to the present invention is not limited to the above-described configuration of the information processing apparatus as long as it has a configuration for realizing the present invention.

本発明の実施の形態に係る情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which concerns on embodiment of this invention. デバイスへの電力供給停止時に、制御回路24で実行される処理を示すフローチャートである。4 is a flowchart illustrating processing executed by a control circuit 24 when power supply to a device is stopped. デバイスへの電力供給を停止した後に、CPUからデバイスへのアクセスが発生したときに、制御回路24で実行される処理を示すフローチャートである。6 is a flowchart illustrating processing executed by a control circuit when an access to a device occurs from a CPU after stopping power supply to the device.

符号の説明Explanation of symbols

10 情報処理装置
14 バスコントローラ
24 制御回路
26 電源供給回路
28 電源検出回路
30 電源制御回路
DESCRIPTION OF SYMBOLS 10 Information processing apparatus 14 Bus controller 24 Control circuit 26 Power supply circuit 28 Power supply detection circuit 30 Power supply control circuit

Claims (4)

各種データ処理を行う中央処理装置から該中央処理装置がアクセス可能なアクセス対象装置へ、前回アクセス信号が出力されてから経過した時間を計測する計測手段と、
前記計測手段によって予め定めた所定時間が計測されたときに、前記アクセス対象装置へ電力を供給する電力供給手段による該アクセス対象装置への電力供給を停止するように該電力供給手段を制御する停止制御手段と、
電力供給を停止された前記アクセス対象装置に対して、前記中央処理装置から、前記アクセス対象装置をアクセス対象とすることを示すチップセレクト信号が出力されたことを検出する検出手段と、
前記検出手段によって前記チップセレクト信号が検出されたときに、前記中央処理装置を該中央処理装置から前記アクセス対象装置へのアクセスを待機する待機状態とした後に、該アクセス対象装置への電力供給を開始するように前記電力供給手段を制御し、該アクセス対象装置への電力供給が開始された後に前記中央処理装置の前記待機状態を解除する開始制御手段と、
を備えた制御回路。
Measuring means for measuring the time elapsed since the last access signal was output from the central processing unit performing various data processing to the access target device accessible by the central processing unit;
A stop for controlling the power supply means to stop the power supply to the access target device by the power supply means for supplying power to the access target device when a predetermined time is measured by the measurement means. Control means;
Detecting means for detecting that a chip select signal indicating that the access target device is an access target is output from the central processing unit to the access target device whose power supply is stopped;
When the chip selection signal is detected by the detection means, the central processing unit is placed in a standby state for waiting for access from the central processing unit to the access target device, and then the power supply to the access target device is performed. Start control means for controlling the power supply means to start, and releasing the standby state of the central processing unit after power supply to the access target device is started;
Control circuit with.
前記開始制御手段は、
前記計測手段によって予め定めた所定時間が計測されたときに、前記中央処理装置と前記アクセス対象装置との間を信号授受不可能な状態または信号授受可能な状態に切替える切替手段を、該信号授受不可能な状態となるように制御し、
前記検出手段によって前記チップセレクト信号が検出されたときに、前記中央処理装置を前記待機状態とした後に、該アクセス対象装置への電力供給を開始するように前記電力供給手段を制御するとともに前記信号授受可能な状態となるように前記切替手段を制御し、該アクセス対象装置への電力供給が開始され且つ前記中央処理装置と前記アクセス対象装置との間が信号授受可能な状態に切り替えられた後に、前記中央処理装置の前記待機状態を解除する、
請求項1に記載の制御回路。
The start control means includes
Switching means for switching between the central processing unit and the access target device to a state in which a signal cannot be exchanged or a state in which a signal can be exchanged when the predetermined time is measured by the measurement means; Control it to be impossible,
When the detection unit detects the chip select signal, the power supply unit is controlled to start the power supply to the access target device after the central processing unit is set to the standby state, and the signal After controlling the switching means so as to be in a state where it can be transmitted and received, after power supply to the access target device is started and switching between the central processing unit and the access target device into a state where signals can be transmitted and received , Canceling the standby state of the central processing unit,
The control circuit according to claim 1 .
請求項1または請求項2に記載の制御回路と、
前記中央処理装置と、
前記アクセス対象装置と、
前記電力供給手段と、
を備えた情報処理装置。
The control circuit according to claim 1 or 2 ,
The central processing unit;
The access target device;
The power supply means;
An information processing apparatus comprising:
各種データ処理を行う中央処理装置から該中央処理装置がアクセス可能なアクセス対象装置へ、前回アクセス信号が出力されてから経過した時間を計測する計測工程と、
予め定めた所定時間が計測されたときに、前記アクセス対象装置へ電力を供給する電力供給手段による該アクセス対象装置への電力供給を停止するように該電力供給手段を制御する停止制御工程と、
電力供給を停止された前記アクセス対象装置に対して、前記中央処理装置から、前記アクセス対象装置をアクセス対象とすることを示すチップセレクト信号が出力されたことを検出する検出工程と、
前記チップセレクト信号が検出されたときに、前記中央処理装置を該中央処理装置から前記アクセス対象装置へのアクセスを待機する待機状態とした後に、該アクセス対象装置への電力供給を開始するように前記電力供給手段を制御し、該アクセス対象装置への電力供給が開始された後に前記中央処理装置の前記待機状態を解除する開始制御工程と、
を含む制御方法。
A measurement process for measuring the time elapsed since the last access signal was output from the central processing unit that performs various data processing to the access target device accessible by the central processing unit,
A stop control step of controlling the power supply means to stop the power supply to the access target device by the power supply means for supplying power to the access target device when a predetermined time is measured;
A detection step of detecting that a chip select signal indicating that the access target device is an access target is output from the central processing unit to the access target device whose power supply is stopped;
When the chip select signal is detected, the central processing unit is placed in a standby state for waiting for access from the central processing unit to the access target device, and then power supply to the access target device is started. A start control step of controlling the power supply means and releasing the standby state of the central processing unit after power supply to the access target device is started;
Control method.
JP2005178334A 2005-06-17 2005-06-17 Control circuit, information processing apparatus, and control method Expired - Fee Related JP4586645B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005178334A JP4586645B2 (en) 2005-06-17 2005-06-17 Control circuit, information processing apparatus, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005178334A JP4586645B2 (en) 2005-06-17 2005-06-17 Control circuit, information processing apparatus, and control method

Publications (2)

Publication Number Publication Date
JP2006350845A JP2006350845A (en) 2006-12-28
JP4586645B2 true JP4586645B2 (en) 2010-11-24

Family

ID=37646584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005178334A Expired - Fee Related JP4586645B2 (en) 2005-06-17 2005-06-17 Control circuit, information processing apparatus, and control method

Country Status (1)

Country Link
JP (1) JP4586645B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5244759B2 (en) * 2009-10-05 2013-07-24 京セラドキュメントソリューションズ株式会社 Information processing apparatus and image forming apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61223916A (en) * 1985-03-28 1986-10-04 Nec Corp Power source control system
JPH07271682A (en) * 1994-03-28 1995-10-20 Matsushita Electric Works Ltd Power source backup device of memory
JPH07325650A (en) * 1994-05-31 1995-12-12 Sharp Corp Information terminal device
JPH0844622A (en) * 1994-07-29 1996-02-16 Hitachi Ltd Information processor
JPH096490A (en) * 1995-06-20 1997-01-10 Hitachi Ltd Microcomputer and data processing unit
JP2002207541A (en) * 2001-01-05 2002-07-26 Hitachi Ltd Microcomputer and data processor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61223916A (en) * 1985-03-28 1986-10-04 Nec Corp Power source control system
JPH07271682A (en) * 1994-03-28 1995-10-20 Matsushita Electric Works Ltd Power source backup device of memory
JPH07325650A (en) * 1994-05-31 1995-12-12 Sharp Corp Information terminal device
JPH0844622A (en) * 1994-07-29 1996-02-16 Hitachi Ltd Information processor
JPH096490A (en) * 1995-06-20 1997-01-10 Hitachi Ltd Microcomputer and data processing unit
JP2002207541A (en) * 2001-01-05 2002-07-26 Hitachi Ltd Microcomputer and data processor

Also Published As

Publication number Publication date
JP2006350845A (en) 2006-12-28

Similar Documents

Publication Publication Date Title
TWI528162B (en) Computer system and operating system switching method thereof
JP3994071B2 (en) Computer apparatus, system operating state switching control method, and program
US9225343B2 (en) Electronics device capable of efficient communication between components with asyncronous clocks
JP4164073B2 (en) Computer with multi-function power button and related method
KR101406493B1 (en) Computer having flash memory and operating method of flash memory
TW200422819A (en) Method and apparatus for controlling a data processing system during debug
TW201011524A (en) Method and controller for power management
EP3332306B1 (en) System and method for cache aware low power mode control in a portable computing device
US9389667B2 (en) Shortening resume time from a power-saving state
JP2009295144A (en) Information processing apparatus and method for controlling information processing apparatus
US8683249B2 (en) Switching a processor and memory to a power saving mode when waiting to access a second slower non-volatile memory on-demand
JP2007140942A (en) Information processor and processor control method
JP2008090435A (en) Information processor and control method therefor
JP2011095916A (en) Electronic apparatus
US9959075B2 (en) System and method for flush power aware low power mode control in a portable computing device
JP2006259903A (en) Information processing device and starting method
JP4770283B2 (en) Memory control device and memory control method
US20120233451A1 (en) Method for fast resuming computer system and computer system
EP3293610B1 (en) Information processing apparatus, control method thereof, and program
JP4586645B2 (en) Control circuit, information processing apparatus, and control method
JP4295204B2 (en) Magnetic disk device power control method, program, power control device, and electronic information device
US10042650B2 (en) Computer startup method, startup apparatus, state transition method and state transition apparatus
US20120084576A1 (en) Information processing apparatus and power supply control method
JP6703049B2 (en) Information processing apparatus and method of controlling information processing apparatus
US7457943B2 (en) Controller, image processing apparatus, and method of controlling execution of program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100223

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100426

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100823

R150 Certificate of patent or registration of utility model

Ref document number: 4586645

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130917

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees