JP2985188B2 - Redundant computer system - Google Patents

Redundant computer system

Info

Publication number
JP2985188B2
JP2985188B2 JP1215378A JP21537889A JP2985188B2 JP 2985188 B2 JP2985188 B2 JP 2985188B2 JP 1215378 A JP1215378 A JP 1215378A JP 21537889 A JP21537889 A JP 21537889A JP 2985188 B2 JP2985188 B2 JP 2985188B2
Authority
JP
Japan
Prior art keywords
signal
control
cpu
unit
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP1215378A
Other languages
Japanese (ja)
Other versions
JPH0378037A (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.)
YOKOKAWA DENKI KK
Original Assignee
YOKOKAWA DENKI KK
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 YOKOKAWA DENKI KK filed Critical YOKOKAWA DENKI KK
Priority to JP1215378A priority Critical patent/JP2985188B2/en
Priority to NL9000692A priority patent/NL193573C/en
Priority to KR1019900004120A priority patent/KR920008284B1/en
Priority to GB9006970A priority patent/GB2231987B/en
Priority to DE4010109A priority patent/DE4010109C2/en
Priority to US07/502,202 priority patent/US5638507A/en
Priority to BR909001530A priority patent/BR9001530A/en
Publication of JPH0378037A publication Critical patent/JPH0378037A/en
Priority to GB9222970A priority patent/GB2259381B/en
Application granted granted Critical
Publication of JP2985188B2 publication Critical patent/JP2985188B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、計算機を二重化したシステムにおいて、二
重化した計算機のどちら側に制御権を与えるか(主系に
するか)の切換え制御を行う二重化制御のための機能を
それぞれの計算機に設けるようにした二重化計算機シス
テムに関し、さらに詳しくは、二重化された計算機に対
して制御権の切り替え動作に何等影響を与えずにプログ
ラムのローディングが通信により行える二重化計算機シ
ステムに関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a system in which a computer is duplicated, in which switching control is given to which side of the duplicated computer the control right is given (whether to be the main system). More specifically, the present invention relates to a redundant computer system in which a control function is provided in each computer, and more particularly, to a redundant computer system in which a program can be loaded by communication without affecting a switching operation of a control right for the redundant computer. It relates to a computer system.

<従来の技術> 第4図は、従来の二重化計算機システムの一例を示す
構成概念図である。図において、FC1,FC2は二重化され
た計算機、DXCはこれらの二重化された計算機FC1,FC2か
らの信号やデータを監視して、FC1,FC2のいずれか一方
を主系として運用状態にし、他方を従系として待機状態
となるように構成されている。CPLはカップラで、計算
機FC1,FC2をそれぞれバスBSに接続する。
<Prior Art> FIG. 4 is a conceptual diagram illustrating an example of a conventional redundant computer system. In the figure, FC1 and FC2 are duplicated computers, and DXC monitors signals and data from these duplicated computers FC1 and FC2, and makes one of FC1 and FC2 the main system and puts the other in operation. It is configured to be in a standby state as a slave system. CPL is a coupler that connects the computers FC1 and FC2 to the bus BS, respectively.

各計算機FC1,FC2において、FC11は通信部であり、CP1
1は制御演算を行うCPUを含むCPU部である。
In each of the computers FC1 and FC2, FC11 is a communication unit and CP1
Reference numeral 1 denotes a CPU unit including a CPU that performs a control operation.

二重化制御部DXCは、主として両方の計算機FC1,FC2か
らの自己診断の結果を示す信号CPUREDYを参照して、二
重化制御の切換えを行っている。制御権を有する計算機
側は、通信部FC11を介して上位計算機に対して通信を実
行したり、各種のI/Oに対して制御演算結果を出力した
りする。待機側の計算機は、制御演算動作や通信動作は
行わず、自己診断やデータベースの等値化等の動作を実
行していて、制御権の切り替わりがスムーズに行えるよ
うにするための待機動作をしている。
The redundant control unit DXC switches the redundant control mainly with reference to the signal CPUREDY indicating the result of the self-diagnosis from both the computers FC1 and FC2. The computer having the control right executes communication with the host computer via the communication unit FC11, and outputs control operation results to various I / Os. The computer on the standby side does not perform any control operation or communication operation, but performs operations such as self-diagnosis and equalization of the database, and performs a standby operation for smoothly switching the control right. ing.

