JP5906145B2 - Transmission device, transmission system, and self-diagnosis method thereof - Google Patents

Transmission device, transmission system, and self-diagnosis method thereof Download PDF

Info

Publication number
JP5906145B2
JP5906145B2 JP2012146143A JP2012146143A JP5906145B2 JP 5906145 B2 JP5906145 B2 JP 5906145B2 JP 2012146143 A JP2012146143 A JP 2012146143A JP 2012146143 A JP2012146143 A JP 2012146143A JP 5906145 B2 JP5906145 B2 JP 5906145B2
Authority
JP
Japan
Prior art keywords
transmission
data
error detection
detection code
transmitted
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 - Fee Related
Application number
JP2012146143A
Other languages
Japanese (ja)
Other versions
JP2014011591A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2012146143A priority Critical patent/JP5906145B2/en
Publication of JP2014011591A publication Critical patent/JP2014011591A/en
Application granted granted Critical
Publication of JP5906145B2 publication Critical patent/JP5906145B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明の実施形態は、伝送装置、伝送システム、及びその自己診断方法に関する。   Embodiments described herein relate generally to a transmission apparatus, a transmission system, and a self-diagnosis method thereof.

近年国際標準として、装置の製造者および供給者に対し、機能安全規格が国際電気標準化会議の規格IEC61508「電気・電子・プログラマブル電子安全関連系の機能安全」として定められている。さらに、特定の産業用機能安全システムにおいては、特定の用途に合わせた安全規格が定められている。   In recent years, as an international standard, functional safety standards have been established as standard IEC 61508 “Functional safety of electrical / electronic / programmable electronic safety related systems” of the International Electrotechnical Commission for equipment manufacturers and suppliers. Furthermore, in a specific industrial functional safety system, a safety standard for a specific application is defined.

例えば、安全関連系のデータを伝送するための伝送システムについては、国際標準規格IEC61784-3が定められている。   For example, an international standard IEC61784-3 is defined for a transmission system for transmitting safety-related data.

これらの規格では、システムの設計、保守、廃棄に至るライフサイクルにおける安全性を評価し、リスク軽減の要求レベルである安全度水準(SIL、Safety Integrity Level)を定量的な評価尺度として定めている。   These standards evaluate safety in the life cycle from system design, maintenance, and disposal, and define the safety integrity level (SIL, Safety Integrity Level), which is a required level of risk reduction, as a quantitative evaluation measure. .

このような背景から、特に、高い安全度水準を求められる安全計装システムにおいては、安全関連系のデータ伝送に関するデータのエラーを確実に検出する必要がある。   Against this background, in particular, in a safety instrumented system that requires a high safety level, it is necessary to reliably detect data errors related to safety-related data transmission.

