JPH1051475A - Vehicle data transmission system - Google Patents

Vehicle data transmission system

Info

Publication number
JPH1051475A
JPH1051475A JP8199088A JP19908896A JPH1051475A JP H1051475 A JPH1051475 A JP H1051475A JP 8199088 A JP8199088 A JP 8199088A JP 19908896 A JP19908896 A JP 19908896A JP H1051475 A JPH1051475 A JP H1051475A
Authority
JP
Japan
Prior art keywords
node
delegation
transmission right
delegation destination
destination node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8199088A
Other languages
Japanese (ja)
Inventor
Kunihiko Miura
邦彦 三浦
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP8199088A priority Critical patent/JPH1051475A/en
Publication of JPH1051475A publication Critical patent/JPH1051475A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】 ネットワーク上の各ノードのバスへの接続状
態を容易に管理できるトークンパッシング方式を採用し
た車両データ伝送システムを提供する。 【解決手段】 バス3に接続された各ノード1a〜1c
において、委譲先設定部23a〜23cは送信権の委譲
先ノードを設定し、送受信部21a〜23cはデータの
送受信を行うと共に設定された委譲先ノードに送信権の
委譲メッセージを送出し、検知部28a〜28cは委譲
メッセージを受信した委譲先ノードから送られてくる受
信応答メッセージを検知し、前記委譲先設定部は、予め
定められた所定時間内に委譲先ノードから受信応答メッ
セージが検出されない場合に次の委譲先ノードを設定
し、各委譲先ノードからの受信応答メッセージに基づき
各委譲先ノードのバスへの接続状態を示す接続情報をメ
モリ25aに記憶させる。
(57) [Problem] To provide a vehicle data transmission system adopting a token passing method which can easily manage a connection state of each node on a network to a bus. SOLUTION: Each of nodes 1a to 1c connected to a bus 3
, The delegation destination setting units 23a to 23c set transmission destination delegation nodes, and the transmission / reception units 21a to 23c transmit and receive data and transmit transmission right delegation messages to the set delegation destination nodes. 28a to 28c detect a reception response message sent from the delegation destination node that has received the delegation message, and the delegation destination setting unit determines that the reception response message is not detected from the delegation destination node within a predetermined time. , The connection information indicating the connection state of each delegation destination node to the bus is stored in the memory 25a based on the reception response message from each delegation destination node.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両に搭載される
複数のノードがバスに接続され、各ノード間に送信権を
予め定められた順番で循環させ、送信権を獲得したノー
ドが前記バスにデータを送出する車両データ伝送システ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of nodes mounted on a vehicle connected to a bus, circulating a transmission right between the nodes in a predetermined order, and a node acquiring the transmission right being connected to the bus. The present invention relates to a vehicle data transmission system for transmitting data to a vehicle.

【0002】[0002]

【従来の技術】自動車などの車両には、複数の電子制御
ノードが共通のバスに接続され、各ノード間でデータの
送受信を行なっている。この場合、各ノード間におい
て、送信権を予め定められた順番で循環させ、送信権を
獲得したノードがバスにデータを送出するトークンパッ
シング方式がある。
2. Description of the Related Art In a vehicle such as an automobile, a plurality of electronic control nodes are connected to a common bus, and data is transmitted and received between the nodes. In this case, there is a token passing method in which the transmission right is circulated among the nodes in a predetermined order, and the node that has acquired the transmission right sends data to the bus.

【0003】この種のトークンパッシング方式を採用し
た車両用データ伝送システムの技術として、例えば特開
平6−269048に記載されたものがある。
[0003] As a technique of a vehicle data transmission system employing this kind of token passing system, for example, there is one disclosed in Japanese Patent Laid-Open No. 6-269048.

【0004】特開平6−269048に記載されたもの
は、図6に示すように、委譲先ノードのアドレスを自ノ
ードのアドレスに値1を加算した値とし、委譲先ノード
へ送信権の委譲メッセージを送出する(ステップS11
1)。
Japanese Patent Laid-Open No. Hei 6-269048 discloses a method of assigning the address of a delegation destination node to a value obtained by adding a value 1 to the address of a self-node, as shown in FIG. (Step S11)
1).

【0005】そして、委譲先ノードから送信権の委譲メ
ッセージの受信応答メッセージがあったかどうかを判定
し(ステップS113)、受信応答メッセージがあれ
ば、ネットワークを正常と判断し(ステップS11
5)、処理を終了する。
[0005] Then, it is determined whether or not there has been a reception response message of the transmission right delegation message from the delegation destination node (step S113). If there is a reception response message, the network is determined to be normal (step S11).
5), end the processing.

【0006】しかし、受信応答メッセージがない場合に
は、次の委譲先ノードのアドレスをセットし(ステップ
S117)、さらに、セットされたアドレスが自ノード
のアドレスと等しいかどうかを判定する(ステップS1
19)。
However, if there is no reception response message, the address of the next delegation destination node is set (step S117), and it is determined whether the set address is equal to the address of the own node (step S1).
19).

【0007】セットされたアドレスが自ノードのアドレ
スと異なる場合には、ステップS111に戻り、次の送
信先のノードのアドレスに基づき次の委譲先ノードに送
信権の委譲メッセージを送出し、ステップ113からス
テップS119までの処理を行う。
If the set address is different from the address of the own node, the process returns to step S111, where a transmission right transfer message is transmitted to the next transfer destination node based on the address of the next transmission destination node. To step S119.

【0008】そして、セットされたアドレスが自ノード
のアドレスと等しくなった場合には、ネットワークを異
常と判断していた。
When the set address becomes equal to the address of the own node, the network is determined to be abnormal.