<発明が解決しようとする課題> このように構成される二重化計算機システムにおい
て、通信部を経由して例えば上位計算機からCPU部にプ
ログラムをロードする場合、CPUの動作を一旦停止させ
る必要がある。これは、CPUが走行中の状態でプログラ
ムの書換えを行うと、暴走する危険性があるからであ
る。
<Problems to be Solved by the Invention> In a redundant computer system configured as described above, when a program is loaded from an upper-level computer to a CPU unit via a communication unit, for example, it is necessary to temporarily stop the operation of the CPU. This is because there is a risk of runaway if the program is rewritten while the CPU is running.

したがって、この場合、CPUを通信により停止させる
こととなるが、CPUの停止状態はノットレディの状態に
なるので、計算機からの自己診断の結果を示す信号CPUR
EDYがCPU異常を示す信号になる。これを受けた二重化制
御部DXCは、その必要がないにもかかわらず制御権の切
り替えを行ってしまうという不具合が発生する。
Therefore, in this case, the CPU is stopped by communication, but since the stopped state of the CPU becomes a not-ready state, a signal CPUR indicating a self-diagnosis result from the computer is issued.
EDY becomes a signal indicating a CPU error. In response to this, a problem occurs that the redundant control unit DXC switches the control right even though it is not necessary.

従来装置においては、この様な不具合が発生しないよ
うに、プログラムのローディングに先立ってCPUを停止
させるような場合、二重化制御部がノットレディの信号
を受けても、制御権が切替わらないように複雑な制御を
するように構成していた。
In the conventional device, in order to prevent such a problem from occurring, when the CPU is stopped prior to the loading of the program, the control right is not switched even when the redundant control unit receives the not-ready signal. It was configured to perform complicated control.

本発明の目的は、専用の二重化制御部を持たないシス
テムにおいて、通信によりCPUを停止させても、制御権
が切替わらないようにし、通信からのプログラムのロー
ドを簡単な構成で行える二重化計算機システムを実現す
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a redundant computer system capable of preventing a control right from being switched even when a CPU is stopped by communication in a system without a dedicated redundant control unit, and enabling a simple configuration to load a program from communication. It is to realize.

<課題を解決するための手段> 前記した目的を達成する本発明は、 自己診断機能を有する計算機を二重化した二重化計算
機システムにおいて、 各計算機システムは、 演算及び制御を行うと共に自己診断機能により自身の
動作が正常に行えることを示す信号(CPURDY0)を出力
するCPU部と、 前記CPU部からの動作が正常に行えることを示す信号
(CPURDY0)と、相手側CPU部からの動作が正常に行える
ことを示す信号(CPURDY1)と、自分側に制御権がある
ことを示す信号(DCS0)と、相手側に制御権があること
を示す信号(DCS1)を入力し、これらの各信号の論理を
とり制御権を決定する二重化制御部と、 上位との通信を行うと共に上位から「ストップ」コマ
ンドを受けた場合、相手側CPU部にその動作を停止させ
る信号(STOP0)を出力した後に自分側CPU部にその動作
を停止させる信号(CSTOP)を出力し、システム全体が
停止状態で上位から「リスタート」コマンドを受けた場
合、制御権を有している自分側のCPU部を相手側CPU部よ
りも先にリスタートさせる信号(CRESTART)を出力する
通信部と、 を備えて構成される。
<Means for Solving the Problems> To achieve the above object, the present invention provides a dual computer system in which computers having a self-diagnosis function are duplicated. A CPU that outputs a signal (CPURDY0) indicating that the operation can be performed normally, a signal (CPURDY0) that indicates that the operation from the CPU can be performed normally, and that the operation from the partner CPU can be performed normally Input signal (CPURDY1), a signal (DCS0) indicating that the own device has the control right, and a signal (DCS1) indicating that the other device has the control right. Redundant control unit that determines the control right, communicates with the host, and when receiving a “stop” command from the host, outputs a signal (STOP0) to the other CPU to stop its operation, and then outputs the signal to the local CPU. To Outputs a signal (CSTOP) to stop the operation, and when the entire system is stopped and a “Restart” command is received from the host, the own CPU unit that has control authority is higher than the other CPU unit. And a communication unit that outputs a signal (CRESTART) for restarting first.

