JPH08275270A - Multiplex transmitter - Google Patents

Multiplex transmitter

Info

Publication number
JPH08275270A
JPH08275270A JP7074303A JP7430395A JPH08275270A JP H08275270 A JPH08275270 A JP H08275270A JP 7074303 A JP7074303 A JP 7074303A JP 7430395 A JP7430395 A JP 7430395A JP H08275270 A JPH08275270 A JP H08275270A
Authority
JP
Japan
Prior art keywords
node
communication node
communication
data
transmission
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.)
Granted
Application number
JP7074303A
Other languages
Japanese (ja)
Other versions
JP3401360B2 (en
Inventor
Koji Terayama
孝二 寺山
Seiji Hirano
誠治 平野
Toshiaki Kasai
俊明 河西
Toshifumi Ikeda
利文 池田
Hiroaki Sakamoto
裕昭 坂本
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 JP07430395A priority Critical patent/JP3401360B2/en
Priority to DE19612631A priority patent/DE19612631A1/en
Priority to KR1019960009672A priority patent/KR100362236B1/en
Priority to US08/625,316 priority patent/US5825749A/en
Publication of JPH08275270A publication Critical patent/JPH08275270A/en
Application granted granted Critical
Publication of JP3401360B2 publication Critical patent/JP3401360B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To surely detect a fault of a transmission reception function of a communication node by monitoring a reception function of its own communication node and other communication node mutually by an ACK signal and monitoring its own communication node with a transmission end signal. CONSTITUTION: An ACK control circuit 1255 executes the control to send an ACK bit when no error is in existence in a frame received by a control circuit 1256. Furthermore, a transmission control circuit 1250 outputs a transmission end signal of a frame F to a CPU 100 via an input output port control circuit 1252. When the CPU 100 receives a transmission end signal from the transmission control circuit 1250 within a prescribed time, the CPU 100 discriminates it that the transmission function of its own node is normal. Moreover, when the CPU 100 does not send an ACK bit to other node, the CPU 100 discriminates it that the reception function of its own node is faulty and when the ACK signal is not returned from the other node on the contrary, the CPU 100 discriminates it that the reception function of the other node is faulty.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、共通の多重伝送路に接
続された複数の多重通信ノードにおいて、互いの通信ノ
ードの通信状態を監視し得るような多重伝送装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex transmission apparatus capable of monitoring the communication status of each communication node in a plurality of multiplex communication nodes connected to a common multiplex transmission path.

【0002】[0002]

【従来の技術】近年、自動車の電子部品(電装ユニッ
ト)の増加に伴う該電装ユニット間を結ぶ配線(ワイヤ
ハーネス)の肥大化、複雑化を解消するために、複数の
電装ユニットに設けられた通信用ノードを共通の多重通
信線に接続し、各電装ユニット間の信号伝送を通信ノー
ドにより行う多重通信が注目されている。
2. Description of the Related Art In recent years, in order to eliminate the enlargement and complication of wiring (wire harness) that connects the electric component units with the increase in the number of electronic parts (electric component units) of automobiles, it has been provided in a plurality of electric component units. Attention has been paid to multiplex communication in which a communication node is connected to a common multiplex communication line, and signal transmission between each electrical unit is performed by the communication node.

【0003】上述のディジタル情報の送出もしくは取込
み、あるいは、ディジタル情報の送出及び取込みを行う
複数の通信ノードが接続されて構築される多重通信シス
テムにあっては、各通信ノードから通信ラインに送出さ
れて予め指定された通信ノードによって取り込まれるデ
ィジタル情報が、その取扱いが容易にされるべく、例え
ば、ある長さのデータフレームを形成する。このデータ
フレームは、通信フレームと呼ばれ、所定のビット数で
総データ長が予め設定されたデータ形式に従うコードデ
ータのグループとされる。
In the multiplex communication system constructed by connecting a plurality of communication nodes for sending or receiving digital information or for sending and receiving digital information, each communication node sends the communication information to a communication line. The digital information captured by the communication node designated in advance forms a data frame of a certain length, for example, in order to facilitate its handling. This data frame is called a communication frame and is a group of code data having a predetermined number of bits and a total data length according to a preset data format.

【0004】図1に、従来の車両用の多重伝送システム
に採用されている通信フレームのフォーマットを示す。
図1において、フレームFは、SD(Start Delimiter
)コード、プライオリティコード、フレームIDコー
ド、データ長、データ1〜データN、チェックコードを
有するフレーム構成になっている。
FIG. 1 shows a format of a communication frame adopted in a conventional vehicle multiplex transmission system.
In FIG. 1, frame F is SD (Start Delimiter).
) A frame structure having a code, a priority code, a frame ID code, a data length, data 1 to data N, and a check code.

【0005】先ず、「SDコード」は、フレームFの開
始を表す特定のコードであり、受信多重ノードはこのS
Dコード符号を受信するとフレームFの開始を認知する
ようになっている。「プライオリティコード」は同時に
複数の多重ノードがデータを送信し、信号が衝突した場
合にどの信号を優先して処理するかを指示する優先順位
を示す符号である。この実施例では、プライオリティは
ビット値で低いものほど高い優先度が割り当てられてい
る。これは、バス上では、ローレベルがWIRED-ORとなっ
ているためである。もし同時に複数のノードから信号が
送出された場合は優先度の高いノードの「プライオリテ
ィコード」がバス上に残るので、低い方のノードは自己
の送出した「プライオリティコード」が別のコードに変
っていることから、データの衝突を検出する。そして、
自己の失敗フレームの再送を遅らせることにより、高い
優先度のノードからの再送を優先するようになってい
る。
First, the "SD code" is a specific code indicating the start of the frame F, and the receiving multiplex node uses this S code.
When the D code code is received, the start of the frame F is recognized. The “priority code” is a code indicating a priority order that indicates which signal should be preferentially processed when a plurality of multiple nodes simultaneously transmit data and the signals collide. In this embodiment, the lower the bit value, the higher the priority is assigned. This is because the low level is WIRED-OR on the bus. If signals are sent from multiple nodes at the same time, the “priority code” of the node with the higher priority remains on the bus, and the lower priority node changes its own “priority code” to another code. Therefore, the data collision is detected. And
By delaying the retransmission of its own failed frame, the retransmission from the node with a high priority is prioritized.

【0006】「フレームIDコード」は当該フレームの
送出先を示すコードであり、N種類の通信ノードが設け
られたとすると、ID0〜IDNまでの領域が設定され
る。送出元のノードは、送出先のIDをフレームに書き
込んで送出する。また、受信元のノードは、当該ノード
が受信すべきフレームのIDをメモリマップとして記憶
しており、受信したフレームのIDコードが自ノードに
登録されたIDに一致するときだけ受信フレームの取り
込み処理を実行する。
The "frame ID code" is a code indicating the transmission destination of the frame, and if N types of communication nodes are provided, areas from ID0 to IDN are set. The transmission source node writes the transmission destination ID in the frame and transmits the frame. Further, the receiving node stores the ID of the frame to be received by the node as a memory map, and only when the ID code of the received frame matches the ID registered in the own node, the reception frame capturing process is performed. To execute.

【0007】「データ長」にはこのあとに続くデータの
数が書き込まれ、N個のデータがあるとすればデータ長
としてNが送られる。このフレームを受け取った多重ノ
ードでは、データをデータ長の内容だけ読み取る。そし
てデータに引き続くフィールドがCRCチェックコード
(誤り検出符号)で、これを確認することによりフレー
ムの終わりであることを知ることができる。
In the "data length", the number of data that follows is written, and if there are N data, N is sent as the data length. The multi-node which receives this frame reads the data of the data length. The field following the data is a CRC check code (error detection code), and by confirming this, it can be known that the end of the frame.

【0008】ACKフィールドは、他のノード(システム
全体で、N個のノードを予定している)からのACK信号
が挿入されるところである。このACK信号は、受信ノー
ドにて正しくデータが受け取れなかった場合、送信元の
ノードに対して返送されないことになっており、送信側
の多重ノードは、返送されたフレームにACK信号を含む
か否か判断することにより、送信先へのフレームの送信
が失敗したか否かを判断し、フレームの送信が失敗した
場合、同一のフレームの再送信を行う。
The ACK field is where ACK signals from other nodes (N nodes are planned for the entire system) are inserted. This ACK signal is not returned to the source node if the receiving node does not receive the data correctly, and the multiple node on the transmission side determines whether the returned frame includes the ACK signal. By determining whether or not the frame transmission to the transmission destination has failed, if the frame transmission fails, the same frame is retransmitted.

