JPS62166401A - Multiplexing system for electronic computer - Google Patents

Multiplexing system for electronic computer

Info

Publication number
JPS62166401A
JPS62166401A JP61008745A JP874586A JPS62166401A JP S62166401 A JPS62166401 A JP S62166401A JP 61008745 A JP61008745 A JP 61008745A JP 874586 A JP874586 A JP 874586A JP S62166401 A JPS62166401 A JP S62166401A
Authority
JP
Japan
Prior art keywords
cpu
signal
outputs
data request
response
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
JP61008745A
Other languages
Japanese (ja)
Inventor
Nobuyuki Yamamura
山村 信幸
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP61008745A priority Critical patent/JPS62166401A/en
Publication of JPS62166401A publication Critical patent/JPS62166401A/en
Pending legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To surely evade a flaw in control operation due to the abnormality occurrence of a CPU, to perform high-reliability control operation, and to simplify the constitution by using plural CPUs for control operation which store programs having the same contents. CONSTITUTION:The CPUs 2a-2d which control an input/output device 1 store the programs with the same contents and the device 1 outputs a driving signal in response to access signals from the respective CPUs and also outputs a data set ready signal in response to data request signals. Then, if the CPU 2a for control outputs a trouble occurrence signal, the CPU 2b outputs a data request signal to a switching control circuit 5, which closes a gate in response to disable a shift register to operate and also outputs a gate signal to an interface circuit 5b to open gates for an address bus, a data bus, and a control line. Consequently, the CPU 2b transfers specific data to the device 1 and specific control operation is carried on by being backed up by the CPU 2b.

Description

【発明の詳細な説明】 (発明の分野) 本発明は、交通情報処理システムとか、トータリゼータ
システムやバンキングシステム、あるいは、生命維持装
置管理システムなどの中央管理装置に用いられる電子計
算機の多重化システムに関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of the Invention) The present invention relates to a computer multiplexing system used in a central management device such as a traffic information processing system, a totalizer system, a banking system, or a life support equipment management system. .

(従来技術とその問題点) 電子計算機では、それを構成するCPUにおいて、例え
ば、 ■電源障害、 ■磁心記憶装置のパリティ・エラー、 といったような異常障害が発生ずることがあり、その障
害発生時の対策として、一般に、現用系のCPUに待機
系のCPUを備え、異常障害が発生ずると待機系のCP
Uに切替え、各種の制御動作を継続して行なえるように
している。
(Prior art and its problems) In electronic computers, abnormal failures such as power failures, parity errors in magnetic core storage devices, etc. may occur in the CPUs that make up the computer, and when such failures occur, As a countermeasure, a standby CPU is generally installed in the active CPU, and when an abnormal failure occurs, the standby CPU is
The switch is switched to U so that various control operations can be continued.

ところが、近年では、制御動作が複雑化しており、それ
に伴なうCPUの異常発生の度合も高くなってきており
、また、トータリゼータシステムやバンキングシステム
のように金銭を扱うものとか、あるいは、生命維持装置
管理システムのように生命に関わるものでは、CPUの
異常発生に伴なう影響が多大であり、より一層の信頼性
が望まれている。
However, in recent years, control operations have become more complex, and the frequency of CPU abnormalities has also increased. In a system that is related to life, such as a device management system, the effects of an abnormality in the CPU are significant, and even higher reliability is desired.

そこで、従来一般に、現用系のCPUのほかに待機系の
CPUを複数個備え、それらのCPUを上位計算機とし
ての中央処理装置によって監視させ、現用系のCPUに
異常が発生したときに、そのことを中央処理装置で感知
して、現用系のCPUにおけるデータを待機系のCPU
に転送し、現用系のCPUから待機系のCPUに切り替
え、更に、その待機系のCPUに異常が発生したときに
は、更に別の待機系のCPUに切り替えていくといった
ように多重化システムを構成していた。
Therefore, conventionally, in addition to the active CPU, a plurality of standby CPUs are provided, and these CPUs are monitored by a central processing unit serving as a host computer, so that when an abnormality occurs in the active CPU, the is sensed by the central processing unit, and the data in the active CPU is transferred to the standby CPU.
A multiplex system is configured in such a way that the active CPU is transferred to the standby CPU, and if an error occurs in that standby CPU, the switch is further switched to another standby CPU. was.

しかしながら、このような構成を有する従来例の場合で
は、障害監視のための上位計算機としての中央処理装置
が必要で、構成が複雑化して高価になる欠点があった。
However, in the case of the conventional example having such a configuration, a central processing unit is required as a host computer for failure monitoring, which has the drawback of making the configuration complicated and expensive.

