JP6071790B2 - Setting processing execution apparatus, setting processing execution method, and program - Google Patents

Setting processing execution apparatus, setting processing execution method, and program Download PDF

Info

Publication number
JP6071790B2
JP6071790B2 JP2013158611A JP2013158611A JP6071790B2 JP 6071790 B2 JP6071790 B2 JP 6071790B2 JP 2013158611 A JP2013158611 A JP 2013158611A JP 2013158611 A JP2013158611 A JP 2013158611A JP 6071790 B2 JP6071790 B2 JP 6071790B2
Authority
JP
Japan
Prior art keywords
setting process
setting
execution
processing
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013158611A
Other languages
Japanese (ja)
Other versions
JP2015031967A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2013158611A priority Critical patent/JP6071790B2/en
Publication of JP2015031967A publication Critical patent/JP2015031967A/en
Application granted granted Critical
Publication of JP6071790B2 publication Critical patent/JP6071790B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、プロセッサ装置が含まれるシステムにおいて電力制御を行う技術に関する。   The present invention relates to a technique for performing power control in a system including a processor device.

現在の電力制御では、電力制御以外の処理を行うメインのプロセッサ装置が、当該プロセッサ装置に接続された各種ハードウェア装置(以下、H/W装置ともいう)の消費電力が必要最小限になるようモード設定を実行する。
メインのプロセッサ装置は、電力制御処理以外の本来の機能処理を行うため高性能にする必要があり、このため、プロセッサ装置の消費電力が大きい場合が多い。
H/W装置の電力制御だけが行われる場合でも、電力制御のためにメインのプロセッサ装置を動作させる必要があり、結果として、消費電力を余分に使用してしまうという課題がある。
In current power control, a main processor device that performs processing other than power control is required to minimize the power consumption of various hardware devices (hereinafter also referred to as H / W devices) connected to the processor device. Perform mode setting.
The main processor device needs to have high performance in order to perform the original function processing other than the power control processing, and thus the power consumption of the processor device is often large.
Even when only the power control of the H / W device is performed, it is necessary to operate the main processor device for the power control, and as a result, there is a problem that power consumption is excessively used.

また、電力制御のための専用の電力制御部を追加して電力制御を行う構成も開示されているが、下記の課題がある。   Moreover, although the structure which adds a dedicated power control part for power control and performs power control is also disclosed, there exists the following subject.

例えば、特許文献1の技術では、H/W装置の初期化処理、終了処理を、プロセッサ装置が行う必要がある。
このため、H/W装置の初期化処理や終了処理が複雑で時間がかかる場合には、実際には待ち処理しかない場合でもプロセッサ装置を動作させる必要があり、結局プロセッサ装置を稼動させている時間が長くなり、初期化処理や終了処理時の消費電力を増大させる。
For example, in the technique of Patent Document 1, the processor device needs to perform initialization processing and termination processing of the H / W device.
For this reason, when the initialization processing and termination processing of the H / W device are complicated and time consuming, it is necessary to operate the processor device even when there is actually only waiting processing, and the processor device is eventually operated. The time is increased, and the power consumption during the initialization process and the end process is increased.

また、特許文献2の技術では、プロセッサ装置とは別に設けられた電力制御処理を行う電力制御部が開示されているが、H/W装置の初期化処理が複雑な場合は、電力制御部の規模を大きくする必要がある。
また、電力制御部は常にH/W装置を監視するため、電力制御部が常に稼動している必要があり、電力制御部の消費電力が大きくなる。
In the technique of Patent Document 2, a power control unit that performs power control processing provided separately from the processor device is disclosed. However, when the initialization processing of the H / W device is complicated, the power control unit It is necessary to increase the scale.
Further, since the power control unit constantly monitors the H / W device, the power control unit needs to be constantly operated, and the power consumption of the power control unit increases.

特開2006−172059号公報JP 2006-172059 A 特開2000−112585号公報JP 2000-112585 A

以上のように、これまでの技術では、一つの専用の電力制御部やメインのプロセッサ装置にて電力制御を実施していた。
そのため、H/W装置の初期化処理や終了処理やモード変更処理が複雑な場合や待ち処理が長くなる場合等には、初期化処理等のためだけに電力制御部が稼動する時間が長くなり、あるいは、初期化処理等のためだけにプロセッサ装置が稼動する時間が長くなり、消費電力を大きくしてしまう。
As described above, in the conventional techniques, power control is performed by one dedicated power control unit or main processor device.
Therefore, when the initialization process, termination process, and mode change process of the H / W device are complicated, or when the waiting process becomes long, the time for which the power control unit operates only for the initialization process or the like becomes long. Alternatively, the time for which the processor device operates only for initialization processing or the like becomes long, and power consumption increases.

本発明は、このような課題を解決することを主な目的としており、プロセッサ装置が含まれるシステムにおいて、省電力化を図ることを主な目的とする。   The main object of the present invention is to solve such a problem, and the main object is to save power in a system including a processor device.

本発明に係る設定処理実行装置は、
プロセッサ装置と、前記プロセッサ装置により制御されるハードウェア装置とに接続され、電力消費モードを通常モードと省電力モードとの間で切替えることが可能な設定処理実行装置であって、
前記ハードウェア装置への電力供給開始後の初期化処理時及び電力供給停止前の終了処理時の少なくともいずれかにおいて、前記ハードウェア装置に対する設定処理の実行を指示する設定処理指示を前記プロセッサ装置から受信する指示受信部と、
前記指示受信部により前記設定処理指示が受信された場合に、前記プロセッサ装置に代わって、前記ハードウェア装置の初期化処理時の設定処理及び終了処理時の設定処理の少なくともいずれかを実行する設定処理実行部とを有し、
前記指示受信部により前記設定処理指示が受信されるまでは省電力モードを維持し、前記指示受信部により前記設定処理指示が受信された後は通常モードに移行し、前記設定処理実行部により設定処理の実行が完了すると省電力モードに移行することを特徴とする。
The setting process execution device according to the present invention is:
A setting processing execution device that is connected to a processor device and a hardware device controlled by the processor device and is capable of switching a power consumption mode between a normal mode and a power saving mode,
At least one of an initialization process after starting power supply to the hardware device and an end process before stopping power supply, a setting process instruction for instructing the hardware device to execute a setting process is sent from the processor device. An instruction receiving unit for receiving,
Setting for executing at least one of a setting process at the initialization process and a setting process at the end process of the hardware device in place of the processor device when the setting processing instruction is received by the instruction receiving unit A processing execution unit,
The power saving mode is maintained until the setting processing instruction is received by the instruction receiving unit. After the setting processing instruction is received by the instruction receiving unit, the mode is changed to the normal mode, and the setting processing execution unit sets the setting processing instruction. When the execution of the process is completed, the mode is shifted to the power saving mode.

本発明では、ハードウェア装置の初期化処理時又は終了処理時に、設定処理実行装置が省電力モードから通常モードに移行して、プロセッサ装置に代わってハードウェア装置の初期化処理時の設定処理又は終了処理時の設定処理を実行し、設定処理の実行が完了すると省電力モードに移行する。
このため、ハードウェア装置の初期化処理時又は終了処理時に、プロセッサ装置を省電力モードにすることができ、プロセッサ装置の省電力化を図ることができ、また、ハードウェア装置の初期化処理時又は終了処理時のみ設定処理実行装置を通常モードにするので、設定処理実行装置の省電力化も図ることができる。
In the present invention, at the time of initialization processing or termination processing of the hardware device, the setting processing execution device shifts from the power saving mode to the normal mode, and the setting processing at the time of initialization processing of the hardware device instead of the processor device or The setting process at the end process is executed, and when the execution of the setting process is completed, the mode shifts to the power saving mode.
Therefore, at the time of initialization processing or termination processing of the hardware device, the processor device can be put into the power saving mode, power saving of the processor device can be achieved, and at the time of initialization processing of the hardware device. Alternatively, since the setting process execution device is set to the normal mode only during the end process, the power saving of the setting process execution device can be achieved.

