JP3088201B2 - Multiplex communication device - Google Patents

Multiplex communication device

Info

Publication number
JP3088201B2
JP3088201B2 JP04178614A JP17861492A JP3088201B2 JP 3088201 B2 JP3088201 B2 JP 3088201B2 JP 04178614 A JP04178614 A JP 04178614A JP 17861492 A JP17861492 A JP 17861492A JP 3088201 B2 JP3088201 B2 JP 3088201B2
Authority
JP
Japan
Prior art keywords
multiplex communication
signal
unit
control unit
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP04178614A
Other languages
Japanese (ja)
Other versions
JPH0630011A (en
Inventor
宜和 信時
利道 徳永
章 曽根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP04178614A priority Critical patent/JP3088201B2/en
Publication of JPH0630011A publication Critical patent/JPH0630011A/en
Application granted granted Critical
Publication of JP3088201B2 publication Critical patent/JP3088201B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、車両などにおける各種
電装品間の通信をおこなう多重通信装置に関するもので
あり、さらに詳細には、共通の多重通信線に、送受信手
段およびコントローラを備えた複数の制御ユニットを接
続して、各制御ユニット間の信号伝送をおこなう多重通
信装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplex communication apparatus for performing communication between various electric components in a vehicle or the like, and more particularly, to a multiplex communication apparatus provided with a transmission / reception means and a controller on a common multiplex communication line. And a multiplex communication apparatus that connects the control units and transmits signals between the control units.

【0002】[0002]

【従来の技術】電子制御技術の発達に伴い、近年の自動
車においては、著しく多くの電子機器が搭載され、その
結果、各電子機器間を接続する配線の数が著しく増大す
るとともに、配線が複雑化するという問題があった。そ
こで、配線の数を減少させ、かつ、配線を簡易化するた
めに、送受信手段およびコントローラを備えた複数の制
御ユニットを、共通の多重通信線に、それぞれ、ノード
により接続し、各制御ユニット間で信号の伝送をおこな
う多重通信装置が提案されている(例えば、特開昭61
−224534公報など)。
2. Description of the Related Art With the development of electronic control technology, recent automobiles are equipped with a remarkably large number of electronic devices. As a result, the number of wirings connecting the electronic devices increases significantly and the wiring becomes complicated. There was a problem of becoming. Therefore, in order to reduce the number of wirings and simplify the wirings, a plurality of control units each including a transmission / reception unit and a controller are connected to a common multiplex communication line by a node, and the control units are connected to each other. A multiplex communication device for transmitting a signal has been proposed.
224534 publication).

【0003】このような多重通信装置にあっては、ある
制御ユニットの送受信手段が故障したときは、その制御
ユニットから、共通の多重通信線に、信号が送られなく
なるので、他の制御ユニットは、その制御ユニットが故
障したことを認識することができ、他の制御ユニットと
の間でのみ、多重通信を実施するように構成されてい
る。
In such a multiplex communication apparatus, when a transmission / reception means of a certain control unit fails, no signal is sent from the control unit to a common multiplex communication line. , The control unit can be recognized as having failed, and multiplex communication is performed only with another control unit.

【0004】[0004]

【発明が解決しようとする課題】このように構成された
多重通信装置において、ある制御ユニットの送受信手段
が故障した時は、その後に、正常状態に復帰しても、そ
の制御ユニットを除外して、多重通信をおこなうのが一
般であった。しかしながら、このように、一旦、故障し
た制御ユニットが、その後に、正常状態に復帰したにも
かかわらず、その制御ユニットを除外して、多重通信を
おこなうことは、各制御ユニットが制御のために用いる
制御データの減少を招き、制御の信頼性を低下させると
いう問題があった。
In the multiplex communication apparatus configured as described above, when the transmission / reception means of a certain control unit fails, even if the control unit returns to a normal state thereafter, the control unit is excluded. In general, multiplex communication is performed. However, as described above, once a failed control unit returns to a normal state and then performs multiplex communication by excluding the control unit, it is necessary for each control unit to perform control. There is a problem that control data to be used is reduced and control reliability is reduced.

【0005】[0005]

【発明の目的】本発明は、それぞれ、共通の多重通信線
に、ノードによって接続されるとともに、コントローラ
および送受信手段を備え、制御データを含む信号を、前
記多重通信線に出力可能で、前記多重通信線から制御デ
ータを含む信号を受信して、制御を実行可能に構成され
た複数の制御ユニットを備えた多重通信装置において、
制御の信頼性を向上させることのできる多重通信装置を
提供することを目的とするものである。
An object of the present invention is to provide a multiplex communication line which is connected to a common multiplex communication line by a node, has a controller and transmission / reception means, and can output a signal including control data to the multiplex communication line. In a multiplex communication device including a plurality of control units configured to receive a signal including control data from a communication line and configured to execute control,
It is an object of the present invention to provide a multiplex communication device capable of improving control reliability.

【0006】[0006]