例えば、冗長化処理装置から伝送装置を介して伝送される演算データについて、受信側装置で伝送時の伝送誤り検出を行うとともに、受信側装置で冗長化処理装置の各処理系の符号化データを確認する手段を設けることで、冗長化処理装置で生成された冗長系毎の演算データの誤りと、冗長系毎の故障診断とを可能とした冗長化制御システムの演算データの伝送方法がある((例えば、特許文献1参照。)。   For example, for arithmetic data transmitted from the redundancy processing device via the transmission device, the reception side device performs transmission error detection at the time of transmission, and the reception side device converts the encoded data of each processing system of the redundancy processing device. By providing a means for checking, there is a method for transmitting operation data of a redundant control system that enables an error in operation data for each redundant system generated by the redundancy processing device and a failure diagnosis for each redundant system ( (For example, refer to Patent Document 1).

特開2012−43230号公報JP 2012-43230 A

上述した特許文献1は、冗長化処理装置からネットワークを介して伝送される演算データについて、冗長化処理装置で生成された冗長系毎の演算データの誤りと、冗長系毎の故障診断とを受信側装置で検出が可能とした演算データの伝送方法である。   Patent Document 1 described above receives an error in operation data for each redundant system generated by the redundancy processing apparatus and a fault diagnosis for each redundant system for the operation data transmitted from the redundancy processing apparatus via the network. This is a calculation data transmission method that can be detected by the side device.

しかし、この伝送方法では、故障を判定する受信側装置の故障を診断することが出来ない。また、送信側、受信側の伝送装置が単独で伝送データの異常を検出することが出来ない問題がある。   However, with this transmission method, it is impossible to diagnose the failure of the receiving side device that determines the failure. In addition, there is a problem that the transmission apparatus on the transmission side and the reception side cannot detect abnormality of the transmission data alone.

したがって、送信する同じデータに対して送信側と受信側で伝送系の故障を確認ができないので、信頼性に欠ける問題がある。   Therefore, a failure in the transmission system cannot be confirmed on the transmission side and the reception side for the same data to be transmitted.

また、異なる2つの誤り検出符号を生成する生成部が必要で、データの伝送までの処理時間が増大する恐れもある。   In addition, a generation unit that generates two different error detection codes is required, which may increase the processing time until data transmission.

本発明は上述した問題点を解決するためになされたものであり、ネットワークに接続された夫々の伝送装置が、送信するデータの異常を送信側と受信側で、同じデータに対して相互に自己診断可能とした伝送装置、伝送システム、及びその自己診断方法を提供することを目的とする。   The present invention has been made to solve the above-described problems, and each transmission device connected to a network causes an abnormality in data to be transmitted to the same data on the transmission side and the reception side. It is an object of the present invention to provide a transmission device, a transmission system, and a self-diagnosis method thereof that can be diagnosed.

上記目的を達成するために、本実施形態の伝送システムは、複数の異機種伝送装置間で通信が可能なパケット交換方式のネットワークでのデータの伝送システムであって、前記伝送装置は、夫々が伝送するデータに対して異なる誤り検出符号を生成して伝送データとし、この誤り検出符号からシステムの故障を自己診断し、前記パケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダと、送信するデータと、当該データに対して自身の伝送装置で生成する予め設定される第1の誤り検出符号及び当該データの宛先の伝送装置で生成する予め設定される第2の誤り検出符号とを記述し、夫々の前記伝送装置は、自身の伝送装置から送信するデータを記憶する記憶部から前記データを抽出し、当該データに対して、前記第1の誤り検出符号を生成する符号化部と、前記記憶部から前記データと、前記第1の誤り検出符号とを抽出し、前記フォーマットに基づいて1つまたは、複数のフレームデータとして生成する送信処理部と、受信した前記伝送データが送信した前記伝送データの場合、前記フォーマットに基づいてデータと、前記第1の誤り検出符号と、前記第2の誤り検出符号と、に分割し、または、受信した伝送データが送信した前記伝送データで無く、前記第2の誤り検出符号が付随されていない場合、受信した前記伝送データのデータ、第1の誤り検出符号に対して第2の誤り検出符号を生成して付随させる受信処理部と、前記伝送データに付随させて宛先に送信した前記第1の誤り検出符号と、その応答として当該宛先から受信した前記伝送データに付随する前記第1の誤り検出符号とを比較し、一致しているか否かを判定する比較部と、前記送信処理部で生成された前記伝送データを、前記ネットワークを介して送信、または、前記ネットワークを介して受信した前記伝送データを前記受信処理部に送る伝送部と、を備え、前記第1の誤り検出符号を生成する符号化部を備える前記伝送装置を第1の伝送装置とし、前記第2の誤り検出符号を生成する符号化部を備える前記伝送装置を第2の伝送装置とし、前記第1の伝送装置から、前記第2の伝送装置に前記伝送データを送信する場合、前記第1の伝送装置は、前記伝送部から前記伝送データを宛先となる第2の伝送装置に送信し、前記第2の伝送装置は、前記伝送データが、自身から送信したデータでなく、自身生成する第2の誤り検出訂正符号がない場合、受信した前記伝送データに含まれるデータと第1の誤り検出符号とから、更に、第2の誤り検出符号を生成し、当該伝送データに付随させて送り先に返信し、前記第1の伝送装置の前記受信処理部は、返信された当該伝送データを受信し、自身から送信した前記伝送データである場合、当該伝送データを前記比較部に送り、前記比較部は送信した前記第1の誤り検出符号と、返信された第1の誤り検出符号とを比較し、一致しているか否かを判定し、一致している場合、前記伝送部から受信した前記伝送データを宛先に再送し、前記第2の伝送装置は、この再送された伝送データを受信し、前記比較部で、自身で生成し付随させた第2の誤り検出データと、再送された前記伝送データに付随された第2の誤り検出データとを比較し、一致しているか否かを判定し、一致している場合、受信した前記伝送データが正常であると判定し、夫々の伝送装置が異なる誤り検出符号を生成する符号化部を備え、伝送データに付随さる自身が宛先に送信した誤り検出符号と、宛先から返信された誤り検出符号を比較することにより、伝送データの異常の有無を相互の伝送装置で自己診断するようにしたことを特徴とする。   In order to achieve the above object, the transmission system of the present embodiment is a data transmission system in a packet-switched network capable of communication between a plurality of different types of transmission apparatuses, and each of the transmission apparatuses includes: A different error detection code is generated for the data to be transmitted and used as transmission data. A system failure is self-diagnosed from the error detection code, and the format of the packet includes at least a header describing a destination and a source, and a transmission And a preset first error detection code generated by the transmission device for the data and a preset second error detection code generated by the destination transmission device for the data. Each of the transmission devices extracts the data from a storage unit that stores data to be transmitted from its transmission device, and the first data is extracted from the storage unit. A transmission processing unit that extracts the data and the first error detection code from the storage unit and generates one or a plurality of frame data based on the format And when the received transmission data is the transmitted data, the data is divided into data, the first error detection code, and the second error detection code based on the format, or received. If the transmission data is not the transmitted data and is not accompanied by the second error detection code, a second error detection code is generated for the received transmission data and the first error detection code. And attached to the transmission data received from the destination as a response to the first error detection code transmitted to the destination accompanying the transmission data. The first error detection code to be compared, a comparison unit for determining whether or not they match, and the transmission data generated by the transmission processing unit is transmitted via the network, or the network A transmission unit that sends the transmission data received via the transmission processing unit to the reception processing unit, the transmission device including the encoding unit that generates the first error detection code as the first transmission device, When the transmission device including an encoding unit that generates two error detection codes is a second transmission device and the transmission data is transmitted from the first transmission device to the second transmission device, the first transmission device The transmission device transmits the transmission data from the transmission unit to a second transmission device that is a destination, and the second transmission device generates the transmission data itself, not the data transmitted from itself. Error detection revision 2 If there is no positive code, a second error detection code is further generated from the data included in the received transmission data and the first error detection code, and is sent back to the destination along with the transmission data, The reception processing unit of the first transmission device receives the transmitted transmission data that is returned, and when the transmission data is transmitted from itself, transmits the transmission data to the comparison unit, and the comparison unit transmits the transmission data. The first error detection code and the returned first error detection code are compared to determine whether or not they match, and if they match, the transmission data received from the transmission unit is set as the destination The second transmission apparatus receives the retransmitted transmission data, and the comparison unit attaches the second error detection data generated and attached by itself to the retransmitted transmission data. Second error detection data and Comparing and determining whether or not they match, and if they match, it is determined that the received transmission data is normal, and each transmission device includes a coding unit that generates different error detection codes, By comparing the error detection code sent to the destination by the transmission data itself with the error detection code returned from the destination, the mutual transmission device self-diagnosed whether there is an abnormality in the transmission data. Features.

上記目的を達成するために、本実施形態の伝送装置は、複数の異機種伝送装置間で通信が可能なパケット交換方式のネットワークでのデータの伝送システムの伝送装置であって、前記伝送装置は、夫々が伝送するデータに対して異なる誤り検出符号を生成して伝送データとし、この誤り検出符号からシステムの故障を自己診断し、前記伝送データは、前記パケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダと、送信するデータと、当該データに対して自身の伝送装置で生成する予め設定される第1の誤り検出符号及び当該データの宛先の伝送装置で生成する予め設定される第2の誤り検出符号とを記述し、夫々の前記伝送装置は、自身の伝送装置から送信するデータを記憶する記憶部から前記データを抽出し、当該データに対して、前記第1の誤り検出符号を生成する符号化部と、前記記憶部から前記データと、前記第1の誤り検出符号とを抽出し、前記フォーマットに基づいて1つまたは、複数のフレームデータとして生成する送信処理部と、受信した前記伝送データが送信した前記伝送データの場合、前記フォーマットに基づいてデータと、前記第1の誤り検出符号と、前記第2の誤り検出符号と、に分割し、または、受信した伝送データが送信した前記伝送データで無く、前記第2の誤り検出符号が付随されていない場合、受信した前記伝送データのデータ、第1の誤り検出符号に対して第2の誤り検出符号を生成して付随させる受信処理部と、前記伝送データに付随させて宛先に送信した前記第1の誤り検出符号と、その応答として当該宛先から受信した前記伝送データに付随する前記第1の誤り検出符号とを比較し、一致しているか否かを判定する比較部と、前記送信処理部で生成された前記伝送データを、前記ネットワークを介して送信、または、前記ネットワークを介して受信した前記伝送データを前記受信処理部に送る伝送部と、を備え、夫々の伝送装置が異なる誤り検出符号を生成する符号化部を備え、伝送データに付随さる自身が宛先に送信した誤り検出符号と、宛先から返信された誤り検出符号を比較することにより、伝送データの異常の有無を相互の伝送装置で自己診断するようにしたことを特徴とする。   In order to achieve the above object, a transmission apparatus according to the present embodiment is a transmission apparatus for a data transmission system in a packet-switched network capable of communication between a plurality of different types of transmission apparatuses, and the transmission apparatus includes: A different error detection code is generated for each data to be transmitted and used as transmission data. From this error detection code, a system failure is self-diagnosed. The transmission data has at least a destination and a transmission format. A header describing the original, data to be transmitted, a first error detection code that is set in advance by the transmission apparatus for the data, and a preset first that is generated by the transmission apparatus that is the destination of the data 2, each of the transmission devices extracts the data from a storage unit that stores data to be transmitted from its own transmission device, and The data is extracted from the storage unit and the data and the first error detection code, and one or more are extracted based on the format. A transmission processor for generating the frame data, and the transmission data received by the received transmission data, the data based on the format, the first error detection code, the second error detection code, Or the received transmission data is not the transmitted transmission data and is not accompanied by the second error detection code, the received transmission data data, the first error detection code A reception processing unit that generates and accompanies the second error detection code, the first error detection code that is transmitted to the destination along with the transmission data, and receives a response from the destination as the response. Comparing the first error detection code associated with the transmitted data and determining whether or not they match, and transmitting the transmission data generated by the transmission processing unit via the network A transmission unit that transmits or transmits the transmission data received via the network to the reception processing unit, and each transmission device includes an encoding unit that generates different error detection codes, and is attached to the transmission data. By comparing the error detection code transmitted to the destination with the error detection code returned from the destination, the presence or absence of abnormality in the transmission data is self-diagnosed by the mutual transmission devices.

上記目的を達成するために、本実施形態の伝送システムの自己診断方法は、複数の異機種伝送装置間で通信が可能なパケット交換方式のネットワークでのデータの伝送システムの自己診断方法であって、前記伝送装置は、夫々が伝送するデータに対して異なる誤り検出符号を生成して伝送データとし、この誤り検出符号からシステムの故障を自己診断し、前記パケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダと、送信するデータと、当該データに対して自身の伝送装置で生成する予め設定される第1の誤り検出符号及び当該データの宛先の伝送装置で生成する予め設定される第2の誤り検出符号とを記述し、前記第1の誤り検出符号を生成する符号化部を備える前記伝送装置を第1の伝送装置とし、前記第2の誤り検出符号を生成する符号化部を備える前記伝送装置を第2の伝送装置とし、前記第1の伝送装置から、前記第2の伝送装置に前記伝送データを送信する場合、前記伝送データを送信する第1の伝送装置は、宛先となる第2の伝送装置に前記伝送データを送信し、前記第2の伝送装置は、前記伝送データが、自身から送信したデータでなく、自身で生成する第1の誤り検出訂正符号がない場合、受信した前記伝送データに含まれるデータと第1の誤り検出符号とから、更に、第2の誤り検出符号を生成し、前記伝送データに付随させて送り先に返信し、前記第1の伝送装置は、前記宛先からの返信された伝送データを受信し、自身から送信した伝送データの場合、当該伝送データを比較し、送信した前記第1の誤り検出符号と、宛先から返信された第1の誤り検出符号とが一致しているか否かを判定し、一致している場合、受信した当該伝送データを宛先に再送し、前記第2の伝送装置は、再送された伝送データを受信し、自身で生成し付随させた第2の誤り検出データと、再送された当該伝送データに付随された第2の誤り検出データとを比較し、一致しているか否かを判定し、一致している場合、受信した前記伝送データが正常であると判定し、夫々の伝送装置が異なる誤り検出符号を生成する符号化部を備え、伝送データに付随さる自身が宛先に送信した誤り検出符号と、宛先から返信された誤り検出符号とを比較することにより、伝送データの異常の有無を相互の伝送装置で自己診断するようにしたことを特徴とする。   In order to achieve the above object, the transmission system self-diagnosis method of this embodiment is a self-diagnosis method of a data transmission system in a packet-switched network capable of communication between a plurality of different types of transmission devices. The transmission apparatus generates different error detection codes for the data to be transmitted and uses them as transmission data, and self-diagnose a system failure from the error detection codes, and the format of the packet includes at least a destination and a transmission A header describing the original, data to be transmitted, a first error detection code that is set in advance by the transmission apparatus for the data, and a preset first that is generated by the transmission apparatus that is the destination of the data 2, the transmission device including an encoding unit that generates the first error detection code is defined as the first transmission device, and the second error is detected. When the transmission device including an encoding unit that generates an output code is a second transmission device, and the transmission data is transmitted from the first transmission device to the second transmission device, the transmission data is transmitted. The first transmission device transmits the transmission data to a second transmission device as a destination, and the second transmission device generates the transmission data by itself, not the data transmitted from itself. If there is no error detection / correction code, a second error detection code is further generated from the data included in the received transmission data and the first error detection code, and is returned to the destination along with the transmission data. The first transmission device receives the transmission data returned from the destination and, in the case of transmission data transmitted from itself, compares the transmission data and transmits the transmitted first error detection code; Reply from destination Whether the first error detection code matches, and if it matches, the received transmission data is retransmitted to the destination, and the second transmission device transmits the retransmitted transmission data to the destination. The second error detection data received, generated and attached by itself, is compared with the second error detection data attached to the retransmitted transmission data to determine whether or not they match. If the transmission data is received, the received transmission data is determined to be normal, and each transmission device includes an encoding unit that generates a different error detection code, and the error detection code that is attached to the transmission data is transmitted to the destination. And the error detection code returned from the destination, the transmission apparatus is self-diagnosed by the mutual transmission apparatus for the presence or absence of abnormality of the transmission data.

第1の実施形態の、伝送システム、伝送装置の構成図。1 is a configuration diagram of a transmission system and a transmission apparatus according to a first embodiment. 第1の実施形態の伝送データのフォーマット。The format of the transmission data of 1st Embodiment. 第1の実施形態の伝送方法を説明するフローチャート。The flowchart explaining the transmission method of 1st Embodiment. 第1の実施形態の伝送方法を説明するタイムチャート。The time chart explaining the transmission method of 1st Embodiment. 第1の実施形態の受信側の処理方法を説明するフローチャート。The flowchart explaining the processing method of the receiving side of 1st Embodiment. 第2の実施形態の伝送装置、伝送システムの構成図。The block diagram of the transmission apparatus of 2nd Embodiment, and a transmission system. 第7の実施形態の伝送方法を説明するフローチャート。The flowchart explaining the transmission method of 7th Embodiment.

以下、本発明の実施形態について図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(第1の実施形態)
図1乃至図5を参照して説明する。第1の実施形態の伝送システムの構成を図1に示す。第1の実施形態の伝送システム100の構成は、伝送路50に接続される複数の伝送装置20、伝送装置30、伝送装置40、及び伝送装置n0で構成される。
(First embodiment)
This will be described with reference to FIGS. The configuration of the transmission system of the first embodiment is shown in FIG. The configuration of the transmission system 100 of the first embodiment includes a plurality of transmission devices 20, a transmission device 30, a transmission device 40, and a transmission device n0 connected to the transmission path 50.

夫々の伝送装置は、伝送するデータに対して夫々が異なる誤り検出符号を生成してデータに付随させて伝送データとし、受信側の伝送装置でも受信した伝送データに対して、さらに誤り検出符号を生成して付随させて返信し、送信側、受信側の夫々で送信した誤り検出符号と受信した誤り検出符号とを比較して、伝送データの異常を相互で自己診断する伝送システムである。   Each transmission device generates a different error detection code for the data to be transmitted and attaches it to the data as transmission data. The transmission device on the receiving side further adds an error detection code to the received transmission data. This is a transmission system that generates and accompanies it, compares the error detection code transmitted on each of the transmission side and the reception side with the received error detection code, and self-diagnoses transmission data abnormalities.

この伝送システム100は、伝送路50を介してネットワークを形成する。このネットワークは、異機種の伝送装置間での通信が可能で、データをパケット交換方式で通信することが可能であれば良く、例えば、LAN(Local Area Network)、CAN(Controller Area Network)、FL−net等の各種のネットワークが適用可能である。   The transmission system 100 forms a network via the transmission path 50. This network only needs to be able to communicate between different types of transmission apparatuses and to communicate data by a packet switching method. For example, LAN (Local Area Network), CAN (Controller Area Network), FL Various networks such as -net are applicable.

一般に、プラントの安全計装システムにおいては、データは、センサからの入力信号やアクチュエータを制御する制御情報などが相当し、このデータが伝送データとして生成され、LANを介して送信側から受信側に伝送される。   In general, in a plant safety instrumentation system, data corresponds to input signals from sensors, control information for controlling actuators, etc., and this data is generated as transmission data from the transmission side to the reception side via the LAN. Is transmitted.

図2に示すように、この伝送データのパケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダ(CH)と、送信するデータ(D)と、伝送するデータに対して送信側(送り元)の伝送装置で生成する予め設定される第1の誤り検出符号(CA)及び当該データの受信側(宛先)の伝送装置で生成する予め設定される第2の誤り検出符号(CB)とが記述される。   As shown in FIG. 2, the format of the transmission data packet includes at least a header (CH) describing a destination and a transmission source, data to be transmitted (D), and transmission side (transmission source). The first error detection code (CA) set in advance by the transmission apparatus in FIG. 4 and the second error detection code (CB) set in advance by the transmission apparatus on the receiving side (destination) of the data. Described.

さらに、タイムスタンプ、データの種類など伝送データとして必要な情報を記述するようにしても良い。   Furthermore, information necessary for transmission data such as a time stamp and data type may be described.

また、誤り検出符号としては、例えば、データの複数ビットの誤りを高い精度で検出可能な巡回符号(CRC)、パリティ(Parity)、チェックサム(Check sum)、ハッシュ関数(Hash Function)などを用いてもよい。   In addition, as an error detection code, for example, a cyclic code (CRC), a parity (Parity), a check sum (Check sum), a hash function (Hash Function) or the like that can detect an error of a plurality of bits of data with high accuracy is used. May be.

次に、各部の構成について説明する。まず、図1に示すように、伝送装置20は、符号化部21、送信処理部22、受信処理部23、伝送部24、比較部25、及び記憶部26を備える。   Next, the configuration of each unit will be described. First, as illustrated in FIG. 1, the transmission device 20 includes an encoding unit 21, a transmission processing unit 22, a reception processing unit 23, a transmission unit 24, a comparison unit 25, and a storage unit 26.

符号化部21、送信処理部22、受信処理部23、比較部25、及び記憶部26は、内部バスで接続される構成でも良いし、夫々が相互間で接続される構成としても良い。   The encoding unit 21, the transmission processing unit 22, the reception processing unit 23, the comparison unit 25, and the storage unit 26 may be connected by an internal bus, or may be connected by each other.

また、伝送するデータは、予め記憶部26に記憶されているものとして説明するが、このデータは、図示しない伝送装置20の外に設けられる演算装置からこの記憶部26に記憶されるように構成されても良いし、演算装置の機能が伝送装置内に含まれる構成としても良い。   The data to be transmitted will be described as being stored in the storage unit 26 in advance, but this data is configured to be stored in the storage unit 26 from an arithmetic device provided outside the transmission device 20 (not shown). Alternatively, a configuration in which the function of the arithmetic device is included in the transmission device may be adopted.

夫々の伝送装置20は、同じ構成であるので伝送装置20の構成について説明し、他の伝送装置の説明を省略する。但し、後述する符号化部21の誤り検出符号を生成する演算ロジックは、夫々の伝送装置で異なるものを使用する。   Since each transmission device 20 has the same configuration, the configuration of the transmission device 20 will be described, and description of other transmission devices will be omitted. However, the arithmetic logic for generating an error detection code of the encoding unit 21 to be described later is different for each transmission apparatus.

以上の構成において伝送装置20は、自身の伝送装置20から送信するデータを記憶する記憶部26からデータを抽出し、このデータに対して符号化部21では第1の誤り検出符号を生成し、さらに送信処理部22では、記憶部26からデータと符号化部21で生成した第1の誤り検出符号とを抽出し、予め設定されるフォーマットに基づいて1つまたは、複数のフレームデータを生成し、伝送部24からこの伝送データを、例えば、宛先となる伝送装置30に送信する。   In the above configuration, the transmission device 20 extracts data from the storage unit 26 that stores data to be transmitted from its own transmission device 20, and the encoding unit 21 generates a first error detection code for this data, Further, the transmission processing unit 22 extracts the data and the first error detection code generated by the encoding unit 21 from the storage unit 26, and generates one or a plurality of frame data based on a preset format. Then, the transmission data is transmitted from the transmission unit 24 to, for example, the transmission device 30 serving as a destination.

符号化部21で実行する誤り検出符号の演算は、MPU(Micro Processor Unit)などの処理によりソフトウェア的に計算しても良いし、論理回路、FPGA(Flexible Programming Gate Array)、DSP(Digital Signal Processor)、専用のICなどによりハードウェア的に計算する構成としても良い。   The operation of the error detection code executed by the encoding unit 21 may be calculated by software by processing such as an MPU (Micro Processor Unit), a logic circuit, an FPGA (Flexible Programming Gate Array), a DSP (Digital Signal Processor). ), Or a hardware calculation using a dedicated IC or the like.

そして、宛先の伝送装置30から伝送装置20で受信した伝送データに対して、受信処理部23では、フォーマットに基づいてデータと、第1の誤り検出符号と、宛先の伝送装置30で付随された第2の誤り検出符号と、に分割する。そして、比較部25において、自身の伝送装置20から伝送データに付随させて宛先に送信した第1の誤り検出符号と、その応答として宛先から受信した伝送データについて分割した第1の誤り検出符号と、を比較し、一致しているか否かを判定し、一致していれば、受信した伝送データを伝送部24から宛先に再送する。   Then, for the transmission data received by the transmission device 20 from the destination transmission device 30, the reception processing unit 23 adds the data, the first error detection code, and the destination transmission device 30 based on the format. It divides | segments into a 2nd error detection code. Then, in the comparison unit 25, a first error detection code transmitted from the transmission apparatus 20 to the destination accompanying the transmission data, and a first error detection code obtained by dividing the transmission data received from the destination as a response, , And whether or not they match, and if they match, the received transmission data is retransmitted from the transmission unit 24 to the destination.

伝送部24は、送信処理部22で生成された伝送データを、ネットワーク50を介して送信、または、ネットワーク50を介して受信した伝送データを受信処理部23に送る。   The transmission unit 24 transmits the transmission data generated by the transmission processing unit 22 via the network 50 or sends the transmission data received via the network 50 to the reception processing unit 23.

次に、このように構成された伝送システム100のデータの伝送処理手順について図3及び図4のタイムチャートを参照して説明する。   Next, a data transmission processing procedure of the transmission system 100 configured as described above will be described with reference to time charts of FIGS.

ここでの説明は、送信側の伝送装置20から受信側の伝送装置30にデータを送信する場合について説明する。   In this description, a case where data is transmitted from the transmission device 20 on the transmission side to the transmission device 30 on the reception side will be described.

また、送信側の符号化部21で生成される誤り検出符号を符号A、受信側の符号化部31で生成される誤り検出符号を符号Bと記述し、これらの誤り検出符号が相手側から返信された場合の誤り検出符号は、夫々、符号A’、符号B’と記述することにする。   In addition, the error detection code generated by the transmission side encoding unit 21 is described as code A, the error detection code generated by the reception side encoding unit 31 is described as code B, and these error detection codes are transmitted from the partner side. The error detection codes when returned are described as code A ′ and code B ′, respectively.

また、自己診断は、1つの送信データに対して、送信側の伝送装置20と受信側の伝送装置30とで相互に診断するので、図4に示すように、送信側の伝送装置20から伝送データAを受信側に送信、次に、伝送装置30から伝送データBを送信側の伝送装置20に返信、さらに、伝送装置20から伝送装置30に伝送データBを送信する、合計3回の通信が必要となる。   In the self-diagnosis, the transmission device 20 on the transmission side and the transmission device 30 on the reception side mutually diagnose one transmission data, so that transmission is performed from the transmission device 20 on the transmission side as shown in FIG. Data A is transmitted to the receiving side, then transmission data B is returned from the transmission apparatus 30 to the transmission apparatus 20 on the transmission side, and transmission data B is transmitted from the transmission apparatus 20 to the transmission apparatus 30 for a total of three communications Is required.

図3において、先ず、送信側の伝送装置20では、符号化部21で送信するデータのヘッダ及びそのデータから予め設定される誤り検出符号Aを生成する(s1)。   In FIG. 3, first, the transmission apparatus 20 on the transmission side generates a preset error detection code A from the header of the data to be transmitted by the encoding unit 21 and the data (s1).

図3では、誤り検出符号Aは、符号Aと、また、図4では、ヘッダはH、データはD、誤り検出符号は、CAのように記述している。また、誤り検出符号Aを付随させて送信した伝送データは、伝送データA、誤り検出符号Bを付随させた伝送データは、伝送データBと記述している。   In FIG. 3, the error detection code A is described as code A, and in FIG. 4, the header is described as H, the data is D, and the error detection code is described as CA. The transmission data transmitted with the error detection code A is described as transmission data A, and the transmission data with the error detection code B is described as transmission data B.

次に、送信処理部22では、ヘッダ、データ、生成した誤り検出符号Aから伝送データAを生成し(s2)、生成した伝送データAを伝送部24から伝送装置30に送信する(s3)。   Next, the transmission processing unit 22 generates transmission data A from the header, data, and the generated error detection code A (s2), and transmits the generated transmission data A from the transmission unit 24 to the transmission device 30 (s3).

次に、送信された伝送データAを受信する受信待ち状態(s11)の伝送装置30は、伝送部24でこの伝送データAを受信し(s12)、受信処理部23では、この受信した伝送データAをヘッダ、データ、符号Aに分解する(s13)。   Next, the transmission device 30 in the reception waiting state (s11) that receives the transmitted transmission data A receives the transmission data A by the transmission unit 24 (s12), and the reception processing unit 23 receives the transmission data. A is decomposed into a header, data, and code A (s13).

次に、符号化部31では、受信した伝送データAに対して、誤り検出符号Bを生成し(s14)、さらに、送信処理部22では、受信処理部23で処理したヘッダ、データ、及び符号化部31で生成した符号Bから、設定されたフォーマットでの伝送データBを生成し(s15)、伝送部24から伝送装置20にこのデータを送信する。   Next, the encoding unit 31 generates an error detection code B for the received transmission data A (s14), and the transmission processing unit 22 further processes the header, data, and code processed by the reception processing unit 23. The transmission data B in the set format is generated from the code B generated by the conversion unit 31 (s15), and this data is transmitted from the transmission unit 24 to the transmission device 20.

すると、受信待ち状態の伝送装置20(s4)は、この伝送データBを受信し(s5)、受信処理部23で受信した伝送データBをヘッダ、データ、符号A、符号Bに分解する(s6)。   Then, the transmission device 20 (s4) waiting for reception receives the transmission data B (s5), and decomposes the transmission data B received by the reception processing unit 23 into a header, data, code A, and code B (s6). ).