(発明の目的) 本発明は、このような事情に鑑みてなされたものであっ
て、CPUの異常発生に伴なう制御動作の不良を確実良
好に回避して信頼性の高い制御動作を行なえるものであ
りながら、その構成が簡単で安価な多重化システムを提
供できるようにすることを目的とする。
(Purpose of the Invention) The present invention has been made in view of the above circumstances, and is an object of the present invention to reliably avoid defective control operations due to CPU abnormalities and to perform highly reliable control operations. The purpose of the present invention is to provide a multiplexing system that is simple in configuration and inexpensive.

(発明の構成と効果) 本発明は、このような目的を達成するために、それぞれ
同一内容のプログラムを記憶した、3個以上の制御動作
用のCPUと、前記CPUからのアクセス信号に応答し
て駆動信号を出力するとともに、前記CPUからのデー
タ要求信号に応答してデータセットレディ信号を出力す
る入出力装置と、前記CPUそれぞれと前記入出力装置
とを接続するインターフェイス回路と、前記CPUから
のデータ要求信号に応答して前記入出力装置を択一的に
接続するように前記インターフェイス回路を切り替える
切替制御回路とを有し、前記CPUそれぞれには、それ
自体の異常発生時に障害発生、    信号を出力する
障害報知手段と、他のCPUからの所定の障害発生信号
に応答して、前記切替制御回路にデータ要求信号を出力
するバックアップ手段とを備え、前記切替制御回路には
、前記インターフェイス回路にステップ移行によって順
にゲート開き信号を出力するシフトレジスタと、前記ゲ
ート開き信号の出力状態で、前記CPUからのデ−タ要
求信号を前記入出力装置に入力するゲート手段と、前記
CPUからのデータ要求信号を受けた後、前記データセ
ットレディ信号が停止されるまで、前記シフトレジスタ
のステップ移行をデータ要求信号に対応したステップで
停止するステップ保持手段とを備えて構成しである。
(Structure and Effects of the Invention) In order to achieve such an object, the present invention includes three or more CPUs for control operations, each of which stores a program with the same content, and a CPU that responds to an access signal from the CPU. an input/output device that outputs a drive signal and outputs a data set ready signal in response to a data request signal from the CPU; an interface circuit that connects each of the CPUs and the input/output device; a switching control circuit that switches the interface circuit to selectively connect the input/output device in response to a data request signal; and a backup means for outputting a data request signal to the switching control circuit in response to a predetermined fault occurrence signal from another CPU, and the switching control circuit includes the interface circuit. a shift register that sequentially outputs a gate opening signal by step transition; gate means that inputs a data request signal from the CPU to the input/output device in the output state of the gate opening signal; and gate means that inputs a data request signal from the CPU to the input/output device; and step holding means for stopping the step transition of the shift register at the step corresponding to the data request signal until the data set ready signal is stopped after receiving the request signal.

この構成によれば、入出力装置に対して制御動作を行な
っているCPUに異常が発生して障害発生信号が出力さ
れると、その障害発生信号を他のCPUが受けてデータ
要求信号を出力する。このデータ要求信号を切替制御回
路が受けると、そのデータ要求信号に対応したステップ
においてシフトレジスタのステップ移行が停止されると
ともに、そのステップを保持し、ゲート開き信号により
、データ要求信号を出力しているC’PUと入出力装置
とを接続し、かつ、ゲート手段を介してデータ要求信号
を入出力装置に入力させ、そのデータ要求信号に応答し
て出力されるデータセットレディ信号を受けるまでの間
に、CPUから入出力装置にデータを転送し、正常なC
PUによりバックアップし、制御動作を継続して行なう
ことができる。
According to this configuration, when an abnormality occurs in a CPU that is performing control operations for an input/output device and a fault occurrence signal is output, another CPU receives the fault occurrence signal and outputs a data request signal. do. When the switching control circuit receives this data request signal, it stops the step shift of the shift register at the step corresponding to the data request signal, holds that step, and outputs the data request signal by the gate opening signal. Connecting the C'PU and the input/output device, inputting the data request signal to the input/output device via the gate means, and receiving the data set ready signal output in response to the data request signal. In the meantime, data is transferred from the CPU to the input/output device, and the normal C
It is backed up by the PU and control operations can be continued.

