JP3106827B2 - Multiplex communication device - Google Patents

Multiplex communication device

Info

Publication number
JP3106827B2
JP3106827B2 JP05318673A JP31867393A JP3106827B2 JP 3106827 B2 JP3106827 B2 JP 3106827B2 JP 05318673 A JP05318673 A JP 05318673A JP 31867393 A JP31867393 A JP 31867393A JP 3106827 B2 JP3106827 B2 JP 3106827B2
Authority
JP
Japan
Prior art keywords
bus line
communication device
data
communication
receiving
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
JP05318673A
Other languages
Japanese (ja)
Other versions
JPH07177162A (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.)
Toyota Motor Corp
Original Assignee
Toyota 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP05318673A priority Critical patent/JP3106827B2/en
Publication of JPH07177162A publication Critical patent/JPH07177162A/en
Application granted granted Critical
Publication of JP3106827B2 publication Critical patent/JP3106827B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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 device,
In particular, when mutually communicating data between a plurality of communication devices, a response signal indicating a data reception state is returned from the receiving communication device to the transmitting communication device, and if a communication error is detected by the response signal, the data is transmitted. And a multiplex communication device for ensuring high reliability by retransmitting the multiplex communication.

【0002】[0002]

【従来の技術】従来より、複数の通信装置を共通のバス
ラインを介して接続して相互通信を行う多重通信装置と
して、例えば特開平2−1647号公報に開示される装
置が知られている。
2. Description of the Related Art Hitherto, as a multiplex communication apparatus for connecting a plurality of communication apparatuses via a common bus line and performing mutual communication, for example, an apparatus disclosed in Japanese Patent Laid-Open No. 2-1647 is known. .

【0003】この装置は、複数の通信装置のうち受信側
通信装置となるものが、データを受信した際に受信状態
に応じた応答信号を返送し、送信側通信装置では、返送
されてきた応答信号に基づいて複数の通信装置へのデー
タ送信が正常に行われたかを判断する装置である。
[0003] In this device, a communication device which becomes a receiving communication device among a plurality of communication devices returns a response signal according to a reception state when receiving data. This device determines whether data transmission to a plurality of communication devices has been normally performed based on a signal.

【0004】ここで、上記公報記載の装置は、例えば図
4に示す如き送信フレームのデータを相互に通信するこ
とにより実現することができる。すなわち、送信側通信
装置からバスラインに向けてスタートビットが送信され
ると、他の通信装置はデータ通信が開始されることを認
識することができる。
[0004] The apparatus described in the above publication can be realized by mutually transmitting data of a transmission frame as shown in FIG. 4 for example. That is, when a start bit is transmitted from the transmitting communication device to the bus line, the other communication devices can recognize that data communication is started.

【0005】次に、バスライン上にID信号が送信され
ると、受信側通信装置において何れの通信装置からデー
タの送信が行われるかを認識することができる。従っ
て、これに続いてメッセージが送信されれば、バスライ
ンには複数の通信装置が接続されているにもかかわら
ず、受信側通信装置において何れの通信装置から送信さ
れたメッセージであるかを特定することができる。
Next, when an ID signal is transmitted on the bus line, the receiving communication device can recognize from which communication device data transmission is performed. Therefore, if a message is transmitted subsequently, even if a plurality of communication devices are connected to the bus line, the communication device on the receiving side specifies which communication device the message was transmitted from. can do.

【0006】メッセージに続いて送信される誤り検出ビ
ットは、送信側と受信側とで予め設定されたコードであ
る。つまり、通信状態が正常であれば、誤り検出ビット
は所定の設定値が送信されてくるはずであり、このビッ
トが正常であるか否かによって受信したメッセージが正
常か否かが判断できる。
The error detection bit transmitted after the message is a code set in advance on the transmitting side and the receiving side. That is, if the communication state is normal, a predetermined value should be transmitted as the error detection bit, and it can be determined whether the received message is normal based on whether this bit is normal.

【0007】そして、各受信側通信装置が、メッセージ
が正常か否かに応じた応答信号を応答ビットにセットし
て、図4に示す送信フレームのデータを返送することと
すれば、これを受信した元送信側通信装置は、自己の送
信したデータが正常に他の通信装置に受信されたかを判
断することができる。
If each receiving communication device sets a response signal according to whether the message is normal or not to the response bit and returns the data of the transmission frame shown in FIG. The originating communication device that has made the transmission can determine whether the data transmitted by itself has been normally received by another communication device.

【0008】ここで、上記公報記載の装置は、図5に示
す如く3種類の応答信号を想定して多重通信を実行して
いる。すなわち、図5(A)は、データが受信が正常に
行われた際に個々の通信装置からバスラインに出力され
る応答信号(以下ACKと称す)であり、パッシブレベ
ル“1”とドミナントレベル“0”とを組み合わせて
“10”なる2ビット信号とされている。
Here, the apparatus described in the above publication performs multiplex communication on the assumption of three types of response signals as shown in FIG. That is, FIG. 5A shows a response signal (hereinafter referred to as ACK) output from each communication device to the bus line when data is normally received, and includes a passive level “1” and a dominant level. A two-bit signal “10” is obtained by combining “0”.

【0009】このACK信号を2ビットからなる“1
0”で表したのは、“1”により通信が正常であること
を表すと共に、“0”により通信装置が正常に機能して
いることを表すためである。
[0009] This ACK signal is represented by a 2-bit "1".
The reason why it is represented by "0" is that "1" indicates that communication is normal and "0" indicates that the communication device is functioning normally.