<実施例> 以下図面を用いて、本発明の実施例を詳細に説明す
る。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示す構成ブロック図であ
る。図において、FC1,FC2は、二重化された第1,第2の
計算機で、その内部構成はいずれもほぼ同じ構成となっ
ている。
FIG. 1 is a configuration block diagram showing one embodiment of the present invention. In the figure, FC1 and FC2 are duplicated first and second computers, and both have almost the same internal configuration.

第1,第2の制御演算部FC1,FC2において、11,21は演算
及び制御を行うと共に、自己診断により動作が正常に行
える状態にあることを示す信号(CPURDY0)を出力するC
PU部、12,22は上位との通信をデータバスBSを介して行
う通信部である。この通信部は、上位から「ストップ」
コマンドを受けた場合、相手側CPU部にその動作を停止
させる信号(STOP0)を出力し、システム全体が停止状
態の時に上位から「リスタート」コマンドを受けた場
合、自分側のCPU部を先にリスタートさせる信号(CREST
ART)を出力する機能を有している。
In the first and second control calculation units FC1 and FC2, C and C perform calculations and control, and output a signal (CPURDY0) indicating that the operation is normally performed by self-diagnosis.
PU units 12, 22 are communication units for communicating with the host via the data bus BS. This communication unit is "stop" from the top
When a command is received, a signal (STOP0) to stop the operation is output to the other CPU unit. To restart (CREST
ART) is output.

13,23はどちらかの計算機に制御権を与えるための信
号(DCS0,DCS1)を出力する二重化制御機能を持つ二重
化制御部である。この二重化制御部は、CPU部からの動
作が正常に行えることを示す信号(CPURDY0)と、相手
側CPU部からの動作が正常に行えることを示す信号(CPU
RDY1)と、自分側に制御権があることを示す信号(DCS
0)と、相手側に制御権があることを示す信号(DCS1)
を入力し、これらの各信号の論理をとり制御権を決定す
る機能を持っている。
Reference numerals 13 and 23 denote redundant control units having a redundant control function for outputting signals (DCS0 and DCS1) for giving control to one of the computers. The redundant control unit receives a signal (CPURDY0) indicating that the operation from the CPU unit can be normally performed and a signal (CPURDY) indicating that the operation from the partner CPU unit can be normally performed.
RDY1) and a signal (DCS
0) and a signal indicating that the other party has control (DCS1)
And determines the control right by taking the logic of each of these signals.

第2図は各計算機において、通信部12,22及び二重化
制御部13,23の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of the communication units 12, 22 and the duplex control units 13, 23 in each computer.

通信部12,22は、上位から「ストップ」コマンドを受
け、相手側CPU部にその動作を停止させる信号(STOP0)
を出力すると共に、相手側CPU部が停止後、自分の側のC
PUに対して停止信号(CSTOP)を出力する停止信号出力
手段C1と、システム全体が停止状態で、上位から「リス
タート」コマンドを受け、自分側のCPU部を先にリスタ
ートさせる信号(CRESTART)を出力するリスタート信号
出力手段C2とを有している。
The communication units 12 and 22 receive a "stop" command from the host, and cause the other CPU unit to stop the operation (STOP0).
Is output, and after the other CPU unit stops,
A stop signal output means C1 for outputting a stop signal (CSTOP) to the PU, and a signal (CRESTART) for receiving a "restart" command from the host system and restarting its own CPU unit first when the entire system is stopped. ) To output the restart signal output means C2.