したがって、3個以上の制御動作用のCPUそれぞれに
おいて、異常発生時には障害発生信号を出力させ、そし
て、障害発生信号を受けたときにはデータ要求信号を出
力させるようにし、かつ、切替制御回路を、シフトレジ
スタと、レジスタと論理ゲートで構成されるゲート手段
、ならびに、論理ゲートで構成されるステップ保持手段
によって構成し、CP Uからのデータ要求信号に基づ
き、入出力装置からデータセットレディ信号を受けるま
での間にCPUから入出力装置にデータを転送してバッ
クアップを行なえるから、障害監視専用の装置が不用に
なり、システム全体として構成が簡単で安価なものにで
きるようになった。
Therefore, in each of the three or more CPUs for control operation, when an abnormality occurs, a fault occurrence signal is outputted, and when a fault occurrence signal is received, a data request signal is outputted, and the switching control circuit is shifted. It consists of a register, a gate means consisting of a register and a logic gate, and a step holding means consisting of a logic gate, and the process continues until it receives a data set ready signal from an input/output device based on a data request signal from the CPU. During this time, data can be transferred from the CPU to the input/output device for backup, which eliminates the need for a device dedicated to fault monitoring, making the overall system configuration simple and inexpensive.

しかも、3個以−1−の制御動作用のCPUそれぞれに
おいて同一内容のプログラムを記憶させであるから、現
用系や待機系といったように固定化されず、初期にあっ
て、任意のCPUを選択して制御動作を行なうことがで
き、制御システムを構成する−4−で、そのシステム設
計を容易に行なえる利点がある。
Moreover, since the same program is stored in each of three or more CPUs for control operation, it is not fixed as an active system or a standby system, and any CPU can be selected in the initial stage. This has the advantage that the control system can be easily designed to perform control operations.

(実施例の説明) 以下、本発明を図面に示す実施例に基づいて詳細に説明
する。第1図は、本発明の実施例に係るブロック図であ
る。この図において、■は、信号制御装置や生命維持装
置などの入出力装置(CCUなど)、2 a、 2 b
、 2 c、 2 dは、それぞれ前記入出力装置lを
制御する第1ないし第4CPUであり、互いに同一内容
のプログラムが記憶されている。
(Description of Examples) Hereinafter, the present invention will be described in detail based on examples shown in the drawings. FIG. 1 is a block diagram according to an embodiment of the present invention. In this figure, ■ indicates input/output devices (CCU, etc.) such as signal control equipment and life support equipment, 2 a, 2 b
, 2c, and 2d are first to fourth CPUs that control the input/output device 1, respectively, and programs having the same content are stored therein.

前記入出力装置Iは、前記第1ないし第4CPU2a、
2 b、 2 c、 2 dからのアクセス信号に応答
して駆動信号を出力するとともに、前記第1ないし第4
 CP U 2 a、 2 b、 2 c、 2 dか
らのデータ要求信号DTRQ 1〜4に応答してデータ
セットレディ信号DTSRを出力するようになっている
The input/output device I includes the first to fourth CPUs 2a,
2b, 2c, and 2d, and outputs a drive signal in response to the access signal from the first to fourth
A data set ready signal DTSR is output in response to data request signals DTRQ 1 to 4 from the CPUs 2 a, 2 b, 2 c, and 2 d.

3は切替装置であり、第1ないし第4 C,P U、2
a、 2 b、 2 c、 2 dそれぞれと入出力装
置Iとの間において、アドレスバス、データバスおよび
制御線を接続するインターフェイス回路4a、 4 b
、 4. c、 4dと、第1ないし第4CPU2a、
2b、2c、2dそれぞれからのデータ要求信号DTR
Q 1〜4に応答して第1ないし第4 CPU2a、2
b、2c、2dを択一的に入出力装置Iに接続するよう
にインターフェイス回路4 a、4 b、4 c、4d
それぞれを切替制御する切替制御回路5とが備えられて
いる。
3 is a switching device, and the first to fourth C, P U, 2
Interface circuits 4a, 4b connect address buses, data buses, and control lines between input/output devices I and input/output devices I, respectively.
, 4. c, 4d, and the first to fourth CPUs 2a,
Data request signal DTR from each of 2b, 2c, and 2d
In response to Q 1 to 4, the first to fourth CPUs 2a, 2
Interface circuits 4 a, 4 b, 4 c, 4 d are configured to selectively connect the input/output device I to the input/output device I.
A switching control circuit 5 is provided to switch and control each of them.

切替制御回路5には、第2図に示すように、前記インタ
ーフェイス回路4a、4b、4−c、4dにステップ移
行によって順にゲート開き信号Gl〜4を出力する4b
itのシフトレジスタ6と、電源リセット回路7と、前
記ゲート開き信号Gl〜4の出力状態で、第1ないし第
4.CPU2a、2b、2c、2dからのデータ要求信
号DTRQ 1〜4に対応したデータ要求信号1〜4 
D T RQを前記入出力装置1に入力するゲート手段
8と、第1ないし第4. CPU 2 a、 2 b、
 2 c、 2 dからのデータ要求信号DTR01〜