【0010】すなわち、多重通信装置においては、一般
にバスラインの電位は“1”に相当するレベルに維持さ
れており、何れかの通信装置から積極的に“0”信号が
出力されない限りは“0”に相当するレベルには低下し
ない。従って、応答信号を1ビット信号により単に
“1”として表したのでは、その応答信号が正常な受信
状態を表すのか、通信装置自体がバスラインから遮断し
た状態にあるのかを判断できないからである。
That is, in a multiplex communication device, the potential of a bus line is generally maintained at a level corresponding to "1", and unless a communication device actively outputs a "0" signal, the potential of the bus line becomes "0". Does not drop to a level corresponding to "". Therefore, if the response signal is simply expressed as "1" by a 1-bit signal, it cannot be determined whether the response signal indicates a normal reception state or the communication device itself is disconnected from the bus line. .

【0011】図5(B)は、受信データが異常である場
合に出力される応答信号(以下、NACKと称す)であ
り、同様の理由により“00”なる2ビット信号とされ
ている。
FIG. 5B shows a response signal (hereinafter referred to as NACK) output when the received data is abnormal, and is a 2-bit signal "00" for the same reason.

【0012】そして、図5(C)は、受信側通信装置か
ら何ら応答信号が送信されない場合、すなわち、受信側
通信装置とバスラインとの接続が瞬断した場合等の状態
を示している。つまり、上記公報記載の装置は、応答信
号が返送されるタイミングにおいてバスライン上の電位
が“11”に相当するレベルに維持されている場合は、
それにより受信側通信装置の瞬断を認識しようとするも
のである。
FIG. 5C shows a state where no response signal is transmitted from the receiving communication device, that is, when the connection between the receiving communication device and the bus line is momentarily interrupted. In other words, the device described in the above-mentioned publication discloses that when the potential on the bus line is maintained at the level corresponding to “11” at the timing when the response signal is returned
Thereby, the instantaneous interruption of the receiving communication device is to be recognized.

【0013】ところで、一般に多重通信装置において
は、何れかの通信装置において“0”信号が送信されな
い限りバスラインの電位が低下しないことは前記した通
りであるが、これを言い換えれば、何れかの通信装置に
おいて“0”が出力されれば、他の通信装置から“1”
が出力されていても、バスラインの電位は“0”に相当
するレベルに低下することになる。
By the way, in a multiplex communication apparatus, as described above, the potential of the bus line does not decrease unless a "0" signal is transmitted in any of the communication apparatuses as described above. If “0” is output from the communication device, “1” is output from another communication device.
Is output, the potential of the bus line drops to a level corresponding to “0”.

【0014】従って、上記従来の装置においては、複数
の通信装置のうち少なくとも1つの通信装置からNAC
K信号が送信されれば、応答信号としてはバスライン上
に“00”が現れることになり、送信側通信装置では、
結果的に通信異常を認識することができる。
Therefore, in the above-mentioned conventional device, the NAC is transmitted from at least one of the plurality of communication devices.
When the K signal is transmitted, “00” appears on the bus line as a response signal.
As a result, a communication abnormality can be recognized.

【0015】[0015]

【発明が解決しようとする課題】しかしながら、かかる
構成では、何れかの通信装置において瞬断が生じた場合
でも、他の通信装置において正常にデータの受信が行わ
れてACK信号が送信されれば、バスライン上には結局
“10”なる応答信号が現れることとなる。
However, in such a configuration, even if an instantaneous interruption occurs in any of the communication devices, if the data is normally received in another communication device and the ACK signal is transmitted. Finally, a response signal "10" appears on the bus line.

【0016】つまり、上記従来の多重通信装置は、全て
の受信通信装置が同時に瞬断した場合、又は送信側通信
装置が瞬断した場合については、その状態を通信異常と
して認識することができるものの、一部の受信側通信装
置の瞬断については、それを通信異常として認識するこ
とができないという問題を有していた。
That is, the above-mentioned conventional multiplex communication apparatus can recognize the state as a communication abnormality when all the receiving communication apparatuses are instantaneously interrupted at the same time or when the transmitting communication apparatus is instantaneously interrupted. However, there has been a problem that a momentary interruption of some of the receiving communication devices cannot be recognized as a communication abnormality.

【0017】本発明は、上述の点に鑑みてなされたもの
であり、受信側通信装置が正常にデータを受信した場合
にはACK信号としてハイレベルの信号を、正常にデー
タを受信できなかった場合にはNACK信号としてロー
レベルの信号を返送すると共に、瞬断時にはバスライン
の電位をハイレベルとローレベルの間の所定レベルに低
下させることにより上記の課題を解決する多重通信装置
を提供することを目的とする。
The present invention has been made in view of the above points, and when a receiving-side communication device has normally received data, a high-level signal as an ACK signal has not been received normally. In such a case, there is provided a multiplex communication apparatus that solves the above problem by returning a low-level signal as a NACK signal and lowering the potential of the bus line to a predetermined level between a high level and a low level at the time of an instantaneous interruption. The purpose is to:

【0018】[0018]

