JPH06112993A - Serial data communication equipment - Google Patents

Serial data communication equipment

Info

Publication number
JPH06112993A
JPH06112993A JP4260108A JP26010892A JPH06112993A JP H06112993 A JPH06112993 A JP H06112993A JP 4260108 A JP4260108 A JP 4260108A JP 26010892 A JP26010892 A JP 26010892A JP H06112993 A JPH06112993 A JP H06112993A
Authority
JP
Japan
Prior art keywords
node
transmission
frame
abnormality
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.)
Pending
Application number
JP4260108A
Other languages
Japanese (ja)
Inventor
Shiro Yonezawa
史郎 米沢
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 JP4260108A priority Critical patent/JPH06112993A/en
Publication of JPH06112993A publication Critical patent/JPH06112993A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To discriminate a fault in a node without incurring the increase in transmission traffic and cost increase by providing a fault detection means detecting a fault of a transmission node to a reception node side. CONSTITUTION:Frames 8B1-8B3 are sent from a transmission node 2B and frames 8C1-8C3 are sent from a transmission node 2C. Furthermore, the transmission is implemented in the order of the frames 8B1, 8C1, 8B2,..., 8C3. Then a reception node 2A makes fault discrimination in the following. The fault discrimination data 8C for frames 8B1-8B3 sent from the transmission node 2B are 1, 2, 3 in the older order and incremented sequentially, then the transmission node 2B is discriminated normal. The fault discrimination data 8C for frames 8C1-8C3 sent from the transmission node 2C are 3, 4, 4 in the older order, then the frame 8C3 is discriminated as error and fail processing is implemented.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、例えば自動車用制御
装置に用いられ、送受信ノード間でシリアルデータの伝
送を行なうシリアルデータ通信装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a serial data communication device used in, for example, an automobile control device and transmitting serial data between transmitting and receiving nodes.

【0002】[0002]

【従来の技術】図6は従来のシリアルデータ通信装置の
構成図であり、図において1はシリアルバスである伝送
路、2は伝送路1に接続され、この伝送路1を介してデ
ータの送受信を行なう機能をもつ(送信ノードとしても
受信ノードとしても機能動作する)送受信ノード、3は
伝送路1に接続され、伝送路1に伝送路異常検出用のチ
ェックフレームを送出するチェックフレーム送出ノー
ド、4は送受信ノード2の送出した通常フレーム、5は
チェックフレーム送出ノード3の送出したチェックフレ
ームである。また、図7はデータのフレームフォーマッ
トを示しており、(a)は優先度4a、相手先アドレス
4b、自己アドレス4c、データ4d、チェックコード
4e、受けとり通知コード(ACK)4fから構成され
る通常フレームを示し、(b)は優先コード5a、相手
先アドレス5b、自己アドレス5cから構成されるチェ
ックフレームを示している。
2. Description of the Related Art FIG. 6 is a block diagram of a conventional serial data communication device. In the figure, 1 is a transmission line which is a serial bus, 2 is connected to a transmission line 1, and data is transmitted and received through this transmission line 1. A transmission / reception node 3 having a function of performing (functions as both a transmission node and a reception node) is connected to the transmission line 1, and a check frame transmission node that transmits a check frame for detecting a transmission line abnormality to the transmission line 1, Reference numeral 4 is a normal frame transmitted by the transmitting / receiving node 2, and 5 is a check frame transmitted by the check frame transmitting node 3. Further, FIG. 7 shows a frame format of data, and (a) is a normal format composed of priority 4a, destination address 4b, own address 4c, data 4d, check code 4e, and reception notification code (ACK) 4f. A frame is shown, and (b) shows a check frame composed of a priority code 5a, a destination address 5b, and a self address 5c.

【0003】次に動作について説明する。図8に伝送路
異常検出時の伝送路の状態(a)と、チェックフレーム
5の受信間隔を測定するカウンタの値(b)と、受信間
隔が一定時間を超えるとエラーと判断するエラー検出機
能(図示しない)の動作タイミング(c)とを示してい
る。カウンタ(図示しない)は一定時間毎に値をカウン
トアップしており、チェックフレーム5を受信すれば値
をクリアする。しかし、伝送路1の異常などでT秒間以
上チェックフレームを検出できない場合にはカウンタの
値はある値を超える。エラー検出機能はカウンタのカウ
ント値を監視しており、カウント値がある値を超えた場
合にエラーの判定を行なう。
Next, the operation will be described. FIG. 8 shows a state (a) of the transmission line at the time of detecting an abnormality in the transmission line, a counter value (b) for measuring the reception interval of the check frame 5, and an error detection function for judging an error when the reception interval exceeds a certain time. The operation timing (c) (not shown) is shown. A counter (not shown) counts up the value at regular time intervals, and when the check frame 5 is received, the value is cleared. However, if the check frame cannot be detected for T seconds or longer due to an abnormality in the transmission path 1 or the like, the counter value exceeds a certain value. The error detection function monitors the count value of the counter and determines an error when the count value exceeds a certain value.

【0004】[0004]

【発明が解決しようとする課題】従来のシリアルデータ
通信装置は以上のように構成されているので、チェック
フレーム5を送出するチェックフレーム送出ノード3が
必要でありコストが上昇する。又異常検出用のチェック
フレーム4を通信するため伝送路1のトラフィックが増
しデータ衝突の確率が高くなる。更に、チェックフレー
ムを一定時間内に受信しない異常判断時において、伝送
路自体に異常があるのか、送信側のノードに異常がある
かの判断はできない、などの問題点があった。
Since the conventional serial data communication apparatus is constructed as described above, the check frame sending node 3 for sending the check frame 5 is required, which increases the cost. Further, since the check frame 4 for detecting abnormality is communicated, the traffic on the transmission line 1 increases and the probability of data collision increases. Further, there is a problem that it is not possible to judge whether there is an abnormality in the transmission path itself or an abnormality in the node on the transmitting side when the abnormality is judged not to receive the check frame within a certain time.

【0005】この発明は上記のような問題点を解消する
ためになされたもので、送信ノードと受信ノードのみ
で、即ち従来のようなチェックフレーム送出ノードを設
けずとも送信ノードの異常を判断できるシリアルデータ
通信装置を得ることを目的としている。
The present invention has been made in order to solve the above-mentioned problems, and it is possible to judge an abnormality of a transmitting node only with a transmitting node and a receiving node, that is, without providing a conventional check frame transmitting node. The purpose is to obtain a serial data communication device.

【0006】[0006]

【課題を解決するための手段】この発明に係るシリアル
データ通信装置は、受信ノード側に、データの一部に含
まれる異常判定用データの監視を行なって、送信ノード
の異常を検出する異常検出手段を備えたものである。
In the serial data communication apparatus according to the present invention, the receiving node side monitors the abnormality determining data included in a part of the data to detect an abnormality in the transmitting node. It is equipped with means.

【0007】[0007]

【作用】この発明におけるシリアルデータ通信装置によ
れば、送信ノードはデータの一部を異常判定データとし
て送信し、異常検出手段がこのデータより送信ノードの
異常を検出する。
According to the serial data communication device of the present invention, the transmitting node transmits a part of the data as abnormality determination data, and the abnormality detecting means detects the abnormality of the transmitting node from this data.

【0008】[0008]

【実施例】実施例1.以下、この発明の実施例1を図に
ついて説明する。図1において、2Aはデータを受信す
る機能をもつ受信ノード、2B,2Cはデータを送信す
る機能をもつ送信ノードである。1はデータの伝送を行
なう伝送路、8B1〜8B3,8C1〜8C3はそれぞ
れ送信ノード2B、送信ノード2Cから送出されたデー
タの集合であるフレームである。
EXAMPLES Example 1. Embodiment 1 of the present invention will be described below with reference to the drawings. In FIG. 1, 2A is a receiving node having a function of receiving data, and 2B and 2C are transmitting nodes having a function of transmitting data. Reference numeral 1 is a transmission path for transmitting data, and 8B1 to 8B3 and 8C1 to 8C3 are frames which are a set of data transmitted from the transmission node 2B and the transmission node 2C, respectively.

【0009】図2は送信ノード2Bがフレーム81〜8
4を伝送路1に送出した状態を示す図である。図3は送
信ノード2Bが送出するフレームのフォーマットを表わ
しており、8aは優先度、相手アドレス、自己アドレス
等から成るフレーム情報、8bはデータ、8cはノード
の異常判定用の異常判定データ、8dはフレームの正常
通信を確認する巡回冗長符号(CRC)、パリティ等の
チェックコードである。
In FIG. 2, the transmitting node 2B has frames 81-8.
4 is a diagram showing a state in which No. 4 is transmitted to the transmission line 1. FIG. FIG. 3 shows the format of a frame transmitted by the transmitting node 2B. 8a is frame information including priority, partner address, self address, etc., 8b is data, 8c is abnormality determination data for node abnormality determination, and 8d. Is a check code such as a cyclic redundancy code (CRC) or parity for confirming normal communication of the frame.

【0010】まず、図2について説明する。送信ノード
2Bは最初にフレーム81を送出し、続いてフレーム8
2、フレーム83、フレーム84を送出している。送信
ノード2Bは異常判定データ8cの値をフレーム送出毎
にインクリメントしている。受信ノード2Aは受信毎に
送信ノード2Bが送出したフレーム81〜84の異常判
定データ8cの更新を確認し、更新されていなかった場
合には、送信ノード2Bに何らかの異常が発生したと判
断しそのフレームは異常とする。連続してその現象が発
生すれば、送信ノード2Bは異常と判断する。図2にお
いては、フレーム81、フレーム82、フレーム83の
異常判定データ8cの値はそれぞれ1,2,3であり、
フレーム毎にインクリメントされている。しかし、フレ
ーム84の異常判定データ8cの値は3であり、フレー
ム83の値から更新されておらず、この場合フレーム8
4の情報は異常とし、フェール処理を行なう。
First, FIG. 2 will be described. The transmitting node 2B first transmits the frame 81 and then the frame 8
2, the frame 83 and the frame 84 are transmitted. The transmitting node 2B increments the value of the abnormality determination data 8c every frame transmission. The receiving node 2A confirms the update of the abnormality determination data 8c of the frames 81 to 84 sent by the transmitting node 2B for each reception, and if not updated, determines that some abnormality has occurred in the transmitting node 2B. The frame is abnormal. If the phenomenon occurs continuously, the transmitting node 2B determines that it is abnormal. In FIG. 2, the values of the abnormality determination data 8c of the frame 81, the frame 82, and the frame 83 are 1, 2, and 3, respectively,
It is incremented for each frame. However, the value of the abnormality determination data 8c of the frame 84 is 3, which is not updated from the value of the frame 83.
The information of 4 is abnormal, and the fail process is performed.

【0011】続いて、複数の送信ノードをもつ場合につ
いて図1を用いて説明する。図1は送信ノード2Bと送
信ノード2Cから受信ノード2Aへの送信を示したもの
であり、フレーム8B1〜8B3は送信ノード2Bから
送信され、フレーム8C1〜8C3は送信ノード2Cか
ら送信されている。また、送信は図1に示すようにフレ
ーム8B1、フレーム8C1、フレーム8B2、・・・
・,フレーム8C3の順に行なわれている。 受信ノー
ド2Aは次のように異常判定を行なう。送信ノード2B
から送信されたフレーム8B1〜8B3の異常判定デー
タ8cは古い方から“1”,“2”,“3”であり順に
インクリメントされているので送信ノード2Bは正常と
判断する。送信ノード2Cから送信されたフレーム8C
1〜8C3の異常判定データ8cは古い方から“3”,
“4”,“4”であるため、フレーム8C3は異常と判
断してフェール処理を行う。
Next, a case having a plurality of transmission nodes will be described with reference to FIG. FIG. 1 shows transmission from the transmission node 2B and the transmission node 2C to the reception node 2A. Frames 8B1 to 8B3 are transmitted from the transmission node 2B, and frames 8C1 to 8C3 are transmitted from the transmission node 2C. In addition, as shown in FIG. 1, the transmission is performed using a frame 8B1, a frame 8C1, a frame 8B2, ...
.., frame 8C3. The receiving node 2A makes an abnormality determination as follows. Sending node 2B
Since the abnormality determination data 8c of the frames 8B1 to 8B3 transmitted from is "1", "2", "3" from the oldest and is incremented in order, the transmitting node 2B determines that it is normal. Frame 8C transmitted from transmitting node 2C
The abnormality determination data 8c of 1 to 8C3 is “3” from the oldest,
Since they are "4" and "4", the frame 8C3 is determined to be abnormal and the fail process is performed.

【0012】以上の例では、受信ノード2Aは受信専用
ノード、送信ノード2BとノードCは送信専用ノードと
しているが、各ノードが送受信を行なう場合、又ノード
数が増えた場合も同様に行うことができる。
In the above example, the reception node 2A is a reception-only node and the transmission nodes 2B and C are transmission-only nodes. However, when each node performs transmission / reception or when the number of nodes increases, the same operation is performed. You can

【0013】尚、異常判定データをインクリメントする
異常判定データ生成手段としては、例えば送信毎に計数
値を1ずつ増加させるカウンタを用いることができ、
又、異常を検出する異常検出手段としては、図4に示す
ように、例えば送信ノード2Bからの受信回数を計数す
るカウンタ11と、この計数値と異常判定データとを比
較する比較器12等から構成することができる。
As the abnormality determination data generating means for incrementing the abnormality determination data, for example, a counter that increments the count value by 1 for each transmission can be used.
Further, as the abnormality detecting means for detecting an abnormality, as shown in FIG. 4, for example, a counter 11 for counting the number of receptions from the transmitting node 2B, a comparator 12 for comparing the count value with the abnormality determination data, and the like. Can be configured.

【0014】実施例2.また、実施例1では送信ノード
2B,2Cは異常判定データ8cをフレーム毎にインク
リメントしていたが、次のような構成にも適用できる。
図5において、13は送信ノード2Dに接続されている
センサであり、送信ノード2Dはセンサ11の情報を受
信ノード2Aに送信している。通常は、実施例1と同様
に異常判定データ8cをインクリメントして送信してい
るが、送信ノード2Dがセンサ11の異常を検出した場
合は、センサ情報は信頼性が無いため、異常判定データ
8cをインクリメントせずに送信する。このフレーム8
01〜803を受信した受信ノード2Aは異常判定デー
タ8cより、フレーム801〜803内のデータは異常
と判断してフェール処理を行なう。 このように送信ノ
ード2Dがフレーム内に設定されるデータに異常がある
判断できる場合には、受信ノード2Aに異常を通知で
き、伝送信号の信頼性を向上させることができる。
Example 2. In the first embodiment, the transmission nodes 2B and 2C increment the abnormality determination data 8c for each frame, but the present invention can be applied to the following configuration.
In FIG. 5, 13 is a sensor connected to the transmission node 2D, and the transmission node 2D transmits the information of the sensor 11 to the reception node 2A. Normally, the abnormality determination data 8c is incremented and transmitted as in the first embodiment. However, when the transmitting node 2D detects an abnormality in the sensor 11, the sensor information is not reliable, and therefore the abnormality determination data 8c. Is sent without incrementing. This frame 8
The receiving node 2A that has received 01 to 803 determines that the data in the frames 801 to 803 is abnormal from the abnormality determination data 8c and performs the fail processing. In this way, when the transmitting node 2D can determine that the data set in the frame is abnormal, the receiving node 2A can be notified of the abnormality and the reliability of the transmission signal can be improved.

【0015】[0015]

【発明の効果】以上のように、この発明によれば、受信
ノード側に、データの一部に含まれる異常判定用データ
の監視を行なって、送信ノードの異常を検出する異常検
出手段を備えたため、伝送トラフィックの増加及びコス
トの上昇を招くことなく、ノードの異常を判断すること
ができるという効果を奏する。
As described above, according to the present invention, the receiving node side is provided with the abnormality detecting means for monitoring the abnormality determining data included in a part of the data and detecting the abnormality of the transmitting node. Therefore, it is possible to judge the abnormality of the node without increasing the transmission traffic and the cost.

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

【図1】この発明の実施例1を示すブロック図である。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】この発明の実施例1を簡略化に示す簡略ブロッ
ク図である。
FIG. 2 is a simplified block diagram showing the first embodiment of the present invention in a simplified manner.

【図3】実施例1の伝送フレームのフレームフォーマッ
トである。
FIG. 3 is a frame format of a transmission frame according to the first embodiment.

【図4】実施例1の異常検出手段を示すブロック図であ
る。
FIG. 4 is a block diagram showing an abnormality detecting means of the first embodiment.

【図5】この発明の実施例2を示すブロック図である。FIG. 5 is a block diagram showing a second embodiment of the present invention.

【図6】従来のシリアルデータ通信そうちのブロック図
である。
FIG. 6 is a block diagram of a conventional serial data communication device.

【図7】従来のシリアルデータ通信装置で取扱う2種類
のフレームフォーマットを示す図である。
FIG. 7 is a diagram showing two types of frame formats handled by a conventional serial data communication device.

【図8】従来の伝送路異常を検出するタイムチャートで
ある。
FIG. 8 is a time chart for detecting a conventional transmission line abnormality.

【符号の説明】[Explanation of symbols]

1 伝送路 2A 受信ノード 2B,2C 送信ノード 8c 異常判定データ 8B1〜8B3,8C1〜8C3,81〜84,801
〜803 フレーム 11 カウンタ 12 比較器
1 Transmission Line 2A Reception Node 2B, 2C Transmission Node 8c Abnormality Judgment Data 8B1-8B3, 8C1-8C3, 81-84, 801
~ 803 Frame 11 Counter 12 Comparator

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 送信ノードと受信ノードを伝送路を介し
て接続し、上記送信ノードから受信ノードにデータを伝
送するシリアルデータ通信装置において、 上記受信ノード側に、上記データの一部に含まれる異常
判定用データの監視を行なって、上記送信ノードの異常
を検出する異常検出手段を備えたことを特徴とするシリ
アルデータ通信装置。
1. A serial data communication device for connecting a transmitting node and a receiving node via a transmission line to transmit data from the transmitting node to the receiving node, wherein the receiving node side includes a part of the data. A serial data communication device comprising: abnormality detecting means for monitoring abnormality determination data to detect an abnormality of the transmission node.
JP4260108A 1992-09-29 1992-09-29 Serial data communication equipment Pending JPH06112993A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4260108A JPH06112993A (en) 1992-09-29 1992-09-29 Serial data communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4260108A JPH06112993A (en) 1992-09-29 1992-09-29 Serial data communication equipment

Publications (1)

Publication Number Publication Date
JPH06112993A true JPH06112993A (en) 1994-04-22

Family

ID=17343401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4260108A Pending JPH06112993A (en) 1992-09-29 1992-09-29 Serial data communication equipment

Country Status (1)

Country Link
JP (1) JPH06112993A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009100081A (en) * 2007-10-15 2009-05-07 Yokogawa Electric Corp Communication quality diagnostic unit
JP2009166779A (en) * 2008-01-18 2009-07-30 Hitachi Ltd Vehicle control apparatus
CN113254253A (en) * 2021-07-14 2021-08-13 云智慧(北京)科技有限公司 Data processing method, system and equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009100081A (en) * 2007-10-15 2009-05-07 Yokogawa Electric Corp Communication quality diagnostic unit
JP2009166779A (en) * 2008-01-18 2009-07-30 Hitachi Ltd Vehicle control apparatus
CN113254253A (en) * 2021-07-14 2021-08-13 云智慧(北京)科技有限公司 Data processing method, system and equipment
CN113254253B (en) * 2021-07-14 2021-11-02 云智慧(北京)科技有限公司 Data processing method, system and equipment

Similar Documents

Publication Publication Date Title
EP0925666B1 (en) Method and system for identifying an error condition due to a faulty cable connection in an ethernet network
EP0139936B1 (en) A method of detecting a hot carrier condition in a multiple access data communication network
US5153874A (en) Redundancy data transmission device
JPH0799688A (en) Multiplex transmission system
JPH06112993A (en) Serial data communication equipment
JPH05225161A (en) Network monitoring system
JP3221259B2 (en) Bus type duplex transmission equipment
JP4024941B2 (en) LAN device monitoring device for computers
JP2616727B2 (en) Wireless local area network method
JPH09261374A (en) Multiple dwelling house centralized monitoring system
JPH02231835A (en) Node fault detector
JPH05153144A (en) Line deterioration diagnostic system for network
JP2591455B2 (en) Communication device
JPH0735470Y2 (en) Loop type data transmission device
JPH08180285A (en) Guard terminal equipment
JP2682490B2 (en) Line failure monitoring method and device
KR960003053B1 (en) Error counter of data transmission system
JP2541111B2 (en) Relay device alarm transfer method
JPH0272742A (en) Data error location detecting system
JPH0529183B2 (en)
JPH09284320A (en) Communication controller
JPH09284304A (en) Device for detecting cell collision
JP2000299696A (en) Abnormality diagnostic method for network system
JPH0369227A (en) Node fault decision system
JPH11127278A (en) Method for monitoring state of power source