4を受けた後、前記データセットレディ信号DTSRが
停止されるまで、前記シフトレジスタ6のステップ移行
をデータ要求信号DTRQ 1〜4に対応したステップ
で停止するステップ保持手段9とが備えられている。
As shown in FIG. 2, the switching control circuit 5 includes a circuit 4b that sequentially outputs gate opening signals Gl to 4 by step transition to the interface circuits 4a, 4b, 4-c, and 4d.
The first to fourth . Data request signals 1 to 4 corresponding to data request signals DTRQ 1 to 4 from the CPUs 2a, 2b, 2c, and 2d
gate means 8 for inputting DTRQ to the input/output device 1; CPU 2a, 2b,
Data request signal DTR01~ from 2c, 2d
step holding means 9 for stopping the step transition of the shift register 6 at the step corresponding to the data request signals DTRQ 1 to 4 until the data set ready signal DTSR is stopped after receiving the data set ready signal DTSR. .

前記シフトレジスタ6は、電源投入時および4bitご
との初期状態それぞれにおいて、Qa=1、Qb、Qc
、Qd=0となるように構成されている。
The shift register 6 sets Qa=1, Qb, and Qc when the power is turned on and in the initial state of each 4 bits.
, Qd=0.

以下、このQ、a= 1 、 Qb、Qc、Qd= 0
のときを第1ステツプTIと呼び、そして、Qb=I、
Qa。
Below, this Q, a= 1, Qb, Qc, Qd= 0
The case is called the first step TI, and Qb=I,
Qa.

Qc、Qd=0のときを第2ステツプT2、Qc=l、
Qa、Qh、Qd=Oのときを第3ステツプT3、Qd
−1、Qa、Q、b、Qc=0のときを第4ステツプT
4とそれぞれ呼ぶ。
When Qc, Qd=0, the second step T2, Qc=l,
When Qa, Qh, Qd=O, the third step T3, Qd
-1, Qa, Q, b, Qc = 0 in the fourth step T
4 respectively.

そして、このシフトレジスタ6においては、前述のよう
に、Qa=I、Qb、Qc、Qd=0のときに第1ステ
ツプTlとなり、この第1ステツプTIのとき、第1C
PU、2aからの入出力装置1に対するアクセス信号で
ある第1データ要求信号DTRQIがなければ、短い一
定周期tのクロックCLlによって1ビツトシフトされ
、次のステップT2に進む。第1データ要求信号DTR
Q ]があるときには、後述するが、所定の動作を行な
って、入出力装置lからデータセットレディ信号DTS
Rを受けるまで、そのステップTIを保持し、かつ、デ
ータセットレディ信号DTSRを受けてから次のステッ
プT2に進むようになっている。
In this shift register 6, as mentioned above, when Qa=I, Qb, Qc, and Qd=0, the first step Tl occurs, and when this first step TI, the first C
If there is no first data request signal DTRQI, which is an access signal to the input/output device 1 from the PU, 2a, the data is shifted by one bit by the clock CL1 having a short constant period t, and the process proceeds to the next step T2. First data request signal DTR
Q ], as will be described later, a predetermined operation is performed to output the data set ready signal DTS from the input/output device l.
The step TI is held until receiving R, and after receiving the data set ready signal DTSR, the process proceeds to the next step T2.

前記ゲート手段8には、前記シフトレジスタ6からの出
力と、第1ないし第4CPU2a、2b、2c、2dか
らのデータ要求信号DTRQ 1〜4とを人力する第1
ゲート回路10と、そのデータ要求信号DTRQ 1〜
4に対応したデータ要求信号1〜4DTRQを出力させ
るレジスタIIと第2ゲート回路12とが備えられてい
る。
The gate means 8 is provided with a first circuit for manually inputting the output from the shift register 6 and data request signals DTRQ 1 to 4 from the first to fourth CPUs 2a, 2b, 2c, and 2d.
Gate circuit 10 and its data request signal DTRQ 1~
A register II and a second gate circuit 12 are provided for outputting data request signals 1 to 4DTRQ corresponding to DTRQ.

前記ステップ保持手段9には、第1ないし第40PU2
a、2b、2c、2dからのデータ要求信号DTRQ 
]〜4を反転するインバータ回路13と、その反転され
たデータ要求信号DTRQ 1〜4とインバータ14に
よって反転されたデータセットレディ信号DTSRとシ
フトレジスタ6からの出力とを入力する第3ゲート回路
I5と、フリップフロップI6と、OR回路17とが備
えられている。図中18はAND回路、I9はNOR回
路、20は増幅回路である。
The step holding means 9 includes the first to fortieth PU2.
Data request signal DTRQ from a, 2b, 2c, 2d
] to 4, and a third gate circuit I5 that receives the inverted data request signals DTRQ 1 to 4, the data set ready signal DTSR inverted by the inverter 14, and the output from the shift register 6. , a flip-flop I6, and an OR circuit 17. In the figure, 18 is an AND circuit, I9 is a NOR circuit, and 20 is an amplifier circuit.

