JPS5917465B2 - Check device - Google Patents

Check device

Info

Publication number
JPS5917465B2
JPS5917465B2 JP51071604A JP7160476A JPS5917465B2 JP S5917465 B2 JPS5917465 B2 JP S5917465B2 JP 51071604 A JP51071604 A JP 51071604A JP 7160476 A JP7160476 A JP 7160476A JP S5917465 B2 JPS5917465 B2 JP S5917465B2
Authority
JP
Japan
Prior art keywords
input
output
data bus
bus
output data
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
JP51071604A
Other languages
Japanese (ja)
Other versions
JPS52153639A (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.)
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 JP51071604A priority Critical patent/JPS5917465B2/en
Publication of JPS52153639A publication Critical patent/JPS52153639A/en
Publication of JPS5917465B2 publication Critical patent/JPS5917465B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 この発明は、中央演算処理装置(以下CPUと略)とメ
モリ装置、入出力装置とから構成される制御装置におい
て、CPUとメモリ装置および入出力装置とを接続する
入出力データバス(共通接続線)の故障を検出して上記
制御装置が入出力データバスの故障によつて誤動作する
ことを防ぐことを目的とするものである。
Detailed Description of the Invention The present invention provides an input/output device that connects the CPU, memory device, and input/output device in a control device that includes a central processing unit (hereinafter abbreviated as CPU), a memory device, and an input/output device. The purpose of this is to detect a failure in the output data bus (common connection line) and prevent the control device from malfunctioning due to a failure in the input/output data bus.

また上記制御装置が何らかの誤動作を生じた場合、それ
が少くともCPUの入出力データバスに関係あるか否か
を明確にすることによつて、制御装置の誤動作原因の分
析時間を短縮する効果を有するものである。従来いわゆ
るストアートプログラム方式の制御装置において、CP
Uにはメモリ装置の他に入出力データバスを介して多く
の入出力装置が接続されている。この場合上記制御装置
の故障診断方法としてソフトウェア的に処理する方法が
良く用いられているが、この方法では故障検出を完全に
行なうには多大のメモリ装置と制御時間を要し、実時間
内で処理しようとすると制御装置の制御能力を低下させ
るという欠点があつた。また上記方法では制御装置全体
としてどこかに故障があるという事は分つてもそれが具
体的にメモリ装置なのか、入出力装置なのか、入出力バ
スなのかという点までは判別し得ない事が多い。第1図
にストアートプログラム方式の制御装置の基本的なブロ
ック図を示す。
In addition, when the control device malfunctions, it is possible to clarify whether or not it is related to the input/output data bus of the CPU, thereby reducing the time required to analyze the cause of the control device malfunction. It is something that you have. Conventionally, in a so-called stored program type control device, the CP
In addition to the memory device, many input/output devices are connected to U via an input/output data bus. In this case, a software-based processing method is often used as a fault diagnosis method for the above-mentioned control device, but this method requires a large amount of memory and control time to completely detect the fault, and it cannot be done in real time. When attempting to process this, there was a drawback that the control ability of the control device was reduced. In addition, with the above method, even if it is determined that there is a failure somewhere in the control device as a whole, it is not possible to determine whether it is specifically a memory device, an input/output device, or an input/output bus. There are many. FIG. 1 shows a basic block diagram of a stored program type control device.

第1図について説明すると、1はCPU、2はメモリ装
置、31、32〜3nは入力装置、41、42〜4nは
出力装置、5はCPUの入力データバス、6はCPUの
出力データバス、TはCPUの双方向バス、8はメモリ
アドレス線、91はメモリ装置2の出力データ線、92
〜9nは外部機器からの入力データ線、101、102
〜10nは入力装置31、32〜3nの選択信号線、1
11はメモリ装置2の入力データ線、112〜11nは
出力装置42〜4nから外部機器への出力データ線、1
21、122〜12nは出力装置41、42〜4nの選
択信号線である。従来からメモリ装置2については、そ
のデータ信号に1ビットまたは2ビットのチェックビッ
トを付加してパリテイチェック等の検出方式によつてメ
モリ装置の誤まり検出がなされていたが、入力データバ
ス5や出力データバス6については適当な検出方法がな
く、前記のソフトウエア的方法に頼つていた。
To explain FIG. 1, 1 is a CPU, 2 is a memory device, 31, 32-3n are input devices, 41, 42-4n are output devices, 5 is a CPU input data bus, 6 is a CPU output data bus, T is a bidirectional bus of the CPU, 8 is a memory address line, 91 is an output data line of the memory device 2, 92
~9n are input data lines from external devices, 101, 102
~10n is the selection signal line of the input devices 31, 32~3n, 1
11 is an input data line of the memory device 2; 112 to 11n are output data lines from the output devices 42 to 4n to external equipment;
21, 122-12n are selection signal lines of the output devices 41, 42-4n. Conventionally, errors in the memory device 2 have been detected using a detection method such as a parity check by adding 1 or 2 check bits to the data signal. There is no suitable detection method for the output data bus 6 and the output data bus 6, and the software method described above has been relied upon.