さらに、符号化部21で、受信処理部23で分解したヘッダ、データ、に対して符号A’を生成する(s7)。   Further, the encoding unit 21 generates a code A 'for the header and data decomposed by the reception processing unit 23 (s7).

そして、比較部25では、符号化部21で送信時に生成した符号Aと、今回伝送データBから生成した、符号A’とを比較し、一致しているか否かを判定する(s8)。   Then, the comparison unit 25 compares the code A generated at the time of transmission by the encoding unit 21 with the code A ′ generated from the transmission data B this time, and determines whether or not they match (s8).

比較の結果、一致していれば、伝送データBを伝送装置30に送信する(s9)。   If they match as a result of the comparison, the transmission data B is transmitted to the transmission device 30 (s9).

次に、受信待ちの伝送装置30(s17)では、受信処理部23で受信した伝送データBについて、ヘッダ、データ、符号A、及び符号Bに分解し(s19)、さらに、符号化部31で分解したヘッダ、データ、符号Aから、符号B’を生成し(s20)、さらに、比較部25で、伝送装置30で付随させた符号Bと、今回生成した符号B’とを比較して(s21)、一致しているか否かを判定する(s22)。   Next, in the transmission device 30 (s17) waiting for reception, the transmission data B received by the reception processing unit 23 is decomposed into a header, data, code A, and code B (s19). A code B ′ is generated from the decomposed header, data, and code A (s20), and the comparison unit 25 compares the code B attached by the transmission device 30 with the code B ′ generated this time ( s21), it is determined whether or not they match (s22).