前記第1ないし第4 CPU2a、2b、2c、2dそ
れぞれには、それ自体の異常発生時に障害発生信号HL
 T 1〜4を出力する障害報知手段と、他のCP U
 2 a、 2 b、 2 c、 2 dからの所定の
障害発生信号HLTI〜4に応答して、前記切替制御回
路5にデータ要求信号DTRQ ]〜4を出力するバッ
クアップ手段とが備えられており、以下、障害報知手段
、バックアップ手段、ならびに、前記データ要求信号D
TRQ 1〜4に応答しての前記切替制御回路5それぞ
れの動作につき、第3図のフローチャートおよび第4図
のタイムチャートそれぞれを用いて説明する。
Each of the first to fourth CPUs 2a, 2b, 2c, and 2d receives a fault occurrence signal HL when an abnormality occurs.
Fault reporting means that outputs T1 to T4 and other CPUs
2 a, 2 b, 2 c, and 2 d. , hereinafter, the failure notification means, the backup means, and the data request signal D
The operation of each of the switching control circuits 5 in response to TRQs 1 to 4 will be explained using the flow chart of FIG. 3 and the time chart of FIG. 4, respectively.

先ず、第1ないし第40 P U 2 a、 2 b、
 2 c、 2 dそれぞれによる障害報知手段および
バックアップ手段の動作について説明する。なお、この
実施例では、最初に制御用として使用するCPUを第1
CPU2aと称し、他の第2ないし第4CPU2b。
First, 1st to 40th PU 2 a, 2 b,
The operations of the failure notification means and backup means according to 2c and 2d will be explained. Note that in this embodiment, the CPU used for control is the first CPU.
It is called a CPU 2a, and other second to fourth CPUs 2b.

2 c、 2 dを、第2CPU2b−第3CPU2C
→第4CPU2dの順にバックアップ用として使用する
ように設定している。
2 c, 2 d, 2nd CPU 2b - 3rd CPU 2C
→The fourth CPU 2d is set to be used for backup in this order.

最初に、制御用として使用されている第(n−1)1l
− CPUからの障害発生信号HLT(n−1)を感知した
かどうかを判断する(Fl)。但し、n=2.3゜4で
ある。
First, the (n-1)th 1l used for control
- Determine whether a fault occurrence signal HLT (n-1) from the CPU is detected (Fl). However, n=2.3°4.

ここで、障害発生信号HLT(n−1)を感知すれば、
それに応答してデータ要求信号D T RQ (n−1
)を出力しくF2)、第nCPUによって入出力装置l
を制御する(F3)。
Here, if the fault occurrence signal HLT(n-1) is sensed,
In response, the data request signal DTRQ (n-1
), the input/output device l is output by the nth CPU.
(F3).

前記ステップF1において、障害発生信号HLT(n−
1)を感知しないときには、ステップF4に移行し、制
御用として使用している状態で異常が発生したかどうか
を判断し、異常が発生すれば、障害発生信号HLTnを
出力しくF5)、異常が発生していなければ、ステップ
F1に戻す。
In step F1, the fault occurrence signal HLT(n-
If 1) is not detected, the process moves to step F4, where it is determined whether an abnormality has occurred while the device is being used for control, and if an abnormality has occurred, a fault occurrence signal HLTn is output. If it has not occurred, the process returns to step F1.

上述のようなステップFlからステップF3の処理を行
なうものをバックアップ手段と、そして、ステップF4
およびステップF5の処理を行なうものを障害報知手段
とそれぞれ称する。
A backup means is used to perform the processes from step Fl to step F3 as described above, and step F4 is used as a backup means.
and those that perform the processing in step F5 are respectively referred to as failure notification means.

切替制御回路5では、第4図に示すように、データ要求
信号DTRQ 1ならびに障害発生信号HLTIそれぞ
れに応答して次のような動作を行なう。なお、ここでは
、第1 CPU2aによる通常時の動作と、その第1C
PU2aの異常発生に伴なう第2CPU2bによるバッ
クアップ動作を例にして説明する。
As shown in FIG. 4, the switching control circuit 5 performs the following operations in response to the data request signal DTRQ1 and the fault occurrence signal HLTI. Note that the normal operation by the first CPU 2a and its first CPU 2a are explained here.
A backup operation by the second CPU 2b in response to an abnormality occurring in the PU 2a will be described as an example.

