JP2012194749A - Multiprocessor device - Google Patents

Multiprocessor device Download PDF

Info

Publication number
JP2012194749A
JP2012194749A JP2011057846A JP2011057846A JP2012194749A JP 2012194749 A JP2012194749 A JP 2012194749A JP 2011057846 A JP2011057846 A JP 2011057846A JP 2011057846 A JP2011057846 A JP 2011057846A JP 2012194749 A JP2012194749 A JP 2012194749A
Authority
JP
Japan
Prior art keywords
power supply
instruction execution
power
redundancy
multiprocessor device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011057846A
Other languages
Japanese (ja)
Other versions
JP5502789B2 (en
Inventor
Masuzo Takemoto
益三 嵩本
Hideya Susa
秀哉 諏佐
Hiroki Hara
博規 原
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.)
Toshiba Corp
Toyota Motor Corp
Original Assignee
Toshiba Corp
Toyota Motor 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 Toshiba Corp, Toyota Motor Corp filed Critical Toshiba Corp
Priority to JP2011057846A priority Critical patent/JP5502789B2/en
Publication of JP2012194749A publication Critical patent/JP2012194749A/en
Application granted granted Critical
Publication of JP5502789B2 publication Critical patent/JP5502789B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To properly change electric power source redundancy in a plurality of instruction execution means.SOLUTION: A multiprocessor device includes: a plurality of instruction execution means for executing instruction; a plurality of electric power supply means capable of supplying electric power of desired voltage to the plurality of instruction execution means; electric power supply connection switching means capable of switching to which of the plurality of instruction execution means each of the plurality of electric power supply means supplies electric power; and control means for controlling the electric power supply connection switching means so that redundancy of the electric power supply means allocated to the plurality of instruction execution means is determined according to importance of instruction executed by the plurality of instruction execution means.

Description

本発明は、命令を実行する複数の命令実行手段を備えるマルチプロセッサ装置に関する。   The present invention relates to a multiprocessor device including a plurality of instruction execution means for executing instructions.

従来、マイクロコンピュータの分野において、CPU等の命令実行手段に対して複数の電力供給手段(より具体的には、電源回路等)を割り当て、電源回路等のうち一部が故障しても命令実行手段が動作可能にすることが行われている。このように、最低限必要な数よりも多くの電力供給手段を割り当てることは、電源冗長性、電源冗長度の確保等と称されている。   Conventionally, in the field of microcomputers, a plurality of power supply means (more specifically, a power supply circuit, etc.) are assigned to instruction execution means such as a CPU, and instructions are executed even if part of the power supply circuit etc. fails. Means are being made operable. Thus, allocating more power supply means than the minimum necessary number is called power redundancy, ensuring power redundancy, and the like.

特許文献1には、各々が1又は複数の電子装置からなる複数のコンポーネントへ電力を供給する複数の無停電電源装置を備える無停電電源システムについて記載されている。このシステムでは、複数の無停電電源装置の各々が、複数のコンポーネント毎に定められた電源冗長度に従って複数のコンポーネントの各々に対応して設けられており、少なくとも対応するコンポーネントへ電力を供給している。   Patent Document 1 describes an uninterruptible power supply system including a plurality of uninterruptible power supply devices that supply power to a plurality of components each composed of one or a plurality of electronic devices. In this system, each of the plurality of uninterruptible power supplies is provided corresponding to each of the plurality of components in accordance with the power redundancy determined for each of the plurality of components, and supplies power to at least the corresponding component. Yes.

特開2002−136000号公報JP 2002-136000 A

しかしながら、上記従来の無停電電源システムでは、各コンポーネントに定められた電源冗長度を変更する必要性について考慮がなされておらず、電源冗長度が過剰となったり、不足したりするという状態に対応することができない場合がある。   However, in the above conventional uninterruptible power supply system, the necessity of changing the power redundancy set for each component is not taken into consideration, and the situation where the power redundancy becomes excessive or insufficient is supported. You may not be able to.

本発明はこのような課題を解決するためのものであり、複数の命令実行手段における電源冗長性を適切に変更可能なマルチプロセッサ装置を提供することを、主たる目的とする。   The present invention has been made to solve such problems, and a main object of the present invention is to provide a multiprocessor device capable of appropriately changing the power supply redundancy in a plurality of instruction execution means.

上記目的を達成するための本発明の一態様は、
命令を実行する複数の命令実行手段と、
前記複数の命令実行手段に所望の電圧の電力を供給可能な複数の電力供給手段と、
前記複数の電力供給手段のそれぞれが、前記複数の命令実行手段のいずれに電力を供給するかを切り替え可能な電源接続切り替え手段と、
前記複数の命令実行手段が実行する命令の重要度に応じて、前記複数の命令実行手段に割り当てられる電力供給手段の冗長度が決定されるように前記電源接続切り替え手段を制御する制御手段と、
を備えるマルチプロセッサ装置である。
In order to achieve the above object, one embodiment of the present invention provides:
A plurality of instruction execution means for executing the instructions;
A plurality of power supply means capable of supplying power of a desired voltage to the plurality of instruction execution means;
Each of the plurality of power supply means can switch power supply connection switching means capable of switching which of the plurality of instruction execution means supplies power;
Control means for controlling the power connection switching means so that the redundancy of the power supply means allocated to the plurality of instruction execution means is determined according to the importance of the instructions executed by the plurality of instruction execution means;
Is a multiprocessor device.

この本発明の一態様によれば、複数の命令実行手段が実行する命令の重要度に応じて、複数の命令実行手段に割り当てられる電力供給手段の冗長度が決定されるように電源接続切り替え手段を制御するため、複数の命令実行手段における電源冗長性を適切に変更することができる。   According to this aspect of the present invention, the power supply connection switching unit is configured such that the redundancy of the power supply unit allocated to the plurality of instruction execution units is determined according to the importance of the instructions executed by the plurality of instruction execution units. Therefore, it is possible to appropriately change the power redundancy in the plurality of instruction execution means.