次に、図5を参照して、伝送データ受信時の受信処理部23の処理動作について説明する。夫々の受信処理部は、伝送データを受信すると、自身が送信した伝送データであるか否かを判定し(s101)、そうであれば、図3のステップ(s5)に移行する。そうでなければ、さらに、自身で誤り検出符号があるか否かを判定し(s102)、無ければ、図3のステップ(s12)に移行する。そうであれば、ステップ(s18)に移行する。   Next, the processing operation of the reception processing unit 23 when receiving transmission data will be described with reference to FIG. When receiving the transmission data, each reception processing unit determines whether or not the transmission data is transmitted by itself (s101). If so, the process proceeds to step (s5) in FIG. If not, it is further determined whether or not there is an error detection code by itself (s102), and if not, the process proceeds to step (s12) in FIG. If so, the process proceeds to step (s18).

以上説明したように、即ち、伝送装置20から送信した伝送データAの符号Aと、返信された伝送データBから生成した符号A’とを比較し、また、伝送装置30は、送信した伝送データBの符号Bと、返信された伝送データB’とを比較し、夫々が一致した場合に送信された伝送データAのデータは正常であるとして使用する。   As described above, that is, the code A of the transmission data A transmitted from the transmission apparatus 20 is compared with the code A ′ generated from the returned transmission data B, and the transmission apparatus 30 transmits the transmitted transmission data. The code B of B and the returned transmission data B ′ are compared, and the transmission data A transmitted when they match each other is used as normal.