(1)通常時 第1CPU2aから切替制御回路5にデータ要求信号D
TRQ 1が出力されると、シフトレジスタ6が第1ス
テツプTIになったときに、前記データ要求信号DTR
Q 1に応答して第3ゲート回路15からの出力が“L
”レベルになり、第1クロツクCLIのいかんにかかわ
らず、シフトレジスタ6に対するシフトクロックが発生
せず、第1ステツプTIに保持される。この結果、シフ
トレジスタ6から増幅回路20を介し、継続して第1ゲ
ート信号Glがインターフェイス回路4aに出力され、
アドレスバス、データバスおよび制御線それぞれのゲー
トが開かれる。それと同時に、第3クロツクCL3に応
答して第1および第2ゲート回路10.12を介して前
記データ要求信号DTRQ 1に対応したデータ要求信
号I DTRQが入出力装置1に出力される。
(1) Normally, the data request signal D is sent from the first CPU 2a to the switching control circuit 5.
When TRQ 1 is output, the data request signal DTR is output when the shift register 6 reaches the first step TI.
In response to Q1, the output from the third gate circuit 15 becomes “L”.
” level, and the shift clock for the shift register 6 is not generated regardless of the first clock CLI, and is held at the first step TI.As a result, the clock continues to flow from the shift register 6 through the amplifier circuit 20. the first gate signal Gl is output to the interface circuit 4a,
The gates of the address bus, data bus, and control lines are opened. At the same time, a data request signal IDTRQ corresponding to the data request signal DTRQ1 is outputted to the input/output device 1 via the first and second gate circuits 10.12 in response to the third clock CL3.

入出力装置lでは、前記データ要求信号IDTRQを受
けろと、それに応答してデータセットレディ信号DTS
Rを切替制御回路5に出力する。
The input/output device 1 receives the data request signal IDTRQ, and in response, outputs the data set ready signal DTS.
R is output to the switching control circuit 5.

第] CPU2aからのデータ要求信号DTRQlが無
くなると、それに応答して切替制御回路5からのデータ
要求信号I DTRQの出力が停止されるとともに、デ
ータセットレディ信号DTSRの出力が停止される。こ
のデータセットレディ信号DTSRの出力が無くなった
ことを第2クロツクCL2によって確認すると、その次
のクロックCLIによりステップ保持が解除され、次の
ステップT 2 、T 3 、T 4と移行していく。
] When the data request signal DTRQl from the CPU 2a disappears, in response, the output of the data request signal IDTRQ from the switching control circuit 5 is stopped, and the output of the data set ready signal DTSR is also stopped. When it is confirmed by the second clock CL2 that the data set ready signal DTSR is no longer output, the step holding is canceled by the next clock CLI, and the process moves to the next steps T 2 , T 3 , and T 4 .

これにより、前記第1ステツプTIが保持されている間
に、第1 CPU2aから入出力装置1に所定のデータ
が転送され、第] CPU2aによる所定の制御動作が
行なわれるのである。
As a result, while the first step TI is held, predetermined data is transferred from the first CPU 2a to the input/output device 1, and predetermined control operations are performed by the first CPU 2a.

(11)異常発生時 第1CPU2aで異常が発生すると、前記障害報知手段
によって障害発生信号HLTIが出力され、この障害発
生信号HL T Iを第2CPU2bが受げると、それ
に応答して第2CPU2bはデータ要求信号DTRQ2
を出力する。
(11) When an abnormality occurs When an abnormality occurs in the first CPU 2a, the fault notification means outputs a fault occurrence signal HLTI, and when the second CPU 2b receives this fault occurrence signal HLTI, the second CPU 2b responds to the fault occurrence signal HLTI. Data request signal DTRQ2
Output.

第2CPU2bから切替制御回路5にデータ要求信号D
TRQ2が出力されると、シフトレジスタ6が第2ステ
ツプT2になったときに、前記データ要求信号DTRQ
2に応答して第3ゲート回路15からの出力が“L”レ
ベルになり、第1クロツクCLIのいかんにかかわらず
、シフトレジスタ6に対するシフトクロツタが発生せず
、第2ステツプT2に保持される。この結果、シフトレ
ジスタ6から増幅回路20を介し、継続して第2ゲート
信号G2がインターフェイス回路4bに出力され、アド
レスバス、データバスおよび制御線それぞれのゲートが
開かれる。それと同時に、第3クロツクCL3に応答し
て第1および第2ゲート回路l01I2を介して前記デ
ータ要求信号DTRQ2に対応したデータ要求信号2D
TRQが入出力装置1に出力される。
A data request signal D is sent from the second CPU 2b to the switching control circuit 5.
When TRQ2 is output, the data request signal DTRQ is output when the shift register 6 reaches the second step T2.
2, the output from the third gate circuit 15 goes to the "L" level, and no shift clock is generated for the shift register 6 regardless of the first clock CLI, and the clock is held at the second step T2. As a result, the second gate signal G2 is continuously output from the shift register 6 to the interface circuit 4b via the amplifier circuit 20, and the gates of the address bus, data bus, and control line are opened. At the same time, a data request signal 2D corresponding to the data request signal DTRQ2 is transmitted through the first and second gate circuits 101I2 in response to the third clock CL3.
TRQ is output to the input/output device 1.

入出力装置lからは、前記データ要求信号2D=15− TRQに応答してデータセットレディ信号DTSRを切
替制御回路5に出力する。
The input/output device 1 outputs a data set ready signal DTSR to the switching control circuit 5 in response to the data request signal 2D=15-TRQ.

第2 CPU2bからのデータ要求信号DTRQ2が無
くなると、それに応答して切替制御回路5からのデータ
要求信号2DTRQの出力が停止されるとともに、デー
タセットレディ信号DTSRの出力が停止される。この
データセットレディ信号DTSRの出力が無くなったこ
とを第2クロツクCL2によって確認すると、その次の
クロックCLIによりステップ保持が解除され、次のス
テップT3.T4.TIと移行していく。これにより、
前記第2ステツプT2が保持されている間に、第2CP
U2bから入出力装置lに所定のデータが転送され、第
1CPU2aの異常発生にかかわらず、第2CPU2b
によりバックアップして所定の制御動作を継続して行な
うことができるのである。
When the data request signal DTRQ2 from the second CPU 2b disappears, in response, the output of the data request signal 2DTRQ from the switching control circuit 5 is stopped, and the output of the data set ready signal DTSR is also stopped. When the second clock CL2 confirms that the data set ready signal DTSR is no longer output, the step hold is released by the next clock CLI, and the next step T3. T4. I will move on to TI. This results in
While the second step T2 is held, the second CP
Predetermined data is transferred from U2b to the input/output device l, and regardless of an abnormality occurring in the first CPU2a, the second CPU2b
This allows backup and predetermined control operations to be continued.

以下、第3および第4CPU2c、2dそれぞれによる
バックアップも同様にして行なわれる。
Thereafter, backup by each of the third and fourth CPUs 2c and 2d is performed in the same manner.

上記実施例では、通常の制御用の1個のCPU2aとバ
ックアップのために3個のCP U 2 b、 2 c
In the above embodiment, there is one CPU 2a for normal control and three CPUs 2b and 2c for backup.
.

2dを備えているが、それらのCP U 2 a、 2
 b、 2 c。
2d, but those CPUs 2a, 2
b, 2c.

2dそれぞれは、互いに同一内容のプログラムを有して
おり、そのいずれを制御用に使用するかは自由に設定す
ることができる。また、本発明としては、CPUを4個
備える場合に限らず、3個または5個以上備える場合に
も適用できる。
Each of the 2d has a program with the same content, and it is possible to freely set which one is used for control. Furthermore, the present invention is applicable not only to the case where four CPUs are provided, but also to the case where three or five or more CPUs are provided.

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

第1図は、本発明の電子計算機の多重化システムに係る
実施例のブロック図、第2図は、切替制御回路の構成を
示すブロック図、第3図は、CPUの動作を説明するフ
ローチャート、第4図は、切替制御回路の動作を説明す
るタイムチャートである。 1・・・入出力装置、2a、2b、2c、2d=−CP
U。 4a、4b、4c、4d−=インターフェイス回路、5
・・・切替制御回路、6・・・シフトレジスタ、8・・
・ゲート手段、9・・・ステップ保持手段。
FIG. 1 is a block diagram of an embodiment of the computer multiplexing system of the present invention, FIG. 2 is a block diagram showing the configuration of a switching control circuit, and FIG. 3 is a flowchart explaining the operation of the CPU. FIG. 4 is a time chart illustrating the operation of the switching control circuit. 1...I/O device, 2a, 2b, 2c, 2d=-CP
U. 4a, 4b, 4c, 4d-=interface circuit, 5
...Switching control circuit, 6...Shift register, 8...
- Gate means, 9... step holding means.

Claims (1)

【特許請求の範囲】[Claims] (1)それぞれ同一内容のプログラムを記憶した、3個
以上の制御動作用のCPUと、 前記CPUからのアクセス信号に応答して駆動信号を出
力するとともに、前記CPUからのデータ要求信号に応
答してデータセットレディ信号を出力する入出力装置と
、 前記CPUそれぞれと前記入出力装置とを接続するイン
ターフェイス回路と、 前記CPUからのデータ要求信号に応答して前記入出力
装置を択一的に接続するように前記インターフェイス回
路を切り替える切替制御回路とを有し、 前記CPUそれぞれには、 それ自体の異常発生時に障害発生信号を出力する障害報
知手段と、 他のCPUからの所定の障害発生信号に応答して、前記
切替制御回路にデータ要求信号を出力するバックアップ
手段とを備え、 前記切替制御回路には、 前記インターフェイス回路にステップ移行によって順に
ゲート開き信号を出力するシフトレジスタと、 前記ゲート開き信号の出力状態で、前記CPUからのデ
ータ要求信号を前記入出力装置に入力するゲート手段と
、 前記CPUからのデータ要求信号を受けた後、前記デー
タセットレディ信号が停止されるまで、前記シフトレジ
スタのステップ移行をデータ要求信号に対応したステッ
プで停止するステップ保持手段とを備えた電子計算機の
多重化システム。
(1) Three or more CPUs for control operations, each of which stores a program with the same content, and outputs a drive signal in response to an access signal from the CPU, and outputs a drive signal in response to a data request signal from the CPU. an input/output device that outputs a data set ready signal in response to a data set, an interface circuit that connects each of the CPUs and the input/output device, and selectively connects the input/output device in response to a data request signal from the CPU. and a switching control circuit that switches the interface circuit so as to control the interface circuit, and each of the CPUs has a fault notification means that outputs a fault occurrence signal when an abnormality occurs in itself, and a fault notification means that outputs a fault occurrence signal in response to a predetermined fault occurrence signal from another CPU. and a backup means for outputting a data request signal to the switching control circuit in response, and the switching control circuit includes: a shift register that sequentially outputs a gate opening signal to the interface circuit by step transition; gate means for inputting a data request signal from the CPU to the input/output device in the output state of the shift register; step holding means for stopping step transition at a step corresponding to a data request signal.
JP61008745A 1986-01-18 1986-01-18 Multiplexing system for electronic computer Pending JPS62166401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61008745A JPS62166401A (en) 1986-01-18 1986-01-18 Multiplexing system for electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61008745A JPS62166401A (en) 1986-01-18 1986-01-18 Multiplexing system for electronic computer

Publications (1)

Publication Number Publication Date
JPS62166401A true JPS62166401A (en) 1987-07-22

Family

ID=11701468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61008745A Pending JPS62166401A (en) 1986-01-18 1986-01-18 Multiplexing system for electronic computer

Country Status (1)

Country Link
JP (1) JPS62166401A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03131902A (en) * 1989-10-18 1991-06-05 Mitsubishi Electric Corp Industrial control device
JPH08244611A (en) * 1995-03-08 1996-09-24 Kyosan Electric Mfg Co Ltd Electronic interlocking device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03131902A (en) * 1989-10-18 1991-06-05 Mitsubishi Electric Corp Industrial control device
JPH08244611A (en) * 1995-03-08 1996-09-24 Kyosan Electric Mfg Co Ltd Electronic interlocking device

Similar Documents

Publication Publication Date Title
JPS6235704B2 (en)
JPS62166401A (en) Multiplexing system for electronic computer
KR100194979B1 (en) Determination of Operation Mode of Redundant Processor System
US5517613A (en) Environment sensing/control circuit
TWI823556B (en) Memory abnormality detection system, motherboard, electronic device and abnormality detection method
JP2861595B2 (en) Switching control device for redundant CPU unit
JPS5870495A (en) Controller of multiplexing storage device
JPH079636B2 (en) Bus diagnostic device
JPH023196A (en) High reliability memory element
JPH04252344A (en) Computer system
JPH0453060A (en) Mirrored disk device
JPS61134846A (en) Electronic computer system
JPH05136767A (en) Redundancy processing controller
JPH0528052A (en) Method for restoration from abnormality of memory access control
JPH04132094A (en) Control circuit for dynamic ram
JPS60195649A (en) Error reporting system of microprogram-controlled type data processor
JPH0331953A (en) Information processor
JPS6320647A (en) Data transfer equipment
JPS60134354A (en) Information processing device
JPS63131234A (en) Diagnosis control system
JPH0215352A (en) Dummy fault substitution diagnosis system
JPS62203244A (en) Hardware diagnosis system
JPH07244599A (en) Multiplexed system
JPH0934854A (en) Multiple computer system
JPS61189756A (en) Trouble informing system