【課題を解決するための手段】図1は、上記の目的を達
成する多重通信装置の原理構成図を示す。すなわち、上
記の目的は、図1に示すように、共通のバスラインM1
に接続した複数の通信装置間で通信を行うにあたり、受
信側通信装置M2は、データを受信したら受信状態に応
じた応答信号を返送し、送信側通信装置M3は該応答信
号に基づいて前記受信側通信装置M2におけるデータの
受信状態を判断する多重通信装置であって、前記受信側
装置M2は、前記バスラインM1から受信したデータが
正常か否かを判定する受信状態判定手段M4と、該受信
状態判定手段M4によってデータが正常であると判定さ
れた場合は前記バスラインM1に対してハイレベルの信
号を出力し、データが異常であると判定された場合は前
記バスラインM1の電位をローレベルとする信号を出力
する受信状態応答手段M5と、当該受信側通信装置M2
が前記バスラインM1から瞬断された場合に、該バスラ
インM1の電位を前記ハイレベルより低い所定レベルに
低下させるバス電位低下手段M6とを備え、前記送信側
通信装置M3は、前記受信側通信装置M2が受信データ
の状態判定に用いる誤り検出用データを含むデータを前
記バスラインM1に向けて送信するデータ送信手段M7
と、前記受信側通信装置M2から受信状態応答信号が返
送される際における前記バスラインM1の電位レベルを
判定するレベル判定手段M8と、該レベル判定手段M8
の判定結果に基づいて複数の通信装置間における通信状
態を判定する通信状態判定手段M9とを備える多重通信
装置により達成される。
FIG. 1 is a block diagram showing the principle of a multiplex communication apparatus which achieves the above object. That is, as shown in FIG.
When performing communication between a plurality of communication devices connected to the receiving device, the receiving communication device M2 returns a response signal according to the receiving state upon receiving the data, and the transmitting communication device M3 performs the receiving based on the response signal. A multiplex communication device for judging a data reception state in the side communication device M2, wherein the reception side device M2 includes a reception state judgment unit M4 for judging whether or not data received from the bus line M1 is normal; When the data is determined to be normal by the reception state determination means M4, a high-level signal is output to the bus line M1, and when the data is determined to be abnormal, the potential of the bus line M1 is changed. Receiving state responding means M5 for outputting a signal to be low level;
And a bus potential lowering means M6 for lowering the potential of the bus line M1 to a predetermined level lower than the high level when the bus is disconnected from the bus line M1. A data transmission unit M7 for transmitting data including error detection data used by the communication device M2 to determine the state of received data to the bus line M1;
A level determining means M8 for determining the potential level of the bus line M1 when a receiving state response signal is returned from the receiving side communication device M2;
And a communication state determination unit M9 that determines a communication state between the plurality of communication apparatuses based on the determination result.

【0019】[0019]

【作用】本発明に係る多重通信装置において、前記送信
側通信装置M3の前記データ送信手段M7は、前記バス
ラインM1に対してデータを送信するにあたり、誤り検
出用データを含めた送信を行う。
In the multiplex communication apparatus according to the present invention, when transmitting data to the bus line M1, the data transmitting means M7 of the transmitting communication apparatus M3 performs transmission including error detection data.

【0020】前記受信側通信装置M2の前記受信状態判
定手段M4は、前記バスラインM1から供給されるデー
タを受信すると共に、該データに包含される誤り検出用
データが正常であるか否かに基づいて、データの受信が
正常に行われたか否かを判定する。
The receiving state determining means M4 of the receiving side communication device M2 receives the data supplied from the bus line M1 and determines whether the error detection data included in the data is normal. Then, it is determined whether or not the data has been received normally.

【0021】そして、前記受信状態応答手段M5は、前
記バスラインM1に向けて、データの受信が正常に行わ
れている場合にはハイレベルの信号を供給し、またデー
タの受信が正常に行われていない場合には、前記バスラ
インM1をローレベルとする信号を供給する。
The reception state response means M5 supplies a high-level signal to the bus line M1 when data reception is normally performed, and performs normal data reception. If not, a signal for setting the bus line M1 to low level is supplied.

【0022】従って、前記送信側通信装置M3の前記レ
ベル判定手段M8では、前記バスラインM1に接続され
ている全ての受信側通信装置M2で正常にデータの受信
が行われた場合は応答信号が返送される際の前記バスラ
インM1の電位がハイレベルであると判定される。ま
た、何れかの受信側通信装置M2において正常にデータ
の受信が行われなかった場合には、当該受信側通信装置
M2から送信される受信状態応答信号の影響で、前記バ
スラインM1の電位がローレベルであると判定される。
Therefore, the level determination means M8 of the transmitting side communication device M3 outputs a response signal when all the receiving side communication devices M2 connected to the bus line M1 normally receive data. It is determined that the potential of the bus line M1 at the time of returning is at a high level. Further, when data is not normally received in any of the receiving communication devices M2, the potential of the bus line M1 becomes lower due to the reception state response signal transmitted from the receiving communication device M2. It is determined that the level is low.

【0023】一方、前記受信側通信装置M2が前記バス
ラインM1から瞬断すると、前記バス電位低下手段M6
は前記バスラインM1の電位をハイレベルより低い所定
レベル以下に低下させる。つまり、前記バスラインM1
に接続される受信側通信装置M2のうち少なくとも1つ
の受信側通信装置M2に瞬断が生ずると、他の全ての受
信側通信装置M2において正常にデータが受信されてい
ても応答信号返送時に前記バスラインM1の電位がハイ
レベルにまで上がることがない。
On the other hand, when the receiving side communication device M2 is momentarily disconnected from the bus line M1, the bus potential lowering means M6
Lowers the potential of the bus line M1 below a predetermined level lower than the high level. That is, the bus line M1
When an instantaneous interruption occurs in at least one of the receiving communication devices M2 among the receiving communication devices M2 connected to the communication device M2, even if data is normally received in all the other receiving communication devices M2, the response signal is returned when the response signal is returned. The potential of the bus line M1 does not rise to a high level.

【0024】そして、前記送信側通信装置M3の前記レ
ベル判定手段M8は、前記バスラインM1の電位がハイ
レベルであるかローレベルであるかに加え、何れかの受
信側通信装置M2において瞬断が生じた際に発生する所
定レベルであるかを判定し、前記通信状態判定手段M9
は、その結果に基づいて前記データ送信手段M7が送信
したデータについての通信状態を判定する。
The level determining means M8 of the transmitting communication device M3 determines whether the potential of the bus line M1 is at a high level or a low level, and instantaneously interrupts at any of the receiving communication devices M2. It is determined whether the level is a predetermined level generated when the communication has occurred, and the communication state determining means M9
Determines the communication state of the data transmitted by the data transmission means M7 based on the result.

【0025】[0025]

【実施例】図2は、本発明の一実施例である多重通信装
置を構成する通信装置10の構成図を示す。本実施例の
通信装置10は、前記した受信側通信装置M2及び送信
側通信装置M3の機能を兼備している。
FIG. 2 is a block diagram showing a communication apparatus 10 constituting a multiplex communication apparatus according to an embodiment of the present invention. The communication device 10 of the present embodiment has the functions of the above-described receiving communication device M2 and transmitting communication device M3.

【0026】すなわち、通信装置10は、図示しない複
数の同様構成の通信装置とバスライン12を介して接続
されて多重通信装置を構成する。そして、バスライン1
2に向けて自らデータを送信する際には前記した送信側
通信装置M3として機能し、またバスライン12よりデ
ータを受信する場合には、前記した受信側通信装置M2
として機能する。
That is, the communication device 10 is connected to a plurality of communication devices having a similar configuration (not shown) via the bus line 12 to form a multiplex communication device. And bus line 1
2 when transmitting the data by itself to the communication device M3, and when receiving the data from the bus line 12, the communication device M2 when receiving the data from the bus line 12.
Function as

【0027】通信装置10は、前記した受信状態判定手
段M4,受信状態応答手段M5,データ送信手段M7,
レベル判定手段M8,及び通信状態判定手段M9を実現
する電子制御装置(ECU)20、及び前記したバス電
位低下手段M6に相当する機能を内蔵すると共に、通信
装置10に対してバスライン12、電源ライン14、グ
ランドライン16を接続するコネクタ30により構成さ
れる。
The communication device 10 includes the above-mentioned receiving state determining means M4, receiving state responding means M5, data transmitting means M7,
An electronic control unit (ECU) 20 for realizing the level determination unit M8 and the communication state determination unit M9, and a function corresponding to the bus potential lowering unit M6 described above are incorporated. It comprises a connector 30 for connecting the line 14 and the ground line 16.

【0028】尚、本実施例の多重通信装置は、同一のセ
ンサの検出結果を複数の通信装置で使用する必要がある
場合、何れかの通信装置の演算結果を他の通信装置で使
用する必要がある場合等に有効であり、例えば種々の車
両制御を行うべく車両に搭載される複数の車載用ECU
を各通信装置として構成した場合、その機能を有効に発
揮することができる。
In the multiplex communication apparatus of this embodiment, when it is necessary to use the detection result of the same sensor in a plurality of communication apparatuses, it is necessary to use the operation result of one of the communication apparatuses in another communication apparatus. It is effective when there is, for example, a plurality of in-vehicle ECUs mounted on a vehicle to perform various vehicle controls
Is configured as each communication device, the function can be effectively exhibited.

【0029】ECU20は、CPU22を主体に構成さ
れる装置である。CPU22は、供給されたデータに基
づいて所定の演算処理を行うと共に、他の複数のECU
との間で多重通信を実現する多重通信機能を備えてい
る。
The ECU 20 is a device mainly composed of a CPU 22. The CPU 22 performs a predetermined calculation process based on the supplied data, and executes a plurality of other ECUs.
It has a multiplex communication function for realizing multiplex communication with the device.

【0030】すなわち、本実施例の多重通信装置も、応
答信号を除いて従来の多重通信装置と同様の手法で通信
を行っており、バスライン12を介してシリアル通信に
よりデータの相互通信を行うべくプロトコルを定めてい
る。そして、CPU22は、かかるプロトコルに従って
バスライン12に向けてデータを送信し、又はバスライ
ンからデータを受信する処理を行う。尚、本実施例にお
いては、従来の装置と同様に上記図4に示す送信フレー
ムに従ってデータの授受を実行することとしている。
That is, the multiplex communication apparatus of this embodiment also performs communication in the same manner as the conventional multiplex communication apparatus except for the response signal, and performs mutual data communication by serial communication via the bus line 12. The protocol has been determined. Then, the CPU 22 performs a process of transmitting data to the bus line 12 or receiving data from the bus line according to the protocol. In this embodiment, data transmission and reception are performed in accordance with the transmission frame shown in FIG. 4 as in the conventional apparatus.

【0031】駆動回路24は、CPU24から出力され
た信号に所定の整形を加えてバスライン12に向けて出
力する回路である。すなわち本実施例においては、後述
の理由により、CPU22が出力する信号のうちスター
ト信号、ID信号、メッセージ信号、誤り検出信号、及
びエンド信号に比べて、応答信号についてのみ出力電圧
を高めることとしており、駆動回路24はかかる機能を
実現する整形処理を行う。
The drive circuit 24 is a circuit that performs predetermined shaping on the signal output from the CPU 24 and outputs the signal to the bus line 12. That is, in the present embodiment, the output voltage of only the response signal is increased compared to the start signal, the ID signal, the message signal, the error detection signal, and the end signal among the signals output by the CPU 22 for the reasons described later. The drive circuit 24 performs a shaping process for realizing such a function.

【0032】より具体的には、CPU22から上記図4
に示す送信フレームに従って信号の送信が開始される
と、駆動回路24は、スタート信号から誤り検出信号ま
で、及びエンド信号についてはCPU22の出力レベル
(以下、αVと表す)をそのままバスライン12に向け
て出力する。そして、応答信号についてのみCPU22
の出力レベルを増幅して(以下、増幅後の出力レベルを
βVと表す)バスライン12に向けて出力する。
More specifically, FIG.
When the transmission of a signal is started in accordance with the transmission frame shown in (1), the drive circuit 24 directs the output level (hereinafter, referred to as αV) of the CPU 22 from the start signal to the error detection signal and the end signal to the bus line 12 as it is. Output. Then, the CPU 22 only responds to the response signal.
(Hereinafter, the amplified output level is referred to as βV) and output to the bus line 12.

【0033】この意味で、本実施例の多重通信装置にお
いては、CPU22及び駆動回路24が前記した受信状
態応答手段M4、及びデータ送信手段M7に相当してい
る。また、本実施例においては、CPU22から“0”
に相当する信号が出力された際の電位(以下、0Vと表
す)が前記したローレベルに、CPU22から“1”に
相当する信号が出力され、その信号が駆動回路22によ
って増幅された際の電位βVが前記したハイレベルに相
当する。
In this sense, in the multiplex communication apparatus of this embodiment, the CPU 22 and the drive circuit 24 correspond to the above-described reception state response means M4 and data transmission means M7. In the present embodiment, the CPU 22 outputs “0”
The signal corresponding to “1” is output from the CPU 22 when the potential (hereinafter, referred to as 0 V) when the signal corresponding to the signal is output is at the low level, and the signal when the signal is amplified by the drive circuit 22. The potential βV corresponds to the high level described above.

【0034】応答信号レベル検知回路26は、図示しな
い他のECUからバスライン12に向けて応答信号が送
信される際に、バスライン12の電位を監視してそのレ
ベルを検知する回路であり、本実施例においては、0
V,αV,βVの3つのレベルを区別して検知できる機
能を有している。尚、この応答信号レベル検知回路26
は、前記したレベル判定手段M8に相当している。
The response signal level detection circuit 26 is a circuit for monitoring the potential of the bus line 12 and detecting the level when a response signal is transmitted from another ECU (not shown) to the bus line 12. In this embodiment, 0
It has a function of detecting three levels of V, αV, and βV separately. The response signal level detection circuit 26
Corresponds to the level determination means M8 described above.

【0035】コネクタ30は、ECU20に対して着脱
自在に設けられた部材であり、バスライン12、電源ラ
イン14等のワイヤハーネスとECU20との接続を司
る機能を有していると共に、前記したバス電位低下手段
M6としての機能を有する本実施例の要部である。
The connector 30 is a member provided detachably with respect to the ECU 20, has a function of controlling the connection between the ECU 20 and a wire harness such as the bus line 12, the power supply line 14, and the like. This is a main part of this embodiment having a function as a potential lowering unit M6.

【0036】すなわち、コネクタ30には、コネクタ3
0とECU20との瞬断時にはバスライン12の電位を
αV以下にガードする回路が内蔵されている。この回路
は、バスライン12に接続されたツェナー電圧αVのツ
ェナーダイオード32、ローレベルが0V・ハイレベル
が(β−α)V以上の所定値であるインバータ34、及
びインバータ34を駆動する抵抗36、38により構成
される。
That is, the connector 30 includes the connector 3
A circuit is provided for guarding the potential of the bus line 12 to αV or less when there is an instantaneous interruption between 0 and the ECU 20. This circuit includes a Zener diode 32 connected to the bus line 12 and having a Zener voltage αV, an inverter 34 having a low level of 0 V and a high level of (β−α) V or more, and a resistor 36 for driving the inverter 34. , 38.

【0037】インバータ34の入力端子は、ECU20
に設けられた端子を介して接地されていると共に、プル
アップ抵抗として機能する抵抗36を介して電源電圧に
接続されている。従って、ECU20とコネクタ30と
が適切に接触していれば、インバータ34の入力端子3
4は接地された状態となり、その出力端子にはハイレベ
ルを表す(β−α)V以上の電圧が現れる。
The input terminal of the inverter 34 is connected to the ECU 20
Are connected to the power supply voltage via a resistor 36 functioning as a pull-up resistor. Therefore, if the ECU 20 and the connector 30 are in proper contact, the input terminal 3 of the inverter 34
4 is grounded, and a voltage higher than (β-α) V representing a high level appears at its output terminal.

【0038】この場合、インバータ34の出力端子に接
続されるツェナーダイオード32は、インバータ32の
出力電圧に対してツェナー電圧αVを加えた耐圧を示す
ことになり、結局バスライン12は、βVを越える耐圧
(上限はインバータ34の特性によって決定される)を
備えることになる。
In this case, the Zener diode 32 connected to the output terminal of the inverter 34 has a withstand voltage obtained by adding the Zener voltage αV to the output voltage of the inverter 32, and the bus line 12 eventually exceeds βV. It has a withstand voltage (the upper limit is determined by the characteristics of the inverter 34).

【0039】一方、コネクタ30とECU20との接触
が適切でなく、インバータ34の入力端子がグランドレ
ベルから浮き上がった状態となると、その電位は抵抗3
6を介して接続される電源電圧レベルに上昇する。この
ため、インバータ34の出力端子電圧がローレベル、す
なわち0Vとなり、従ってバスライン12の耐圧は、ツ
ェナーダイオード32のツェナー電圧そのままのαVと
なる。
On the other hand, if the contact between the connector 30 and the ECU 20 is not appropriate and the input terminal of the inverter 34 rises from the ground level, the potential of the
6 rises to the power supply voltage level connected via. Therefore, the output terminal voltage of the inverter 34 becomes low level, that is, 0 V, and the withstand voltage of the bus line 12 becomes αV which is the Zener voltage of the Zener diode 32 as it is.

【0040】つまり、本実施例の多重通信装置において
は、コネクタ30とECU20とが適切に接触している
場合にはバスライン12の耐圧としてβV以上が確保さ
れ、また、その接続が適切でない場合には、バスライン
12の耐圧がαVに低下する。そして、かかる機能は図
示されたコネクタ30−ECU20間でのみ実現される
ものではなく、バスライン12に接続される全ての通信
装置(コネクタ、及びECU)において実現される。
That is, in the multiplex communication apparatus of this embodiment, when the connector 30 and the ECU 20 are properly in contact with each other, the withstand voltage of the bus line 12 is maintained at βV or more, and when the connection is not appropriate. , The breakdown voltage of the bus line 12 decreases to αV. Such a function is not realized only between the illustrated connector 30 and the ECU 20, but is realized in all communication devices (connectors and ECUs) connected to the bus line 12.

【0041】ところで、本実施例の多重通信装置におい
ては、上記図4に示す送信フレームを用いて、かつ応答
信号については0V−βVの2値により、その他の場合
は0V−αVの2値により表した信号によりデータ信号
の授受を行うことは前記した通りである。
By the way, in the multiplex communication apparatus of this embodiment, the transmission frame shown in FIG. 4 is used, and the response signal is represented by binary values of 0V-βV, and in other cases, it is represented by binary values of 0V-αV. The transmission and reception of the data signal by the represented signal is as described above.

【0042】図3(A),(B)は、かかるプロトコル
に従ってデータ信号が送信された際のバスライン12の
電位を表したもので、同図(A)は全ての通信装置にお
いて正常にデータの受信が行われた場合、すなわち全て
の通信装置からACK信号が送信された場合、同図
(B)は少なくとも1台の通信装置においてデータの受
信異常が生じた場合、すなわち少なくとも1台の通信装
置がNACK信号を送信した場合を示している。
FIGS. 3A and 3B show the potential of the bus line 12 when a data signal is transmitted according to such a protocol. FIG. FIG. 2B shows a case where data reception abnormality has occurred in at least one communication device, that is, at least one communication device has received an ACK signal from all communication devices. It shows a case where the device has transmitted a NACK signal.

【0043】この場合、ECU20が送信側通信装置で
あるとすれば、応答信号レベル検知回路26では、図3
(A)の状態に対しては、応答信号として“βV,0
V”からなる2ビット信号が検知され、また図3(B)
の状態に対しては“0V,0V”からなる応答信号が検
知される。
In this case, if the ECU 20 is a transmitting-side communication device, the response signal level detection circuit 26
For the state of (A), “βV, 0” is used as a response signal.
V "is detected, and FIG. 3 (B)
With respect to the state, a response signal consisting of "0 V, 0 V" is detected.

【0044】一方、バスライン12に接続される通信装
置のうち何れかの通信装置においてコネクタとECUと
の瞬断が生じた場合は、バスライン12の耐圧がαVに
低下する。この場合、各通信装置が応答信号でなく送信
する信号は、元来αVを上限とする信号であるため何ら
影響を受けることがないが、応答信号については影響が
ある。
On the other hand, if an instantaneous interruption between the connector and the ECU occurs in any of the communication devices connected to the bus line 12, the withstand voltage of the bus line 12 decreases to αV. In this case, the signal transmitted by each communication device, not the response signal, is originally a signal having an upper limit of αV, and thus is not affected at all, but the response signal is affected.

【0045】つまり、瞬断の生じた通信装置を除く全て
の通信装置において正常なデータ受信が行われ、それに
対してACK信号が送信されたとしても、バスライン1
2上には、図3(C)に示す如く“αV,0V”からな
る応答信号が発生するにとまり、図3(A)に示す応答
信号とは差異が生じる。
That is, even if normal data reception is performed in all communication devices except for the communication device in which the instantaneous interruption has occurred and an ACK signal is transmitted in response thereto, the bus line 1
As shown in FIG. 3 (C), a response signal consisting of “αV, 0V” is generated on the line 2, which is different from the response signal shown in FIG. 3 (A).

【0046】CPU22は、応答信号レベル検知回路2
6を介してかかる状況の変化を認識することができ、一
部の通信装置が瞬断により無応答状態となっていること
を、全ての通信装置が正常にACK信号を送信する場合
と区別して把握することができる。この意味で本実施例
におけるαVは、前記した所定レベルに相当する。
The CPU 22 has a response signal level detection circuit 2
6, the change of the situation can be recognized, and the fact that some of the communication devices are in the non-response state due to the momentary interruption is distinguished from the case where all the communication devices normally transmit the ACK signal. You can figure out. In this sense, αV in this embodiment corresponds to the above-mentioned predetermined level.

【0047】尚、一部の通信装置において瞬断が生じ、
これと共に他の通信装置からNACK信号が送信された
場合、バスライン12上にはNACK信号が優先して現
れることになるが、瞬断は通信異常である点でデータ受
信異常と共通しており、両者を区別する実益は少ないた
め、かかる現象は何ら支障あるものではない。
Incidentally, an instantaneous interruption occurs in some communication devices,
At the same time, when a NACK signal is transmitted from another communication device, the NACK signal appears preferentially on the bus line 12, but the instantaneous interruption is a communication abnormality and is common to the data reception abnormality. However, there is little benefit in distinguishing the two, so this phenomenon is not a problem.

【0048】このように、本実施例の多重通信装置によ
れば、複数の通信装置間でデータの相互通信を行うにあ
たり、データ通信が正常に行われているか否かに加え
て、コネクタの瞬断等に起因して生ずる無応答をも確実
に検出することができる。従って、瞬断等の異常が検出
された際にデータの再送を行う等の処置を講じることと
すれば、多重通信装置として高い信頼性を確保すること
が可能となる。
As described above, according to the multiplex communication apparatus of the present embodiment, when performing mutual data communication between a plurality of communication apparatuses, it is determined whether or not the data communication is normally performed and the instantaneous state of the connector. A non-response resulting from a disconnection or the like can also be reliably detected. Therefore, if measures such as resending data when an abnormality such as an instantaneous interruption is detected are taken, it is possible to secure high reliability as a multiplex communication device.

【0049】かかるコネクタの瞬断は、常に振動の加わ
る環境下で用いられる車載用ECUにおいて従来より問
題とされており、本実施例の多重通信装置はこれら車載
用ECUからなるネットワークに適用した場合、特に有
効である。
The instantaneous interruption of the connector has conventionally been a problem in an in-vehicle ECU used in an environment where vibrations are constantly applied, and the multiplex communication apparatus of the present embodiment is applied to a network composed of these in-vehicle ECUs. Especially effective.

【0050】ところで、図3(A)〜(C)に示す応答
信号は、データ授受の信頼性を考慮して2ビットで形成
したものであるが、本実施例の多重通信装置において
は、必ずしも応答信号を2ビット信号とする必要はな
い。
The response signals shown in FIGS. 3A to 3C are formed by 2 bits in consideration of the reliability of data transfer. However, in the multiplex communication apparatus of the present embodiment, the response signals are not necessarily formed. The response signal does not need to be a 2-bit signal.

【0051】つまり、授受する信号としてハイレベル、
及びローレベルの2値しか使用することのできない従来
の装置においては、通信装置が動作していることを表す
ためにはローレベルの信号を発生してみせる必要があ
り、ACK信号を構成するにあたっては上記図5(A)
に示すように必ず2ビット信号を必要とした。
That is, a high level signal is transmitted and received,
In a conventional device that can use only low-level and low-level binary signals, it is necessary to generate a low-level signal to indicate that the communication device is operating. Is the above FIG. 5 (A)
As shown in (1), a 2-bit signal was always required.

【0052】これに対して本実施例の多重通信装置は、
波高値βVの信号が発せられることで通信装置が動作し
ていることを表すことができる。従って、一部の通信装
置が作動しない状況が検出できれば足りる場合には、応
答信号を1ビットで構成することも可能である。
On the other hand, the multiplex communication apparatus of this embodiment is
It is possible to indicate that the communication device is operating by emitting the signal of the peak value βV. Therefore, if it is sufficient to detect a situation in which some of the communication devices do not operate, the response signal may be configured with one bit.

【0053】この場合、2ビットを用いて応答信号を構
成する場合のように、一部の通信装置が作動せず、かつ
一部の通信装置が作動中である場合と(図3(C)の応
答信号が出現)、全ての通信装置が作動していない場合
と(2ビットともαVの応答信号が出現)を区別するこ
とはできないが、多重通信装置全体として正常な状態か
否か判別できる機能を確保しつつデータ長を短縮するこ
とが可能である。
In this case, as in the case where a response signal is formed using two bits, some communication devices do not operate and some communication devices are operating (FIG. 3C). Cannot be distinguished from the case where all the communication devices are not operating (the response signal of αV appears for both 2 bits), but it can be determined whether or not the entire multiplex communication device is in a normal state. It is possible to shorten the data length while securing the function.

【0054】[0054]

【発明の効果】上述の如く、本発明によれば、受信側通
信装置が正常時に発する応答信号をハイレベル、異常時
に発する応答信号をローレベル、また、瞬断時に発する
応答信号ハイレベルとローレベルの間の所定レベルとす
ることで、全ての受信側通信装置で正常なデータの受信
が行われた場合の応答信号より何れかの受信側通信装置
に瞬断が生じた場合の応答信号を優先させることがで
き、また何れかの受信側通信装置に瞬断が生じた場合の
応答信号より何れかの受信側通信装置において正常なデ
ータの受信が行えなかった場合を優先させることができ
る。
As described above, according to the present invention, the response signal generated when the receiving side communication device is normal is high, the response signal generated when abnormal is low, and the response signal generated when the receiving communication device is momentarily interrupted is high and low. By setting the predetermined level between the levels, a response signal when an instantaneous interruption occurs in any of the receiving communication devices is obtained from a response signal when normal data reception is performed in all the receiving communication devices. Priority can be given, and priority can be given to a case where normal data cannot be received in any of the receiving communication devices over a response signal in a case where an instantaneous interruption has occurred in any of the receiving communication devices.

【0055】この場合、全ての受信側通信装置において
データの受信が正常に行われ、以後データの再送等の処
置を講じる必要がない状況と、何れかの受信側通信装置
において瞬断、又は異常受信がしょうじ、データの再送
等の処置を講じる必要がある状況とを個々に認識するこ
とが可能となる。
In this case, data is normally received in all the receiving communication apparatuses, and it is not necessary to take measures such as retransmission of data thereafter. It is possible to individually recognize situations in which measures such as data reception and data retransmission need to be taken.

【0056】また、本発明に係る多重通信装置は、ハイ
レベル、所定レベル、ローレベルの1ビット信号で区別
すべき3つの状況を表している。従って、応答信号とし
て2ビットを必要としていた従来の装置に比べてデータ
長を短くすることもできるという特長をも有している。
Further, the multiplex communication apparatus according to the present invention shows three situations in which a 1-bit signal of a high level, a predetermined level, and a low level should be distinguished. Therefore, there is also a feature that the data length can be shortened as compared with a conventional device that requires 2 bits as a response signal.

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

【図1】本発明に係る多重通信装置の原理構成図であ
る。
FIG. 1 is a principle configuration diagram of a multiplex communication apparatus according to the present invention.

【図2】本発明の一実施例である多重通信装置を構成す
る通信装置の構成図である。
FIG. 2 is a configuration diagram of a communication device constituting a multiplex communication device according to an embodiment of the present invention.

【図3】本実施例の多重通信装置の動作を説明するため
の図である。
FIG. 3 is a diagram for explaining the operation of the multiplex communication device of the present embodiment.

【図4】多重通信における送信フレームの例である。FIG. 4 is an example of a transmission frame in multiplex communication.

【図5】従来の多重通信装置の動作を説明するための図
である。
FIG. 5 is a diagram for explaining an operation of a conventional multiplex communication device.

【符号の説明】 M1,12 バスライン M2 受信側通信装置 M3 送信側通信装置 M4 受信状態判定手段 M5 受信状態応答手段 M6 バス電位低下手段 M7 データ送信手段 M8 レベル判定手段 M9 通信状態判定手段 10 通信装置 20 電子制御装置(ECU) 22 CPU 24 駆動回路 26 応答信号レベル検知回路 30 コネクタ 32 ツェナーダイオード 34 インバータ 36、38 抵抗[Description of Signs] M1, 12 bus lines M2 reception side communication device M3 transmission side communication device M4 reception state determination unit M5 reception state response unit M6 bus potential reduction unit M7 data transmission unit M8 level determination unit M9 communication state determination unit 10 communication Device 20 Electronic control unit (ECU) 22 CPU 24 Drive circuit 26 Response signal level detection circuit 30 Connector 32 Zener diode 34 Inverter 36, 38 Resistance

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 12/28 H04L 25/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) H04L 12/28 H04L 25/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 共通のバスラインに接続した複数の通信
装置間で通信を行うにあたり、受信側通信装置は、デー
タを受信したら受信状態に応じた応答信号を返送し、送
信側通信装置は該応答信号に基づいて前記受信側通信装
置におけるデータの受信状態を判断する多重通信装置で
あって、 前記受信側装置は、前記バスラインから受信したデータ
が正常か否かを判定する受信状態判定手段と、 該受信状態判定手段によってデータが正常であると判定
された場合は前記バスラインに対してハイレベルの信号
を出力し、データが異常であると判定された場合は前記
バスラインの電位をローレベルとする信号を出力する受
信状態応答手段と、 当該受信側通信装置が前記バスラインから瞬断された場
合に、該バスラインの電位を前記ハイレベルより低い所
定レベルに低下させるバス電位低下手段とを備え、 前記送信側通信装置は、前記受信側通信装置が受信デー
タの状態判定に用いる誤り検出用データを含むデータを
前記バスラインに向けて送信するデータ送信手段と、 前記受信側通信装置から受信状態応答信号が返送される
際における前記バスラインの電位レベルを判定するレベ
ル判定手段と、 該レベル判定手段の判定結果に基づいて複数の通信装置
間における通信状態を判定する通信状態判定手段とを備
えることを特徴とする多重通信装置。
When performing communication between a plurality of communication devices connected to a common bus line, a receiving communication device returns a response signal according to a reception state upon receiving data, and the transmitting communication device transmits the response signal according to a reception state. A multiplex communication device that determines a data reception state in the reception-side communication device based on a response signal, wherein the reception-side device determines whether data received from the bus line is normal. When the reception state determination means determines that the data is normal, a high-level signal is output to the bus line, and when the data is determined to be abnormal, the potential of the bus line is changed. Receiving state response means for outputting a signal to be set to a low level; and when the receiving side communication device is momentarily disconnected from the bus line, the potential of the bus line is lower than the high level. Bus potential lowering means for lowering to a predetermined level, wherein the transmitting-side communication device transmits data including error detection data used by the receiving-side communication device to determine the state of received data to the bus line. Transmitting means; level determining means for determining a potential level of the bus line when a receiving state response signal is returned from the receiving communication apparatus; and a plurality of communication apparatuses based on the determination result of the level determining means. A multiplex communication apparatus comprising: a communication state determination unit that determines a communication state.
JP05318673A 1993-12-17 1993-12-17 Multiplex communication device Expired - Fee Related JP3106827B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05318673A JP3106827B2 (en) 1993-12-17 1993-12-17 Multiplex communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05318673A JP3106827B2 (en) 1993-12-17 1993-12-17 Multiplex communication device

Publications (2)

Publication Number Publication Date
JPH07177162A JPH07177162A (en) 1995-07-14
JP3106827B2 true JP3106827B2 (en) 2000-11-06

Family

ID=18101757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05318673A Expired - Fee Related JP3106827B2 (en) 1993-12-17 1993-12-17 Multiplex communication device

Country Status (1)

Country Link
JP (1) JP3106827B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5699038A (en) * 1993-07-12 1997-12-16 Hill-Rom, Inc. Bed status information system for hospital beds
KR100517499B1 (en) * 2002-10-18 2005-09-28 삼성전자주식회사 Method and apparatus for detecting connection condition between transmitter and receiver
CN108215819B (en) * 2016-12-22 2024-03-01 宇通客车股份有限公司 Data transmission method and system of off-board charger, BMS and monitoring terminal

Also Published As

Publication number Publication date
JPH07177162A (en) 1995-07-14

Similar Documents

Publication Publication Date Title
US5764919A (en) Data transmission method and system therefor
JP4407752B2 (en) FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD
KR101519793B1 (en) Network system for vehicle and data transmission method of a different kind communication controller in the same system
JPH0773270B2 (en) Data communication method and multiple connection system
JP2002158668A (en) Abnormality detector of network system for vehicle
EP0449304B1 (en) Multiplex transmission system for use in vehicles
US5418721A (en) Control device for transmission of supervisory control data in vehicle
JP3106827B2 (en) Multiplex communication device
JP2009267853A (en) Communication system and communication method
JP3948345B2 (en) Communications system
JP2784709B2 (en) Vehicle data transmission system
CA2226421C (en) Data transmission method and system therefor
JP2857655B2 (en) Vehicle data transmission system
JPH0974427A (en) Communication equipment
CA2363980C (en) Data transmission method and system therefor
JP2947437B2 (en) Data transmission method
JP4257995B2 (en) Half-duplex communication control method
JPH07131505A (en) Fault detection system for serial communication circuit
JP2023183810A (en) Encoder wiring failure detection device
JP2019125236A (en) Control apparatus
JPH11234364A (en) Communication control method and communication module
JP2004529425A (en) Bus station for connecting to a bus system for restraining means and / or sensors
JPH08275271A (en) Multiplex transmission system
JP2001257729A (en) Interface identification circuit
JPH06311210A (en) Data transmission system for vehicle

Legal Events

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