JPS6226740B2 - - Google Patents

Info

Publication number
JPS6226740B2
JPS6226740B2 JP57003021A JP302182A JPS6226740B2 JP S6226740 B2 JPS6226740 B2 JP S6226740B2 JP 57003021 A JP57003021 A JP 57003021A JP 302182 A JP302182 A JP 302182A JP S6226740 B2 JPS6226740 B2 JP S6226740B2
Authority
JP
Japan
Prior art keywords
signal
input
output
circuit
operation completion
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
Application number
JP57003021A
Other languages
Japanese (ja)
Other versions
JPS58121435A (en
Inventor
Nobuaki Fujii
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP57003021A priority Critical patent/JPS58121435A/en
Publication of JPS58121435A publication Critical patent/JPS58121435A/en
Publication of JPS6226740B2 publication Critical patent/JPS6226740B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 本発明は、電子計算機に並設された複数の入出
力装置の故障を検出する故障検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a failure detection circuit that detects failures in a plurality of input/output devices installed in parallel in an electronic computer.

従来、この種の故障検出回路として第1図に示
すものがあつた。図において、電子計算機1に
は、入出力装置2a,2b,2c,2dが並設さ
れており、これら電子計算機1と入出力装置2a
〜2dとの間には、所定の入出力装置を指定する
ためのアドレス信号線3、入出力データを伝送す
るデータ線4、入出力装置に対して動作を指定す
る制御信号線5、動作を指令する起動信号線6、
及び入出力装置の動作完了を示す動作完了信号線
7が接続されている。
Conventionally, there has been a failure detection circuit of this type as shown in FIG. In the figure, a computer 1 has input/output devices 2a, 2b, 2c, and 2d installed in parallel, and these computer 1 and input/output devices 2a
2d, an address signal line 3 for specifying a predetermined input/output device, a data line 4 for transmitting input/output data, a control signal line 5 for specifying an operation for the input/output device, and an operation signal line 5 for specifying an operation for the input/output device. a starting signal line 6 for commanding;
and an operation completion signal line 7 indicating the completion of the operation of the input/output device.

しかして、8は電子計算機1内に設けられた故
障検出回路で、この故障検出回路8は、遅延回路
9により構成されていて、動作完了信号が返送さ
れないで、上記起動信号線6に送出する起動信号
6aが一定時間以上有意になつた時に、電子計算
機1に対して上記遅延回路9の遅延信号10を故
障信号として出力するようになつている。
Therefore, 8 is a failure detection circuit provided in the computer 1, and this failure detection circuit 8 is constituted by a delay circuit 9, and the operation completion signal is not returned but is sent to the start signal line 6. When the activation signal 6a becomes significant for a certain period of time or more, the delay signal 10 of the delay circuit 9 is outputted to the computer 1 as a failure signal.

第1図構成において電子計算機1が入出力装置
2a〜2dのいずれかを指定するアドレス信号と
入力動作を示す制御信号及び起動信号とを、アド
レス信号線3、制御信号線5、及び起動信号線6
を介して入出力装置に対して出力すると、上記ア
ドレス信号により指定された、例えば入出力装置
2aは、上記制御信号及び起動信号とにより動作
を開始し、入力データとともに動作完了信号をデ
ータ線4と動作完了信号線7を介して電子計算機
1に返送する。したがつて、上記電子計算機1
は、上記動作完了信号が返送されたことを確認し
て上記入力データを取り込み、次に起動信号を無
意にしデータの読み込み動作を終了するようにな
つている。
In the configuration shown in FIG. 1, the electronic computer 1 transmits an address signal specifying one of the input/output devices 2a to 2d, a control signal indicating an input operation, and a start signal to an address signal line 3, a control signal line 5, and a start signal line. 6
For example, the input/output device 2a specified by the address signal starts operating in response to the control signal and start signal, and sends an operation completion signal along with the input data to the data line 4. and is sent back to the computer 1 via the operation completion signal line 7. Therefore, the electronic computer 1
After confirming that the operation completion signal has been returned, the input data is taken in, and then the activation signal is made inactive and the data reading operation is completed.

しかしながら、その際、入出力装置の故障等に
より動作完了信号が返送されない場合には、電子
計算機1は入力データを取り込むことが出来ず、
動作完了信号が、返送されるまで待ち状態にな
る。しかして、この電子計算機1は内部に故障検
出回路8を内蔵しており、起動信号の出力後、一
定時間内に動作完了信号が返送されてこない場合
には、電子計算機1に対し故障信号を出力するこ
とにより入出力装置の故障検出を行う。
However, at that time, if the operation completion signal is not returned due to a failure of the input/output device, etc., the computer 1 will not be able to import the input data.
The system waits until the operation completion signal is returned. However, this computer 1 has a built-in failure detection circuit 8, and if an operation completion signal is not returned within a certain period of time after outputting the start signal, a failure signal is sent to the computer 1. By outputting this information, failures in input/output devices are detected.

しかるに、従来の故障検出回路は以上のように
構成されているので、動作完了信号が返送されな
くなるような、入出力装置の故障に対しては故障
検出することが可能であるが、又、逆に起動信号
が入出力装置へ送出されていないにも拘らず、例
えば信号線の短絡あるいは出力用ICの不良等に
より、上記入出力装置から動作完了信号が電子計
算機へ送出されてしまう様な故障を検出すること
ができないという欠点を有していた。すなわち、
上記故障が検出できないために、動作完了信号が
返送されたままの状態になつた場合には、電子計
算機1は故障を認知できず誤つてデータを取り込
むという欠点を有していた。
However, since the conventional fault detection circuit is configured as described above, it is possible to detect a fault in an input/output device such that an operation completion signal is not returned. A failure in which an operation completion signal is sent from the input/output device to the computer even though the start signal is not sent to the input/output device due to a short circuit in the signal line or a defective output IC. It had the disadvantage that it could not be detected. That is,
If the failure cannot be detected and the operation completion signal continues to be returned, the computer 1 cannot recognize the failure and may erroneously import data.

本発明は、上記のような従来のものの欠点を除
去するためになされたもので、動作完了信号が返
送されなくなるような故障のみならず、返送され
る状態になるような故障をも故障検出が行い得る
新規な故障検出装置を提供するものである。
The present invention has been made in order to eliminate the drawbacks of the conventional devices as described above, and is capable of detecting not only failures in which the operation completion signal is not returned, but also failures in which the operation completion signal is returned. The present invention provides a new failure detection device that can perform the following tasks.

以下、本発明の一実施例を第1図と同一部分は
同一符号を附して示す第2図に基いて説明する。
第2図において、電子計算機1に内蔵される本発
明の故障検出回路11は、従来の遅延回路9の他
に、論理積回路12,13,15、及び記憶素子
14を有する。すなわち、本発明の故障検出回路
11において、電子計算機1から出力される起動
信号6aは、動作完了信号7の反転信号と論理積
回路12によつて論理積がとられ、この論理積出
力は、上記起動信号6aによつてセツトされる記
憶素子14に記憶され、該記憶素子14の出力が
起動信号6として入出力装置2a〜2dに対して
出力される。起動信号6aは、動作完了信号7の
反転信号と論理積回路12によつて論理積がとら
れ記憶素子14に記憶されその出力が起動信号6
として入出力装置2a〜2dに対して出力され
る。一方動作完了信号7は上記記憶素子14の出
力と共に、動作完了信号送出用論理積回路である
論理積回路13によつて論理積がとられ、この論
理積出力が動作完了信号7aとして電子計算機1
に返送される構成になつており、そして、該動作
完了信号7aの反転信号と遅延回路9の遅延信号
10との論理積を得る論理積回路15によつて入
出力装置の故障信号15aを電子計算機1に与え
る構成となつている。
Hereinafter, one embodiment of the present invention will be described with reference to FIG. 2, in which the same parts as in FIG. 1 are denoted by the same reference numerals.
In FIG. 2, a failure detection circuit 11 of the present invention built into an electronic computer 1 includes AND circuits 12, 13, 15, and a memory element 14 in addition to a conventional delay circuit 9. That is, in the failure detection circuit 11 of the present invention, the activation signal 6a output from the computer 1 is ANDed with the inverted signal of the operation completion signal 7 by the AND circuit 12, and the AND output is It is stored in the memory element 14 set by the activation signal 6a, and the output of the storage element 14 is outputted as the activation signal 6 to the input/output devices 2a to 2d. The activation signal 6a is ANDed with the inverted signal of the operation completion signal 7 by the AND circuit 12 and stored in the storage element 14, and the output thereof is the activation signal 6.
It is output to the input/output devices 2a to 2d as follows. On the other hand, the operation completion signal 7 is ANDed with the output of the storage element 14 by an AND circuit 13 which is an AND circuit for sending out an operation completion signal, and this AND output is used as the operation completion signal 7a in the electronic computer 1.
The failure signal 15a of the input/output device is electronically sent back to the input/output device by an AND circuit 15 which obtains an AND between the inverted signal of the operation completion signal 7a and the delay signal 10 of the delay circuit 9. The configuration is such that it is given to computer 1.

次に上記構成の動作について説明する。先ず、
正常動作の時には、電子計算機1が入出力装置2
a〜2dのいずれかを指定するアドレス信号と、
入力動作を示す制御信号、及び起動信号とをアド
レス信号線3、制御信号線5及び起動信号線6a
を介して入出力装置に対して出力すると、この時
点では、動作完了信号線7は返送されていない記
憶素子14の出力が起動信号として起動信号線6
を介して出力される。そして、上記アドレス信号
により指定された、例えば入出力装置2aは、上
記制御信号及び起動信号とにより動作を開始し、
入力データとともに動作完了信号をデータ線4と
動作完了信号線7を介して電子計算機1に返送す
る。しかして、この時点で上記動作完了信号は、
論理積回路13により記憶素子14の出力と共に
論理積がとられ、上記論理積回路13の出力が電
子計算機1に対しての動作完了信号として動作完
了信号線7aを介して返送される。したがつて、
上記電子計算機1は、上記動作完了信号が返送さ
れたことを確認して上記入力データを取り込み、
次に起動信号を無意にし、データの読み込み動作
を終了する。尚この時、論理積回路13aの出力
反転信号と遅延回路9の遅延信号との論理積を得
る論理積回路15は入出力装置の故障信号を出力
しなく、そして起動信号が無意になると記憶素子
14及び遅延回路9はリセツトされる。
Next, the operation of the above configuration will be explained. First of all,
During normal operation, the computer 1 is connected to the input/output device 2.
an address signal specifying any one of a to 2d;
A control signal indicating an input operation and a start signal are connected to an address signal line 3, a control signal line 5 and a start signal line 6a.
At this point, the operation completion signal line 7 is output to the input/output device via the operation completion signal line 7, and the output of the storage element 14, which has not been returned, is output as a start signal to the start signal line 6.
Output via . Then, for example, the input/output device 2a specified by the address signal starts operating in response to the control signal and activation signal,
The operation completion signal along with the input data is sent back to the computer 1 via the data line 4 and the operation completion signal line 7. At this point, the above operation completion signal is
An AND circuit 13 performs an AND operation with the output of the memory element 14, and the output of the AND circuit 13 is sent back to the computer 1 as an operation completion signal via the operation completion signal line 7a. Therefore,
The computer 1 receives the input data after confirming that the operation completion signal has been returned;
Next, the activation signal is made inactive and the data reading operation is completed. At this time, the AND circuit 15 which obtains the AND of the output inverted signal of the AND circuit 13a and the delayed signal of the delay circuit 9 does not output a failure signal of the input/output device, and when the activation signal becomes invalid, the memory element 14 and delay circuit 9 are reset.

次に異常時、すなわち電子計算機1が起動信号
を出力する時点で入出力装置の故障等によりすで
に動作完了信号が返送されている場合には、入出
力装置から動作完了信号が返送されたままの状態
で電子計算機1が起動信号6aを出力しても論理
積回路12により動作完了信号の反転信号と論理
積をとられるため、記憶素子14はセツトされ
ず、したがつて入出力装置に対して起動信号は出
力されない。又、入出力装置よりの動作完了信号
は論理積回路13により上記記憶素子14の出力
と論理積がとられるため、電子計算機1に対して
は動作完了信号が返送されない。一方、遅延回路
9は起動信号6aにより起動されているので一定
時間経過後出力される遅延信号と上記論理積回路
13の出力反転信号との論理積を得る論理積回路
15から電子計算機1に対して故障信号15aを
出力することになり、これにより、電子計算機1
はデータを誤つて取り込むことなく、故障処理を
行なうことができる。また入出力装置の故障等に
より動作完了信号が返送されないような異常の場
合には、従来装置と同様な動作を行ない故障検出
ができることは勿論である。
Next, in the event of an abnormality, that is, if the operation completion signal has already been returned due to a failure of the input/output device at the time when the computer 1 outputs the start signal, the operation completion signal is still being returned from the input/output device. Even if the computer 1 outputs the start signal 6a in this state, the AND circuit 12 performs an AND with the inverted signal of the operation completion signal, so the memory element 14 is not set, and therefore the input/output device is not No start signal is output. Further, since the operation completion signal from the input/output device is ANDed with the output of the storage element 14 by the AND circuit 13, the operation completion signal is not returned to the computer 1. On the other hand, since the delay circuit 9 is activated by the activation signal 6a, the AND circuit 15 that obtains the logical product of the delayed signal output after a certain period of time and the inverted output signal of the AND circuit 13 is sent to the electronic computer 1. This causes the computer 1 to output a failure signal 15a.
can handle failures without erroneously importing data. Furthermore, in the case of an abnormality in which an operation completion signal is not returned due to a failure of the input/output device, the failure can of course be detected by performing the same operation as the conventional device.

尚、上記実施例では、電子計算機1が入力動作
する場合について述べたが出力動作を行なう場合
も本発明を同様に実施できるのは勿論である。
又、本発明は、遅延回路9を使用しているので、
信号線内の信号の伝搬遅延時間による動作完了信
号の遅れに対しても、遅延回路の設定時間内であ
れば正常に動作するので、故障検出機能のみなら
ず、フエイルセーフ機能としても有効である。
In the above embodiment, a case has been described in which the electronic computer 1 performs an input operation, but it goes without saying that the present invention can be implemented in the same manner when the computer 1 performs an output operation.
Furthermore, since the present invention uses the delay circuit 9,
Even if the operation completion signal is delayed due to the propagation delay time of the signal in the signal line, it will operate normally within the set time of the delay circuit, so it is effective not only as a failure detection function but also as a failsafe function.

以上のように本発明によれば、故障検出回路に
論理積回路と記憶素子を追加し動作完了信号の状
態を監視するようにしたので、従来のもののよう
に動作完了信号が返送されない場合の故障検出だ
けではなく、返送されたままになるような場合の
故障検出も行うことができ、より完全な故障検出
が行うことができる。
As described above, according to the present invention, an AND circuit and a memory element are added to the failure detection circuit to monitor the state of the operation completion signal. In addition to detection, it is also possible to detect failures in cases where the items are still being returned, allowing for more complete failure detection.

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

第1図は従来の入出力装置の故障検出回路を示
す接続図、第2図は本発明の一実施例による入出
力装置の故障検出回路を示す接続図である。 1……電子計算機、2a〜2d……入出力装
置、3……アドレス信号線、4……データ線、5
……制御信号線、6……起動信号線、7……動作
完了信号線、8,11……故障検出回路、9……
遅延回路、12,13,15……論理積回路、1
4……記憶素子、なお、図中、同一符号は同一、
又は相当部分を示す。
FIG. 1 is a connection diagram showing a conventional failure detection circuit for an input/output device, and FIG. 2 is a connection diagram showing a failure detection circuit for an input/output device according to an embodiment of the present invention. 1...Electronic computer, 2a-2d...I/O device, 3...Address signal line, 4...Data line, 5
...Control signal line, 6...Start signal line, 7...Operation completion signal line, 8, 11...Failure detection circuit, 9...
Delay circuit, 12, 13, 15...AND circuit, 1
4...Memory element, the same reference numerals in the figures are the same,
or a corresponding portion.

Claims (1)

【特許請求の範囲】[Claims] 1 電子計算機から入出力装置側に送出される起
動信号を所定時間遅延する遅延回路を備え、この
遅延回路の遅延信号と上記入出力装置側から電子
計算機側に与えられる動作完了信号とに基いて上
記入出力装置の故障検出を行う故障検出回路にお
いて、上記動作完了信号の反転信号と上記起動信
号との論理積を得る論理積回路と、上記起動信号
によつてセツトされ該論理積回路の出力を記憶し
てその記憶出力を上記入出力装置側へ与える起動
信号として送出する記憶素子と、上記動作完了信
号と該記憶素子の出力との論理積を得て上記電子
計算機に与える動作完了信号とする動作完了信号
送出用論理積回路と、この論理積回路の出力反転
信号と上記遅延回路の遅延信号との論理積を得て
上記入出力装置の故障検出信号とする故障検出用
論理積回路とを設けたことを特徴とする入出力装
置の故障検出回路。
1. Equipped with a delay circuit that delays a start signal sent from the computer to the input/output device side for a predetermined period of time, and based on the delay signal of this delay circuit and the operation completion signal given from the input/output device side to the computer side. The failure detection circuit for detecting a failure in the input/output device includes an AND circuit that obtains an AND of the inverted signal of the operation completion signal and the start signal, and an output of the AND circuit that is set by the start signal. a memory element that stores the memory output and sends the memory output as a start signal to the input/output device, and an operation completion signal that obtains a logical product of the operation completion signal and the output of the storage element and supplies it to the computer. an AND circuit for sending out an operation completion signal; and an AND circuit for detecting a failure, which obtains an AND of an inverted output signal of the AND circuit and a delayed signal of the delay circuit, and generates a failure detection signal for the input/output device. A failure detection circuit for an input/output device, characterized in that it is provided with:
JP57003021A 1982-01-11 1982-01-11 Fault detecting circuit for input and output device Granted JPS58121435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57003021A JPS58121435A (en) 1982-01-11 1982-01-11 Fault detecting circuit for input and output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57003021A JPS58121435A (en) 1982-01-11 1982-01-11 Fault detecting circuit for input and output device

Publications (2)

Publication Number Publication Date
JPS58121435A JPS58121435A (en) 1983-07-19
JPS6226740B2 true JPS6226740B2 (en) 1987-06-10

Family

ID=11545667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57003021A Granted JPS58121435A (en) 1982-01-11 1982-01-11 Fault detecting circuit for input and output device

Country Status (1)

Country Link
JP (1) JPS58121435A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2778691B2 (en) * 1988-01-19 1998-07-23 東芝エンジニアリング株式会社 Bus monitoring circuit
JPH02272657A (en) * 1989-04-14 1990-11-07 Japan Radio Co Ltd Malfunction detecting circuit

Also Published As

Publication number Publication date
JPS58121435A (en) 1983-07-19

Similar Documents

Publication Publication Date Title
US4691126A (en) Redundant synchronous clock system
JP6750489B2 (en) Electronic device, image forming apparatus, control method, and program
JPS6226740B2 (en)
JP2508305B2 (en) Initial value determination device
JP2954040B2 (en) Interrupt monitoring device
JPS5814204A (en) Microcomputer controller
JPS639691B2 (en)
JP3281113B2 (en) Abnormality detection circuit of microcomputer system
JP2638257B2 (en) Error handling circuit for control power supply
JP2818437B2 (en) Fault detection circuit
JPH02266269A (en) Abnormality detecting circuit
JPH0410654B2 (en)
JP3243687B2 (en) Hot swapping system
JP2006338425A (en) Controller
JPS6253860B2 (en)
JP2681005B2 (en) Control device with package mounting change monitoring function
JPS6323598B2 (en)
JPS5840674A (en) Fault deciding method of microcomputer
JP2749994B2 (en) Numerical control unit
JP2878319B2 (en) Fire alarm system
JPH0675653A (en) Computer redundancy control system
JPS6042505B2 (en) output memory device
JPH09212201A (en) Control circuit for production facility
JPH033043A (en) Semiconductor device
JPH01321539A (en) Circuit for checking connecting state of bus connector