JPH0470234A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH0470234A
JPH0470234A JP2183798A JP18379890A JPH0470234A JP H0470234 A JPH0470234 A JP H0470234A JP 2183798 A JP2183798 A JP 2183798A JP 18379890 A JP18379890 A JP 18379890A JP H0470234 A JPH0470234 A JP H0470234A
Authority
JP
Japan
Prior art keywords
nodes
signal transmission
transmission
node
transmission lines
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
JP2183798A
Other languages
Japanese (ja)
Inventor
Atsuhiko Suzuki
敦彦 鈴木
Kei Inoue
圭 井上
Kyosuke Hashimoto
恭介 橋本
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.)
Furukawa Electric Co Ltd
Original Assignee
Furukawa Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Furukawa Electric Co Ltd filed Critical Furukawa Electric Co Ltd
Priority to JP2183798A priority Critical patent/JPH0470234A/en
Publication of JPH0470234A publication Critical patent/JPH0470234A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To efficiently transmit data between respective nodes even if a fault occurs on transmission lines by permitting the nodes to set the signal transmission lines in a prescribed potential and changing the potential of the signal transmission lines to the prescribed one when the fault of the signal transmission lines is detected in a data transmission system having the nodes connected to plural signal transmission lines whose both ends are terminated by means of characteristic impedance. CONSTITUTION:The nodes N3 and N4 are provided for the signal transmission lines A and B whose both ends are connected to characteristic impedance RE through the nodes N1 and N2. Data can be transmitted by always turning on a driver and fixing the signal transmission line B to a voltage which can be transmitted in the nodes N1 and N2 in both ends divided by the interruption of the transmission line B, for example. Consequently, the prescribed potential is generated between the transmission lines even if the fault occurs in the transmission lines and data is transmitted between respective nodes and the reliability of data transmission is improved.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、少なくとも2つの信号伝送線に接続されたノ
ード間で、データの伝送を行うデータ伝送方式に関する
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data transmission system for transmitting data between nodes connected to at least two signal transmission lines.

(従来の技術) 従来、この種のデータ伝送方式には、C3MA/CD(
Carrier 5ence MujtipIe Ac
cess / Co11isionDetection
)  と、AMP (Arbitration on 
MessagePriority)とを用いたLAN(
Local Area Network)の伝送方式が
ある。例えばその代表的なものに自動車内のデータ伝送
に用いられるCAN(ControllerArea 
Network)等がある。
(Prior art) Conventionally, this type of data transmission method has been C3MA/CD (
Carrier 5ence MujtipIe Ac
cess / Co11ision Detection
) and AMP (Arbitration on
MessagePriority)
There is a transmission method called "Local Area Network". For example, a typical example is CAN (Controller Area), which is used for data transmission in automobiles.
Network), etc.

第8図は、その従来例の構成ブロック図であり、2つの
伝送線A、Hの両端に終端抵抗RE 、 Rtを接続す
ると共に、上記伝送線A、Bに並列にノード11〜13
が接続されている。ノード11〜13は、それぞれ同一
の構成なので、説明の都合上、ノード11について説明
する。
FIG. 8 is a configuration block diagram of the conventional example, in which terminating resistors RE and Rt are connected to both ends of the two transmission lines A and H, and nodes 11 to 13 are connected in parallel to the transmission lines A and B.
is connected. Since the nodes 11 to 13 have the same configuration, only node 11 will be described for convenience of explanation.

ノード11は、通信制御装置21と、通信制御装置21
より送信信号を受は取り、伝送線A、 Bに送信する送
信回路と、伝送線A、Bより信号を受信し、通信制御装
置21に送出する受信回路とからなっている。
The node 11 includes a communication control device 21 and a communication control device 21.
It consists of a transmitting circuit that receives and receives transmitted signals from the transmission lines A and B and transmits them to the transmission lines A and B, and a receiving circuit that receives signals from the transmission lines A and B and transmits them to the communication control device 21.

受信回路は、抵抗R2〜Reからなり、伝送線A、Bよ
り受信した信号を通信制御装置21のコンパレータ21
aに出力し、上記コンパレータ21aに適当なスレッシ
ュホルド電圧を与えることにより、伝送信号の振幅を許
容できるまで小さくして、受信回路のコモンモード入力
電圧範囲を広げ、ノイズによる影響を受けづらくしてい
る。
The receiving circuit consists of resistors R2 to Re, and transmits the signals received from the transmission lines A and B to the comparator 21 of the communication control device 21.
a, and by applying an appropriate threshold voltage to the comparator 21a, the amplitude of the transmission signal is reduced to an allowable value, widening the common mode input voltage range of the receiving circuit and making it less susceptible to noise. There is.

送信回路は、電界効果トランジスタ(FET)22.2
3と、ダイオードD+、Dzと抵抗R1、R2からなる
回路で構成されており、FET22はダイオードD1と
抵抗R1を介して伝送線Aに接続し、FET23はダイ
オードD2と抵抗R2を介して伝送線Bに接続している
The transmitting circuit is a field effect transistor (FET) 22.2
FET22 is connected to transmission line A via diode D1 and resistor R1, and FET23 is connected to transmission line A via diode D2 and resistor R2. Connected to B.

従って、ノード11かパッシブ時、すなわちC3MA/
CD+AMPの伝送方式において、劣性ビットを出力す
る時は、FET22.23は共にオフで、伝送線Aと伝
送線Bの間には、電位差が生ぜずハイインピータンス状
態になる。また、ノード11がドミナント時、すなわち
優性ビットを出力する時は、FET22.23は共にオ
ンであり、伝送線Aに電流を供給し、伝送線Bからの電
流を取り込む。このため、ドミナント時には伝送線A、
Bの間には電位が生じ、伝送線A、Hに接続されている
受信回路は電位差を検知し、コンパレータ21aを反転
させ、ドミナントを検知するものがあった。
Therefore, when node 11 is passive, that is, C3MA/
In the CD+AMP transmission system, when outputting a recessive bit, both FETs 22 and 23 are off, and no potential difference is generated between transmission line A and transmission line B, resulting in a high impedance state. Further, when the node 11 is dominant, that is, when outputting a dominant bit, FETs 22 and 23 are both on, supplying current to transmission line A and taking in current from transmission line B. Therefore, when the transmission line A is dominant,
A potential is generated between transmission lines A and B, and a receiving circuit connected to transmission lines A and H detects the potential difference, inverts the comparator 21a, and detects a dominant signal.

(発明が解決しようとする課題) ところが、上記伝送方式では、例えば伝送線の一方が断
線又は短絡する等の故障が発生した場合、各伝送線間の
電位が変化してしまい、伝送線の全てのノード間のデー
タ伝送ができなくなるという問題点があった。
(Problem to be Solved by the Invention) However, in the above transmission method, if a failure occurs such as disconnection or short circuit in one of the transmission lines, the potential between each transmission line changes, and all of the transmission lines are damaged. There was a problem that data transmission between nodes became impossible.

本発明は、上記問題点に鑑みなされたものであって、伝
送線上の故障が生じても各ノード間でデータ伝送を効率
的に行うことができる多重伝送方式を提供することを目
的とする。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to provide a multiplex transmission system that can efficiently transmit data between nodes even if a failure occurs on a transmission line.

(課題を解決するための手段) 上記目的を達成するために、本発明では、両端が特性イ
ンピーダンスで終端されている少なくとも2つの信号伝
送線と接続する少なくとも2つのノードを有するデータ
伝送方式において、前記少なくとも1つのノードは該信
号伝送線を所定電位に設定する電位設定手段を有し、前
記信号伝送線の故障を検知した際には、当該信号伝送線
の電位を設定された所定電位に変化させて前記各ノード
間のデータ伝送を行うデータ伝送方式が提供される。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides a data transmission system having at least two nodes connected to at least two signal transmission lines whose both ends are terminated with a characteristic impedance. The at least one node has a potential setting means for setting the signal transmission line to a predetermined potential, and when a failure of the signal transmission line is detected, the potential of the signal transmission line is changed to the set predetermined potential. A data transmission method for transmitting data between the nodes is provided.

(作用) ノードのうち、少なくとも1つのノードは、信号伝送線
の故障を検知すると、信号伝送線の電圧を変化させるこ
とによって各信号伝送線の状態をデータ伝送可能な状態
に変化させる。
(Operation) When at least one of the nodes detects a failure in a signal transmission line, it changes the state of each signal transmission line to a state in which data transmission is possible by changing the voltage of the signal transmission line.

従って、各ノードは、信号伝送線の断線や短絡による故
障が生じても、信号伝送線の間には所定の電位が生じ、
各ノード間のデータ伝送が可能になる。
Therefore, even if a failure occurs due to disconnection or short circuit of the signal transmission line at each node, a predetermined potential is generated between the signal transmission lines.
Data transmission between each node becomes possible.

(実施例) 以下、本発明の実施例を第1図乃至第7図の図面に基づ
き詳細に説明する。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings of FIGS. 1 to 7.

第1図は、本発明に係るデータ伝送方式に用いられるノ
ードの構成を示す構成ブロック図である。
FIG. 1 is a block diagram showing the configuration of a node used in the data transmission system according to the present invention.

なお、第8図と同様の構成部分については説明の都合上
、同一符号として説明を省略する。
Incidentally, for convenience of explanation, the same reference numerals are given to the same components as in FIG. 8, and the explanation thereof will be omitted.

図において、各ノードのFETからなるドライバ22.
23は、それぞれ論理ゲート回路G1、G2を介してコ
ントローラ集積回路である通信制御装置21と接続され
ている。論理ゲート回路G1、G2の一方の入力端子に
は、CPU24の出力端子CNI 、 CN2からのコ
ントロール信号が入力しており、上記各コントロール信
号は、通常ロー(LOW)論理の状態であり、ハイ(H
IGH)論理にすると、通信制御装置21の論理状態に
かかわらず、ドライバ22.23をオン状態にするよう
になっている。なお、実施例では、論理ゲート回路G1
は、例えばアンド(AND)回路、論理ゲート回路G2
は、例えばオア(OR)回路から構成されている。
In the figure, a driver 22 . consisting of an FET for each node.
23 are connected to the communication control device 21, which is a controller integrated circuit, via logic gate circuits G1 and G2, respectively. Control signals from output terminals CNI and CN2 of the CPU 24 are input to one input terminal of the logic gate circuits G1 and G2, and each control signal is normally in a low (LOW) logic state and a high (HIGH) logic state. H
IGH) logic, the drivers 22 and 23 are turned on regardless of the logic state of the communication control device 21. In addition, in the embodiment, the logic gate circuit G1
For example, an AND circuit, a logic gate circuit G2
is composed of, for example, an OR circuit.

ドライバ22.23のドライブ方法は、第8図の従来例
と同様で、ドミナント時にはドライバ22゜23をオン
状態にし、レセッシブ時にはオフ状態にするようにドラ
イブする。
The driving method of the drivers 22 and 23 is the same as that of the conventional example shown in FIG. 8, and the drivers 22 and 23 are driven so as to be turned on when dominant and turned off when recessive.

第2図は、本発明に係るノードの他の実施例の構成を示
す構成ブロック図である。この実施例ではパルストラン
スPを使用し、従来の送信回路を直流的に絶縁した構成
になっており、ドミナント時にはドライバ22.23を
1ビツトごと交互にオン状態にするように設定されてい
る。この結果、パルストランスPの一次コイル側でつく
られたAM T  (alternate−mark−
inversion)符号を二次コイル側の全波整流回
路を構成するダイオードD2、D4によってN RZ 
(non−return−to−zero)符号に変換
している。また、信号伝送線A、Bに接続される端子は
、ダイオードDE、抵抗R1゜、スイッチ素子S1を介
して電源電圧VCCに接続されており、信号伝送線Bに
接続される端子は、ダイオードD6、抵抗R1+、スイ
ッチ素子S2を介して接地されている。スイッチ素子S
+ 、S2は、CPUの出力端子CNI 、CN2から
のコントロール信号によってオン/オフ制御されている
。この場合においても、出力端子CNI 、CN2から
のコントロール信号をハイ論理にし、スイッチ素子St
 、S!をオンにすると、通信制御装置21の論理状態
にかかわらず、ドライバ22.23をオン状態にするよ
うになっている。
FIG. 2 is a block diagram showing the configuration of another embodiment of the node according to the present invention. In this embodiment, a pulse transformer P is used, and the conventional transmitting circuit is isolated in terms of direct current, and the drivers 22 and 23 are set to be turned on alternately for each bit in the dominant mode. As a result, the AMT (alternate-mark-
(inversion) sign is N RZ by diodes D2 and D4 that constitute a full-wave rectifier circuit on the secondary coil side.
(non-return-to-zero) code. Further, the terminals connected to the signal transmission lines A and B are connected to the power supply voltage VCC via the diode DE, the resistor R1°, and the switch element S1, and the terminal connected to the signal transmission line B is connected to the diode D6. , a resistor R1+, and a switch element S2. Switch element S
+ and S2 are on/off controlled by control signals from output terminals CNI and CN2 of the CPU. In this case as well, the control signals from the output terminals CNI and CN2 are set to high logic, and the switch element St
,S! When turned on, the drivers 22 and 23 are turned on regardless of the logical state of the communication control device 21.

次に、第3図に示すようなデータ伝送システムにおいて
、信号伝送線が断線した場合のデータ伝送について述べ
る。
Next, data transmission when a signal transmission line is disconnected in a data transmission system as shown in FIG. 3 will be described.

この場合、各ノードN1〜N、は、第1図又は第2図に
示す構成になっており、例えば信号伝送線Bが断線した
ことにより分断された両端のノードNI、N2において
、信号伝送線Bを伝送可能な電圧に固定することにより
データ伝送を可能にすることができる。すなわち、信号
伝送線が断線したとき、その断線した信号伝送線を介し
てデータ伝送するためには、断線した両側で少なくとも
−のノードが故障した信号伝送線側に接続されたドライ
バを常にオンにすることによって、データ伝送を可能に
することができる。
In this case, each of the nodes N1 to N has the configuration shown in FIG. 1 or FIG. Data transmission can be made possible by fixing B to a voltage that allows transmission. In other words, when a signal transmission line is disconnected, in order to transmit data via the disconnected signal transmission line, at least the - node on both sides of the disconnection must always turn on the driver connected to the failed signal transmission line. By doing so, data transmission can be made possible.

なお、この場合、データ伝送の正常時は平衡型伝送方式
であるが、故障時には不平衡型伝送方式に変わるため、
比較的高速のデータ伝送を行う場合を考え、シールド線
を用いて、そのシールド線内に信号伝送線を設置し、シ
ールド部分は各ノードでグランドに接続することが望ま
しい。
In this case, when data transmission is normal, it is a balanced transmission method, but when a failure occurs, it changes to an unbalanced transmission method.
Considering the case of relatively high-speed data transmission, it is desirable to use a shielded wire, install a signal transmission line inside the shielded wire, and connect the shielded portion to the ground at each node.

次に、信号伝送線の断線検出と伝送可能状態への移行方
法を第4図のフローチャートに基つき説明する。
Next, a method for detecting disconnection of the signal transmission line and transitioning to a transmittable state will be explained based on the flowchart of FIG. 4.

信号伝送線の幹線が断線した場合、断線検出と伝送可能
状態への移行動作の制御は、それぞれ終端抵抗R6を含
む最遠端のノードNl、N!が行うが、上記ノードNl
、N2は、ネットワーク上に存在するオプションノード
でなく、かつ全ての電源状態で動作するものであること
が望ましい。
When the main line of the signal transmission line is disconnected, disconnection detection and control of transition to the transmission enabled state are performed by the farthest nodes Nl and N!, each including the terminating resistor R6. is performed, but the above node Nl
, N2 are preferably non-optional nodes existing on the network and operate in all power states.

第4図において、ノードN1.N2は、ぞれぞれT/2
のタイマ割り込みを持っており、タイマ割り込みが起こ
る度に、ノードN1はノードN2に、ノードNtはノー
ドN1にお互いを確認できるフレームを送出する。また
、T区間ごと、すなわち割り込み2回に対し、1回ごと
T区間内に送信相手のノードとのフレームの交信が不可
だったかどうか判断する(ステップ101)。なお、T
は、正の時間を示す。
In FIG. 4, node N1. N2 is T/2 respectively
Each time a timer interrupt occurs, the node N1 sends a frame to the node N2, and the node Nt sends a frame to the node N1 so that they can confirm each other. Furthermore, for each T period, that is, for each two interrupts, it is determined whether frame communication with the destination node was impossible within the T period (step 101). In addition, T
indicates a positive time.

ここで、相手ノードと交信ができた場合には、その状態
を保持する(ステップ102)。また、上記T区間内に
相手のノードとの交信ができなかった場合には、出力端
子CNIのコントロール信号をハイ論理にし、出力端子
CN2のコントロール信号をロー論理にし、直ちにフレ
ーム送信を行う(ステップ103)。そして、送信エラ
ーが発生したかどうか判断する(ステップ104)。
Here, if communication with the other node is established, that state is maintained (step 102). In addition, if communication with the other node is not possible within the above T interval, the control signal of the output terminal CNI is set to high logic, the control signal of the output terminal CN2 is set to low logic, and frame transmission is immediately performed (step 103). Then, it is determined whether a transmission error has occurred (step 104).

ここで、送信エラーが発生した場合には、信号伝送線の
断線以外の故障であるとして、CNI 、 CN2のコ
ントロール信号を共にロー状態として(ステップl l
 7) 、その他の故障処理に動作を移す。
Here, if a transmission error occurs, it is assumed that the failure is other than a disconnection of the signal transmission line, and the control signals of CNI and CN2 are both set to a low state (step l l
7) Move the operation to other failure processing.

また、送信エラーが発生しない場合には、そのままでT
区間だけ待ち(ステップ105)、次のT区間で相手の
ノードと交信できたかどうか判断する(ステップ106
)。
Also, if no transmission error occurs, leave T as is.
It waits for an interval (step 105), and then determines whether it was able to communicate with the other node in the next T interval (step 106).
).

ここで、相手ノードと交信ができた場合には、その状態
を保持する(ステップ]07)。また、交信ができなか
った場合には、CNIのコントロール信号をロー論理に
し、CN2のコントロール信号をハイ論理にし、直ちに
フレーム送信を行い(ステップ108)、送信エラーが
発生したかどうか判断する(ステップ109)。
Here, if communication with the other node is established, that state is maintained (step 07). If communication is not possible, the CNI control signal is set to low logic, the CN2 control signal is set to high logic, the frame is immediately transmitted (step 108), and it is determined whether a transmission error has occurred (step 109).

ここで、送信エラーか発生した場合には、T区間CNI
 、 CN2のコントロール信号を共にロー論理にして
(ステップ110)、T区間だけ待った後(ステップ1
11)、CNIのコントロール信号をロー論理にし、C
N2のコントロール信号をハイ論理にし、直ちにフレー
ム送信を行う(ステップ112)。
Here, if a transmission error occurs, the T interval CNI
, CN2 control signals are both set to low logic (step 110), and after waiting for T period (step 1
11) Set the CNI control signal to low logic, and set the CNI control signal to low logic.
The control signal of N2 is set to high logic and frame transmission is immediately performed (step 112).

そして、送信エラーか発生したかどうか判断する(ステ
ップ113)。
Then, it is determined whether a transmission error has occurred (step 113).

また、ステップ109又はステップ113で送信エラー
が発生しなかった場合には、T区間だけ待った後(ステ
ップ1.14)、次のT区間で相手のノードと交信でき
たかどうか判断する(ステップ115)。
Further, if no transmission error occurs in step 109 or step 113, after waiting for T interval (step 1.14), it is determined whether communication with the other node was successful in the next T interval (step 115). .