本発明の一態様において、
前記冗長度は、前記複数の命令実行手段のうち少なくとも一部と前記複数の電力供給手段のうち少なくとも一部が並列接続されたグループにおける、命令実行手段及び電力供給手段の個数に基づいて決定される指標値であるものとしてもよい。
In one embodiment of the present invention,
The redundancy is determined based on the number of instruction execution means and power supply means in a group in which at least some of the plurality of instruction execution means and at least some of the plurality of power supply means are connected in parallel. It may be an index value.

また、本発明の一態様において、
前記複数の命令実行手段が実行する命令の重要度は、例えば、前記複数の命令実行手段から前記制御手段に通知される。
In one embodiment of the present invention,
The importance level of instructions executed by the plurality of instruction execution means is notified from the plurality of instruction execution means to the control means, for example.

また、本発明の一態様において、
前記複数の電力供給手段のそれぞれにおける故障の発生を検出する故障検出手段を備え、
前記制御手段は、前記故障検出手段により前記複数の電力供給手段のいずれかに故障が発生したことが検出されたときに、少なくとも該故障が発生した電力供給手段に接続された命令実行手段への電力供給が維持されるように、前記電源接続切り替え手段及び/又は前記電力供給手段を制御する手段であるものとしてもよい。
In one embodiment of the present invention,
A failure detection means for detecting occurrence of a failure in each of the plurality of power supply means;
When the failure detection unit detects that a failure has occurred in any of the plurality of power supply units, the control unit supplies at least an instruction execution unit connected to the power supply unit in which the failure has occurred. The power supply connection switching unit and / or the power supply unit may be controlled to maintain power supply.

また、本発明の一態様において、
異なる周波数のクロック信号を生成して異なる出力端子から出力可能なクロック生成手段と、
前記複数の電力供給手段のそれぞれが、前記クロック生成手段のいずれの出力端子に接続されるかを切り替え可能なクロック切り替え手段と、
を備えるものとしてもよい。
In one embodiment of the present invention,
Clock generating means capable of generating clock signals of different frequencies and outputting them from different output terminals;
A clock switching means capable of switching which of the plurality of power supply means is connected to which output terminal of the clock generation means;
May be provided.

ここで、クロック切り替え手段は、電源接続切り替え手段と別体であってもよいし、同体であってもよい。   Here, the clock switching means may be separate from the power connection switching means or may be the same body.

本発明によれば、複数の命令実行手段における電源冗長性を適切に変更可能なマルチプロセッサ装置を提供することができる。   According to the present invention, it is possible to provide a multiprocessor device capable of appropriately changing power supply redundancy in a plurality of instruction execution means.

本発明の一実施例に係るマルチプロセッサ装置1のシステム構成例である。1 is a system configuration example of a multiprocessor device 1 according to an embodiment of the present invention. 本発明の一実施例に係るPS及びFDの回路構成例である。It is an example of circuit composition of PS and FD concerning one example of the present invention. 本発明の一実施例に係る制御装置50の内部構成例である。It is an internal structural example of the control apparatus 50 which concerns on one Example of this invention. 記憶部52に書き込まれた電源構成情報の一例である。4 is an example of power supply configuration information written in a storage unit 52. 図4に示す電源構成情報の元となるPEとPSの接続関係をに示す図である。FIG. 5 is a diagram illustrating a connection relationship between a PE and a PS, which is a source of the power supply configuration information illustrated in FIG. 4. 電源の冗長性確保を説明するための説明図である。It is explanatory drawing for demonstrating redundancy ensuring of a power supply. 電源の冗長性確保を説明するための説明図である。It is explanatory drawing for demonstrating redundancy ensuring of a power supply. 電源の冗長性確保を説明するための説明図である。It is explanatory drawing for demonstrating redundancy ensuring of a power supply. ROM70やRAM72等に格納されたタスクグループテーブル76の一例である。It is an example of a task group table 76 stored in a ROM 70, a RAM 72, or the like. 本発明における冗長度の概念を模式的に示す図である。It is a figure which shows typically the concept of the redundancy in this invention. ある状態(初期状態)におけるPEと電源の接続関係、及び状態を示す図である。It is a figure which shows the connection relation and state of PE and a power supply in a certain state (initial state). 状態変化が生じた場合における、電源冗長性を変更しない構成と、本実施例の構成とを比較するための図である。It is a figure for comparing the structure which does not change power supply redundancy in the case where a state change arises, and the structure of a present Example. 状態変化が生じた場合における、電源冗長性を変更しない構成と、本実施例の構成とを比較するための図である。It is a figure for comparing the structure which does not change power supply redundancy in the case where a state change arises, and the structure of a present Example. 状態変化が生じた場合における、電源冗長性を変更しない構成と、本実施例の構成とを比較するための図である。It is a figure for comparing the structure which does not change power supply redundancy in the case where a state change arises, and the structure of a present Example. 電源故障時におけるマルチプロセッサ装置1の各構成要素の処理の流れを示すフローチャートである。4 is a flowchart showing a flow of processing of each component of the multiprocessor device 1 when a power failure occurs.

以下、本発明を実施するための形態について、添付図面を参照しながら実施例を挙げて説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described with reference to the accompanying drawings.

以下、図面を参照し、本発明の一実施例に係るマルチプロセッサ装置について説明する。本発明のマルチプロセッサ装置は、例えば同一チップ上に複数のプロセッサコアを封入したマルチコア・プロセッサに適用可能であるが、これに限らず、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)等からなるコンピュータ単位を複数個備える装置にも適用可能である。   A multiprocessor apparatus according to an embodiment of the present invention will be described below with reference to the drawings. The multiprocessor device of the present invention can be applied to, for example, a multicore processor in which a plurality of processor cores are sealed on the same chip. However, the present invention is not limited to this. The present invention can also be applied to an apparatus including a plurality of computer units including (Random Access Memory).