【0009】このような処理によれば、トークン委譲処
理を行いながらシステムの異常判定を行うことができる
ので、他の処理を中止させることなく、システムの伝送
効率を低下することなく、ネットワークの異常を検出す
ることができる。
According to such processing, it is possible to judge the system abnormality while performing the token transfer processing, so that other processing is not stopped, the transmission efficiency of the system is not reduced, and the network abnormality is performed. Can be detected.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、従来の
トークンパッシング方式では、自ノードが委譲先ノード
から受信した受信応答メッセージをネットワーク上の管
理情報として有効に使用していなかった。
However, in the conventional token passing method, the reception response message received by the own node from the transfer destination node has not been effectively used as management information on the network.

【0011】このため、ある委譲先ノードがネットワー
ク上のバスに未接続である場合に、ネットワークが異常
であることを検出できても、どの委譲先ノードがバスに
未接続であるのかを判断することができなかった。
For this reason, when a certain delegation destination node is not connected to the bus on the network, it is possible to determine which delegation destination node is not connected to the bus even if it can detect that the network is abnormal. I couldn't do that.

【0012】本発明は、ネットワーク上の各ノードのバ
スへの接続状態を容易に管理することのできる車両デー
タ伝送システムを提供することにある。
An object of the present invention is to provide a vehicle data transmission system capable of easily managing the connection state of each node on a network to a bus.

【0013】[0013]

【課題を解決するための手段】本発明は、前記課題を解
決するために以下の手段を採用した。請求項1の発明
は、複数のノードがバスに接続され、各ノード間に送信
権を予め定められた順番で循環させ、送信権を獲得した
ノードが前記バスにデータを送出する車両データ伝送シ
ステムにおいて、前記各々のノードは、前記送信権の委
譲先ノードを設定する委譲先設定手段と、データの送受
信を行うと共に、前記委譲先設定手段により設定された
前記送信権の委譲先ノードに送信権の委譲メッセージを
送出する送受信手段と、前記送信権の委譲メッセージを
受信した前記送信権の委譲先ノードから送られてくる受
信応答メッセージを検知する検知手段と、情報を記憶す
る記憶手段とを備え、前記委譲先設定手段は、予め定め
られた所定時間内に前記送信権の委譲先ノードから受信
応答メッセージが検出されない場合に次の委譲先ノード
を設定し、各委譲先ノードからの受信応答メッセージに
基づき各委譲先ノードの前記バスへの接続状態を示す接
続情報を前記記憶手段に記憶させることを要旨とする。
The present invention employs the following means in order to solve the above-mentioned problems. A vehicle data transmission system according to claim 1, wherein a plurality of nodes are connected to a bus, a transmission right is circulated among the nodes in a predetermined order, and a node having acquired the transmission right sends data to the bus. , Each of the nodes transmits / receives data to / from a delegation destination setting unit that sets a delegation destination node of the transmission right, and transmits the transmission right to the delegation destination node of the transmission right set by the delegation destination setting unit. Transmitting and receiving means for transmitting the transfer right transfer message, detecting means for detecting a reception response message sent from the transmission right transfer destination node which has received the transmission right transfer message, and storage means for storing information. The delegation destination setting means, when a reception response message is not detected from the transmission right delegation destination node within a predetermined time, sets the next delegation destination node. Constant, and the subject matter that is stored in the storage means the connection information indicating the connection to the bus of the transfer destination node based on the received response message from the delegate node.

【0014】この発明によれば、委譲先設定手段が、送
信権の委譲先ノードを設定し、送受信手段が、データの
送受信を行うと共に、委譲先設定手段により設定された
送信権の委譲先ノードに送信権の委譲メッセージを送出
し、検知手段が、送信権の委譲メッセージを受信した送
信権の委譲先ノードから送られてくる受信応答メッセー
ジを検知する。
According to the present invention, the delegation destination setting means sets the transmission right delegation node, the transmission / reception means transmits and receives data, and the transmission right delegation destination node set by the delegation destination setting means. The transmission right delegation message is sent to the transmission right delegation message, and the detecting unit detects the reception response message transmitted from the transmission right delegation destination node that has received the transmission right delegation message.

【0015】そして、前記委譲先設定手段が、予め定め
られた所定時間内に送信権の委譲先ノードから受信応答
メッセージが検出されない場合に次の委譲先ノードを設
定し、各委譲先ノードからの受信応答メッセージに基づ
き各委譲先ノードのバスへの接続状態を示す接続情報を
記憶手段に記憶させる。
The delegation destination setting means sets the next delegation destination node when a reception response message is not detected from the transmission right delegation destination node within a predetermined time, and sets the next delegation destination node. Based on the reception response message, the storage unit stores connection information indicating the connection state of each delegation destination node to the bus.

【0016】従って、ネットワーク上の各ノードのバス
への接続状態を容易に管理することができる。
Therefore, the connection state of each node on the network to the bus can be easily managed.

【0017】請求項2の発明において、前記委譲先設定
手段は、前記送信権の委譲先ノードから受信応答メッセ
ージが検出されない場合にその委譲先ノードが前記バス
に未接続であるとして未接続の委譲先ノードのアドレス
を前記記憶手段に記憶させることを要旨とする。
In the invention according to claim 2, the delegation destination setting means determines that the delegation destination node is not connected to the bus when the reception response message is not detected from the transmission right delegation destination node. The gist is to store the address of the destination node in the storage means.

【0018】この発明によれば、委譲先設定手段は、送
信権の委譲先ノードから受信応答メッセージが検出され
ない場合にその委譲先ノードがバスに未接続であるとし
て未接続の委譲先ノードのアドレスを記憶手段に記憶さ
せるので、バスに未接続なノードが容易にわかる。
According to this invention, the delegation destination setting means determines that the delegation destination node is not connected to the bus when the reception response message is not detected from the transmission right delegation destination node. Is stored in the storage means, so that nodes not connected to the bus can be easily identified.

【0019】請求項3の発明において、前記委譲先設定
手段は、前記委譲先ノードのアドレスをインクリメント
することにより前記次の委譲先ノードを設定することを
要旨とする。
In the invention according to claim 3, the delegation destination setting means sets the next delegation destination node by incrementing an address of the delegation destination node.

