[go: up one dir, main page]

JPS6051136B2 - Data error detection method - Google Patents

Data error detection method

Info

Publication number
JPS6051136B2
JPS6051136B2 JP54144625A JP14462579A JPS6051136B2 JP S6051136 B2 JPS6051136 B2 JP S6051136B2 JP 54144625 A JP54144625 A JP 54144625A JP 14462579 A JP14462579 A JP 14462579A JP S6051136 B2 JPS6051136 B2 JP S6051136B2
Authority
JP
Japan
Prior art keywords
data
data processing
output
abnormality
processing device
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
JP54144625A
Other languages
Japanese (ja)
Other versions
JPS5667458A (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 JP54144625A priority Critical patent/JPS6051136B2/en
Publication of JPS5667458A publication Critical patent/JPS5667458A/en
Publication of JPS6051136B2 publication Critical patent/JPS6051136B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 この発明は、データ処理装置内で発生するデータの誤り
を検出するデータ誤り検出方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data error detection method for detecting data errors occurring within a data processing device.

通常データ処理装置で処理されるべきデータは、実際に
データ処理が施こされる以前にその有効性についてチェ
ックがなされていることが望ましい。
Generally, it is desirable that the validity of data to be processed by a data processing device be checked before the data is actually processed.

このようなチェックによつて、誤つたデータに基づいて
データ処理をするというごとき誤りが除去されて装置の
信頼性が向上するからである。従来のデータ処理装置に
あつては、上述したごときデータの誤りを検出するに際
して、一旦データを読み込み、然る後該データの誤りを
検出するプログラムを起動させてチェックを行なうよう
になつていた。
This is because such a check eliminates errors such as data processing based on erroneous data and improves the reliability of the apparatus. In conventional data processing devices, when detecting data errors as described above, the data is read once, and then a program for detecting errors in the data is activated to perform a check.

しかしながら上述したごときデータ誤り検出方式におい
ては、プログラムによるチェックを用いていたので誤り
検出の処理に時間がかかるという不具合があり、プロセ
ス制御用のデータ処理装置等では実用に供し得ないとい
う問題があつた。
However, since the data error detection method described above uses a program check, there is a problem in that the error detection process takes time, and it cannot be put to practical use in data processing equipment for process control. Ta.

従つてこの発明は従来の技術の上記問題点を改善するも
ので、その目的は、入力されたデータの誤り検出の処理
に要する時間を短縮することによつて供用範囲を例えば
プロセス制御用のごときに拡大することが可能なデータ
誤り検出方式を提供することにある。上記目的を達成す
るためにこの発明の特徴は、入力されたデータを読み込
んでこれに所定のデータ処理を施した後出力する同一の
データ処理装置を少なくとも2以上同一の外部データ送
出装置に対して並列に接続するとともに、前記データ処
理装置より夫々出力されるデータとこれらデータの異常
を判定するために予め設定されている基準データとを比
較して異常の有無を判定し、異常と判定されたデータを
出力した方のデータ処理装置に異常検出信号を出力する
異常検出回路を設けたごときデータ誤り検出方式にある
。以下図面によりこの発明の実施例を説明する。
Therefore, the present invention is intended to improve the above-mentioned problems of the prior art, and its purpose is to shorten the time required to detect errors in input data, thereby increasing the scope of use, such as for process control. The object of the present invention is to provide a data error detection method that can be expanded to In order to achieve the above object, the present invention is characterized in that the same data processing device that reads input data, performs predetermined data processing on it, and then outputs it is connected to at least two or more of the same external data sending devices. The data processing devices are connected in parallel, and the data output from the data processing devices are compared with reference data set in advance to determine abnormality in these data to determine whether or not there is an abnormality. This data error detection method includes an abnormality detection circuit that outputs an abnormality detection signal to the data processing device that outputs the data. Embodiments of the invention will be described below with reference to the drawings.

図はこの発明の一実施例に従うデータ誤り検出方式の内
部構成を示したものである。図において、参照番号1、
2はデータ処理装置で、これらデータ処理装置1、2は
夫々中央処理装置4、バス4a1プロセス入力部5−1
・・・5−n1プロセス出力部6、プロセス入力部7、
並直列変換回路8、メモリ9、変調器10によつて構成
されている。
The figure shows the internal configuration of a data error detection system according to an embodiment of the present invention. In the figure, reference numbers 1,
2 is a data processing device, these data processing devices 1 and 2 are respectively central processing unit 4, bus 4a1 process input section 5-1
...5-n1 process output section 6, process input section 7,
It is composed of a parallel-to-serial conversion circuit 8, a memory 9, and a modulator 10.

前記プロセス入力部5−1・・・・・・5−nは、プロ
セス処理装置3の出力側及びバス4aを介してプロセス
出力部6、プロセス入力部7、並直列変換回路8、メモ
リ9、中央処理装置4と夫々接続されている。前記プロ
セス入力部5−1・・・ ・・・5−nは、プロセス処
理装置3から出力されるn個のデータD。・・・・・・
・Dnを夫々別個に取り込み、バス4aを介して前述し
た各種機器類に出力する。中央処理装置4は、バス4a
を介してプロセス入力部5−1・・・・・・・5−nを
始めとする各種機器類から与えられる情報を取り込み、
該情報に基づいて所定の演算処理を施した後バス4aを
介して前記各種機器類に出力する。前記中央処理装置4
は、バス4aを介して異常検出回路11から後述するよ
うなデータ異常有りとの判定情報が与えられると、プロ
セス入力部5−1・・・5−nを介してメモリ9に与え
られたデータD。・・・・・・・Dnの中から該当する
データを読み出してこれを廃棄する。メモリ9は制御プ
ログラム等を内蔵し、又必要データを記憶する。メモリ
9に記憶されるデータとしては、例えば前記プロセス入
力部5−1・・・ ・・・5−nを介してプロセス処理
装置3から夫々与えられるn個のデータD。・・・・・
Dn及び前記プロセス入力部5−1・・・ ・・・5一
n自体に異常があるか否かを判定するために個々のプロ
セス入力部5−1・・・・・・・5−n毎に設定されて
いる異常判定用基準データなどがある。プロセス出力部
6の入力側はバス4aを介して前記プロセス入力部5−
1・・・ ・・・5−nと夫々接続されているとともに
、その出力側は異常検出回路11の入力側と接続されて
いる。前記プロセス出力部6はプロセス入力部5−1・
・・ ・・・5−nから順次出力されるデータD。・・
・・・・・Dnを遂次取り込んでこれを異常検出回路1
1に出力する。プロセス入力部7は、その入力側が前記
異常検出回路11の出力側と、又その出力側は前述した
バス4aと夫々接続されている。前記プロセス入力部7
は、異常検出回路11から出力される信号を受けてこれ
をバス4aを介して中央処理装置4に出力するように構
成されている。並直列変換回路8は、その入力側が前記
バス4aと、又その出力側が変調器10の入力側と夫々
接続されており、バス4aを介して与えられる信号デー
タを並列/直列変換して出力する回路である。変調器1
0は、前記直列に変換された信号データを受けてこれを
変調して出力する。
The process input sections 5-1...5-n are connected to a process output section 6, a process input section 7, a parallel-to-serial conversion circuit 8, a memory 9, They are respectively connected to the central processing unit 4. The process input section 5-1...5-n receives n pieces of data D output from the process processing device 3.・・・・・・
- Dn is taken in separately and outputted to the various devices mentioned above via the bus 4a. The central processing unit 4 is connected to the bus 4a.
It takes in information given from various devices including process input parts 5-1...5-n through
After performing predetermined arithmetic processing based on the information, the information is output to the various devices via the bus 4a. The central processing unit 4
When the abnormality detection circuit 11 receives judgment information indicating that there is a data abnormality as described later through the bus 4a, the data applied to the memory 9 through the process input sections 5-1...5-n D. ... Read out the corresponding data from Dn and discard it. The memory 9 contains control programs and the like, and also stores necessary data. As the data stored in the memory 9, for example, n pieces of data D respectively provided from the process processing device 3 via the process input units 5-1, . . . , 5-n.・・・・・・
Dn and each process input section 5-1...5-n to determine whether there is an abnormality in the process input section 5-1...5-n itself. There is standard data for abnormality determination that is set as follows. The input side of the process output section 6 is connected to the process input section 5- via the bus 4a.
1... 5-n, and the output side thereof is connected to the input side of the abnormality detection circuit 11. The process output section 6 includes a process input section 5-1.
...Data D sequentially output from 5-n.・・・
....Dn is taken in successively and this is sent to the abnormality detection circuit 1.
Output to 1. The process input section 7 has its input side connected to the output side of the abnormality detection circuit 11, and its output side connected to the aforementioned bus 4a. The process input section 7
is configured to receive a signal output from the abnormality detection circuit 11 and output it to the central processing unit 4 via the bus 4a. The parallel-to-serial conversion circuit 8 has its input side connected to the bus 4a and its output side connected to the input side of the modulator 10, and converts the signal data given via the bus 4a into parallel/serial data and outputs the result. It is a circuit. Modulator 1
0 receives the serially converted signal data, modulates it, and outputs it.

スイッチ12は図のごとくデータ処理装置1,2と回線
接続装置13との間に配設されており、前記各々のデー
タ処理装置1,2と回線接続装置13とを夫々別個に接
続するようになつている。前記スイッチ12は、通常図
示のごとくデータ処理装置1と回線接続装置13とを接
続しており、データ処理装置1から出力されるデータの
みを該回線接続装置13に送出するように構成されてい
る。前記回線接続装置13は、回線13aを介して前述
したものとは別のデータ処理装置(図示しない)の回線
接続装置(図示しない)と接続されている。前記回線接
続装置13は、データ処理装置1から出力される所定の
信号に基づいてスイッチ12を切換えるものである。異
常検出回路11は前述したように、その入力側がデータ
処理装置1,2に個々に設けられているプロセス出力部
6と接続されているとともに、その出力側は前記データ
処理装置1,2に個々に設けられているプロセス入力部
と接続されている。
As shown in the figure, the switch 12 is disposed between the data processing devices 1, 2 and the line connection device 13, and is configured to connect each of the data processing devices 1, 2 and the line connection device 13 separately. It's summery. The switch 12 normally connects the data processing device 1 and the line connection device 13 as shown, and is configured to send only the data output from the data processing device 1 to the line connection device 13. . The line connection device 13 is connected via a line 13a to a line connection device (not shown) of a data processing device (not shown) that is different from the one described above. The line connection device 13 switches the switch 12 based on a predetermined signal output from the data processing device 1. As described above, the abnormality detection circuit 11 has its input side connected to the process output section 6 provided individually in the data processing apparatuses 1 and 2, and its output side connected to the process output section 6 provided individually in the data processing apparatuses 1 and 2. It is connected to the process input section provided in the

前記異常検出回路11は、例えば記憶回路(図示しない
)と判定回路(図示しない)とで構成されている。前記
記憶回路には、プロセス処理装置3から出力されるn個
のデータD。・・・・・・・Dnが正常であるか否かを
チェックするための基準デ・一タが上記個々のデータ毎
に設定され記憶されている。前記判定回路は、各々のプ
ロセス出力部6から夫々所定のタイミングに従つて遂次
入力される前記データD。・・・・・・・Dnと前記基
準データとを個々に比較して該入力データの異常の有無
を判定.し、その判定結果をプロセス入力部7、バス4
aを介して遂次前記中央処理装置4に出力するように構
成されている。以下に上述したごとき構成のデータ誤り
検出方式の動作について説明する。
The abnormality detection circuit 11 includes, for example, a memory circuit (not shown) and a determination circuit (not shown). The storage circuit stores n pieces of data D output from the process processing device 3. . . . Standard data for checking whether or not Dn is normal is set and stored for each of the above-mentioned individual data. The determination circuit receives the data D sequentially inputted from each process output section 6 at predetermined timings.・・・・・・Compare Dn and the reference data individually to determine whether there is an abnormality in the input data. Then, the judgment result is sent to the process input section 7 and the bus 4.
It is configured to sequentially output the data to the central processing unit 4 via a. The operation of the data error detection system configured as described above will be explained below.

通常各中央処理装置J4はプロセス入力部5−1・・・
・・・5−n1バス4aを介して入力されるデータD
。−Dnを読み込み、必要とするデータ処理を行つた後
、並直列変換回路8、変調器10、スイッチ12、回線
接続装置13を介して回線13aに送出している。前述
したようにスイッチ12は通常図示のごとくデータ処理
装置1側を閉成しており、該処理装置1から出力される
データのみを送出するようにしている。このような動作
と並行して、異常検出回路11は、各々のデータ処理装
置1,2のプロセス入力部5−1・・・ ・・・5−n
1バス4a1プロセス出力部6を介して与えられるデー
タD。・・・・・・・Dnを所定のタイミングに従つて
遂次取り込み、該取り込んだ入力データと基準データと
を個々に比較して入力データの異常の有無を判定し、判
定結果を中央処理装置4に出力する。上記判定の結果、
例えばデータ処理装置1から入力されたデータDO・・
・・・・・Dnのうちいずれかに異常があることを示す
信号が異常検出回路11から出力されると、データ処理
装置1側の中央処理装置4はメモリ9から該当するデー
タと個々のプロセス入力部5一1・・・ ・・・5−n
毎に設定されている異常判定用基準データとを読み出し
てこれを比較するとともに前記異常が認められた入力デ
ータを廃棄する。又、前記比較の結果入力データに異常
が生じた原,因が該データに対応するプロセス入力部の
異常にあると認識したときには、並直列変換回路8、変
調器10、スイッチ12を介して回線接続装置13に切
換指令信号を出力し、前記スイッチ12をデータ処理装
置1側からデータ処理装置2側に切,り換える。以後は
、データ処理装置2から回線13aにデータの送出が行
なわれることとなる。なお、上述したこの発明に従う一
実施例では、説明の都合上同一構造のデータ処理装置を
プロセス処理装置に対して2個並列接続したものを挙げ
たが、これを3個以上前記プロセス処理装置に対して並
列接続したものであつても差支えなく、前記実施例と同
様の効果を奏するものである。以上説明したようにこの
発明によれば、同一の”データ処理装置を少なくとも2
以上同一の外部データ送出装置に対して並列に接続する
とともに、異常と判定されたデータを出力した方のデー
タ処理装置に異常検出信号を出力する異常検出回路を設
けることとしたので、入力されたデータの誤り検出の処
理に要する時間を短縮することがてき、これによつて供
用範囲を拡大することが可能なデータ誤り検出方式を提
供することがてきる。
Normally, each central processing unit J4 has a process input section 5-1...
...Data D input via the 5-n1 bus 4a
. After reading -Dn and performing necessary data processing, it is sent to the line 13a via the parallel-to-serial conversion circuit 8, modulator 10, switch 12, and line connection device 13. As described above, the switch 12 normally closes the data processing device 1 side as shown in the figure, so that only the data output from the processing device 1 is sent out. In parallel with such an operation, the abnormality detection circuit 11 detects the process input units 5-1, . . . , 5-n of each data processing device 1, 2.
1 bus 4a1 data D given via process output unit 6.・・・・・・Dn is sequentially fetched according to a predetermined timing, the fetched input data and reference data are individually compared to determine whether or not there is an abnormality in the input data, and the determination result is sent to the central processing unit. Output to 4. As a result of the above judgment,
For example, data DO input from the data processing device 1...
...When a signal indicating that there is an abnormality in one of Dn is output from the abnormality detection circuit 11, the central processing unit 4 on the data processing device 1 side retrieves the corresponding data from the memory 9 and the individual processes. Input section 5-1...5-n
The data is read out and compared with the reference data for abnormality determination set for each case, and the input data in which the abnormality is found is discarded. Further, when it is recognized that the cause of the abnormality in the input data is due to an abnormality in the process input section corresponding to the data as a result of the comparison, the circuit is A switching command signal is output to the connection device 13, and the switch 12 is switched from the data processing device 1 side to the data processing device 2 side. Thereafter, data will be sent from the data processing device 2 to the line 13a. In the embodiment according to the present invention described above, for convenience of explanation, two data processing devices having the same structure are connected in parallel to the process processing device, but three or more data processing devices are connected to the process processing device in parallel. There is no problem even if they are connected in parallel to each other, and the same effect as in the above embodiment can be achieved. As explained above, according to the present invention, the same data processing device can be used for at least two
We decided to provide an abnormality detection circuit that is connected in parallel to the same external data sending device and outputs an abnormality detection signal to the data processing device that outputs the data determined to be abnormal. It is possible to provide a data error detection method that can shorten the time required for data error detection processing, and thereby expand the scope of use.

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

図はこの発明の一実施例に従うデータ誤り検出方式の内
部構成を示したブロック図である。 1・・・・・・データ処理装置、2・・・・・・データ
処理装置、4・・・・・・中央処理装置、5−1・・・
・・・5−n・・・プロセス入力部、6・・・・・・プ
ロセス出力部、7・・・プロセス入力部、11・・・・
・・異常検出回路。
The figure is a block diagram showing the internal configuration of a data error detection system according to an embodiment of the present invention. 1...Data processing device, 2...Data processing device, 4...Central processing unit, 5-1...
... 5-n... Process input section, 6... Process output section, 7... Process input section, 11...
...Anomaly detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 入力されたデータを読み込んでこれに所定のデータ
処理を施した後出力する同一のデータ処理装置を少なく
とも2以上同一の外部データ送出装置に対して並列に接
続するとともに、前記データ処理装置より夫々出力され
るデータとこれらデータの異常を判定するために予め設
定されている基準データとを比較して異常の有無を判定
し、異常と判定されたデータを出力した方のデータ処理
装置に異常検出信号を出力する異常検出回路を設けたこ
とを特徴とするデータ誤り検出方式。
1 At least two or more identical data processing devices that read input data, perform predetermined data processing on it, and then output the data are connected in parallel to the same external data transmission device, and each of the data processing devices The output data is compared with standard data set in advance to determine abnormalities in these data, the presence or absence of an abnormality is determined, and an abnormality is detected in the data processing device that outputs the data determined to be abnormal. A data error detection method characterized by providing an abnormality detection circuit that outputs a signal.
JP54144625A 1979-11-07 1979-11-07 Data error detection method Expired JPS6051136B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54144625A JPS6051136B2 (en) 1979-11-07 1979-11-07 Data error detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54144625A JPS6051136B2 (en) 1979-11-07 1979-11-07 Data error detection method

Publications (2)

Publication Number Publication Date
JPS5667458A JPS5667458A (en) 1981-06-06
JPS6051136B2 true JPS6051136B2 (en) 1985-11-12

Family

ID=15366380

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54144625A Expired JPS6051136B2 (en) 1979-11-07 1979-11-07 Data error detection method

Country Status (1)

Country Link
JP (1) JPS6051136B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009060953A1 (en) * 2007-11-07 2009-05-14 Mitsubishi Electric Corporation Safety control device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6312602Y2 (en) * 1981-06-17 1988-04-11
JP4550299B2 (en) * 2001-02-15 2010-09-22 東日本旅客鉄道株式会社 Multiplex transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009060953A1 (en) * 2007-11-07 2009-05-14 Mitsubishi Electric Corporation Safety control device

Also Published As

Publication number Publication date
JPS5667458A (en) 1981-06-06

Similar Documents

Publication Publication Date Title
US4639917A (en) Fault determining apparatus for data transmission system
JPS60144851A (en) Channel controller
US4926425A (en) System for testing digital circuits
JPS6051136B2 (en) Data error detection method
JPS62293441A (en) Data outputting system
JP3702605B2 (en) Transmission system having trigger function and time interval measuring method of input / output signal thereof
JPH0264745A (en) Interface controller
JP2513121B2 (en) Transmission device for serial bus
JPH05204692A (en) Failure detecting/separating system for information processor
JP2645021B2 (en) Bus abnormality inspection system
JP2954027B2 (en) Time division multiplex relay system
JP2704062B2 (en) Information processing device
JPS60167547A (en) Signal transmitter
JPH09311825A (en) Rom monitoring circuit
JPH06332733A (en) Fault detecting device
JPS6226927A (en) Error check system of analog-digital conversion circuit
JPH04365156A (en) Data transmission error detection circuit
JPH05145602A (en) Data transmitter
JPS60189349A (en) data transmission equipment
JPH07248882A (en) Analog input processing device
JPS6027054B2 (en) Input/output control method
JPS63208964A (en) Bus competition detecting system
JPH03126149A (en) Bus system diagnostic system
JPH0377546B2 (en)
JPH04245748A (en) Control congestion detecting device for transmission line