また、夫々の比較部25で符号の不一致が検出された場合には、伝送データA、伝送データBの伝送路、送信側の伝送装置、及び受信側の伝送装置のいずれかの部分に故障があると判定される。   Further, when a code mismatch is detected by each comparison unit 25, a failure occurs in any part of the transmission path of transmission data A, transmission data B, the transmission device on the transmission side, and the transmission device on the reception side. It is determined that there is.

即ち、このように構成された伝送システムにおいては、送信側の伝送装置、受信側の伝送装置の相互で同じデータに対して自己診断が出来るので、伝送されるデータは高い信頼度を有し、高い安全度水準を求められる安全計装システムにおいてデータの信頼性を向上させることが出来る。   That is, in the transmission system configured in this way, the transmission data on the transmission side and the transmission device on the reception side can perform self-diagnosis on the same data, so the transmitted data has high reliability, Data reliability can be improved in a safety instrumented system that requires a high safety level.

(第2の実施形態)
次に、本発明に係る伝送システム100の第2の実施形態について図6、及び図7を参照して説明する。第2の実施形態の各部について第1の実施形態と同一の部分は同じ符号を付し、その説明を省略する。
(Second Embodiment)
Next, a second embodiment of the transmission system 100 according to the present invention will be described with reference to FIG. 6 and FIG. About each part of 2nd Embodiment, the part same as 1st Embodiment attaches | subjects the same code | symbol, and abbreviate | omits the description.