二重化制御部13は、通信部12(22)から、動作が正常
に行える状態にあることを示す信号(COMRDY)が1つの
入力端に印加され、他の入力端にタイマーTMからタイム
アップ信号(T1)が印加されるゲートG11(G21)と、ゲ
ートG11(G21)からの信号と自分側に制御権があること
を示す信号(DCS0)がインバータIN11(IN21)を介して
印加されるゲートG12(G22)と、ゲートG12(G22)から
の信号と、相手側計算機のCPU部から、その動作が正常
に行えることを示す信号(CPURDY1)が、インバータIN2
2(IN12)とインバータIN13(IN23)を介して印加され
るゲートG13(G23)と、ゲートG13(G23)からの信号と
CPU部11(21)から、その動作が正常に行える状態にあ
ることを示す信号(CPURDY0)とが印加されるゲートG14
(G24)と、ゲートG14(G24)からの信号と相手側に制
御権があることを示す信号(DCS1)とを入力するゲート
G10(G20)とで構成されている。
A signal (COMRDY) indicating that the operation is normally performed is applied to one input terminal from the communication unit 12 (22) from the communication unit 12 (22). T1) is applied to the gate G11 (G21), and a signal from the gate G11 (G21) and a signal (DCS0) indicating that the own side has the control right (DCS0) are applied via the inverter IN11 (IN21) to the gate G12. (G22), a signal from the gate G12 (G22), and a signal (CPURDY1) indicating that the operation can be performed normally from the CPU unit of the partner computer are output from the inverter IN2.
2 (IN12) and the gate G13 (G23) applied via the inverter IN13 (IN23) and the signal from the gate G13 (G23).
A gate G14 to which a signal (CPURDY0) indicating that the operation is normally performed is applied from the CPU unit 11 (21).
(G24), a gate for inputting a signal from the gate G14 (G24) and a signal (DCS1) indicating that the other party has control right
G10 (G20).

ここで2つの計算機FC1,FC2内のゲートG10,G20はその
出力(DCS1)を相互に他方のゲートの入力としていて、
この2つのゲートはフリップフロップ回路を構成してい
る。
Here, the gates G10 and G20 in the two computers FC1 and FC2 use their outputs (DCS1) as inputs to the other gates, respectively.
These two gates constitute a flip-flop circuit.

このために、両側の計算機が共にレディの場合、立ち
上がり時にどちらの側に制御権を与えるかは、先着優先
となり、また、両側ともノットレディの時の制御権の取
り合いについても、COMRDYの先着優先となって、2つの
計算機の両者に同時に制御権が与えられることがないよ
うに構成してある。
For this reason, when both computers are ready, which side gives control right when the computer starts up has priority on a first-come, first-served basis. Thus, the configuration is such that the control right is not simultaneously given to both of the two computers.

この様な構成の二重化制御部13(23)は、そこに印加
される各信号により、制御権を持っている場合と持って
いない場合で、制御権を獲得する条件及び、制御権を放
棄する条件が、(1)式及び(2)式で表されるように
構成してある。
The duplex control unit 13 (23) having such a configuration relinquishes the condition for acquiring the control right and the control right depending on the signals applied thereto depending on whether or not the control right is obtained. The condition is configured so as to be expressed by the expressions (1) and (2).

制御権なし→制御権ありへの切換え条件(DCS0を立て
る条件) CPURDY0*▲▼+▲▼*COMRD
Y*T1*▲▼ ……(1) 制御権あり→制御権なしへの切換え条件(DCS0をおと
す条件) DCS1+▲▼*CPURDY1 ……(2) このように構成した装置の動作を、制御権があること
を示す信号DCS0を立てる動作と、DCS0をおとす動作とに
分けて次に説明する。
Switching from no control right to control right (condition for setting DCS0) CPURDY0 * ▲ ▼ + ▲ ▼ * COMRD
Y * T1 * ▲ ▼ …… (1) Condition for switching from control right to no control right (condition to stop DCS0) DCS1 + ▲ ▼ * CPURDY1 …… (2) The operation of the device configured in this way is controlled by the control right. The operation of raising the signal DCS0 indicating that there is a signal and the operation of releasing the signal DCS0 will be described below.

<DCS0を立てる動作 DCS0=0→1> DCSを立てる論理は前記(1)式で示される。<Operation for Setting DCS0 DCS0 = 0 → 1> The logic for setting DCS is expressed by the above equation (1).

この(1)式において、第1項は通常の条件で、相手
計算機が制御権を獲得していなくて(DCS1=0)、かつ
自分の計算機がレディ状態(CPURDY0=1)の場合にDCS
0を立てる。
In the equation (1), the first term is a normal condition. In the case where the partner computer has not acquired the control right (DCS1 = 0) and its own computer is ready (CPURDY0 = 1),
Set 0.

第2項は、2つの計算機のCPU部11,21が共にノットレ
ディの場合でも、どちらかが制御権を獲得し、通信部12
または22が通信動作可能とするためのものである。
The second term is that even if the CPU units 11 and 21 of the two computers are both not-ready, one of them acquires the control right and the communication unit 12
Alternatively, 22 is for enabling communication operation.

通電時において、例えばメモリの内容が揮発している
ような場合には、上位計算機からの通信によってプログ
ラムがメモリにローディングされないとレディ状態にな
らない。従って、通電後、一定時間は、2つの計算機の
CPU部11,21が共にノットレディで、(1)式の第1項の
条件だけではどちらの計算機も制御権を獲得できない
し、通信部も通信動作不可のためにプログラムのローデ
ィングもできない。
At the time of energization, for example, when the contents of the memory are volatilized, the ready state is not established unless the program is loaded into the memory by communication from the host computer. Therefore, after energization, a certain period of time
Both the CPU units 11 and 21 are not ready, and neither computer can acquire the control right only under the condition of the first term of the equation (1), and the communication unit cannot perform the communication operation, so that the program cannot be loaded.

通電後、一定の時間経過すると、タイマー13(23)が
タイムアップして、T1信号が「1」となる。その結果、
例えば通信部12または22レディであれば、(1)式の第
2項により、相手側に制御権がなく、かつ相手側のCPU
部がノットレディであることを条件に制御権が獲得でき
る。
After a certain period of time has elapsed after energization, the timer 13 (23) times out and the T1 signal becomes "1". as a result,
For example, if the communication unit 12 or 22 is ready, the other party has no control right and the other party's CPU
Control can be obtained on condition that the department is not ready.

制御権を獲得した計算機の通信部は、その時点から通
信動作可能となり上位計算機からの通信によるプログラ
ムのローディングが可能となる。
The communication unit of the computer that has obtained the control right can perform a communication operation from that point on, and the program can be loaded by communication from the host computer.

プログラムがローディングされたCPU部は、レディ状
態になり(CPURDY0=1)通常動作状態となる。
The CPU section loaded with the program enters a ready state (CPURDY0 = 1) and enters a normal operation state.

<DCS0を落とす動作 DCS0=1→0> 制御権があることを示す信号DCS0を落とす論理は、
(2)式で示される。
<Operation for dropping DCS0 DCS0 = 1 → 0> The logic for dropping the signal DCS0 indicating that there is control right is as follows:
It is shown by equation (2).

この式は、制御権を持っている計算機が、自分のCPU
部がノットレディで、かつ相手の計算機のCPU部がレデ
ィ状態になった場合にのみ制御権を放棄することを実現
している。
This formula indicates that the computer that has control has
Only when the unit is not ready and the CPU unit of the partner computer becomes ready, the control right is released.

また、通常は有り得ないが、自分が制御権を獲得して
いる状態において、相手の計算機が何等かの原因で制御
権を獲得したような場合にも、制御権を式の第1項によ
り放棄する。この様な論理により、2つの計算機に同時
に制御権を与えないようにしている。
Normally, it is not possible, but if the other computer acquires control for some reason while owning control, it relinquishes control according to the first term of the equation. I do. With such a logic, control rights are not simultaneously given to two computers.

なお、ここでDCS0を落とす論理に、通信部12,23の状
態を条件に入れていないのは、以下の理由による。
The reason why the logic of dropping DCS0 does not include the condition of the communication units 12 and 23 here is as follows.

すなわち、CPU部の立ち上がり時の初期化処理のよう
な動作状態によっては、CPURDY0を立てない状態におい
て、通信部に初期化指令を出し一時的に通信部をノット
レディ状態ににすることがあるが、この状態においても
制御権を移さないためである。
That is, depending on the operation state such as the initialization processing at the time of the startup of the CPU unit, an initialization command may be issued to the communication unit to temporarily set the communication unit to the not-ready state when the CPURDY0 is not set. This is because the control right is not transferred even in this state.

また、CPU部は正常動作を開始した後では、通信部に
対するCPU部の診断により(COMRDYの状態監視を含
む)、通信部の異常を検出でき、異常を検出した場合
は、CPURDY0信号を「0」(ノットレディ)とするよう
に動作するためである。
After the normal operation of the CPU unit is started, the communication unit can be diagnosed by the CPU unit (including monitoring of the status of the COMRDY) to detect an abnormality of the communication unit. If an abnormality is detected, the CPURDY0 signal is set to “0”. (Not ready).

以上のような動作により、システム運用中に、主系状
態にある計算機に故障が生じた場合は、2つのゲートG1
0,G20で構成されるフリップフロップ回路が反転して、
それまで待機状態にあった計算機側に動作が切換えられ
る。この状態では、故障した側の計算機をシステムから
例えば修理のために取り外しても、故障している相手側
からのCPURDY1の状態はそのままで変化せず、従ってフ
リップフロップ回路は反転せず、システムの運用に何等
影響しない。
If the computer in the main system fails during the system operation by the above operation, two gates G1
0, G20 flip-flop circuit is inverted,
The operation is switched to the computer that was in the standby state until then. In this state, even if the failed computer is removed from the system for repair, for example, the state of the CPURDY1 from the failed partner remains unchanged, so the flip-flop circuit does not reverse, and the system Has no effect on operation.

次に、通信によるプログラムのロード時の動作を説明
する。
Next, an operation at the time of loading a program by communication will be described.

いま、第1の計算機FC1が制御権を有していて制御動
作を行っているものとする。この状態において、上位の
計算機からプログラムのロードに先立って、「ストッ
プ」コマンドが送られてくる。
Now, it is assumed that the first computer FC1 has the control right and performs the control operation. In this state, a “stop” command is sent from the host computer before the program is loaded.

計算機FC1側の通信部12内の停止信号出力手段C1は、
この「ストップ」コマンドを受信すると、相手側計算機
FC2のCPU部21に対して、停止信号(STOP0)を出力す
る。この停止信号を受けた待機側の計算機内のCPU部21
は、直ちに動作を停止する。
The stop signal output means C1 in the communication unit 12 of the computer FC1 is
When this "stop" command is received, the other computer
A stop signal (STOP0) is output to the CPU unit 21 of FC2. CPU unit 21 in the standby computer receiving this stop signal
Stops operation immediately.

CPU部21が動作を停止した後、停止信号出力手段C1
は、続いて自分の側のCPU部11に対して停止信号(CSTO
P)を出力する。この停止信号を受けたCPU部11は直ちに
停止する。
After the CPU unit 21 stops operating, the stop signal output unit C1
Is followed by a stop signal (CSTO
P) is output. Upon receiving the stop signal, the CPU unit 11 immediately stops.

この状態では、2つの計算機内の各CPU部は、いずれ
も停止状態にあるので、そこから出力されている信号CP
URDY0,CPURDY1は、いずれも落ちており、このため前記
した(1)式,(2)式の制御権の切換え条件を満たし
ておらず、制御権の切換えは行われない。
In this state, since each of the CPU units in the two computers is in the stopped state, the signal CP output therefrom is output.
Both URDY0 and CPURDY1 have fallen, and therefore do not satisfy the control right switching condition of the above equations (1) and (2), and the control right is not switched.

計算機が停止状態になると、通信によるプログラムの
ロードが可能となり、上位計算機からのプログラムを通
信により計算機にローディングする。
When the computer is stopped, the program can be loaded by communication, and the program from the host computer is loaded into the computer by communication.

プログラムの通信によるロードが終了すると、上位計
算機からバスを介して、「リスタート」コマンドが送ら
れてくる。通信部12がこの「リスタート」コマンドを受
けると、リスタート信号出力手段C2は、制御権を有して
いる自分側のCPU部11を先にリスタートさせる信号(CRE
START)をCPU部11に対して出力する。
When the loading of the program by communication is completed, a “restart” command is sent from the host computer via the bus. When the communication unit 12 receives the “restart” command, the restart signal output unit C2 restarts the own CPU unit 11 having control right (CRE).
START) to the CPU section 11.

このリスタート信号(CRESTART)を受けたCPU部11
は、信号CPURDY0を出力すると共に、制御演算の動作を
開始する。そして、制御動作に入った後に、相手側CPU
部21に対してリスタートさせるための信号(RESTART0)
を出力し、CPU部21をリスタートさせる。CPU部21がリス
タートすると、こちら側は、既に信号CPURDY0がセット
された状態になっているので、直ちに待機動作に入る。
CPU unit 11 receiving this restart signal (CRESTART)
Outputs the signal CPURDY0 and starts the operation of control calculation. After entering the control operation, the other CPU
Signal for restarting section 21 (RESTART0)
Is output, and the CPU section 21 is restarted. When the CPU section 21 restarts, this side immediately enters a standby operation because the signal CPURDY0 has already been set.

第3図は、以上の通信からのロード時の動作を示すフ
ローチャートで、各ステップにおける各計算機の状態も
同時に示してある。
FIG. 3 is a flowchart showing the operation at the time of loading from the above communication, and also shows the state of each computer at each step.

この様な手順により、各計算機の停止、リスタート時
に制御権の切換えを発生させること無く、通信によるプ
ログラムのロードが行える。
According to such a procedure, a program can be loaded by communication without switching control right when each computer is stopped or restarted.

なお、上記の実施例において、各計算機内の二重化制
御部の構成は、第2図に示したものに限定されず、例え
ばタイマーは無くともよい。
In the above embodiment, the configuration of the duplex control unit in each computer is not limited to that shown in FIG. 2, and for example, a timer may not be provided.

<発明の効果> 以上詳細に説明したように、本発明によれば、二重化
制御のための専用の制御回路を有しないシステムにおい
て、通信からのプログラムのロード動作を、制御権の切
換え動作に影響を与えること無く行えるシステムを簡単
な構成で提供できる。
<Effects of the Invention> As described in detail above, according to the present invention, in a system having no dedicated control circuit for redundancy control, an operation of loading a program from communication affects an operation of switching control authority. A system that can be provided without giving a simple configuration can be provided.

【図面の簡単な説明】[Brief description of the drawings]

第1図は本発明の一実施例を示す構成ブロック図、第2
図は各計算機において通信部及び二重化制御部の構成を
示すブロック図、第3図は通信からのプログラムロード
時の動作を示すフローチャート、第4図は従来装置の構
成概念図である。 FC1……第1の計算機、FC2……第2の計算機 11,21……CPU部、12,22……通信部、 13,23……二重化制御部、
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG.
FIG. 3 is a block diagram showing a configuration of a communication unit and a duplex control unit in each computer. FIG. 3 is a flowchart showing an operation when a program is loaded from communication, and FIG. FC1 first computer FC2 second computer 11,21 CPU unit 12,22 communication unit 13,23 duplex control unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 11/16 - 11/20 G06F 15/16 - 15/177 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 11/16-11/20 G06F 15/16-15/177

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】自己診断機能を有する計算機を二重化した
二重化計算機システムにおいて、 各計算機システムは、 演算及び制御を行うと共に自己診断機能により自身の動
作が正常に行えることを示す信号(CPURDY0)を出力す
るCPU部と、 前記CPU部からの動作が正常に行えることを示す信号(C
PURDY0)と、相手側CPU部からの動作が正常に行えるこ
とを示す信号(CPURDY1)と、自分側に制御権があるこ
とを示す信号(DCS0)と、相手側に制御権があることを
示す信号(DCS1)を入力し、これらの各信号の論理をと
り制御権を決定する二重化制御部と、 上位との通信を行うと共に上位から「ストップ」コマン
ドを受けた場合、相手側CPU部にその動作を停止させる
信号(STOP0)を出力した後に自分側CPU部にその動作を
停止させる信号(CSTOP)を出力し、システム全体が停
止状態で上位から「リスタート」コマンドを受けた場
合、制御権を有している自分側のCPU部を相手側CPU部よ
りも先にリスタートさせる信号(CRESTART)を出力する
通信部と、 を備えたことを特徴とする二重化計算機システム。
In a duplicated computer system in which computers having a self-diagnosis function are duplicated, each computer system performs a calculation and a control and outputs a signal (CPURDY0) indicating that the self-diagnosis function can normally operate itself. A signal indicating that the operation from the CPU unit can be performed normally (C
PURDY0), a signal (CPURDY1) indicating that the operation from the partner CPU unit can be performed normally, a signal (DCS0) indicating that the partner has control right, and indicating that the partner has control right. When a signal (DCS1) is input and the logic of each of these signals is taken and the control right is determined, the redundant control unit communicates with the host and receives a "stop" command from the host. After outputting a signal (STOP0) to stop the operation, it outputs a signal (CSTOP) to stop the operation to its own CPU unit. If the entire system is stopped and a "restart" command is received from the host, the control right A communication unit for outputting a signal (CRESTART) for restarting the own CPU unit before the partner CPU unit, the communication unit comprising:
JP1215378A 1989-04-04 1989-08-22 Redundant computer system Expired - Lifetime JP2985188B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP1215378A JP2985188B2 (en) 1989-08-22 1989-08-22 Redundant computer system
NL9000692A NL193573C (en) 1989-04-04 1990-03-23 Duplex computer system.
KR1019900004120A KR920008284B1 (en) 1989-04-04 1990-03-27 Duplex computer system
GB9006970A GB2231987B (en) 1989-04-04 1990-03-28 Duplex computer system
DE4010109A DE4010109C2 (en) 1989-04-04 1990-03-29 Duplex computer system
US07/502,202 US5638507A (en) 1989-04-04 1990-03-30 Duplex computer system
BR909001530A BR9001530A (en) 1989-04-04 1990-04-03 DUAL COMPUTER SYSTEM
GB9222970A GB2259381B (en) 1989-04-04 1992-11-03 Duplex computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1215378A JP2985188B2 (en) 1989-08-22 1989-08-22 Redundant computer system

Publications (2)

Publication Number Publication Date
JPH0378037A JPH0378037A (en) 1991-04-03
JP2985188B2 true JP2985188B2 (en) 1999-11-29

Family

ID=16671309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1215378A Expired - Lifetime JP2985188B2 (en) 1989-04-04 1989-08-22 Redundant computer system

Country Status (1)

Country Link
JP (1) JP2985188B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365267B (en) * 2013-06-21 2016-04-20 国家电网公司 A kind of spacing layer device for transformer station and its implementation with self-recovering function

Also Published As

Publication number Publication date
JPH0378037A (en) 1991-04-03

Similar Documents

Publication Publication Date Title
CA2002966C (en) Method of checking test program in duplex processing apparatus
JP2985188B2 (en) Redundant computer system
JPH06242979A (en) Dual computer device
JPS60100231A (en) System constitution control system of information processor
JP2965255B2 (en) Redundant control arithmetic system
JP3332098B2 (en) Redundant processor unit
JP2845616B2 (en) Multiprocessor system
JPS6214859B2 (en)
JP2998804B2 (en) Multi-microprocessor system
JPH09288590A (en) Virtual computer system
JPH03138753A (en) Boot loader for multiprocessor system
JPH07200334A (en) Duplicate synchronization operation system
JPH0821012B2 (en) Direct memory access system switching device
JPH0764814A (en) Program execution system by multiple constitution system
JPH07114521A (en) Multimicrocomputer system
JPS59221702A (en) Digital controller
JPH0293953A (en) Duplex information processor
JPH04305758A (en) Information processor
JPS5897765A (en) Common bus system for multi-processor system
JPS5833737A (en) Reset controlling system
JPH04171539A (en) Duplex computer system
JPH0346855B2 (en)
JPS62296264A (en) Control system for structure of data processing system
JPH05233576A (en) Duplex system
JPH0772882B2 (en) Common memory protection method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071001

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081001

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20091001

Year of fee payment: 10

EXPY Cancellation because of completion of term