【0009】図2は、自動車のネットワークに用いられ
る通信ノードの一般的な構成を示した図である。各ノー
ドは通信用LSI101を介して伝送路10に接続され
ている。100は制御を行なうCPUであり、RAM/
ROM102に格納されたプログラムに従って動作す
る。CSMA/CD方式の物理層レベルのプロトコール
制御はLSI101により行なわれる。この通信ノード
は電装ユニット104に接続されている。このユニット
は、例えば、エンジン制御用のEGIコントローラであ
ったり、メータ類のノードであったりする。
FIG. 2 is a diagram showing a general configuration of a communication node used in an automobile network. Each node is connected to the transmission line 10 via the communication LSI 101. Reference numeral 100 denotes a CPU for controlling, RAM /
It operates according to the program stored in the ROM 102. The CSMA / CD system physical layer level protocol control is performed by the LSI 101. This communication node is connected to the electrical equipment unit 104. This unit is, for example, an EGI controller for engine control or a node of meters.

【0010】CPU100は、LSI101を制御し、
また、LSI101からのデータを処理して電装ユニッ
ト104に渡したり、または電装ユニット104からの
データをLSI101に渡すための制御を行なう。即
ち、バス上のフレームデータを電装ユニット104が使
用可能なフォーマットに変換したり、電装ユニット10
4からのデータをフレームフォーマットに変換したりす
る。CPU100の他の重要な役目は、ACKデータの管
理である。即ち、前述したように、この通信方式では、
全てのノード(の通信LSI101)はフレームデータ
を他のノードからエラーなく受け取ったときは、その送
り元のノードに対してACKビットを返すようになってい
る。従って、このACKフィールドの内容を調べることに
より、自分が送出したフレームをどのノードが受信でき
なかったかを知ることができる。このチェック作業をC
PU100が任されている。これは、通信LSI101
が通信制御に限定され、高度のデータ処理はCPU10
0が行なうようにしているからである。
The CPU 100 controls the LSI 101,
In addition, control is performed to process data from the LSI 101 and pass the data to the electrical unit 104, or to pass data from the electrical unit 104 to the LSI 101. That is, the frame data on the bus is converted into a format usable by the electrical component unit 104, and
Converts data from 4 to frame format. Another important role of the CPU 100 is management of ACK data. That is, as described above, in this communication method,
When all nodes (communication LSI 101) receive the frame data from other nodes without error, the ACK bit is returned to the node that sent the frame data. Therefore, by checking the contents of this ACK field, it is possible to know which node could not receive the frame transmitted by itself. This check work is C
PU100 is entrusted. This is the communication LSI 101
Is limited to communication control, and high-level data processing is performed by the CPU 10.
This is because 0 is trying to do it.

【0011】以上説明した通信ノードからなる多重伝送
システムにおいて、特に送信側の多重ノードが他ノード
から返送されたフレームにACK信号を含むか否か判断す
ることにより他の通信ノードの受信機能をチェックする
ものが提案されている(特開平3−283842号)。
In the multiplex transmission system including the communication nodes described above, the reception function of another communication node is checked by determining whether or not the transmission-side multiplex node includes the ACK signal in the frame returned from the other node. There has been proposed (JP-A-3-283842).

【0012】[0012]

【発明が解決しようとする課題】しかしながら、特開平
3−283842号に開示される従来例では、自己の通
信ノード又は他の通信ノードの受信機能に異常が発生し
た場合は、フレーム送信時にノードからACK信号を含む
フレームが返送されないことから受信機能に異常が発生
したと判断できるけれども、自己の通信ノードの送信機
能に異常が発生したことをチェックする場合、フレーム
はACK信号を含まない状態で送信という動作自体は可能
となるので、自己の通信ノードにおいても送信機能に異
常が発生したと判断できないのである。
However, in the conventional example disclosed in Japanese Patent Application Laid-Open No. 3-283842, when an abnormality occurs in the receiving function of its own communication node or another communication node, the node transmits from the node at the time of frame transmission. Although it can be judged that an error has occurred in the reception function because the frame containing the ACK signal is not returned, when checking that an error has occurred in the transmission function of its own communication node, the frame is sent without the ACK signal. Since the operation itself is possible, it cannot be determined that an abnormality has occurred in the transmission function even in the own communication node.

【0013】従って、本発明は上記の問題点に鑑みてな
されたものであり、その目的とするところは、自己の通
信ノード及び他の通信ノードの受信機能を互いにACK信
号で監視すると共に、自己の通信ノードの送信機能を送
受信処理を行なう回路から出力される送信完了信号にて
監視することにより、通信ノードの送受信機能の異常を
確実に検出し得る多重伝送装置を提供するところにあ
る。
Therefore, the present invention has been made in view of the above problems, and an object of the present invention is to monitor the receiving functions of its own communication node and other communication nodes by ACK signals, and An object of the present invention is to provide a multiplex transmission device capable of reliably detecting an abnormality in the transmission / reception function of a communication node by monitoring the transmission function of the communication node with a transmission completion signal output from a circuit that performs transmission / reception processing.

【0014】[0014]

【課題を解決するための手段】及び[Means for Solving the Problems] and

【作用】上述の課題を解決し、目的を達成するため本発
明の多重伝送装置は、以下の構成を備える。即ち、複数
の通信ノードが共通の多重伝送路を介して接続され、該
夫々の通信ノードは夫々に接続された車両の電装ユニッ
トを制御する多重伝送装置において、前記多重伝送装置
は、少なくとも他の通信ノードから送出されたデータを
前記多重伝送路を介して受信処理すると共に、自己の通
信ノードから送信すべきデータを前記多重伝送路を介し
て送信処理する送受信処理回路と、この受信処理された
データを取り込んで、該データに基づいて前記電装ユニ
ットを制御すると共に、自己の通信ノードから送信すべ
きデータを生成し、該送受信処理回路に対して送信処理
させる演算処理回路とを有する通信ノードを含み、前記
送受信処理回路は、他の通信ノードから送出されたデー
タを正常に受信処理したことを表す第1の信号を送出す
る手段と、自己のノードから送信すべきデータを正常に
送出処理したことを表す第2の信号を前記演算処理回路
に出力する手段とを具備し、前記演算処理回路は、前記
第1及び第2の信号に基づいて当該通信ノードの通信状
態を正常か異常か判定する判定手段を具備する。
In order to solve the above problems and achieve the object, the multiplex transmission apparatus of the present invention has the following configuration. That is, in a multiplex transmission apparatus in which a plurality of communication nodes are connected via a common multiplex transmission path, and each of the communication nodes controls an electrical equipment unit of a vehicle connected to the other, the multiplex transmission apparatus is at least another A transmission / reception processing circuit for receiving data transmitted from a communication node via the multiplex transmission path and transmitting data from the communication node to be transmitted via the multiplex transmission path, and the reception processing circuit A communication node having an arithmetic processing circuit that takes in data, controls the electrical unit based on the data, generates data to be transmitted from its own communication node, and causes the transmission / reception processing circuit to perform transmission processing. The transmission / reception processing circuit includes means for transmitting a first signal indicating that the data transmitted from another communication node has been normally received and processed. Means for outputting to the arithmetic processing circuit a second signal indicating that the data to be transmitted from its own node has been normally transmitted, and the arithmetic processing circuit comprises the first and second signals. And a determination unit that determines whether the communication state of the communication node is normal or abnormal.

【0015】以上のように本発明の多重伝送装置におい
ては、その請求項1に記載の発明によれば、送受信処理
回路が自己のノードから送信すべきデータを正常に送出
処理したことを表す第2の信号を前記演算処理回路に出
力し、演算処理回路が第2の信号に基づいて通信ノード
の通信状態を正常か異常か判定するので、通信ノードの
送信機能の異常を確実に検出できる。
As described above, in the multiplex transmission apparatus of the present invention, according to the invention described in claim 1, the transmission / reception processing circuit indicates that the data to be transmitted from its own node is normally transmitted. Since the signal No. 2 is output to the arithmetic processing circuit and the arithmetic processing circuit determines whether the communication state of the communication node is normal or abnormal based on the second signal, the abnormality of the transmission function of the communication node can be reliably detected.

【0016】また、請求項2に記載の発明によれば、演
算処理回路が自己の通信ノードの通信状態を判定するの
で、自己の通信ノードの送信機能の異常を確実に検出で
きる。また、請求項3に記載の発明によれば、演算処理
回路が他の通信ノードの通信状態を判定するので、他の
通信ノードの送信機能の異常を確実に検出できる。
According to the second aspect of the invention, since the arithmetic processing circuit determines the communication state of the communication node of its own, it is possible to reliably detect an abnormality in the transmission function of the communication node of its own. Further, according to the invention described in claim 3, since the arithmetic processing circuit determines the communication state of the other communication node, it is possible to reliably detect the abnormality of the transmission function of the other communication node.