第2の実施形態が第1の実施形態と異なる点は、第1の実施形態では、符号化部21は、1つの符号化部21を備えていたが、第2の実施形態では、データを送信する場合に符号を生成する符号化部21aと、受信したデータに対して符号を生成する符号化部22bと、を備え、異なる符号化部2つを設ける構成としことにある。   The difference between the second embodiment and the first embodiment is that, in the first embodiment, the encoding unit 21 includes one encoding unit 21. However, in the second embodiment, data is not stored. An encoding unit 21a that generates a code for transmission and an encoding unit 22b that generates a code for received data are provided, and two different encoding units are provided.

次に、図7を参照して、第2の実施形態の伝送方法の処理手順を説明する。図7に示すフローチャートが、図3に示すフローチャートと異なる点は、送信側の伝送装置20での誤り符号検出符号の生成は、データ送信時は符号化部21a(s2)で、データ受信時は符号化部21b(s7)で、また、受信側の伝送装置30での誤り符号検出符号の生成は、データ送信時は符号化部31a(s15)で、データ受信時は符号化部31b(s20)で、夫々行うようにしていることにある。その他は、図3のフローチャートと同じであるのでその詳細説明を省略する。   Next, the processing procedure of the transmission method of the second embodiment will be described with reference to FIG. The flowchart shown in FIG. 7 differs from the flowchart shown in FIG. 3 in that the generation of the error code detection code in the transmission apparatus 20 on the transmission side is performed by the encoding unit 21a (s2) at the time of data transmission, and at the time of data reception. The encoding unit 21b (s7) and the generation of the error code detection code in the transmission device 30 on the receiving side are performed by the encoding unit 31a (s15) when transmitting data, and the encoding unit 31b (s20) when receiving data. ), And that is to do each. Others are the same as those in the flowchart of FIG.

このような第2の実施形態に拠れば、同じ符号を生成する2つの符号化部の符号を比較することで、符号化部21a、符号化部21bの故障を自己診断することができる。   According to the second embodiment, a failure of the encoding unit 21a and the encoding unit 21b can be self-diagnosed by comparing the codes of two encoding units that generate the same code.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

20、30、n0 伝送装置
21、21a、21b、31a、31b 符号化部
22 送信処理部
23 受信処理部
24 伝送部
25 比較部
26 記憶部
30 メモリ故障検出部
50 伝送路
100 伝送システム
20, 30, n0 Transmission devices 21, 21a, 21b, 31a, 31b Encoding unit 22, Transmission processing unit 23 Reception processing unit 24 Transmission unit 25 Comparison unit 26 Storage unit 30 Memory failure detection unit 50 Transmission path 100 Transmission system

Claims (3)