【発明の構成】本発明のかかる目的は、各制御ユニット
のコントローラが、複数の制御ユニットの接続状態を記
憶するデータ記憶部と、自己の送受信手段が故障したこ
とおよび正常状態に復帰したことを診断可能な自己故障
診断手段と、送受信手段が故障した後、正常状態に復帰
したときに、多重通信に加わるための復帰動作をおこな
う復帰手段とを備え、復帰動作に際して、送受信手段が
他の制御ユニットから最初に受信した制御信号にしたが
って、復帰手段がデータ記憶部に記憶されている複数の
制御ユニットの接続状態を書き換えるように構成された
ことによって達成される。本発明の好ましい実施態様に
おいては、復帰手段が、送受信手段が故障していると判
定している間は、その制御ユニットを多重通信から離脱
させると共に制御ユニットの多重通信への復帰動作を行
なわないように構成されている。本発明の他の好ましい
実施態様においては 制御信号は、受信接続確認信号領
域を含み、復帰手段が、最初に受信した制御信号の受信
接続確認信号領域にしたがって、複数の制御ユニットの
接続状態を書き換えるように構成されている。
SUMMARY OF THE INVENTION The object of the present invention is to allow a controller of each control unit to store a data storage section for storing connection states of a plurality of control units, and to confirm that its own transmitting / receiving means has failed and has returned to a normal state. Self-diagnosis means capable of diagnosing; and a return means for performing a return operation for joining multiplex communication when the transmission / reception means returns to a normal state after a failure. This is achieved by the return means being configured to rewrite the connection state of the plurality of control units stored in the data storage unit in accordance with the control signal first received from the unit. In a preferred embodiment of the present invention, while the return means determines that the transmission / reception means has failed, the control unit leaves the multiplex communication and does not perform the operation of returning the control unit to the multiplex communication. It is configured as follows. In another preferred embodiment of the present invention, the control signal includes a reception connection confirmation signal area, and the return unit rewrites connection states of the plurality of control units according to the reception connection confirmation signal area of the control signal received first. It is configured as follows.

【0007】[0007]

【発明の作用】本発明によれば、各制御ユニットのコン
トローラが、複数の制御ユニットの接続状態を記憶する
データ記憶部と、自己の送受信手段が故障したことおよ
び正常状態に復帰したことを診断可能な自己故障診断手
段と、送受信手段が故障した後、正常状態に復帰したと
きに、多重通信に加わるための復帰動作をおこなう復帰
手段とを備えているから、一旦、送受信手段が故障した
制御ユニットも、その後に、正常状態に復帰すれば、多
重通信に加わることができ、また、その際、復帰動作に
際して、送受信手段が他の制御ユニットから最初に受信
した制御信号にしたがって、復帰手段がデータ記憶部に
記憶されている複数の制御ユニットの接続状態を書き換
えるように構成されているから、正常状態に復帰した時
の各制御ユニットの接続状態を、正しく認識して、多重
通信に加わることができ、制御の信頼性を向上させるこ
とができる。
According to the present invention, the controller of each control unit diagnoses the data storage section for storing the connection state of the plurality of control units and the fact that its own transmitting / receiving means has failed and has returned to the normal state. Since the self-diagnosis device includes a possible self-failure diagnosis means and a return means for performing a return operation for joining multiplex communication when the transmission / reception means recovers to a normal state after the failure, the control in which the transmission / reception means fails once If the unit subsequently returns to the normal state, it can participate in multiplex communication. At that time, at the time of the return operation, the transmitting / receiving unit receives the return signal according to the control signal first received from another control unit. Since the connection state of the plurality of control units stored in the data storage unit is rewritten, each control unit when returning to the normal state A connection state, and correctly recognized, it is possible to join the multiplex communication, it is possible to improve the reliability of the control.

【0008】[0008]

【実施例】以下、添付図面に基づいて、本発明の実施例
につき、詳細に説明を加える。図1は、本発明の実施例
に係る多重通信装置のネットワーク図である。図1にお
いて、本発明の実施例に係る多重通信装置は、エンジン
の制御を実行するエンジン制御ユニット1、アンチ・ス
キッド・ブレーキンングシステム(以下、ABSとい
う。)およびトラクション・コントロールシステムから
なるタイヤのスリップ制御を実行するスリップ制御ユニ
ット2、各車輪の舵角制御を実行する4WS制御ユニッ
ト3、ボデイのスィッチ類の制御を実行するボデイ系制
御ユニット4からなる4つの制御ユニットを備えてお
り、これら4つの制御ユニットは、ノード5、6、7、
8により、ループ状の共通の多重通信線9に接続されて
いる。各制御ユニットは、コントローラと送受信手段
(図示せず)を備えている。
Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a network diagram of a multiplex communication device according to an embodiment of the present invention. In FIG. 1, a multiplex communication device according to an embodiment of the present invention includes a tire including an engine control unit 1 for controlling an engine, an anti-skid braking system (hereinafter referred to as ABS), and a traction control system. And a 4WS control unit 3 for performing a steering angle control of each wheel, and a body control unit 4 for performing control of body switches. These four control units are nodes 5, 6, 7,
8 is connected to a loop-shaped common multiplex communication line 9. Each control unit includes a controller and transmission / reception means (not shown).

【0009】エンジン制御ユニット1、スリップ制御ユ
ニット2、4WS制御ユニット3およびボデイ系制御ユ
ニット4は、それぞれ、ノード5、6、7、8を介し
て、多重通信線9に、信号を送信するとともに、多重通
信線9からノード5、6、7、8を介して、信号を受信
して、所定の制御をするように構成されている。このよ
うに、エンジン制御ユニット1、スリップ制御ユニット
2、4WS制御ユニット3およびボデイ系制御ユニット
4は、それぞれ、ノード5、6、7、8を介して、多重
通信線9に、信号を送信するとともに、多重通信線9か
らノード5、6、7、8を介して、信号を受信するの
で、共通の多重通信線9における信号の衝突を防止する
ため、本実施例においては、CSMA/CD−AMP方
式を採用している。ここに、CSMA(Carrier Sense
Multiple Access)とは、各制御ユニットが、多重通信線
9の空きを確認した上で、多重通信線9に信号を送信す
る方法をいい、CD(Collision Detection)とは、各制
御ユニットが、多重通信線9上の送信信号を監視し、送
信した信号の衝突を検知したときは、その信号を再度送
信する方法をいい、AMP(Arbitration on Message P
riority)とは、信号の衝突時に、優先度の高い信号を破
壊することなく、そのまま、送信されるようにする方法
をいう。また、各制御ユニットが送信する信号は、フレ
ームよりなり、ある制御ユニットが送信した信号は、他
のすべての制御ユニットが受信するように構成されてい
る。
The engine control unit 1, the slip control unit 2, the 4WS control unit 3, and the body control unit 4 transmit signals to the multiplex communication line 9 via the nodes 5, 6, 7, and 8, respectively. , A signal is received from the multiplex communication line 9 via the nodes 5, 6, 7, and 8, and a predetermined control is performed. As described above, the engine control unit 1, the slip control unit 2, the 4WS control unit 3, and the body control unit 4 transmit signals to the multiplex communication line 9 via the nodes 5, 6, 7, and 8, respectively. At the same time, since signals are received from the multiplex communication line 9 via the nodes 5, 6, 7, and 8, in order to prevent collision of signals on the common multiplex communication line 9, in this embodiment, CSMA / CD- The AMP method is adopted. Here, CSMA (Carrier Sense
Multiple Access) refers to a method in which each control unit transmits a signal to the multiplex communication line 9 after confirming the availability of the multiplex communication line 9. CD (Collision Detection) refers to a method in which each control unit A method of monitoring a transmission signal on the communication line 9 and detecting a collision of the transmitted signal when the collision of the transmitted signal is detected, refers to an AMP (Arbitration on Message P).
The term “riority” refers to a method of transmitting a high-priority signal as it is without destruction at the time of signal collision. A signal transmitted by each control unit is composed of a frame, and a signal transmitted by a certain control unit is configured to be received by all other control units.