実施の形態1に係るシステム構成例を示す図。FIG. 3 is a diagram illustrating an example of a system configuration according to the first embodiment. 実施の形態1に係る電力制御装置の構成例を示す図。FIG. 3 is a diagram illustrating a configuration example of a power control device according to the first embodiment. 実施の形態2に係る電力制御装置の構成例を示す図。FIG. 4 is a diagram illustrating a configuration example of a power control device according to a second embodiment. 実施の形態3に係る設定処理実行部の構成例を示す図。FIG. 10 is a diagram illustrating a configuration example of a setting process execution unit according to a third embodiment. 実施の形態1に係る電力制御装置をサブCPUで実現する場合のシステム構成例を示す図。The figure which shows the system structural example in the case of implement | achieving the power control apparatus which concerns on Embodiment 1 by sub CPU. 実施の形態4に係るシステム構成例を示す図。FIG. 10 is a diagram illustrating an example of a system configuration according to a fourth embodiment. 実施の形態1に係るCPUの動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of a CPU according to the first embodiment. 実施の形態1に係る電力制御装置の動作例を示すフローチャート図。FIG. 3 is a flowchart showing an operation example of the power control apparatus according to the first embodiment.

以下の実施の形態では、システムの消費電力を最小限に保つ必要のある電池駆動の電子回路や携帯端末、ASIC(Application Specific Integrated Circuit)などにおいて低消費電力化制御を行う構成を説明する。
つまり、製品(システム)内に電力制御を行うプロセッサあるいは回路を設け、さらに電力制御の対象となる機能や回路に加え、電力制御を行うプロセッサや回路も含めてシステム全体として消費電力が低い状態をより長く保ち、システム全体としての低消費電力化を図る構成を説明する。
In the following embodiments, a configuration for performing low power consumption control in a battery-driven electronic circuit, a portable terminal, an ASIC (Application Specific Integrated Circuit), or the like that needs to keep the power consumption of the system to a minimum will be described.
In other words, a processor or circuit that performs power control is provided in the product (system), and in addition to the functions and circuits that are subject to power control, the power consumption of the entire system, including the processor and circuit that performs power control, is low. A configuration for keeping the power longer and reducing the power consumption of the entire system will be described.

より具体的な構成としては、例えば、電力制御を行う簡易プロセッサ装置かFPGA(Field Programmable Gate Array)内の一部のブロック内に必要最小限の部分と時間だけ電源ONに設定される機構(以下、電力制御装置という)を設け、この簡易プロセッサ装置又はFPGA内の回路がH/W装置に対する処理を行う。
電力制御装置はメインのプロセッサ装置より小型で消費電力が小さいものとする。
As a more specific configuration, for example, a simple processor device that performs power control or a mechanism that is set to turn on the power only for the minimum necessary part and time in some blocks in an FPGA (Field Programmable Gate Array) (hereinafter, The simple processor device or the circuit in the FPGA performs processing for the H / W device.
The power control device is smaller than the main processor device and consumes less power.

メインのプロセッサ装置は、電力消費モードを通常モードと省電力モードとの間で切替えることができる。
また、電力制御装置も、電力消費モードを通常モードと省電力モードとの間で切替えることができる。
通常モードは、メインのプロセッサ装置又は電力制御装置が通常の機能を発揮するように動作する際の動作モードである。
省電力モードは、例えばスリープモードであり、メインのプロセッサ装置又は電力制御装置が制限された機能で動作する際の動作モードであり、通常モードよりも消費電力が低い。
メインのプロセッサ装置の処理を必要としている場合は、電力制御装置の電源をOFFにして(電力制御装置を省電力モードにして)、メインのプロセッサ装置がH/W装置に対する処理を行う。
メインのプロセッサ装置の処理が必要無い場合はメインのプロセッサ装置の電源をOFFにして(プロセッサ装置を省電力モードにして)、電力制御装置の電源をONにして(電力制御装置を通常モードにして)、電力制御装置がH/Wに対する処理を行う。
The main processor device can switch the power consumption mode between the normal mode and the power saving mode.
Further, the power control apparatus can also switch the power consumption mode between the normal mode and the power saving mode.
The normal mode is an operation mode when the main processor device or the power control device operates so as to exhibit a normal function.
The power saving mode is, for example, a sleep mode, which is an operation mode when the main processor device or the power control device operates with a limited function, and consumes less power than the normal mode.
When processing of the main processor device is required, the power control device is turned off (the power control device is set to the power saving mode), and the main processor device performs processing for the H / W device.
When processing of the main processor device is not necessary, the main processor device is turned off (the processor device is set to the power saving mode), and the power control device is turned on (the power control device is set to the normal mode). ), The power control apparatus performs processing for H / W.

以上の方法により、システム全体の消費電力を削減して、電力制御を行うことができる。
また、待ち時間を伴わない設定処理は直列化して実行する必要があるが、イベント発生や時間を待つ設定処理は同一時間に多重化(並列化)しても問題ないため、多重化(並列化)を行うことにより設定処理の時間を短縮化することが可能になる。
以下の実施の形態では、設定処理の多重化(並列化)により、設定時間を短縮する電力制御装置を説明する。
このようにして設定時間を短縮することにより、消費電力をより小さくすることが可能である。
With the above method, power control can be performed while reducing power consumption of the entire system.
In addition, setting processing that does not involve waiting time must be executed serially, but setting processing that waits for an event occurrence or time can be multiplexed (parallelized) at the same time, so multiplexing (parallelization) It is possible to shorten the setting processing time.
In the following embodiments, a power control apparatus that shortens the setting time by multiplexing (parallelizing) setting processing will be described.
By shortening the setting time in this way, it is possible to reduce power consumption.

実施の形態1.
図1は、本実施の形態に係るシステム構成例を示す。
本実施の形態に係るシステムは、CPU(Central Processing Unit)200、電力制御装置100、複数のハードウェア装置301〜303がバス400で接続された構成を有する。
ハードウェア装置301〜303は、H/W装置301〜303とも表記する。
Embodiment 1 FIG.
FIG. 1 shows a system configuration example according to the present embodiment.
The system according to the present embodiment has a configuration in which a CPU (Central Processing Unit) 200, a power control device 100, and a plurality of hardware devices 301 to 303 are connected by a bus 400.
The hardware devices 301 to 303 are also expressed as H / W devices 301 to 303.

図1において、CPU200は、メインのプロセッサ装置である。
CPU200は、電力消費モードを省電力モードと通常モードとの間で切り替え可能である。
以下では、CPU200は、H/W装置301〜303への電力供給開始後の初期化処理時、H/W装置301〜303への電力供給停止前の終了処理時、H/W装置301〜303のモード変更処理時に、CPU200が通常モードであれば、省電力モードへ移行し、省電力モードであれば、省電力モードを維持することとする。
なお、H/W装置301〜303のモード変更処理とは、H/W装置301〜303における電力消費モードを切り替える処理である。
In FIG. 1, a CPU 200 is a main processor device.
The CPU 200 can switch the power consumption mode between the power saving mode and the normal mode.
In the following, the CPU 200 performs the initialization process after starting the power supply to the H / W devices 301 to 303, the end process before stopping the power supply to the H / W devices 301 to 303, and the H / W devices 301 to 303. During the mode change process, if the CPU 200 is in the normal mode, the mode shifts to the power saving mode. If the CPU 200 is in the power saving mode, the power saving mode is maintained.
The mode change process of the H / W devices 301 to 303 is a process of switching the power consumption mode in the H / W devices 301 to 303.

電力制御装置100も、電力消費モードを省電力モードと通常モードとの間で切り替え可能である。
電力制御装置100は、H/W装置301〜303の初期化処理時、終了処理時、モード変更処理時以外は省電力モードを維持し、初期化処理時、終了処理時、モード変更処理時において省電力モードから通常モードに移行する。
そして、電力制御装置100は、初期化処理時の設定処理、終了処理時の設定処理、モード変更処理の設定処理の完了後に省電力モードに移行する。
電力制御装置100は設定処理実行装置の例に相当する。
The power control apparatus 100 can also switch the power consumption mode between the power saving mode and the normal mode.
The power control apparatus 100 maintains the power saving mode except during initialization processing, termination processing, and mode change processing of the H / W devices 301 to 303, and during initialization processing, termination processing, and mode change processing. Transition from power saving mode to normal mode.
Then, the power control apparatus 100 shifts to the power saving mode after completing the setting process at the initialization process, the setting process at the end process, and the setting process of the mode change process.
The power control apparatus 100 corresponds to an example of a setting process execution apparatus.

H/W装置301〜303は、それぞれCPU200又は電力制御装置100の制御の対象となるハードウェアである。   The H / W devices 301 to 303 are hardware to be controlled by the CPU 200 or the power control device 100, respectively.

図2は、本実施の形態に係る電力制御装置100の内部構成例を示す。   FIG. 2 shows an internal configuration example of the power control apparatus 100 according to the present embodiment.