【0020】この発明によれば、委譲先設定手段は、委
譲先ノードのアドレスをインクリメントすることにより
順番に次の委譲先ノードを設定するので、どの委譲先ノ
ードがバスに未接続であるかがわかる。
According to the present invention, the delegation destination setting means sequentially sets the next delegation destination node by incrementing the address of the delegation destination node, so that which delegation destination node is not connected to the bus is determined. Recognize.

【0021】請求項4の発明によれば、前記委譲先設定
手段は、設定された委譲先ノードのアドレスが、自ノー
ドのアドレスになったとき、前記送信権が所定の送信権
の委譲先ノードを一巡したとして、前記自ノードのアド
レスを前記記憶手段に記憶させることを要旨とする。
According to the fourth aspect of the present invention, the delegation destination setting means sets the transmission right to a delegation destination node having a predetermined transmission right when the set delegation destination node address becomes the address of the own node. And that the address of the own node is stored in the storage means.

【0022】この発明によれば、委譲先設定手段は、設
定された委譲先ノードのアドレスが、自ノードのアドレ
スになったとき、送信権が所定の送信権の委譲先ノード
を一巡したとして、自ノードのアドレスを記憶手段に記
憶させるので、自ノード以外のノードがバスに未接続で
あることがわかる。
According to the present invention, the delegation destination setting means determines that when the set delegation destination node address becomes the address of its own node, the transmission right goes around the delegation destination node having the predetermined transmission right. Since the address of the own node is stored in the storage means, it can be understood that nodes other than the own node are not connected to the bus.

【0023】[0023]

【発明の実施の形態】以下、本発明の車両データ伝送シ
ステムの実施の形態を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a vehicle data transmission system according to the present invention will be described below with reference to the drawings.

【0024】図1に本発明の車両データ伝送システムの
実施の形態の構成図を示す。図1に示す車両伝送システ
ムにおいて、バス3にはエンジン制御ノード1a、ミッ
ション制御ノード1b、ブレーキ制御ノード1cが接続
され、トークンパッシング方式によりノード相互間で必
要なデータの送受信が行われる。
FIG. 1 shows a configuration diagram of an embodiment of a vehicle data transmission system according to the present invention. In the vehicle transmission system shown in FIG. 1, an engine control node 1a, a mission control node 1b, and a brake control node 1c are connected to a bus 3, and necessary data is transmitted and received between the nodes by a token passing method.

【0025】すなわち、各ノード1a〜1c相互間に送
信権を予め定められた順番で循環させ、送信権を獲得し
たノードが前記バス3にデータを送出する。
That is, the transmission right is circulated among the nodes 1a to 1c in a predetermined order, and the node which has acquired the transmission right sends the data to the bus 3.

【0026】エンジン制御ノード1aは、運転者のアク
セルペダルの操作等に応じてエンジンの作動を制御す
る。ミッション制御ノード1bは、車両の運転状態に応
じて自動変速機の制御を行う。ブレーキ制御ノード1c
は、車輪のロック状態を検出することによりブレーキ制
御を行う。
The engine control node 1a controls the operation of the engine according to the driver's operation of the accelerator pedal or the like. The mission control node 1b controls the automatic transmission according to the driving state of the vehicle. Brake control node 1c
Performs brake control by detecting the locked state of the wheels.

【0027】エンジン制御ノード1aは、CPU(中央
処理装置)11a、送受信部21a、委譲先設定部23
a、メモリ25a、検知部28a、カウンタ30aを備
えている。
The engine control node 1a includes a CPU (central processing unit) 11a, a transmitting / receiving unit 21a, a transfer destination setting unit 23
a, a memory 25a, a detection unit 28a, and a counter 30a.

【0028】エンジン制御ノード1aには、車両の各部
に設けられ走行状態を検出するセンサ31a、アクチュ
エータ41aが接続される。
The engine control node 1a is connected to a sensor 31a provided in each part of the vehicle for detecting a running state and an actuator 41a.

【0029】なお、図1において、センサ31aを1個
しか示していないが、実際には、センサ31aは、複数
個設けられているものとする。CPU11aは、センサ
31aからの検知信号に基づきアクチュエータ41aを
駆動する。
Although only one sensor 31a is shown in FIG. 1, it is assumed that a plurality of sensors 31a are actually provided. The CPU 11a drives the actuator 41a based on a detection signal from the sensor 31a.

【0030】ミッション制御ノード1b及びブレーキ制
御ノード1cも、前記エンジン制御ノード1aの構成と
同一構成である。すなわち、ミッション制御ノード1b
は、CPU11b、送受信部21b、委譲先設定部23
b、メモリ25b、検知部28b、カウンタ30bを備
えている。
The mission control node 1b and the brake control node 1c have the same configuration as that of the engine control node 1a. That is, the mission control node 1b
Is a CPU 11b, a transmitting / receiving unit 21b, a transfer destination setting unit 23
b, a memory 25b, a detection unit 28b, and a counter 30b.

【0031】ブレーキ制御ノード1cは、CPU11
c、送受信部21c、委譲先設定部23c、メモリ25
c、検知部28c、カウンタ30cを備えている。
The brake control node 1c has a CPU 11
c, transmission / reception unit 21c, delegation destination setting unit 23c, memory 25
c, a detection unit 28c, and a counter 30c.

【0032】委譲先設定部23a〜23cは、前記送信
権の委譲先ノードを委譲先ノードのアドレスにより設定
するもので、前記委譲先ノードのアドレスをインクリメ
ントすることにより次の委譲先ノードを設定する。
The delegation destination setting units 23a to 23c set the delegation destination node of the transmission right by the address of the delegation destination node, and set the next delegation destination node by incrementing the address of the delegation destination node. .

