JPH05316124A - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JPH05316124A
JPH05316124A JP4141013A JP14101392A JPH05316124A JP H05316124 A JPH05316124 A JP H05316124A JP 4141013 A JP4141013 A JP 4141013A JP 14101392 A JP14101392 A JP 14101392A JP H05316124 A JPH05316124 A JP H05316124A
Authority
JP
Japan
Prior art keywords
field
data
message
node
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
JP4141013A
Other languages
Japanese (ja)
Other versions
JP2775659B2 (en
Inventor
Hiroshi Hashimoto
寛 橋本
Yuji Hase
裕司 長谷
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor Co Ltd
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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP4141013A priority Critical patent/JP2775659B2/en
Publication of JPH05316124A publication Critical patent/JPH05316124A/en
Application granted granted Critical
Publication of JP2775659B2 publication Critical patent/JP2775659B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent a defect of data caused by a transmission delay and to increase the transmission speed in the data transmission system comprising plural controllers. CONSTITUTION:A message used for data transmission consists of a SOM field indicating the start of the message, a DATAID field representing an identifier of data, a DESNODE field representing a destination of the data, a DATA being data to be sent, an FCS field representing the result of error check calculation, an ACK field for acknowledge of reception and an EOM field representing the end of the message. The DATAID field consists of the identifier and idle bits, and the ACK field consists of bits for reception acknowledge and idle bits. Since idle bits are provided to the fields, even when a transmission delay in data is not negligible, arbitration and acknowledge of reception are accurately implemented.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、車両に搭載される複数
の電子制御装置相互間でデータの送受信を行うデータ伝
送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission method for transmitting and receiving data between a plurality of electronic control units mounted on a vehicle.

【0002】[0002]

【従来の技術】複数の電子制御装置(以下「ECU」と
いう)を共通の信号線(以下「ネットワークバス」とい
う)で接続し、相互にデータの伝送を行う場合、CSM
A/CD(Carrier Sense Multiple Access/Collision
Detection)方式を基礎とし、メッセージの優先順位を
決定するための調停フィールドにおいてビット調停を行
う方式が従来より知られている(SAEの規格であるJ
1850,ドイツのボッシュ社が提案しているCAN
(Controller Area Network)など)。
2. Description of the Related Art When a plurality of electronic control units (hereinafter referred to as "ECU") are connected by a common signal line (hereinafter referred to as "network bus") and data is mutually transmitted, CSM is used.
A / CD (Carrier Sense Multiple Access / Collision)
A method of performing bit arbitration in an arbitration field for determining the priority of a message based on the detection method has been conventionally known (SAE standard J.
1850, CAN proposed by Bosch, Germany
(Controller Area Network) etc.).

【0003】ここでビット調停は、例えばネットワーク
バス上で高レベルのビットをドミナントビット(優位ビ
ット)、低レベルのビットをレセシブビット(劣位ビッ
ト)とし、二以上のメッセージが競合した場合にはドミ
ナントビットを優先させることにより、メッセージの優
先順位を決定するものである。
Here, the bit arbitration is, for example, a high-level bit is a dominant bit (dominant bit) and a low-level bit is a recessive bit (inferior bit) on a network bus, and when two or more messages compete with each other, a dominant bit. Is prioritized to determine the priority of the message.

【0004】また、上述した方式におけるメッセージ
は、メッセージの受信確認を行うためのアクノリッジフ
ィールドを含み、受信側のECUが受信確認信号を送信
側に送り返すようにしている。
Further, the message in the above-mentioned system includes an acknowledge field for confirming the reception of the message, and the ECU on the receiving side sends back a reception confirmation signal to the transmitting side.

【0005】[0005]

【発明が解決しようとする課題】上記従来のデータ伝送
方法を、車両に搭載される複数のECUから成るデータ
伝送システムに適用する場合、データを高速で伝送する
ため、伝送速度を上げる必要がある。しかし、メッセー
ジの送受信回路やネットワークバスにおいては、伝送遅
れが発生するので、伝送速度を上げていくとこの遅れが
無視できなくなり、以下のような問題を生じる。なお、
以下の説明において、ネットワークを構成する各ECU
をノードと呼ぶ。
When the above-mentioned conventional data transmission method is applied to a data transmission system including a plurality of ECUs mounted on a vehicle, it is necessary to increase the transmission speed in order to transmit data at high speed. .. However, since a transmission delay occurs in the message transmission / reception circuit and the network bus, this delay cannot be ignored when the transmission speed is increased, and the following problems occur. In addition,
In the following description, each ECU that makes up the network
Is called a node.

【0006】例えばノードA及びノードBが送出するメ
ッセージが競合し、伝送遅れTdがある場合を考える。
ここで、ノードAが送出したメッセージの調停フィール
ドが「1001100」であり、ノードBが送出したメ
ッセージの調停フィールドが「1001000」とする
と、伝送遅れTdが無視できるほど小さければ、ノード
Aが送出したメッセージの方が調停に勝つ。すなわち、
「1」をドミナントとしているので、バス上の信号は
「1001100」となり、ノードAは送出信号と受信
信号が一致し、調停に勝ったと判断する。
Consider, for example, a case where the messages sent from the node A and the node B compete with each other and there is a transmission delay Td.
Here, if the arbitration field of the message sent by the node A is "1001100" and the arbitration field of the message sent by the node B is "1001000", if the transmission delay Td is so small that it can be ignored, the node A sends it. The message wins mediation. That is,
Since "1" is the dominant, the signal on the bus is "1001100", and the node A determines that the sending signal and the receiving signal match and that the arbitration has been won.

【0007】ところが、図9に示すように伝送遅れTd
が無視できないほど大きいときには、ノードBの出力信
号(同図(b))がノードAに受信されるまでに時間T
dだけ遅れ(同図(c))、ノードAの受信信号は同図
(d)に示すようになる。したがって、時点ts1〜t
s7において、受信信号をサンプリングするとサンプリ
ングされた信号は「1101100」となり、ノードA
の送出信号と異なるものとなる。その結果ノードAは、
本来調停に勝つはずであるのに、負けたと誤判断するこ
ととなる。
However, as shown in FIG. 9, the transmission delay Td
Is large enough to be ignored, it takes time T until the output signal of the node B ((b) in the figure) is received by the node A.
With a delay of d ((c) in the figure), the received signal of the node A becomes as shown in (d) in the figure. Therefore, the time points ts1 to t
In s7, when the received signal is sampled, the sampled signal becomes "1101100", and the node A
Will be different from the transmission signal of. As a result, node A becomes
Although it is supposed to win the arbitration, it will be mistakenly judged that it has lost.

【0008】また、ノードAからノードBへメッセージ
を送信し、ノードBが受信確認信号を返す場合には、ノ
ードAがデータの送出を終了した時点から、時間2Td
経過後に受信確認信号を受信することとなり、伝送遅れ
Tdが無視できないほど大きい場合には、ノードAにお
いて受信確認信号の確認を正常に行えないことがある
(図5参照)。
When the node A sends a message to the node B and the node B returns a reception confirmation signal, it takes 2Td from the time when the node A finishes sending the data.
The reception confirmation signal is received after the elapse, and if the transmission delay Td is too large to be ignored, the reception confirmation signal may not be normally confirmed in the node A (see FIG. 5).

【0009】本発明は上述の点に鑑みなされたものであ
り、データの伝送遅れに起因する弊害を防止し、データ
の伝送速度を高めることができるデータ伝送方法を提供
することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide a data transmission method capable of preventing an adverse effect caused by a data transmission delay and increasing a data transmission rate.

【0010】[0010]

【課題を解決するための手段】上記目的を達成するため
本発明は、車両に搭載され、共通の信号線で接続された
複数の制御装置相互間でメッセージの送受信を行うデー
タ伝送方法において、前記メッセージは、少なくとも伝
送すべきデータの優先順位を決定するための調停フィー
ルドを含み、該調停フィールドは所定の冗長化が施され
ているようにしたものである。
In order to achieve the above object, the present invention provides a data transmission method for transmitting and receiving a message between a plurality of control devices mounted on a vehicle and connected by a common signal line. The message includes at least an arbitration field for determining the priority of data to be transmitted, and the arbitration field is designed to have a predetermined redundancy.

【0011】同じ目的を達成するため本発明は、車両に
搭載され、共通の信号線で接続された複数の制御装置相
互間でメッセージの送受信を行うデータ伝送方法におい
て、前記メッセージは、少なくとも送信したメッセージ
の受信確認を行うためのフィールドを含み、該フィール
ドは所定の冗長化が施されているようにしたものであ
る。
In order to achieve the same object, the present invention provides a data transmission method for transmitting and receiving a message between a plurality of control devices mounted on a vehicle and connected by a common signal line, wherein at least the message is transmitted. A field for confirming receipt of a message is included, and the field is configured to have a predetermined redundancy.

【0012】また、前記所定の冗長化は、ビットタイム
を他のフィールドより長くすること、又は空白ビットを
挿入することが望ましい。
Further, it is preferable that the predetermined redundancy is such that the bit time is made longer than that of other fields, or that blank bits are inserted.

【0013】[0013]

【作用】調停フィールドが冗長化され、ビット調停にお
ける伝送遅れの影響が除去される。
The arbitration field is made redundant, and the influence of transmission delay in bit arbitration is eliminated.

【0014】送信したメッセージの受信確認を行うため
のフィールドが冗長化され、メッセージの受信確認にお
ける伝送遅れの影響が除去される。
The field for confirming the reception of the transmitted message is made redundant, and the influence of the transmission delay in the reception confirmation of the message is removed.

【0015】[0015]

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

【0016】図1は本発明の一実施例に係る車両用制御
システムの全体構成図であり、電子制御装置(以下「E
CU」という)1〜5はネットワークバス6を介して相
互に接続されている。ENG制御ECU1は、車両の運
転者のアクセルペダル操作等に応じてエンジンの作動を
制御するECU,MISS制御ECU2は車両の運転状
態に応じて自動変速機の制御を行うECU,TCS制御
ECU3は、車両の駆動輪のスリップ状態を検出し、エ
ンジンの出力トルクの制御を行うECU,サスペンショ
ン制御ECU4は、車両の運転状態に応じてサスペンシ
ョン(アクティブ サスペンション)の制御を行うEC
U,ブレーキ制御ECU5は車輪のロック状態を検出し
てブレーキ制御を行うECUである。これらのECU1
〜5は、制御パラメータやセンサによって検出される運
転パラメータを相互にモニタする必要があるため、ネッ
トワークバス6を介して接続され、相互に必要なデータ
の送受信を行う。
FIG. 1 is an overall configuration diagram of a vehicle control system according to an embodiment of the present invention.
1 to 5 (referred to as “CU”) are connected to each other via a network bus 6. The ENG control ECU 1 is an ECU that controls the operation of the engine according to the accelerator pedal operation of the vehicle driver, the MISS control ECU 2 is an ECU that controls the automatic transmission according to the operating state of the vehicle, and the TCS control ECU 3 is The ECU that controls the output torque of the engine by detecting the slip state of the drive wheels of the vehicle, and the suspension control ECU 4 controls the suspension (active suspension) according to the operating state of the vehicle.
The U and brake control ECU 5 is an ECU that detects the locked state of the wheels and performs brake control. These ECU1
5 to 5 need to mutually monitor the operating parameters detected by the control parameters and the sensors, and are therefore connected via the network bus 6 to transmit and receive mutually necessary data.

【0017】図2はENG制御ECU1の構成を示すブ
ロック図であり、中央処理装置(以下「CPU」とい
う)101は入出力インターフェイス104を介して複
数のセンサ11及び燃料噴射弁等のアクチュエータ12
に接続されている。CPU101は、バスライン107
を介してRAM(Random Access Memory)102、RO
M(Read Only Memory)103及び通信制御IC(Inte
grated Circuit)105に接続されている。通信制御I
C105はバスインターフェイス106を介してネット
ワークバス6に接続されている。
FIG. 2 is a block diagram showing the configuration of the ENG control ECU 1. A central processing unit (hereinafter referred to as "CPU") 101 has a plurality of sensors 11 and actuators 12 such as fuel injection valves via an input / output interface 104.
It is connected to the. The CPU 101 uses the bus line 107
RAM (Random Access Memory) 102, RO
M (Read Only Memory) 103 and communication control IC (Inte
grated circuit) 105. Communication control I
The C 105 is connected to the network bus 6 via the bus interface 106.

【0018】CPU101は、ROM103に格納され
たプログラムに従って、センサ11の検出値に基づいて
制御パラメータを決定し、アクチュエータ12を駆動す
る。RAM102は、演算中のデータの一時的な記憶等
に使用される。また通信制御ICは、ネットワークバス
へのメッセージの送信及びネットワークバスからのメッ
セージの受信の制御を行う。
The CPU 101 determines a control parameter based on the detection value of the sensor 11 according to a program stored in the ROM 103, and drives the actuator 12. The RAM 102 is used for temporary storage of data being calculated and the like. Further, the communication control IC controls transmission of a message to the network bus and reception of a message from the network bus.

【0019】図3は、バスインターフェイス106及び
ネットワークバス6の具体的な構成を示す図であり、ネ
ットワークバス6は終端抵抗6aで終端されたツイスト
ペア線6b,6cから成る。
FIG. 3 is a diagram showing a specific configuration of the bus interface 106 and the network bus 6. The network bus 6 is composed of twisted pair wires 6b and 6c terminated by a terminating resistor 6a.

【0020】通信制御IC105の第1送信端子は抵抗
115を介してトランジスタ119のベースに接続され
ている。トランジスタ119のエミッタは電源ラインV
SUPに接続され、コレクタは抵抗116を介してコン
パレータ111の反転入力及び一方のツイストペア線6
bに接続されている。
The first transmission terminal of the communication control IC 105 is connected to the base of the transistor 119 via the resistor 115. The emitter of the transistor 119 is the power supply line V
The collector is connected to the SUP, and the collector is connected via the resistor 116 to the inverting input of the comparator 111 and one twisted pair wire 6
connected to b.

【0021】通信制御IC105の第2送信端子は抵抗
117を介してトランジスタ120のベースに接続され
ている。トランジスタ120のエミッタはアースに接続
され、コレクタは抵抗118を介してコンパレータ11
1の非反転入力及び他方のツイストペア線6cに接続さ
れている。
The second transmission terminal of the communication control IC 105 is connected to the base of the transistor 120 via the resistor 117. The emitter of the transistor 120 is connected to the ground, and the collector is connected via the resistor 118 to the comparator 11
It is connected to one non-inverting input and the other twisted pair line 6c.

【0022】コンパレータ111の非反転入力は抵抗1
12を介して電源ラインVSUPに接続されるととも
に、抵抗113を介してコンパレータ111の反転入力
にも接続されている。コンパレータ111の反転入力は
抵抗114を介してアースに接続され、コンパレータ1
11の出力は通信制御IC105の受信端子に接続され
ている。
The non-inverting input of the comparator 111 is a resistor 1
It is connected to the power supply line VSUP via 12 and is also connected to the inverting input of the comparator 111 via the resistor 113. The inverting input of the comparator 111 is connected to the ground via the resistor 114, and the comparator 1
The output of 11 is connected to the reception terminal of the communication control IC 105.

【0023】図3の回路において、抵抗116及び11
8は30Ω程度、抵抗112及び114は2kΩ程度、
抵抗113は200Ω程度、終端抵抗6aは100Ω程
度である。
In the circuit of FIG. 3, resistors 116 and 11
8 is about 30Ω, resistors 112 and 114 are about 2 kΩ,
The resistance 113 is about 200Ω, and the terminating resistance 6a is about 100Ω.

【0024】通信制御ICの第1及び第2送信端子に
は、位相が互いに逆相のパルス信号を出力され、第1送
信端子が低レベル(ロー)で第2送信端子が高レベル
(ハイ)のとき、トランジスタ119及び120がとも
にオンし、一方のツイストペア線6bがハイ、他方のツ
イストペア線6cがローとなる。第1送信端子がハイで
第2送信端子がローのときには、トランジスタ119及
び120がともにオフし、一方のツイストペア線6bが
ロー、他方のツイストペア線6cがハイとなる。このよ
うにして、ネットワークバス6上に信号が送出される。
Pulse signals whose phases are opposite to each other are output to the first and second transmission terminals of the communication control IC, and the first transmission terminal has a low level (low) and the second transmission terminal has a high level (high). At this time, both the transistors 119 and 120 are turned on, one twisted pair line 6b becomes high, and the other twisted pair line 6c becomes low. When the first transmission terminal is high and the second transmission terminal is low, both the transistors 119 and 120 are turned off, one twisted pair line 6b is low, and the other twisted pair line 6c is high. In this way, the signal is transmitted on the network bus 6.

【0025】一方のツイストペア線6bのハイ/ローに
対応して、コンパレータ111の出力はロー/ハイに変
化し、ネットワークバス6上の信号が受信される。
The output of the comparator 111 changes to low / high corresponding to the high / low of one twisted pair line 6b, and the signal on the network bus 6 is received.

【0026】ECU2〜5も基本的にはECU1と同様
に構成されている。したがって、一のECUが一方のツ
イストペア線6bがローとなる(6cがハイとなる)信
号を送出しても、他のECUがハイとなる信号を送出す
ると、ツイストペア線6b上の信号はハイとなるので、
本実施例ではツイストペア線6bがハイとなる(6cが
ローとなる)状態がドミナント(優位)であり、逆の状
態がレセシブ(劣位)である。
The ECUs 2 to 5 are basically constructed similarly to the ECU 1. Therefore, even if one ECU sends a signal that one twisted pair line 6b is low (6c is high), when another ECU sends a signal that is high, the signal on the twisted pair line 6b is high. So
In this embodiment, the state where the twisted pair line 6b is high (6c is low) is dominant (predominant), and the opposite state is recessive (inferior).

【0027】図4は、本実施例においてデータ伝送に使
用されるメッセージのフォーマットを示す図であり、一
のメッセージはSOMフィールド、DATA IDフィ
ールド(調停フィールド)、DESNODEフィール
ド、DATAフィールド、FCSフィールド、ACKフ
ィールド(アクノリッジフィールド)及びEOMフィー
ルドから成る。なお、以下の説明においてECU1〜5
をノード1〜5という。
FIG. 4 is a diagram showing a format of a message used for data transmission in this embodiment. One message is an SOM field, a DATA ID field (arbitration field), a DESNODE field, a DATA field, an FCS field, It consists of an ACK field (acknowledge field) and an EOM field. In the following description, ECUs 1-5
Are called nodes 1 to 5.

【0028】SOMフィールドは、メッセージの開始を
示すフィールドである。DATAIDフィールドは、デ
ータの識別子のフィールドであり、全てのデータについ
て異なる識別子が設定される。この識別子によって後述
するようにメッセージの優先順位が決定される。
The SOM field is a field indicating the start of a message. The DATAID field is a data identifier field, and different identifiers are set for all data. This identifier determines the priority of the message as described later.

【0029】DATA IDフィールドは、具体的には
図4(b)に示すように7ビットの識別子と7ビットの
空白ビット(レセシブビット)から成る。空白ビット
は、伝送遅れがあっても調停、即ち優先順位の決定が適
切に行われるようにするために挿入されており、詳細は
後述する。
Specifically, the DATA ID field is composed of a 7-bit identifier and a 7-bit blank bit (recessive bit) as shown in FIG. 4B. The blank bit is inserted so that arbitration, that is, determination of the priority order is appropriately performed even if there is a transmission delay, and the details will be described later.

【0030】DESNODEフィールドは、データの送
信先を示すフィールドであり、本実施例では図4(c)
に示すように16ビットのフィールドとしている。1ノ
ードに対して1ビットを割当て、送信先のノードに対応
するビットを論理「1」とする。例えば、ノード1,
3,5に対して送信する場合、DESNODEフィール
ドは1010100000000000となる。なお、
本実施例では、ノード数は5なので11ビット分は使用
していないが、システムの拡張(ノードの増加)を考慮
し、16ノードまで対応可能としている。
The DESNODE field is a field indicating the destination of data, and in this embodiment, it is shown in FIG.
As shown in, the 16-bit field is used. One bit is assigned to one node, and the bit corresponding to the destination node is set to logic "1". For example, node 1,
When transmitting to 3 and 5, the DESNODE field is 1010100000000000000. In addition,
In this embodiment, the number of nodes is 5, so 11 bits are not used, but in consideration of system expansion (increase of nodes), up to 16 nodes can be supported.

【0031】DATAフィールドは、送信すべきデータ
の長さ及びそのデータから成るフィールドである。FC
Sフィールドは、SOMフィールドからDATAフィー
ルドまでのデータ列についてCRC(Cyclic Redundancy
Check)を行った結果を示すフィールドである。次式
(1)の生成多項式G(X)を用いて算出される。
The DATA field is a field including the length of data to be transmitted and the data. FC
The S field is a CRC (Cyclic Redundancy) for the data string from the SOM field to the DATA field.
This field indicates the result of performing (Check). It is calculated using the generator polynomial G (X) of the following equation (1).

【0032】 G(X)=X16+X12+X5+1 …(1) ACKフィールドは、メッセージの受信確認を行うため
のフィールドであり、本実施例では送信側が2ビットの
レセシブビットを送出し、受信側が1ビットのドミナン
トビットを上書きすることにより受信確認応答を行うよ
うにしている。したがって、受信すべきノードが複数あ
る場合には、少なくとも1つのノードが受信確認応答を
行えば、送信ノードはデータ送信完了と判断しデータの
再送出は行わない。
G (X) = X 16 + X 12 + X 5 +1 (1) The ACK field is a field for confirming the reception of the message, and in this embodiment, the transmitting side sends out two recessive bits and receives them. The side performs a reception confirmation response by overwriting one dominant bit. Therefore, when there are a plurality of nodes to be received, if at least one node makes a reception confirmation response, the transmitting node determines that the data transmission is completed and does not retransmit the data.

【0033】ACKフィールドをこのような構成とする
ことにより、受信確認に要する時間を短縮し、通信制御
ICの負担を軽減することができる。また、データのリ
アルタイム性を向上させるためにデータの伝送レートを
上げると(例えば、1メガビット/秒程度とすると)、
伝送遅れによる弊害を生ずるおそれがあるが、上述した
ようにACKフィールド全体として2ビット構成とし
て、受信確認信号を1ビットとすることによって、即ち
1ビットの空白ビットを設けることによってこの弊害を
防止することができる。図5及び図6を参照してこの点
を説明する。なお、ここでいう伝送遅れは、各ノードの
送受信部で発生する遅れと伝送線路の遅れの和であり、
伝送線路の遅れは、ツイストペア線の場合5nsec/m程
度である。
By configuring the ACK field in this way, the time required for confirmation of reception can be shortened and the load on the communication control IC can be reduced. In addition, if the data transmission rate is increased to improve the real-time property of the data (for example, about 1 megabit / second),
Although there is a possibility that a transmission delay may cause an adverse effect, this adverse effect can be prevented by configuring the entire ACK field as 2 bits and setting the reception confirmation signal to 1 bit, that is, by providing a blank bit of 1 bit. be able to. This point will be described with reference to FIGS. 5 and 6. Note that the transmission delay here is the sum of the delay generated in the transmission / reception unit of each node and the delay of the transmission line,
The delay of the transmission line is about 5 nsec / m for the twisted pair line.

【0034】図5は、1ビットの空白ビットを設けてい
ない場合を示しており、データの伝送遅れTdがある
と、送信ノードがFCSフィールドの送信終了時点t1
から受信確認信号を受信する時点t2まで少なくとも時
間2Tdを要する。そのため、受信確認信号を時点ts
でサンプリングしても、その受信確認信号をチェックす
ることができない。
FIG. 5 shows a case in which one blank bit is not provided, and if there is a data transmission delay Td, the transmitting node ends the transmission of the FCS field at time t1.
It takes at least 2Td until the time t2 at which the reception confirmation signal is received. Therefore, the reception confirmation signal is transmitted at the time point ts.
Even if sampling is done with, the reception confirmation signal cannot be checked.

【0035】これに対し本実施例では、図6に示すよう
に、空白ビットを設け、時点tsa及びtsbにおいて
受信確認信号のサンプリングを行うことにより、受信確
認信号を確実にチェックすることができる。
On the other hand, in this embodiment, as shown in FIG. 6, a blank bit is provided and the reception confirmation signal is sampled at the times tsa and tsb, so that the reception confirmation signal can be surely checked.

【0036】また、上述したように空白ビットを設ける
ことに代えて、図7に示すようにACKフィールドのビ
ットタイム(1ビットの時間)を他のフィールドより長
くするようにしてもよい。これにより、時点tsでサン
プリングを行えば、受信確認信号を確実にチェックする
ことができる。
Instead of providing the blank bit as described above, the bit time (1 bit time) of the ACK field may be set longer than the other fields as shown in FIG. Thus, if sampling is performed at the time point ts, the reception confirmation signal can be surely checked.

【0037】なお、ACKフィールドの構成は、例えば
全体として4ビットとし、受信ノードが2ビットの受信
確認信号を上書きするようにしてもよい。
The structure of the ACK field may be, for example, 4 bits as a whole, and the receiving node may overwrite the 2-bit reception confirmation signal.

【0038】EOMフィールドは、メッセージの終了を
示すフィールドである。
The EOM field is a field indicating the end of the message.

【0039】次にデータの送信手順について説明する。Next, a data transmission procedure will be described.

【0040】送信すべきデータがあるノードは、まずネ
ットワークバス6がアイドル状態(無信号状態)にある
か否かを確認し、アイドル状態にあるときにはSOMフ
ィールドから順次メッセージの送出を行う。このメッセ
ージ送出により、DATAIDフィールドにおいて、メ
ッセージの衝突が発生したときには調停が行われる。
The node having data to be transmitted first confirms whether or not the network bus 6 is in the idle state (no signal state), and when it is in the idle state, sequentially sends messages from the SOM field. By sending this message, arbitration is performed when a message collision occurs in the DATAID field.

【0041】例えば、ENG制御ECU1から吸気圧力
Pbのデータを含むメッセージが送出され、同時にMI
SS制御ECU2から車速Vのデータを含むメッセージ
が送出された場合には、図8に示すように、ENG制御
ECU1の出力がバス上の信号と一致するのでENG制
御ECU1はメッセージの送出を継続する。一方、MI
SS制御ECU2は、同図中に矢印で示すビットにおい
て、自身が送出した信号とバス上の信号とが一致しなく
なるので、この時点で調停に負けたと判定して以後の送
出を中止する。したがって、吸気圧力Pbは、車速Vよ
り優先してデータの送受信が行われることになる。
For example, the ENG control ECU 1 sends a message including the data of the intake pressure Pb, and at the same time MI
When a message including the vehicle speed V data is sent from the SS control ECU 2, the ENG control ECU 1 continues to send the message because the output of the ENG control ECU 1 matches the signal on the bus, as shown in FIG. .. On the other hand, MI
In the bit indicated by the arrow in the figure, the SS control ECU 2 does not match the signal sent by itself with the signal on the bus, so at this point, the SS control ECU 2 determines that it has lost arbitration, and stops the subsequent sending. Therefore, the intake pressure Pb is transmitted / received with priority over the vehicle speed V.

【0042】なお、本実施例では論理「1」をドミナン
ト、論理「0」をレセシブに対応させている。また、3
以上のメッセージが競合した場合も同様の調停が行われ
る。
In this embodiment, the logic "1" corresponds to the dominant and the logic "0" corresponds to the recessive. Also, 3
The same arbitration is performed when the above messages conflict.

【0043】次にデータの伝送遅れが問題となるような
場合について図9及び図10を参照して説明する。な
お、これらの図においては、ENG ECUをノード
A,MISS ECUをノードBとしている。
Next, a case where a data transmission delay becomes a problem will be described with reference to FIGS. 9 and 10. In these figures, the ENG ECU is a node A and the MISS ECU is a node B.

【0044】図9は、DATA IDフィールドに空白
ビットを設けない場合において、ノードAとノードBの
送出メッセージが競合した状態を示している。前述した
ように各ノードはバス6がアイドル状態にあることを確
認してメッセージの送出を開始するので、ノードAのメ
ッセージ送出に対して、ノードBのメッセージ送出は最
大で、ノードAB間の伝送遅れTdだけ遅れる。したが
って図9は、この場合を示している。
FIG. 9 shows a state in which the sending messages of the node A and the node B compete with each other when no blank bit is provided in the DATA ID field. As described above, since each node confirms that the bus 6 is in the idle state and starts sending the message, the message sending by the node B is the maximum with respect to the message sending by the node A, and the transmission between the nodes AB is the maximum. Delay by Td. Therefore, FIG. 9 shows this case.

【0045】ノードBが送出したメッセージ(同図
(b))は、ノードAの位置では同図(c)に示すよう
になるため、ノードAの受信メッセージは同図(d)に
示すようになる。したがって、時点ts1〜ts7にお
いてサンプリングすると、サンプリングされた信号は
「1101100」となり、ノードAの送出メッセージ
「1001100」と異なるものとなる。その結果、ノ
ードAは本来調停に勝つはずであるのに、負けた誤判断
することとなる。
Since the message sent by the node B ((b) in the figure) is as shown in (c) of the figure at the position of the node A, the received message of the node A is as shown in (d) of the figure. Become. Therefore, when sampling is performed at time points ts1 to ts7, the sampled signal becomes “1101100”, which is different from the transmission message “1001100” of the node A. As a result, although the node A should originally win the arbitration, it will make a wrong judgment that it has lost.

【0046】これに対し本実施例では上述したように空
白ビットを設けているので、ノードAの出力、ノードB
の出力及びノードAの位置におけるノードBの出力は、
それぞれ図10(a)〜(c)に示すようになり、ノー
ドAの受信メッセージは同図(d)に示すようになる。
したがって、時点ts1a,ts1b,ts2a,…,
ts7bにおいてサンプリングを行い、tsiaとts
ib(i=1〜7)でサンプリングした結果の論理和を
とることによって、「1001100」という正しいデ
ータ(識別子)を得ることができる。
On the other hand, in this embodiment, since the blank bit is provided as described above, the output of the node A and the node B
And the output of node B at the position of node A is
10A to 10C, respectively, and the received message of the node A is as shown in FIG. 10D.
Therefore, the time points ts1a, ts1b, ts2a, ...,
Sampling is performed at ts7b, and tsia and ts
By taking the logical sum of the results of sampling with ib (i = 1 to 7), correct data (identifier) "1001100" can be obtained.

【0047】このように、本実施例では二以上のメッセ
ージが競合したとき調停を行うためのDATA IDフ
ィールドに空白ビットを設けるようにしたので、伝送遅
れTdが無視できない程度となった場合でも、正確な調
停(優先順位の決定)を行うことができる。
As described above, in the present embodiment, the blank bit is provided in the DATA ID field for arbitration when two or more messages compete with each other. Therefore, even if the transmission delay Td is not negligible, Accurate mediation (priority determination) can be performed.

【0048】なお、空白ビットを設けることに代えて、
図11に示すようにビットタイムを他のフィールドより
長くするようにしてもよい。これにより、ノードAの受
信メッセージを時点ts1〜ts7においてサンプリン
グすることにより、「1001100」という正しいデ
ータ(識別子)を得ることができる。
Instead of providing a blank bit,
As shown in FIG. 11, the bit time may be set longer than other fields. Thus, by sampling the received message of the node A at the time points ts1 to ts7, correct data (identifier) “1001100” can be obtained.

【0049】[0049]

【発明の効果】以上詳述したように本発明のデータ伝送
方法によれば、調停フィールド及び/又は送信メッセー
ジの受信確認を行うためのフィールドに所定の冗長化が
施されたメッセージによってデータの伝送が行われるの
で、伝送遅れに起因する弊害を防止し、データの伝送速
度を高めることができる。
As described above in detail, according to the data transmission method of the present invention, data transmission is performed by a message having a predetermined redundancy in the arbitration field and / or the field for confirming reception of the transmitted message. Therefore, it is possible to prevent the adverse effect caused by the transmission delay and increase the data transmission rate.

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

【図1】本発明の一実施例に係る車両用制御システムの
全体構成図である。
FIG. 1 is an overall configuration diagram of a vehicle control system according to an embodiment of the present invention.

【図2】図1のシステムを構成する電子制御装置の構成
を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of an electronic control device that constitutes the system of FIG.

【図3】図2のバスインターフェイスの具体的な構成を
示す図である。
FIG. 3 is a diagram showing a specific configuration of the bus interface of FIG.

【図4】電子制御装置間で送受信されるメッセージの構
成を示す図である。
FIG. 4 is a diagram showing a configuration of a message transmitted and received between electronic control devices.

【図5】伝送遅れが無視できない場合の受信確認を説明
するためのタイミングチャートである。
FIG. 5 is a timing chart for explaining reception confirmation when the transmission delay cannot be ignored.

【図6】伝送遅れが無視できない場合の受信確認を説明
するためのタイミングチャートである。
FIG. 6 is a timing chart for explaining reception confirmation when transmission delay cannot be ignored.

【図7】伝送遅れが無視できない場合の受信確認を説明
するためのタイミングチャートである。
FIG. 7 is a timing chart for explaining reception confirmation when the transmission delay cannot be ignored.

【図8】メッセージの衝突発生時における調停を説明す
るための図である。
FIG. 8 is a diagram for explaining arbitration when a message collision occurs.

【図9】伝送遅れが無視できない場合の調停を説明する
ためのタイミングチャートである。
FIG. 9 is a timing chart for explaining arbitration when the transmission delay cannot be ignored.

【図10】伝送遅れが無視できない場合の調停を説明す
るためのタイミングチャートである。
FIG. 10 is a timing chart for explaining arbitration when the transmission delay cannot be ignored.

【図11】伝送遅れが無視できない場合の調停を説明す
るためのタイミングチャートである。
FIG. 11 is a timing chart for explaining arbitration when the transmission delay cannot be ignored.

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

1 エンジン制御電子制御装置 6 ネットワークバス 101 中央処理装置(CPU) 105 通信制御IC 106 バスインターフェイス 1 Engine Control Electronic Control Device 6 Network Bus 101 Central Processing Unit (CPU) 105 Communication Control IC 106 Bus Interface

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 車両に搭載され、共通の信号線で接続さ
れた複数の制御装置相互間でメッセージの送受信を行う
データ伝送方法において、前記メッセージは、少なくと
も伝送すべきデータの優先順位を決定するための調停フ
ィールドを含み、該調停フィールドは所定の冗長化が施
されていることを特徴とするデータ伝送方法。
1. A data transmission method for transmitting and receiving a message between a plurality of control devices mounted on a vehicle and connected by a common signal line, wherein the message determines at least a priority of data to be transmitted. A data transmission method, comprising: an arbitration field for, wherein the arbitration field is provided with predetermined redundancy.
【請求項2】 車両に搭載され、共通の信号線で接続さ
れた複数の制御装置相互間でメッセージの送受信を行う
データ伝送方法において、前記メッセージは、少なくと
も送信したメッセージの受信確認を行うためのフィール
ドを含み、該フィールドは所定の冗長化が施されている
ことを特徴とするデータ伝送方法。
2. A data transmission method for transmitting / receiving a message between a plurality of control devices mounted on a vehicle and connected by a common signal line, wherein the message is for at least confirming reception of the transmitted message. A data transmission method comprising a field, the field having a predetermined redundancy.
【請求項3】 前記所定の冗長化は、ビットタイムを他
のフィールドより長くすることであることを特徴とする
請求項1又は2記載のデータ伝送方法。
3. The data transmission method according to claim 1, wherein the predetermined redundancy is to make a bit time longer than other fields.
【請求項4】 前記所定の冗長化は、空白ビットを挿入
することであることを特徴とする請求項1又は2記載の
データ伝送方法。
4. The data transmission method according to claim 1, wherein the predetermined redundancy is to insert a blank bit.
JP4141013A 1992-05-06 1992-05-06 Data transmission method Expired - Fee Related JP2775659B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4141013A JP2775659B2 (en) 1992-05-06 1992-05-06 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4141013A JP2775659B2 (en) 1992-05-06 1992-05-06 Data transmission method

Publications (2)

Publication Number Publication Date
JPH05316124A true JPH05316124A (en) 1993-11-26
JP2775659B2 JP2775659B2 (en) 1998-07-16

Family

ID=15282170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4141013A Expired - Fee Related JP2775659B2 (en) 1992-05-06 1992-05-06 Data transmission method

Country Status (1)

Country Link
JP (1) JP2775659B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397282B1 (en) 1998-04-07 2002-05-28 Honda Giken Kogyo Kabushikikaisha Communication controller for transferring data in accordance with the data type
US6816503B1 (en) 1998-04-20 2004-11-09 Honda Giken Kogyo Kabushiki Kaisha Network system having at least one data processor capable of transmitting at least one message more than other data processors
WO2010137365A1 (en) * 2009-05-27 2010-12-02 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60183845A (en) * 1984-03-02 1985-09-19 Nec Corp Communication system of two-wire bus transmission line
JPS6294037A (en) * 1985-10-21 1987-04-30 Hitachi Ltd Token ring communication system
JPS63190448A (en) * 1987-02-02 1988-08-08 Nippon Telegr & Teleph Corp <Ntt> Signal contension control system
JPS63237628A (en) * 1987-03-26 1988-10-04 Furukawa Electric Co Ltd:The System for codeing vehicle multiplex transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60183845A (en) * 1984-03-02 1985-09-19 Nec Corp Communication system of two-wire bus transmission line
JPS6294037A (en) * 1985-10-21 1987-04-30 Hitachi Ltd Token ring communication system
JPS63190448A (en) * 1987-02-02 1988-08-08 Nippon Telegr & Teleph Corp <Ntt> Signal contension control system
JPS63237628A (en) * 1987-03-26 1988-10-04 Furukawa Electric Co Ltd:The System for codeing vehicle multiplex transmission system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6397282B1 (en) 1998-04-07 2002-05-28 Honda Giken Kogyo Kabushikikaisha Communication controller for transferring data in accordance with the data type
US6816503B1 (en) 1998-04-20 2004-11-09 Honda Giken Kogyo Kabushiki Kaisha Network system having at least one data processor capable of transmitting at least one message more than other data processors
WO2010137365A1 (en) * 2009-05-27 2010-12-02 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit device
JP5143282B2 (en) * 2009-05-27 2013-02-13 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit device
US8605744B2 (en) 2009-05-27 2013-12-10 Renesas Electronics Corporation Semiconductor integrated circuit device

Also Published As

Publication number Publication date
JP2775659B2 (en) 1998-07-16

Similar Documents

Publication Publication Date Title
EP1022878B1 (en) Data transmission system
US20200021611A1 (en) Fraud detection method, fraud detection device, and recording medium
US6321148B1 (en) Vehicle communication control apparatus and method
JP2770282B2 (en) Vehicle data transmission system
US6816503B1 (en) Network system having at least one data processor capable of transmitting at least one message more than other data processors
JPH05316124A (en) Data transmission method
JP3106927B2 (en) Communications system
JP2770281B2 (en) Data transmission method
JP2857655B2 (en) Vehicle data transmission system
JP2775662B2 (en) Vehicle data transmission system
JP2947496B2 (en) Vehicle data transmission system
JP2784709B2 (en) Vehicle data transmission system
JP2947437B2 (en) Data transmission method
JP2965817B2 (en) Vehicle data transmission system
CA2226421C (en) Data transmission method and system therefor
CA2363980C (en) Data transmission method and system therefor
JP2770287B2 (en) Vehicle data transmission system
JP3088199B2 (en) Multiplex communication device
JPH08163670A (en) Communication system for vehicle
JPH08265880A (en) Communication system
JPH04203344A (en) Data communication between electronic devices installed on vehicle
JPH05191415A (en) Multiplex communication system
JPH1051474A (en) Vehicle data transmission system
JPH06311559A (en) Data transmission system for vehicle

Legal Events

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