図2において、イベント蓄積管理部104は、イベントとして、CPU200から設定処理指示を受信する。
設定処理指示は、H/W装置301〜303の初期化処理時の設定処理、終了処理時の設定処理、モード変更処理時の設定処理の実行を指示するメッセージである。
イベント蓄積管理部104は、CPU200からの設定処理指示を蓄積する。
また、イベント蓄積管理部104は、H/W装置301〜303に対する設定処理の実行が完了した際に、設定処理の実行が完了したことを通知する設定処理実行完了通知をCPU200に送信する。
イベント蓄積管理部104は、指示受信部及び通知送信部の例である。
In FIG. 2, the event accumulation management unit 104 receives a setting process instruction from the CPU 200 as an event.
The setting process instruction is a message instructing execution of the setting process at the initialization process of the H / W devices 301 to 303, the setting process at the end process, and the setting process at the mode change process.
The event accumulation management unit 104 accumulates setting processing instructions from the CPU 200.
Further, when the execution of the setting process for the H / W devices 301 to 303 is completed, the event accumulation management unit 104 transmits a setting process execution completion notification for notifying that the execution of the setting process is completed to the CPU 200.
The event accumulation management unit 104 is an example of an instruction reception unit and a notification transmission unit.

イベント処理部105は、電力消費モードを通常モードと省電力モードとの間で切替えることが可能であり、設定処理指示が受信されるまでは省電力モードを維持し、設定処理指示が受信された後は通常モードに移行する。
また、後述するようにイベント処理部105がプログラムで実現されている場合は、イベント処理部105は、H/W装置に対する設定処理を実行するための複数のイベントを生成する。
イベント処理部105が生成するイベントは、H/W装置に対する設定処理の手順を具体化するイベントである。
イベント処理部105は、1つの設定処理指示に対して複数のイベントを生成する場合がある。
また、イベント処理部105は、複数のイベントの実行順序のスケジューリングを行い、スケジューリングが完了した後に省電力モードに移行する。
イベント間で順序制約がある場合とない場合がある。
順序制約がない場合は、イベント処理部105は、イベントの実行順序(イベントの蓄積順序)を変更することができる。
以下では、イベントとは、初期化・終了・モード変更の処理要求、処理完了通知、時間待ちの時間切れ、レジスタ設定処理の実行要求、実行完了通知、割り込み等である。
なお、イベント処理部105は、スケジューリング部の例に相当する。
The event processing unit 105 can switch the power consumption mode between the normal mode and the power saving mode, maintains the power saving mode until the setting processing instruction is received, and the setting processing instruction is received. After that, shift to normal mode.
As will be described later, when the event processing unit 105 is realized by a program, the event processing unit 105 generates a plurality of events for executing setting processing for the H / W device.
The event generated by the event processing unit 105 is an event that embodies the procedure of setting processing for the H / W device.
The event processing unit 105 may generate a plurality of events for one setting processing instruction.
In addition, the event processing unit 105 schedules the execution order of a plurality of events, and shifts to the power saving mode after the scheduling is completed.
There may or may not be an order constraint between events.
When there is no order restriction, the event processing unit 105 can change the event execution order (event accumulation order).
In the following, an event is an initialization / end / mode change processing request, a processing completion notification, a time-out timeout, a register setting processing execution request, an execution completion notification, an interrupt, or the like.
The event processing unit 105 corresponds to an example of a scheduling unit.

設定処理実行部101は、電力消費モードを通常モードと省電力モードとの間で切替えることが可能であり、イベント蓄積管理部104により設定処理指示が受信されるまでは省電力モードを維持し、イベント蓄積管理部104により設定処理指示が受信された後は通常モードに移行する。
そして、設定処理実行部101は、CPU200に代わって、H/W装置301の初期化処理時の設定処理、終了処理時の設定処理、H/W装置301のモード変更処理時の設定処理を実行し、設定処理の実行が完了した際に省電力モードに移行する。
The setting processing execution unit 101 can switch the power consumption mode between the normal mode and the power saving mode, and maintains the power saving mode until a setting processing instruction is received by the event accumulation management unit 104. After the setting processing instruction is received by the event accumulation management unit 104, the normal mode is entered.
Then, instead of the CPU 200, the setting processing execution unit 101 executes setting processing at the time of initialization processing of the H / W device 301, setting processing at the time of termination processing, and setting processing at the time of mode change processing of the H / W device 301. When the execution of the setting process is completed, the mode is shifted to the power saving mode.

設定処理実行部102は、H/W装置302を対象とし、設定処理実行部103は、H/W装置303を対象とする。
設定処理実行部102及び設定処理実行部103は、それぞれが対象としているH/W装置に対して設定処理実行部101と同様の動作を行う。
The setting process execution unit 102 targets the H / W device 302, and the setting process execution unit 103 targets the H / W device 303.
The setting process execution unit 102 and the setting process execution unit 103 perform the same operation as that of the setting process execution unit 101 for the target H / W device.

図7は、本実施の形態に係るCPU200の動作例を示す。
また、図8は、本実施の形態に係る電力制御装置100の動作例を示す。
図7及び図8を参照して、本実施の形態に係る動作例を説明する。
FIG. 7 shows an operation example of the CPU 200 according to the present embodiment.
FIG. 8 shows an operation example of the power control apparatus 100 according to the present embodiment.
An example of the operation according to the present embodiment will be described with reference to FIGS.

まず、CPU200において、H/W装置の初期化処理、終了処理、モード変更処理のいずれかかが必要であるかを判断する(S701)。
これらの処理のうちのいずれかが必要な場合(S701でYES)は、CPU200は、電力制御装置100に設定処理指示を送信する(S702)。
そして、CPU200は、現在通常モードである場合は、省電力モードに移行する(S703)。
また、CPU200が既に省電力モードである場合は、CPU200は省電力モードを維持する。
なお、S702で送信する設定処理指示には、電力制御装置100で実行させる設定処理の種類として、初期化処理時の設定処理、終了処理時の設定処理、モード変更処理時の設定処理のいずれかが記述され、また、H/W装置301〜303のうちのいずれが設定処理の対象となるかが記述されている。
First, the CPU 200 determines whether any of initialization processing, termination processing, and mode change processing of the H / W device is necessary (S701).
If any of these processes is necessary (YES in S701), the CPU 200 transmits a setting process instruction to the power control apparatus 100 (S702).
If the current mode is the normal mode, the CPU 200 shifts to the power saving mode (S703).
If the CPU 200 is already in the power saving mode, the CPU 200 maintains the power saving mode.
In the setting process instruction transmitted in S702, the type of setting process executed by the power control apparatus 100 is any of the setting process at the initialization process, the setting process at the end process, and the setting process at the mode change process. And which of the H / W devices 301 to 303 is to be set is described.

電力制御装置100では、CPU200からの設定処理指示をイベント蓄積管理部104が受信すると(S801でYES)、イベント蓄積管理部104はCPU200からの設定処理指示をイベント処理部105に出力して、イベント処理部105を省電力モードから通常モードに移行させる(S802)。
また、イベント処理部105は、入力した設定処理指示を解析して設定処理の対象となるH/W装置を特定し、また、設定処理の内容(初期化処理時の設定処理、終了処理時の設定処理、モード変更処理時の設定処理のいずれであるか)を特定する(S803)。
また、並行してイベント処理部105は、設定処理を実行するために必要な複数のイベントを発生させ、また、各イベントの順序制約に基づき、イベントの処理順序のスケジューリングを行う。
In the power control apparatus 100, when the event accumulation management unit 104 receives the setting processing instruction from the CPU 200 (YES in S801), the event accumulation management unit 104 outputs the setting processing instruction from the CPU 200 to the event processing unit 105, The processing unit 105 is shifted from the power saving mode to the normal mode (S802).
In addition, the event processing unit 105 analyzes the input setting processing instruction to identify the H / W device that is the target of the setting processing, and also describes the contents of the setting processing (setting processing at the initialization processing, end processing Which of the setting process and the setting process at the time of the mode change process) is specified (S803).
In parallel, the event processing unit 105 generates a plurality of events necessary for executing the setting process, and schedules the event processing order based on the order restriction of each event.