ここで、相手ノードと交信ができた場合には、その状態
を保持する(ステップ116)。また、交信ができなか
った場合には、他の通信故障と判断し、CNI 、CN
2のコントロール信号を共にロー論理にして(ステップ
117)、その他の故障処理ルーチンに動作を移す。な
お、本実施例では、故障が回復する場合も考えられるの
で、一定時間後に数回、上記処理ルーチンを繰り返すこ
とも可能である。
Here, if communication with the other node is established, that state is maintained (step 116). In addition, if communication is not possible, it is determined that there is another communication failure, and CNI, CN
Both of the control signals No. 2 and 2 are set to low logic (step 117), and the operation shifts to other failure processing routines. In this embodiment, since it is possible that the failure may be recovered, it is possible to repeat the above processing routine several times after a certain period of time.

第5図は、第4図のフローチャートを用いた場合のタイ
ミングチャートで、(a)は信号伝送線Aか断線した場
合、(b)は信号伝送線Bか断線した場合、(C)はそ
の他の理由で伝送不能になった場合を示しており、ここ
では一実施例として、信号伝送線Bが断線した場合(第
5図(b))について説明する。図において、ノードN
1は、第4図のステップ101でT区間内に送信相手の
ノート’ N tとのフレームの交信が不可だった場合
、CNIをハイ論理に、CN2をロー論理にして(ステ
ップ103)、送信を行う。この場合、相手のノードN
2もCNIをハイ論理にしているので、送信エラーは発
生しないが、交信は不可なので(ステップ106)、C
NIをロー論理に、CN2をハイ論理にして(ステップ
108L送信を行う。しかし、この場合、相手のノード
N2はまだCNIがハイ論理に、CN2がロー論理にな
っているので、送信エラーが発生する(ステップ109
)。そこで、ノードN、は、いったんCNI 、CN2
を初期状態のロー論理に戻して(ステップ110)、T
区間待った後(ステップl 11) 、再びCNIをロ
ー論理に、CN2をハイ論理にして(ステップ112L
送信を行う。この場合には、相手のノードN2はすでに
、CNIをロー論理に、CN2をハイ論理にしているの
で、送信エラーは発生せずノードN2との交信が可能に
なる(ステップ113〜115)。上記交信が可能にな
ると、ノードNl、N2は、その状態、すなわちCNI
がロー論理、CN2がハイ論理の状態を保持して(ステ
ップ116)、データ伝送を行う。
Figure 5 is a timing chart when the flowchart in Figure 4 is used, (a) is when signal transmission line A is disconnected, (b) is when signal transmission line B is disconnected, and (C) is other cases. This example shows a case where the signal transmission line B is disconnected (FIG. 5(b)) as an example. In the figure, node N
1, in step 101 of FIG. 4, if frame communication with the destination node 'Nt is not possible within interval T, CNI is set to high logic and CN2 is set to low logic (step 103), and transmission is performed. I do. In this case, the other node N
2 also sets CNI to high logic, so no transmission error occurs, but communication is not possible (step 106), so CNI
NI is set to low logic and CN2 is set to high logic (step 108L transmission is performed. However, in this case, since the other node N2 still has CNI set to high logic and CN2 set to low logic, a transmission error occurs. (Step 109
). Therefore, node N, once has CNI, CN2
is returned to its initial state of low logic (step 110), and T
After waiting for an interval (step l11), CNI is set to low logic and CN2 is set to high logic again (step 112L).
Send. In this case, since the counterpart node N2 has already set CNI to low logic and CN2 to high logic, no transmission error occurs and communication with node N2 becomes possible (steps 113 to 115). When the above communication becomes possible, nodes Nl and N2 change their state, that is, CNI
holds the low logic state and CN2 maintains the high logic state (step 116), and data transmission is performed.

なお、第5図(a)の信号伝送線Aが断線した場合、第
5図(c)のその他の理由で伝送不能になった場合も、
第4図のフローチャートに基づいて説明することができ
ることは、熱論である。また、第5図(a)〜(C)の
タイミングチャートの図中には、説明を容易にするため
、第4図の該当するステップを記載した。
Furthermore, if the signal transmission line A in Figure 5(a) is disconnected, or if transmission becomes impossible due to other reasons as shown in Figure 5(c),
What can be explained based on the flowchart of FIG. 4 is a hot theory. Further, in the timing charts of FIGS. 5(a) to 5(C), the corresponding steps of FIG. 4 are shown for ease of explanation.

これにより、本実施例では、ノードN+、Ntは、信号
伝送線に断線等の故障が発生した場合には、故障が生し
た信号伝送線に接続されているトライバを強制的にオン
状態にして、信号伝送線をデータ伝送か可能な所定電位
にするので、データ伝送システム内の各ノードは信号伝
送線の故障時にもデータ伝送を行うことができる。
As a result, in this embodiment, when a failure such as a disconnection occurs in the signal transmission line, the nodes N+ and Nt forcibly turn on the driver connected to the signal transmission line where the failure occurred. Since the signal transmission line is set to a predetermined potential that allows data transmission, each node in the data transmission system can perform data transmission even when the signal transmission line is out of order.

なお、第6図及び第7図は、ノードにおける信号伝送線
の支線の一方に断線故障が発生した場合の断線検出と伝
送可能状態への移行方法を示すフローチャートである。
Note that FIGS. 6 and 7 are flowcharts showing a method for detecting a disconnection and transitioning to a transmission enabled state when a disconnection failure occurs in one of the branch lines of a signal transmission line in a node.

上記フローチャートは、基本的には、第4図と同し考え
方に基つくか、支線の断線故障の場合には、幹線の故障
を優先し、また、支線故障のノードにも優先順位を設定
し、場合によっては優先順位の低いノードの時は、伝送
可能としないでデータ伝送を行う。
The above flowchart is basically based on the same concept as in Figure 4, or in the case of a branch line disconnection failure, priority is given to the main line failure, and priority is also set for the branch line failure node. In some cases, when the node has a low priority, data transmission is performed without enabling transmission.

すなわち、第6図では、まず故障が生じると、幹線のオ
ーブン故障及びバス支線で通信不可のものがあるかどう
か判断する(ステップ201 、202)。
That is, in FIG. 6, when a failure occurs, it is determined whether there is an oven failure on the main line and whether there is any communication failure on the bus branch lines (steps 201 and 202).

ここで、支線のオープン故障で、かつ通信不可のものが
ある場合には、CNIをハイ論理にし、CN2をロー論
理にして直ちにフレーム送信を行い(ステップ203L
送信エラーを検出する(ステップ204)。
Here, if there is an open failure in the branch line and communication is not possible, CNI is set to high logic and CN2 is set to low logic to immediately transmit the frame (step 203L).
A transmission error is detected (step 204).

ここで、送信エラーが発生した場合には、支線の断線以
外の故障であるとして、CNI 、CN2を共にロー状
態として(ステップ217)、その他の故障処理に動作
を移す。また、送信エラーが発生しない場合には、その
ままでT区間だけ待ち(ステップ205)、次のT区間
で送信不可のノードで最も優先順位の高いものがデータ
伝送可能か判断しくステップ206)、伝送可能であれ
ば、その状態を保持しくステップ207)、また伝送不
可であれば、CNIをロー論理にし、CN2をノ)イ論
理にして直ちにフレーム送信を行い(ステップ208)
、送信エラーが発生したかどうか判断する(ステ・ンプ
209)。
Here, if a transmission error occurs, it is assumed that the failure is other than branch line disconnection, and both CNI and CN2 are set to a low state (step 217), and the operation moves to other failure processing. If a transmission error does not occur, wait for T intervals (step 205), and in the next T interval, determine whether the node with the highest priority that cannot transmit data can transmit data (step 206). If possible, maintain that state (step 207); if transmission is not possible, set CNI to low logic and set CN2 to no logic to immediately transmit the frame (step 208).
, it is determined whether a transmission error has occurred (step 209).

ここで、送信エラーが発生した場合には、T区間CNI
、CN2を共にロー論理にして(ステップ210)、T
区間だけ待った後(ステップ211)、CNIをロー論
理にし、CN2をハイ論理にして直ちにフレーム送信を
行い(ステップ212) 、送信エラーが発生したかど
うか判断する(ステップ213)。
Here, if a transmission error occurs, the T interval CNI
, CN2 are both low logic (step 210), and T
After waiting for an interval (step 211), CNI is set to low logic and CN2 is set to high logic to immediately transmit a frame (step 212), and it is determined whether a transmission error has occurred (step 213).

また、ステップ209又はステップ213で送信エラー
が発生しなかった場合には、T区間だけ待った後(ステ
ップ214)、次のT区間で送信不可のノードで最も優
先順位の高いものがデータ伝送可能か判断しくステップ
215) 、伝送可能の場合には、その状態を保持しく
ステップ216)、また伝送不可の場合には、他の通信
故障と判断し、CNI 、CN2を共にロー論理にして
(ステップ217)、その他の故障処理ルーチンに動作
を移す。
In addition, if no transmission error occurs in step 209 or step 213, after waiting for T interval (step 214), the node with the highest priority that cannot transmit in the next T interval is able to transmit data. If it is possible to transmit (Step 215), the state is maintained (Step 216); if transmission is not possible, it is determined that there is another communication failure and both CNI and CN2 are set to low logic (Step 217). ), the operation is transferred to other failure handling routines.

