JPH07177162A - Multiplex communication - Google Patents

Multiplex communication

Info

Publication number
JPH07177162A
JPH07177162A JP5318673A JP31867393A JPH07177162A JP H07177162 A JPH07177162 A JP H07177162A JP 5318673 A JP5318673 A JP 5318673A JP 31867393 A JP31867393 A JP 31867393A JP H07177162 A JPH07177162 A JP H07177162A
Authority
JP
Japan
Prior art keywords
bus line
data
communication device
communication
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5318673A
Other languages
Japanese (ja)
Other versions
JP3106827B2 (en
Inventor
Katsuhiko Iwasaki
克彦 岩▲崎▼
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

Abstract

PURPOSE:To surely detect a hit in any communication equipment with respect to the multiplex communication equipment in which a receiver side communication equipment returns a reply signal representing a reception state of data to a sender side communication equipment so as to detect, the communication state. CONSTITUTION:Plural communication equipments 10 are connected via a common bus line 12. A connector 30 is provided with a circuit setting a withstand voltage of a bus line 12 to be a betaV (>alphaV) when the connector 30 and an ECU 20 are in contact with each other and setting the withstand voltage of the bus line 12 to be reduced to an alphaV when the connector 30 and the ECU 20 are momentarily interrupted. Upon the receipt of data from the bus line 12, the ECU 20 discriminates whether or not reception is implemented normally, and provides an output of a reply signal whose peak level is a betaV when the data reception is normal and an output of a reply signal whose peak level is a 0V when the data reception is not normal. A communication equipment sending data discriminates the communication state depending on a peak level of the received reply 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 device,
Especially when data is mutually communicated between a plurality of communication devices, a data signal is returned from the communication device on the receiving side to the communication device on the transmitting side and a response signal indicating the reception state of the data is returned. The present invention relates to a multiplex communication device that retransmits data to ensure high reliability.

【0002】[0002]

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

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

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

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

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

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

【0008】ここで、上記公報記載の装置は、図5に示
す如く3種類の応答信号を想定して多重通信を実行して
いる。すなわち、図5(A)は、データが受信が正常に
行われた際に個々の通信装置からバスラインに出力され
る応答信号(以下ACKと称す)であり、パッシブレベ
ル“1”とドミナントレベル“0”とを組み合わせて
“10”なる2ビット信号とされている。
Here, the apparatus described in the above publication executes multiplex communication assuming 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 the data is normally received, and the passive level “1” and the dominant level are shown. A 2-bit signal of "10" is obtained by combining with "0".

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

【0010】すなわち、多重通信装置においては、一般
にバスラインの電位は“1”に相当するレベルに維持さ
れており、何れかの通信装置から積極的に“0”信号が
出力されない限りは“0”に相当するレベルには低下し
ない。従って、応答信号を1ビット信号により単に
“1”として表したのでは、その応答信号が正常な受信
状態を表すのか、通信装置自体がバスラインから遮断し
た状態にあるのかを判断できないからである。
That is, in the multiplex communication device, the potential of the bus line is generally maintained at a level corresponding to "1", and "0" signal is positively output from any of the communication devices. It does not fall to a level equivalent to ". Therefore, if the response signal is simply represented as "1" by the 1-bit signal, it is not possible to determine whether the response signal represents a normal reception state or the communication device itself is in a state of being cut off 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 in which 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 disconnected. That is, in the device described in the above publication, 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, it is intended to recognize the instantaneous interruption of the communication device on the receiving side.

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

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

【0015】[0015]

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

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

【0017】本発明は、上述の点に鑑みてなされたもの
であり、受信側通信装置が正常にデータを受信した場合
にはACK信号としてハイレベルの信号を、正常にデー
タを受信できなかった場合にはNACK信号としてロー
レベルの信号を返送すると共に、瞬断時にはバスライン
の電位をハイレベルとローレベルの間の所定レベルに低
下させることにより上記の課題を解決する多重通信装置
を提供することを目的とする。
The present invention has been made in view of the above points, and when the receiving side communication device normally receives the data, it cannot receive the high level signal as the ACK signal and the normal data. In this case, a low level signal is returned as a NACK signal, and the potential of the bus line is lowered to a predetermined level between a high level and a low level at the time of a momentary interruption, thereby providing a multiplex communication device that solves the above problems. 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 device that achieves the above object. That is, the above-mentioned purpose is, as shown in FIG. 1, a common bus line M1.
Upon communication between a plurality of communication devices connected to the receiver, the communication device M2 on the receiving side returns a response signal according to the reception state when receiving the data, and the communication device M3 on the transmitting side receives the data based on the response signal. A multiplex communication device for determining a data reception state in the side communication device M2, wherein the reception side device M2 includes reception state determination means M4 for determining whether or not the data received from the bus line M1 is normal, When the reception state determination means M4 determines that the data is normal, it outputs a high-level signal to the bus line M1, and when the data is determined to be abnormal, the potential of the bus line M1 is changed. Reception state response means M5 for outputting a low level signal, and the reception side communication device M2
Is cut off from the bus line M1 by a short time, the bus potential lowering means M6 for lowering the potential of the bus line M1 to a predetermined level lower than the high level is provided. Data transmitting means M7 for transmitting data including error detection data used by the communication device M2 to judge the state of received data toward the bus line M1.
A level determination means M8 for determining the potential level of the bus line M1 when the reception state response signal is returned from the reception side communication device M2, and the level determination means M8.
This is achieved by a multiplex communication device that includes a communication state determination unit M9 that determines the communication state between a plurality of communication devices based on the determination result of 1.

【0019】[0019]

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

【0020】前記受信側通信装置M2の前記受信状態判
定手段M4は、前記バスラインM1から供給されるデー
タを受信すると共に、該データに包含される誤り検出用
データが正常であるか否かに基づいて、データの受信が
正常に行われたか否かを判定する。
The reception state determination means M4 of the reception 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. Based on this, it is determined whether or not the data has been normally received.

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

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

【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 at least one receiving communication device M2 among the receiving communication devices M2 connected to the above has a momentary interruption, even if data is normally received by 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 never rises to a high level.

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

【0025】[0025]

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

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

【0027】通信装置10は、前記した受信状態判定手
段M4,受信状態応答手段M5,データ送信手段M7,
レベル判定手段M8,及び通信状態判定手段M9を実現
する電子制御装置(ECU)20、及び前記したバス電
位低下手段M6に相当する機能を内蔵すると共に、通信
装置10に対してバスライン12、電源ライン14、グ
ランドライン16を接続するコネクタ30により構成さ
れる。
The communication device 10 has the above-mentioned reception state determination means M4, reception state response means M5, data transmission means M7,
An electronic control unit (ECU) 20 that realizes the level determination means M8 and the communication state determination means M9 and a function corresponding to the bus potential lowering means M6 described above are built-in, and the bus line 12 and the power source are provided to the communication device 10. The connector 30 connects 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 calculation result of one of the communication apparatuses in another communication apparatus. It is effective when there is a plurality of vehicle-mounted ECUs.
When each is configured as each communication device, its 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 predetermined arithmetic processing based on the supplied data, and at the same time, executes a plurality of other ECUs.
It has a multiplex communication function to realize multiplex communication with.

【0030】すなわち、本実施例の多重通信装置も、応
答信号を除いて従来の多重通信装置と同様の手法で通信
を行っており、バスライン12を介してシリアル通信に
よりデータの相互通信を行うべくプロトコルを定めてい
る。そして、CPU22は、かかるプロトコルに従って
バスライン12に向けてデータを送信し、又はバスライ
ンからデータを受信する処理を行う。尚、本実施例にお
いては、従来の装置と同様に上記図4に示す送信フレー
ムに従ってデータの授受を実行することとしている。
That is, the multiplex communication apparatus of the present embodiment also performs communication by the same method as the conventional multiplex communication apparatus except for the response signal, and performs mutual data communication by serial communication via the bus line 12. Therefore, the protocol is defined. 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. Incidentally, in the present embodiment, as in the case of the conventional apparatus, data is exchanged according to the transmission frame shown in FIG.

【0031】駆動回路24は、CPU24から出力され
た信号に所定の整形を加えてバスライン12に向けて出
力する回路である。すなわち本実施例においては、後述
の理由により、CPU22が出力する信号のうちスター
ト信号、ID信号、メッセージ信号、誤り検出信号、及
びエンド信号に比べて、応答信号についてのみ出力電圧
を高めることとしており、駆動回路24はかかる機能を
実現する整形処理を行う。
The drive circuit 24 is a circuit for applying a predetermined shaping to the signal output from the CPU 24 and outputting the signal to the bus line 12. That is, in this embodiment, the output voltage of only the response signal is increased as compared with the start signal, the ID signal, the message signal, the error detection signal, and the end signal among the signals output from the CPU 22 for the reason 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, from the CPU 22 shown in FIG.
When the signal transmission is started in accordance with the transmission frame shown in FIG. 5, the drive circuit 24 directs the output level (hereinafter referred to as αV) of the CPU 22 to the bus line 12 from the start signal to the error detection signal and the end signal. Output. Then, the CPU 22 only for the response signal
The output level of (a) is amplified (hereinafter, the output level after amplification is represented by βV) and output toward the bus line 12.

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

【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 its 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 distinguishing and detecting three levels of V, αV, and βV. The response signal level detection circuit 26
Corresponds to the level determining means M8 described above.

【0035】コネクタ30は、ECU20に対して着脱
自在に設けられた部材であり、バスライン12、電源ラ
イン14等のワイヤハーネスとECU20との接続を司
る機能を有していると共に、前記したバス電位低下手段
M6としての機能を有する本実施例の要部である。
The connector 30 is a member detachably attached to the ECU 20 and has a function of controlling the connection between the ECU 20 and a wire harness such as the bus line 12 and the power supply line 14, and the above-mentioned bus. It is a main part of this embodiment having a function as the potential lowering means 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 that guards the electric potential of the bus line 12 to αV or less when there is a momentary disconnection between 0 and the ECU 20 is built in. This circuit includes a Zener diode 32 having a Zener voltage αV connected to a bus line 12, 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 the ECU 20.
It is grounded via a terminal provided at and is also 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 of (β-α) V or higher showing 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 exhibits 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. Withstand voltage (the upper limit is determined by the characteristics of the inverter 34) is provided.

【0039】一方、コネクタ30とECU20との接触
が適切でなく、インバータ34の入力端子がグランドレ
ベルから浮き上がった状態となると、その電位は抵抗3
6を介して接続される電源電圧レベルに上昇する。この
ため、インバータ34の出力端子電圧がローレベル、す
なわち0Vとなり、従ってバスライン12の耐圧は、ツ
ェナーダイオード32のツェナー電圧そのままのαVと
なる。
On the other hand, when the contact between the connector 30 and the ECU 20 is not proper and the input terminal of the inverter 34 is in a state of floating above the ground level, the potential thereof is the resistance 3
6 rises to the power supply voltage level connected. Therefore, the output terminal voltage of the inverter 34 becomes low level, that is, 0 V, and therefore the breakdown 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 in proper contact, the withstand voltage of the bus line 12 is βV or more, and when the connection is not appropriate. Then, the breakdown voltage of the bus line 12 drops to αV. Then, such a function is not realized only between the illustrated connector 30 and the ECU 20, but is realized in all communication devices (connector and ECU) connected to the bus line 12.

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

【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, and FIG. 3A shows that data is normally stored in all communication devices. Is received, that is, when the ACK signal is transmitted from all the communication devices, FIG. 6B shows that when at least one communication device has a data reception error, that is, at least one communication device. It shows the case where the device sends a NACK signal.

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

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

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

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

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

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

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

【0050】ところで、図3(A)〜(C)に示す応答
信号は、データ授受の信頼性を考慮して2ビットで形成
したものであるが、本実施例の多重通信装置において
は、必ずしも応答信号を2ビット信号とする必要はな
い。
By the way, 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, it is not always necessary. The response signal does not have to be a 2-bit signal.

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

【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 the situation where some communication devices do not operate, the response signal can be configured by 1 bit.

【0053】この場合、2ビットを用いて応答信号を構
成する場合のように、一部の通信装置が作動せず、かつ
一部の通信装置が作動中である場合と(図3(C)の応
答信号が出現)、全ての通信装置が作動していない場合
と(2ビットともαVの応答信号が出現)を区別するこ
とはできないが、多重通信装置全体として正常な状態か
否か判別できる機能を確保しつつデータ長を短縮するこ
とが可能である。
In this case, as in the case where the response signal is formed by using 2 bits, a case where some communication devices are not operating and some communication devices are operating (FIG. 3C) Can be distinguished from the case where all communication devices are not operating (the response signal of αV appears in 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 ensuring the function.

【0054】[0054]

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

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

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

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

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

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

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

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

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

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

M1,12 バスライン M2 受信側通信装置 M3 送信側通信装置 M4 受信状態判定手段 M5 受信状態応答手段 M6 バス電位低下手段 M7 データ送信手段 M8 レベル判定手段 M9 通信状態判定手段 10 通信装置 20 電子制御装置(ECU) 22 CPU 24 駆動回路 26 応答信号レベル検知回路 30 コネクタ 32 ツェナーダイオード 34 インバータ 36、38 抵抗 M1, 12 bus line M2 receiving side communication device M3 transmitting side communication device M4 receiving state judging means M5 receiving state responding means M6 bus potential lowering means M7 data transmitting means M8 level judging means M9 communication state judging means 10 communication device 20 electronic control device (ECU) 22 CPU 24 Drive circuit 26 Response signal level detection circuit 30 Connector 32 Zener diode 34 Inverter 36, 38 Resistance

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 共通のバスラインに接続した複数の通信
装置間で通信を行うにあたり、受信側通信装置は、デー
タを受信したら受信状態に応じた応答信号を返送し、送
信側通信装置は該応答信号に基づいて前記受信側通信装
置におけるデータの受信状態を判断する多重通信装置で
あって、 前記受信側装置は、前記バスラインから受信したデータ
が正常か否かを判定する受信状態判定手段と、 該受信状態判定手段によってデータが正常であると判定
された場合は前記バスラインに対してハイレベルの信号
を出力し、データが異常であると判定された場合は前記
バスラインの電位をローレベルとする信号を出力する受
信状態応答手段と、 当該受信側通信装置が前記バスラインから瞬断された場
合に、該バスラインの電位を前記ハイレベルより低い所
定レベルに低下させるバス電位低下手段とを備え、 前記送信側通信装置は、前記受信側通信装置が受信デー
タの状態判定に用いる誤り検出用データを含むデータを
前記バスラインに向けて送信するデータ送信手段と、 前記受信側通信装置から受信状態応答信号が返送される
際における前記バスラインの電位レベルを判定するレベ
ル判定手段と、 該レベル判定手段の判定結果に基づいて複数の通信装置
間における通信状態を判定する通信状態判定手段とを備
えることを特徴とする多重通信装置。
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 receiving state when data is received, and the transmitting communication device sends the response signal. 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 or not the data received from the bus line is normal. A high level signal is output to the bus line when the reception state determination means determines that the data is normal, and a potential of the bus line is changed when the data is determined to be abnormal. A reception state response means for outputting a signal of low level, and a potential of the bus line lower than the high level when the receiving side communication device is momentarily disconnected from the bus line 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 for judging 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 reception state response signal is returned from the receiving side communication device, and between the plurality of communication devices based on the determination result of the level determining means. A multiplex communication apparatus, comprising: a communication state determining means for determining 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 true JPH07177162A (en) 1995-07-14
JP3106827B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004030561A (en) * 1995-08-04 2004-01-29 Hill Rom Co Inc System of bed state information for hospital bed
KR100517499B1 (en) * 2002-10-18 2005-09-28 삼성전자주식회사 Method and apparatus for detecting connection condition between transmitter and receiver
CN108215819A (en) * 2016-12-22 2018-06-29 郑州宇通客车股份有限公司 Off-board charger data transmission method, system, BMS and monitor terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004030561A (en) * 1995-08-04 2004-01-29 Hill Rom Co Inc System of bed state information for hospital bed
KR100517499B1 (en) * 2002-10-18 2005-09-28 삼성전자주식회사 Method and apparatus for detecting connection condition between transmitter and receiver
CN108215819A (en) * 2016-12-22 2018-06-29 郑州宇通客车股份有限公司 Off-board charger data transmission method, system, BMS and monitor terminal
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
JP3106827B2 (en) 2000-11-06

Similar Documents

Publication Publication Date Title
JP4407752B2 (en) FAILURE LOCATION DETECTION DEVICE, COMMUNICATION DEVICE, AND FAILURE LOCATION DETECTION METHOD
US8868807B2 (en) Communication system, master node, and slave node
US5764919A (en) Data transmission method and system therefor
JP2002158668A (en) Abnormality detector of network system for vehicle
US5418721A (en) Control device for transmission of supervisory control data in vehicle
JP3106827B2 (en) Multiplex communication device
JP4968169B2 (en) Communication system and communication method
JPH0974427A (en) Communication equipment
JP6600542B2 (en) Control apparatus and control method
JP4257995B2 (en) Half-duplex communication control method
JP2770287B2 (en) Vehicle data transmission system
CA2226421C (en) Data transmission method and system therefor
JP2784709B2 (en) Vehicle data transmission system
JPH06245277A (en) Data transmission system for vehicle
JPH0795222A (en) Communication equipment
EP0785649A2 (en) Method and apparatus for correcting transmission errors and detecting faults during data transmission through data transferring media
JPS63268326A (en) Wireless data transmission system
JP2555975B2 (en) Communication line test method
JPH07131505A (en) Fault detection system for serial communication circuit
JP2019125236A (en) Control apparatus
JPH11234364A (en) Communication control method and communication module
JPH08275271A (en) Multiplex transmission system
JPH0563761A (en) Line fault detection system
JPH05191415A (en) Multiplex communication system
JPH0548674A (en) Data communication equipment

Legal Events

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