この場合メモリ装置の増大、制御能力の低下不良個所の
分析に多大の時間を要する等不具合があつた。
In this case, there were problems such as an increase in memory devices, a decrease in control ability, and a large amount of time required to analyze defective parts.

この発明は、このような従来の不具合点を解消し、入出
力バツフアと比較器とを用いて比較的簡単な構成で確実
に、また応答も速く入出力データバスの不良を検出する
ことができるチエツク装置を提供するものである。
The present invention solves these conventional problems, and uses an input/output buffer and a comparator to detect defects in the input/output data bus reliably with a relatively simple configuration and with a fast response. The present invention provides a check device.

以下この発明のチエツク装置について第2図を用いて詳
細に説明する。
The check device of the present invention will be explained in detail below with reference to FIG.

第2図はこの発明の一実施例である。第2図において、
1,2,31〜3n,41〜4n,5〜8,91〜9n
,101〜10n,111〜11n,121〜12n,
は第1図に説明したものと同一である。13は入力デー
タバス5とCPUlのバツフア装置である。
FIG. 2 shows an embodiment of this invention. In Figure 2,
1, 2, 31-3n, 41-4n, 5-8, 91-9n
, 101-10n, 111-11n, 121-12n,
is the same as that explained in FIG. 13 is a buffer device for the input data bus 5 and the CPU1.

一般に入力データバス5には多数の入力装置が接続され
るため信号増巾整形のため設けるものであつて必らずし
も必要ではない。14はCPUlと出力データバス6の
バツフア装置で信号増巾整形のため大低必要である。
Since a large number of input devices are generally connected to the input data bus 5, this is provided for signal amplification and shaping, and is not necessarily necessary. Reference numeral 14 is a buffer device for the CPU 1 and the output data bus 6, which is necessary for signal amplification and shaping.

15は比較器で、入力データバス5と出力データバス6
に接続され両者の一致を検出するもので、たとえば排他
的論理和回路等で構成される。
15 is a comparator, which connects input data bus 5 and output data bus 6.
It is connected to the circuit and detects a match between the two, and is composed of, for example, an exclusive OR circuit.

次にこの発明の動作について説明する。Next, the operation of this invention will be explained.

第2図において、メモリ装置2および外部機器からのデ
ータは、入力装置31〜3nを経由して入力データバス
5に伝達される。
In FIG. 2, data from memory device 2 and external equipment is transmitted to input data bus 5 via input devices 31 to 3n.