【0010】図2は、各制御ユニットが送信する信号の
構成を示している。図2に示されるように、各制御ユニ
ットが送信する信号は、フレーム状の信号およびACK
フィールド(受信接続確認信号領域)からなっており、
フレーム状信号のフレームFは、SD(Start Delimite
r)コード、PI(ブライオリティ)コード、IDコー
ド、データ長、データ1〜データNおよびチエックコー
ドからなっている。
FIG. 2 shows a configuration of a signal transmitted by each control unit. As shown in FIG. 2, the signal transmitted by each control unit is a frame-like signal and ACK.
Field (receiving connection confirmation signal area)
The frame F of the frame-like signal has an SD (Start Delimite).
r) Code, PI (Briority) code, ID code, data length, data 1 to data N, and check code.

【0011】SDコードは、フレームFの開始を表わす
コードであり、各制御ユニットは、このSDコードを受
信すると、フレームFの開始を認識するようになってい
る。PIコードは、同時に、複数の制御ユニットが、信
号を、多重通信線9に送信したために、多重通信線9
で、信号の衝突が起きた場合に、どの信号を優先的に処
理するかを指示するものである。本実施例においては、
多重通信線9では、ローレベルがワイヤード・オア(WI
RED-OR) となっているため、ビット値が低いものを優先
するようになっている。多重通信線9において、信号の
衝突が起こった場合には、優先度の高い制御ユニットの
PIコードが、多重通信線9に残り、優先度の低い制御
ユニットのPIコードは、優先度の高い制御ユニットの
PIコードに変えられるので、優先度の低い制御ユニッ
トは、これにより、送信した信号が衝突を起こし、他の
制御ユニットに受信されなかったことを検知して、その
信号を再度、送信するように構成されている。IDコー
ドは、送信元の制御ユニットを表わすコードである。デ
ータ長には、この後に続くデータの数が書き込まれ、N
個のデータがあるときは、データ長はNとなる。この信
号を受信した制御ユニットは、データ長に続くデータ
を、データ長に対応するだけ読み取るようになってい
る。データ1〜データNには、その信号により、送信し
ようとする各種データが書き込まれる。チエックコード
は、フレーム状信号を受信した制御ユニットに、フレー
ム状信号の終わりであることを確認させるとともに、受
信時に、所望のように、フレーム状信号が受信されたか
否かをチエックするものである。
The SD code is a code representing the start of the frame F. When each control unit receives this SD code, it recognizes the start of the frame F. The PI code indicates that the multiple control units have transmitted signals to the multiplex communication line 9 at the same time,
In this case, when a signal collision occurs, which signal is to be processed preferentially. In this embodiment,
In the multiplex communication line 9, the low level is wired or (WI
RED-OR), so the one with the lower bit value is given priority. When a signal collision occurs on the multiplex communication line 9, the PI code of the control unit with the higher priority remains on the multiplex communication line 9, and the PI code of the control unit with the lower priority becomes the control code of the higher priority. The lower priority control unit thereby detects that the transmitted signal has collided and has not been received by the other control unit, since it can be converted to the PI code of the unit, and transmits the signal again. It is configured as follows. The ID code is a code indicating the control unit of the transmission source. The number of subsequent data is written in the data length, and N
When there are pieces of data, the data length is N. Upon receiving this signal, the control unit reads the data following the data length as much as the data length. In data 1 to data N, various data to be transmitted are written by the signals. The check code causes the control unit that has received the frame-like signal to confirm the end of the frame-like signal and, at the time of reception, checks whether or not the frame-like signal has been received, as desired. .

【0012】各制御ユニットは、フレーム状信号の送信
に続いて、ACKフィールドを送信する。このACKフ
ィールドは、多重通信線9に接続されている制御ユニッ
トの数に等しいビットからなり、各制御ユニットに対
し、あらかじめ定められた固有のビット領域が割り当て
られている。本実施例においては、4つの制御ユニット
が、多重通信線9に接続されているので、ACKフィー
ルドは、4ビットからなり、それぞれ、エンジン制御ユ
ニット1、スリップ制御ユニット2、4WS制御ユニッ
ト3およびボデイ系制御ユニット4に対し、固有のビッ
ト領域が割り当てられている。各制御ユニットは、この
ACKフィールドの各ビット領域により、フレーム状信
号が正常に受信されたか否かの確認をおこなうようにな
っている。すなわち、フレーム状信号を送信する制御ユ
ニットは、フレーム状信号の送信に続いて、ACKフィ
ールドを、その各ビット領域を“0”にして、多重通信
線9に送信する。フレーム状信号を受信する制御ユニッ
トは、それぞれ、フレーム状信号のチエックコードによ
り、フレーム状信号のデータ1〜データNの内容に誤り
があるか否かをチエックし、誤りがなければ、他の制御
ユニットに対してあらかじめ定められた固有のビット領
域に、受信接続確認信号(ACK信号)を送信して、
“1”を書き込む。
Each control unit transmits an ACK field following transmission of the frame signal. The ACK field is composed of bits equal to the number of control units connected to the multiplex communication line 9, and each control unit is assigned a predetermined unique bit area. In the present embodiment, since four control units are connected to the multiplex communication line 9, the ACK field is composed of 4 bits, which are respectively the engine control unit 1, the slip control unit 2, the 4WS control unit 3, and the body. A unique bit area is assigned to the system control unit 4. Each control unit confirms whether or not the frame signal has been normally received by using each bit area of the ACK field. That is, the control unit that transmits the frame-like signal transmits the ACK field to the multiplex communication line 9 after setting the bit area to “0” following the transmission of the frame-like signal. The control unit that receives the frame-like signal checks whether there is an error in the contents of the data 1 to data N of the frame-like signal using the check code of the frame-like signal. A reception connection confirmation signal (ACK signal) is transmitted to a predetermined unique bit area for the unit,
Write "1".

【0013】こうして、ある制御ユニットから送信され
たフレーム状信号を、他のすべての制御ユニットが正常
に受信したときは、多重通信線9上のACKフィールド
の各ビット領域は、すべて“1”になっており、これに
対して、いずれかの制御ユニットが、フレーム状信号を
正常に受信していないときは、その制御ユニットの固有
のビット領域は“0”のままとなっている。したがっ
て、ACKフィールドを受信することにより、フレーム
状信号を送信した制御ユニットは、他の制御ユニット
が、フレーム状信号を正常に受信したか否かを確認する
ことができ、正常に受信していない制御ユニットがある
ときは、フレーム状信号を再度送信するようになってい
る。
Thus, when the frame-like signal transmitted from a certain control unit is normally received by all other control units, each bit area of the ACK field on the multiplex communication line 9 is set to "1". On the other hand, when any of the control units does not normally receive the frame signal, the bit area unique to the control unit remains “0”. Therefore, by receiving the ACK field, the control unit that has transmitted the frame-like signal can check whether or not another control unit has normally received the frame-like signal. When there is a control unit, the frame signal is transmitted again.

【0014】図3は、各制御ユニットのブロックダイア
グラムである。図3において、各制御ユニットは、送受
信手段10とコントローラ11とを備え、コントローラ
11内には、送受信手段10が故障したか、あるいは、
正常状態に復帰したかを診断する自己故障診断手段1
5、送受信手段10からの信号に基づき、一旦、故障し
た送受信手段10が、正常状態に復帰したときに、再
び、多重通信に加わるための復帰動作をおこなう復帰手
段16、多重通信線9に送信すべきフレーム状信号を送
受信手段10に送信する信号送信部17、送受信手段1
0が受信したフレーム状信号を受信する信号受信部1
8、多重通信線9を介して、他の制御ユニットから受信
したフレーム状信号に含まれたデータを記憶するデータ
記憶部19および各種センサ(図示せず)から入力され
た検出信号に基づき、制御信号を生成して、信号送信部
17に出力するとともに、信号受信部18から入力され
た受信信号にしたがって、駆動信号を生成して、各種ア
クチュエータ(図示せず)に出力する制御部20が設け
られている。信号送信部17は、フレーム状信号を送受
信手段10に送信したときは、送信完了信号を、自己故
障診断手段15に出力し、また、信号受信部18は、送
受信手段10からフレーム状信号を受信したときは、受
信完了信号を、自己故障診断手段15に出力するように
なっており、自己故障診断手段15は、送受信手段10
が故障しているか、あるいは、正常状態に復帰したかの
診断情報を含む診断信号を、復帰手段16に出力するよ
うに構成されている。また、復帰手段16には、図示し
ないカウンタが設けられている。
FIG. 3 is a block diagram of each control unit. In FIG. 3, each control unit includes a transmission / reception unit 10 and a controller 11.
Self-failure diagnosis means 1 for diagnosing whether the state has returned to a normal state
5. Based on the signal from the transmission / reception means 10, once the failed transmission / reception means 10 has returned to a normal state, it returns to the multiplex communication line 9 to the return means 16 for performing a return operation for joining the multiplex communication again. A signal transmission unit 17 for transmitting a frame-like signal to be transmitted to the transmission / reception means 10;
0 is a signal receiving unit 1 for receiving a received frame signal.
8. Control based on detection signals input from a data storage unit 19 that stores data included in a frame-like signal received from another control unit via a multiplex communication line 9 and various sensors (not shown). A control unit 20 is provided for generating a signal, outputting the signal to the signal transmission unit 17, and generating a drive signal in accordance with the reception signal input from the signal reception unit 18 and outputting the drive signal to various actuators (not shown). Have been. When transmitting the frame signal to the transmission / reception means 10, the signal transmission section 17 outputs a transmission completion signal to the self-failure diagnosis means 15, and the signal reception section 18 receives the frame signal from the transmission / reception means 10. Then, a reception completion signal is output to the self-failure diagnosing means 15.
It is configured to output a diagnostic signal including diagnostic information as to whether the device has failed or has returned to the normal state, to the return means 16. The return means 16 is provided with a counter (not shown).

【0015】送受信手段10は、コントローラ11の信
号送信部17から、多重通信線9を介して、他の制御ユ
ニットに送信すべき信号を受信するとともに、他の制御
ユニットから、多重通信線9を介して、受信したフレー
ム状の信号を、コントローラ11の信号受信部に出力す
る。さらに、送受信手段10は、受信したフレーム状の
信号を、コントローラ11の信号受信部に出力する際、
送受信手段10自身の状態を示すステータス情報を、コ
ントローラ11の自己故障診断手段15に出力する。こ
のステータス情報は、チエックコードが、フレーム状信
号が、所望のように、受信されなかったとチエックした
時に、エラーが書き込まれるエラービット、多重通信線
9から受信した信号を、送受信手段10が未だコントロ
ーラ11の信号受信部18に送信してはおらず、保持し
ているときに0に、多重通信線9から受信した信号を、
送受信手段10が、コントローラ11の信号受信部18
に送信した後は1にセットされる受信ビットおよび信号
送信部17から送受信手段10が受信した信号を、多重
通信線9に送信し、さらに、信号に含まれたデータを書
き込み可能なときに0に、信号送信部17から送受信手
段10が受信した信号を、多重通信線9に未だ送信して
おらず、さらに、信号に含まれたデータを書き込むこと
が不可能なときに1にセットされる書き込みビットから
なっている。
The transmission / reception means 10 receives a signal to be transmitted to another control unit from the signal transmission unit 17 of the controller 11 via the multiplex communication line 9 and transmits the multiplex communication line 9 from the other control unit. Then, the received frame-like signal is output to the signal receiving unit of the controller 11. Further, the transmitting and receiving means 10 outputs the received frame-like signal to the signal receiving unit of the controller 11 when
The status information indicating the state of the transmission / reception means 10 itself is output to the self-failure diagnosis means 15 of the controller 11. The status information includes an error bit to which an error is written when the check code checks that the frame-like signal has not been received as desired, a signal received from the multiplex communication line 9, The signal received from the multiplex communication line 9 is not transmitted to the signal receiver 18 of FIG.
The transmitting and receiving means 10 is connected to the signal receiving unit 18 of the controller 11.
After transmission to the multiplex communication line 9, the reception bit set to 1 and the signal received by the transmission / reception means 10 from the signal transmission unit 17 are transmitted to the multiplex communication line 9; The signal received by the transmission / reception means 10 from the signal transmission unit 17 has not yet been transmitted to the multiplex communication line 9 and is set to 1 when the data contained in the signal cannot be written. It consists of a write bit.

【0016】このステータス情報にしたがって、自己故
障診断手段15は、以下のようにして、送受信手段10
が故障したか、あるいは、正常状態に復帰したかを診断
することができる。すなわち、まず、自己故障診断手段
15が読み込んだステータス情報のエラービットに、エ
ラーが書き込まれているときは、送受信手段10が、所
望のように、多重通信線9からフレーム状信号を受信し
ていないから、自己故障診断手段は、送受信手段10が
故障したと診断する。また、ステータス情報のエラービ
ットに、エラーが書き込まれていない場合でも、自己故
障診断手段15が、信号受信部18から受信完了信号を
受けた時は、多重通信線9から受信した信号を、送受信
手段10は、コントローラ11の信号受信部18に送信
しているのであるから、その直後に、送受信手段10か
ら読み取ったステータス情報の受信ビットが0のとき
は、自己故障診断手段15は、送受信手段10が故障し
ていると診断し、他方、送受信手段10が故障した後
に、自己故障診断手段15が、信号受信部18から受信
完了信号を受けた直後に、送受信手段10から読み取っ
たステータス情報の受信ビットが1のときは、自己故障
診断手段15は、送受信手段10が正常状態に復帰した
と診断する。さらに、自己故障診断手段15が、信号送
信部17から送信完了信号を受けた時は、信号が、送受
信手段10に送られ、さらに、データを書き込むことは
不可能のはずであるから、その直後に、送受信手段10
から読み取ったステータス情報の書き込みビットが0の
ときは、自己故障診断手段15は、送受信手段10が故
障していると診断し、他方、送受信手段10が故障した
後に、自己故障診断手段15が、信号送信部17から送
信完了信号を受けた直後に、送受信手段10から読み取
ったステータス情報の書き込みビットが1のときは、自
己故障診断手段15は、送受信手段10が正常状態に復
帰したと診断する。
According to the status information, the self-diagnosis means 15 operates as follows.
Can be diagnosed as having failed or has returned to a normal state. That is, first, when an error is written in the error bit of the status information read by the self-failure diagnosis means 15, the transmission / reception means 10 receives the frame signal from the multiplex communication line 9 as desired. Therefore, the self-diagnosis unit diagnoses that the transmission / reception unit 10 has failed. Even when no error is written in the error bit of the status information, when the self-failure diagnosing unit 15 receives the reception completion signal from the signal receiving unit 18, it transmits and receives the signal received from the multiplex communication line 9. Since the means 10 is transmitting to the signal receiving section 18 of the controller 11, immediately after that, if the received bit of the status information read from the transmitting / receiving means 10 is 0, the self-failure diagnosing means 15 is The self-diagnosis diagnosing unit 15 diagnoses that the transmission / reception unit 10 has failed. On the other hand, after the transmission / reception unit 10 has failed, the self-failure diagnosing unit 15 receives When the received bit is 1, the self-failure diagnosis means 15 diagnoses that the transmission / reception means 10 has returned to a normal state. Further, when the self-failure diagnosing unit 15 receives the transmission completion signal from the signal transmitting unit 17, the signal is transmitted to the transmitting / receiving unit 10 and further writing of data should not be possible. And transmission / reception means 10
When the write bit of the status information read from is 0, the self-failure diagnosing means 15 diagnoses that the transmitting / receiving means 10 has failed, and after the transmitting / receiving means 10 has failed, the self-failure diagnosing means 15 If the write bit of the status information read from the transmission / reception means 10 is 1 immediately after receiving the transmission completion signal from the signal transmission unit 17, the self-failure diagnosis means 15 diagnoses that the transmission / reception means 10 has returned to a normal state. .

【0017】また、自己故障診断手段15は、信号受信
部18が受信したフレーム状信号のACKフィールドの
各ビット領域の値と、データ記憶部19に記憶された他
の制御ユニットの接続状態を示すデータとを比較して、
両者の間に不一致があるときは、送受信手段10が故障
していると診断し、他方、送受信手段10が故障した後
に、両者が一致するようになったときは、自己故障診断
手段15は、送受信手段10が正常状態に復帰したと診
断する。
The self-failure diagnosing means 15 indicates the value of each bit area of the ACK field of the frame-like signal received by the signal receiving section 18 and the connection state of another control unit stored in the data storage section 19. Compare with the data,
If there is an inconsistency between the two, the transmission / reception means 10 is diagnosed as having a failure. On the other hand, if the transmission / reception means 10 has failed and the two have become identical, the self-failure diagnosis means 15 It is diagnosed that the transmitting / receiving means 10 has returned to the normal state.

【0018】復帰手段16は、自己診断手段15から入
力された診断信号に基づき、自己診断手段15が、送受
信手段10が正常状態に復帰した判定したときは、正常
復帰信号を、送受信手段10に出力し、さらに、多重通
信線9に送信させる。この正常復帰信号を受信したとき
は、他の制御ユニットは、応答信号を、多重通信線9に
送信して、正常復帰信号を送信した制御ユニットの送受
信手段10に受信させる。応答信号を受信した送受信手
段10は、これを、復帰手段16に送信し、復帰手段1
6は、応答信号を受信すると、再び、正常復帰信号を、
多重通信線9に出力して、再び、多重通信に加わる。
When the self-diagnosis unit 15 determines that the transmission / reception unit 10 has returned to the normal state based on the diagnostic signal input from the self-diagnosis unit 15, the return unit 16 sends a normal recovery signal to the transmission / reception unit 10. And outputs it to the multiplex communication line 9. When receiving the normal return signal, the other control unit transmits a response signal to the multiplex communication line 9 and causes the transmission / reception unit 10 of the control unit that has transmitted the normal return signal to receive the response signal. The transmission / reception means 10 having received the response signal transmits the response signal to the return means 16 and
6 receives the response signal, returns the normal return signal again,
The signal is output to the multiplex communication line 9 and again participates in the multiplex communication.

【0019】図4は、多重通信時に、各制御ユニットに
おいて実施される故障診断および復帰動作を示すフロー
チャートである。図4において、まず、各制御ユニット
の自己故障診断手段15は、上述のようにして、送受信
手段10が故障しているか否かを判定する。その結果、
YESのとき、すなわち、送受信手段10が故障してい
ると判定したときは、自己故障診断手段15は、その旨
の情報を含む診断信号を、復帰手段16に出力する。
FIG. 4 is a flow chart showing a fault diagnosis and recovery operation performed in each control unit during multiplex communication. In FIG. 4, first, the self-diagnosis unit 15 of each control unit determines whether the transmission / reception unit 10 has failed as described above. as a result,
When the determination is YES, that is, when it is determined that the transmission / reception unit 10 has failed, the self-failure diagnosis unit 15 outputs a diagnosis signal including information to that effect to the return unit 16.

【0020】復帰手段16は、自己故障診断手段15か
ら、送受信手段10が故障しているという情報を含む診
断信号を受けたときは、フラグJを1にセットして、多
重通信から離脱した旨を、データ記憶部19に記憶さ
せ、その後、再び、自己故障診断手段15による送受信
手段10が故障しているか否かの判定をおこなう。これ
に対して、NOのとき、すなわち、送受信手段10が故
障していないと判定したときは、自己故障診断手段15
は、その旨の情報を含む診断信号を、復帰手段16に出
力する。
When the recovery means 16 receives a diagnostic signal from the self-failure diagnosing means 15 including information indicating that the transmitting / receiving means 10 has failed, it sets the flag J to 1 to indicate that it has left the multiplex communication. Is stored in the data storage unit 19, and thereafter, the self-failure diagnosing unit 15 again determines whether or not the transmitting / receiving unit 10 has failed. On the other hand, if NO, that is, if it is determined that the transmission / reception means 10 has not failed, the self-failure diagnosis means 15
Outputs a diagnostic signal including the information to that effect to the return unit 16.

【0021】復帰手段16は、自己故障診断手段15か
ら、送受信手段10が故障していないという情報を含む
診断信号を受けたときは、フラグJが1か否かを判定す
る。その結果、NOのときは、前回のサイクルにおいて
も、送受信手段10は正常であり、通常のように、多重
通信を続行すればよいから、復帰手段16は、何の信号
も出力せず、再び、自己故障診断手段15による送受信
手段10が故障しているか否かの判定をおこなう。
When the return means 16 receives from the self-failure diagnosing means 15 a diagnostic signal including information indicating that the transmitting / receiving means 10 has not failed, it determines whether or not the flag J is "1". As a result, when the result is NO, the transmission / reception means 10 is normal even in the previous cycle, and multiplex communication may be continued as usual. Therefore, the return means 16 does not output any signal and returns again. The self-diagnosis unit 15 determines whether the transmission / reception unit 10 has failed.

【0022】これに対して、YESのときは、前回のサ
イクルにおいて、故障したと診断された送受信手段10
が、今回のサイクルにおいて、正常状態に復帰したと認
められる。そこで、復帰手段16は、上述のように、復
帰動作をおこない、送受信手段10が、他の制御ユニッ
トから最初に受信した制御信号にしたがって、データ記
憶部19に記憶された各制御ユニットの接続状態を書き
換え、フラグJを0にセットして、多重通信に復帰す
る。その後、再び、自己故障診断手段15による送受信
手段10が故障しているか否かの判定をおこなう。
On the other hand, if YES, the transmitting / receiving means 10 diagnosed as having failed in the previous cycle
However, in this cycle, it is recognized that the state has returned to the normal state. Therefore, the return unit 16 performs the return operation as described above, and the transmission / reception unit 10 sets the connection state of each control unit stored in the data storage unit 19 according to the control signal first received from another control unit. Is rewritten, and the flag J is set to 0 to return to the multiplex communication. After that, the self-diagnosis unit 15 again determines whether the transmission / reception unit 10 has failed.

【0023】本実施例によれば、一旦、送受信手段10
が故障して、多重通信から離脱した制御ユニットも、正
常状態に復帰したときは、多重通信に復帰させているか
ら、制御の信頼性の向上を図ることができ、また、正常
状態に復帰した後に、送受信手段10が、他の制御ユニ
ットから最初に受信した制御信号にしたがって、データ
記憶部19に記憶された各制御ユニットの接続状態を書
き換えているから、正常復帰時に、正確に、各前記ユニ
ットの接続状態を認識して、多重通信に加わることがで
き、さらに、制御の信頼性を高めることが可能になる。
According to this embodiment, the transmission / reception means 10
However, when the control unit that failed from the multiplex communication and returned to the normal state also returned to the multiplex communication, the reliability of the control could be improved, and the control unit returned to the normal state. Later, the transmission / reception means 10 rewrites the connection state of each control unit stored in the data storage unit 19 according to the control signal first received from another control unit. By recognizing the connection state of the unit, it is possible to participate in multiplex communication, and it is possible to increase the reliability of control.

【0024】本発明は、以上の実施例に限定されること
なく特許請求の範囲に記載された発明の範囲内で種々の
変更が可能であり、それらも本発明の範囲内に包含され
るものであることはいうまでもない。たとえば、前記実
施例における自己故障診断手段15による故障診断方法
に加えて、あるいは、これに代えて、コントローラ11
により送受信手段10に記憶されたステータス情報をリ
セット可能な端子を設けて、これによって、ステータス
情報の受信ビットあるいは書き込みビットをリセットし
た後、所定時間内に、受信ビットあるいは書き込みビッ
トが所定の値になるか否かにより、送受信手段10の故
障を判定することもできる。
The present invention is not limited to the embodiments described above, and various changes can be made within the scope of the invention described in the claims, which are also included in the scope of the present invention. Needless to say, For example, in addition to or instead of the failure diagnosis method by the self-failure diagnosis unit 15 in the above-described embodiment, the controller 11
A terminal capable of resetting the status information stored in the transmission / reception means 10 so that the reception bit or the write bit is reset to a predetermined value within a predetermined time after resetting the reception bit or the write bit of the status information. The failure of the transmission / reception means 10 can also be determined based on whether or not the failure occurs.

【0025】また、前記実施例においては、エンジン制
御ユニット1、スリップ制御ユニット2、4WS制御ユ
ニット3およびボデイ系制御ユニット4の4つの制御ユ
ニットが、多重通信線9に接続されているが、これらの
全部もしくは一部に代えて、または、これらの加えて、
他の制御ユニットが接続されていてもよい。さらに、本
発明において、各手段は、必ずしも物理的手段を意味す
るものではなく、各手段の機能がソフトウエアにより実
現される場合も、本発明は包含し、1つの手段の機能が
2以上の物理的手段により実現される場合も、また、2
以上の手段の機能が1つの物理的手段により実現される
場合も、本発明は包含している。
In the above embodiment, the four control units of the engine control unit 1, the slip control unit 2, the 4WS control unit 3 and the body control unit 4 are connected to the multiplex communication line 9. In place of all or part of, or in addition to,
Other control units may be connected. Further, in the present invention, each means does not necessarily mean a physical means, and the present invention includes a case where the function of each means is realized by software, and the function of one means is two or more. If implemented by physical means,
The present invention also includes a case where the functions of the above means are realized by one physical means.

【0026】[0026]

【発明の効果】本発明によれば、それぞれ、共通の多重
通信線に、ノードによって接続されるとともに、コント
ローラおよび送受信手段を備え、制御データを含む信号
を、前記多重通信線に出力可能で、前記多重通信線から
制御データを含む信号を受信して、制御を実行可能に構
成された複数の制御ユニットを備えた多重通信装置にお
いて、制御の信頼性を向上させることのできる多重通信
装置を提供することが可能になる。
According to the present invention, each of the nodes is connected to a common multiplex communication line by a node and includes a controller and transmission / reception means, and a signal including control data can be output to the multiplex communication line. Provided is a multiplex communication device including a plurality of control units configured to execute a control by receiving a signal including control data from the multiplex communication line and to improve the reliability of the control. It becomes possible to do.

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

【図1】図1は、本発明の実施例に係る多重通信装置の
ネットワーク図である。
FIG. 1 is a network diagram of a multiplex communication device according to an embodiment of the present invention.

【図2】図2は、各制御ユニットが送信する信号の構成
を示す図面である。
FIG. 2 is a diagram illustrating a configuration of a signal transmitted by each control unit.

【図3】図3は、各制御ユニットのブロックダイアグラ
ムである。
FIG. 3 is a block diagram of each control unit.

【図4】図4は、多重通信時に、各制御ユニットにおい
て実施される故障診断および復帰動作を示すフローチャ
ートである。
FIG. 4 is a flowchart illustrating a failure diagnosis and a return operation performed in each control unit during multiplex communication.

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

1 エンジン制御ユニット 2 スリップ制御ユニット 3 4WS制御ユニット 4 ボデイ系制御ユニット 5、6、7、8 ノード 9 多重通信線 10 送受信手段 11 コントローラ 15 自己故障診断手段 16 復帰手段 17 信号送信部 18 信号受信部 19 データ記憶部 20 制御部 REFERENCE SIGNS LIST 1 engine control unit 2 slip control unit 3 4WS control unit 4 body system control unit 5, 6, 7, 8 node 9 multiplex communication line 10 transmitting / receiving means 11 controller 15 self-failure diagnosis means 16 return means 17 signal transmission section 18 signal reception section 19 data storage unit 20 control unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平1−303942(JP,A) 特開 昭58−213548(JP,A) 特開 昭58−222634(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 H04Q 9/00 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-1-303942 (JP, A) JP-A-58-213548 (JP, A) JP-A-58-222634 (JP, A) (58) Field (Int.Cl. 7 , DB name) H04L 12/28 H04Q 9/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 それぞれ、共通の多重通信線に、ノード
によって接続されるとともに、コントローラおよび送受
信手段を備え、制御データを含む信号を、前記多重通信
線に出力可能で、前記多重通信線から制御データを含む
信号を受信して、制御を実行可能に構成された複数の制
御ユニットを備えた多重通信装置において、 前記各制御ユニットの前記コントローラが、前記複数の
制御ユニットの接続状態を記憶するデータ記憶部と、
己の送受信手段が故障したことおよび正常状態に復帰し
たことを診断可能な自己故障診断手段と、送受信手段が
故障した後、正常状態に復帰したときに、多重通信に加
わるための復帰動作をおこなう復帰手段とを備え、 復帰動作に際して、前記送受信手段が他の制御ユニット
から最初に受信した制御信号にしたがって、前記復帰手
段が前記データ記憶部に記憶されている複数の制御ユニ
ットの接続状態を書き換えるように構成されたことを特
徴とする多重通信装置。
1. A multiplex communication line connected to a common multiplex communication line by a node, comprising a controller and transmission / reception means, capable of outputting a signal including control data to the multiplex communication line, and controlling from the multiplex communication line. In a multiplex communication device including a plurality of control units configured to receive a signal including data and execute control, the controller of each control unit includes the plurality of control units .
A data storage unit for storing the connection state of the control unit, a self-failure diagnosing means capable of diagnosing that its own transmitting / receiving means has failed and has returned to a normal state, and having returned to a normal state after the transmitting / receiving means has failed And a return unit for performing a return operation for joining multiplex communication.In the return operation, the return unit stores the data in the data storage unit according to a control signal first received by the transmission / reception unit from another control unit. A multiplex communication device configured to rewrite a stored connection state of a plurality of control units.
【請求項2】 前記復帰手段が、送受信手段が故障して
いると判定している間は、その制御ユニットを多重通信
から離脱させると共に制御ユニットの多重通信への復帰
動作を行なわないように構成されたことを特徴とする請
求項1記載の多重通信装置。
2. The control device according to claim 1, wherein said control unit is configured to disconnect said control unit from multiplex communication and not to perform a return operation to multiplex communication while determining that said transmitting / receiving unit is out of order. The multiplex communication device according to claim 1, wherein
【請求項3】 前記制御信号は、受信接続確認信号領域
を含み、前記復帰手段が、前記最初に受信した制御信号
の受信接続確認信号領域にしたがって、前記複数の制御
ユニットの接続状態を書き換えるように構成されたこと
を特徴とする請求項1記載の多重通信装置。
3. The control signal includes a reception connection confirmation signal area, and the return unit rewrites connection states of the plurality of control units according to a reception connection confirmation signal area of the first received control signal. The multiplex communication apparatus according to claim 1, wherein the multiplex communication apparatus is configured as follows.
JP04178614A 1992-07-06 1992-07-06 Multiplex communication device Expired - Fee Related JP3088201B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04178614A JP3088201B2 (en) 1992-07-06 1992-07-06 Multiplex communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04178614A JP3088201B2 (en) 1992-07-06 1992-07-06 Multiplex communication device

Publications (2)

Publication Number Publication Date
JPH0630011A JPH0630011A (en) 1994-02-04
JP3088201B2 true JP3088201B2 (en) 2000-09-18

Family

ID=16051527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04178614A Expired - Fee Related JP3088201B2 (en) 1992-07-06 1992-07-06 Multiplex communication device

Country Status (1)

Country Link
JP (1) JP3088201B2 (en)

Also Published As

Publication number Publication date
JPH0630011A (en) 1994-02-04

Similar Documents

Publication Publication Date Title
JP2904283B2 (en) Multiplex transmission equipment for vehicles
EP0367177B1 (en) Multiplex transmission system for automotive vehicles
JPH02153646A (en) Multiplexing transmission system
EP0449304B1 (en) Multiplex transmission system for use in vehicles
JP3486990B2 (en) Serial communication device
KR100362236B1 (en) Multiple data communication system
JP5019983B2 (en) In-vehicle communication system, relay device, and communication method
JPH0746665A (en) Multiplex transmitter
CN113341906B (en) Fault processing method, device and equipment and automobile
US5585788A (en) Data transmission system for automotive vehicles
JP3088201B2 (en) Multiplex communication device
JP3088200B2 (en) Multiplex communication device
JP3057581B2 (en) Multiplex transmission method
JPH04299629A (en) Multiplex transmission method
JP3401360B2 (en) Multiplex transmission equipment
JP3401361B2 (en) Multiplex transmission system
JP3088199B2 (en) Multiplex communication device
US5263022A (en) Multiplex transmission method
JP3088197B2 (en) Multiplex communication device
JP3383462B2 (en) Multiplex transmission system
JP2726300B2 (en) Fault diagnosis device
JP2933972B2 (en) Multiplex transmission equipment for vehicles
JPH021649A (en) Multiplex transmission system
JP2980550B2 (en) Communication device
JPH10187598A (en) Vehicle data transmission system

Legal Events

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