また、第7図では、まず故障が生じると、例えば第3図
に示すノードN1とN2との交信不可かどうか判断しく
ステップ301)、交信可能の場合には、その状態を保
持しくステップ302)、また交信不可の場合には、C
NIをハイ論理にし、CN2をロー論理にして直ちにフ
レーム送信を行い(ステップ303)、送信エラーを検
出する(ステップ304)。
In addition, in FIG. 7, when a failure occurs, it is first determined whether communication between the nodes N1 and N2 shown in FIG. , and if communication is not possible, C
NI is set to high logic, CN2 is set to low logic, and frame transmission is immediately performed (step 303), and a transmission error is detected (step 304).

ここで、送信エラーが発生した場合には、支線の断線以
外の故障であるとして、CNI 、CN2を共にロー状
態として(ステップ317Lその他の故障処理に動作を
移す。また、送信エラーか発生しない場合には、そのま
までT区間だけ待ち(ステップ305)、次のT区間で
ノードN1とN2との交信不可かどうか判断しくステッ
プ306)、交信可能であれば、その状態を保持しくス
テップ307)、また交信不可であれば、CNIをロー
論理にし、CN2をハイ論理にして直ちにフレーム送信
を行い(ステップ308L送信エラーが発生したかどう
か判断する(ステップ309)。
Here, if a transmission error occurs, it is assumed that the failure is other than a break in the branch line, and both CNI and CN2 are set to a low state (step 317L and the operation moves to other failure processing.In addition, if a transmission error does not occur, , wait for T interval (step 305), determine whether communication between nodes N1 and N2 is impossible in the next T interval (step 306), and if communication is possible, maintain that state (step 307), If communication is not possible, CNI is set to low logic and CN2 is set to high logic to immediately transmit a frame (step 308L) It is determined whether a transmission error has occurred (step 309).

ここで、送信エラーが発生した場合には、■区間CNI
、CN2を共にロー論理にして(ステップ310)、T
区間だけ待った後(ステップ311)、CNIをロー論
理にし、CN2をハイ論理にして直ちにフレーム送信を
行い(ステップ312) 、送信エラーが発生したかど
うか判断する(ステップ313)。
Here, if a transmission error occurs, ■ Section CNI
, CN2 are both low logic (step 310), and T
After waiting for an interval (step 311), CNI is set to low logic and CN2 is set to high logic to immediately transmit a frame (step 312), and it is determined whether a transmission error has occurred (step 313).

また、ステップ309又はステップ313で送信エラー
が発生しなかった場合には、T区間だけ待った後(ステ
ップ314) 、次のT区間でノードN1とN2との交
信不可かどうか判断しくステップ315L交信可能の場
合には、その状態を保持しくステップ3+6)、また交
信不可の場合には、他の通信故障と判断し、CN1、C
N2を共にロー論理にして(ステップ317)、その他
の故障処理ルーチンに動作を移す。
In addition, if a transmission error does not occur in step 309 or step 313, after waiting for T interval (step 314), it is determined whether communication between nodes N1 and N2 is impossible in the next T interval, and in step 315L communication is possible. In this case, the state is maintained (steps 3+6), and if communication is not possible, it is determined that there is another communication failure, and CN1 and C
Both N2 are set to low logic (step 317), and the operation shifts to other failure processing routines.

これにより、上記第6図と第7図の他の実施例では、バ
ス支線に断線故障が発生した場合、幹線故障を優先し、
また支線故障のノードにも優先順位を設け、実施例では
優先順位の高いノードをN1、N2とし、支線故障が優
先順位の低いノードN2、N4に発生した時は、その状
態のままでわざわざ伝送可能としないようにすることに
より、ネットワークをその故障状態で最も伝送信頼性の
ある状態にすることができる。
As a result, in the other embodiments shown in FIGS. 6 and 7 above, when a disconnection failure occurs on a bus branch line, priority is given to the main line failure,
In addition, priority is set for nodes with branch line failures, and in the embodiment, the nodes with high priority are designated as N1 and N2, and when a branch line failure occurs in nodes N2 and N4 with low priority, the nodes are not transmitted in that state. By disabling it, the network can be made to have the most transmission reliability in its failure state.

従って、本実施例では、各ノードは、伝送線に故障が生
じても伝送線の間には所定の電位が生じ、各ノード間の
データ伝送が可能になり、本発明を用いるシステム全体
のデータ伝送の信頼性を高めることができる。
Therefore, in this embodiment, even if a failure occurs in each transmission line, a predetermined potential is generated between the transmission lines, making it possible to transmit data between each node. Transmission reliability can be improved.

(発明の効果) 以上説明したように、本発明では、両端が特性インピー
ダンスで終端されている少なくとも2つの信号伝送線と
接続する少なくとも2つのノードを有するデータ伝送方
式において、前記少なくとも1つのノードは該信号伝送
線を所定電位に設定する電位設定手段を有し、前記信号
伝送線の故障を検知した際には、当該信号伝送線の電位
を設定された所定電位に変化させて前記各ノード間のデ
ータ伝送を行うので、信号伝送線上に故障が生じても各
ノード間でデータ伝送を効率的に行うことができる。
(Effects of the Invention) As described above, in the present invention, in a data transmission system having at least two nodes connected to at least two signal transmission lines whose both ends are terminated with a characteristic impedance, the at least one node is It has a potential setting means for setting the signal transmission line to a predetermined potential, and when a failure of the signal transmission line is detected, the potential of the signal transmission line is changed to the predetermined potential, and the voltage between the nodes is changed to the predetermined potential. data transmission, so even if a failure occurs on the signal transmission line, data transmission can be performed efficiently between each node.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明に係るデータ伝送方式に用いるノードの
一実施例を示す回路図、第2図は同じく他の実施例を示
す回路図、第3図は本発明に係るデータ伝送方式の構成
を示す構成ブロック図、第4図は信号伝送線の断線検出
と伝送可能状態への移行方法を説明するためのフローチ
ャート、第5図は信号伝送線の各故障における伝送可能
状態移行時のノードN+、Ntのタイミングチャート、
第6図、第7図はバス支線の断線故障時の断線検出と伝
送可能状態への移行方法を説明するための他の実施例の
フローチャート、第8図は従来のデータ伝送方式の構成
を示す構成ブロック図である。 21・・・通信制御装置、22.23・・・ドライバ(
FET)、24・・・CPU、A、B・・・信号伝送線
、G1.G2・・・論理ゲート回路、N1〜N、・・・
ノード。
FIG. 1 is a circuit diagram showing one embodiment of a node used in the data transmission method according to the present invention, FIG. 2 is a circuit diagram showing another embodiment, and FIG. 3 is a configuration of the data transmission method according to the present invention. FIG. 4 is a flowchart for explaining the method of detecting disconnection of the signal transmission line and transitioning to the transmission enabled state. FIG. , Nt timing chart,
Figures 6 and 7 are flowcharts of other embodiments for explaining the method of detecting disconnection in the case of disconnection failure of a bus branch line and transitioning to a transmission enabled state, and Figure 8 shows the configuration of a conventional data transmission system. It is a configuration block diagram. 21...Communication control device, 22.23...Driver (
FET), 24...CPU, A, B...signal transmission line, G1. G2...Logic gate circuit, N1~N,...
node.

Claims (1)

【特許請求の範囲】[Claims] 両端が特性インピーダンスで終端されている少なくとも
2つの信号伝送線と接続する少なくとも2つのノードを
有するデータ伝送方式において、前記少なくとも1つの
ノードは該信号伝送線を所定電位に設定する電位設定手
段を有し、前記信号伝送線の故障を検知した際には、当
該信号伝送線の電位を設定された所定電位に変化させて
前記各ノード間のデータ伝送を行うことを特徴とするデ
ータ伝送方式。
In a data transmission system having at least two nodes connected to at least two signal transmission lines whose both ends are terminated with a characteristic impedance, the at least one node has potential setting means for setting the signal transmission line to a predetermined potential. The data transmission method is characterized in that when a failure of the signal transmission line is detected, the potential of the signal transmission line is changed to a predetermined potential to perform data transmission between the nodes.
JP2183798A 1990-07-11 1990-07-11 Data transmission system Pending JPH0470234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2183798A JPH0470234A (en) 1990-07-11 1990-07-11 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2183798A JPH0470234A (en) 1990-07-11 1990-07-11 Data transmission system

Publications (1)

Publication Number Publication Date
JPH0470234A true JPH0470234A (en) 1992-03-05

Family

ID=16142100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2183798A Pending JPH0470234A (en) 1990-07-11 1990-07-11 Data transmission system

Country Status (1)

Country Link
JP (1) JPH0470234A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067543A (en) * 2004-07-28 2006-03-09 Auto Network Gijutsu Kenkyusho:Kk Connector, vehicle-mounted bus drive, protective circuit, adaptor, wire harness for vehicle-mounted bus branch line, waveform shaping device for vehicle-mounted bus branch line, and joint connector for vehicle-mounted bus
US8094688B2 (en) 2006-11-22 2012-01-10 Denso Corporation Voltage supply unit for diagnosing electrical disconnection occurring in communication system and apparatus using the voltage supply unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006067543A (en) * 2004-07-28 2006-03-09 Auto Network Gijutsu Kenkyusho:Kk Connector, vehicle-mounted bus drive, protective circuit, adaptor, wire harness for vehicle-mounted bus branch line, waveform shaping device for vehicle-mounted bus branch line, and joint connector for vehicle-mounted bus
JP4583897B2 (en) * 2004-07-28 2010-11-17 株式会社オートネットワーク技術研究所 In-vehicle bus branch wiring harness
US8094688B2 (en) 2006-11-22 2012-01-10 Denso Corporation Voltage supply unit for diagnosing electrical disconnection occurring in communication system and apparatus using the voltage supply unit

Similar Documents

Publication Publication Date Title
US11584314B2 (en) Collision detection on a can bus
JP3750693B2 (en) Connected device
JP2851124B2 (en) Multiplex transmission method
JP2738106B2 (en) Multiplex communication controller
WO1994022092A2 (en) Method and apparatus for implementing a common mode level shift in a bus transceiver incorporating a high speed binary data transfer mode with a ternary control transfer mode
JPH0470234A (en) Data transmission system
US6831925B1 (en) Single wire interface with collision detection
US6249363B1 (en) Optical communication method, optical linking device and optical communication system
US7779196B2 (en) Interface between busses of different physical layers
US20010048688A1 (en) Resolution of media access contentions in networks comprising a plurality of network nodes and at least one star mode
JPS60127850A (en) Detecting system of digital data
JPH03254246A (en) Transmission system for lan
JPH0774763A (en) Operating state transition method for multiplex transmission system
EP0785649B1 (en) Method and apparatus for correcting transmission errors and detecting faults during data transmission through data transferring media
JPH023342B2 (en)
JP2959860B2 (en) Multiplex transmission method
JPH06291772A (en) Operating state transition method for multiplex transmission system
JP2552013B2 (en) Bus connection circuit
JP2851085B2 (en) Terminal power off detection method
EP0569600A1 (en) Method for recovering failured transmission line
JPH04177940A (en) Termination circuit in multiplex transmission
JPH09284320A (en) Communication controller
JPH0511587U (en) Transmission device
JPS63153935A (en) Repeater
JPH04368035A (en) Group communication method