【0033】委譲先設定部23a〜23cは、図示しな
いアドレス管理テーブルを有し、例えば、先行ノード、
自ノード、次ノードの各アドレスを管理している。
Each of the delegation destination setting units 23a to 23c has an address management table (not shown).
It manages each address of its own node and the next node.

【0034】送受信部21a〜21cは、データの送受
信を行うと共に、前記委譲先設定部23a〜23cによ
り設定された前記送信権の委譲先ノードに送信権の委譲
メッセージを送出する。
The transmission / reception units 21a to 21c transmit and receive data and transmit a transmission right transfer message to the transmission right transfer destination node set by the transfer destination setting units 23a to 23c.

【0035】検知部28a〜28cは、前記送信権の委
譲メッセージを受信した前記送信権の委譲先ノードから
送られてくる受信応答メッセージを検知する。メモリ2
5a〜25cは、各種の情報を記憶する。
The detecting units 28a to 28c detect the reception response message sent from the transmission right transfer destination node which has received the transmission right transfer message. Memory 2
5a to 25c store various information.

【0036】カウンタ30a〜30cは、委譲先設定部
23a〜23cが送信権の委譲先ノードを設定した時か
ら、予め定められたタイムアウト時間まで時間をカウン
トし、タイムアウト時間経過時にタイムアウト信号を委
譲先設定部23a〜23cに出力する。
The counters 30a to 30c count the time from the time when the delegation destination setting units 23a to 23c set the transmission right delegation destination node to a predetermined timeout period, and send the timeout signal when the timeout period elapses. Output to the setting units 23a to 23c.

【0037】前記委譲先設定部23a〜23cは、カウ
ンタ30a〜30cでカウントされたタイムアウト時間
内に、前記送信権の委譲先ノードから受信応答メッセー
ジが検出されない場合に、次の委譲先ノードを設定し、
各委譲先ノードからの受信応答メッセージに基づき各委
譲先ノードのバス3への接続状態を示す接続情報を前記
メモリ25a〜25cに記憶させる。
The delegation destination setting units 23a to 23c set the next delegation destination node when a reception response message is not detected from the transmission right delegation destination node within the timeout time counted by the counters 30a to 30c. And
The connection information indicating the connection state of each delegation destination node to the bus 3 is stored in the memories 25a to 25c based on the reception response message from each delegation destination node.

【0038】前記委譲先設定部23a〜23cは、前記
送信権の委譲先ノードから受信応答メッセージが検出さ
れない場合に、その委譲先ノードがバス3に未接続であ
るとして未接続の委譲先ノードのアドレスをメモリ25
a〜25cに記憶させる。
When no reception response message is detected from the transmission right delegation node, the delegation destination setting units 23a to 23c determine that the delegation destination node is not connected to the bus 3 and determine whether the delegation destination node is not connected to the bus 3. Address 25
a to 25c.

【0039】前記委譲先設定部23a〜23cは、設定
された委譲先ノードのアドレスが、自ノードのアドレス
になったとき、前記送信権が所定の送信権の委譲先ノー
ドを一巡したとして、自ノードのアドレスをメモリ25
a〜25cに記憶させる。
When the address of the set delegation destination node becomes the address of the own node, the delegation destination setting units 23a to 23c determine that the transmission right has gone through the delegation destination node of the predetermined transmission right, and Node address is stored in memory 25
a to 25c.

【0040】図2に実施の形態のデータフレームのフォ
ーマットを示す。図2にデータフレームは、メッセージ
の開始を示すSOM、送信権の委譲先ノードのアドレス
を示す委譲先アドレス、送信元アドレス、データ、誤り
検出用文字列CRC、受信確認応答情報、メッセージの
終了を示すEOMからなる。
FIG. 2 shows the format of a data frame according to the embodiment. In FIG. 2, the data frame includes an SOM indicating the start of a message, a transfer destination address indicating an address of a transfer right transfer destination node, a transmission source address, data, an error detection character string CRC, reception acknowledgment information, and an end of the message. EOM shown.

【0041】なお、委譲先アドレスは、例えば、前記各
制御ノードに対応して値0〜2を設定しても良い。
The transfer destination address may be set to a value of 0 to 2 corresponding to each control node.

【0042】前記データは、データのバイト長、データ
の識別子、伝送すべき情報からなる。前記受信確認応答
情報は、データを正常に受信したノードによる受信確認
応答情報と送信権を正常に受信したノードによる受信確
認応答情報とからなる。
The data includes a data byte length, a data identifier, and information to be transmitted. The reception acknowledgment information includes reception acknowledgment information from a node that has successfully received data and reception acknowledgment information from a node that has normally received a transmission right.

【0043】次に、このように構成された実施の形態の
車両データ伝送システムの動作を図3に示すフローチャ
ートに従って説明する。
Next, the operation of the thus configured vehicle data transmission system of the embodiment will be described with reference to the flowchart shown in FIG.

【0044】ここでは、例えば、エンジン制御ノード1
a、ミッション制御ノード1b、ブレーキ制御ノード1
cの順に送信権が循環するものとし、ミッション制御ノ
ード1bが、バス3に接続されていない場合について説
明する。
Here, for example, the engine control node 1
a, mission control node 1b, brake control node 1
The case where the transmission right circulates in the order of c and the mission control node 1b is not connected to the bus 3 will be described.

【0045】まず、エンジン制御ノード1aの送受信部
21aは、ブレーキ制御ノード1cから、委譲先アドレ
ス”1a”、発信元アドレス”1e”を受信し、送信権
を得る。
First, the transmission / reception unit 21a of the engine control node 1a receives the transfer destination address "1a" and the transmission source address "1e" from the brake control node 1c, and obtains the transmission right.

【0046】そして、エンジン制御ノード1a内の委譲
先設定部23aは、委譲先アドレスを、次の委譲先アド
レス”1b(ミッション制御ノードのアドレス)”に設
定する。
Then, the transfer destination setting unit 23a in the engine control node 1a sets the transfer destination address to the next transfer destination address "1b (address of the mission control node)".

【0047】エンジン制御ノード1aの送受信部21a
は、委譲先ノードであるミッション制御ノード1bへ送
信権の委譲メッセージを送出する(ステップS11)。
Transmission / reception section 21a of engine control node 1a
Sends a transmission right transfer message to the mission control node 1b, which is the transfer destination node (step S11).

【0048】次に、カウンタ30aは、委譲先設定部2
3aが送信権の委譲先ノードを設定した時から、予め定
められたタイムアウト時間まで時間をカウントしていく
(ステップS13)。
Next, the counter 30a is set in the transfer destination setting section 2
The time is counted from the time when 3a sets the transmission right transfer destination node to a predetermined timeout time (step S13).

【0049】そして、カウンタ30aは、カウント時間
がタイムアウト時間に達すると、タイムアウト信号を委
譲先設定部23aに出力する。
When the count time reaches the timeout time, the counter 30a outputs a timeout signal to the transfer destination setting unit 23a.

【0050】次に、エンジン制御ノード1aの検知部2
8aは、前記送信権の委譲メッセージを受信した前記送
信権の委譲先ノードであるミッション制御ノード1bが
受信応答メッセージ(図2に示す受信確認応答情報)を
エンジン制御ノード1aに送出した場合には、送受信部
21aを介して、受信応答メッセージを検知する。
Next, the detection unit 2 of the engine control node 1a
8a, when the mission control node 1b, which is the transmission right delegation node that has received the transmission right delegation message, sends a reception response message (reception acknowledgment information shown in FIG. 2) to the engine control node 1a. The reception response message is detected via the transmission / reception unit 21a.

【0051】委譲先設定部23aは、カウンタ30aか
らのタイムアウト信号と検知部28aからの検知信号と
に基づき、前記タイムアウト時間内に、受信応答メッセ
ージを受信したかどうかを判定する(ステップS1
5)。
The transfer destination setting unit 23a determines whether a reception response message has been received within the timeout period based on the timeout signal from the counter 30a and the detection signal from the detection unit 28a (step S1).
5).

【0052】ここで、前記タイムアウト時間を例えば、
140msとする。正常時、すなわち、バス3に各制御
ノード1a〜1cが接続されている時には、図4に示す
ように、エンジン制御ノード1aが時刻t1 において、
委譲メッセージP1aをミッション制御ノード1bに送出
する。
Here, the timeout time is, for example,
It is 140 ms. Normal, i.e., when the control node 1a~1c are connected to the bus 3, as shown in FIG. 4, an engine control node 1a is at the time t 1,
Send the transfer message P1a to the mission control node 1b.

【0053】図4では、エンジン制御ノード1aからミ
ッション制御ノード1bへの委譲メッセージP1aの送出
を、1a→1bで示している。
In FIG. 4, the transmission of the transfer message P 1a from the engine control node 1a to the mission control node 1b is indicated by 1a → 1b.

【0054】そして、時刻t1 から100msだけ経過
した時刻t2 において、ミッション制御ノード1bがブ
レーキ制御ノード1cに送信権の委譲メッセージP1b
送出している。図4では、ミッション制御ノード1bか
らブレーキ制御ノード1cへの委譲メッセージP1bの送
出を、1b→1cで示している。
[0054] Then, at time t 2 has elapsed from the time t 1 by 100 ms, the transmission control node 1b is sending a delegation message P 1b of transmission right to the brake control node 1c. In FIG. 4, transmission of the transfer message P 1b from the mission control node 1b to the brake control node 1c is indicated by 1b → 1c.

【0055】すなわち、ミッション制御ノード1bはタ
イムアウト時間内に受信応答メッセージをエンジン制御
ノード1aに送出している。
That is, the mission control node 1b sends a reception response message to the engine control node 1a within the timeout period.

【0056】また、時刻t2 から100msだけ経過し
た時刻t3 において、ブレーキ制御ノード1cが、エン
ジン制御ノード1aに送信権の委譲メッセージP1cを送
出している。図4では、ブレーキ制御ノード1cからエ
ンジン制御ノード1aへの委譲メッセージP1cの送出
を、1c→1aで示している。
[0056] Further, at time t 3 when has elapsed 100ms from time t 2, the brake control node 1c has sent a delegation message P 1c of transmission right to the engine control node 1a. In FIG. 4, the transmission of the transfer message P 1c from the brake control node 1c to the engine control node 1a is indicated by 1c → 1a.

【0057】すなわち、ブレーキ制御ノード1cはタイ
ムアウト時間内に受信応答メッセージをミッション制御
ノード1bに送出している。
That is, the brake control node 1c sends a reception response message to the mission control node 1b within the timeout period.

【0058】一方、異常時、すなわち、バス3にミッシ
ョン制御ノード1bが接続されていない時には、図5に
示すように、タイムアウト時間(時刻t1 から時刻t4
までの時間)内に、エンジン制御ノード1aが、送信権
の委譲先ノードであるミッション制御ノード1bから受
信応答メッセージを受信しない。
Meanwhile, abnormal, i.e., when the admission control node 1b to the bus 3 is not connected, as shown in FIG. 5, the timeout time (time t 1 time t 4 from
The engine control node 1a does not receive the reception response message from the mission control node 1b, which is the node to which the transmission right has been delegated, within the time period up to).

【0059】また、ミッション制御ノード1bが、送信
権の委譲メッセージをブレーキ制御ノード1cに送出し
ない。図5では、時刻t2 において、ミッション制御ノ
ード1bから送信権の委譲メッセージがブレーキ制御ノ
ード1cに送出されていないことを点線部分のパルスに
よって示した。
The mission control node 1b does not send a transmission right transfer message to the brake control node 1c. In FIG. 5, the transmission right transfer message is not transmitted from the mission control node 1b to the brake control node 1c at the time t 2 by a pulse indicated by a dotted line.

【0060】このため、エンジン制御ノード1aの委譲
先設定部23aは、タイムアウト時に、ミッション制御
ノード1bの次の委譲先ノードであるブレーキ制御ノー
ド1cのアドレスをセットする(ステップS17)。
For this reason, the delegation destination setting unit 23a of the engine control node 1a sets the address of the brake control node 1c which is the next delegation destination node of the mission control node 1b at the time of timeout (step S17).

【0061】さらに、委譲先設定部23aは、セットさ
れたアドレスが自アドレスであるかどうかを判定する
(ステップS19)。
Further, the transfer destination setting unit 23a determines whether the set address is its own address (step S19).

【0062】セットされたアドレスが自アドレスでない
場合には、委譲先設定部23aは、未接続ノードである
ミッション制御ノード1bのアドレス値”1b”をメモ
リ25aに記憶する(ステップS21)。
If the set address is not its own address, the transfer destination setting unit 23a stores the address value “1b” of the mission control node 1b, which is an unconnected node, in the memory 25a (step S21).

【0063】そして、ステップS11の処理に戻り、タ
イムアウト時である時刻t4 において、エンジン制御ノ
ード1aは、送信権の委譲メッセージP2aをブレーキ制
御ノード1cに送出する。図5では、エンジン制御ノー
ド1aからブレーキ制御ノード1cへの委譲メッセージ
2aの送出を、1a→1cで示している。
[0063] Then, the process returns to step S11, at time t 4 is a time-out, the engine control node 1a transmits the delegation message P 2a of the transmission right to the brake control node 1c. In Figure 5, the delivery of the delegation message P 2a from engine control node 1a to the brake control node 1c, are indicated by 1a → 1c.

【0064】次に、ブレーキ制御ノード1cは、時刻t
4 から100msだけ経過した時刻t5 において、エン
ジン制御ノード1aに送信権の委譲メッセージP1cを送
出している。図5では、ブレーキ制御ノード1cからエ
ンジン制御ノード1aへの委譲メッセージP1cの送出
を、1c→1aで示している。
Next, the brake control node 1c operates at time t.
At time t 5 that has elapsed 100ms 4, and sends the delegation message P 1c of transmission right to the engine control node 1a. In FIG. 5, the transmission of the transfer message P 1c from the brake control node 1c to the engine control node 1a is indicated by 1c → 1a.

【0065】すなわち、ブレーキ制御ノード1cは、タ
イムアウト時間内に受信応答メッセージをミッション制
御ノード1bに送出している。
That is, the brake control node 1c sends a reception response message to the mission control node 1b within the timeout period.

【0066】一方、ステップ19において、セットされ
たアドレスが自アドレスである場合、すなわち、自ノー
ド以外の制御ノードがバス3に接続されていない場合に
は、委譲先設定部23aは、自アドレス”1a”をメモ
リ25aに記憶する(ステップS23)。そして、通信
デバイスをリセットする(ステップS25)。
On the other hand, if the set address is the own address in step 19, that is, if no control node other than the own node is connected to the bus 3, the transfer destination setting unit 23a sets the own address to 1a "is stored in the memory 25a (step S23). Then, the communication device is reset (step S25).

【0067】また、ステップ15において、自ノードが
委譲先ノードから受信応答メッセージを受信した場合に
は、処理を終了する。
If the own node has received the reception response message from the delegation destination node in step 15, the process ends.

【0068】このように、トークンパッシング方式を採
用する車両データ伝送システムにおいて、委譲先ノード
に送信権の委譲メッセージを送信し、タイムアウト時間
内に、委譲先ノードからの受信応答メッセージまたは送
信権の委譲メッセージが送出されない場合には、その委
譲先ノードがバス3に未接続であるとし、その委譲先ノ
ード以外の制御ノードがバス3に接続されているとす
る。
As described above, in the vehicle data transmission system adopting the token passing method, the transmission right transfer message is transmitted to the transfer destination node, and the reception response message or the transmission right transfer from the transfer destination node is transmitted within the timeout period. When the message is not transmitted, it is assumed that the transfer destination node is not connected to the bus 3 and that a control node other than the transfer destination node is connected to the bus 3.

【0069】そして、これらの制御ノードの接続情報を
メモリ23aに記憶したので、ネットワーク上の各制御
ノードの接続状態を容易に管理することができる。
Since the connection information of these control nodes is stored in the memory 23a, the connection state of each control node on the network can be easily managed.

【0070】メモリ23aに記憶された接続情報を読み
出すことで、例えば、ミッション制御ノード1bが、バ
ス3に未接続であり、エンジン制御ノード1a及びブレ
ーキ制御ノード1cがバス3に接続されていることが容
易にわかる。
By reading the connection information stored in the memory 23a, for example, the mission control node 1b is not connected to the bus 3 and the engine control node 1a and the brake control node 1c are connected to the bus 3. Can be easily understood.

【0071】なお、実施の形態では、エンジン制御ノー
ド1aにおいて、委譲先設定部23aがメモリ25aに
バス3への未接続ノード情報を記憶する例を説明した
が、例えば、ブレーキ制御ノード1cにおいて、委譲先
設定部23cがメモリ25cにバス3への未接続ノード
情報を記憶しても良い。
In the embodiment, the example in which the delegation destination setting unit 23a stores the information of the node not connected to the bus 3 in the memory 25a in the engine control node 1a has been described. The delegation destination setting unit 23c may store information on nodes not connected to the bus 3 in the memory 25c.

【0072】また、実施の形態では、ノード数を3つと
したが、ノード数は、これに限定されるものではなく、
4つ以上であっても良い。
In the embodiment, the number of nodes is three, but the number of nodes is not limited to three.
There may be four or more.

【0073】例えば、出力トルク制御ノード、サスペン
ション制御ノードなどを、さらに、バス3に接続するよ
うにして、車両データ伝送システムを構成するようにし
ても良い。
For example, an output torque control node, a suspension control node, and the like may be further connected to the bus 3 to form a vehicle data transmission system.

【0074】前記出力トルク制御ノードは、車両の駆動
輪のスリップ状態を検出し、エンジンの出力トルクの制
御を行なうものである。前記サスペンション制御ノード
は、車両の運転状態に応じてサスペンションの制御を行
なうものである。
The output torque control node detects the slip state of the drive wheels of the vehicle and controls the output torque of the engine. The suspension control node controls the suspension according to the driving state of the vehicle.

【0075】さらに、実施の形態では、ミッション制御
ノード1bをバス3に未接続としたが、例えば、エンジ
ン制御ノード1aまたはブレーキ制御ノード1cがバス
3に未接続であってもよい。
Further, in the embodiment, the mission control node 1b is not connected to the bus 3, but, for example, the engine control node 1a or the brake control node 1c may not be connected to the bus 3.

【0076】また、実施の形態では、タイムアウト時間
を140msとしたが、このタイムアウト時間は、この
時間数値に限定されることなく、その他の時間数値であ
ってもよい。
In the embodiment, the timeout time is set to 140 ms. However, the timeout time is not limited to this time value, but may be another time value.

【0077】[0077]

【発明の効果】本発明によれば、委譲先設定手段が、送
信権の委譲先ノードを設定し、送受信手段が、データの
送受信を行うと共に、委譲先設定手段により設定された
送信権の委譲先ノードに送信権の委譲メッセージを送出
し、検知手段が、送信権の委譲メッセージを受信した送
信権の委譲先ノードから送られてくる受信応答メッセー
ジを検知する。
According to the present invention, the delegation destination setting means sets the transmission right delegation node, the transmission / reception means transmits and receives data, and delegates the transmission right set by the delegation destination setting means. The transmission right transfer message is sent to the destination node, and the detecting means detects the reception response message sent from the transmission right transfer destination node that has received the transmission right transfer message.

【0078】そして、前記委譲先設定手段が、予め定め
られた所定時間内に送信権の委譲先ノードから受信応答
メッセージが検出されない場合に次の委譲先ノードを設
定し、各委譲先ノードからの受信応答メッセージに基づ
き各委譲先ノードのバスへの接続状態を示す接続情報を
記憶手段に記憶させる。
When the reception response message is not detected from the transmission right delegation destination node within a predetermined time, the delegation destination setting means sets the next delegation destination node. Based on the reception response message, the storage unit stores connection information indicating the connection state of each delegation destination node to the bus.

【0079】従って、ネットワーク上の各ノードのバス
への接続状態を容易に管理することができる。
Therefore, the connection state of each node on the network to the bus can be easily managed.

【0080】また、委譲先設定手段は、送信権の委譲先
ノードから受信応答メッセージが検出されない場合にそ
の委譲先ノードがバスに未接続であるとして未接続の委
譲先ノードのアドレスを記憶手段に記憶させるので、バ
スに未接続なノードが容易にわかる。
The transfer destination setting means determines that the transfer destination node is not connected to the bus when the reception response message is not detected from the transfer right transfer destination node, and stores the address of the unconnected transfer destination node in the storage means. Since the information is stored, a node not connected to the bus can be easily identified.

【0081】また、委譲先設定手段は、委譲先ノードの
アドレスをインクリメントすることにより順番に次の委
譲先ノードを設定するので、どの委譲先ノードがバスに
未接続であるかがわかる。
Further, the delegation destination setting means sets the next delegation destination node in order by incrementing the address of the delegation destination node, so that it is possible to know which delegation destination node is not connected to the bus.

【0082】また、委譲先設定手段は、設定された委譲
先ノードのアドレスが、自ノードのアドレスになったと
き、送信権が所定の送信権の委譲先ノードを一巡したと
して、自ノードのアドレスを記憶手段に記憶させるの
で、自ノード以外のノードがバスに未接続であることが
わかる。
Further, the delegation destination setting means determines that when the set delegation destination node address becomes its own node address, the transmission right goes around the delegation destination node having the predetermined transmission right, and Is stored in the storage means, it can be understood that nodes other than the own node are not connected to the bus.

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

【図1】本発明の車両データ伝送システムの実施の形態
を示す構成図である。
FIG. 1 is a configuration diagram showing an embodiment of a vehicle data transmission system of the present invention.

【図2】実施の形態のデータフレームのフォーマットを
示す図である。
FIG. 2 is a diagram illustrating a format of a data frame according to the embodiment;

【図3】本発明の車両データ伝送システムの動作を説明
するフローチャートである。
FIG. 3 is a flowchart illustrating the operation of the vehicle data transmission system of the present invention.

【図4】各制御ノードがバスに接続されている時の各制
御ノードの送信権の委譲メッセージの送出を示す図であ
る。
FIG. 4 is a diagram showing transmission of a transmission right transfer message of each control node when each control node is connected to a bus.

【図5】ミッション制御ノードがバスに未接続時の各制
御ノードの送信権の委譲メッセージの送出を示す図であ
る。
FIG. 5 is a diagram illustrating transmission of a transmission right transfer message of each control node when the mission control node is not connected to the bus.

【図6】従来の車両データ伝送システムの動作を説明す
るフローチャートである。
FIG. 6 is a flowchart illustrating the operation of a conventional vehicle data transmission system.

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

1a エンジン制御ノード 1b ミッション制御ノード 1c ブレーキ制御ノード 11a〜11c CPU 21a〜21c 送受信部 23a〜23c 委譲先設定部 25a〜25c メモリ 28a〜28c 検知部 30a〜30c カウンタ 31a〜31c センサ 41a〜41c アクチュエータ 1a Engine control node 1b Mission control node 1c Brake control node 11a to 11c CPU 21a to 21c Transmitting and receiving unit 23a to 23c Delegation destination setting unit 25a to 25c Memory 28a to 28c Detecting unit 30a to 30c Counter 31a to 31c Sensor 41a to 41c Actuator

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のノードがバスに接続され、各ノー
ド間に送信権を予め定められた順番で循環させ、送信権
を獲得したノードが前記バスにデータを送出する車両デ
ータ伝送システムにおいて、 前記各ノードは、前記送信権の委譲先ノードを設定する
委譲先設定手段と、 データの送受信を行うと共に、前記委譲先設定手段によ
り設定された前記送信権の委譲先ノードに送信権の委譲
メッセージを送出する送受信手段と、 前記送信権の委譲メッセージを受信した前記送信権の委
譲先ノードから送られてくる受信応答メッセージを検知
する検知手段と、 情報を記憶する記憶手段とを備え、 前記委譲先設定手段は、予め定められた所定時間内に前
記送信権の委譲先ノードから受信応答メッセージが検出
されない場合に次の委譲先ノードを設定し、各委譲先ノ
ードからの受信応答メッセージに基づき各委譲先ノード
の前記バスへの接続状態を示す接続情報を前記記憶手段
に記憶させることを特徴とする車両データ伝送システ
ム。
1. A vehicle data transmission system in which a plurality of nodes are connected to a bus, a transmission right is circulated among the nodes in a predetermined order, and a node having acquired the transmission right sends data to the bus. Each of the nodes transmits and receives data to and from a delegation destination setting unit that sets the delegation destination node of the transmission right, and transmits a transmission right delegation message to the transmission right delegation destination node set by the delegation destination setting unit. Transmission / reception means for transmitting the transmission right delegation message, detection means for detecting a reception response message sent from the transmission right delegation destination node which has received the transmission right delegation message, and storage means for storing information, The destination setting means sets a next delegation node when a reception response message is not detected from the transmission right delegation node within a predetermined time. Vehicle data transmission system, characterized in that to store the connection information indicating a connection state to the bus for each transfer destination node based on the received response message from the transfer destination node in the storage means.
【請求項2】 前記委譲先設定手段は、前記送信権の委
譲先ノードから受信応答メッセージが検出されない場合
にその委譲先ノードが前記バスに未接続であるとして未
接続の委譲先ノードのアドレスを前記記憶手段に記憶さ
せることを特徴とする請求項1記載の車両データ伝送シ
ステム。
2. The method according to claim 1, wherein the delegation destination setting unit determines that the delegation destination node is not connected to the bus when the reception response message is not detected from the transmission right delegation destination node. The vehicle data transmission system according to claim 1, wherein the vehicle data is stored in the storage unit.
【請求項3】 前記委譲先設定手段は、前記委譲先ノー
ドのアドレスをインクリメントすることにより前記次の
委譲先ノードを設定することを特徴とする請求項1また
は請求項2記載の車両データ伝送システム。
3. The vehicle data transmission system according to claim 1, wherein the delegation destination setting unit sets the next delegation destination node by incrementing an address of the delegation destination node. .
【請求項4】 前記委譲先設定手段は、設定された委譲
先ノードのアドレスが、自ノードのアドレスになったと
き、前記送信権が所定の送信権の委譲先ノードを一巡し
たとして、前記自ノードのアドレスを前記記憶手段に記
憶させることを特徴とする請求項3記載の車両データ伝
送システム。
4. The delegation destination setting means, when the set delegation destination node address becomes the address of its own node, determines that the transmission right has circled the delegation destination node having a predetermined transmission right, and 4. The vehicle data transmission system according to claim 3, wherein an address of the node is stored in said storage means.
JP8199088A 1996-07-29 1996-07-29 Vehicle data transmission system Pending JPH1051475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8199088A JPH1051475A (en) 1996-07-29 1996-07-29 Vehicle data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8199088A JPH1051475A (en) 1996-07-29 1996-07-29 Vehicle data transmission system

Publications (1)

Publication Number Publication Date
JPH1051475A true JPH1051475A (en) 1998-02-20

Family

ID=16401913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8199088A Pending JPH1051475A (en) 1996-07-29 1996-07-29 Vehicle data transmission system

Country Status (1)

Country Link
JP (1) JPH1051475A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007099145A (en) * 2005-10-06 2007-04-19 Denso Corp In-vehicle network diagnosis system and in-vehicle control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007099145A (en) * 2005-10-06 2007-04-19 Denso Corp In-vehicle network diagnosis system and in-vehicle control device
US7912597B2 (en) 2005-10-06 2011-03-22 Denso Corporation On-vehicle network diagnosis system and on-vehicle control apparatus thereof

Similar Documents

Publication Publication Date Title
EP1022878B1 (en) Data transmission system
JP2582982B2 (en) Method of detecting message identifier in data transmission network of elevator system
US5357525A (en) Multiplex transmission system
JP4391025B2 (en) Method for communicating between various nodes of a control system with multiple processing devices
US6151306A (en) Vehicle multiplex communication system
JP2770282B2 (en) Vehicle data transmission system
JPH1117743A (en) Serial interface circuit
JPH1051475A (en) Vehicle data transmission system
KR100609493B1 (en) How to send multiple sensor data in one can message
JPH1023045A (en) Vehicle data transmission system
JPH10136465A (en) Vehicle data transmission system
JPH11341572A (en) Multiplex transmission equipment
JPH0722431B2 (en) Multiplex communication system
JPH10187598A (en) Vehicle data transmission system
JP3175202B2 (en) Method of storing received data in communication control circuit
JPH10285189A (en) Vehicle multiplex communication device
JP2784709B2 (en) Vehicle data transmission system
JPH06245277A (en) Data transmission system for vehicle
CA2226421C (en) Data transmission method and system therefor
JP3088199B2 (en) Multiplex communication device
JPH1051474A (en) Vehicle data transmission system
JP2001168891A (en) Vehicle multiplex transmission equipment
JP2947437B2 (en) Data transmission method
JPH11112536A (en) Vehicle multiplex communication device
JPH0193942A (en) Data transmission method