この時人力データバス5には、入力装置選択信号(CP
Uから発.生される)の101〜10nによつて選択さ
れた唯一つの入力装置のデータが伝達される。このデー
タ信号は入カデータバツフア13を経由してCPUlへ
伝達されると共に、出力データバツフア14を通して出
力データバス6にも伝えられる。.ただし、この時出力
装置選択信号は発生されてないので、外部出力側機器お
よびメモリ装置2に伝達されないようになつている。上
記入力データバス5の信号は、同時に比較器15に入力
される。一方比較器15には出力データバス6を介して
入入データが入力されており、CPUから発せられるデ
ータ入力タイミング信号16によつて、前記入力データ
バス5からの入力データ信号と出力データバス6からの
入力データ信号の両者を用いて比較し、両者の一致を検
出するものである。もし入力データバスまたは出力デー
タバスのいずれかが故障していれば、比較器15は入出
力バス不良の警報信号を発生する。このチエツクは入力
装置がデータを入力する毎に行なわれ、しかもCPUの
制御時間に影響を与えることなく実時間で行なうことが
できる。以上の説明から明らかなように、この発明のチ
エツク装置を具備することによつて、いわゆるストアー
トプログラム方式の制御装置において、その入出力デー
タバスの誤動作を検出することによつて、前記制御装置
の誤制御を未然に防ぐことができる。
At this time, the input device selection signal (CP
Departs from U. The data of only one input device selected by 101 to 10n (generated) is transmitted. This data signal is transmitted to the CPU1 via the input data buffer 13, and is also transmitted to the output data bus 6 via the output data buffer 14. .. However, since the output device selection signal is not generated at this time, it is not transmitted to the external output device and the memory device 2. The signals on the input data bus 5 are simultaneously input to the comparator 15. On the other hand, input data is input to the comparator 15 via the output data bus 6, and the input data signal from the input data bus 5 and the output data bus 6 In this method, both input data signals from the 1st and 10th generation are compared to detect a match between the two. If either the input data bus or the output data bus is faulty, comparator 15 generates an input/output bus fault alarm signal. This check is performed each time the input device inputs data, and can be performed in real time without affecting the control time of the CPU. As is clear from the above description, by providing the check device of the present invention, in a so-called stored program type control device, by detecting a malfunction of the input/output data bus, the control device It is possible to prevent erroneous control.

また構成要素は集積回路(IC)で比較的簡単に構成で
き、全体的に簡単な構成で検出動作が速く、実時間で確
実に検出でき実用上の利点も多大である。
In addition, the components can be relatively easily constructed using integrated circuits (ICs), the overall construction is simple, the detection operation is fast, the detection can be performed reliably in real time, and there are many practical advantages.

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

第1図は従来のストアートプログラム方式制御装置の基
本プロツク図、第2図はこの発明の一実施例を示すプロ
ツク図であり、図において1はCPUl2はメモリ装置
、31,32〜3nは入力装置、41,42〜4nは出
力装置、5はCPUの入力データバス、6はCPUの出
力データバス、7は双方向性バス、8はメモリアドレス
線、91はメモリ装置2の出力データ線、92〜9nは
外部機器からの入力データ線、101,102〜10n
は入力装置の選択信号線、111はメモリ装置2の入力
データ線、112〜11nは出力装置から外部機器への
出力データ線、121,122〜12nは出力装置の選
択信号線、13は入カデータバスバツフア、14は出力
データバスバツフア、15は比較器、16はCPUlか
らのタイミング信号線である。
Fig. 1 is a basic block diagram of a conventional stored program type control device, and Fig. 2 is a block diagram showing an embodiment of the present invention. 41, 42 to 4n are output devices, 5 is an input data bus of the CPU, 6 is an output data bus of the CPU, 7 is a bidirectional bus, 8 is a memory address line, 91 is an output data line of the memory device 2, 92~9n are input data lines from external equipment, 101, 102~10n
is the selection signal line of the input device, 111 is the input data line of the memory device 2, 112 to 11n is the output data line from the output device to the external device, 121, 122 to 12n is the selection signal line of the output device, and 13 is the input data line. Data bus buffer 14 is an output data bus buffer, 15 is a comparator, and 16 is a timing signal line from CPU1.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の入力装置を入力バネを介し、かつ複数の出力
装置を出力バスを介して中央処理装置に接続した制御装
置のチェック装置において、上記入力バスのデータと上
記出力バスとのデータとを比較する比較器と、上記入力
バスのデータを上記出力バスへ転送するバスバッファと
を備え、上記中央処理装置により特定の上記入力装置を
選択してデータのアクセスをさせ、上記比較器の比較結
果により上記入力バス及び出力バスの故障の判断をする
ようにしたことを特徴とするチェック装置。
1. In a check device for a control device in which a plurality of input devices are connected to a central processing unit via an input spring and a plurality of output devices are connected to a central processing unit via an output bus, data on the input bus and data on the output bus are compared. a comparator that transfers data on the input bus to the output bus; the central processing unit selects a specific input device to access data; A checking device characterized in that it determines whether the input bus and the output bus are out of order.
JP51071604A 1976-06-16 1976-06-16 Check device Expired JPS5917465B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51071604A JPS5917465B2 (en) 1976-06-16 1976-06-16 Check device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51071604A JPS5917465B2 (en) 1976-06-16 1976-06-16 Check device

Publications (2)

Publication Number Publication Date
JPS52153639A JPS52153639A (en) 1977-12-20
JPS5917465B2 true JPS5917465B2 (en) 1984-04-21

Family

ID=13465415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51071604A Expired JPS5917465B2 (en) 1976-06-16 1976-06-16 Check device

Country Status (1)

Country Link
JP (1) JPS5917465B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6330940U (en) * 1986-08-13 1988-02-29

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6330940U (en) * 1986-08-13 1988-02-29

Also Published As

Publication number Publication date
JPS52153639A (en) 1977-12-20

Similar Documents

Publication Publication Date Title
US6886116B1 (en) Data storage system adapted to validate error detection logic used in such system
JPH0430619B2 (en)
JPH0746322B2 (en) Faulty device identification system
NO170113B (en) CONTROL LOGIC FOR PARITY INTEGRITY
US20030041290A1 (en) Method for monitoring consistent memory contents in redundant systems
US4761783A (en) Apparatus and method for reporting occurrences of errors in signals stored in a data processor
JPS5917465B2 (en) Check device
JP3576978B2 (en) Memory port, storage device, information processing system
JPS5911452A (en) Test system of parity check circuit
JPS5949619B2 (en) Fault diagnosis method for redundant central processing system
JPS5916302B2 (en) Check device
JPS6029978B2 (en) Check device
JP2818437B2 (en) Fault detection circuit
JPH02173852A (en) Bus diagnostic device
JPS6116092B2 (en)
JPH0498555A (en) Bus interface check system
JPH01277951A (en) Data transfer equipment
JPH04252344A (en) Computer system
JPS63753A (en) Test system for memory error checking and correcting circuit
JPH0535455B2 (en)
JPH03126149A (en) Bus system diagnostic system
JPS63133245A (en) Trouble detecting circuit
JPH0434180B2 (en)
JPS63193249A (en) Microprogram controller
JPH08305637A (en) Storage