[構成、及び基本機能]
図1は、本発明の一実施例に係るマルチプロセッサ装置1のシステム構成例である。マルチプロセッサ装置は、主要な構成として、PE(Processor Element)10#1〜10#Nと、PS(Power Supply)20#1〜20#Mと、FD(Fault Detection)25#1〜25#Mと、クロック発生回路30と、SWMX(Switch Matrix)40と、制御装置50と、BUS制御部60と、ROM70、RAM72、周辺回路74と、を備える。
[Configuration and basic functions]
FIG. 1 is a system configuration example of a multiprocessor device 1 according to an embodiment of the present invention. The multiprocessor device has, as main components, PE (Processor Element) 10 # 1 to 10 # N, PS (Power Supply) 20 # 1 to 20 # M, and FD (Fault Detection) 25 # 1 to 25 # M. A clock generation circuit 30, a SWMX (Switch Matrix) 40, a control device 50, a BUS control unit 60, a ROM 70, a RAM 72, and a peripheral circuit 74.

PE10#1〜10#Nは、例えば上記マルチコア・プロセッサにおけるプロセッサコアであり、ROM等のプログラムメモリに格納された命令を実行する命令実行手段の一例である。   The PEs 10 # 1 to 10 # N are processor cores in the multi-core processor, for example, and are an example of an instruction execution unit that executes instructions stored in a program memory such as a ROM.

各PEは、ROM70その他のプログラムメモリに格納された命令をフェッチする命令フェッチユニット、フェッチされた命令をデコード(復号)する命令デコーダ、演算処理を行うALU(Arithmetic Logic Unit)やFPGA(Field Programmable Gate Array)、SIMD演算器、LSU(Load Store Unit)、汎用レジスタ等のハードウエアを備えている。   Each PE includes an instruction fetch unit that fetches instructions stored in the ROM 70 and other program memories, an instruction decoder that decodes the fetched instructions, an ALU (Arithmetic Logic Unit) and an FPGA (Field Programmable Gate) that perform arithmetic processing. Array), SIMD arithmetic unit, LSU (Load Store Unit), hardware such as general-purpose registers.

各PEにより実行される命令は、例えば、ある程度の機能的まとまりを有するタスク(或いはプロセス)という単位で認識される。タスクには、処理の重要性に応じた重要度が予め設定されている。なお、タスクの重要度は、タスクに含まれる命令群の重要度と換言できる。   An instruction executed by each PE is recognized, for example, in units of tasks (or processes) having a certain degree of functional unit. The importance level corresponding to the importance of the process is set in advance for the task. The importance level of a task can be rephrased as the importance level of an instruction group included in the task.

タスクの重要度は、ROM70やRAM72、或いはレジスタやキャッシュメモリ等に格納されたタスクグループテーブル76を参照することにより、各PEが認識することができる。なお、タスクを識別するためのデータは、当該タスクを構成する命令群の一部(ヘッダ等)に埋め込まれているものとしてもよいし、図示しないOS(オペレーティングシステム)によって認識され、PEに通知されてもよい。   The importance of the task can be recognized by each PE by referring to the task group table 76 stored in the ROM 70, RAM 72, register, cache memory or the like. The data for identifying the task may be embedded in a part of the instruction group (header or the like) constituting the task, or recognized by an OS (Operating System) (not shown) and notified to the PE. May be.

各PEは、係る構成によって、自己が実行しているタスクの重要度を他の構成要素に対して出力することができる。   With such a configuration, each PE can output the importance of the task it is performing to other components.

また、タスクグループテーブル76には、タスクの重要度の他、望ましい処理速度(より具体的には、望ましいクロック周波数)が、タスクに対応して規定されていてもよい。タスクグループテーブル76の具体的内容等については後述する。   Further, in the task group table 76, in addition to the importance of the task, a desirable processing speed (more specifically, a desirable clock frequency) may be defined corresponding to the task. Specific contents of the task group table 76 will be described later.

PS20#1〜20#Mは、例えば出力電圧可変型の電源回路である。各PEは、自己が割り当てられた一又は複数のPEが要求する電圧を生成し、当該PEに電力を供給する。なお、各PSは、PEが割り当てられず休止状態となる期間があっても構わない。以下、必要に応じて、PSを単に「電源」と称する。   PS20 # 1 to 20 # M are, for example, output voltage variable type power supply circuits. Each PE generates a voltage required by one or more PEs to which it is assigned, and supplies power to the PE. Each PS may have a period in which a PE is not allocated and is in a dormant state. Hereinafter, PS is simply referred to as “power supply” as necessary.

FD25#1〜25#Mは、各PSに取り付けられた電源故障検出回路である。各FDは、取り付けられたPSの故障検出を行い、制御装置50に出力する。   FDs 25 # 1 to 25 # M are power failure detection circuits attached to each PS. Each FD detects a failure of the attached PS and outputs it to the control device 50.

図2は、PS及びFDの回路構成例である。本図においては、各PSをPS20と、各FDをFD25と、それぞれ表記する。PS20は、バッテリー電圧VBATがコレクタに接続されたPNP型トランジスタ21の他、図示しない可変抵抗等を備える。当該PNP型トランジスタ21のベースに印加される電圧は、制御装置50によって制御される。また、FD25は、PS20の出力電圧を測定して制御装置50に出力するための抵抗26や故障検出部27を備える。   FIG. 2 is a circuit configuration example of PS and FD. In the figure, each PS is represented as PS20, and each FD is represented as FD25. The PS 20 includes a PNP transistor 21 having a battery voltage VBAT connected to the collector, a variable resistor (not shown), and the like. The voltage applied to the base of the PNP transistor 21 is controlled by the control device 50. Further, the FD 25 includes a resistor 26 and a failure detection unit 27 for measuring the output voltage of the PS 20 and outputting it to the control device 50.

クロック発生回路30は、基準クロック生成回路や分周器等を備え、複数種類の周波数を有するクロック信号を、例えば周波数毎に設けられた出力端子から出力する。   The clock generation circuit 30 includes a reference clock generation circuit, a frequency divider, and the like, and outputs a clock signal having a plurality of types of frequencies from, for example, an output terminal provided for each frequency.