複数の異機種伝送装置間で通信が可能なパケット交換方式のネットワークでのデータの伝送システムであって、
前記伝送装置は、夫々が伝送するデータに対して異なる誤り検出符号を生成して伝送データとし、この誤り検出符号からシステムの故障を自己診断し、
前記パケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダと、送信するデータと、当該データに対して自身の伝送装置で生成する予め設定される第1の誤り検出符号及び当該データの宛先の伝送装置で生成する予め設定される第2の誤り検出符号とを記述し、
夫々の前記伝送装置は、自身の伝送装置から送信するデータを記憶する記憶部から前記データを抽出し、当該データに対して、前記第1の誤り検出符号を生成する符号化部と、
前記記憶部から前記データと、前記第1の誤り検出符号とを抽出し、前記フォーマットに基づいて1つまたは、複数のフレームデータとして生成する送信処理部と、
受信した前記伝送データが送信した前記伝送データの場合、前記フォーマットに基づいてデータと、前記第1の誤り検出符号と、前記第2の誤り検出符号と、に分割し、または、受信した伝送データが送信した前記伝送データで無く、前記第2の誤り検出符号が付随されていない場合、受信した前記伝送データのデータ、第1の誤り検出符号に対して第2の誤り検出符号を生成して付随させる受信処理部と、
前記伝送データに付随させて宛先に送信した前記第1の誤り検出符号と、その応答として当該宛先から受信した前記伝送データに付随する前記第1の誤り検出符号とを比較し、一致しているか否かを判定する比較部と、
前記送信処理部で生成された前記伝送データを、前記ネットワークを介して送信、または、前記ネットワークを介して受信した前記伝送データを前記受信処理部に送る伝送部と、
を備え、
前記第1の誤り検出符号を生成する符号化部を備える前記伝送装置を第1の伝送装置とし、前記第2の誤り検出符号を生成する符号化部を備える前記伝送装置を第2の伝送装置とし、前記第1の伝送装置から、前記第2の伝送装置に前記伝送データを送信する場合、
前記第1の伝送装置は、前記伝送部から前記伝送データを宛先となる第2の伝送装置に送信し、
前記第2の伝送装置は、前記伝送データが、自身から送信したデータでなく、自身生成する第2の誤り検出訂正符号がない場合、受信した前記伝送データに含まれるデータと第1の誤り検出符号とから、更に、第2の誤り検出符号を生成し、当該伝送データに付随させて送り先に返信し、
前記第1の伝送装置の前記受信処理部は、返信された当該伝送データを受信し、自身から送信した前記伝送データである場合、当該伝送データを前記比較部に送り、前記比較部は送信した前記第1の誤り検出符号と、返信された第1の誤り検出符号とを比較し、一致しているか否かを判定し、一致している場合、前記伝送部から受信した前記伝送データを宛先に再送し、
前記第2の伝送装置は、この再送された伝送データを受信し、前記比較部で、自身で生成し付随させた第2の誤り検出データと、再送された前記伝送データに付随された第2の誤り検出データとを比較し、一致しているか否かを判定し、一致している場合、受信した前記伝送データが正常であると判定し、
夫々の伝送装置が異なる誤り検出符号を生成する符号化部を備え、伝送データに付随さる自身が宛先に送信した誤り検出符号と、宛先から返信された誤り検出符号を比較することにより、伝送データの異常の有無を相互の伝送装置で自己診断するようにしたことを特徴とする伝送システム。
A data transmission system in a packet switching network capable of communication between a plurality of different types of transmission devices,
The transmission device generates different error detection codes for the data transmitted by each of the transmission devices, and makes the transmission data self-diagnosis of a system failure from the error detection codes,
The format of the packet includes at least a header describing a destination and a source, data to be transmitted, a first error detection code set in advance by the transmission apparatus for the data, and a destination of the data A second error detection code set in advance generated by the transmission apparatus of
Each of the transmission devices extracts the data from a storage unit that stores data to be transmitted from its transmission device, and generates an encoding unit that generates the first error detection code for the data.
A transmission processing unit that extracts the data and the first error detection code from the storage unit and generates one or a plurality of frame data based on the format;
When the transmission data received is the transmission data transmitted, the transmission data is divided into data, the first error detection code, and the second error detection code based on the format, or the received transmission data If the transmission data is not the transmitted data and is not accompanied by the second error detection code, a second error detection code is generated for the received transmission data and the first error detection code. A reception processing unit to be attached;
Whether the first error detection code transmitted to the destination along with the transmission data is compared with the first error detection code attached to the transmission data received from the destination as a response to match. A comparison unit for determining whether or not,
A transmission unit that transmits the transmission data generated by the transmission processing unit via the network, or that transmits the transmission data received via the network to the reception processing unit;
With
The transmission apparatus including the encoding unit that generates the first error detection code is the first transmission apparatus, and the transmission apparatus including the encoding unit that generates the second error detection code is the second transmission apparatus. And when transmitting the transmission data from the first transmission device to the second transmission device,
The first transmission device transmits the transmission data from the transmission unit to a second transmission device as a destination,
When the transmission data is not data transmitted from itself and there is no second error detection / correction code generated by the second transmission apparatus, the second transmission apparatus and the first error detection include data included in the received transmission data. A second error detection code is further generated from the code, and is sent back to the destination along with the transmission data,
The reception processing unit of the first transmission device receives the transmitted transmission data, and when the transmission data is the transmission data transmitted from itself, the transmission processing unit sends the transmission data to the comparison unit, and the comparison unit transmits the transmission data. The first error detection code and the returned first error detection code are compared to determine whether or not they match. If they match, the transmission data received from the transmission unit is sent to the destination Resend to
The second transmission apparatus receives the retransmitted transmission data, and the comparison unit generates second error detection data generated and attached thereto, and the second error detection data attached to the retransmitted transmission data. Is compared with the error detection data, and it is determined whether or not they match, and if they match, it is determined that the received transmission data is normal,
Each transmission device includes an encoding unit that generates different error detection codes, and the transmission data is compared by comparing the error detection code transmitted to the destination with the transmission data and the error detection code returned from the destination. A transmission system characterized by self-diagnosis of mutual abnormality using a mutual transmission device.
複数の異機種伝送装置間で通信が可能なパケット交換方式のネットワークでのデータの伝送システムの伝送装置であって、
前記伝送装置は、夫々が伝送するデータに対して異なる誤り検出符号を生成して伝送データとし、この誤り検出符号からシステムの故障を自己診断し、
前記パケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダと、送信するデータと、当該データに対して自身の伝送装置で生成する予め設定される第1の誤り検出符号及び当該データの宛先の伝送装置で生成する予め設定される第2の誤り検出符号とを記述し、
夫々の前記伝送装置は、自身の伝送装置から送信するデータを記憶する記憶部から前記データを抽出し、当該データに対して、前記第1の誤り検出符号を生成する符号化部と、
前記記憶部から前記データと、前記第1の誤り検出符号とを抽出し、前記フォーマットに基づいて1つまたは、複数のフレームデータとして生成する送信処理部と、
受信した前記伝送データが送信した前記伝送データの場合、前記フォーマットに基づいてデータと、前記第1の誤り検出符号と、前記第2の誤り検出符号と、に分割し、または、受信した伝送データが送信した前記伝送データで無く、前記第2の誤り検出符号が付随されていない場合、受信した前記伝送データのデータ、第1の誤り検出符号に対して第2の誤り検出符号を生成して付随させる受信処理部と、
前記伝送データに付随させて宛先に送信した前記第1の誤り検出符号と、その応答として当該宛先から受信した前記伝送データに付随する前記第1の誤り検出符号とを比較し、一致しているか否かを判定する比較部と、
前記送信処理部で生成された前記伝送データを、前記ネットワークを介して送信、または、前記ネットワークを介して受信した前記伝送データを前記受信処理部に送る伝送部と、
を備え、
夫々の伝送装置が異なる誤り検出符号を生成する符号化部を備え、伝送データに付随さる自身が宛先に送信した誤り検出符号と、宛先から返信された誤り検出符号を比較することにより、伝送データの異常の有無を相互の伝送装置で自己診断するようにしたことを特徴とする伝送システムの伝送装置。
A transmission device of a data transmission system in a packet switching network capable of communication between a plurality of different types of transmission devices,
The transmission device generates different error detection codes for the data transmitted by each of the transmission devices, and makes the transmission data self-diagnosis of a system failure from the error detection codes,
The format of the packet includes at least a header describing a destination and a source, data to be transmitted, a first error detection code set in advance by the transmission apparatus for the data, and a destination of the data A second error detection code set in advance generated by the transmission apparatus of
Each of the transmission devices extracts the data from a storage unit that stores data to be transmitted from its transmission device, and generates an encoding unit that generates the first error detection code for the data.
A transmission processing unit that extracts the data and the first error detection code from the storage unit and generates one or a plurality of frame data based on the format;
When the transmission data received is the transmission data transmitted, the transmission data is divided into data, the first error detection code, and the second error detection code based on the format, or the received transmission data If the transmission data is not the transmitted data and is not accompanied by the second error detection code, a second error detection code is generated for the received transmission data and the first error detection code. A reception processing unit to be attached;
Whether the first error detection code transmitted to the destination along with the transmission data is compared with the first error detection code attached to the transmission data received from the destination as a response to match. A comparison unit for determining whether or not,
A transmission unit that transmits the transmission data generated by the transmission processing unit via the network, or that transmits the transmission data received via the network to the reception processing unit;
With
Each transmission device includes an encoding unit that generates different error detection codes, and the transmission data is compared by comparing the error detection code transmitted to the destination with the transmission data and the error detection code returned from the destination. A transmission device for a transmission system, wherein the mutual transmission devices self-diagnose the presence or absence of abnormality.
複数の異機種伝送装置間で通信が可能なパケット交換方式のネットワークでのデータの伝送システムの自己診断方法であって、
前記伝送装置は、夫々が伝送するデータに対して異なる誤り検出符号を生成して伝送データとし、この誤り検出符号からシステムの故障を自己診断し、
前記パケットのフォーマットは、少なくとも、宛先及び送り元を記述したヘッダと、送信するデータと、当該データに対して自身の伝送装置で生成する予め設定される第1の誤り検出符号及び当該データの宛先の伝送装置で生成する予め設定される第2の誤り検出符号とを記述し、
前記第1の誤り検出符号を生成する符号化部を備える前記伝送装置を第1の伝送装置とし、前記第2の誤り検出符号を生成する符号化部を備える前記伝送装置を第2の伝送装置とし、前記第1の伝送装置から、前記第2の伝送装置に前記伝送データを送信する場合、
前記伝送データを送信する第1の伝送装置は、宛先となる第2の伝送装置に前記伝送データを送信し、
前記第2の伝送装置は、前記伝送データが、自身から送信したデータでなく、自身で生成する第1の誤り検出訂正符号がない場合、受信した前記伝送データに含まれるデータと第1の誤り検出符号とから、更に、第2の誤り検出符号を生成し、前記伝送データに付随させて送り先に返信し、
前記第1の伝送装置は、前記宛先からの返信された伝送データを受信し、自身から送信した伝送データの場合、当該伝送データを比較し、送信した前記第1の誤り検出符号と、宛先から返信された第1の誤り検出符号とが一致しているか否かを判定し、一致している場合、受信した当該伝送データを宛先に再送し、
前記第2の伝送装置は、再送された伝送データを受信し、自身で生成し付随させた第2の誤り検出データと、再送された当該伝送データに付随された第2の誤り検出データとを比較し、一致しているか否かを判定し、一致している場合、受信した前記伝送データが正常であると判定し、
夫々の伝送装置が異なる誤り検出符号を生成する符号化部を備え、伝送データに付随さる自身が宛先に送信した誤り検出符号と、宛先から返信された誤り検出符号とを比較することにより、伝送データの異常の有無を相互の伝送装置で自己診断するようにしたことを特徴とする伝送システムの自己診断方法。
A self-diagnosis method for a data transmission system in a packet-switched network capable of communication between a plurality of different types of transmission devices,
The transmission device generates different error detection codes for the data transmitted by each of the transmission devices, and makes the transmission data self-diagnosis of a system failure from the error detection codes,
The format of the packet includes at least a header describing a destination and a source, data to be transmitted, a first error detection code set in advance by the transmission apparatus for the data, and a destination of the data A second error detection code set in advance generated by the transmission apparatus of
The transmission apparatus including the encoding unit that generates the first error detection code is the first transmission apparatus, and the transmission apparatus including the encoding unit that generates the second error detection code is the second transmission apparatus. And when transmitting the transmission data from the first transmission device to the second transmission device,
A first transmission device that transmits the transmission data transmits the transmission data to a second transmission device that is a destination;
When the transmission data is not data transmitted from itself and there is no first error detection / correction code generated by the second transmission apparatus, the data included in the received transmission data and the first error are transmitted. A second error detection code is further generated from the detection code, and is sent back to the destination along with the transmission data,
The first transmission device receives the transmission data returned from the destination, and in the case of transmission data transmitted from itself, compares the transmission data and transmits the first error detection code transmitted from the destination. It is determined whether or not the returned first error detection code matches, and if it matches, the received transmission data is retransmitted to the destination,
The second transmission device receives the retransmitted transmission data, generates the second error detection data generated and attached thereto, and the second error detection data attached to the retransmitted transmission data. Compare and determine whether they match, and if they match, determine that the received transmission data is normal,
Each transmission device is provided with an encoding unit that generates different error detection codes, and the transmission is performed by comparing the error detection code transmitted by the transmission data itself to the destination with the error detection code returned from the destination. A self-diagnosis method for a transmission system, characterized in that self-diagnosis is performed with a mutual transmission device for the presence or absence of data abnormality.
JP2012146143A 2012-06-28 2012-06-28 Transmission device, transmission system, and self-diagnosis method thereof Expired - Fee Related JP5906145B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012146143A JP5906145B2 (en) 2012-06-28 2012-06-28 Transmission device, transmission system, and self-diagnosis method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012146143A JP5906145B2 (en) 2012-06-28 2012-06-28 Transmission device, transmission system, and self-diagnosis method thereof