【0017】また、請求項4に記載の発明によれば、通
信ノードの通信状態が異常であると判定された場合、当
該通信ノードの送受信処理回路を初期化すると共に、自
己のノードから送信すべきデータを再度送信させるの
で、復旧の見込がある場合容易に対処できる。また、請
求項5に記載の発明によれば、他の通信ノードにおいて
自己の通信ノードの通信状態を判定するための所定デー
タを送信するので、異常検出精度を向上させることがで
きる。
Further, according to the invention described in claim 4, when it is determined that the communication state of the communication node is abnormal, the transmission / reception processing circuit of the communication node is initialized and the transmission is performed from its own node. Since the data that should be sent is sent again, it can be easily dealt with if there is a prospect of recovery. Further, according to the invention described in claim 5, since the predetermined data for determining the communication state of the own communication node is transmitted to the other communication node, the abnormality detection accuracy can be improved.

【0018】また、請求項6に記載の発明によれば、所
定時間以内に第2の信号を受信しない場合、自己の通信
ノードの通信状態が異常であると判定するので、通信ノ
ード毎に第2の信号の検出周期を設定でき、ノード本来
の性能を低下せずに、システムの信頼性を向上させるこ
とができる。また、請求項7に記載の発明によれば、自
己の通信ノードの通信状態の異常を所定回数以上繰り返
して判定した場合、該自己の通信ノードによるデータの
送受信を停止するので、電装ユニットの誤動作等による
リスクを低減できる。
According to the sixth aspect of the invention, when the second signal is not received within the predetermined time, it is determined that the communication state of its own communication node is abnormal. The detection cycle of the signal No. 2 can be set, and the reliability of the system can be improved without deteriorating the original performance of the node. Further, according to the invention described in claim 7, when the abnormality of the communication state of the own communication node is repeatedly judged a predetermined number of times or more, the data transmission / reception by the own communication node is stopped, and thus the malfunction of the electrical unit Can reduce the risk due to

【0019】また、請求項8に記載の発明によれば、他
の通信ノードの通信状態の異常を所定回数以上繰り返し
て判定した場合、該他の通信ノードから送信されたデー
タに基づく電装ユニットの制御を禁止するので、電装ユ
ニットの誤動作等によるリスクを低減できる。また、請
求項9に記載の発明によれば、他の通信ノードの通信状
態の異常を所定回数以上繰り返して判定した場合、該他
の通信ノードへの自己の通信ノードから送信すべきデー
タの送出を禁止するので、バス上のトラフィック量を効
果的に低減できる。
Further, according to the invention described in claim 8, when the abnormality of the communication state of the other communication node is repeatedly determined a predetermined number of times or more, it is determined that the electrical unit based on the data transmitted from the other communication node. Since the control is prohibited, the risk of malfunction of the electrical component unit can be reduced. Further, according to the invention of claim 9, when the abnormality of the communication state of the other communication node is repeatedly determined a predetermined number of times or more, the data to be transmitted from the own communication node is transmitted to the other communication node. Is prohibited, the amount of traffic on the bus can be effectively reduced.

【0020】[0020]

【実施例】以下、本願発明の実施例について添付図面を
参照しながら詳細に説明する。図3はこの実施例の構成
を示す。図中、10、20は伝送ラインであり、ツイス
トペア線が用いられている。通信速度は20kbpsとし
た。これらの伝送路には、各々、複数のノードが接続さ
れており、各々がネットワークを形成している。即ち、
ネットワーク10には、1〜5までのノードが接続され
ており、ネットワーク20にはノード21〜28が接続
されている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 3 shows the configuration of this embodiment. In the figure, 10 and 20 are transmission lines, and twisted pair lines are used. The communication speed was 20 kbps. A plurality of nodes are connected to each of these transmission lines, and each forms a network. That is,
Nodes 1 to 5 are connected to the network 10, and nodes 21 to 28 are connected to the network 20.

【0021】ネットワーク10、20は車両内に設けら
れたネットワークである。ネットワーク10、20は、
夫々、伝送路52、50を介してゲートウエイノード4
0により相互に接続されており、ネットワーク10、2
0は車両内で統合ネットワークを形成している。ゲート
ウエイノードの機能について説明する。各ネットワーク
上では、2つ以上のフレームは存在し得ない。換言すれ
ば、各ネットワーク上では、各々同時に、1つづつのフ
レームが存在し得る。これを許すのが、ゲートウエイ4
0(ABSノードを兼ねる)の機能である。即ち、各ネ
ットワークはゲートウエイ40により接続され、ゲート
ウエイ40の有する必要に応じたフレーム交換機能によ
り、同時に、各々のネットワーク上にフレームが同時に
伝送されるのを許すのである。この点について、ファン
クショナルアドレッシングと関連して、後により詳細に
説明する。
The networks 10 and 20 are networks provided in the vehicle. Networks 10, 20 are
Gateway node 4 via transmission lines 52 and 50, respectively.
0 are connected to each other, and the networks 10, 2
0 forms an integrated network in the vehicle. The function of the gateway node will be described. There can be no more than one frame on each network. In other words, there can be one frame on each network at the same time. Gateway 4 allows this
The function is 0 (also serves as an ABS node). That is, the respective networks are connected by the gateway 40, and the frame switching function of the gateway 40 as required allows the frames to be simultaneously transmitted on the respective networks at the same time. This point will be described in more detail later in connection with functional addressing.

【0022】図3における各ネットワークのノードにつ
いて簡単に説明する。ネットワーク10には、エアバッ
グ・コントロールユニット(図中には、C/Uで表記)の
ためのノード1と、前述のエンジン制御のためのコント
ローラEGI・C/U のためのノード2と、自動変速器コ
ントローラのためのノード3と、後輪転舵制御用コント
ローラ(4WS・C/U )のためのノード4と、アンチロ
ックブレーキシステム(ABS・ C/U )コントローラの
ためのノード40(ゲートウエイを兼ねる)と、トラク
ションコントローラTRC・C/U のためのノード5とか
らなる。即ち、ネットワーク10には、主に、コントロ
ーラのためのノードが接続されている。
The nodes of each network in FIG. 3 will be briefly described. The network 10 includes a node 1 for an airbag control unit (indicated by C / U in the figure), a node 2 for the above-mentioned controller EGI / C / U for controlling the engine, and an automatic node. Node 3 for the transmission controller, node 4 for the rear wheel steering control controller (4WS C / U), node 40 for the anti-lock braking system (ABS C / U) controller (gateway And the node 5 for the traction controller TRC C / U. That is, nodes for the controller are mainly connected to the network 10.

【0023】ネットワーク20は、コンビネーションス
イッチ用のノード21と、車速メータ等の各種メータの
ためのノード22と、ステアリングスイッチ用のノード
23と、助手席のドアの各種スイッチのためのノード2
4と、エアコンの動力アンプのためのノード25と、オ
ーデイオ用の各種操作スイッチ用のノード26と、エア
コンのスイッチ用のノード27と、運転席のドアの各種
スイッチのノード28とからなる。即ち、ネットワーク
20に接続されているノードは車体に関連したスイッ
チ、センサ、アクチュエータである。
The network 20 includes a node 21 for a combination switch, a node 22 for various meters such as a vehicle speed meter, a node 23 for a steering switch, and a node 2 for various switches on the passenger door.
4, a node 25 for an air conditioner power amplifier, a node 26 for various operation switches for audio, a node 27 for an air conditioner switch, and a node 28 for various switches on the driver's door. That is, the nodes connected to the network 20 are switches, sensors, and actuators related to the vehicle body.

【0024】このように、コントローラ系ノードのみを
ネットワーク10に集約することにより、ネットワーク
10では効率的な「協調制御」が可能となり、また、ボ
デイ系ノードのみをネットワーク20に集約して、ネッ
トワーク10から切り離すことにより、コントローラ系
ノードの暴走が、ネットワーク20に及ぶのを防止する
ことができる。
By thus consolidating only the controller system nodes in the network 10, efficient "cooperative control" is possible in the network 10, and by consolidating only the body system nodes in the network 20, the network 10 is integrated. It is possible to prevent the runaway of the controller system node from reaching the network 20 by disconnecting the controller system.

【0025】この実施例の自動車用多重伝送方式では、
図1で説明したような構成のフレームFごとに自動車運
転情報が伝送される。図4は、図2の通信LSIの内部
構成を示す。送信制御回路1250、受信制御回路12
56はCSMA/CDの制御手順を実行する。ACK制
御回路1255は制御回路1256が受けたフレームに
誤りがなければACKビットの送出を行なう制御を実行す
る。また、送信制御回路1250は、入出力ポート制御
回路1252を介してCPU100にフレームFの送信
完了信号を出力する。CPU100は、この送信制御回
路1250から所定時間以内に送信完了信号を受信する
と自己のノード(以下、自ノード)の送信機能が正常で
あると判断する。更に、CPU100は、他ノードに対
してACKビットを送出しない場合、自ノードの受信機能
が異常であると判断し、反対に他ノードからACK信号が
返送されない場合、他ノードの受信機能が異常であると
判断する。
In the multiplex transmission system for automobiles of this embodiment,
Vehicle driving information is transmitted for each frame F having the configuration described in FIG. FIG. 4 shows an internal configuration of the communication LSI of FIG. Transmission control circuit 1250, reception control circuit 12
56 executes the CSMA / CD control procedure. The ACK control circuit 1255 executes control for transmitting an ACK bit if the frame received by the control circuit 1256 has no error. Further, the transmission control circuit 1250 outputs a transmission completion signal of the frame F to the CPU 100 via the input / output port control circuit 1252. When the CPU 100 receives the transmission completion signal from the transmission control circuit 1250 within a predetermined time, it determines that the transmission function of its own node (hereinafter referred to as its own node) is normal. Further, when the ACK bit is not sent to the other node, the CPU 100 determines that the receiving function of the own node is abnormal, and when the ACK signal is not returned from the other node, the receiving function of the other node is abnormal. Judge that there is.

【0026】[通信機能判定]次に、図5〜図7を参照
して、上述の通信ノードの通信機能の正常/異常を判定
する手順を説明する。ところで、この動作手順を説明す
る前に、通信ノードのパワーオン又はリセット後の一般
的な初期動作を簡単に説明する。本システムの通信ノー
ドは、パワーオン又はリセット後、各々の通信ノード
が、所定の立上り時間を経て、通信ラインへのフレーム
の送出もしくは通信ラインからのフレームの取込みを行
うことができる送受信可能状態となる。そして、送受信
可能状態となった通信ノードは、まず、他の通信ノード
に対して予め指定されたフレームの送出を要求する内容
を記載した複数の送信要求データフレームを順次送出
し、その送信要求データフレームを取り込んだ他の通信
ノードがその送信要求データフレームの内容に応答して
予め指定されたデータを返送すると共に、自ノードはそ
の返送されたデータフレームに基づいて自らの初期動作
状態設定を行ない、その後、通常動作状態に移行する。
[Communication Function Judgment] Next, a procedure for judging the normality / abnormality of the communication function of the above-mentioned communication node will be described with reference to FIGS. By the way, before explaining this operation procedure, a general initial operation after power-on or reset of the communication node will be briefly described. After power-on or reset, each communication node of this system is in a transmission / reception ready state in which each communication node can send a frame to the communication line or capture a frame from the communication line after a predetermined rise time. Become. Then, the communication node in the transmission / reception enabled state first sequentially transmits a plurality of transmission request data frames describing the content for requesting the transmission of a predetermined frame to another communication node, and then the transmission request data is transmitted. The other communication node that fetched the frame returns the specified data in response to the content of the transmission request data frame, and the own node sets its own initial operation state based on the returned data frame. , And then shifts to the normal operation state.

【0027】<初期動作時の送信機能異常判定>図5
は、初期動作時の自ノードの送信機能の異常判定手順を
示すメインルーチンのフローチャートである。図5にお
いて、処理が開始されると、ステップS2でシステムの
電源がパワーオンされると、ステップS4で各ノードが
制御すべき出入力補器などのアプリケーションの初期化
を実行する。次に、ステップS6において、各ノードに
記憶された制御データの前回値やカウンタ値をクリア
し、通信系を初期化する。その後、ステップS8におい
て、送受信可能状態となった通信ノードは、まず、他の
通信ノードに対して予め指定されたフレームの送出を要
求する内容を記載した複数の送信要求データフレームを
順次送出する(初期送信)。ステップS10では、初期
送信状態で1つ又は複数のフレームが伝送路に送出され
る毎に、自ノードのCPU100が送信制御回路125
0から送信完了信号を受信したか否かを判定する。ステ
ップS10で、送信完了信号を受信した場合(ステップ
S10でYES)、ステップS12に進み、送信完了信
号を受信しない場合(ステップS10でNO)、ステッ
プS16に進む。ステップS12では、初期送信時に送
出されるべき全てのフレームが送信されたか否かを判定
する。ステップS12において、全てのフレームが送信
された場合(ステップS12でYES)、ステップS1
4に進み、全てのフレームが送信されていない場合(ス
テップS12でNO)、ステップS18にリターンす
る。
<Determination of Transmission Function Abnormality at Initial Operation> FIG.
6 is a flowchart of a main routine showing a procedure for determining an abnormality in the transmission function of the own node at the time of initial operation. In FIG. 5, when the process is started, the system is powered on in step S2, and in step S4, each node initializes an application such as an input / output auxiliary device to be controlled. Next, in step S6, the previous value and the counter value of the control data stored in each node are cleared and the communication system is initialized. After that, in step S8, the communication node in the transmission / reception enabled state first sequentially transmits to the other communication nodes a plurality of transmission request data frames in which the contents requesting the transmission of the frame designated in advance are described ( Initial transmission). In step S10, every time one or more frames are sent to the transmission path in the initial transmission state, the CPU 100 of the own node sends the transmission control circuit 125.
It is determined whether or not the transmission completion signal is received from 0. When the transmission completion signal is received in step S10 (YES in step S10), the process proceeds to step S12, and when the transmission completion signal is not received (NO in step S10), the process proceeds to step S16. In step S12, it is determined whether or not all the frames to be transmitted at the time of initial transmission have been transmitted. If all frames have been transmitted in step S12 (YES in step S12), step S1
4, the process returns to step S18 if all the frames have not been transmitted (NO in step S12).

【0028】ステップS16では、CPUが通信LSI
から送信完了信号を受信しない状態が所定時間経過した
か否かを判定する。ステップS16で所定時間経過した
場合(ステップS16でYES)、ステップS18に進
み、所定時間経過していない場合(ステップS16でN
O)、ステップS10にリターンし、送信完了信号の受
信待ち状態となる。
In step S16, the CPU is a communication LSI.
It is determined whether or not a state in which the transmission completion signal is not received has passed a predetermined time. When the predetermined time has elapsed in step S16 (YES in step S16), the process proceeds to step S18, and when the predetermined time has not elapsed (N in step S16)
O), the process returns to step S10 to enter the waiting state for receiving the transmission completion signal.

【0029】ステップS18では、所定時間が経過し
て、送信完了信号を受信しない回数N1をカウントして
いく。ステップS20では、受信しない回数N1が所定
回数P以上になったか否か判定し、所定回数P以上とな
るとステップS22に進み、自ノードの送信機能が異常
であると判定する。一方、ステップS20で回数N1が
所定回数P以上でないと、ステップS6にリターンし、
通信LSIを再度初期化して初期送信を再度実行する。
In step S18, the number of times N1 at which the transmission completion signal is not received after the predetermined time has elapsed is counted. In step S20, it is determined whether the number N1 of non-receptions is equal to or greater than the predetermined number P, and if the number N1 is greater than or equal to the predetermined number P, the process proceeds to step S22, and it is determined that the transmission function of the own node is abnormal. On the other hand, if the number N1 is not equal to or more than the predetermined number P in step S20, the process returns to step S6,
The communication LSI is initialized again and the initial transmission is executed again.

【0030】<通常動作時の送信機能異常判定>図6の
ステップS30〜ステップS44までは、通常動作時の
自ノードの送信機能の異常判定手順を示すメインルーチ
ンのフローチャートである。図6において、図5のステ
ップS14又はステップS22の処理の後、ステップS
30で自ノードによる出入力補器などのアプリケーショ
ンの通常制御を実行する。次に、ステップS32におい
て、他ノードに対してフレームの送信動作を行なう。そ
の後、ステップS34では、自ノードのCPUから通信
LSIに対してフレーム送信指令が出力される毎に、自
ノードのCPU100が送信制御回路1250から送信
完了信号を受信したか否かを判定する。ステップS34
で、送信完了信号を受信した場合(ステップS34でY
ES)、ステップS36に進み自ノードの送信機能を正
常と判定する、一方、送信完了信号を受信しない場合
(ステップS34でNO)、ステップS38に進む。
<Determination of Transmission Function Abnormality During Normal Operation> Steps S30 to S44 in FIG. 6 are a flowchart of a main routine showing a procedure for determining an abnormality of the transmission function of the own node during normal operation. In FIG. 6, after the processing of step S14 or step S22 of FIG.
At 30, a normal control of an application such as an input / output auxiliary device by the own node is executed. Next, in step S32, a frame transmission operation is performed to another node. After that, in step S34, every time the CPU of the own node outputs a frame transmission command to the communication LSI, it is determined whether the CPU 100 of the own node has received the transmission completion signal from the transmission control circuit 1250. Step S34
When the transmission completion signal is received (Y in step S34)
ES), the process proceeds to step S36, and the transmission function of the own node is determined to be normal. On the other hand, if the transmission completion signal is not received (NO in step S34), the process proceeds to step S38.