SWMX40は、複数のスイッチ構造を有しており、PE10#1〜10#Nと、PS20#1〜20#M及びクロック発生回路30の出力端子との接続関係を切り替える。すなわち、SWMX40は、PS20#1〜20#Mのそれぞれが、PE10#1〜10#Nのいずれに電力を供給するか、及び、PE10#1〜10#Nがいずれの周波数のクロック信号を取得するかを切り替える。   The SWMX 40 has a plurality of switch structures and switches the connection relationship between the PEs 10 # 1 to 10 #N, the PS 20 # 1 to 20 #M, and the output terminal of the clock generation circuit 30. That is, the SWMX 40 obtains which of the PEs 10 # 1 to 10 # N is supplied with power by each of the PS20 # 1 to 20 # M, and what frequency the PE10 # 1 to 10 # N acquires. Switch what to do.

図3は、制御装置50の内部構成例である。制御装置50は、プロセッサバス80とのインターフェースとなるバスインターフェース(I/F)51と、記憶部52と、マトリクスドライバ53と、マイコン(CPU)54と、を備える。なお、いずれかのPEが制御装置50として機能する構成であっても構わない。   FIG. 3 is an internal configuration example of the control device 50. The control device 50 includes a bus interface (I / F) 51 serving as an interface with the processor bus 80, a storage unit 52, a matrix driver 53, and a microcomputer (CPU) 54. Note that any PE may function as the control device 50.

バスインターフェース51は、各PEからプロセッサバス80を介して、電源電圧設定、クロック周波数、タスク優先度等の各種情報を取得し、マイコン54に出力する。   The bus interface 51 acquires various information such as power supply voltage setting, clock frequency, task priority, and the like from each PE via the processor bus 80 and outputs the information to the microcomputer 54.

記憶部52は、例えばレジスタやフラッシュメモリであり、その時点における電源構成を表現した電源構成情報がマイコン54により書き込まれる。図4は、記憶部52に書き込まれた電源構成情報の一例である。また、図4に示す電源構成情報の元となるPEとPSの接続関係を、図5に示す。これらの図に示すように、本実施例では、一以上のPEと一以上のPSが並行に接続されたPEとPSのグループが、電源グループとして認識され、記憶部52に格納されている。   The storage unit 52 is, for example, a register or a flash memory, and power supply configuration information expressing the power supply configuration at that time is written by the microcomputer 54. FIG. 4 is an example of power supply configuration information written in the storage unit 52. Further, FIG. 5 shows the connection relationship between the PE and PS, which is the source of the power supply configuration information shown in FIG. As shown in these drawings, in this embodiment, a group of PEs and PSs in which one or more PEs and one or more PSs are connected in parallel is recognized as a power supply group and stored in the storage unit 52.

マトリクスドライバ53は、マイコン54からの指示信号に応じて、SWMX40の切り替え制御を実行する。   The matrix driver 53 executes switching control of the SWMX 40 in response to an instruction signal from the microcomputer 54.

マイコン54は、各PEから入力された電源電圧設定やタスク優先度に応じて電源構成を決定してマトリクスドライバ53に指示する。また、各PEから入力されたクロック周波数が当該PEに供給されるようにマトリクスドライバ53に指示する。なお、クロック周波数の切り替えタイミングにおいては、クロック発生回路30に指示してクロック信号を一時停止させ、各PEに供給されるクロック信号にノイズが発生しないように制御する。   The microcomputer 54 determines the power supply configuration according to the power supply voltage setting and task priority input from each PE and instructs the matrix driver 53. Further, the matrix driver 53 is instructed so that the clock frequency input from each PE is supplied to the PE. At the clock frequency switching timing, the clock generation circuit 30 is instructed to temporarily stop the clock signal, and control is performed so that noise is not generated in the clock signal supplied to each PE.

[優先度に基づく制御]
〔電源冗長性について〕
以下、制御装置50のマイコン54により実行されるタスクの優先度に基づく電源構成変更制御について説明する。
[Control based on priority]
[About power supply redundancy]
Hereinafter, power supply configuration change control based on task priority executed by the microcomputer 54 of the control device 50 will be described.

まず、電源冗長性の確保について説明する。図6〜8は、電源の冗長性確保を説明するための説明図である。図6に示すように、電源1個が、駆動可能なPE個数を駆動している場合(冗長接続が無い場合)、電源が故障すると、当該電源グループに属するPEが動作不能となる。   First, ensuring power supply redundancy will be described. 6 to 8 are explanatory views for explaining redundancy of power supply. As shown in FIG. 6, when one power source drives the number of driveable PEs (when there is no redundant connection), when the power source fails, the PEs belonging to the power source group become inoperable.

一方、図7に示すように、電源2個が、電源1個が駆動可能なPE個数を駆動している場合(電源2並列の場合)、1個の電源が故障しても、当該電源グループに属するPEは、残りの電源から電力供給されるため、動作を継続することができる。   On the other hand, as shown in FIG. 7, when two power supplies are driving the number of PEs that can be driven by one power supply (when two power supplies are in parallel), even if one power supply fails, the power supply group Since the PEs belonging to are supplied with power from the remaining power supply, the operation can be continued.

また、図8に示すように、電源3個が、電源2個が駆動可能なPE個数を駆動している場合(電源3並列の場合)、1個の電源が故障しても、当該電源グループに属するPEは、残りの電源から電力供給されるため、動作を継続することができる。   Further, as shown in FIG. 8, when three power supplies are driving the number of PEs that can be driven by two power supplies (in the case of three power supplies in parallel), even if one power supply fails, the power supply group Since the PEs belonging to are supplied with power from the remaining power supply, the operation can be continued.

次に、タスクの優先度の認識について説明する。図9は、前述したように、ROM70やRAM72等に格納されたタスクグループテーブル76の一例である。図示するように、タスクグループテーブル76は、複数のタスクを含むタスクグループ毎に、重要度、及び処理速度要求を規定している。これらのうち重要度は、電源冗長性を決定するために用いられ、処理速度要求は、クロック周波数を決定するのに用いられる。   Next, task priority recognition will be described. FIG. 9 is an example of the task group table 76 stored in the ROM 70, RAM 72, etc. as described above. As shown in the figure, the task group table 76 defines the importance and the processing speed request for each task group including a plurality of tasks. Of these, importance is used to determine power supply redundancy, and processing speed requirements are used to determine clock frequency.

〔冗長度について〕
図10は、本発明における冗長度の概念を模式的に示す図である。冗長度とは、電源冗長性を示す指標値であり、例えば次式(1)によって表現される。
[About redundancy]
FIG. 10 is a diagram schematically showing the concept of redundancy in the present invention. The redundancy is an index value indicating power supply redundancy, and is expressed by the following equation (1), for example.

(冗長度)={1−(故障してもPEが動作継続可能な電源の個数)/(グループ内の電源の個数)}-1 …(1) (Redundancy) = {1− (number of power sources that can continue to operate even if a failure occurs) / (number of power sources in the group)} −1 (1)

従って、電源3個が、電源2個が駆動可能なPE個数を駆動している場合、冗長度は1.5である。また、電源2個が、電源1個が駆動可能なPE個数を駆動している場合、冗長度は2である。また、電源1個が、電源1個が駆動可能なPE個数を駆動している場合、冗長度は1である。   Therefore, when three power supplies are driving the number of PEs that can be driven by two power supplies, the redundancy is 1.5. When two power supplies are driving the number of PEs that can be driven by one power supply, the redundancy is two. Further, when one power source drives the number of PEs that can be driven by one power source, the redundancy is 1.

ここで、「故障してもPEが動作継続可能な電源の個数」とは、「グループ内の電源の個数」から、「必要最低限の電源の個数」を差し引いたものとなる。「必要最低限の電源の個数」は、例えば次式(2)に示す範囲で予め決定されてROM70やRAM72に格納されており、予め制御装置50により参照可能となっている。式中、kは電源が何個のPEを駆動可能か、を示す係数であり、電源の出力電圧に応じて変化する値である。   Here, “the number of power supplies that can continue to operate even if a failure occurs” is obtained by subtracting “the minimum number of power supplies” from “the number of power supplies in the group”. The “minimum number of necessary power supplies” is determined in advance within the range shown in the following equation (2), for example, and stored in the ROM 70 or RAM 72 and can be referred to by the control device 50 in advance. In the equation, k is a coefficient indicating how many PEs the power supply can drive, and is a value that changes according to the output voltage of the power supply.

(必要最低限の電源の個数)=(グループ内のPEの個数/k)〜2×(グループ内のPEの個数/k) …(2)   (Minimum number of necessary power supplies) = (Number of PEs in group / k) to 2 × (Number of PEs in group / k) (2)

図10に示すように、また、上式(1)から明らかなように、電源2個がPE2個に電力供給している電源グループ1が最も電源冗長性が高く(冗長度=2)、電源3個がPE4個に電力供給している電源グループ2が次いで電源冗長性が高く(冗長度=1.5)、電源1個がPE2個に電力供給している電源グループ3の電源冗長性が最も低い(冗長度=1)。   As shown in FIG. 10, and as is clear from the above equation (1), the power supply group 1 in which two power supplies supply power to two PEs has the highest power supply redundancy (redundancy = 2). The power supply group 2 in which three power supplies four PEs is the next highest in power redundancy (redundancy = 1.5), and the power supply group 3 in which one power supply supplies two PEs has power redundancy. The lowest (redundancy = 1).

〔冗長度等に基づく切り替え制御について〕
以下、制御装置50が冗長度等に基づいてPEと電源の接続関係を切り替える場面について説明する。
[Switching control based on redundancy, etc.]
Hereinafter, a scene in which the control device 50 switches the connection relationship between the PE and the power supply based on redundancy or the like will be described.

図11は、ある状態(初期状態)におけるPEと電源の接続関係、及び状態を示す図である。この状態において、PE10#1とPE10#2は処理速度=「高」、タスク重要度=「高」で動作しており、PE10#3とPE10#4は処理速度=「低」、タスク重要度=「低」で動作している。そして、PE10#1とPE10#2には電源20#1と20#2が並列接続されており、PE10#3とPE10#4には電源20#3のみが接続されている。   FIG. 11 is a diagram illustrating a connection relationship between the PE and the power source and a state in a certain state (initial state). In this state, PE10 # 1 and PE10 # 2 are operating at processing speed = “high” and task importance = “high”, and PE10 # 3 and PE10 # 4 are processing speed = “low” and task importance. = “Low”. The power sources 20 # 1 and 20 # 2 are connected in parallel to the PEs 10 # 1 and PE10 # 2, and only the power source 20 # 3 is connected to the PEs 10 # 3 and PE10 # 4.

(1)図11に示す状態から、PE10#1とPE10#2が処理速度=「低」、タスク重要度=「低」で動作し、PE10#3とPE10#4が処理速度=「中」、タスク重要度=「中」に切り替わった場合を考える。図12(A)は、電源構成を変更しない場合のPEと電源接続関係、及び状態を示す図である。この場合、電源冗長性を余り必要としないPE10#1及び10#2に2並列で電源が接続されているため、電力供給が過剰となるだけでなく、PE10#3とPE10#4に供給される電力が不足することになる。また、比較的高い電源冗長性を要求するPE10#3とPE10#4の冗長度は低いままである。   (1) From the state shown in FIG. 11, PE10 # 1 and PE10 # 2 operate with processing speed = “low” and task importance = “low”, and PE10 # 3 and PE10 # 4 operate with processing speed = “medium”. Consider the case where the task importance level is switched to “medium”. FIG. 12A is a diagram illustrating the PE and power connection relationship and state when the power configuration is not changed. In this case, since the power supplies are connected in parallel to the PEs 10 # 1 and 10 # 2 that do not require much power redundancy, not only the power supply becomes excessive, but also supplied to the PEs 10 # 3 and PE10 # 4. There will be a shortage of electricity. Also, the redundancy of PE10 # 3 and PE10 # 4 that require relatively high power redundancy remains low.

これに対し、図12(B)は、本実施例の制御装置50がPEと電源の接続関係や状態を切り替えた様子を示す図である。図示するように、タスク重要度が高まったPE10#3とPE10#4が同じ電源グループに統合され、これらに対して2並列で電源が接続されて冗長性が高くなっている。このため、タスク重要度の比較的高いPSの電源冗長性が高まることになり、装置の安全性を高めることができる。   On the other hand, FIG. 12B is a diagram illustrating a state in which the control device 50 according to the present embodiment switches the connection relationship and state between the PE and the power source. As shown in the figure, PE10 # 3 and PE10 # 4 with higher task importance are integrated into the same power supply group, and power is connected in parallel to these two to increase redundancy. For this reason, the power supply redundancy of the PS having a relatively high task importance is increased, and the safety of the apparatus can be improved.

また、タスク重要度が比較的低いPE10#1及び10#2に過剰な電力を供給することがないため、装置全体の電力消費を抑制することができる。   In addition, since excessive power is not supplied to the PEs 10 # 1 and 10 # 2 having relatively low task importance, the power consumption of the entire apparatus can be suppressed.

(2)次に、図11に示す状態から、PE10#1とPE10#2が処理速度=「高」、タスク重要度=「高」で動作し、PE10#3とPE10#4が処理速度=「中」、タスク重要度=「中」に切り替わった場合を考える。図13(A)は、電源構成を変更しない場合のPEと電源接続関係、及び状態を示す図である。この場合、PE10#3とPE10#4に供給される電力が不足することになる。   (2) Next, from the state shown in FIG. 11, PE10 # 1 and PE10 # 2 operate with processing speed = “high” and task importance = “high”, and PE10 # 3 and PE10 # 4 operate with processing speed = Consider a case where “medium” and task importance = “medium” are switched. FIG. 13A is a diagram illustrating the PE and power connection relationship and state when the power configuration is not changed. In this case, the power supplied to PE10 # 3 and PE10 # 4 is insufficient.

これに対し、図13(B)は、本実施例の制御装置50がPEと電源の接続関係や状態を切り替えた様子を示す図である。図示するように、制御装置50が指示してPS20#3の出力電圧を「中」に変更しているため、PE10#3とPE10#4に供給される電力は不足しない。   On the other hand, FIG. 13B is a diagram illustrating a state in which the control device 50 according to the present embodiment switches the connection relationship and state between the PE and the power source. As shown in the drawing, since the control device 50 instructs to change the output voltage of the PS 20 # 3 to “medium”, the power supplied to the PE 10 # 3 and PE 10 # 4 is not insufficient.

(3)次に、図11に示す状態から、PE10#1が処理速度=「高」、タスク重要度=「低」で動作し、PE10#2、PE10#3、PE10#4が処理速度=「低」、タスク重要度=「低」で動作する状態に切り替わった場合を考える。図14(A)は、電源構成を変更しない場合のPEと電源接続関係、及び状態を示す図である。この場合、PE10#1とPE10#2に供給される電力が過剰となり、無駄な電力消費がなされることになる。   (3) Next, from the state shown in FIG. 11, PE10 # 1 operates at processing speed = “high” and task importance = “low”, and PE10 # 2, PE10 # 3, and PE10 # 4 operate at processing speed = Let us consider a case where the state is switched to an operation state with “low” and task importance = “low”. FIG. 14A is a diagram illustrating the PE and power connection relationship and state when the power configuration is not changed. In this case, the power supplied to PE10 # 1 and PE10 # 2 becomes excessive, resulting in wasteful power consumption.

これに対し、図14(B)は、本実施例の制御装置50がPEと電源の接続関係や状態を切り替えた様子を示す図である。図示するように、PE10#1とPE10#2を別の電源グループにして電源冗長性を低下させると共に、PE10#2に電力供給するPS20#2の出力電圧を「低」に変更しているため、装置全体の電力消費を抑制することができる。   On the other hand, FIG. 14B is a diagram illustrating a state in which the control device 50 according to the present embodiment switches the connection relationship and state between the PE and the power source. As shown in the figure, PE10 # 1 and PE10 # 2 are set as separate power supply groups to reduce power supply redundancy, and the output voltage of PS20 # 2 that supplies power to PE10 # 2 is changed to "low". The power consumption of the entire device can be suppressed.

[電源故障時の制御]
また、制御装置50のマイコン54は、FD25#1〜25#Mのうちいずれかから故障検出信号が入力されると、マトリクスドライバ53に指示して、故障したPSをPEから切り離すように制御する。そして、記憶部52に記憶された、電源グループ、PS、PEの対応関係を考慮し、故障したPSの属する電源グループが冗長構成となっていない場合、故障したPSが駆動していたPEに対して電源故障を通知するための割り込み信号を送出する。また、内部の電源故障通知レジスタに電源故障情報を設定し、故障したPSに関する情報を各PEから参照可能とする。
[Control at power failure]
Further, when a failure detection signal is input from any one of the FDs 25 # 1 to 25 # M, the microcomputer 54 of the control device 50 instructs the matrix driver 53 to control the failed PS to be disconnected from the PE. . In consideration of the correspondence relationship between the power supply group, PS, and PE stored in the storage unit 52, if the power supply group to which the failed PS belongs is not in a redundant configuration, the PE that has been driven by the failed PS An interrupt signal is sent to notify the power failure. Also, power failure information is set in the internal power failure notification register so that information regarding the failed PS can be referred from each PE.

図15は、電源故障時におけるマルチプロセッサ装置1の各構成要素の処理の流れを示すフローチャートである。   FIG. 15 is a flowchart showing the flow of processing of each component of the multiprocessor device 1 when a power failure occurs.

まず、いずれかの電源故障検出回路(FD)が電源(PS)の故障を検出するまで待機する(S100)。   First, it waits until one of the power supply failure detection circuits (FD) detects a failure of the power supply (PS) (S100).

いずれかの電源故障検出回路が電源の故障を検出すると、当該電源故障検出回路(FD)は電源故障を制御装置50に通知する(S102)。   When any one of the power failure detection circuits detects a power failure, the power failure detection circuit (FD) notifies the control device 50 of the power failure (S102).

制御装置50は、SWMX40の該当箇所をオープンに変更することにより、故障した電源をPEから切り離す(S104)。   The control device 50 disconnects the failed power source from the PE by changing the corresponding part of the SWMX 40 to open (S104).

次に、制御装置50は、故障した電源の属する電源グループが冗長接続になっているか否かを判定する(S106)。   Next, the control device 50 determines whether or not the power supply group to which the failed power supply belongs is redundantly connected (S106).

冗長接続になっている場合は、当該電源グループの故障していない電源のみで、冗長度を回復可能かどうかを判定する(S108)。冗長度を回復可能である場合、制御装置50は、電源に指示して出力電圧を上昇させ、冗長度を回復する(S110)。   If the redundant connection is established, it is determined whether or not the redundancy can be recovered only with the power supply in which the power supply group has not failed (S108). If the redundancy can be recovered, the control device 50 instructs the power supply to increase the output voltage and recovers the redundancy (S110).

冗長度を回復可能でない場合、制御装置50は、SWMX40に指示して電源を追加する等の制御を行う(S112)。   If the redundancy cannot be recovered, the control device 50 performs control such as instructing the SWMX 40 to add power (S112).

一方、故障した電源の属する電源グループが冗長接続になっていない場合は、当該電源グループに属するPEに電源故障を通知するための割り込み信号を送出する(S114)。   On the other hand, if the power supply group to which the failed power supply belongs is not redundantly connected, an interrupt signal for notifying the power supply failure to the PE belonging to the power supply group is sent (S114).

割り込み信号を受信したPEは、実行中断処理を開始する(S116)。   The PE that has received the interrupt signal starts execution interruption processing (S116).

次に、制御装置50は、故障していない電源に当該PEを接続できるかどうかを判定する(S118)。故障していない電源に当該PEを接続できる場合は、SWMX40に指示して故障していない電源にPEを接続し、当該PEに電源回復を通知するための割り込み信号を送出する(S120)。   Next, the control device 50 determines whether or not the PE can be connected to a power supply that has not failed (S118). If the PE can be connected to a power supply that does not fail, the PE is connected to the power supply that does not fail by instructing the SWMX 40, and an interrupt signal is sent to notify the PE of power recovery (S120).

以上説明した本実施例のマルチプロセッサ装置1によれば、タスクの優先度に基づいて電源冗長性を動的に変更するため、複数のPEにおける電源冗長性を適切に変更することができる。   According to the multiprocessor device 1 of the present embodiment described above, the power supply redundancy in the plurality of PEs can be changed appropriately because the power supply redundancy is dynamically changed based on the priority of the task.

また、複数の電源のうちいずれかに故障が発生した場合に、他の電源を用いてPEに対する電力供給を維持することができる。   Further, when a failure occurs in any of the plurality of power supplies, the power supply to the PE can be maintained using another power supply.

また、タスクの優先度や処理速度が低下したPEに対する電力供給を低下させることにより、装置全体の電力消費を抑制することができる。   Moreover, the power consumption of the entire apparatus can be suppressed by reducing the power supply to the PE whose task priority and processing speed are reduced.

以上、本発明を実施するための最良の形態について実施例を用いて説明したが、本発明はこうした実施例に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。   The best mode for carrying out the present invention has been described above with reference to the embodiments. However, the present invention is not limited to these embodiments, and various modifications can be made without departing from the scope of the present invention. And substitutions can be added.

1 マルチプロセッサ装置
10#1、10#2、… PE
20#1、20#2、… PS(電源)
21 PNP型トランジスタ
25#1、25#2、… FD
26 抵抗
27 故障検出部
30 クロック発生回路
40 SWMX
50 制御装置
51 バスインターフェース(I/F)
52 記憶部
53 マトリクスドライバ
54 マイコン(CPU)
60 BUS制御部
70 ROM
72 RAM
74 周辺回路
76 タスクグループテーブル
80 プロセッサバス
1 Multiprocessor device 10 # 1, 10 # 2, ... PE
20 # 1, 20 # 2, ... PS (power supply)
21 PNP transistor 25 # 1, 25 # 2, ... FD
26 resistance 27 failure detection unit 30 clock generation circuit 40 SWMX
50 Control device 51 Bus interface (I / F)
52 Storage Unit 53 Matrix Driver 54 Microcomputer (CPU)
60 BUS control unit 70 ROM
72 RAM
74 Peripheral circuit 76 Task group table 80 Processor bus

Claims (5)

