JPS61260348A - Dual system computation control system - Google Patents

Dual system computation control system

Info

Publication number
JPS61260348A
JPS61260348A JP60101208A JP10120885A JPS61260348A JP S61260348 A JPS61260348 A JP S61260348A JP 60101208 A JP60101208 A JP 60101208A JP 10120885 A JP10120885 A JP 10120885A JP S61260348 A JPS61260348 A JP S61260348A
Authority
JP
Japan
Prior art keywords
switching
output
calculation control
dual
outputs
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP60101208A
Other languages
Japanese (ja)
Inventor
Makoto Nomi
能見 誠
Shoji Miyamoto
宮本 捷二
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60101208A priority Critical patent/JPS61260348A/en
Publication of JPS61260348A publication Critical patent/JPS61260348A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent wrong switching or deadlock form being caused in mode of trouble by selecting and outputting either of outputs of dual system computers through a system switching logical part according to the result of exclusive OR between independent switching command output values of respective systems from a computation controller. CONSTITUTION:The system switching logical part consists of an exclusive OR gate (EOR gate) 21, AND gates 22 and 23, and an inverter 24 and outputs 4a (Za) and 4b (Zb) of the respective systems are selected according to states of switching commands 7a (Sa) and 7b (Sb) from the systems, so that Za or Zb appears as a selected output 6 (Z). Namely, when a command for switching to one system is fixed through the operation of the EOR gate 21, the outputs are switched optionally by changing the switching command of one system from 0 to 1 or 1 to 0. In this case, the switching command Sa (or Sb) can be set so that even when the switching command from one system is fixed at 1 or 0 owing to trouble, the output of the normal system is selected, and control is never stopped.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、2重系計算制御方式、更に詳しく言えば、2
つの計算制御装置を切換えて正しい出力を取り出すシス
テムの制御方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a dual system calculation control method, more specifically, a dual system calculation control system.
This invention relates to a system control method that switches between two calculation control devices to obtain the correct output.

〔発明の背景〕[Background of the invention]

一般に、2重系計算機によって対象を制御するシステム
において、故障が発生した場合自動的に正常な系に切換
る2重系の切換方式には、それぞれの系の故障検出機能
によって、現在制御を実行中の主系に異常が発生した場
合、従系に切換える方式と、外部装置で監視し、切換え
る方式がある。
In general, in systems where objects are controlled by dual-system computers, the dual-system switching method automatically switches to a normal system when a failure occurs. When an abnormality occurs in the main system, there are two methods: one is to switch to the slave system, and the other is to monitor it with an external device and switch over.

前者の問題点は、自己の故障検出能力に限界があり、後
者は外部に余分な装置を必要とする。
The problem with the former is that there is a limit to its own ability to detect failures, and the latter requires extra external equipment.

また両者とも、故障の検出能力を高めるためには、故障
検出部に大規模な装置を設けなければならないという問
題がある。
Furthermore, both methods have a problem in that a large-scale device must be provided in the failure detection section in order to improve the failure detection ability.

その解決の1つの方法として、相互に他の系を監視し、
他系に異常を発見したときは自系ニ切換える方法がある
。しかしこの方法では、互いに異常と判断したときは、
切換指示が競合する場合が発生すること、異常な系が切
換指示を出し放しにすることなどの問題がある。
One way to solve this problem is to mutually monitor other systems,
When an abnormality is detected in another system, there is a way to switch to the own system. However, with this method, when both are judged to be abnormal,
There are problems such as conflicting switching instructions and abnormal systems leaving switching instructions unattended.

〔発明の目的〕[Purpose of the invention]

本発明の目的は以上の問題に鑑み、故障のモードによっ
て誤った切換あるいはデッドロックの発生しない2重系
切換方式を提供することにある。
SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a dual system switching system that does not cause erroneous switching or deadlock depending on the failure mode.

〔発明の概要〕[Summary of the invention]

本発明は、2重系の切換方式に関し、それぞれの系が他
系を監視あるいは診断し、その結果によって、それぞれ
の系から切換指示を出力する方法において、切換条件を
2系の切換指示の相互関係によって規定し、かつ、排他
論理によって、デッドロックモードを引き起さない高い
アベイラビリティを実現するものである。
The present invention relates to a dual system switching method, in which each system monitors or diagnoses the other system, and based on the results, outputs a switching instruction from each system. It is defined by relationships and uses exclusive logic to achieve high availability without causing deadlock mode.

〔発明の実施例〕[Embodiments of the invention]

第1図は、本発明による2重系計算制御方式の1実施例
の全体を示したもので、1aおよび1bは、それぞれ各
県の計算制御装置、2は系切換論理、3は制御対象、4
a、4bは1a、1bから2に対する制御出力、5は系
切換論理によって選択された制御出力、6は対象2の状
態入力、7a。
FIG. 1 shows an entire embodiment of the dual system calculation control method according to the present invention, in which 1a and 1b are the calculation control devices of each prefecture, 2 is the system switching logic, 3 is the controlled object, 4
a, 4b are control outputs from 1a, 1b to 2; 5 is a control output selected by the system switching logic; 6 is a state input of object 2; 7a.

7bは各県1a、lbからの切換指令、8 a e8b
は、各県が相互に情報交換を行なう伝送線であり、各県
とも制御対象に出力されている出力をそれぞれに入力し
、かつそれぞれ、他の系から出力している切換指令7b
、7aを入力する手段を持つ。
7b is the switching command from each prefecture 1a and lb, 8 a e8b
is a transmission line through which each prefecture exchanges information with each other, and each prefecture inputs the output output to the controlled object to each, and each transfer command 7b outputs from the other system.
, 7a.

第2図は系切換論理の内部を示したもので排他論理和ゲ
ート(以下FORゲート)21、アンドゲート22.2
3、インバータ24により構成され、各県の出力4a 
(Za)、4b (Zb)は。
Figure 2 shows the inside of the system switching logic, including an exclusive OR gate (hereinafter referred to as FOR gate) 21, and an AND gate 22.2.
3. Consisting of an inverter 24, output 4a for each prefecture
(Za), 4b (Zb).

各県からの切換指令7a (Sa)、7b (Sb)の
状態によって1選択された出力、6(Z)は、Za又は
zbのどちらかが現われる。ここで、Za、Zbは、単
に1本の線で表わしたが複数本の出力信号であってもゲ
ート22.23を対応する数だけ設ければよいことは明
らかであるのでここでは省略して1本の信号線で表わす
こととする。
Depending on the state of switching commands 7a (Sa) and 7b (Sb) from each prefecture, one selected output, 6 (Z), appears as either Za or zb. Here, Za and Zb are simply represented by one line, but since it is clear that even if there are multiple output signals, it is sufficient to provide the corresponding number of gates 22 and 23, they are omitted here. It will be represented by one signal line.

もちろん、その信号を再度各県へ取り込む入力線、制御
対象の状態入力線についても同様である。
Of course, the same applies to the input lines that take the signal back into each prefecture and the status input lines of the controlled objects.

第3図は、第2図の回路の動作をマトリックスで表わし
たもので、切換指令Sa、Sbの状態によって、各県の
出力Za、Zbがどのように選択されるかを示したもの
で、EORゲート21の働きによって、1方の系の切換
指令を固定した場合は、今1方の系の切換指令を0から
1へあるいは1から0へ変えることにより任意に切換え
ることが可能である。
FIG. 3 is a matrix representation of the operation of the circuit shown in FIG. 2, and shows how the outputs Za and Zb of each prefecture are selected depending on the states of the switching commands Sa and Sb. When the switching command for one system is fixed by the action of the EOR gate 21, it is possible to switch the switching command for the other system arbitrarily by changing the switching command from 0 to 1 or from 1 to 0.

すなわち、故障によって1方の系からの切換指令が1又
は0のどちらに固定されても正常な系は自分の出してい
る出力が選択されるように切換指令Sa(又はsb)を
設定することが可能となり。
In other words, the switching command Sa (or sb) should be set so that even if the switching command from one system is fixed at 1 or 0 due to a failure, the normal system will select the output it is outputting. becomes possible.

制御が停止することはない。Control never stops.

以上は、系切換の基本的な動作を説明したが、問題とな
るのは、各県が、切換指令Sa、Sbをどのように出す
かである。
The basic operation of system switching has been explained above, but the problem is how each prefecture issues the switching commands Sa and Sb.

今仮に各県とも正常でそれぞれS a = S b =
 0を出力していたと仮定する。この場合は第3図がら
zbすなわち1bの系の出方が選択されていることにな
る。
Now, if each prefecture is normal and S a = S b =
Assume that it outputs 0. In this case, as shown in FIG. 3, zb, that is, the way the system 1b emerges is selected.

この状態で1bの系に故障が発生し、制御が停止した場
合、1aの制御装置は、選択された出力2を入力し、出
力Zが異常であることを認識し、即時自系からの切換指
令SaをOから1に変更することによって自系の出力Z
aがZとして5に出力されるようにする。
If a failure occurs in system 1b and control stops in this state, control device 1a inputs the selected output 2, recognizes that output Z is abnormal, and immediately switches from the own system. By changing the command Sa from O to 1, the output Z of the own system
Let a be output as Z to 5.

この場合1両系とも制御対象の状SXを入力線6を介し
て入力し、その状態に対応した出力Za。
In this case, the state SX of the controlled object is input to both systems through the input line 6, and the output Za corresponding to the state is input.

zbを並行して実行出力させるもので、1aは即時必要
な出力Zaを出力することが可能である。
zb is executed and output in parallel, and 1a can immediately output the necessary output Za.

一方、1bの系が完全に故障ではないが、誤まった出力
zbを出力した場合、それが、1bの出力装置であった
とき、lb、laともその結果Zを入力しているので誤
まっていることを判断することが出来、この場合には、
自己が誤まったと判断した系すなわち1bの系はsbを
そのままに。
On the other hand, if the system 1b is not completely out of order but outputs the wrong output zb, if it is the output device 1b, both lb and la are inputting the result Z, so it is incorrect. In this case,
For the system that you judged to be incorrect, that is, the system 1b, leave sb as is.

他系すなわち1aの系はSaを1に変更して1a系の出
力Zaが対象への出力Zとして加えられるようにする。
In the other system, that is, the system 1a, Sa is changed to 1 so that the output Za of the 1a system is added as the output Z to the target.

又別の場合として、1bの出力帰還に異常があり、正し
く入力されなかった場合には、以上の論理では切換が発
生しないが、正常な出力が出されているので特に問題は
ない。
In another case, if there is an abnormality in the output feedback of 1b and the input is not correct, switching will not occur according to the above logic, but since a normal output is being output, there is no particular problem.

以上は、異常が発生したとき問題なく系切換を行なうこ
との出来る場合を示したが、以上の論理ですべての場合
対応出来る訳ではない。
The above has shown cases in which system switching can be performed without problems when an abnormality occurs, but the above logic cannot handle all cases.

その1例として、2系とも正常に動作しているが、待機
系すなわち1a系の出力帰還入力に異常が発生した場合
、1a系は出力異常と見なし、系切換を行なうが、現在
出力が選択されている1b系は異常を認めないため、そ
のままの状態を続ける。このときは、入力部に異常のあ
る1a系に制御権(その系の出力が選択されている)が
移り、その後も制御権は移動しない、この状態は誤制御
につながるわけではないが、ムダな切換が発生すること
、それによって出力2が短時間だが乱されるおそれのあ
ることであまり好ましくない。
As an example, if both systems are operating normally, but an abnormality occurs in the output feedback input of the standby system, ie, the 1a system, the 1a system is assumed to have an output abnormality, and system switching is performed, but the current output is selected. The 1b system, which is currently in use, does not detect any abnormalities and continues to be in that state. In this case, the control right (the output of that system is selected) is transferred to the 1a system that has an abnormality in the input section, and the control right does not transfer thereafter. Although this situation does not lead to erroneous control, it is wasteful. This is not very desirable because it may cause a sudden switching, which may disturb the output 2 for a short time.

さらに不都合なケースとして、対象の状態Xを知るため
の入力部あるいは計算制御装置の処理部に異常が発生し
、両者の出力に喰い違いが発生した場合、特に待機系に
異常があった場合、その喰い違いによって異常な系が、
制御権をとるように切換指令を出し、結果として誤制御
につながる場合が発生するとともに切換り後、制御権を
うばわれた正常な系は再度出力の喰い違いを検出し制御
権をうばい返すハンチング現象が発生する。
As a further inconvenient case, if an abnormality occurs in the input section for knowing the target state X or the processing section of the calculation control device, and a discrepancy occurs in the outputs of the two, especially if there is an abnormality in the standby system, Due to this discrepancy, an abnormal system
A switching command is issued to take control, which may result in erroneous control, and after switching, the normal system that was robbed of control detects a discrepancy in output again and regains control, resulting in hunting. A phenomenon occurs.

このような状態が発生するのは互いに最終出力Zだけを
観測して判断していることによるもので互いにla、l
bの両系が情報交換することによって防ぐことが出来る
This situation occurs because both parties make decisions by observing only the final output Z.
This can be prevented by exchanging information between both systems.

すなわち、出力Zの帰還入力に異常があった場合、それ
ぞれの系で入力した値を交換し、出力したはずの出力値
Za、Zbとを比較すれば、入力部の誤りは容易に発見
、訂正可能であり、かつ、異常のない系がどちらかの判
定も容易に可能であり、正常な系が制御権を取ることが
出来る。
In other words, if there is an abnormality in the feedback input of output Z, the error in the input section can be easily discovered and corrected by exchanging the input values in each system and comparing the output values Za and Zb that should have been output. It is also possible to easily determine which system is possible and which system has no abnormality, and the normal system can take control.

また制御対象の状態入力に異常のあった場合、同様に制
御出力Za、Zbに不一致が生じる。この場合も、互い
の情報交換によって合理性を判断し、より正しいと判断
出来る系が制御権を獲得するよう切換指令を出力する。
Furthermore, if there is an abnormality in the state input of the controlled object, a mismatch will similarly occur in the control outputs Za and Zb. In this case as well, rationality is determined by mutual information exchange, and a switching command is output so that the system that can make a more correct determination acquires the control right.

以上、系切換論理は単に論理シンボルで表わしたが、半
導体、リレー等、その実現手段を限定するものではない
In the above, the system switching logic has been simply expressed as a logic symbol, but the implementation means thereof, such as semiconductors and relays, are not limited.

なお、第1図における各県への他系の切換指令7a、7
bの入力は、現在la系、lb系のどちらが選択されて
いるかを判別するためのもので。
In addition, the other system switching commands 7a and 7 to each prefecture in Figure 1
The b input is used to determine whether the LA system or the LB system is currently selected.

各県において、第3図に示す真理値表に基づいて判定す
る。
In each prefecture, determination is made based on the truth table shown in Figure 3.

また、第1図の計算制御装置の内部構成に関しては、す
でに周知のもので、かつ特殊な装置を必要とするもので
はないし、情報交換のための伝送手段に関しても同様で
ある。
Further, the internal configuration of the calculation control device shown in FIG. 1 is already well known and does not require any special equipment, and the same applies to the transmission means for exchanging information.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、系切換回路は、両系からの切換指令の
排他論理和で動作することによって、双方からの指令の
競合によってデッドロックは発生せず、かつ切換論理の
他に別途、2重系の計算制御装置を診断する装置等は不
要となり、経済的、かつ稼動率の高い2重系システムを
構成することが可能となる。
According to the present invention, the system switching circuit operates with the exclusive OR of the switching commands from both systems, so that deadlock does not occur due to conflicting commands from both systems, and in addition to the switching logic, two There is no need for a device for diagnosing a heavy-duty calculation control device, and it becomes possible to construct a dual system that is economical and has a high operating rate.

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

第1図は本発明の2重系制御装置の一実施例の全体構成
図、第2図は本発明の2重系切換論理の構成を示す論理
図、第3図は第2図の系切換論理の真理値対応を示す説
明図である。 la、lb・・・計算制御装置、2・・・系切換論理、
3・・・制御対象、4a、4b・・・各系制御出力、5
・・・選択された出力指令、6・・・制御対象状態入力
、7a。
FIG. 1 is an overall configuration diagram of an embodiment of the dual system control device of the present invention, FIG. 2 is a logic diagram showing the configuration of the dual system switching logic of the present invention, and FIG. 3 is a system switching diagram of the dual system switching logic of the present invention. It is an explanatory diagram showing truth value correspondence of logic. la, lb...computation control device, 2...system switching logic,
3...Controlled object, 4a, 4b...Each system control output, 5
. . . Selected output command, 6 . . . Controlled object state input, 7a.

Claims (1)

【特許請求の範囲】 1、2重系計算制御システムにおいて、1対の計算制御
装置および、該計算制御装置の出力を選択しその一方を
出力する系切換論理部から成り、前記計算制御装置から
各系独立の切換指令出力値の排他論理和の結果によつて
、2重系計算機の出力の一方を系切換論理部で選択出力
することを特徴とする2重系計算制御方式。 2、第1項記載の2重系計算制御方式において、上記切
換論理部で選択した出力を各系計算制御装置に独立に入
力し、出力の異常を検出することを特徴とする2重系計
算制御方式。 3、第1項記載の2重系計算制御方式において、前記各
系の計算制御装置において互いに他の前記切換指令を入
力し、各系の切換出力値を決定することを特徴とする2
重系計算制御方式。 4、第1項記載の2重系計算制御方式において、各計算
制御装置を互いに伝送線で結合し、該情報に基づいて切
換の必要の有無を判断することを特徴とする2重系計算
制御方式。
[Scope of Claims] A single- and dual-system calculation control system comprising a pair of calculation control devices and a system switching logic section that selects an output of the calculation control device and outputs one of the outputs; A dual system calculation control method characterized in that a system switching logic unit selectively outputs one of the outputs of a dual system computer based on the result of an exclusive OR of switching command output values independent of each system. 2. In the dual system calculation control method described in item 1, the output selected by the switching logic section is independently input to each system calculation control device, and an abnormality in the output is detected. control method. 3. In the dual system calculation control method described in item 1, the calculation control device of each system mutually inputs the other switching command to determine the switching output value of each system.
Heavy system calculation control method. 4. In the dual system calculation control method described in item 1, each calculation control device is connected to each other by a transmission line, and based on the information, it is determined whether or not switching is necessary. method.
JP60101208A 1985-05-15 1985-05-15 Dual system computation control system Pending JPS61260348A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60101208A JPS61260348A (en) 1985-05-15 1985-05-15 Dual system computation control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60101208A JPS61260348A (en) 1985-05-15 1985-05-15 Dual system computation control system

Publications (1)

Publication Number Publication Date
JPS61260348A true JPS61260348A (en) 1986-11-18

Family

ID=14294502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60101208A Pending JPS61260348A (en) 1985-05-15 1985-05-15 Dual system computation control system

Country Status (1)

Country Link
JP (1) JPS61260348A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0424862A (en) * 1990-05-18 1992-01-28 Nec Corp Inter-processor fault detection system
JPH07262148A (en) * 1994-03-22 1995-10-13 Nec Corp Computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0424862A (en) * 1990-05-18 1992-01-28 Nec Corp Inter-processor fault detection system
JPH07262148A (en) * 1994-03-22 1995-10-13 Nec Corp Computer system

Similar Documents

Publication Publication Date Title
US6202170B1 (en) Equipment protection system
JPH01245335A (en) Multiplexing system for programmable controller
WO2017031978A1 (en) Cpu interconnecting apparatus, system and control method, control apparatus therefor
JPS61260348A (en) Dual system computation control system
JP2001060160A (en) Cpu duplex system for controller
JPS6027041B2 (en) How to switch lower control devices in Hiaraki control system
JP2564397B2 (en) Redundant system data output device
JPH0535441B2 (en)
US7103274B2 (en) Cross-connect apparatus
JP2706390B2 (en) Vector unit usage right switching control method using multiple scalar units
JPS61213932A (en) Decentralized duplex computer system and its control method
JPH02118738A (en) Switching system by abnormal level of duplexing control system
JP2970164B2 (en) Switching circuit
JPS6232739A (en) Switching control system
JPH0622020B2 (en) Peripheral bus controller in redundant information processing system
JPS60118904A (en) Discriminating system of control operating device
KR0151910B1 (en) System automatic switching circuit
JPH0217545A (en) Information processing system
JP2751941B2 (en) Information processing device
JPS6316781B2 (en)
JPH0954739A (en) Circuit adapter
JPH04105151A (en) Input/output controller
JPH096638A (en) Dual computer system and its switching device
JPS617901A (en) Digital control device
JPH09181793A (en) Control method for duplicated devices