Publications (2)

Publication Number Publication Date
JP2014011591A JP2014011591A (en) 2014-01-20
JP5906145B2 true JP5906145B2 (en) 2016-04-20

Family

ID=50107916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012146143A Expired - Fee Related JP5906145B2 (en) 2012-06-28 2012-06-28 Transmission device, transmission system, and self-diagnosis method thereof

Country Status (1)

Country Link
JP (1) JP5906145B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016010029A (en) * 2014-06-25 2016-01-18 Necエンジニアリング株式会社 Data transmitter receiver and data transmission reception method
CN113709089A (en) * 2020-09-03 2021-11-26 南宁玄鸟网络科技有限公司 System and method for filtering illegal data through Internet of things

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05219023A (en) * 1991-10-04 1993-08-27 Chugoku Nippon Denki Software Kk Transmitting device for data with error control code
US6327688B1 (en) * 1998-08-07 2001-12-04 Analog Devices, Inc. Data bus with automatic data integrity verification and verification method
JP3480820B2 (en) * 1999-07-12 2003-12-22 富士通株式会社 Code error monitoring device

Also Published As

Publication number Publication date
JP2014011591A (en) 2014-01-20

Similar Documents

Publication Publication Date Title
JP3897046B2 (en) Information processing apparatus and information processing method
JP4308297B2 (en) Communication device and switch processing device
JP5684514B2 (en) Redundant control system and calculation data transmission method thereof
US20170139388A1 (en) Method for operating safety control and automation network having such safety control
EP1789858A1 (en) Safety control device, safety control system, and method for detecting communication error
CN102713857A (en) Method and Device for Performing Failsafe Hardware-Independent Floating-Point Arithmetic
JP5906145B2 (en) Transmission device, transmission system, and self-diagnosis method thereof
US8347007B2 (en) Field device and fieldbus controller
US7689301B2 (en) Safety control device, safety control system, and method for detecting communication error
US8959252B2 (en) Method for configuring a field device and corresponding system for parameterization
JP2007057356A (en) Radiation measuring device
JP2016103110A (en) Multiplexing control device
JP4954249B2 (en) Electronic terminal device and electronic interlocking device
CN110532127B (en) Error check bit protocol converter
JP2014135580A (en) Plant monitoring control system
JP7140020B2 (en) output controller
CN111124418A (en) Communication data timeout judging method based on VCP redundant codes
KR101623305B1 (en) Apparatus, Method for check in data and System using the same
Franekova et al. Modelling of failures effect of open transmission system for safety critical applications with the intention of safety
US11871166B2 (en) Sensor system
EP2824572B1 (en) Fail safe device and method for operating the fail safe device
FI129898B (en) Automation system safety arrangement
JP2005218220A (en) Digital protection controller
JP7082084B2 (en) Information transmission / reception system, information transmission / reception method, program, interlocking logic processing device, and electronic terminal
JP2007043679A (en) Sending device, receiving device, and communication system

Legal Events

Date Code Title Description
RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20140812

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140902

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20150218

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150320

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160318

R151 Written notification of patent or utility model registration

Ref document number: 5906145

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees