JP3380317B2 - Multiplex transmission equipment - Google Patents

Multiplex transmission equipment

Info

Publication number
JP3380317B2
JP3380317B2 JP35354893A JP35354893A JP3380317B2 JP 3380317 B2 JP3380317 B2 JP 3380317B2 JP 35354893 A JP35354893 A JP 35354893A JP 35354893 A JP35354893 A JP 35354893A JP 3380317 B2 JP3380317 B2 JP 3380317B2
Authority
JP
Japan
Prior art keywords
node
signal
transmission
receiving
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35354893A
Other languages
Japanese (ja)
Other versions
JPH07203555A (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.)
Mazda Motor Corp
Original Assignee
Mazda Motor 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 Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP35354893A priority Critical patent/JP3380317B2/en
Publication of JPH07203555A publication Critical patent/JPH07203555A/en
Application granted granted Critical
Publication of JP3380317B2 publication Critical patent/JP3380317B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、多重伝送装置、特
に、送信ノードからの送信信号を受信すると該信号を受
信したことを上記送信ノードに報知する確認信号を返送
する受信ノードを複数備えた多重伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention includes a multiplex transmission apparatus, and more particularly, a plurality of receiving nodes which, when receiving a transmission signal from a transmission node, return a confirmation signal for notifying the transmission node that the signal has been received. The present invention relates to a multiplex transmission device.

【0002】[0002]

【従来の技術】従来、一つの通信ラインで多数の電装品
や制御ユニット間のデータ通信を行えるようにした多重
伝送装置は一般に良く知られており、近年では、例え
ば、自動車等の車両においても、車両内の各種電装品お
よびその操作スイッチ等を、多重伝送経路に接続された
ノードにそれぞれ接続することにより、これらノードお
よび多重伝送ラインを介して車両内のデータ通信を行う
ものが提案されている(例えば、特開平3−28384
2号公報参照)。
2. Description of the Related Art Conventionally, a multiplex transmission device capable of performing data communication between a large number of electrical components and control units with one communication line is generally well known, and in recent years, for example, even in vehicles such as automobiles. It has been proposed to connect various electric components in the vehicle and operation switches thereof to the nodes connected to the multiplex transmission path to perform data communication in the vehicle via these nodes and the multiplex transmission line. (For example, Japanese Patent Laid-Open No. 3-28384
No. 2).

【0003】また、かかる多重伝送装置において、送信
ノードが信号出力を行った場合に、この信号(送信信号)
を受信した受信ノードが、該信号を受信したことを上記
送信ノードに報知する信号(確認信号)を返送するように
したものが知られている。このように受信ノードが送信
ノードに対して確認信号を返送するような方式を採用す
ることにより、送信ノードは、この確認信号が返送され
ない受信ノードがあった場合には、多重伝送ラインを介
して上記送信信号を再送することにより、各受信ノード
に対して確実なデータ通信を行うことができる。
Further, in such a multiplex transmission device, when a transmitting node outputs a signal, this signal (transmission signal)
It is known that a receiving node that receives a signal returns a signal (confirmation signal) that notifies the transmitting node that the signal has been received. By adopting the method in which the receiving node sends back the confirmation signal to the transmitting node in this way, when the receiving node does not return the confirmation signal, the transmitting node sends the confirmation signal via the multiplex transmission line. Retransmitting the transmission signal enables reliable data communication with each receiving node.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、このよ
うな受信ノードが送信ノードに確認信号を返送する方式
を採用した場合、確認信号が返送されない受信ノードが
あった場合には、送信ノードから多重伝送ラインを通じ
て当該信号の再送が繰り返されるので、上記送信信号を
既に受信してその信号に対応した制御を行った他の受信
ノードにも同様の再送が繰り返されることとなる。そし
て、この場合、上記他の受信ノードは、その再送された
送信信号を受信するたびに、送信ノードに対して確認信
号を返送し、しかも当該送信信号に対応した制御を無駄
に繰り返して行うことになる。
However, in the case of adopting such a method in which the receiving node returns the confirmation signal to the transmitting node, if there is a receiving node for which the confirmation signal is not returned, the transmitting node performs multiplex transmission. Since the retransmission of the signal is repeated through the line, the same retransmission is repeated for the other receiving nodes that have already received the transmission signal and performed control corresponding to the signal. Then, in this case, each of the other receiving nodes returns a confirmation signal to the transmitting node every time it receives the retransmitted transmission signal, and further, wastefully repeats control corresponding to the transmission signal. become.

【0005】また、上記送信信号の再送は、多数の受信
ノードのうち一つでも確認信号が返送されないものがあ
った場合には、当該受信ノードが故障しているものと判
断されるまで繰り返されるが、この再送の繰り返しが多
い場合には、定められた制御周期内で再送に必要な処理
時間が占める割合がそれだけ高くなり、場合によっては
制御周期を長くしなければならなくなる事態も考えられ
る。特に、システムの起動時などには、各送信ノードが
ほぼ一斉に送信信号を出力するので、その送信信号につ
いての再送も急増し、多重伝送ラインのトラフィック量
がこの再送処理で一杯になり、本来のデータの円滑な送
受信に支障を来す場合が生じ得る。
Further, the retransmission of the transmission signal is repeated until it is determined that the receiving node is out of order if any of the receiving nodes does not return the confirmation signal. However, if the number of times this retransmission is repeated is large, the proportion of the processing time required for the retransmission within the determined control cycle becomes higher, and in some cases it may be necessary to lengthen the control cycle. In particular, when the system is started, each transmitting node outputs transmission signals almost simultaneously, so the number of retransmissions for the transmission signals also increases rapidly, and the amount of traffic on the multiplex transmission line becomes full due to this retransmission processing. There may occur a case where smooth transmission and reception of the above data is hindered.

【0006】この発明は、上記問題点に鑑みてなされた
もので、送信信号の再送による受信ノード側での不必要
な制御の実行を防止でき、また、再送によるトラフィッ
ク量の低減を図ることができる多重伝送装置を提供する
ことを目的とする。
The present invention has been made in view of the above problems, and it is possible to prevent unnecessary execution of control on the receiving node side due to retransmission of a transmission signal, and to reduce traffic volume due to retransmission. It is an object of the present invention to provide a multiplex transmission device that can be used.

【0007】[0007]

【0008】[0008]

【課題を解決するための手段】このため、本願の第1の
発明は、送信ノードからの送信信号を受信すると、該信
号を受信したことを上記送信ノードに報知する確認信号
を返送する受信ノードを複数備えた多重伝送装置を前提
とし、上記各受信ノードが、自ノードから上記送信ノー
ドへの上記確認信号の返送を制御すると共に全ての受信
ノードの確認信号の返送状態を検知し得る確認信号制御
手段を備える一方、上記送信ノードは、上記確認信号が
返送されない受信ノードがあった場合に上記送信信号を
再送する再送制御手段と、上記送信信号の再送が所定回
数繰り返された際に故障と判定して故障ノードを検出す
る検出手段とを備えている。そして、上記確認信号が返
送されない受信ノードがその他の受信ノードによって検
知された場合、該その他の受信ノードは当該信号の制御
を中止し、上記送信ノードは、故障ノードを検出する検
出手段によって故障ノードを検出した後、当該信号を再
度送信する一方、上記その他の受信ノードは再度送信さ
れた当該信号に応じた制御を行うことを特徴としたもの
である。
Therefore, according to the first invention of the present application, when a transmission signal from a transmission node is received, a reception node which returns a confirmation signal for notifying the transmission node of the reception of the signal. Assuming a multiplex transmission device having a plurality of, each receiving node, the confirmation signal that can control the return of the confirmation signal from the own node to the transmitting node and detect the return state of the confirmation signal of all the receiving nodes While including a control means, the transmission node, a retransmission control means for retransmitting the transmission signal when there is a receiving node that does not return the confirmation signal, and a failure when the retransmission of the transmission signal is repeated a predetermined number of times And a detecting means for making a determination and detecting a faulty node. Then, when a receiving node to which the confirmation signal is not returned is detected by another receiving node, the other receiving node stops controlling the signal, and the transmitting node detects the faulty node by the detecting means. Is detected, the signal is retransmitted, while the other receiving nodes perform control according to the retransmitted signal.

【0009】また、本願の第2の発明は、送信ノードか
らの送信信号を受信すると、該信号を受信したことを上
記送信ノードに報知する確認信号を返送する受信ノード
を複数備えた多重伝送装置を前提とし、上記各受信ノー
ドが、自ノードから上記送信ノードへの上記確認信号の
返送を制御すると共に全ての受信ノードの確認信号の返
送状態を検知し得る確認信号制御手段を備える一方、上
記送信ノードは、上記確認信号が返送されない受信ノー
ドがあった場合に上記送信信号を再送する再送制御手段
と、上記送信信号の再送が所定回数繰り返された際に故
障と判定して故障ノードを検出する検出手段とを備えて
いる。そして、上記確認信号が返送されない受信ノード
がその他の受信ノードによって検知された場合、該その
他の受信ノードは当該信号の制御を中止し、上記送信ノ
ードが故障ノードを検出する検出手段によって故障ノー
ドを検出した後、上記その他の受信ノードは、上記送信
信号を自ノードのメモリに書き込んで記憶し、この自ノ
ード内に記憶していた当該信号に応じた制御を行うこと
を特徴としたものである。
A second invention of the present application is a multiplex transmission apparatus having a plurality of receiving nodes which, when receiving a transmission signal from a transmission node, return a confirmation signal for notifying the transmission node that the signal has been received. On the premise that each of the receiving nodes has a confirmation signal control means capable of controlling the return of the confirmation signal from the own node to the transmitting node and detecting the return state of the confirmation signals of all the receiving nodes, while the above The transmitting node retransmits the transmission signal when there is a receiving node that does not return the confirmation signal, and a retransmission control unit that detects the faulty node by determining that the transmission signal has failed when the transmission signal is retransmitted a predetermined number of times. And a detection means for doing so. Then, when a receiving node to which the confirmation signal is not returned is detected by another receiving node, the other receiving node stops controlling the signal, and the transmitting node detects the faulty node by the detecting means for detecting the faulty node. After the detection, the other receiving nodes write the transmission signal in the memory of the own node and store it, and perform control according to the signal stored in the own node. .

【0010】[0010]

【0011】[0011]

【発明の効果】本願の第1の発明によれば、上記確認信
号が返送されない受信ノードが検知された場合には、そ
の他の受信ノード(つまり送信信号を正常に受信した受
信ノード)は、その時点では当該信号に応じた制御は行
わず、故障ノードが検出された後、当該信号が再度送信
されて初めて当該信号に応じた制御を行うので、上記確
認信号が返送されない受信ノードが検知されてから故障
ノードが検出されるまでの間に上記送信信号の再送が行
なわれても、当該信号に応じた制御が無駄に繰り返され
ることを有効に防止できる。
According to the first invention of the present application, when the receiving node to which the confirmation signal is not returned is detected, the other receiving nodes (that is, the receiving nodes that have normally received the transmission signal) At this point, control according to the signal is not performed, and after the faulty node is detected, control is performed according to the signal only after the signal is transmitted again, so the receiving node that does not return the confirmation signal is detected. Even if the transmission signal is retransmitted during the period from the detection of the faulty node to the detection of the faulty node, it is possible to effectively prevent unnecessary control from being repeated in accordance with the signal.

【0012】また、本願の第2の発明によれば、上記確
認信号が返送されない受信ノードが検知された場合に
は、その他の受信ノード(つまり送信信号を正常に受信
した受信ノード)は、その時点では当該信号に応じた制
御は行わず、故障ノードが検出された後、自ノード内に
記憶していた当該信号に応じた制御を行うので、上記確
認信号が返送されない受信ノードが検知されてから故障
ノードが検出されるまでの間に上記送信信号の再送が行
なわれても、当該信号に応じた制御が無駄に繰り返され
ることを有効に防止できる。また、この場合、故障ノー
ドが検出された後、当該信号が再度送信されることはな
いので、確認信号が返送されない受信ノードが検知され
た場合における再送処理を簡略化することができ、再送
によるトラフィック量の低減を図ることができる。
Further, according to the second invention of the present application, when the receiving node to which the confirmation signal is not returned is detected, the other receiving nodes (that is, the receiving nodes that have normally received the transmission signal) At this point, control according to the signal is not performed, but after the faulty node is detected, control is performed according to the signal stored in the own node, so that the receiving node that does not return the confirmation signal is detected. Even if the transmission signal is retransmitted during the period from the detection of the faulty node to the detection of the faulty node, it is possible to effectively prevent unnecessary control from being repeated in accordance with the signal. Further, in this case, since the signal is not retransmitted after the faulty node is detected, the retransmission process in the case where the receiving node for which the confirmation signal is not returned is detected can be simplified and The amount of traffic can be reduced.

【0013】[0013]

【実施例】以下、この発明の実施例を、添付図面に基づ
いて詳細に説明する。まず、本発明の実施形態の参考例
について説明する。図1は、この参考例に係る多重伝送
装置の全体構成を概略的に示す説明図であるが、この図
に示すように、本参考例に係る多重伝送装置では、多重
伝送ラインBS(以下、単にバスと略称する)に例えば4
個のノードA,B,C,Dが接続され、ノードB,Cにはス
モールランプLb,Lcが、またノードDにはスモールラ
ンプLd1及びLd2がそれぞれ接続されている。一方、
ノードAには、上記各スモールランプLb,Lc,Ld1及
びLd2の点灯・消灯を制御するランプスイッチSaが接
続されている。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. First, a reference example of the embodiment of the present invention will be described. FIG. 1 is an explanatory view schematically showing the overall configuration of the multiplex transmission device according to this reference example. As shown in this figure, in the multiplex transmission device according to this reference example, the multiplex transmission line BS (hereinafter, For example, 4
The nodes A, B, C and D are connected to each other, the nodes B and C are connected to the small lamps Lb and Lc, and the node D is connected to the small lamps Ld1 and Ld2. on the other hand,
The node A is connected to a lamp switch Sa that controls turning on / off of each of the small lamps Lb, Lc, Ld1 and Ld2.

【0014】上記各ノードA,B,C,Dは、それぞれ同
一の構成を備えており、図2に示すように、バスBSに
接続されたバスI/F(インタフェイス)回路2と、バス
BSのデータ通信状態に応じて通信制御を行う通信制御
LSI(大規模集積回路)3と、入力I/F(インタフェ
イス)7および出力I/F(インタフェイス)8を有し、
RAM4/ROM5のメモリ装置に格納されたプログラ
ムに従って動作するCPU(中央演算処理ユニット)6
と、車載バッテリ(+B)からの給電ラインおよびアース
線(GND)に接続され、上記通信制御LSI3及びCP
U6に対してリセット信号を出力し得る電源回路9とを
備えて構成されている。
Each of the nodes A, B, C, D has the same configuration, and as shown in FIG. 2, a bus I / F (interface) circuit 2 connected to a bus BS and a bus I / F (interface) circuit 2. A communication control LSI (large-scale integrated circuit) 3 for controlling communication according to the data communication state of the BS, an input I / F (interface) 7 and an output I / F (interface) 8 are provided.
CPU (Central Processing Unit) 6 that operates according to a program stored in the memory device of RAM4 / ROM5
And the power supply line from the on-vehicle battery (+ B) and the ground line (GND), and the communication control LSI 3 and CP are connected.
And a power supply circuit 9 capable of outputting a reset signal to U6.

【0015】上記通信制御LSI3は、図3に示すよう
に、バスBSを介して他のノードに送信信号を出力する
場合に送信制御を行う送信制御回路11と、上記CPU
6からバスBSを介して他のノードに送りたいデータを
書き込む一種の制御用メモリとしての送信バッファ12
と、バスBSを介して送信されてきた他のノードからの
送信信号を受信する場合に受信制御を行う受信制御回路
13と、上記CPU6に入力すべき他のノードから送ら
れてきたデータを書き込む一種の制御用メモリとしての
受信バッファ14と、上記受信制御回路13で受信した
信号が入力されるとともに上記送信制御回路11の動作
を制御する動作制御回路15とを備えている。また、上
記通信制御LSI3には、バスBSを介して他のノード
との間でデータ通信を行う場合に、送受信タイミングを
取るためのタイミング制御回路16が設けられ、該タイ
ミング制御回路16には発振回路17が付設されてい
る。
As shown in FIG. 3, the communication control LSI 3 includes a transmission control circuit 11 for controlling transmission when a transmission signal is output to another node via a bus BS, and the CPU.
A transmission buffer 12 as a kind of control memory for writing data to be sent from 6 to another node via the bus BS
And a reception control circuit 13 for controlling reception when receiving a transmission signal from another node transmitted via the bus BS, and writing data transmitted from another node to be input to the CPU 6. It comprises a reception buffer 14 as a kind of control memory, and an operation control circuit 15 which receives the signal received by the reception control circuit 13 and controls the operation of the transmission control circuit 11. Further, the communication control LSI 3 is provided with a timing control circuit 16 for taking a transmission / reception timing when performing data communication with another node via the bus BS, and the timing control circuit 16 oscillates. A circuit 17 is attached.

【0016】本参考例に係る多重伝送装置では、送信ノ
ードが信号出力を行った場合に、この信号(送信信号)を
受信した受信ノードが、該信号を受信したことを上記送
信ノードに報知する信号(確認信号:所謂ACK信号)を
返送するようになっており、各ノードA,B,C,Dの通
信制御LSI3には、確認信号が返送されない受信ノー
ドがあった場合に、バスBSを介して上記送信信号を再
送するための再送制御回路18が設けられている。ま
た、本参考例では、上記再送制御回路18に、自ノード
も含めて全てのノードA,B,C,Dの確認信号(ACK信
号)を管理し、自ノードから送信ノードへのACK信号
の返送を制御するACK制御回路19が付設されてい
る。そして、該ACK制御回路19は、全てのノード
A,B,C,Dについて常時作動するが、上記再送制御回
路18は、自ノードが送信モードで上記送信制御回路1
1が作動している場合にのみ作動するようになってい
る。
In the multiplex transmission apparatus according to the present reference example, when the transmission node outputs a signal, the reception node that receives this signal (transmission signal) notifies the transmission node that the signal has been received. A signal (confirmation signal: a so-called ACK signal) is returned, and if there is a receiving node for which the confirmation signal is not returned in the communication control LSI 3 of each node A, B, C, D, the bus BS is set. A retransmission control circuit 18 for retransmitting the above-mentioned transmission signal is provided. Further, in the present reference example, the retransmission control circuit 18 manages the confirmation signals (ACK signals) of all the nodes A, B, C, D including the own node, and sends the ACK signal from the own node to the transmitting node. An ACK control circuit 19 for controlling returning is attached. The ACK control circuit 19 always operates for all the nodes A, B, C, D, but the retransmission control circuit 18 does not operate in the transmission mode when the node itself is in the transmission mode.
It works only when 1 is working.

【0017】上記のように構成された通信制御LSI3
を備えた各ノードA,B,C,Dは、バスBSを介し他の
ノードに対して、例えば図4に示すようなフレームフォ
ーマットでデータの送受信を行う。図4においてアルフ
ァベット文字で表示された各フレームは、それぞれ以下
のような内容を表している。 ・SOF : フレームのスタート ・PRIORITY : 信号どうしが衝突した際の優先
順位を示す ・TYPE : 基本的にはどういったフレームであるか
を示す領域 ・ID : 各ノードに対して固有に定められたコードで
データの出所を示す ・DATA(0〜3) : データの内容 ・EOD : データの終わり ・ACK : 送信ノードからの送信信号を正確に受信し
た旨を知らせる確認信号 ・EOF : フレームの終わり
Communication control LSI 3 configured as described above
Each of the nodes A, B, C, and D provided with the above-mentioned node transmits / receives data to / from another node via the bus BS, for example, in a frame format as shown in FIG. In FIG. 4, each frame displayed with alphabetic characters represents the following contents.・ SOF: Start of frame ・ PRIORITY: Priority when signals collide ・ TYPE: Area that basically indicates what frame ・ ID: Uniquely determined for each node The source of data is indicated by a code. ・ DATA (0 to 3): Content of data ・ EOD: End of data ・ ACK: Acknowledgment signal indicating that the transmission signal from the transmitting node has been correctly received ・ EOF: End of frame

【0018】また、図5は、上記"TYPE"のフレーム
を具体的に示した図である。この図に示されるよう
に、"TYPE"フレームは8ビットの情報を表示するこ
とができ、例えば、そのうち3ビットは当該フレームが
どういったフレームであるかを示し、また、1ビットで
フレーム長を示している。残りの4ビットは予備に用い
ることができる。本参考例では、この予備のうちの1つ
に、再送信号を送信する場合に、当該信号が再送である
ことを報知する再送情報を入れるようにしている。従っ
て、当該信号を受信したノードは、この"TYPE"に表
示された再送情報(具体的には再送フラグ)により、当該
信号が再送であることを直ちに知ることができる。
Further, FIG. 5 is a diagram specifically showing the above-mentioned "TYPE" frame. As shown in this figure, the "TYPE" frame can display 8 bits of information, for example, 3 bits indicate what kind of frame the frame is, and 1 bit indicates the frame length. Is shown. The remaining 4 bits can be reserved. In the present reference example, one of the spares is provided with retransmission information for notifying that the signal is a retransmission when the retransmission signal is transmitted. Therefore, the node receiving the signal can immediately know that the signal is a retransmission from the retransmission information (specifically, the retransmission flag) displayed in the "TYPE".

【0019】上記のようなフレームフォーマットで伝送
されたデータは受信ノードによって受信データとしてメ
モリされる。この受信データのメモリ構成を図6に示
す。この場合、N個のデータ(ID)が受信され、各デー
タ用のメモリには、受信後の経過時間を示す時間データ
(単位:m sec)と、4バイトの受信データ(データ0〜3)
と、データ受信フラグとが格納される。尚、該受信フラ
グは、例えば、データ受信がない場合には0が、データ
受信があった場合には1がそれぞれ立てられるフラグで
ある。また、本参考例では、受信データのフレームフォ
ーマットにおけるTYPEフレームに表示された再送情
報(再送フラグ)が、当該データが再送であることを示し
ている場合において、後で詳しく説明するように、メモ
リされた受信データの受信後の経過時間をデータ管理す
ることにより、前回受信したデータと同一データを所定
時間(例えば10msec)以内に受信した場合にのみ、放棄
すべき(つまり、無視して当該信号に応じた制御を中止
すべき)再送データとして処理するように設定されてい
る。
The data transmitted in the frame format as described above is stored as received data by the receiving node. The memory configuration of this received data is shown in FIG. In this case, N pieces of data (ID) are received, and the time data indicating the elapsed time after reception is stored in the memory for each data.
(Unit: m sec) and 4 bytes of received data (data 0-3)
And a data reception flag are stored. The reception flag is a flag that is set to 0 when no data is received and set to 1 when data is received. Further, in this reference example, when the retransmission information (retransmission flag) displayed in the TYPE frame in the frame format of the received data indicates that the data is a retransmission, as will be described later in detail, By managing the elapsed time after receiving the received data, the data should be abandoned only when the same data as the previously received data is received within a predetermined time (for example, 10 msec) (that is, it is ignored and the signal concerned is deleted). The control is to be stopped) and is processed as retransmitted data.

【0020】上記受信データメモリの経過時間の更新
は、上記CPU6に内臓もしくは付設されたタイマによ
り、例えば、図8に示すフローチャートに従って行なわ
れる。すなわち、上記タイマによる割り込みを例えば1
msec毎に発生させ、IDnのデータについて、データメ
モリの時間データの値を1ずつ+(プラス)してインクリ
メントする(ステップ#11及びステップ#12)。そし
て、これを、n=0まで、つまり、N個のデータ全てに
渡って行う(ステップ#13及びステップ#14)。
The elapsed time of the reception data memory is updated by a timer built in or attached to the CPU 6, for example, according to the flowchart shown in FIG. That is, for example, an interrupt by the timer is set to 1
It is generated every msec, and for the data of IDn, the value of the time data in the data memory is incremented by + (plus) by 1 (step # 11 and step # 12). Then, this is performed until n = 0, that is, over all N pieces of data (steps # 13 and # 14).

【0021】また、データを受信する場合におけるデー
タ受信処理は、図7のフローチャートに従って行なわれ
る。すなわち、データが受信されると、まず、ステップ
#1で、受信したデータのIDに応じてメモリアドレス
を作成する。次に、ステップ#2で受信したデータが再
送データであるか否かを判定する。この判定は、受信デ
ータのフレームフォーマットにおけるTYPEフレーム
に表示された再送情報(再送フラグ)に基づいて行なわれ
る。そして、再送データでない場合(ステップ#2:N
O)には、受信データをメモリに書き込む(ステップ#
5)とともに、経過時間を0にクリアし(ステップ#
6)、データ受信フラグを1(受信)にセットする(ステッ
プ#7)。
Further, the data receiving process when receiving the data is performed according to the flowchart of FIG. That is, when data is received, first, in step # 1, a memory address is created according to the ID of the received data. Next, it is determined whether the data received in step # 2 is retransmission data. This determination is made based on the retransmission information (retransmission flag) displayed in the TYPE frame in the frame format of the received data. Then, if it is not retransmission data (step # 2: N
O), write the received data to the memory (step #
At the same time, clear the elapsed time to 0 (Step #
6), the data reception flag is set to 1 (reception) (step # 7).

【0022】一方、受信データが再送である場合(ステ
ップ#:YES)には、ステップ#3で、同一データを受
信してからの経過時間が10msec未満であるか否かが判
定され、これがNOの場合には、無視すべき再送データ
とは取り扱わずにステップ#5以降の各ステップを順次
実行する。また、ステップ#3での判定結果がYESの
場合には、ステップ#4で受信データとメモリデータと
のデータ内容を実際に比較し、同じである場合には、当
該受信データは無視される。一方、データ内容が実際に
は同じでない場合(ステップ#4:NO)には、新規の受
信データとして扱われ、ステップ#5以降の各ステップ
が順次実行されるようになっている。
On the other hand, when the received data is retransmitted (step #: YES), it is determined in step # 3 whether the elapsed time from receiving the same data is less than 10 msec, which is NO. In this case, each step after step # 5 is sequentially executed without being treated as retransmission data that should be ignored. If the determination result in step # 3 is YES, the data contents of the received data and the memory data are actually compared in step # 4, and if they are the same, the received data is ignored. On the other hand, when the data contents are not actually the same (step # 4: NO), they are treated as new received data, and the steps from step # 5 are sequentially executed.

【0023】以上の受信データ処理において、前回受信
したデータと同一データを所定時間(例えば10msec)以
内に受信した場合にのみ、無視すべき再送データとして
処理し、上記所定時間を経過した後に受信した場合に
は、これを無視せずに新着データとして受信処理するよ
うに設定したのは、以下の理由による。すなわち、例え
ば、図10の送受信タイミングを示す線図に示すよう
に、ノードAが送信信号(本送)Pを送信して全ての受信
ノードB,C,DからACK信号が返送され、その後、あ
る程度以上時間が経過してから今度は送信信号(本送)Q
を送信し、ノードB,CからACK信号が返送された
が、ノードDは正しく受信できずACK信号の返送がな
かった場合において、ノードAから本送Qの再送(再送
1)が送信される前に、ノードBが別の送信信号(本送
R)を送信した場合を仮定する。尚、以下の説明に用い
る送受信タイミングを示す線図において、各ノードA,
B,C,Dの送受信タイミングを示す直線上に立てられた
短い縦線は、送信信号の受信対するACK信号の返送を
示しており、実線は当該信号に応じた制御を実行する場
合を、また、破線はACK信号の返送を行うが受信デー
タは無視されて当該信号に応じた制御は実行されない場
合をそれぞれ示している。
In the above received data processing, only when the same data as the previously received data is received within a predetermined time (for example, 10 msec), it is processed as retransmission data that should be ignored, and it is received after the predetermined time has passed. In this case, the reason why the reception process is performed as new arrival data without ignoring it is as follows. That is, for example, as shown in the diagram showing the transmission / reception timing of FIG. 10, the node A transmits a transmission signal (main transmission) P, all the receiving nodes B, C, D return ACK signals, and thereafter, After a certain amount of time has passed, this time the transmission signal (main transmission) Q
When the ACK signal is sent back from the nodes B and C, but the node D cannot receive it correctly and the ACK signal is not sent back, the node A sends a retransmission of the main transmission Q (retransmission 1). Suppose that the node B transmits another transmission signal (main transmission R) before. In the diagram showing the transmission / reception timing used in the following description, each node A,
A short vertical line on the straight line indicating the transmission / reception timing of B, C, and D indicates the return of the ACK signal to the reception of the transmission signal, and the solid line indicates the case where the control corresponding to the signal is executed. The broken lines indicate the case where the ACK signal is returned, but the received data is ignored and the control according to the signal is not executed.

【0024】この場合、直前の受信データのフレームを
メモリしておくだけであるとすれば、ノードB,Cにつ
いては、本送Rの送受信(時間T5)によって本送Qの受
信データはリセットされてしまうので、本送Rの送信後
に送信された本送Qの再送1を新着のデータとして受信
してしまい(時間T6)、本送Qの受信時に行ったのと同
様の制御を繰り返して行うことになる。従って、直前の
ものだけでなくそれ以前の受信データもメモリしてお
き、本送から再送までの時間間隔等に基づいて予め適切
に設定された所定時間内にについては、同一のデータを
受信した場合には、これを再送データとして無視して同
一制御が繰り返されないようにしたものである。
In this case, if only the frame of the immediately preceding received data is stored in the memory, the received data of the main transmission Q is reset by the transmission / reception of the main transmission R (time T5) in the nodes B and C. Therefore, the retransmission 1 of the main transmission Q transmitted after the transmission of the main transmission R is received as new data (time T6), and the same control as that performed at the time of receiving the main transmission Q is repeated. It will be. Therefore, not only the immediately preceding data but also the received data before that are stored in memory, and the same data is received within the predetermined time set appropriately beforehand based on the time interval from the main transmission to the retransmission. In this case, this is ignored as retransmission data so that the same control is not repeated.

【0025】また、上記所定時間が長すぎる場合もしく
はこの時間の上限が規定されていない場合には、次のよ
うな不都合が生じ得る。すなわち、例えば、図11の送
受信タイミングを示す線図に示すように、ノードAが送
信信号(第1回目の本送)Pを送信して全ての受信ノード
B,C,DからACK信号が返送され、その後、ある程度
以上時間が経過してから再度同じ送信信号(第2回目の
本送)Pを送信し、ノードB,CからACK信号が返送さ
れたが、ノードDは正しく受信できずACK信号の返送
がなかった場合において、ノードAから本送Qの再送
(再送1)が送信された場合を仮定する。この場合、ノー
ドDは、第1回目に受信した本送Pの受信データをメモ
リしているので、上記所定時間が余りに長く設定されて
いる場合もしくはこの時間の上限が設定されていない場
合には、再送1を受信してもこれを第1回目の本送Pの
再送として無視してしまう(時間T7)ことになり、第2
回目の本送Pに対して本来行うべき制御を行うことがで
きないからである。
Further, if the predetermined time is too long or the upper limit of this time is not defined, the following inconvenience may occur. That is, for example, as shown in the diagram of the transmission / reception timing of FIG. 11, node A transmits a transmission signal (first main transmission) P and all reception nodes B, C, D return ACK signals. Then, after a certain amount of time has passed, the same transmission signal (second main transmission) P was transmitted again, and ACK signals were returned from nodes B and C, but node D could not receive correctly and ACK Retransmission of main transmission Q from node A when no signal is returned
Assume that (Resend 1) is sent. In this case, since the node D stores the received data of the main transmission P received at the first time, if the predetermined time is set too long or the upper limit of this time is not set, , Even if the retransmission 1 is received, it will be ignored as the retransmission of the first actual transmission P (time T7), and the second
This is because the control that should be originally performed cannot be performed on the main feeding P for the second time.

【0026】以上のように構成された多重伝送装置の作
用について、図9の送受信タイミングを示す線図を参照
しながら説明する。すなわち、ノードAが送信信号(本
送)Pを送信して全ての受信ノードB,C,DからACK
信号が返送され、その後、ある程度以上時間が経過して
から今度は別の送信信号(本送)Qを送信し、ノードB,
CからACK信号が返送されたが、ノードDは正しく受
信できずACK信号の返送がなかった場合(時間T1)、
ノードAはこの本送Qの再送を所定回数(例えば3回:再
送1〜再送3)繰り返して送信する。尚、この再送の繰
り返しは、途中でノードDが受信に成功し、ACK信号
を返送して来た場合には中止される。また、3回再送を
繰り返しても、ノードDからACK信号の返送がない場
合(時間T2,T3,T4)には、このノードDについては
故障したものと判定されるようになっている。
The operation of the multiplex transmission device configured as described above will be described with reference to the diagram of FIG. 9 showing the transmission / reception timing. That is, the node A transmits the transmission signal (main transmission) P and ACKs from all the receiving nodes B, C, and D.
After the signal is returned, after a certain amount of time has passed, another transmission signal (main transmission) Q is transmitted, and the node B,
When the ACK signal is returned from C but the node D cannot receive it correctly and the ACK signal is not returned (time T1),
The node A repeats this retransmission of the main transmission Q a predetermined number of times (for example, three times: retransmission 1 to retransmission 3) and transmits the result. It should be noted that the repetition of the retransmission is stopped when the node D succeeds in the reception and returns the ACK signal on the way. Further, even if the retransmission is repeated three times, if the ACK signal is not returned from the node D (time T2, T3, T4), it is determined that the node D has failed.

【0027】本参考例では、本送Qを正しく受信したノ
ードB,Cは、その本送Qを受信した時点でその信号に
対応した制御を実行するが、その後に送信されてくる再
送については、上述のように、これらの再送信号のフレ
ームフォーマットのTYPEフレームに、当該信号が再
送である旨を示す再送情報(再送フラグ)が表示されてい
るので、この再送信号を所定時間(10msec)内に受信し
た時点で、当該信号が無視すべき再送であることが判る
ので、これに応じた制御を繰り返して行うことはない。
In this reference example, the nodes B and C that have correctly received the main transmission Q execute the control corresponding to the signal at the time of receiving the main transmission Q, but regarding the retransmission that is transmitted after that. As described above, since the retransmission information (retransmission flag) indicating that the signal is retransmitted is displayed in the TYPE frame of the frame format of these retransmitted signals, this retransmitted signal is transmitted within the predetermined time (10 msec). Since it is known that the signal is a retransmission that should be ignored at the time of reception, the control according to this is not repeated.

【0028】以上、説明したように、本発明の実施形態
の参考例によれば、再送された送信信号については上記
再送情報(再送フラグ)によって当該信号が再送であるこ
とが直ちに分かるようになる。また、各受信ノードB,
C,Dは、再送された送信信号の受信時に、対応した制
御を行うべき受信信号であるか否かを確実に判定するこ
とができ、そうでない場合(所定時間内に同一の信号を
受信している場合)には、上記受信信号を放棄して該信
号に応じた制御が無駄に繰り返されることを有効に防止
することができるのである。
As described above, according to the reference example of the embodiment of the present invention, with respect to the retransmitted transmission signal, it becomes immediately apparent from the retransmission information (retransmission flag) that the signal is a retransmission. . Also, each receiving node B,
When receiving the retransmitted transmission signal, C and D can reliably determine whether or not the reception signal should be subjected to the corresponding control, and if not (the same signal is received within a predetermined time, In this case), it is possible to abandon the received signal and effectively prevent the control according to the signal from being repeated uselessly.

【0029】次に、本発明の第1実施例について説明す
る。本実施例では、ACK信号を返送しないノードがあ
った場合には、他の受信ノードは、最初の送信(本送)を
受信した際には当該信号に応じた制御は行わず、上記A
CK信号を返送しないノードが故障していることが確認
された後、送信ノードが再度同じ信号を送信したときに
制御を行うようになっている。図12は、第1実施例に
係る受信データのメモリ構成を示す説明図であるが、図
6の説明図と比較して良く分かるように、上述した参考
例の場合との違いは、受信データメモリに、当該データ
を受信してからの経過時間を示す時間データがメモリさ
れていない点だけである。
Next, a first embodiment of the present invention will be described. In this embodiment, when there is a node that does not return the ACK signal, the other receiving nodes do not perform control according to the signal when the first transmission (main transmission) is received, and the above A
After it is confirmed that the node that does not return the CK signal has failed, control is performed when the transmitting node transmits the same signal again. FIG. 12 is an explanatory diagram showing the memory configuration of the received data according to the first embodiment. As can be seen by comparing with the explanatory diagram of FIG. 6, the difference from the above-mentioned reference example is that the received data is The only difference is that the memory does not store time data indicating the time elapsed since the data was received.

【0030】この場合には、受信データ処理は、図16
のフローチャートに従って行なわれる。すなわち、デー
タが受信されると、まず、ステップ#51で、ACKエ
ラーがあったか否かが判定される。この場合、ACKエ
ラーとは、送られた送信信号に対してACK信号を返送
しないノードがあった場合を意味し、通信制御LSI3
のACK制御回路19で、自ノードを含めて全てのノー
ドのACK信号の返送状態が検知される。尚、このAC
Kエラーは、全てのノードのACK信号の返送状態を示
すテーブル(ACKテーブル)が更新された場合に、AC
Kエラー有りと判定される。つまり、あるノードからの
ACK信号の返送がなくてACKエラー有りと判定され
た後、2回目以降の判定においては、当該ノードに関し
てはACK信号の返送がない状態が基準となり、ACK
信号の返送が無くてもACKエラーとは判定されないよ
うになっている。上記ステップ#51の判定結果がNO
の場合には、ステップ#52で、受信データのIDのメ
モリアドレスを作成し、受信データをメモリに書き込ん
だ(ステップ#53)後、データ受信フラグを1(受信)に
セットする(ステップ#54)。また、ACKエラーがあ
った場合(ステップ#51:YES)にはデータの受信が
繰り返される。
In this case, the received data processing is as shown in FIG.
It is performed according to the flowchart of. That is, when data is received, it is first determined in step # 51 whether or not there is an ACK error. In this case, the ACK error means that there is a node that does not return the ACK signal in response to the transmitted transmission signal.
The ACK control circuit 19 detects the return states of the ACK signals of all the nodes including the own node. This AC
The K error is an AC error when the table (ACK table) indicating the ACK signal return status of all nodes is updated.
It is determined that there is a K error. That is, after it is determined that there is no ACK signal returned from a certain node and there is an ACK error, the second and subsequent determinations are based on the condition that no ACK signal is returned for that node.
Even if there is no signal returned, it is not judged as an ACK error. The determination result of step # 51 is NO.
In this case, in step # 52, the memory address of the ID of the received data is created, the received data is written in the memory (step # 53), and then the data reception flag is set to 1 (reception) (step # 54). ). If there is an ACK error (step # 51: YES), data reception is repeated.

【0031】一方、送信側では、図13のフローチャー
トに示すように、データ送信を行う場合、まず、ステッ
プ#21で送信バッファ12に送信すべきデータが書き
込まれ、次に、ステップ#22でACKテーブルエラー
の割り込みを許可する状態にされる。このACKテーブ
ルエラーとは、故障が確定したノードがあった場合を意
味する。そして、送信が完了した場合、つまり、全ての
ノードが送信データを正常に受信して送信を終えた場合
には、図15のフローチャートに示すように、ACKテ
ーブルエラーの割り込みが禁止される。また、送信が完
了するまでにACKテーブルエラーの割り込みがあった
場合には、図14のフローチャートに示すように、ステ
ップ#31で、送信が終了したか否か、つまり、ACK
信号が返送されないノードがあったが所定回数(例えば
3回)の再送を終えたか否かが判定され、これがYES
になると、ステップ#32で、再度データ送信が行なわ
れるようになっている。
On the other hand, on the transmitting side, as shown in the flowchart of FIG. 13, when data transmission is performed, first, the data to be transmitted is written in the transmission buffer 12 in step # 21, and then ACK is transmitted in step # 22. The table error interrupt is enabled. The ACK table error means that there is a node whose failure is confirmed. Then, when the transmission is completed, that is, when all the nodes normally receive the transmission data and finish the transmission, as shown in the flowchart of FIG. 15, the interrupt of the ACK table error is prohibited. If there is an ACK table error interrupt before the transmission is completed, as shown in the flowchart of FIG. 14, it is determined in step # 31 whether the transmission is completed, that is, ACK.
There was a node where the signal was not returned, but it was judged whether or not the retransmission was completed a predetermined number of times (for example, 3 times), and this is YES.
Then, in step # 32, the data is transmitted again.

【0032】本発明の第1実施例に係る多重伝送装置の
作用について、図17の送受信タイミングを示す線図を
参照しながら説明する。すなわち、ノードAが送信信号
(本送)Pを送信して全ての受信ノードB,C,DからAC
K信号が返送され、その後、ある程度以上時間が経過し
てから今度は別の送信信号(本送)Qを送信し、ノード
B,CからACK信号が返送されたが、ノードDは正し
く受信できずACK信号の返送がなかった場合(時間T
11)、ノードAはこの本送Qの再送を所定回数(例えば
3回:再送1〜再送3)繰り返して送信する。尚、この再
送の繰り返しは、途中でノードDが受信に成功し、AC
K信号を返送して来た場合には中止される。また、3回
再送を繰り返しても、ノードDからACK信号の返送が
ない場合(時間T12,T13,T14)には、このノード
Dについては故障したものと判定されるようになってい
る。
The operation of the multiplex transmission apparatus according to the first embodiment of the present invention will be described with reference to the diagram of FIG. 17 showing the transmission / reception timing. That is, node A transmits the signal
(Main transmission) Send P to all receiving nodes B, C, D
The K signal was returned, and after a certain amount of time had passed, another transmission signal (main transmission) Q was transmitted this time, and the ACK signal was returned from the nodes B and C, but the node D could not receive it correctly. If there is no ACK signal returned (time T
11), the node A repeats the retransmission of the main transmission Q a predetermined number of times (for example, 3 times: retransmission 1 to retransmission 3) and transmits. It should be noted that the repetition of this re-transmission succeeds when the node D successfully receives the
If the K signal is returned, it will be canceled. Further, even if the retransmission is repeated three times, if the ACK signal is not returned from the node D (time T12, T13, T14), it is determined that the node D has failed.

【0033】本実施例では、本送Qを正常に受信したノ
ードB,Cは、その本送Qを受信した時点では当該信号
に応じた制御は行わず、ACK信号の返送がないノード
Dについて故障判定が行なわれた後、再度同じ送信デー
タが送信(本送Q)された際に、この信号を受信して当該
信号に応じた制御を行う(時間T15)。従って、ACK
信号が返送されないノード(ノードD)が検知されてから
故障判定が行なわれるまでの間に行なわれた再送に対し
ては、その信号に応じた制御を無駄に繰り返して行うこ
とはない。
In this embodiment, the nodes B and C that have normally received the main transmission Q do not perform control according to the signal at the time of receiving the main transmission Q, and for the node D that does not return the ACK signal. After the failure determination is made, when the same transmission data is transmitted again (main transmission Q), this signal is received and control according to the signal is performed (time T15). Therefore, ACK
For the retransmission performed between the time when the node (node D) to which the signal is not returned is detected and the failure determination is performed, the control according to the signal is not wastefully repeated.

【0034】尚、この第1実施例では、上記参考例の場
合に比べて各ノードA,B,C,D間の同期制御が簡単に
行える。すなわち、各ノードA,B,C,DのCPU6に
内蔵もしくは付設されたタイマを、信号を正常に受信し
て制御を行った時点でそれぞれクリアするように設定す
れば、参考例の場合であれば、図18の送受信タイミン
グを示す線図に示すように、第1回目の本送Pを受信し
た時点(時間T16)でノードB,C,Dのタイマはクリア
されて同期するが、その後、ある程度時間が経過してか
ら第2回目の本送Pが送信された際に、ノードB,Cは
受信したがノードDは受信できず(時間T17)、このノ
ードDは2回目の再送で受信した(時間T18)場合を考
えると、ノードB,Cは時間T17でタイマがクリアさ
れるが、ノードDについては時間T18でやっとタイマ
がクリアされることになるので、タイマがクリアされる
時間にずれが生じることになる。
In the first embodiment, the synchronization control among the nodes A, B, C, D can be performed more easily than in the case of the reference example. That is, in the case of the reference example, if the timers built in or attached to the CPU 6 of each node A, B, C, D are set so as to be cleared when the signal is normally received and the control is performed, For example, as shown in the transmission / reception timing diagram of FIG. 18, the timers of the nodes B, C, and D are cleared and synchronized at the time when the first main transmission P is received (time T16). When the second main transmission P was transmitted after a certain amount of time had passed, nodes B and C received, but node D could not receive (time T17), and this node D received the second retransmission. Considering the case (time T18), the timers of the nodes B and C are cleared at time T17, but for the node D, the timer is finally cleared at time T18. There will be a gap.

【0035】これに対して本第1実施例の場合には、ノ
ードB,Cは第2回目の本送Pを受信した時点(時間T1
7)では、ノードDがACK信号を返送しないので、こ
れに対応した制御は実行しないので、この時点ではタイ
マはクリアされず、全ての受信ノードB,C,DがACK
信号を返送した時点(時間T18)でタイマがクリアされ
る。つまり、ノードB,C,Dは、この時点で同期するこ
とになり、ノードの制御特性を利用して各ノードA,B,
C,D間の同期制御を簡単に行うことができる。
On the other hand, in the case of the first embodiment, the nodes B and C receive the second main transmission P (time T1).
In 7), since the node D does not send back an ACK signal, the control corresponding to this is not executed, so the timer is not cleared at this point, and all the receiving nodes B, C, D
The timer is cleared when the signal is returned (time T18). That is, the nodes B, C, and D will be synchronized at this point, and each node A, B, and
The synchronous control between C and D can be easily performed.

【0036】次に、本発明の第2実施例について説明す
る。本実施例では、ACK信号を返送しないノードがあ
った場合には、他の受信ノードは、最初の送信(本送)を
受信した際には当該信号に応じた制御は行わず、上記A
CK信号を返送しないノードが故障していることが確認
された後、自ノード内に記憶していた当該信号に応じた
制御を行うようになっている。尚、本第2実施例に係る
受信データのメモリ構成は、第1実施例の場合と同様で
ある。
Next, a second embodiment of the present invention will be described. In this embodiment, when there is a node that does not return the ACK signal, the other receiving nodes do not perform control according to the signal when the first transmission (main transmission) is received, and the above A
After it is confirmed that the node that does not return the CK signal is out of order, control is performed according to the signal stored in the own node. The memory configuration of the received data according to the second embodiment is the same as that of the first embodiment.

【0037】図19のフローチャートは、第2実施例に
おけるデータ受信処理を示している。すなわち、データ
が受信されると、まず、ステップ#61で、ACKエラ
ーがあったか否か、つまりACK信号を返送しない受信
ノードがあったか否かが判定される。この判定結果がN
Oの場合には、ステップ#63で、受信データのIDの
メモリアドレスを作成し、受信データをメモリに書き込
んだ後(ステップ#64)後、データ受信フラグを1(受
信)にセットする(ステップ#65)。また、ACKエラ
ーがあった場合(ステップ#61:YES)には、ステッ
プ#62でACKテーブルエラーがあるか否か、つま
り、送信ノード側において判定されたACKテーブルエ
ラーがあったか否かに基づいて、故障が確定したノード
があるか否かが判定される。この判定結果がNOの場合
には、データは再送であるので放棄され、データ受信が
繰り返される。一方、故障が確定したノードがある場合
(ステップ#62:YES)には、ステップ#63以降の
各ステップが順次実行され、当該受信データがメモリに
書き込まれるようになっている。
The flowchart of FIG. 19 shows the data receiving process in the second embodiment. That is, when data is received, first, in step # 61, it is determined whether or not there is an ACK error, that is, whether or not there is a receiving node that does not return an ACK signal. This judgment result is N
In the case of O, the memory address of the ID of the received data is created in step # 63, the received data is written to the memory (step # 64), and then the data reception flag is set to 1 (received) (step # 65). If there is an ACK error (step # 61: YES), based on whether or not there is an ACK table error in step # 62, that is, whether or not there is an ACK table error determined on the transmitting node side. , It is determined whether or not there is a node for which a failure has been confirmed. If the determination result is NO, the data is retransmitted and is therefore abandoned, and the data reception is repeated. On the other hand, when there is a node whose failure has been confirmed
In (Step # 62: YES), each step after Step # 63 is sequentially executed, and the received data is written in the memory.

【0038】次に、本発明の第2実施例に係る多重伝送
装置の作用について、図20の送受信タイミングを示す
線図を参照しながら説明する。すなわち、ノードAが送
信信号(本送)Pを送信して全ての受信ノードB,C,Dか
らACK信号が返送され、その後、ある程度以上時間が
経過してから今度は別の送信信号(本送)Qを送信し、ノ
ードB,CからACK信号が返送されたが、ノードDは
正常に受信できずACK信号の返送がなかった場合(時
間T21)、ノードAはこの本送Qの再送を所定回数(例
えば3回:再送1〜再送3)繰り返して送信する。尚、こ
の再送の繰り返しは、途中でノードDが受信に成功し、
ACK信号を返送して来た場合には中止される。また、
3回再送を繰り返しても、ノードDからACK信号の返
送がない場合(時間T22,T23,T24)には、このノ
ードDについては故障したものと判定されるようになっ
ている。
Next, the operation of the multiplex transmission apparatus according to the second embodiment of the present invention will be described with reference to the diagram of FIG. That is, the node A transmits a transmission signal (main transmission) P, all the receiving nodes B, C, and D return ACK signals, and then, after a certain amount of time has elapsed, another transmission signal (main transmission) is transmitted. (Sending) Q is sent, and the ACK signal is returned from the nodes B and C, but if the node D cannot receive normally and the ACK signal is not sent back (time T21), the node A resends the main sending Q. Is repeated a predetermined number of times (for example, three times: retransmission 1 to retransmission 3) and transmitted. It should be noted that the node D succeeds in the reception during the repetition of this retransmission,
If the ACK signal is sent back, it is canceled. Also,
Even if the retransmission is repeated three times, if the node D does not return the ACK signal (time T22, T23, T24), the node D is determined to have failed.

【0039】本実施例では、本送Qを正常に受信したノ
ードB,Cは、その本送Qを受信した時点では当該信号
に応じた制御は行わず、ACK信号の返送がないノード
Dについて故障判定が行なわれた後、上述のようにして
自ノード内にメモリされた再送3の信号に応じた制御を
行う(時間T24)。従って、ACK信号が返送されない
ノード(ノードD)が検知されてから故障判定が行なわれ
るまでの間に行なわれた再送に対しては、その信号に応
じた制御を無駄に繰り返して行うことはない。また、こ
の場合、故障ノード(ノードD)が特定された後、当該信
号Qが再度送信されることはないので、ACK信号が返
送されない受信ノードDがあった場合における再送処理
を簡略化することができ、再送によるトラフィック量の
低減を図ることができるのである。尚、この第2実施例
についても、第1実施例の場合(図18の送受信タイミ
ングを示す線図参照)と同様に、参考例の場合に比べて
各ノードA,B,C,D間の同期制御を簡単に行うことが
できる。
In this embodiment, the nodes B and C that have normally received the main transmission Q do not perform control according to the signal at the time when the main transmission Q is received, and for the node D that does not return the ACK signal. After the failure determination is performed, control is performed according to the signal of the retransmission 3 stored in the own node as described above (time T24). Therefore, with respect to the retransmission performed from the time when the node (node D) to which the ACK signal is not returned is detected until the failure determination is performed, the control according to the signal is not wastefully repeated. . Further, in this case, since the signal Q is not transmitted again after the faulty node (node D) is specified, the retransmission processing in the case where there is a receiving node D for which an ACK signal is not returned is simplified. Therefore, the amount of traffic due to retransmission can be reduced. Incidentally, also in the second embodiment, as in the case of the first embodiment (see the diagram showing the transmission / reception timing of FIG. 18), the nodes A, B, C, D are different from each other in comparison with the case of the reference example. Synchronous control can be easily performed.

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

【図1】 本発明の実施形態の参考例に係る多重伝送装
置の全体構成を概略的に示すシステム構成図である。
FIG. 1 is a system configuration diagram schematically showing an overall configuration of a multiplex transmission device according to a reference example of an embodiment of the present invention.

【図2】 上記多重伝送装置のバスに接続された各ノー
ドの内部構成を概略的に示す構成図である。
FIG. 2 is a configuration diagram schematically showing an internal configuration of each node connected to a bus of the multiplex transmission device.

【図3】 上記各ノードに組み込まれた通信制御LSI
の内部構成を概略的に示す構成図である。
FIG. 3 is a communication control LSI incorporated in each of the above nodes
It is a block diagram which shows schematically the internal structure of.

【図4】 上記多重通信におけるフレームフォーマット
の一例を示す説明図である。
FIG. 4 is an explanatory diagram showing an example of a frame format in the multiplex communication.

【図5】 上記フレームフォーマットのTYPEフレー
ムの具体的構成の一例を示す説明図である。
FIG. 5 is an explanatory diagram showing an example of a specific configuration of a TYPE frame of the frame format.

【図6】 受信データのメモリ構成を示す説明図であ
る。
FIG. 6 is an explanatory diagram showing a memory configuration of received data.

【図7】 データ受信処理を説明するためのフローチャ
ートである。
FIG. 7 is a flowchart for explaining a data reception process.

【図8】 上記受信データメモリの経過時間の更新処理
を説明するためのフローチャートである。
FIG. 8 is a flowchart for explaining a process of updating the elapsed time of the reception data memory.

【図9】 上記多重伝送装置における各ノードの送受信
タイミングの一例を示す線図である。
FIG. 9 is a diagram showing an example of transmission / reception timing of each node in the multiplex transmission device.

【図10】 上記多重伝送装置において再送判定に所定
時間を設定した理由を説明するための送受信タイミング
の一例を示す線図である。
FIG. 10 is a diagram showing an example of transmission / reception timing for explaining the reason why a predetermined time is set for retransmission determination in the multiplex transmission device.

【図11】 上記多重伝送装置において再送判定に所定
時間を設定した理由を説明するための送受信タイミング
の一例を示す線図である。
FIG. 11 is a diagram showing an example of transmission / reception timing for explaining the reason why a predetermined time is set for retransmission determination in the multiplex transmission device.

【図12】 本発明の第1実施例に係る受信データのメ
モリ構成を示す説明図である。
FIG. 12 is an explanatory diagram showing a memory configuration of received data according to the first embodiment of the present invention.

【図13】 第1実施例におけるデータ送信処理を説明
するためのフローチャートである。
FIG. 13 is a flowchart for explaining a data transmission process in the first embodiment.

【図14】 第1実施例におけるデータ送信処理を説明
するためのフローチャートである。
FIG. 14 is a flowchart for explaining a data transmission process in the first embodiment.

【図15】 第1実施例におけるデータ送信処理を説明
するためのフローチャートである。
FIG. 15 is a flowchart for explaining a data transmission process in the first embodiment.

【図16】 第1実施例におけるデータ受信処理を説明
するためのフローチャートである。
FIG. 16 is a flowchart for explaining a data reception process in the first embodiment.

【図17】 第1実施例における各ノードの送受信タイ
ミングの一例を示す線図である。
FIG. 17 is a diagram showing an example of transmission / reception timing of each node in the first embodiment.

【図18】 第1実施例における各ノードの同期制御を
説明するための送受信タイミングの一例を示す線図であ
る。
FIG. 18 is a diagram showing an example of transmission / reception timing for explaining synchronization control of each node in the first embodiment.

【図19】 本発明の第2実施例におけるデータ受信処
理を説明するためのフローチャートである。
FIG. 19 is a flow chart for explaining a data receiving process in the second embodiment of the present invention.

【図20】 第2実施例における各ノードの送受信タイ
ミングの一例を示す線図である。
FIG. 20 is a diagram showing an example of transmission / reception timing of each node in the second embodiment.

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

3…通信制御LSI 6…CPU 11…送信制御回路 13…受信制御回路 15…動作制御回路 18…再送制御回路 19…ACK制御回路 A,B,C,D…ノード BS…多重伝送ライン(バス) 3 ... Communication control LSI 6 ... CPU 11 ... Transmission control circuit 13 ... Reception control circuit 15 ... Operation control circuit 18 ... Retransmission control circuit 19 ... ACK control circuit A, B, C, D ... nodes BS: Multiplex transmission line (bus)

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04Q 9/00 H04L 12/40 ─────────────────────────────────────────────────── ─── Continuation of the front page (58) Fields surveyed (Int.Cl. 7 , DB name) H04Q 9/00 H04L 12/40

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信ノードからの送信信号を受信する
と、該信号を受信したことを上記送信ノードに報知する
確認信号を返送する受信ノードを複数備えた多重伝送装
置において、 上記各受信ノードが、自ノードから上記送信ノードへの
上記確認信号の返送を制御すると共に全ての受信ノード
の確認信号の返送状態を検知し得る確認信号制御手段を
備える一方、 上記送信ノードは、上記確認信号が返送されない受信ノ
ードがあった場合に上記送信信号を再送する再送制御手
段と、上記送信信号の再送が所定回数繰り返された際に
故障と判定して故障ノードを検出する検出手段とを備え
ており、 上記確認信号が返送されない受信ノードがその他の受信
ノードによって検知された場合、その他の受信ノード
は当該信号の制御を中止し、上記送信ノードは、故障ノ
ードを検出する検出手段によって故障ノードを検出した
後、当該信号を再度送信する一方、上記その他の受信ノ
ードは再度送信された当該信号に応じた制御を行うこと
を特徴とする多重伝送装置。
1. A multiplex transmission apparatus comprising a plurality of receiving nodes which, when receiving a transmission signal from a transmitting node, returns a confirmation signal for notifying the transmitting node that the signal has been received, wherein each of the receiving nodes comprises: The transmission node does not return the confirmation signal while controlling the return of the confirmation signal from the own node to the transmission node and providing confirmation signal control means capable of detecting the return states of the confirmation signals of all the reception nodes. Retransmission control means for retransmitting the transmission signal when there is a receiving node, and detection means for detecting a failure node by determining a failure when the transmission signal is retransmitted a predetermined number of times, If the receiving node the confirmation signal is not sent back is detected by the other of the receiving node, the other receiving node stops control of the signal, the transmission Roh After detecting the faulty node by the detection means for detecting the faulty node, the node retransmits the signal, while the other receiving nodes perform control according to the retransmitted signal. Multiplexer.
【請求項2】 送信ノードからの送信信号を受信する
と、該信号を受信したことを上記送信ノードに報知する
確認信号を返送する受信ノードを複数備えた多重伝送装
置において、 上記各受信ノードが、自ノードから上記送信ノードへの
上記確認信号の返送を制御すると共に全ての受信ノード
の確認信号の返送状態を検知し得る確認信号制御手段を
備える一方、 上記送信ノードは、上記確認信号が返送されない受信ノ
ードがあった場合に上記送信信号を再送する再送制御手
段と、上記送信信号の再送が所定回数繰り返された際に
故障と判定して故障ノードを検出する検出手段とを備え
ており、 上記確認信号が返送されない受信ノードがその他の受信
ノードによって検知された場合、その他の受信ノード
は当該信号の制御を中止し、上記送信ノードが故障ノー
ドを検出する検出手段によって故障ノードを検出した
後、上記その他の受信ノードは、上記送信信号を自ノー
ドのメモリに書き込んで記憶し、この自ノード内に記憶
していた当該信号に応じた制御を行うことを特徴とする
多重伝送装置。
2. A multiplex transmission device comprising a plurality of receiving nodes which, when receiving a transmission signal from a transmitting node, returns a confirmation signal for notifying the transmitting node that the signal has been received. The transmission node does not return the confirmation signal while controlling the return of the confirmation signal from the own node to the transmission node and providing confirmation signal control means capable of detecting the return states of the confirmation signals of all the reception nodes. Retransmission control means for retransmitting the transmission signal when there is a receiving node, and detection means for detecting a failure node by determining a failure when the transmission signal is retransmitted a predetermined number of times, If the receiving node the confirmation signal is not sent back is detected by the other of the receiving node, the other receiving node stops control of the signal, the transmission Roh After the node detects the faulty node by the detecting means for detecting the faulty node, the other receiving nodes write and store the transmission signal in the memory of the self node, and the signal stored in the self node. A multiplex transmission device characterized by performing control according to the above.
JP35354893A 1993-12-29 1993-12-29 Multiplex transmission equipment Expired - Fee Related JP3380317B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35354893A JP3380317B2 (en) 1993-12-29 1993-12-29 Multiplex transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35354893A JP3380317B2 (en) 1993-12-29 1993-12-29 Multiplex transmission equipment

Publications (2)

Publication Number Publication Date
JPH07203555A JPH07203555A (en) 1995-08-04
JP3380317B2 true JP3380317B2 (en) 2003-02-24

Family

ID=18431590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35354893A Expired - Fee Related JP3380317B2 (en) 1993-12-29 1993-12-29 Multiplex transmission equipment

Country Status (1)

Country Link
JP (1) JP3380317B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000201132A (en) 1998-11-06 2000-07-18 Matsushita Electric Ind Co Ltd Transmitter-receiver
CN108215819B (en) * 2016-12-22 2024-03-01 宇通客车股份有限公司 Data transmission method and system of off-board charger, BMS and monitoring terminal

Also Published As

Publication number Publication date
JPH07203555A (en) 1995-08-04

Similar Documents

Publication Publication Date Title
JP2834210B2 (en) Message control method in ring network
EP0851623B1 (en) Multiplex transmission system
JP2000076208A (en) Data transmitting and receiving device for executing data retransmission, and parallel processor system
JP3380317B2 (en) Multiplex transmission equipment
JPH10257078A (en) Vehicle multiple communication equipment
CN116633780A (en) Gateway upgrading method and device for vehicle, vehicle and storage medium
JP2995348B2 (en) Multiplex transmission method
JP3217397B2 (en) Data transmission method of communication control device
JPH11252134A (en) Broadcast communication system
JPH05122226A (en) Multiplex transmission method
JP2005025519A (en) Computer control system and software rewriting method
JP3182246B2 (en) Multiplex transmission system
JPH06252895A (en) Data transmission system
JPH0722431B2 (en) Multiplex communication system
JPH06168193A (en) Transaction data re-transmission system
JP3388852B2 (en) Multiplex transmission equipment
JP2677895B2 (en) Multiplex transmission method
JP3337907B2 (en) Multiplex transmission system
JP2001069162A (en) Loop data transmission system
JP3383463B2 (en) Multiplex transmission system
JPH08149153A (en) Virtual buffer control system in relay computer
CN116938428A (en) Method and communication system for synchronizing data frames
CN117873514A (en) Online updating system, method, equipment and medium for secure computer platform
JP3219070B2 (en) Line restoration method
JPH0537570A (en) Reception data storage method for communication control circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees