JPH05191415A - Multiplex communication system - Google Patents

Multiplex communication system

Info

Publication number
JPH05191415A
JPH05191415A JP4001379A JP137992A JPH05191415A JP H05191415 A JPH05191415 A JP H05191415A JP 4001379 A JP4001379 A JP 4001379A JP 137992 A JP137992 A JP 137992A JP H05191415 A JPH05191415 A JP H05191415A
Authority
JP
Japan
Prior art keywords
signal
reception
multiplex
communication
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
JP4001379A
Other languages
Japanese (ja)
Inventor
Koji Terayama
孝二 寺山
Akira Sone
章 曽根
Takashi Nakajima
隆志 中島
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 JP4001379A priority Critical patent/JPH05191415A/en
Publication of JPH05191415A publication Critical patent/JPH05191415A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To realize accurate network management by making the return of a reception confirming signal coincident with a substantial normal connection state of a communication node in a multiplex communication system returning the reception confirming signal when a signal is received. CONSTITUTION:The system is provided with plural communication nodes 12 composed of a multiplex module 18 having a transfer section 14 and a reception buffer 16 accumulating a reception signal and of a control section 20 reading a reception signal stored in the reception buffer 16 and controlling a controlled system based on the reception signal. The plural communication nodes 12 are connected to a common transmission line 2 to implement multiplex communication between the communication nodes 12 and the multiplex module 18 returns a reception confirming signal when the reception signal is received. In such a multiplex communication system, only when the control section 20 is in the read enabling state of the reception signal accumulated in the reception buffer 16, the multiplex module 18 returns the reception confirming signal.

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 system used in, for example, a vehicle, in which a communication node for transmitting and receiving signals receives a reception confirmation signal when receiving a signal transmitted from another communication node. The present invention relates to a multiplex communication method for returning a message.

【0002】[0002]

【従来の技術】近年の自動車においては、電子制御の発
達に伴って搭載される電子制御装置が増大し、それによ
って各電子制御装置間を結ぶ配線の肥大化、複雑化の問
題が顕著になって来ている。そこで、かかる問題を解決
するため、複数の電子制御装置間の信号通信を多重通信
で行う、つまり複数の電子制御装置用の通信ノードを共
通の伝送路に接続し、各通信ノード間の信号通信を多重
通信で行うことが検討され、実用化され始めている。
2. Description of the Related Art In recent automobiles, the number of electronic control devices mounted has increased with the development of electronic control, and as a result, the problems of enlargement and complication of wiring connecting the electronic control devices have become remarkable. Is coming. Therefore, in order to solve such a problem, signal communication between a plurality of electronic control devices is performed by multiplex communication, that is, a communication node for a plurality of electronic control devices is connected to a common transmission line, and signal communication between the communication nodes is performed. It has been considered to perform multiplex communication and is being put to practical use.

【0003】上記多重通信における通信制御方式の一つ
として時分割多重通信であって各通信ノードの信号の送
受信をそれぞれの通信ノードが別個独立に制御する分散
制御方式が知られている。かかる分散制御方式において
は、各通信ノードが自己の信号の送受信を制御するため
に、伝送路に接続されてネットワークを構成している他
の通信ノードが正常に伝送路に接続されているか否か、
即ち各通信ノードは正常に信号を受信しているか否かを
把握し管理すること(通信ノードの接続管理)が要請さ
れる。
As one of the communication control methods in the above-mentioned multiplex communication, there is known a time division multiplex communication in which a distributed control method in which each communication node independently controls the transmission / reception of signals of each communication node. In such a distributed control method, in order for each communication node to control the transmission / reception of its own signal, whether or not other communication nodes which are connected to the transmission line and constitute the network are normally connected to the transmission line. ,
That is, each communication node is required to grasp and manage whether or not the signal is normally received (connection management of the communication node).

【0004】そこで、従来より、例えば特公表58−5
00348号公報に記載されている様に、複数の通信ノ
ード間で多重通信を行うにあたって、各通信ノードは送
信された信号を受信した際に受信確認信号を返送する様
にし、その受信確認信号に基づいて他の通信ノードはそ
の受信確認信号を返送した通信ノードが正常に接続され
ていることを知り得るように構成したものが知られてい
る。
Therefore, conventionally, for example, Japanese Patent Publication No. 58-5
As described in Japanese Laid-Open Patent Publication No. 00348, in performing multiplex communication between a plurality of communication nodes, each communication node returns a reception confirmation signal when receiving a transmitted signal, It is known that the other communication node is configured so that the other communication node can know that the communication node that has returned the reception confirmation signal is normally connected.

【0005】しかして、上記の如き受信確認を行う多重
通信装置の具体例として、通信ノードを、送信および受
信を行う送受信部と受信した受信信号を蓄積する受信バ
ッファとを有する多重モジュールと、上記受信バッファ
に蓄積された受信信号を読み出しその読み出した受信信
号に基づいて制御対象を制御する制御部(CPU)とで
構成し、上記多重モジュールは上記信号を受信したとき
には該受信信号を受信バッファに蓄積すると共に受信確
認信号を返送して受信確認を行い、かつ上記多重モジュ
ールと制御部とは多重通信システムの起動時に同時に起
動するようにした装置が考えられている。
As a specific example of the multiplex communication device for confirming the reception as described above, a multiplex module having a communication node, a transmission / reception unit for transmitting and receiving, and a reception buffer for accumulating a received signal received, and the above And a control unit (CPU) for reading the received signal accumulated in the reception buffer and controlling the controlled object based on the read received signal. When the multiplex module receives the signal, the multiplex module stores the received signal in the reception buffer. An apparatus has been considered in which the reception confirmation signal is stored and returned to confirm reception, and the multiplex module and the control unit are simultaneously activated when the multiplex communication system is activated.

【0006】[0006]

【発明が解決しようとする課題】ところで、上記の如き
多重通信における通信ノードの接続管理においては、単
に形式的に受信されているか否かを把握し管理するので
はなく、実質的に受信されているか否かつまり単に受信
するだけでなくその受信信号に基づいて制御を行ってい
るか否かを把握し管理する必要がある。
By the way, in the connection management of the communication node in the multiplex communication as described above, it is not simply grasped and managed whether or not it is formally received, but it is substantially received. It is necessary to grasp and manage whether or not there is control, that is, whether or not control is performed based on the received signal as well as simply receiving.

【0007】しかしながら、上記の様に多重通信システ
ムの起動時に制御部と多重モジュールとを同時に起動す
ると、制御部は起動後所定時間は制御部等の故障チェッ
クを行い、その後受信バッファに蓄積された受信信号を
読み出しつまり受信バッファを読み込みその受信信号に
基づいて制御対象を制御可能となるが、多重モジュール
は起動と同時に送受信及び受信確認信号の返送が可能と
なる。従って、上記起動後の所定時間は、制御部は受信
信号を読み出して制御を行うことができないにも拘ら
ず、信号が送られた場合にはその信号が多重モジュール
によって受信されて受信バッファに蓄積されかつ受信確
認信号が返送され、該受信確認信号によって他の通信ノ
ードはその受信側の通信ノード(受信ノード)は正常に
接続されていると認識することとなる。
However, when the control unit and the multiplexing module are simultaneously activated at the time of activation of the multiplex communication system as described above, the control unit performs a failure check of the control unit and the like for a predetermined time after the activation, and then accumulates in the reception buffer. The reception signal can be read out, that is, the reception buffer can be read, and the control target can be controlled based on the reception signal. However, the multiplexing module can perform transmission / reception and return of a reception confirmation signal simultaneously with the activation. Therefore, even if the control unit cannot read the received signal and perform control for a predetermined time after the activation, when the signal is sent, the signal is received by the multiplexing module and accumulated in the receiving buffer. Then, the reception confirmation signal is returned, and the reception confirmation signal causes the other communication node to recognize that the communication node on the reception side (reception node) is normally connected.

【0008】従って、上記従来の多重通信装置において
は、起動後制御部が受信バッファを読込み可能になるま
での間においては、受信確認信号の返送と通信ノードの
実質的な接続状態とが一致せず、従って上記他の通信ノ
ードは上記受信ノードの接続状態を誤って把握してしま
うこととなり、この様な通信ノードの接続状態を正確に
把握し管理することが出来ないことにより種々の不都合
が生じるという問題がある。
Therefore, in the above-mentioned conventional multiplex communication device, the return of the reception confirmation signal and the substantial connection state of the communication node do not coincide with each other until the control unit can read the reception buffer after the activation. Therefore, the other communication nodes mistakenly grasp the connection state of the receiving node, and various inconveniences occur due to the fact that the connection state of such a communication node cannot be accurately grasped and managed. There is a problem that it will occur.

【0009】また、上記のように受信確認信号の返送と
通信ノードの実質的な接続状態とが一致しないという問
題は、上記起動時のみでなく、起動後においても生じ得
る。即ち、上記制御部は一旦受信バッファを読込み可能
になった後は常時読込み可能というわけではなく、例え
ば制御部が受信信号とは無関係な他の制御を行っている
関係上受信バッファを読み込むことができない場合があ
り、その場合には信号を受信し受信確認信号を返送して
も実際にはその受信信号に基づく制御は行われておら
ず、上記起動時の場合と全く同様の問題が生じる。
Further, the problem that the return of the reception confirmation signal and the substantial connection state of the communication node do not match as described above may occur not only at the time of activation but also after activation. That is, the control unit is not always capable of reading once it becomes possible to read the reception buffer. For example, the control unit may read the reception buffer because it performs other control unrelated to the reception signal. In some cases, even if a signal is received and a reception confirmation signal is returned, in that case, control based on the received signal is not actually carried out, and the same problem as in the case of the above-mentioned start occurs.

【0010】本発明の目的は、上記事情に鑑み、受信確
認信号の返送と通信ノードの実質的な接続状態とを一致
させ、それによってネットワーク管理を正確に行うこと
ができるようにした多重通信方式を提供することにあ
る。
In view of the above circumstances, an object of the present invention is to provide a multiplex communication system in which the return of the reception confirmation signal and the substantial connection state of the communication node are made to coincide with each other, whereby the network management can be accurately performed. To provide.

【0011】[0011]

【課題を解決するための手段】本発明にかかる多重通信
方式は、上記目的を達成するために、送信および受信を
行う送受信部と受信信号を蓄積する受信バッファとを有
する多重モジュールと、上記受信バッファに蓄積された
受信信号を読み出しその読み出した受信信号に基づいて
制御対象を制御する制御部とを備えて成る通信ノードを
複数備え、それらの複数の通信ノードを共通の伝送路に
接続して各通信ノード間で多重通信を行うと共に、上記
多重モジュールは上記受信信号を受信した際に受信確認
信号を返送する多重通信方式であって、上記通信ノード
において、上記制御部が上記受信バッファに蓄積された
受信信号を読み出し可能状態になっているときにのみ、
上記多重モジュールが上記受信確認信号を返送するよう
に構成したことを特徴とする。
In order to achieve the above object, a multiplex communication system according to the present invention includes a multiplex module having a transmitting / receiving unit for transmitting and receiving and a receiving buffer for accumulating a received signal, and the above receiving unit. A plurality of communication nodes each including a control unit that reads a reception signal accumulated in the buffer and controls a control target based on the read reception signal, and connects the plurality of communication nodes to a common transmission line The multiplex module is a multiplex communication method in which multiplex communication is performed between each communication node and the reception module returns the reception confirmation signal when the reception signal is received. Only when the received signal that has been read is ready to be read,
The multiplexing module is configured to return the reception confirmation signal.

【0012】[0012]

【作用及び発明の効果】本発明にかかる多重通信方式
は、上記の様に、制御部が受信バッファに蓄積された受
信信号を読出し可能状態になっているときにのみ、多重
モジュールが受信確認信号を返送するように構成されて
いる。従って、受信確認信号が返送されたときは必ず制
御部がその受信した信号を読み出してその信号に基づい
て制御対象を制御することができ、即ち受信確認信号の
返送と通信ノードの実質的な接続状態とを一致させるこ
とができ、受信はしているけれどもその受信信号に基づ
く制御は行われていない形式的接続状態であるにも拘ら
ず受信確認信号が返送されることによって正常に接続さ
れていると誤って認識することが防止され、通信ノード
の接続管理が不正確なことによる種々の不都合を回避す
ることができる。
As described above, the multiplex communication system according to the present invention allows the multiplex module to receive the reception confirmation signal only when the control section is ready to read the received signal stored in the reception buffer. Is configured to be returned. Therefore, when the reception confirmation signal is returned, the control unit can always read the received signal and control the controlled object based on the signal, that is, the return of the reception confirmation signal and the substantial connection of the communication node. It is possible to match the status, and the reception confirmation signal is sent back despite the formal connection status in which the reception is being performed but the control based on the reception signal is not performed, so that the connection is normally established. It is possible to prevent erroneous recognition that there is an error, and avoid various inconveniences due to incorrect connection management of the communication node.

【0013】[0013]

【実施例】以下、図面を参照しながら本発明の実施例に
ついて詳細に説明する。以下に説明する実施例は、本発
明を車両用の多重通信方式であっていわゆるCSMA/
CD−AMP方式と称されるネットワークアクセス方法
を採用したものに適用した例である。ここでCSMA
(Carrier Sense Multiple Access )とは、各通信ノー
ドが送信要求発生時に伝送路の空きを確認して送信を行
なう方式を意味し、CD(Collision Detection) とは、
各通信ノードは伝送路の送信信号を監視し、信号の衝突
を検出すると再送制御を行なう方式を意味し、AMP(A
rbitration onMessage Priority) とは、信号の衝突時
に優先度の高いメッセージは壊れないでそのまま送信さ
れる方式を意味する。
Embodiments of the present invention will now be described in detail with reference to the drawings. The embodiment described below is a multiplex communication system for a vehicle according to the present invention, which is so-called CSMA /
This is an example applied to a device adopting a network access method called a CD-AMP system. CSMA here
(Carrier Sense Multiple Access) means a method in which each communication node confirms the availability of the transmission path when a transmission request occurs and performs transmission, and CD (Collision Detection) means
Each communication node means a method of monitoring the transmission signal of the transmission line and performing retransmission control when detecting a signal collision.
rbitration onMessage Priority) means a method in which a high-priority message is transmitted as it is without being damaged when signals collide.

【0014】<多重伝送装置>本実施例は、図1に示す
多重通信装置によって実施される。図示の装置は、ルー
プ状のツイストペア線から成る共通の伝送路(バス)2
が設けられ、該伝送路2には4つの多重通信ノードが接
続されている。本実施例ではそれらの通信ノードは4個
とし、エンジン制御を行なうためのEGIノード4と、
4輪操舵制御を行なうための4WSノード6と、タイヤ
のスリップ制御を行なうためのABS/TRCノード8
と、ボディ関連のスイッチ類を制御するためのボディ系
ノード10とで構成されている。
<Multiple Transmission Device> This embodiment is implemented by the multiplex communication device shown in FIG. The illustrated device is a common transmission line (bus) 2 composed of a looped twisted pair wire.
Are provided, and four multiplex communication nodes are connected to the transmission line 2. In this embodiment, there are four communication nodes, and an EGI node 4 for performing engine control,
4WS node 6 for performing four-wheel steering control, and ABS / TRC node 8 for performing tire slip control
And a body system node 10 for controlling body-related switches.

【0015】各通信ノード4,6,8,10間の信号伝送
は、上記伝送路2を介して、時分割分散制御方式であっ
て上述のCSMA/CD−AMP方式に基づく多重通信
により行なわれ、各通信ノードは自己の信号の送受信を
制御するため、以下に説明するACKフィールドに基づ
きそれぞれノード接続情報(各通信ノードが正常に伝送
路に接続されているか否かの情報)を有している。ま
た、いずれかのノードが送信した信号は他の全てのノー
ドが受信する様に設定されている。
Signal transmission between the communication nodes 4, 6, 8 and 10 is carried out via the transmission line 2 by multiplex communication based on the CSMA / CD-AMP system which is a time division distributed control system. Since each communication node controls transmission / reception of its own signal, it has node connection information (information on whether each communication node is normally connected to the transmission line) based on the ACK field described below. There is. In addition, the signal transmitted by any one of the nodes is set to be received by all the other nodes.

【0016】上記通信ノード4,6,8,10は、それぞ
れ図3に示す様に、コネクタ12を介して上記伝送路2に
接続されている。各通信ノード4,6,8,10は、送受
信を行なう送受信部14と受信した信号を蓄える受信バッ
ファ16とを有する多重モジュール18と、該多重モジュー
ル18と接続されたホストCPUである制御部20と、該制
御部20と接続されたリセット回路22とを備えて成る。上
記制御部20は、上記多重モジュール18を制御すると共
に、入力インタフェース24および出力インタフェース26
を介して制御対象等の外部機器と接続されており、特に
EGIノード4は制御対象としてのエンジンに接続され
て該エンジンの制御を行ない、4WSノード6は制御対
象としての後輪操舵装置に接続されて該後輪操舵装置の
制御を行ない、ABS/TRCノード8は制御対象とし
てのブレーキ装置あるいはエンジンに接続されて該ブレ
ーキ装置あるいはエンジンの制御を行ない、ボディ系ノ
ード10は制御対象としてのスイッチ類に接続されて該ス
イッチ類の制御を行なう。
The communication nodes 4, 6, 8 and 10 are connected to the transmission line 2 via a connector 12 as shown in FIG. Each of the communication nodes 4, 6, 8 and 10 includes a multiplex module 18 having a transmission / reception unit 14 for transmitting / receiving and a reception buffer 16 for storing received signals, and a control unit 20 which is a host CPU connected to the multiplex module 18. And a reset circuit 22 connected to the control unit 20. The control unit 20 controls the multiplexing module 18 and also controls the input interface 24 and the output interface 26.
The EGI node 4 is connected to an engine as a control target to control the engine, and the 4WS node 6 is connected to a rear wheel steering device as a control target. Then, the rear wheel steering device is controlled, the ABS / TRC node 8 is connected to the brake device or engine as a control target to control the brake device or engine, and the body system node 10 is a switch as a control target. Is connected to the switches to control the switches.

【0017】<信号フレーム>各通信ノード4,6,
8,10は、上記送信を行なうにあたって、それぞれ自ノ
ードの情報例えば各種の自動車運転情報や制御情報等を
図2に示す構成の信号フレームFによりフレーム毎に送
信し、他のノードはそのフレームFを受信する。上記フ
レームFは、SOMコード、PRIコード、IDコー
ド、データ長、データ1〜データN、CRCコード、E
ODコード、ACKフィールドおよびEOMコードを有
する構成となっている。
<Signal Frame> Each communication node 4, 6,
In performing the above-mentioned transmission, each of the 8 and 10 transmits information of its own node, such as various vehicle driving information and control information, for each frame by the signal frame F having the configuration shown in FIG. To receive. The frame F includes an SOM code, PRI code, ID code, data length, data 1 to data N, CRC code, E.
It has a structure having an OD code, an ACK field, and an EOM code.

【0018】上記「SOMコード(スタートオブメッセ
ージコード)」は、フレームFの開始を表わす特定のコ
ードであり、各ノードはこのSOMコード符号を受信す
るとフレームFの開始を認知するようになっている。上
記「PRIコード(プライオリティコード)」は、同時
に複数の通信ノードがデータを送信して信号が衝突した
場合にどの信号を優先して処理するかを指示する優先順
位を示す符号である。この実施例では、プライオリティ
はビット値で低いものほど高い優先度が割り当てられて
いる。これは、伝送路2では、ローレベルがWIRED-ORと
なっているためである。もし同時に複数のノードから信
号が送出された場合は優先度の高いノードの「PRIコ
ード」が伝送路2上に残るので、低い方のノードは自己
の送出した「PRIコード」が別のコードに変っている
ことによって衝突を検出し、その自己の失敗フレームの
再送を行なう。上記「IDコード(フレームIDコー
ド)」は該当フレームの送出元を示すコードである。上
記「データ長」にはこのあとに続くデータの数が書き込
まれ、N個のデータがあるとすればデータ長としてNが
送られる。このフレームを受信したノードはデータをデ
ータ長の内容だけ読み取る。上記「データ1〜データ
N」には当該フレームによって送信しようとする各種の
情報が書き込まれる。上記「CRCコード」は誤り検出
符号であり、上記「EODコード」はデータが終りであ
ることを表わすエンドオブデータコードであり、上記
「ACKフィールド」は受信確認を行なう受信確認信号
領域であり、上記「EOMコード」はフレームの終りを
示すエンドオブメッセージコードである。
The above-mentioned "SOM code (start of message code)" is a specific code indicating the start of the frame F, and each node recognizes the start of the frame F when receiving this SOM code. .. The above-mentioned "PRI code (priority code)" is a code indicating a priority order that indicates which signal should be preferentially processed when a plurality of communication nodes transmit data at the same time and the signals collide. In this embodiment, the lower the bit value, the higher the priority is assigned. This is because the low level is WIRED-OR in the transmission line 2. If signals are sent from multiple nodes at the same time, the "PRI code" of the node with the higher priority remains on the transmission path 2, and the lower node uses the "PRI code" sent by itself as another code. A collision is detected due to the change, and the self-failed frame is retransmitted. The "ID code (frame ID code)" is a code indicating the transmission source of the corresponding frame. The number of data that follows is written in the "data length". If there are N data, N is sent as the data length. The node receiving this frame reads the data of the data length. In the "data 1 to data N", various information to be transmitted by the frame is written. The "CRC code" is an error detection code, the "EOD code" is an end of data code indicating that the data is at the end, the "ACK field" is a reception confirmation signal area for confirming reception, and the The "EOM code" is an end of message code indicating the end of the frame.

【0019】<ACKフィールド>上記ACKフィール
ドは、例えば伝送路2に接続されている通信ノードの数
のビット(本実施例では4個の通信ノードが接続されて
いるので4ビット)から成り、各通信ノードに対し、予
め決められた固有のビット領域が割り当てられている。
このACKフィールドの各ビット領域により、各通信ノ
ードは正常受信の確認を行なう。即ち、上記信号フレー
ムを送信する通信ノード(送信ノード)は、信号フレー
ム送信時に、上記ACKフィールドの各ビット領域を各
々“0”にして信号フレームを伝送路に送出する。この
信号フレームを受信する側の通信ノード(受信ノード)
は、チェックコードにより受信したフレームのデータ1
〜Nの内容に誤りがないか否かをチェックし、誤りがな
ければ各受信ノードについて前もって決められた固有の
ビット領域に受信確認信号(ACK信号)“1”を送信
する。この場合、上記送信ノードも上記信号フレームを
送信すると同時に受信しており、正常受信したらACK
フィールド内の送信ノード固有のビット領域にACK信
号“1”を送信する。
<ACK field> The ACK field is made up of, for example, bits corresponding to the number of communication nodes connected to the transmission path 2 (4 bits because four communication nodes are connected in this embodiment). A predetermined unique bit area is assigned to the communication node.
Each communication node confirms normal reception by each bit area of the ACK field. That is, the communication node (transmission node) that transmits the signal frame sets each bit area of the ACK field to “0” and transmits the signal frame to the transmission line when transmitting the signal frame. Communication node (reception node) on the side that receives this signal frame
Is the data 1 of the frame received by the check code
It is checked whether or not there is an error in the contents of ~ N, and if there is no error, a reception confirmation signal (ACK signal) "1" is transmitted to a predetermined unique bit area for each receiving node. In this case, the transmitting node is also receiving the signal frame at the same time as it is transmitting, and if it is normally received, ACK
The ACK signal “1” is transmitted to the bit area unique to the transmitting node in the field.

【0020】従って、各通信ノードが送信された信号フ
レームを正常受信した場合は、伝送路2上のACKフィ
ールドの各ビット領域は全て“1”となっており、もし
いずれかの受信ノードが正常受信していない場合はその
受信していない受信ノード固有のビット領域は“0”の
ままとなっている。よって、送信ノードは、このACK
フィールドを受信して各受信ノードが信号フレームを正
常受信したか否かを確認し、受信ノードのいずれかが受
信していないと認めたときは同一の信号フレームを再送
する。
Therefore, when each communication node normally receives the transmitted signal frame, all the bit areas of the ACK field on the transmission line 2 are "1", and if any of the receiving nodes is normal. When not receiving, the bit area peculiar to the receiving node which has not received remains “0”. Therefore, the transmitting node is
Upon receiving the field, each receiving node confirms whether or not the signal frame is normally received, and if any of the receiving nodes recognizes that the signal frame is not received, the same signal frame is retransmitted.

【0021】なお、この様に信号フレームを再送する場
合にもその信号フレームには上記ACKフィールドが含
まれており、それによって先に受信しなかったノードが
正常受信したと認めたときは再送を止め、未だ正常受信
していないと認めたときはさらに再送を行ない、例えば
3回再送を行なっても受信しなかった場合はそのノード
はダウンしていると判断してそれ以上の再送は行なわな
い。
Even when the signal frame is retransmitted in this way, the ACK field is included in the signal frame, and when the node that has not previously received the packet recognizes that it has normally received, the signal frame is retransmitted. If it is confirmed that it has not been normally received yet, it is retransmitted further. For example, if it is not received even if it is retransmitted 3 times, it is judged that the node is down and further retransmission is not performed. .

【0022】また、各通信ノードは上記ACKフィール
ドを読むことによって、各通信ノードが正常に受信して
いる、つまり正常に接続されていると認識し、その各通
信ノードの接続情報を自ノードに保有し、この接続情報
を信号送信のたびに更新する。
Also, each communication node recognizes that each communication node is normally receiving, that is, is normally connected by reading the ACK field, and the connection information of each communication node is sent to its own node. Hold and update this connection information each time a signal is sent.

【0023】<多重モジュールの作動および非作動>上
記多重通信装置においては、上記制御部20が上記受信バ
ッファ16に蓄積された受信信号を読み出し可能状態にな
っているときにのみ、つまり受信バッファ16を読み込み
可能状態になっているときのみ、上記多重モジュールが
作動状態とされる。この点について、上記多重モジュー
ル18と、制御部20と、リセット回路22との関係を示す図
4および制御部20と多重モジュール18との作動・非作動
状態を示すタイムチャートである図5を参照しながら説
明する。
<Activation / Deactivation of Multiplexing Module> In the multiplex communication device, only when the control unit 20 is in a state where the received signal accumulated in the receiving buffer 16 can be read out, that is, the receiving buffer 16 The multiplex module is activated only when is ready to be read. In this regard, refer to FIG. 4 showing the relationship between the multiplex module 18, the control unit 20 and the reset circuit 22 and FIG. 5 which is a time chart showing the operating / non-operating state of the control unit 20 and the multiplex module 18. While explaining.

【0024】上記多重通信装置においては、各通信ノー
ド2,4,6,8は、Ig−ON信号等の所定の起動信
号によりシステムアップされる。その場合、まず上記所
定の起動信号に基づき時刻t1 においてリセット回路22
が制御部22のリセット端子にH(HIGH)信号を出力
し、このH信号を受けて制御部20が作動状態となる。制
御部20は、作動状態となった後まず制御部20等の故障チ
ェックを行ない、該故障チェック中は制御部20は多重モ
ジュールの受信バッファ16の読込みを行なうことができ
ず、故障チェックが終了した時点(時刻t2 )ではじめ
て受信バッファの読込みが可能となる。そして、制御部
20は、この受信バッファの読込みが可能となった時点
で、ポートから多重モジュール18のリセット端子にH信
号を出力し、このH信号によって多重モジュールは初め
て作動状態となり、送受信部14による送受信および受信
した信号の受信バッファ16への蓄積が可能となり、かつ
信号を受信した場合の受信確認信号の返送が可能とな
る。
In the multiplex communication device, the communication nodes 2, 4, 6 and 8 are system up by a predetermined activation signal such as an Ig-ON signal. In that case, first, at the time t 1 based on the predetermined start signal, the reset circuit 22
Outputs an H (HIGH) signal to the reset terminal of the control unit 22, and the control unit 20 is activated in response to the H signal. The control unit 20 first performs a failure check of the control unit 20 and the like after the operation state, and during the failure check, the control unit 20 cannot read the reception buffer 16 of the multiple module, and the failure check ends. The reception buffer can be read only at the time (time t 2 ). And the control unit
The 20 outputs an H signal from the port to the reset terminal of the multiplex module 18 when the reception buffer can be read, and the multiplex module is activated for the first time by this H signal, and the transmission / reception and reception by the transmission / reception unit 14 are performed. The received signal can be stored in the reception buffer 16, and the reception confirmation signal can be returned when the signal is received.

【0025】また、制御部20は、起動の際の故障チェッ
ク時のみでなくその後においても種々の事情により、例
えば他の制御を行なっている等の理由により受信バッフ
ァ16の読込み不可能になることがある。上記制御部20
は、その様な起動後において受信バッファ16の読込み不
可となったときにも、ポートから多重モジュール18のリ
セット端子にL(LOW)信号を出力して該多重モジュ
ール18を非作動状態、つまり送受信および受信確認信号
の返送を不可とし、受信バッファ16を読込み可となった
時点でポートから多重モジュールのリセット端子にH信
号を出力して再び多重モジュール18を作動状態とする。
Further, the control unit 20 may not be able to read the reception buffer 16 not only at the time of a failure check at the time of start-up but also after that for various reasons, for example, because other control is performed. There is. The control unit 20
Even when the reception buffer 16 becomes unreadable after such activation, the port outputs an L (LOW) signal to the reset terminal of the multiplex module 18 to make the multiplex module 18 inoperative, that is, to transmit and receive. The reception confirmation signal is not returned, and when the reception buffer 16 can be read, an H signal is output from the port to the reset terminal of the multiplex module to activate the multiplex module 18 again.

【0026】上記多重通信方式においては、上述の様
に、制御部20が受信バッファ16を読込み可能状態である
ときのみ多重モジュール18が受信確認信号を返送し、上
記ACKフィールドの各通信ノードに割り当てられた固
有ビッド領域が“1”に設定される。従って、受信確認
信号の返送つまりACKフィールドの各通信ノード固有
のビット領域“1”と制御部20の受信バッファ読込み可
能状態とは常に一致して等価となり、正確な通信ノード
接続情報を得ることができ、ネットワーク管理を正確に
行なうことができる。
In the multiplex communication system, as described above, the multiplex module 18 returns the reception confirmation signal only when the control unit 20 is ready to read the reception buffer 16 and assigns it to each communication node in the ACK field. The assigned unique bid area is set to "1". Therefore, the return of the reception confirmation signal, that is, the bit area "1" peculiar to each communication node of the ACK field and the reception buffer readable state of the control unit 20 always match and become equivalent, and accurate communication node connection information can be obtained. Yes, network management can be performed accurately.

【0027】本発明に係る多重通信方式は、要するに制
御部20が受信バッファ16を読込み可能状態となっている
ときのみ多重モジュールが受信確認信号を返送するよう
に構成されていれば良いものであるが、上記実施例にお
いては、上述の様に、制御部20が受信バッファ16を読込
み可能状態となっているときのみ多重モジュールを作動
状態とし、もって受信バッファ16を読込み不可のときは
単に受信確認信号を返送しないだけでなく送受信をも行
なわないように構成されている。かかる構成によって、
上記実施例は次の様な効果を奏する。
The multiplex communication system according to the present invention need only be configured so that the multiplex module sends back the reception confirmation signal only when the control unit 20 is ready to read the reception buffer 16. However, in the above embodiment, as described above, the control module 20 activates the multiplexing module only when the reception buffer 16 can be read, and when the reception buffer 16 cannot be read, reception confirmation is simply performed. It is configured not to send back or receive signals, nor to send or receive. With this configuration,
The above embodiment has the following effects.

【0028】即ち、上述の様な多重通信装置において
は、例えば所定の送信ノードから信号が連続的に次々と
送出され、その信号に基づいて所定の受信ノードが制御
対象を逐時制御する場合がある。かかる場合において、
もし制御部20が受信バッファ16を読込み不可であるにも
拘らず多重モジュール18が信号を次々と受信すると、そ
の信号は順次受信バッファ16に蓄積され、受信バッファ
16が一杯になった後はその信号を受信しない状態とな
る。そして、その後制御部20が受信バッファ16を読込み
可となると、該制御部20は受信バッファ16に蓄積された
古い信号を読み出してその古い信号に基づいて制御対象
を制御することになり(勿論受信バッファ16に蓄積され
ている古い信号が全て読み出された後は多重モジュール
18が受信する新しい信号に基づく制御が行なわれる)、
不適切な制御が行なわれることとなる。
That is, in the above-described multiplex communication device, for example, signals may be continuously transmitted one after another from a predetermined transmission node, and a predetermined reception node may control the controlled object on the basis of the signal. is there. In such cases,
If the control module 20 cannot read the reception buffer 16 and the multiplex modules 18 receive signals one after another, the signals are sequentially accumulated in the reception buffer 16 and the reception buffer 16 receives the signals.
After 16 is full, it will not receive that signal. Then, after that, when the control unit 20 becomes able to read the reception buffer 16, the control unit 20 reads the old signal accumulated in the reception buffer 16 and controls the control target based on the old signal (of course, the reception target). After all the old signals stored in the buffer 16 have been read out, the multiplexing module
Control is performed based on the new signal received by 18),
Improper control will be performed.

【0029】しかるに、上記実施例では、上述の様に制
御部20が受信バッファ16を読込み不可のときは多重モジ
ュール18は受信もしないように構成されているので、上
述の様な制御部20が受信バッファ16を読込み不可である
にも拘らず多重モジュール18が信号を受信してその信号
が受信バッファ16に蓄積され、それによって受信バッフ
ァ16に蓄積された古い信号に基づく制御が行なわれると
いう問題も回避することができる。
However, in the above-described embodiment, the multiplex module 18 does not receive when the control unit 20 cannot read the reception buffer 16 as described above. The problem that the multiplexing module 18 receives a signal even though the reception buffer 16 cannot be read, and the signal is accumulated in the reception buffer 16, thereby performing control based on the old signal accumulated in the reception buffer 16. Can also be avoided.

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

【図1】本発明の実施例に係る多重通信方式を実施する
多重通信装置を示す概略図
FIG. 1 is a schematic diagram showing a multiplex communication device that implements a multiplex communication system according to an embodiment of the present invention.

【図2】信号フレームの一例を示す図FIG. 2 is a diagram showing an example of a signal frame.

【図3】通信ノードの一例を示す図FIG. 3 is a diagram showing an example of a communication node.

【図4】多重モジュールと制御部とリセット回路との関
係を示す図
FIG. 4 is a diagram showing a relationship among a multiplexing module, a control unit, and a reset circuit.

【図5】多重モジュールと制御部との作動・非作動状態
を示すタイムチャート
FIG. 5 is a time chart showing operating / non-operating states of the multiple module and the control unit.

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

2 伝送路 4,6,8,10 通信ノード 14 送受信部 16 受信バッファ 18 多重モジュール 20 制御部 2 Transmission lines 4, 6, 8, 10 Communication node 14 Transmitter / receiver 16 Receive buffer 18 Multiplex module 20 Controller

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 送信および受信を行う送受信部と受信信
号を蓄積する受信バッファとを有する多重モジュール
と、上記受信バッファに蓄積された受信信号を読み出し
その読み出した受信信号に基づいて制御対象を制御する
制御部とを備えて成る通信ノードを複数備え、それらの
複数の通信ノードを共通の伝送路に接続して各通信ノー
ド間で多重通信を行うと共に、上記多重モジュールは上
記受信信号を受信した際に受信確認信号を返送する多重
通信方式であって、 上記通信ノードにおいて、上記制御部が上記受信バッフ
ァに蓄積された受信信号を読み出し可能状態になってい
るときにのみ、上記多重モジュールが上記受信確認信号
を返送するように構成されていることを特徴とする多重
通信方式。
1. A multiplexing module having a transmission / reception unit for transmitting and receiving and a reception buffer for accumulating a reception signal, and controlling a control target based on the read reception signal read from the reception signal accumulated in the reception buffer. And a plurality of communication nodes each including a control unit for connecting the plurality of communication nodes to a common transmission line to perform multiplex communication between the communication nodes, and the multiplex module receives the received signal. In the communication node, the multiplex module returns the reception confirmation signal when the control signal is stored in the reception buffer. A multiplex communication system characterized by being configured to return an acknowledgment signal.
JP4001379A 1992-01-08 1992-01-08 Multiplex communication system Pending JPH05191415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4001379A JPH05191415A (en) 1992-01-08 1992-01-08 Multiplex communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4001379A JPH05191415A (en) 1992-01-08 1992-01-08 Multiplex communication system

Publications (1)

Publication Number Publication Date
JPH05191415A true JPH05191415A (en) 1993-07-30

Family

ID=11499852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4001379A Pending JPH05191415A (en) 1992-01-08 1992-01-08 Multiplex communication system

Country Status (1)

Country Link
JP (1) JPH05191415A (en)

Similar Documents

Publication Publication Date Title
EP1022878B1 (en) Data transmission system
JP4952212B2 (en) Communication interference prevention device, communication system node, communication system, vehicle fault diagnosis device, and in-vehicle device
EP0449304B1 (en) Multiplex transmission system for use in vehicles
US5293571A (en) Receipt acknowledgement method in multiplex transmission
JP5019983B2 (en) In-vehicle communication system, relay device, and communication method
JP4968169B2 (en) Communication system and communication method
JP2995348B2 (en) Multiplex transmission method
JP3057581B2 (en) Multiplex transmission method
JPH05191415A (en) Multiplex communication system
US5263022A (en) Multiplex transmission method
JP3088199B2 (en) Multiplex communication device
JP3217397B2 (en) Data transmission method of communication control device
JP3088200B2 (en) Multiplex communication device
JP3088201B2 (en) Multiplex communication device
JP3401361B2 (en) Multiplex transmission system
JP3401360B2 (en) Multiplex transmission equipment
JP3088197B2 (en) Multiplex communication device
CA2226421C (en) Data transmission method and system therefor
JP2784709B2 (en) Vehicle data transmission system
JP2947437B2 (en) Data transmission method
CA2363980C (en) Data transmission method and system therefor
JPH10187598A (en) Vehicle data transmission system
JPH0795222A (en) Communication equipment
JPH02153647A (en) Multiplex transmission system
JPH05207044A (en) Fault diagnostic method for communication network