命令を実行する複数の命令実行手段と、
前記複数の命令実行手段に所望の電圧の電力を供給可能な複数の電力供給手段と、
前記複数の電力供給手段のそれぞれが、前記複数の命令実行手段のいずれに電力を供給するかを切り替え可能な電源接続切り替え手段と、
前記複数の命令実行手段が実行する命令の重要度に応じて、前記複数の命令実行手段に割り当てられる電力供給手段の冗長度が決定されるように前記電源接続切り替え手段を制御する制御手段と、
を備えるマルチプロセッサ装置。
A plurality of instruction execution means for executing the instructions;
A plurality of power supply means capable of supplying power of a desired voltage to the plurality of instruction execution means;
Each of the plurality of power supply means can switch power supply connection switching means capable of switching which of the plurality of instruction execution means supplies power;
Control means for controlling the power connection switching means so that the redundancy of the power supply means allocated to the plurality of instruction execution means is determined according to the importance of the instructions executed by the plurality of instruction execution means;
A multiprocessor device comprising:
請求項1に記載のマルチプロセッサ装置であって、
前記冗長度は、前記複数の命令実行手段のうち少なくとも一部と前記複数の電力供給手段のうち少なくとも一部が並列接続されたグループにおける、命令実行手段及び電力供給手段の個数に基づいて決定される指標値である、
マルチプロセッサ装置。
The multiprocessor device according to claim 1, comprising:
The redundancy is determined based on the number of instruction execution means and power supply means in a group in which at least some of the plurality of instruction execution means and at least some of the plurality of power supply means are connected in parallel. Index value
Multiprocessor device.
請求項1又は2に記載のマルチプロセッサ装置であって、
前記複数の命令実行手段が実行する命令の重要度は、前記複数の命令実行手段から前記制御手段に通知される、
マルチプロセッサ装置。
The multiprocessor device according to claim 1 or 2,
The degree of importance of instructions executed by the plurality of instruction execution means is notified from the plurality of instruction execution means to the control means.
Multiprocessor device.
請求項1ないし3のいずれか1項に記載のマルチプロセッサ装置であって、
前記複数の電力供給手段のそれぞれにおける故障の発生を検出する故障検出手段を備え、
前記制御手段は、前記故障検出手段により前記複数の電力供給手段のいずれかに故障が発生したことが検出されたときに、少なくとも該故障が発生した電力供給手段に接続された命令実行手段への電力供給が維持されるように、前記電源接続切り替え手段及び/又は前記電力供給手段を制御する手段である、
マルチプロセッサ装置。
A multiprocessor device according to any one of claims 1 to 3,
A failure detection means for detecting occurrence of a failure in each of the plurality of power supply means;
When the failure detection unit detects that a failure has occurred in any of the plurality of power supply units, the control unit supplies at least an instruction execution unit connected to the power supply unit in which the failure has occurred. Means for controlling the power connection switching means and / or the power supply means so that power supply is maintained;
Multiprocessor device.
請求項1ないし4のいずれか1項に記載のマルチプロセッサ装置であって、
異なる周波数のクロック信号を生成して異なる出力端子から出力可能なクロック生成手段と、
前記複数の電力供給手段のそれぞれが、前記クロック生成手段のいずれの出力端子に接続されるかを切り替え可能なクロック切り替え手段と、
を備えるマルチプロセッサ装置。
A multiprocessor device according to any one of claims 1 to 4, comprising:
Clock generating means capable of generating clock signals of different frequencies and outputting them from different output terminals;
A clock switching means capable of switching which of the plurality of power supply means is connected to which output terminal of the clock generation means;
A multiprocessor device comprising:
JP2011057846A 2011-03-16 2011-03-16 Multiprocessor device Expired - Fee Related JP5502789B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011057846A JP5502789B2 (en) 2011-03-16 2011-03-16 Multiprocessor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011057846A JP5502789B2 (en) 2011-03-16 2011-03-16 Multiprocessor device

Publications (2)

Publication Number Publication Date
JP2012194749A true JP2012194749A (en) 2012-10-11
JP5502789B2 JP5502789B2 (en) 2014-05-28

Family

ID=47086583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011057846A Expired - Fee Related JP5502789B2 (en) 2011-03-16 2011-03-16 Multiprocessor device

Country Status (1)

Country Link
JP (1) JP5502789B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0922320A (en) * 1995-07-05 1997-01-21 Toshiba Eng Co Ltd Computer system
JP2003241859A (en) * 2002-02-07 2003-08-29 Internatl Business Mach Corp <Ibm> Power supply system and rack-mounted computer system including the same
JP2006318380A (en) * 2005-05-16 2006-11-24 Handotai Rikougaku Kenkyu Center:Kk Circuit system
JP2008090760A (en) * 2006-10-04 2008-04-17 Internatl Business Mach Corp <Ibm> Method and device for supplying power to processor of multiprocessor system
JP2009201244A (en) * 2008-02-21 2009-09-03 Nec Corp Power supply control device
JP2012043254A (en) * 2010-08-20 2012-03-01 Toyota Motor Corp Microprocessor, electronic control unit, and power supply control method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0922320A (en) * 1995-07-05 1997-01-21 Toshiba Eng Co Ltd Computer system
JP2003241859A (en) * 2002-02-07 2003-08-29 Internatl Business Mach Corp <Ibm> Power supply system and rack-mounted computer system including the same
JP2006318380A (en) * 2005-05-16 2006-11-24 Handotai Rikougaku Kenkyu Center:Kk Circuit system
JP2008090760A (en) * 2006-10-04 2008-04-17 Internatl Business Mach Corp <Ibm> Method and device for supplying power to processor of multiprocessor system
JP2009201244A (en) * 2008-02-21 2009-09-03 Nec Corp Power supply control device
JP2012043254A (en) * 2010-08-20 2012-03-01 Toyota Motor Corp Microprocessor, electronic control unit, and power supply control method

Also Published As

Publication number Publication date
JP5502789B2 (en) 2014-05-28

Similar Documents

Publication Publication Date Title
JP6530774B2 (en) Hardware failure recovery system
US8752060B2 (en) Multi-CPU domain mobile electronic device and operation method thereof
JP2014099151A (en) Rack and power control method therefor
US10551868B2 (en) Multiprocessor systems having processors with different processing capabilities connecting to a clock generator
KR20150087744A (en) Method and apparatus for changing operation status of electric device
US20120159241A1 (en) Information processing system
EP3596983A1 (en) Power management of an nze iot device
US10073513B2 (en) Protected power management mode in a processor
US20150286595A1 (en) Interrupt controller and a method of controlling processing of interrupt requests by a plurality of processing units
JP2007323631A (en) Cpu runaway determination circuit
JP4655718B2 (en) Computer system and control method thereof
US20210382536A1 (en) Systems, devices, and methods for controller devices handling fault events
US9652259B2 (en) Apparatus and method for managing register information in a processing system
TWI602059B (en) Server node shutdown
CN111949320A (en) Method, system and server for providing system data
JP6148129B2 (en) Information processing apparatus, firmware update method, and firmware update program
JP5445572B2 (en) Computer system, standby power reduction method, and program
EP2843555A1 (en) Information processing system and method for processing failure
JP5502789B2 (en) Multiprocessor device
WO2008004330A1 (en) Multiple processor system
WO2013101228A1 (en) Middleware power management
US20180157495A1 (en) Computer system
US20130054988A1 (en) Integrated circuit device, signal processing system and method for managing power resources of a signal processing system
JP2009116699A (en) Information processing system
US20070220234A1 (en) Autonomous multi-microcontroller system and the control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130624

TRDD Decision of grant or rejection written
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140221

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140313

LAPS Cancellation because of no payment of annual fees