【0031】ステップS38では、CPUがフレーム送
出指令毎に通信LSIから送信完了信号を受信しない状
態が所定時間経過したか否かを判定する。ステップS3
8で所定時間経過した場合(ステップS38でYE
S)、ステップS40に進み、所定時間経過していない
場合(ステップS38でNO)、ステップS34にリタ
ーンし、送信完了信号の受信待ち状態となる。
In step S38, it is determined whether the CPU has not received the transmission completion signal from the communication LSI for each frame transmission command for a predetermined time. Step S3
When a predetermined time has elapsed in step 8 (YES in step S38)
S), the process proceeds to step S40, and if the predetermined time has not elapsed (NO in step S38), the process returns to step S34 and waits for reception of the transmission completion signal.

【0032】ステップS40では、所定時間が経過し
て、送信完了信号を受信しない回数N2をカウントして
いく。ステップS42では、受信しない回数N2が所定
回数Q以上になったか否か判定し、所定回数Q以上とな
るとステップS44に進み、自ノードの送信機能が異常
であると判定する。一方、ステップS42で回数N2が
所定回数Q以上でないと、ステップS30にリターン
し、フレーム送信から再度実行する。
In step S40, the number N2 of times when the transmission completion signal is not received after the predetermined time has elapsed is counted. In step S42, it is determined whether or not the number N2 of non-receptions is equal to or greater than the predetermined number Q, and when the number N2 is equal to or greater than the predetermined number Q, the process proceeds to step S44, and it is determined that the transmission function of the own node is abnormal. On the other hand, if the number N2 is not equal to or more than the predetermined number Q in step S42, the process returns to step S30 and the frame transmission is performed again.

【0033】<通常動作時の受信機能異常判定>図6の
ステップS50〜ステップS66までは、通常動作時の
自ノード及び他ノードの受信機能の異常判定手順を示す
メインルーチンのフローチャートである。図6におい
て、図5のステップS36の処理の後、ステップS50
で他ノードから送出されるフレームの受信処理を実行す
る。次に、ステップS52において、自ノードのCPU
は、その通信LSIが他ノードから受信したフレームに
対してACKデータの返答を行なっているか否かを判定す
る。ステップS52でACKデータの返答を行なっていな
い場合(ステップS52でYES)、ステップS54に
進み、自ノードの受信機能が正常であると判定してステ
ップS56に進む。一方、テップS52でACKデータの
返答を行なっている場合(ステップS52でNO)、ス
テップS66に進んで自ノードの受信機能が異常である
と判定してステップS34にリターンする。
<Determination of Reception Function Abnormality During Normal Operation> Steps S50 to S66 of FIG. 6 are a flowchart of a main routine showing a procedure for determining an abnormality of the reception function of the own node and another node during normal operation. 6, after the process of step S36 of FIG. 5, step S50
Receives the frame sent from another node. Next, in step S52, the CPU of the own node
Determines whether the communication LSI is replying ACK data to the frame received from another node. When ACK data is not returned in step S52 (YES in step S52), the process proceeds to step S54, it is determined that the receiving function of the own node is normal, and the process proceeds to step S56. On the other hand, if the ACK data is returned in step S52 (NO in step S52), the process proceeds to step S66, it is determined that the receiving function of the own node is abnormal, and the process returns to step S34.

【0034】<通常動作時の他ノードの受信機能異常判
定>図6のステップS56〜ステップS64までは、通
常動作時の自ノード及び他ノードの受信機能の異常判定
手順を示すメインルーチンのフローチャートである。図
6において、ステップS54の処理の後、ステップS5
6において、自ノードのCPUは、自ノードが送出した
フレームに対して他ノードからACKデータが返答された
か否かを判定する。ステップS56でACKデータが返答
されている場合(ステップS56でYES)、ステップ
S58に進み、ACKデータが返答された他ノードの受信
機能が正常であると判定してステップS30にリターン
する。一方、テップS56でACKデータが返答されてい
ない場合(ステップS56でNO)、ステップS60に
進む。ステップS60では、自ノードがフレームを再送
する毎に、他ノードからACKデータが返答されない回数
N3をカウントしていく。ステップS62では、返答さ
れない回数N3が所定回数 R以上になったか否か判定
し、所定回数R以上となるとステップS64に進み、AC
Kデータが返答されたノードの送信機能が異常であると
判定する。一方、ステップS62で回数N3が所定回数
R以上でないと、ステップS30にリターンし、フレー
ム送信から再度実行する。
<Determination of Reception Function Abnormality of Other Node During Normal Operation> Steps S56 to S64 of FIG. 6 are flowcharts of the main routine showing a procedure for determining an abnormality of the reception function of the own node and other nodes during normal operation. is there. In FIG. 6, after the processing of step S54, step S5
At 6, the CPU of the own node determines whether or not ACK data has been returned from another node in response to the frame sent by the own node. If the ACK data is returned in step S56 (YES in step S56), the process proceeds to step S58, it is determined that the receiving function of the other node to which the ACK data is returned is normal, and the process returns to step S30. On the other hand, if the ACK data is not returned in step S56 (NO in step S56), the process proceeds to step S60. In step S60, each time the node retransmits a frame, the number N3 of times when ACK data is not returned from another node is counted. In step S62, it is determined whether or not the number N3 of non-reply is equal to or more than the predetermined number R, and when the number N3 is not less than the predetermined number R, the process proceeds to step S64 and
It is determined that the transmission function of the node to which K data is returned is abnormal. On the other hand, if the number N3 is not equal to or greater than the predetermined number R in step S62, the process returns to step S30 and the frame transmission is performed again.

【0035】<異常判定時のサブルーチン>次に、図
5、図6に示すフローチャートにおいて、特に自ノード
又は他ノードの送受信機能の異常判定時のサブルーチン
の制御手順を説明する。図7は、図5、図6に示す自ノ
ード又は他ノードの送受信機能の異常判定時のサブルー
チンの制御手順を説明するフローチャートである。図7
において、処理が開始されると、ステップS70では、
自ノードがある他ノードAの異常判定を行なったか否か
を判定し、ステップS72では、他ノードAの異常判定
を行なう毎に、判定回数X1をカウントしていく。次
に、ステップS74、76では、自ノードがある他ノー
ドBの異常判定を行なったか否かを判定し、他ノードB
の異常判定を行なう毎に、判定回数X2をカウントして
いく。以下同様の手順により、接続されたノードの夫々
に対して異常判定をカウントする。その後、ステップS
78では、他ノードAの判定回数X1が所定回数Sを超
えたか否かを判定する。ステップS78において、他ノ
ードAの判定回数X1が所定回数S以下の場合(ステッ
プS78でYES)、ノードAの送信データによる自ノ
ードの補器制御を実行する。一方、他ノードAの判定回
数X1が所定回数Sを超えた場合(ステップS78でN
O)、ステップS86に進み、ノードAの送信データは
破壊されている可能性があると判断して、ノードAの送
信データによる自ノードの補器制御を行なわず、ステッ
プS88で、補器を所定制御する。この所定制御とは、
例えば、ノードAの送信データで制御できなくなったヘ
ッドライト等の出力補器を常時点灯状態に制御して、走
行時のノード異常によるリスクを回避するように行なわ
れる。このため、制御する補器によりその制御手順は異
なるものとなる。
<Subroutine for Abnormality Judgment> Next, with reference to the flow charts shown in FIGS. 5 and 6, a subroutine control procedure for judging an abnormality in the transmission / reception function of the own node or another node will be described. FIG. 7 is a flow chart illustrating a control procedure of a subroutine at the time of abnormality determination of the transmission / reception function of the own node or another node shown in FIGS. Figure 7
In step S70, when the process is started,
It is determined whether or not the own node has performed the abnormality determination of the other node A, and in step S72, the determination count X1 is counted every time the abnormality determination of the other node A is performed. Next, in steps S74 and S76, it is determined whether or not the own node has made an abnormality determination of the other node B, and the other node B
Each time the abnormality determination is performed, the number of determinations X2 is counted. Thereafter, the same procedure is followed to count the abnormality determination for each of the connected nodes. Then, step S
At 78, it is determined whether or not the number of determinations X1 of the other node A exceeds a predetermined number of times S. In step S78, when the determination count X1 of the other node A is less than or equal to the predetermined count S (YES in step S78), the auxiliary device control of the own node by the transmission data of the node A is executed. On the other hand, when the determination count X1 of the other node A exceeds the predetermined count S (N in step S78).
O), the process proceeds to step S86, it is determined that the transmission data of the node A may be destroyed, and the auxiliary device control of the own node by the transmission data of the node A is not performed. Perform predetermined control. This predetermined control is
For example, the output auxiliary device such as a headlight that cannot be controlled by the transmission data of the node A is controlled to be in a constantly lit state to avoid the risk of a node abnormality during traveling. Therefore, the control procedure varies depending on the auxiliary device to be controlled.

【0036】説明を続けると、ステップS82では、他
ノードBの判定回数X2が所定回数Tを超えたか否かを
判定する。ステップS82において、他ノードBの判定
回数X2が所定回数T以下の場合(ステップS82でY
ES)、ノードBの送信データによる自ノードの補器制
御を実行する。一方、他ノードBの判定回数X2が所定
回数Tを超えた場合(ステップS82でNO)、ステッ
プS90に進み、ノードBの送信データは破壊されてい
る可能性があると判断して、ノードBの送信データによ
る自ノードの補器制御を行なわず、ステップS92で、
補器を所定制御する。以下同様の手順により、接続され
たノードの夫々に対して異常判定をカウントし、補器制
御を実行する。
Continuing with the description, in step S82, it is determined whether the number of determinations X2 of the other node B has exceeded a predetermined number T. In step S82, when the number of determinations X2 of the other node B is less than or equal to the predetermined number of times T (Y in step S82).
ES), the auxiliary device control of the own node is executed by the transmission data of the node B. On the other hand, when the determination count X2 of the other node B exceeds the predetermined count T (NO in step S82), the process proceeds to step S90, it is determined that the transmission data of the node B may be destroyed, and the node B In step S92, the auxiliary device control of the own node is not performed by the transmission data of
Predetermine control of auxiliary devices. Thereafter, in the same procedure, the abnormality determination is counted for each of the connected nodes and the auxiliary device control is executed.

【0037】以上説明したように、図5〜図7に示す手
順により、自ノードの送受信機能及び他ノードの受信機
能の異常を確実に検出し、異常と判定されたノードから
送出されるデータに基づく補器制御を実行しないので、
システム全体の信頼性を向上できる。 <送信側ノードが初期動作時において、受信側ノードに
よる送信機能異常判定>次に、図8、9を参照して、送
信側ノードが初期動作時において、受信側ノードが送信
側ノードの送信機能異常を判定する手順を説明する。図
8は、受信側ノードによる送信機能異常判定手順を示す
フローチャートである。上述のように、本システムの通
信ノードは、パワーオン又はリセット後、他の通信ノー
ドに対して予め指定されたフレームの送出を要求する内
容を記載した複数の送信要求データフレームを順次送出
する。ここで、本実施例では、これらの初期送信フレー
ムを送出した後に、受信側ノードで受信フレームのデー
タが真か偽かチェックするための所定のチェックフレー
ムを送信する。受信側ノードでは、そのチェックフレー
ムのデータ領域に記載され、受信側と送信側の双方に共
通に取り決められたデータが一致するか判定し、一致す
る場合に受信したフレームのデータが真であると判定す
る。
As described above, according to the procedure shown in FIGS. 5 to 7, the abnormality of the transmission / reception function of the own node and the reception function of the other node is surely detected, and the data transmitted from the node determined to be abnormal is detected. Since the auxiliary device control based on it is not executed,
The reliability of the entire system can be improved. <Determination of Transmission Function Abnormality by Receiving Node During Initial Operation of Transmitting Node> Next, referring to FIGS. 8 and 9, when the transmitting node is in initial operation, the receiving node has a transmitting function of the transmitting node. A procedure for determining an abnormality will be described. FIG. 8 is a flowchart showing a procedure for determining a transmission function abnormality by the receiving side node. As described above, the communication node of the present system, after power-on or reset, sequentially transmits a plurality of transmission request data frames in which the contents requesting the transmission of a frame designated in advance are described to other communication nodes. Here, in the present embodiment, after transmitting these initial transmission frames, the reception side node transmits a predetermined check frame for checking whether the data of the reception frame is true or false. At the receiving side node, it is determined whether the data written in the data area of the check frame and common to both the receiving side and the transmitting side match, and if they match, the received frame data is true. judge.

【0038】以下に受信側ノードの制御手順を図8のフ
ローチャートを参照して説明する。図8において、処理
が開始されると、ステップS100〜ステップS104
において、受信側ノードは初期送信されたある送信側ノ
ードAからのフレームAa〜Azを受信する。ステップ
S100〜ステップS104において、送信側ノードの
全ての初期送信フレームを受信すると、ステップS10
6に進み、最後にチェックフレームDを受信する。する
と、ステップS108で、受信側ノードは、そのチェッ
クフレームDのデータ領域に記載されたデータが受信側
ノードに記憶されたデータと一致するか判定する。ステ
ップS108で、一致すると判定された場合(ステップ
S108でYES)、ステップS110〜ステップS1
12において、ノードAの送信機能は正常で、ノードA
から受信した初期送信フレームのデータが真であると判
定し、ノードAの送信データによる自ノードの補器制御
を実行する。一方、一致しない場合(ステップS108
でNO)、ステップS114〜ステップS116におい
て、ノードAの送信機能は異常で、ノードAの送信デー
タは破壊されている可能性があると判断して、ノードA
の送信データによる自ノードの補器制御を行なわず、ス
テップS118で、補器を所定制御する。チェックフレ
ームのデータ領域に記載されるデータは、図9に示すよ
うに、フレームID領域に、所定の送信側ノードから送
信されたチェックフレームであることを表す情報が記入
されると共に、図1で説明したデータ1領域に送信側ノ
ードのアドレス、データ2領域にデータ1の反転情報、
データ3領域に受信側ノードと送信側ノードとの間で取
り決められた所定情報、データ4領域にデータ3の反転
情報を夫々記入される。このように、チェックフレーム
のデータ1からデータ4の全てを異常判定情報とするこ
とにより、受信側ノードは、例えば、データ1が破壊さ
れて本来違ったアドレスのフレームを受信したとしても
データ3の情報が異なるためにチェックフレームの不一
致を判定できる。また、そのチェックフレームのデータ
をデータ1及びデータ3とそれぞれの反転データとの複
合データとすることで、異常判定精度をより向上させる
ことができる。また、フレームID領域には、チェック
フレームであることを表す情報が記入されるので、別の
ノードのフレームに割り込み受信されても受信側ノード
はどの送信側ノードのチェックフレームであるか容易に
判別できる。尚、上記チェックフレームによる送信側ノ
ードの異常検出は、初期動作時だけでなく通常動作時に
おいても適用できる。
The control procedure of the receiving side node will be described below with reference to the flowchart of FIG. In FIG. 8, when the process is started, steps S100 to S104 are performed.
In, the receiving side node receives the frames Aa to Az from the certain transmitting side node A which were initially transmitted. When all the initial transmission frames of the transmission side node are received in steps S100 to S104, step S10
In step 6, the check frame D is finally received. Then, in step S108, the receiving side node determines whether the data described in the data area of the check frame D matches the data stored in the receiving side node. When it is determined that they match in step S108 (YES in step S108), steps S110 to S1.
12, the transmission function of node A is normal, and node A
It is determined that the data of the initial transmission frame received from is true, and the auxiliary device control of the own node by the transmission data of the node A is executed. On the other hand, if they do not match (step S108)
NO), it is determined that the transmission function of the node A is abnormal and the transmission data of the node A may be destroyed in steps S114 to S116.
The auxiliary device of the own node is not controlled by the transmission data of 1., but the auxiliary device is controlled in a predetermined manner in step S118. As shown in FIG. 9, in the data described in the data area of the check frame, information indicating that the data is a check frame transmitted from a predetermined transmitting node is entered in the frame ID area, and In the data 1 area described above, the address of the transmitting node, inversion information of data 1 in the data 2 area,
Predetermined information negotiated between the receiving side node and the transmitting side node is written in the data 3 area, and inversion information of the data 3 is written in the data 4 area. In this way, by setting all of the check frame data 1 to data 4 as the abnormality determination information, the receiving node can receive the data 3 data even if the data 1 is destroyed and a frame with a different address is received. Since the information is different, it is possible to determine the mismatch of check frames. Further, by using the data of the check frame as the composite data of the data 1 and the data 3 and the respective inversion data, it is possible to further improve the abnormality determination accuracy. Further, since information indicating that the frame is a check frame is entered in the frame ID area, even if an interrupt is received in a frame of another node, the receiving node can easily determine which transmitting node the check frame is. it can. It should be noted that the abnormality detection of the transmitting side node by the check frame can be applied not only during the initial operation but also during the normal operation.

【0039】本発明はその主旨を逸脱しない範囲で種々
変形が可能である。例えば、ノードの数、種類などは上
記実施例に限定されるものではない。
The present invention can be variously modified without departing from the spirit thereof. For example, the number and types of nodes are not limited to the above embodiment.

【0040】[0040]

【発明の効果】以上のように本発明の多重伝送装置にお
いては、その請求項1に記載の発明によれば、送受信処
理回路が自己のノードから送信すべきデータを正常に送
出処理したことを表す第2の信号を前記演算処理回路に
出力し、演算処理回路が第2の信号に基づいて通信ノー
ドの通信状態を正常か異常か判定するので、通信ノード
の送信機能の異常を確実に検出できる。
As described above, in the multiplex transmission apparatus of the present invention, according to the invention described in claim 1, it is possible that the transmission / reception processing circuit normally transmits the data to be transmitted from its own node. The arithmetic processing circuit outputs the second signal indicating to the arithmetic processing circuit, and the arithmetic processing circuit determines whether the communication state of the communication node is normal or abnormal based on the second signal, so that the abnormality of the transmission function of the communication node is reliably detected. it can.

【0041】また、請求項2に記載の発明によれば、演
算処理回路が自己の通信ノードの通信状態を判定するの
で、自己の通信ノードの送信機能の異常を確実に検出で
きる。また、請求項3に記載の発明によれば、演算処理
回路が他の通信ノードの通信状態を判定するので、他の
通信ノードの送信機能の異常を確実に検出できる。
According to the second aspect of the present invention, the arithmetic processing circuit determines the communication state of its own communication node, so that an abnormality in the transmission function of its own communication node can be reliably detected. Further, according to the invention described in claim 3, since the arithmetic processing circuit determines the communication state of the other communication node, it is possible to reliably detect the abnormality of the transmission function of the other communication node.

【0042】また、請求項4に記載の発明によれば、通
信ノードの通信状態が異常であると判定された場合、当
該通信ノードの送受信処理回路を初期化すると共に、自
己のノードから送信すべきデータを再度送信させるの
で、復旧の見込がある場合容易に対処できる。また、請
求項5に記載の発明によれば、他の通信ノードにおいて
自己の通信ノードの通信状態を判定するための所定デー
タを送信するので、異常検出精度を向上させることがで
きる。
According to the invention described in claim 4, when it is determined that the communication state of the communication node is abnormal, the transmission / reception processing circuit of the communication node is initialized and the transmission is performed from the own node. Since the data that should be sent is sent again, it can be easily dealt with if there is a prospect of recovery. Further, according to the invention described in claim 5, since the predetermined data for determining the communication state of the own communication node is transmitted to the other communication node, the abnormality detection accuracy can be improved.

【0043】また、請求項6に記載の発明によれば、所
定時間以内に第2の信号を受信しない場合、自己の通信
ノードの通信状態が異常であると判定するので、通信ノ
ード毎に第2の信号の検出周期を設定でき、ノード本来
の性能を低下せずに、システムの信頼性を向上させるこ
とができる。また、請求項7に記載の発明によれば、自
己の通信ノードの通信状態の異常を所定回数以上繰り返
して判定した場合、該自己の通信ノードによるデータの
送受信を停止するので、電装ユニットの誤動作等による
リスクを低減できる。
Further, according to the invention described in claim 6, when the second signal is not received within the predetermined time, it is determined that the communication state of the communication node of its own is abnormal, and therefore the communication node of The detection cycle of the signal No. 2 can be set, and the reliability of the system can be improved without deteriorating the original performance of the node. Further, according to the invention described in claim 7, when the abnormality of the communication state of the own communication node is repeatedly judged a predetermined number of times or more, the data transmission / reception by the own communication node is stopped, and thus the malfunction of the electrical unit Can reduce the risk due to

【0044】また、請求項8に記載の発明によれば、他
の通信ノードの通信状態の異常を所定回数以上繰り返し
て判定した場合、該他の通信ノードから送信されたデー
タに基づく電装ユニットの制御を禁止するので、電装ユ
ニットの誤動作等によるリスクを低減できる。また、請
求項9に記載の発明によれば、他の通信ノードの通信状
態の異常を所定回数以上繰り返して判定した場合、該他
の通信ノードへの自己の通信ノードから送信すべきデー
タの送出を禁止するので、バス上のトラフィック量を効
果的に低減できる。
According to the invention described in claim 8, when the abnormality of the communication state of the other communication node is repeatedly determined a predetermined number of times or more, it is determined that the electrical equipment unit based on the data transmitted from the other communication node. Since the control is prohibited, the risk of malfunction of the electrical component unit can be reduced. Further, according to the invention of claim 9, when the abnormality of the communication state of the other communication node is repeatedly determined a predetermined number of times or more, the data to be transmitted from the own communication node is transmitted to the other communication node. Is prohibited, the amount of traffic on the bus can be effectively reduced.

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

【図1】従来の車両用の多重伝送システムに採用されて
いる通信フレームのフォーマットを示す図である。
FIG. 1 is a diagram showing a format of a communication frame adopted in a conventional multiplex transmission system for a vehicle.

【図2】自動車のネットワークに用いられる通信ノード
の一般的な構成を示した図である。
FIG. 2 is a diagram showing a general configuration of a communication node used in a vehicle network.

【図3】本実施例のネットワーク構成を示した図であ
る。
FIG. 3 is a diagram showing a network configuration of this embodiment.

【図4】本実施例に用いられるノードのハードウエア構
成を示すブロック図。
FIG. 4 is a block diagram showing a hardware configuration of a node used in this embodiment.

【図5】本実施例の通信ノードの通信機能の正常/異常
を判定する手順を説明するフローチャートである。
FIG. 5 is a flowchart illustrating a procedure for determining normality / abnormality of the communication function of the communication node according to the present embodiment.

【図6】本実施例の通信ノードの通信機能の正常/異常
を判定する手順を説明するフローチャートである。
FIG. 6 is a flowchart illustrating a procedure for determining normality / abnormality of the communication function of the communication node according to the present embodiment.

【図7】本実施例の通信ノードの通信機能の正常/異常
を判定する手順を説明するフローチャートである。
FIG. 7 is a flowchart illustrating a procedure for determining normality / abnormality of the communication function of the communication node according to the present embodiment.

【図8】受信側ノードによる送信機能異常判定手順を示
すフローチャートである。
FIG. 8 is a flowchart showing a procedure for determining a transmission function abnormality by a receiving node.

【図9】チェックフレームのフレームID領域及びデー
タ領域に記載されるデータを示す図である。
FIG. 9 is a diagram showing data described in a frame ID area and a data area of a check frame.

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

1…エアバッグC/U ノード、 2…EGIC/U ノード、 3…EATC/U ノード、 4…4WSC/U ノード、 5…TRCC/U ノード、 10、20…ネットワーク、 50、52…伝送路、 21…コンビネーションスイッチノード、 22…メータノード、 23…ステアリングスイッチノード、 24…助手席ドアモジュールノード、 25…エアコンアンプノード、 26…オーデイオノード、 27…エアコンスイッチノード、 28…運転席ドアモジュールノード、 40…ゲートウエイノード 1 ... Airbag C / U node, 2 ... EGIC / U node, 3 ... EATC / U node, 4 ... 4WSC / U node, 5 ... TRCC / U node, 10, 20 ... Network, 50, 52 ... Transmission line, 21 ... Combination switch node, 22 ... Meter node, 23 ... Steering switch node, 24 ... Front passenger door module node, 25 ... Air conditioner amplifier node, 26 ... Audio node, 27 ... Air conditioner switch node, 28 ... Driver door module node, 40 ... Gateway node

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04Q 9/14 H04L 11/00 321 (72)発明者 池田 利文 広島県安芸郡府中町新地3番1号 マツダ 株式会社内 (72)発明者 坂本 裕昭 広島県安芸郡府中町新地3番1号 マツダ 株式会社内Continuation of the front page (51) Int.Cl. 6 Identification number Reference number within the agency FI Technical display location H04Q 9/14 H04L 11/00 321 (72) Inventor Toshifumi Ikeda 3-1, Shinchi Fuchu-cho, Aki-gun, Hiroshima Mazda Incorporated (72) Inventor Hiroaki Sakamoto 3-1, Shinchi, Fuchu-cho, Aki-gun, Hiroshima Mazda Corporation

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 複数の通信ノードが共通の多重伝送路を
介して接続され、該夫々の通信ノードは夫々に接続され
た車両の電装ユニットを制御する多重伝送装置におい
て、前記多重伝送装置は、少なくとも他の通信ノードか
ら送出されたデータを前記多重伝送路を介して受信処理
すると共に、自己の通信ノードから送信すべきデータを
前記多重伝送路を介して送信処理する送受信処理回路
と、この受信処理されたデータを取り込んで、該データ
に基づいて前記電装ユニットを制御すると共に、自己の
通信ノードから送信すべきデータを生成し、該送受信処
理回路に対して送信処理させる演算処理回路とを有する
通信ノードを含み、 前記送受信処理回路は、 他の通信ノードから送出されたデータを正常に受信処理
したことを表す第1の信号を送出する手段と、 自己のノードから送信すべきデータを正常に送出処理し
たことを表す第2の信号を前記演算処理回路に出力する
手段とを具備し、 前記演算処理回路は、 前記第1及び第2の信号に基づいて当該通信ノードの通
信状態を正常か異常か判定する判定手段を具備すること
を特徴とする多重伝送装置。
1. A multiplex transmission apparatus in which a plurality of communication nodes are connected via a common multiplex transmission path, and each of the communication nodes controls an electrical equipment unit of a vehicle connected to each of them, wherein the multiplex transmission apparatus comprises: A transmission / reception processing circuit for receiving and processing data transmitted from at least another communication node via the multiplex transmission path, and transmitting and processing data to be transmitted from its own communication node via the multiplex transmission path, and this reception And an arithmetic processing circuit that takes in the processed data, controls the electrical unit based on the data, generates data to be transmitted from its own communication node, and causes the transmission / reception processing circuit to perform transmission processing. A communication node, wherein the transmission / reception processing circuit transmits a first signal indicating that the data transmitted from another communication node has been normally received and processed. And a means for outputting to the arithmetic processing circuit a second signal indicating that the data to be transmitted from its own node has been normally transmitted, the arithmetic processing circuit comprising: A multiplex transmission device comprising: a determination unit that determines whether the communication state of the communication node is normal or abnormal based on the signal of 2.
【請求項2】 前記演算処理回路は、自己の通信ノード
の送受信処理回路から送出される前記第1及び第2の信
号に基づいて該自己の通信ノードの通信状態を正常か異
常か判定することを特徴とする請求項1に記載の多重伝
送装置。
2. The arithmetic processing circuit determines whether the communication state of its own communication node is normal or abnormal based on the first and second signals sent from the transmission / reception processing circuit of its own communication node. The multiplex transmission device according to claim 1, wherein:
【請求項3】 前記演算処理回路は、他の通信ノードが
送出した第1の信号に基づいて該他の通信ノードの通信
状態を正常か異常か判定することを特徴とする請求項1
に記載の多重伝送装置。
3. The arithmetic processing circuit determines whether the communication state of the other communication node is normal or abnormal based on the first signal sent by the other communication node.
The multiplex transmission device as set forth in.
【請求項4】 前記演算処理回路は、前記判定手段によ
り前記通信ノードの通信状態が異常であると判定された
場合、当該通信ノードの送受信処理回路を初期化すると
共に、自己のノードから送信すべきデータを再度送信さ
せることを特徴とする請求項1に記載の多重伝送装置。
4. The arithmetic processing circuit initializes the transmission / reception processing circuit of the communication node and transmits from its own node when the communication state of the communication node is judged to be abnormal by the judging means. The multiplex transmission device according to claim 1, wherein the power data is retransmitted.
【請求項5】 前記演算処理回路は、前記送受信処理回
路に対して前記自己の通信ノードから送信すべきデータ
を送信させる際に、他の通信ノードにおいて自己の通信
ノードの通信状態を判定するための所定データを送信す
ることを特徴とする請求項1に記載の多重伝送装置。
5. The arithmetic processing circuit determines the communication state of its own communication node in another communication node when causing the transmission / reception processing circuit to transmit data to be transmitted from its own communication node. 2. The multiplex transmission device according to claim 1, wherein the predetermined data is transmitted.
【請求項6】 前記演算処理回路は、前記送受信処理回
路から所定時間以内に前記第2の信号を受信しない場
合、前記自己の通信ノードの通信状態が異常であると判
定することを特徴とする請求項1に記載の多重伝送装
置。
6. The arithmetic processing circuit, when not receiving the second signal from the transmission / reception processing circuit within a predetermined time, determines that the communication state of the communication node of its own is abnormal. The multiplex transmission device according to claim 1.
【請求項7】 前記演算処理回路は、前記自己の通信ノ
ードの通信状態の異常を所定回数以上繰り返して判定し
た場合、該自己の通信ノードによるデータの送受信を停
止することを特徴とする請求項2に記載の多重伝送装
置。
7. The arithmetic processing circuit stops transmission / reception of data by the own communication node when the abnormality in the communication state of the own communication node is repeatedly determined a predetermined number of times or more. 2. The multiplex transmission device according to item 2.
【請求項8】 前記演算処理回路は、前記他の通信ノー
ドの通信状態の異常を所定回数以上繰り返して判定した
場合、該他の通信ノードから送信されたデータに基づく
前記電装ユニットの制御を禁止することを特徴とする請
求項3に記載の多重伝送装置。
8. The arithmetic processing circuit prohibits control of the electrical component unit based on data transmitted from the other communication node when the arithmetic processing circuit repeatedly determines that the communication state of the other communication node is abnormal for a predetermined number of times or more. The multiplex transmission device according to claim 3, wherein
【請求項9】 前記演算処理回路は、前記他の通信ノー
ドの通信状態の異常を所定回数以上繰り返して判定した
場合、該他の通信ノードへの自己の通信ノードから送信
すべきデータの送出を禁止することを特徴とする請求項
8に記載の多重伝送装置。
9. The arithmetic processing circuit, when the abnormality of the communication state of the other communication node is repeatedly judged a predetermined number of times or more, sends the data to be transmitted from the own communication node to the other communication node. 9. The multiplex transmission device according to claim 8, which is prohibited.
JP07430395A 1995-03-31 1995-03-31 Multiplex transmission equipment Expired - Fee Related JP3401360B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP07430395A JP3401360B2 (en) 1995-03-31 1995-03-31 Multiplex transmission equipment
DE19612631A DE19612631A1 (en) 1995-03-31 1996-03-29 Multiplex data transmitting system
KR1019960009672A KR100362236B1 (en) 1995-03-31 1996-03-30 Multiple data communication system
US08/625,316 US5825749A (en) 1995-03-31 1996-04-01 Multiplex data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07430395A JP3401360B2 (en) 1995-03-31 1995-03-31 Multiplex transmission equipment

Publications (2)

Publication Number Publication Date
JPH08275270A true JPH08275270A (en) 1996-10-18
JP3401360B2 JP3401360B2 (en) 2003-04-28

Family

ID=13543236

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07430395A Expired - Fee Related JP3401360B2 (en) 1995-03-31 1995-03-31 Multiplex transmission equipment

Country Status (1)

Country Link
JP (1) JP3401360B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129360A (en) * 2004-11-01 2006-05-18 Toyota Motor Corp Network system and state detecting method thereof
JP2006240570A (en) * 2005-03-07 2006-09-14 Honda Motor Co Ltd Power source diagnostic device for vehicle and vehicle with steering assist mechanism

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006129360A (en) * 2004-11-01 2006-05-18 Toyota Motor Corp Network system and state detecting method thereof
JP2006240570A (en) * 2005-03-07 2006-09-14 Honda Motor Co Ltd Power source diagnostic device for vehicle and vehicle with steering assist mechanism
JP4642508B2 (en) * 2005-03-07 2011-03-02 本田技研工業株式会社 Power supply diagnostic device for vehicles

Also Published As

Publication number Publication date
JP3401360B2 (en) 2003-04-28

Similar Documents

Publication Publication Date Title
US8306004B2 (en) Communication network system having high-ranking network and low-ranking networks, interchange terminal connecting high-ranking network and low-ranking network, microcomputer controlling connection between transmission line of low-ranking network and transmission line of high-ranking network, and communication transmitter-receiver connected with transmission line of low-ranking network and transmission line of high-ranking network
JP2904298B2 (en) Multiplex transmission equipment for vehicles
JP3486990B2 (en) Serial communication device
CN112347023A (en) Security module for CAN node
JP5019983B2 (en) In-vehicle communication system, relay device, and communication method
JP3770053B2 (en) Method for determining communication return in vehicle network
JPH0746665A (en) Multiplex transmitter
JPH10257078A (en) Vehicle multiple communication equipment
JP3401360B2 (en) Multiplex transmission equipment
JP3401361B2 (en) Multiplex transmission system
JP7151931B2 (en) RELAY DEVICE, COMMUNICATION NETWORK SYSTEM AND COMMUNICATION CONTROL METHOD
JPH04299629A (en) Multiplex transmission method
KR101952117B1 (en) Can communication method and apparatus for vehicle
US5263022A (en) Multiplex transmission method
US20130238736A1 (en) Communication node, communication system, and method for performing a communication
KR102595722B1 (en) Communication network, method and apparatus for identifying node connected thereto
JPH05122226A (en) Multiplex transmission method
JP2781397B2 (en) Multiplex transmission equipment
EP4231595A1 (en) Relay device, communication network system, and communication control method
JP3217397B2 (en) Data transmission method of communication control device
JP3088200B2 (en) Multiplex communication device
JP3088201B2 (en) Multiplex communication device
US20020019915A1 (en) Control unit having a main microprocessor and having a processor interface to a bus transceiver unit
JP3383463B2 (en) Multiplex transmission system
JP2022067012A (en) Relay device, communication network system and communication control method

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030131

LAPS Cancellation because of no payment of annual fees