イベント処理部105は、設定処理の対象となるH/W装置に対応する設定処理実行部を省電力モードから通常モードに移行させる(S804)。
なお、以降の説明では、設定処理の対象となるH/W装置がH/W装置301であり、このため、設定処理を実行する設定処理実行部が設定処理実行部101であるとして説明を進める。
従って、S804では、イベント処理部105は設定処理実行部101を省電力モードから通常モードに移行させる。
The event processing unit 105 shifts the setting process execution unit corresponding to the H / W device that is the target of the setting process from the power saving mode to the normal mode (S804).
In the following description, it is assumed that the H / W device that is the target of the setting process is the H / W device 301, and therefore the setting process execution unit that executes the setting process is the setting process execution unit 101. .
Accordingly, in S804, the event processing unit 105 shifts the setting process execution unit 101 from the power saving mode to the normal mode.

次に、イベント処理部105のスケジューリングに従って、設定処理実行部101が、H/W装置301に対して、S803で特定された設定処理(初期化処理時の設定処理、終了処理時の設定処理、モード変更処理時の設定処理のいずれか)を実行する(S805)。
設定処理が完了した場合(S806でYES)は、設定処理実行部101及びイベント処理部105は、それぞれ省電力モードに移行する(S807)。
次に、イベント蓄積管理部104がH/W装置301に対する設定処理が完了したことを通知する設定処理実行完了通知を生成し、生成した設定処理実行完了通知をCPU200に送信する(S808)。
Next, in accordance with the scheduling of the event processing unit 105, the setting process execution unit 101 causes the H / W device 301 to perform the setting process specified in S803 (setting process at the initialization process, setting process at the end process, Any one of the setting processes during the mode change process) is executed (S805).
When the setting process is completed (YES in S806), the setting process execution unit 101 and the event processing unit 105 each shift to the power saving mode (S807).
Next, the event accumulation management unit 104 generates a setting process execution completion notification for notifying that the setting process for the H / W device 301 has been completed, and transmits the generated setting process execution completion notification to the CPU 200 (S808).

CPU200は、電力制御装置100からの設定処理実行完了通知を受信すると(S704でYES)、必要であれば、通常モードに移行し、また通常モードへの移行が必要でなければ、省電力モードを維持する(S705)。   When receiving the setting processing execution completion notification from the power control apparatus 100 (YES in S704), the CPU 200 shifts to the normal mode if necessary, and sets the power saving mode if transition to the normal mode is not necessary. Maintain (S705).

以上のように、電力制御装置100がCPU200に代わってH/W装置に対する設定処理を実行するので、CPU200を省電力モードにすることができる。
電力制御装置100は、CPU200よりも消費電力が低いため、CPU200が通常モードにてH/W装置に対する設定処理を行うよりもシステム全体としての消費電力を抑えることができる。
また、電力制御装置100は、H/W装置に対する設定処理を実行するための必要最小限の要素と時間のみ通常モードに移行するため、電力制御装置100自体の消費電力が必要最小限に抑えることができる。
As described above, since the power control apparatus 100 executes the setting process for the H / W device instead of the CPU 200, the CPU 200 can be set in the power saving mode.
Since the power control apparatus 100 has lower power consumption than the CPU 200, the power consumption of the entire system can be suppressed compared to the case where the CPU 200 performs setting processing for the H / W apparatus in the normal mode.
In addition, since the power control apparatus 100 shifts to the normal mode only with the minimum necessary elements and time for executing the setting process for the H / W apparatus, the power control apparatus 100 itself can minimize the power consumption. Can do.

電力制御装置100は、例えば、図5に示すように、CPU200を補完するサブCPU500(サブプロセッサ装置)によって実現される。
つまり、図2に示したイベント蓄積管理部104、イベント処理部105、設定処理実行部101〜103をプログラムとし、サブCPU500がこれらプログラムを実行することで、各要素の機能を実現する。
サブCPU500は、メインのCPU200よりも電力消費量が少ない。
サブCPU500は、例えば、図5には図示していないメモリ(RAM:Random Access Memory)にアクセスすることが可能であり、サブCPU500は、当該メモリにロードされたプログラムを実行して、実施の形態1〜3に示した動作を実現することができる。
サブCPU500が、イベント蓄積管理部104として機能するブロック、イベント処理部105として機能するブロック、設定処理実行部101として機能するブロック、設定処理実行部102として機能するブロック、設定処理実行部103として機能するブロックに分かれている場合は、図8に示す手順にて、各ブロックの電力消費モードを通常モード又は省電力モードに移行させることで、省電力化を図ることができる。
このような制御ができない場合は、サブCPU500は、CPU200から設定処理指示を受信すると起動して通常モードに移行し、設定処理実行完了通知をCPU200に送信すると省電力モードに戻ることで、省電力化を図る。
For example, as shown in FIG. 5, the power control apparatus 100 is realized by a sub CPU 500 (sub processor apparatus) that complements the CPU 200.
That is, the event accumulation management unit 104, the event processing unit 105, and the setting process execution units 101 to 103 shown in FIG. 2 are used as programs, and the sub CPU 500 executes these programs, thereby realizing the function of each element.
The sub CPU 500 consumes less power than the main CPU 200.
The sub CPU 500 can access, for example, a memory (RAM: Random Access Memory) not shown in FIG. 5, and the sub CPU 500 executes a program loaded in the memory to execute the embodiment. The operations shown in 1 to 3 can be realized.
The sub CPU 500 functions as the block that functions as the event accumulation management unit 104, the block that functions as the event processing unit 105, the block that functions as the setting processing execution unit 101, the block that functions as the setting processing execution unit 102, and the function that functions as the setting processing execution unit 103 If the blocks are divided into blocks, the power consumption can be reduced by shifting the power consumption mode of each block to the normal mode or the power saving mode according to the procedure shown in FIG.
If such control is not possible, the sub CPU 500 starts when receiving a setting processing instruction from the CPU 200 and shifts to the normal mode. When the sub CPU 500 transmits a setting processing execution completion notification to the CPU 200, the sub CPU 500 returns to the power saving mode. Plan

また、電力制御装置100を、部分的に電源をON/OFFに設定することが可能(ブロック単位で電力消費モードを通常モードと省電力モードにすることが可能)な1つあるいは複数のASICあるいはFPGA内で実現するようにしてもよい。
電力制御装置100がASIC又はFPGAで実現されている場合は、図8に示す手順にて、ブロックごとに電力消費モードを通常モード又は省電力モードに移行させることで、省電力化を図ることができる。
In addition, the power control apparatus 100 can be partially turned ON / OFF (the power consumption mode can be switched between the normal mode and the power saving mode in units of blocks) or one or more ASICs or You may make it implement | achieve in FPGA.
When the power control apparatus 100 is realized by an ASIC or FPGA, it is possible to save power by shifting the power consumption mode to the normal mode or the power saving mode for each block in the procedure shown in FIG. it can.

電力制御装置100がサブCPU500とプログラムで実現される場合は、イベント処理部105は、複数のタスク(設定処理実行部101〜103)をスケジュールする動作としてシミュレートされる。
サブCPU500は、このシミュレートする動作が記述されたプログラムをROM(Read Only Memory)から読み出し、RAMをワークエリアとして使用して実行することによりイベント処理部105を実現する。
また、サブCPU500は、イベント処理部105の動作として、依存関係のない独立した複数のタスクのイベント待ちを同一時間に集中させるスケジュールを行うことにより、CPU200およびサブCPU500が実質的に何もすることがない待ち状態になっている時間が長くなり、それゆえスリープモードや電源OFFにすることが可能となり、消費電力をより小さくすることが可能になる。
つまり、2つ以上の設定実行処理部が設定処理を実行する2つ以上の設定処理指示がイベント蓄積管理部104により同時期に入力された場合に、イベント処理部105は、2つ以上の設定実行処理部における設定処理の実行が同時期に完了するようにイベントの実行順序のスケジューリングを行うことにより、消費電力を小さくすることができる。
When the power control apparatus 100 is realized by the sub CPU 500 and a program, the event processing unit 105 is simulated as an operation for scheduling a plurality of tasks (setting process execution units 101 to 103).
The sub CPU 500 implements the event processing unit 105 by reading a program describing the operation to be simulated from a ROM (Read Only Memory) and executing it using the RAM as a work area.
Further, the sub CPU 500 schedules the event waiting of a plurality of independent tasks having no dependency as the operation of the event processing unit 105 to concentrate on the same time, so that the CPU 200 and the sub CPU 500 do substantially nothing. Thus, the waiting time without a long time becomes longer, so that the sleep mode and the power can be turned off, and the power consumption can be further reduced.
In other words, when two or more setting processing instructions for two or more setting execution processing units to execute setting processing are input by the event accumulation management unit 104 at the same time, the event processing unit 105 sets two or more settings. By scheduling the execution order of events so that the execution of the setting process in the execution processing unit is completed at the same time, the power consumption can be reduced.

以上、本実施の形態では、
電力制御の対象となる各機能や各回路の電源ON後の初期化処理あるいは電源OFF前の終了処理あるいは電力モード変更処理の設定処理を行い、設定処理が不要あるいは完了すると自身を電源OFFに設定する、複数の設定処理実行部と、
電力制御装置内で発生した割込みや時間経過などのイベントを受信し、必要に応じて設定処理実行部で必要となるイベントに変換して実行すべき順番にイベントを蓄積するイベント蓄積管理部と、
イベントに対応する設定処理実行部を起動し、イベント蓄積管理部に処理すべきイベントがなければ自身を電源OFFに設定する、イベント処理部と、
を備える電力制御装置を説明した。
As described above, in the present embodiment,
Performs initialization processing after power ON of each function and circuit that is subject to power control, termination processing before power OFF or power mode change processing setting processing, and sets itself to power OFF when setting processing is unnecessary or complete A plurality of setting process execution units;
An event accumulation management unit that receives an event such as an interruption or time lapse generated in the power control device, converts the event to a necessary event in the setting process execution unit as necessary, and accumulates the events in the order to be executed,
An event processing unit that activates a setting processing execution unit corresponding to an event and sets itself to power-off if there is no event to be processed in the event accumulation management unit;
A power control apparatus comprising:

実施の形態2.
実施の形態1では、H/W装置ごとに設定処理実行部が設けられている構成を示したが、本実施の形態では、H/W装置ごと及び設定処理の種類ごとに、設定処理実行部が設けられている構成を示す。
以下では、実施の形態1との差異を説明する。
以下にて説明していない点は、実施の形態1と同じである。
Embodiment 2. FIG.
In the first embodiment, a configuration in which a setting process execution unit is provided for each H / W device has been described. However, in this embodiment, a setting process execution unit is provided for each H / W device and for each type of setting process. The structure where is provided is shown.
Hereinafter, differences from the first embodiment will be described.
The points not described below are the same as in the first embodiment.

図3は、本実施の形態に係る電力制御装置100の内部構成例を示す。
図3において、イベント蓄積管理部104とイベント処理部105は、実施の形態1で示したものと同様であるため、説明を省略する。
設定処理実行部1011は、H/W装置301に対して、初期化処理時の設定処理を行う。
設定処理実行部1012は、H/W装置301に対して、終了処理時の設定処理を行う。
設定処理実行部1013は、H/W装置301に対して、モード変更処理時の設定処理を行う。
設定処理実行部1021は、H/W装置302に対して、初期化処理時の設定処理を行う。
設定処理実行部1022は、H/W装置302に対して、終了処理時の設定処理を行う。
設定処理実行部1023は、H/W装置302に対して、モード変更処理時の設定処理を行う。
設定処理実行部1031は、H/W装置303に対して、初期化処理時の設定処理を行う。
設定処理実行部1032は、H/W装置303に対して、終了処理時の設定処理を行う。
設定処理実行部1033は、H/W装置303に対して、モード変更処理時の設定処理を行う。
このように、本実施の形態に係る電力制御装置100では、H/W装置ごと及び設定処理の種類ごとに、設定処理実行部が分類されている。
FIG. 3 shows an internal configuration example of the power control apparatus 100 according to the present embodiment.
In FIG. 3, the event accumulation management unit 104 and the event processing unit 105 are the same as those described in the first embodiment, and thus description thereof is omitted.
The setting process execution unit 1011 performs setting processing at the time of initialization processing for the H / W device 301.
The setting process execution unit 1012 performs setting processing at the time of end processing for the H / W device 301.
The setting process execution unit 1013 performs a setting process for the mode change process on the H / W device 301.
The setting processing execution unit 1021 performs setting processing at the time of initialization processing for the H / W device 302.
The setting processing execution unit 1022 performs setting processing at the time of end processing for the H / W device 302.
The setting process execution unit 1023 performs a setting process during the mode change process on the H / W device 302.
The setting process execution unit 1031 performs a setting process during the initialization process on the H / W device 303.
The setting process execution unit 1032 performs setting processing at the time of end processing for the H / W device 303.
The setting process execution unit 1033 performs setting processing at the time of mode change processing on the H / W device 303.
As described above, in power control apparatus 100 according to the present embodiment, setting process execution units are classified for each H / W apparatus and for each type of setting process.

本実施の形態においてもCPU200の動作は図7に示したものと同じである。
また、電力制御装置100の動作は、図8のS804において、設定処理実行部1011〜1033のうちの対応する設定処理実行部のみを通常モードにし、S807において、当該設定処理実行部を省電力モードにする点を除けば、図8に示したものと同様である。
Also in this embodiment, the operation of the CPU 200 is the same as that shown in FIG.
Further, the operation of the power control apparatus 100 is such that only the corresponding setting process execution unit among the setting process execution units 1011 to 1033 is set to the normal mode in S804 of FIG. 8, and the setting process execution unit is set to the power saving mode in S807. Except for this point, the configuration is the same as that shown in FIG.

なお、本実施の形態でも、2つ以上の設定実行処理部が設定処理を実行する2つ以上の設定処理指示がイベント蓄積管理部104により同時期に入力された場合に、イベント処理部105は、2つ以上の設定実行処理部における設定処理の実行が同時期に完了するようにイベントの実行順序のスケジューリングを行うことにより、消費電力を小さくすることができる。   Even in the present embodiment, when two or more setting processing instructions for executing setting processing by two or more setting execution processing units are input by the event accumulation management unit 104 at the same time, the event processing unit 105 Power consumption can be reduced by scheduling the execution order of events so that execution of setting processes in two or more setting execution processing units is completed at the same time.

本実施の形態では、H/W装置ごと及び設定処理の種類ごとに、設定処理実行部が設けられているので、個々の設定処理実行部の規模を実施の形態1に比べて小さくすることができ、電力制御装置100の消費電力を実施の形態1に比べて抑えることができる。   In this embodiment, since the setting process execution unit is provided for each H / W device and for each type of setting process, the scale of each setting process execution unit can be made smaller than that in the first embodiment. The power consumption of the power control apparatus 100 can be suppressed as compared with the first embodiment.

以上、本実施の形態では、
電力制御の対象となる各機能や各回路の電源ON後の初期化処理あるいは電源OFF前の終了処理あるいは電力モード変更処理の設定処理を行う部分を処理毎に別々にもち、設定処理が不要あるいは完了すると自身を電源OFFに設定する、複数の設定処理実行部と、
電力制御装置内で発生した割込みや時間経過などのイベントを受信し、必要に応じて設定処理実行部で必要となるイベントに変換して実行すべき順番にイベントを蓄積するイベント蓄積管理部と、
イベントに対応する設定処理実行部を起動し、イベント蓄積管理部に処理すべきイベントがなければ自身を電源OFFに設定する、イベント処理部と、
を備える電力制御装置を説明した。
As described above, in the present embodiment,
There is a separate part for each process that performs initialization processing after power ON for each function or circuit that is subject to power control, termination processing before power OFF or setting processing for power mode change processing, and setting processing is unnecessary or A plurality of setting processing execution units that set themselves to power off when completed;
An event accumulation management unit that receives an event such as an interruption or time lapse generated in the power control device, converts the event to a necessary event in the setting process execution unit as necessary, and accumulates the events in the order to be executed,
An event processing unit that activates a setting processing execution unit corresponding to an event and sets itself to power-off if there is no event to be processed in the event accumulation management unit;
A power control apparatus comprising:

実施の形態3.
本実施の形態に係る設定処理実行部は、図4に示すように、イベント蓄積管理部111、イベント処理部112、複数のイベント実行部(イベント実行部113、イベント実行部114、イベント実行部115)で構成される。
図4では、一例として、実施の形態1で示した設定処理実行部101、実施の形態2で示した設定処理実行部1011の内部構成を示しているが、実施の形態1で示した設定処理実行部102、103、実施の形態2で示した設定処理実行部1012、1013でも同様の内部構成をとることができる。
また、図4では、3つのイベント実行部が含まれる例を示しているが、イベント実行部の数は任意である。
以下では、実施の形態1、2との差異を説明する。
以下にて説明していない点は、実施の形態1、2と同じである。
Embodiment 3 FIG.
As shown in FIG. 4, the setting process execution unit according to the present embodiment includes an event accumulation management unit 111, an event processing unit 112, a plurality of event execution units (event execution unit 113, event execution unit 114, event execution unit 115). ).
In FIG. 4, as an example, the internal configuration of the setting process execution unit 101 shown in the first embodiment and the setting process execution unit 1011 shown in the second embodiment are shown. However, the setting process shown in the first embodiment is shown in FIG. The execution units 102 and 103 and the setting process execution units 1012 and 1013 shown in the second embodiment can have the same internal configuration.
FIG. 4 shows an example in which three event execution units are included, but the number of event execution units is arbitrary.
Hereinafter, differences from the first and second embodiments will be described.
The points not described below are the same as in the first and second embodiments.

図4において、イベント蓄積管理部111は、実施の形態1又は実施の形態2で示したイベント処理部105により生成されたイベントを入力する。
例えば、イベント蓄積管理部111は、H/W装置301に対する設定処理を実行するためのイベントを入力する。
イベント蓄積管理部111は、設定処理実行部101、1011内で、図2及び図3のイベント蓄積管理部104に相当する動作を行う。
なお、イベント蓄積管理部111は、イベント入力部の例である。
In FIG. 4, the event accumulation management unit 111 inputs an event generated by the event processing unit 105 shown in the first embodiment or the second embodiment.
For example, the event accumulation management unit 111 inputs an event for executing a setting process for the H / W device 301.
The event accumulation management unit 111 performs an operation corresponding to the event accumulation management unit 104 in FIGS. 2 and 3 in the setting process execution units 101 and 1011.
Note that the event accumulation management unit 111 is an example of an event input unit.

イベント処理部112は、イベント処理部105からのイベントをイベント蓄積管理部111から入力し、入力したイベントを変換する。
イベント処理部112が変換するイベントは、イベント処理部105からのイベントの実行手順を具体化するイベントであり、イベント実行部113、イベント実行部114、イベント実行部115で解釈可能なイベントである。
イベント処理部112は、イベント処理部105からの1つのイベントに対して複数のイベントを生成する場合がある。
イベント処理部112は、イベント間に順序制約がない場合はイベントの実行順序を変更することができる。
イベント処理部112は、設定処理実行部101、1011内で、図2及び図3のイベント処理部105に相当する動作を行う。
なお、イベント処理部112は、イベント変換部の例である。
The event processing unit 112 inputs an event from the event processing unit 105 from the event accumulation management unit 111 and converts the input event.
The event converted by the event processing unit 112 is an event that embodies the execution procedure of the event from the event processing unit 105, and is an event that can be interpreted by the event execution unit 113, the event execution unit 114, and the event execution unit 115.
The event processing unit 112 may generate a plurality of events for one event from the event processing unit 105.
The event processing unit 112 can change the execution order of events when there is no order restriction between events.
The event processing unit 112 performs an operation corresponding to the event processing unit 105 in FIGS. 2 and 3 in the setting processing execution units 101 and 1011.
The event processing unit 112 is an example of an event conversion unit.

イベント実行部113、イベント実行部114、イベント実行部115は、それぞれ、イベント処理部112からイベントを取得し、取得したイベントの意味に従った処理を実行する。
イベント実行部113、イベント実行部114、イベント実行部115が協動して、H/W装置301に対する設定処理を実行する。
イベント実行部113、イベント実行部114、イベント実行部115は、設定処理実行部101、1011内で、図2及び図3の設定処理実行部101〜103、1011〜1033に相当する動作を行う。
なお、イベント実行部113、イベント実行部114、イベント実行部115は、イベント実行部の例である。
The event execution unit 113, the event execution unit 114, and the event execution unit 115 each acquire an event from the event processing unit 112, and execute processing according to the meaning of the acquired event.
The event execution unit 113, the event execution unit 114, and the event execution unit 115 cooperate to execute a setting process for the H / W device 301.
The event execution unit 113, the event execution unit 114, and the event execution unit 115 perform operations corresponding to the setting process execution units 101 to 103 and 1011 to 1033 in FIGS. 2 and 3 in the setting process execution units 101 and 1011.
The event execution unit 113, the event execution unit 114, and the event execution unit 115 are examples of event execution units.

イベント蓄積管理部111にイベントが残っておらず、また、イベント実行部113、イベント実行部114、イベント実行部115に未実行の処理がない場合に、設定処理実行部101、1011は省電力モードに移行する。
設定処理実行部101、1011における他の動作は、実施の形態1及び実施の形態2で説明した通りである。
When no event remains in the event accumulation management unit 111 and there is no unexecuted process in the event execution unit 113, the event execution unit 114, and the event execution unit 115, the setting process execution units 101 and 1011 are in the power saving mode. Migrate to
Other operations in the setting processing execution units 101 and 1011 are as described in the first and second embodiments.

以上、本実施の形態では、
設定処理実行部の内部が実施の形態1又は実施の形態2の電力制御装置と同様な要素を備えて再帰的に構成されている電力制御装置を説明した。
As described above, in the present embodiment,
The power control device in which the inside of the setting processing execution unit is configured recursively with the same elements as those of the power control device of the first or second embodiment has been described.

実施の形態4.
図6に示すように、実施の形態1〜3の電力制御装置100を、H/W装置301〜303内で実現し、設定処理の対象になっていないH/W装置が、設定処理の対象になっているH/W装置の設定処理を行うようにしてもよい。
例えば、H/W装置301の初期化処理が必要な場合に、H/W装置302が実施の形態1〜3の電力制御装置100として動作して、CPU200に代わって、H/W装置301の初期化処理の設定処理を行うようにする。
なお、H/W装置301〜303の消費電力はCPU200よりも低いものとする。
また、H/W装置301〜303は、部分的に電源をON/OFFに設定することが可能(ブロック単位で電力消費モードを通常モードと省電力モードにすることが可能)であることが望ましい。
H/W装置301〜303においてブロック単位で電力消費モードを制御することが可能であれば、図8に示す手順にて、ブロックごとに電力消費モードを通常モード又は省電力モードに移行させることで、省電力化を図ることができる。
Embodiment 4 FIG.
As illustrated in FIG. 6, the power control apparatus 100 according to the first to third embodiments is realized in the H / W apparatuses 301 to 303, and the H / W apparatus that is not the target of the setting process is the target of the setting process. The H / W device setting process may be performed.
For example, when initialization processing of the H / W device 301 is necessary, the H / W device 302 operates as the power control device 100 of the first to third embodiments, and instead of the CPU 200, the H / W device 301 Set the initialization process.
Note that the power consumption of the H / W devices 301 to 303 is lower than that of the CPU 200.
In addition, it is desirable that the H / W devices 301 to 303 can partially set the power supply ON / OFF (the power consumption mode can be switched between the normal mode and the power saving mode in units of blocks). .
If the power consumption mode can be controlled in units of blocks in the H / W devices 301 to 303, the power consumption mode can be shifted to the normal mode or the power saving mode for each block in the procedure shown in FIG. Therefore, power saving can be achieved.

100 電力制御装置、101 設定処理実行部、102 設定処理実行部、103 設定処理実行部、104 イベント蓄積管理部、105 イベント処理部、111 イベント蓄積管理部、112 イベント処理部、113 イベント実行部、114 イベント実行部、115 イベント実行部、200 CPU、301 H/W装置、302 H/W装置、303 H/W装置、400 バス、500 サブCPU、1011 設定処理実行部、1012 設定処理実行部、1013 設定処理実行部、1021 設定処理実行部、1022 設定処理実行部、1023 設定処理実行部、1031 設定処理実行部、1032 設定処理実行部、1033 設定処理実行部。   DESCRIPTION OF SYMBOLS 100 Power control apparatus, 101 Setting process execution part, 102 Setting process execution part, 103 Setting process execution part, 104 Event accumulation management part, 105 Event processing part, 111 Event accumulation management part, 112 Event processing part, 113 Event execution part, 114 event execution unit, 115 event execution unit, 200 CPU, 301 H / W device, 302 H / W device, 303 H / W device, 400 bus, 500 sub CPU, 1011 setting process execution unit, 1012 setting process execution unit, 1013 Setting processing execution unit, 1021 Setting processing execution unit, 1022 Setting processing execution unit, 1023 Setting processing execution unit, 1031 Setting processing execution unit, 1032 Setting processing execution unit, 1033 Setting processing execution unit

Claims (15)

プロセッサ装置と、前記プロセッサ装置により制御されるハードウェア装置とに接続され、電力消費モードを通常モードと省電力モードとの間で切替えることが可能な設定処理実行装置であって、
前記ハードウェア装置への電力供給開始後の初期化処理時及び電力供給停止前の終了処理時の少なくともいずれかにおいて、前記ハードウェア装置に対する設定処理の実行を指示する設定処理指示を前記プロセッサ装置から受信する指示受信部と、
前記指示受信部により前記設定処理指示が受信された場合に、前記プロセッサ装置に代わって、前記ハードウェア装置の初期化処理時の設定処理及び終了処理時の設定処理の少なくともいずれかを実行する設定処理実行部とを有し、
前記指示受信部により前記設定処理指示が受信されるまでは省電力モードを維持し、前記指示受信部により前記設定処理指示が受信された後は通常モードに移行し、前記設定処理実行部により設定処理の実行が完了すると省電力モードに移行することを特徴とする設定処理実行装置。
A setting processing execution device that is connected to a processor device and a hardware device controlled by the processor device and is capable of switching a power consumption mode between a normal mode and a power saving mode,
At least one of an initialization process after starting power supply to the hardware device and an end process before stopping power supply, a setting process instruction for instructing the hardware device to execute a setting process is sent from the processor device. An instruction receiving unit for receiving,
Setting for executing at least one of a setting process at the initialization process and a setting process at the end process of the hardware device in place of the processor device when the setting processing instruction is received by the instruction receiving unit A processing execution unit,
The power saving mode is maintained until the setting processing instruction is received by the instruction receiving unit. After the setting processing instruction is received by the instruction receiving unit, the mode is changed to the normal mode, and the setting processing execution unit sets the setting processing instruction. A setting process execution device which shifts to a power saving mode when execution of a process is completed.
前記設定処理実行装置は、
電力消費モードを通常モードと省電力モードとの間で切替えることが可能なプロセッサ装置に接続され、
前記設定処理実行部が前記プロセッサ装置に代わって、前記ハードウェア装置の初期化処理時の設定処理及び終了処理時の設定処理の少なくともいずれかを実行することで、前記ハードウェア装置の初期化処理時及び終了処理時の少なくともいずれかにおいて、前記プロセッサ装置を通常モードから省電力モードに移行させる又は前記プロセッサ装置を省電力モードのまま維持させることを特徴とする請求項1に記載の設定処理実行装置。
The setting process execution device includes:
Connected to a processor device capable of switching a power consumption mode between a normal mode and a power saving mode;
Instead of the processor device, the setting process execution unit executes at least one of a setting process at the time of initialization processing of the hardware device and a setting process at the time of termination processing, whereby the initialization processing of the hardware device is performed. 2. The setting process execution according to claim 1, wherein the processor device is shifted from a normal mode to a power saving mode or the processor device is maintained in the power saving mode at least at one of the time and the termination processing. apparatus.
前記設定処理実行装置は、更に、
前記設定処理実行部による設定処理の実行が完了したことを通知する設定処理実行完了通知を前記プロセッサ装置に送信する通知送信部を有することを特徴とする請求項1又は2に記載の設定処理実行装置。
The setting process execution device further includes:
3. The setting process execution according to claim 1, further comprising a notification transmission unit that transmits a setting process execution completion notification for notifying that the execution of the setting process by the setting process execution unit is completed to the processor device. apparatus.
前記設定処理実行装置は、
電力消費モードを切替えることが可能なハードウェア装置に接続され、
前記指示受信部は、
前記ハードウェア装置の電力消費モードの切替え時に、前記ハードウェア装置に対する設定処理の実行を指示する設定処理指示を前記プロセッサ装置から受信し、
前記設定処理実行部は、
前記指示受信部により前記設定処理指示が受信された場合に、前記プロセッサ装置に代わって、前記ハードウェア装置の電力消費モードの切替え時の設定処理を実行することを特徴とする請求項1〜3のいずれかに記載の設定処理実行装置。
The setting process execution device includes:
Connected to a hardware device that can switch power consumption modes,
The instruction receiving unit
When switching the power consumption mode of the hardware device, a setting processing instruction for instructing execution of setting processing for the hardware device is received from the processor device,
The setting process execution unit
The setting process at the time of switching the power consumption mode of the hardware device is executed instead of the processor device when the setting processing instruction is received by the instruction receiving unit. The setting process execution device according to any one of the above.
前記設定処理実行装置は、
前記プロセッサ装置に接続された複数のハードウェア装置に接続され、
ハードウェア装置ごとに、設定処理実行部を有し、
各設定処理実行部は、
電力消費モードを通常モードと省電力モードとの間で切替えることが可能であり、対応するハードウェア装置に対する設定処理指示が前記指示受信部により受信されるまでは省電力モードを維持し、対応するハードウェア装置に対する設定処理指示が前記指示受信部により受信された後は通常モードに移行し、前記プロセッサ装置に代わって、対応するハードウェア装置に対する設定処理を実行し、設定処理の実行が完了した際に省電力モードに移行することを特徴とする請求項1〜4のいずれかに記載の設定処理実行装置。
The setting process execution device includes:
Connected to a plurality of hardware devices connected to the processor device;
Each hardware device has a setting process execution unit,
Each setting process execution unit
The power consumption mode can be switched between the normal mode and the power saving mode, and the power saving mode is maintained until the setting processing instruction for the corresponding hardware device is received by the instruction receiving unit. After the setting processing instruction for the hardware device is received by the instruction receiving unit, the mode shifts to the normal mode, the setting processing for the corresponding hardware device is executed on behalf of the processor device, and the execution of the setting processing is completed. 5. The setting process execution device according to claim 1, wherein the setting process execution device shifts to a power saving mode.
前記設定処理実行装置は、
前記プロセッサ装置に接続された複数のハードウェア装置に接続され、
ハードウェア装置ごと、設定処理の種類ごとに、設定処理実行部を有し、
各設定処理実行部は、
電力消費モードを通常モードと省電力モードとの間で切替えることが可能であり、対応するハードウェア装置の対応する設定処理に対する設定処理指示が前記指示受信部により受信されるまでは省電力モードを維持し、対応するハードウェア装置の対応する設定処理に対する設定処理指示が前記指示受信部により受信された後は通常モードに移行し、前記プロセッサ装置に代わって、対応するハードウェア装置の対応する設定処理を実行し、設定処理の実行が完了した際に省電力モードに移行することを特徴とする請求項1〜4のいずれかに記載の設定処理実行装置。
The setting process execution device includes:
Connected to a plurality of hardware devices connected to the processor device;
Each hardware device has a setting process execution unit for each type of setting process,
Each setting process execution unit
The power consumption mode can be switched between the normal mode and the power saving mode, and the power saving mode is changed until a setting processing instruction for a corresponding setting process of the corresponding hardware device is received by the instruction receiving unit. After the setting reception instruction for the corresponding setting process of the corresponding hardware device is received by the instruction receiving unit, the normal reception mode is entered, and the corresponding setting of the corresponding hardware device is performed instead of the processor device. 5. The setting process execution device according to claim 1, wherein the process is executed, and when the execution of the setting process is completed, the process shifts to a power saving mode.
前記設定処理実行装置は、更に、
電力消費モードを通常モードと省電力モードとの間で切替えることが可能であり、前記指示受信部により前記設定処理指示が受信されるまでは省電力モードを維持し、前記指示受信部により前記設定処理指示が受信された後は通常モードに移行し、前記ハードウェア装置に対する設定処理を実行するための複数のイベントを生成し、前記複数のイベントの実行順序のスケジューリングを行い、スケジューリングが完了した後は省電力モードに移行するスケジューリング部を有し、
前記設定処理実行部は、
前記スケジューリング部によるイベントのスケジューリングに従って、前記ハードウェア装置に対する設定処理を実行することを特徴とする請求項1〜6のいずれかに記載の設定処理実行装置。
The setting process execution device further includes:
The power consumption mode can be switched between the normal mode and the power saving mode, and the power saving mode is maintained until the setting processing instruction is received by the instruction receiving unit, and the setting is performed by the instruction receiving unit. After the processing instruction is received, the process shifts to the normal mode, generates a plurality of events for executing the setting process for the hardware device, schedules the execution order of the plurality of events, and completes the scheduling. Has a scheduling unit to enter the power saving mode,
The setting process execution unit
The setting processing execution device according to claim 1, wherein the setting processing for the hardware device is executed in accordance with event scheduling by the scheduling unit.
前記設定処理実行装置は、
前記プロセッサ装置に接続された複数のハードウェア装置に接続され、
ハードウェア装置ごとに、設定処理実行部を有し、
前記スケジューリング部は、
2つ以上の設定処理実行部が設定処理を実行する2つ以上の設定処理指示が前記指示受信部により同時期に入力された場合に、前記2つ以上の設定処理実行部における設定処理の実行が同時期に完了するようにイベントの実行順序のスケジューリングを行うことを特徴とする請求項7に記載の設定処理実行装置。
The setting process execution device includes:
Connected to a plurality of hardware devices connected to the processor device;
Each hardware device has a setting process execution unit,
The scheduling unit includes
Execution of setting processes in the two or more setting process execution units when two or more setting process instructions for executing setting processes by two or more setting process execution units are input by the instruction receiving unit at the same time 8. The setting process execution apparatus according to claim 7, wherein the execution order of events is scheduled so that the processes are completed at the same time.
前記設定処理実行装置は、
前記プロセッサ装置に接続された複数のハードウェア装置に接続され、
ハードウェア装置ごと、設定処理の種類ごとに、設定処理実行部を有し、
前記スケジューリング部は、
2つ以上の設定処理実行部が設定処理を実行する2つ以上の設定処理指示が前記指示受信部により同時期に入力された場合に、前記2つ以上の設定処理実行部における設定処理の実行が同時期に完了するようにイベントの実行順序のスケジューリングを行うことを特徴とする請求項7に記載の設定処理実行装置。
The setting process execution device includes:
Connected to a plurality of hardware devices connected to the processor device;
Each hardware device has a setting process execution unit for each type of setting process,
The scheduling unit includes
Execution of setting processes in the two or more setting process execution units when two or more setting process instructions for executing setting processes by two or more setting process execution units are input by the instruction receiving unit at the same time 8. The setting process execution apparatus according to claim 7, wherein the execution order of events is scheduled so that the processes are completed at the same time.
前記設定処理実行部は、
前記スケジューリング部により生成されたイベントを入力するイベント入力部と、
前記イベント入力部により入力されたイベントを変換するイベント変換部と、
前記イベント変換部により変換された後のイベントを実行するイベント実行部とを有することを特徴とする請求項7〜9のいずれかに記載の設定処理実行装置。
The setting process execution unit
An event input unit for inputting an event generated by the scheduling unit;
An event conversion unit for converting an event input by the event input unit;
The setting process execution apparatus according to claim 7, further comprising: an event execution unit that executes an event after being converted by the event conversion unit.
前記設定処理実行装置は、
前記プロセッサ装置を補完するサブプロセッサ装置であることを特徴とする請求項1に記載の設定処理実行装置。
The setting process execution device includes:
The setting processing execution device according to claim 1, wherein the setting processing execution device is a sub-processor device that complements the processor device.
前記設定処理実行装置は、
ASIC(Application Specific Integrated Circuit)及びFPGA(Field Programmable Gate Array)のうちの少なくともいずれかであることを特徴とする請求項1に記載の設定処理実行装置。
The setting process execution device includes:
The setting processing execution apparatus according to claim 1, wherein the setting processing execution apparatus is at least one of an ASIC (Application Specific Integrated Circuit) and an FPGA (Field Programmable Gate Array).
前記プロセッサ装置は、複数のハードウェア装置を制御対象としており、
前記設定処理実行装置は、
前記複数のハードウェア装置のうちのいずれかのハードウェア装置であることを特徴とする請求項1に記載の設定処理実行装置。
The processor device is controlled by a plurality of hardware devices,
The setting process execution device includes:
The setting process execution apparatus according to claim 1, wherein the setting process execution apparatus is any one of the plurality of hardware apparatuses.
プロセッサ装置と、前記プロセッサ装置により制御されるハードウェア装置とに接続され、電力消費モードを通常モードと省電力モードとの間で切替えることが可能な設定処理実行装置が行う設定処理実行方法であって、
前記ハードウェア装置への電力供給開始後の初期化処理時及び電力供給停止前の終了処理時の少なくともいずれかにおいて、前記ハードウェア装置に対する設定処理の実行を指示する設定処理指示を前記プロセッサ装置から受信するまでは、前記設定処理実行装置は省電力モードを維持し、
前記設定処理指示を受信した後は、前記設定処理実行装置は、通常モードに移行し、前記プロセッサ装置に代わって、前記ハードウェア装置の初期化処理時の設定処理及び終了処理時の設定処理の少なくともいずれかを実行し、
設定処理の実行が完了すると、前記設定処理実行装置が、省電力モードに移行することを特徴とする設定処理実行方法。
A setting processing execution method performed by a setting processing execution device connected to a processor device and a hardware device controlled by the processor device and capable of switching a power consumption mode between a normal mode and a power saving mode. And
At least one of an initialization process after starting power supply to the hardware device and an end process before stopping power supply, a setting process instruction for instructing the hardware device to execute a setting process is sent from the processor device. Until receiving, the setting processing execution device maintains the power saving mode,
After receiving the setting processing instruction, the setting processing execution device shifts to a normal mode, and performs setting processing at initialization processing and termination processing at the hardware device on behalf of the processor device. Do at least one,
When the execution of the setting process is completed, the setting process execution apparatus shifts to a power saving mode.
前記プロセッサ装置を補完するサブプロセッサ装置を、請求項1に記載された設定処理実行装置として機能させることを特徴とするプログラム。   A program that causes a sub-processor device that complements the processor device to function as the setting processing execution device according to claim 1.
JP2013158611A 2013-07-31 2013-07-31 Setting processing execution apparatus, setting processing execution method, and program Active JP6071790B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013158611A JP6071790B2 (en) 2013-07-31 2013-07-31 Setting processing execution apparatus, setting processing execution method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013158611A JP6071790B2 (en) 2013-07-31 2013-07-31 Setting processing execution apparatus, setting processing execution method, and program

Publications (2)

Publication Number Publication Date
JP2015031967A JP2015031967A (en) 2015-02-16
JP6071790B2 true JP6071790B2 (en) 2017-02-01

Family

ID=52517276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013158611A Active JP6071790B2 (en) 2013-07-31 2013-07-31 Setting processing execution apparatus, setting processing execution method, and program

Country Status (1)

Country Link
JP (1) JP6071790B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114710825B (en) * 2022-04-02 2024-01-23 中科南京移动通信与计算创新研究院 Low-power consumption communication method and system and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006148287A (en) * 2004-11-17 2006-06-08 Konica Minolta Photo Imaging Inc Electronic apparatus, digital camera, and control method of electronic apparatus
JP2009069921A (en) * 2007-09-11 2009-04-02 Hitachi Ltd Multiprocessor system
JP5388836B2 (en) * 2009-12-25 2014-01-15 キヤノン株式会社 Image forming apparatus and control method thereof

Also Published As

Publication number Publication date
JP2015031967A (en) 2015-02-16

Similar Documents

Publication Publication Date Title
EP3571585B1 (en) Method and apparatus for implementing heterogeneous frequency operation and scheduling task of heterogeneous frequency cpu
JP2013149093A (en) Control device, control method, program, and electronic apparatus
JP2007179358A (en) Information processor and method of using reconfiguration device
US20140359326A1 (en) Embedded controller for power-saving and method thereof
KR20150112660A (en) System on chip, method thereof, and device including the same
JP2012173744A (en) Processing device
JP6071790B2 (en) Setting processing execution apparatus, setting processing execution method, and program
US20100070793A1 (en) Clock supply device
CN115639897B (en) Real-time voltage control module
US20170262392A1 (en) Image processing apparatus, notification monitoring program, and notification monitoring method
KR20180078558A (en) Method of operating system on chip, system on chip performing the same and electronic system including the same
US10891254B2 (en) Switchable topology processor tile and computing machine
JP6515771B2 (en) Parallel processing device and parallel processing method
JP2012043254A (en) Microprocessor, electronic control unit, and power supply control method
JP2006065471A (en) Semiconductor integrated circuit, and its power saving control method and power saving control program
JP2012116138A (en) Control device, control program, and image forming device
JP2002049610A (en) Device for setting dynamic clock of microcomputer
JP2010102567A (en) Periodical task execution device, periodical task execution method, and program
US20170117892A1 (en) Calculation device and calculation method
JP2014052918A (en) Calculation device and control method therefor
JP4355648B2 (en) Multiple CPU clock control system, control method thereof, and program thereof
US20080288952A1 (en) Processing apparatus and device control unit
JP5486368B2 (en) Microcomputer and control method of microcomputer
JP6578824B2 (en) Image forming apparatus, task control method and task control program in the same
US10429916B2 (en) Control apparatus that controls a memory and power saving control method for the memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160115

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161124

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161227

R150 Certificate of patent or registration of utility model

Ref document number: 6071790

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250