JP2692338B2 - Communication device failure detection device - Google Patents

Communication device failure detection device

Info

Publication number
JP2692338B2
JP2692338B2 JP11099690A JP11099690A JP2692338B2 JP 2692338 B2 JP2692338 B2 JP 2692338B2 JP 11099690 A JP11099690 A JP 11099690A JP 11099690 A JP11099690 A JP 11099690A JP 2692338 B2 JP2692338 B2 JP 2692338B2
Authority
JP
Japan
Prior art keywords
transmission
transmission line
output
signal
carrier sense
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
JP11099690A
Other languages
Japanese (ja)
Other versions
JPH048032A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP11099690A priority Critical patent/JP2692338B2/en
Publication of JPH048032A publication Critical patent/JPH048032A/en
Application granted granted Critical
Publication of JP2692338B2 publication Critical patent/JP2692338B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、2重化した伝送路を介して多重通信を行
う通信装置において、伝送路の障害を検出する通信装置
の障害検出装置に関する。
Description: TECHNICAL FIELD The present invention relates to a failure detection device for a communication device that detects a failure in a transmission line in a communication device that performs multiplex communication via a duplicated transmission line.

〔従来技術〕(Prior art)

従来の通信装置の障害検出装置としては、例えば第4
図に示すようなものがる。第4図は、通信装置の受信部
を示したものであり、第1伝送路1および第2伝送路2
から伝送信号を受信する差動レシーバ300と、差動レシ
ーバ300で受信したデーを復調して解読する受信装置200
と、第1伝送路1に信号変化があるのかどうか検出する
エツジ検出回路511とカウンタ512とカウンタ512のカウ
ントとした値をデコードするデコーダ513とエツジ検出
回路511の出力信号によりリセツトされデコーダ513の出
力信号によりセツトされるRSフリツプフロツプ514より
なる障害検出装置510と、第2伝送路2に接続された障
害検出装置510と同じ構成の障害検出装置520と、受信動
作全体を制御する制御装置100とからなる構成である。
As a failure detection device for a conventional communication device, for example, a fourth
There is something like the one shown in the figure. FIG. 4 shows the receiving section of the communication device, and the first transmission line 1 and the second transmission line 2 are shown.
A differential receiver 300 that receives a transmission signal from the receiver and a receiver 200 that demodulates and decodes the data received by the differential receiver 300.
An edge detection circuit 511 for detecting whether or not there is a signal change on the first transmission line 1, a counter 512, a decoder 513 for decoding the value counted by the counter 512, and an output signal of the edge detection circuit 511 for resetting. A fault detection device 510 consisting of an RS flip-flop 514 set by the output signal, a fault detection device 520 having the same configuration as the fault detection device 510 connected to the second transmission line 2, and a control device 100 for controlling the entire receiving operation. It is composed of.

また、多重通信システムの構成としては、例えば第5
図に示すようなものがある。第5図は、通信を制御する
通信装置であるマスター610と、マスター610により通信
の制御を受ける通信装置であるスレーブ1・620からス
レーブN630よりなるスレーブ群と、第1伝送路1および
第2伝送路2とから構成されている多重通信システムで
ある。
The configuration of the multiplex communication system is, for example, the fifth
Some are shown in the figure. FIG. 5 shows a master 610 which is a communication device for controlling communication, a slave group including slaves 1 and 620 to N630 which are communication devices which are controlled by the master 610, a first transmission line 1 and a second transmission line. It is a multiplex communication system composed of a transmission line 2.

次に、この通信装置の動作を第4図および第5図に基
づいて説明する。
Next, the operation of this communication device will be described based on FIG. 4 and FIG.

1)通信方法:マスター610が、所定の順番でスレーブ
に対して呼び掛け(ポーリング)を行い、呼び掛けられ
たスレーブだけが送信することが可能となる。例えばマ
スター610の送信部(図示はしていない。)は、第1伝
送路1に伝送データを送出すると共に、該伝送データの
“0"と“1"を反転させた逆相の伝送データを第2伝送路
2に同時に送出する。スレーブ群の各受信部は、第1伝
送路1および第2伝送路2を介して伝送データが入力さ
れると、差動レシーバ300で第1伝送路1および第2伝
送路2からの伝送データの信号レベルの差を検知するこ
とでデータを受信し、受信装置200で受信したデータを
解読して自分に送られた伝送データか否かを判断し、自
分に送られた伝送データであると判断したスレーブが受
信した伝送データに基づいてマスター610に対して送信
する伝送データを生成して第1および第2伝送路1,2へ
送出する。
1) Communication method: The master 610 calls (polling) the slaves in a predetermined order, and only the called slaves can transmit. For example, the transmission unit (not shown) of the master 610 sends the transmission data to the first transmission line 1 and outputs the transmission data of the opposite phase obtained by inverting “0” and “1” of the transmission data. The signals are simultaneously sent to the second transmission line 2. When the transmission data is input via the first transmission line 1 and the second transmission line 2 to each reception unit of the slave group, the differential receiver 300 transmits the transmission data from the first transmission line 1 and the second transmission line 2. The data is received by detecting the difference in the signal level of, the data received by the receiving device 200 is decoded, it is determined whether or not the data is the transmission data sent to itself, and the data is the transmission data sent to itself. Transmission data to be transmitted to the master 610 is generated based on the transmission data received by the determined slave, and is transmitted to the first and second transmission lines 1 and 2.

2)伝送路の障害検出方法: 伝送路に障害がない場合;第1伝送路1および第2伝
送路2に信号変化があると、エツジ検出回路511が信号
変化を検出してエツジ検出信号“1"を出力し、RSフリツ
プフロツプ514がエツジ検出信号“1"によりリセツトさ
れ、障害検出装置510および障害検出装置520が障害検出
信号“0"を出力し障害の発生はなかつたと判断できる。
また、カウンタ512はエツジ検出回路511がエツジ検出信
号“1"を出力する度にクリアされるため、カウンタ512
の出力が所定時間を示す値にならずデコーダ513の出力
が“1"とならないためRSフリツプフロツプ514はセツト
されない。
2) Transmission line fault detection method: When there is no fault in the transmission line; when there is a signal change in the first transmission line 1 and the second transmission line 2, the edge detection circuit 511 detects the signal change and the edge detection signal “ 1 "is output, the RS flip-flop 514 is reset by the edge detection signal" 1 ", and the failure detection device 510 and the failure detection device 520 output the failure detection signal" 0 ", and it can be determined that no failure has occurred.
The counter 512 is cleared each time the edge detection circuit 511 outputs the edge detection signal “1”.
The RS flip-flop 514 is not set because the output of the RS does not become the value indicating the predetermined time and the output of the decoder 513 does not become "1".

伝送路に障害が発生した場合;例えば第1伝送路1が
グランドにシヨートしたなどの障害が発生して伝送デー
タの伝送が出来なくなると、第1伝送路1に信号変化が
なくなるためエツジ検出回路511が信号変化を検出せず
エツジ検出信号“0"を出力すると、カウンタ512はカウ
ントアツプを続行し、デコーダ513がカウンタ512の出力
をモニタしていて所定時間経過したことを検出すると
“1"を出力し、RSフリツプフロツプ514がデコーダ513の
出力信号によりセツトされて、障害検出装置510は障害
検出信号“1"を出力し第1伝送路の障害の発生を検出す
る。また、前記第1伝送路の障害が克服され第1伝送路
1でデータの伝送が可能となると、エツジ検出回路511
がエツジ検出信号を出力しRSフリツプフロツプ514をリ
セツトするため障害検出装置510の障害検出信号“0"を
出力する。
When a failure occurs in the transmission line; for example, when a failure occurs such that the first transmission line 1 is shorted to the ground and transmission data cannot be transmitted, a signal change disappears in the first transmission line 1, so that the edge detection circuit. When 511 does not detect a signal change and outputs an edge detection signal "0", the counter 512 continues counting up, and when the decoder 513 monitors the output of the counter 512 and detects that a predetermined time has elapsed, it outputs "1". , The RS flip-flop 514 is set by the output signal of the decoder 513, and the fault detection device 510 outputs the fault detection signal "1" to detect the occurrence of the fault on the first transmission line. Further, when the obstacle of the first transmission line is overcome and the data can be transmitted through the first transmission line 1, the edge detection circuit 511.
Outputs an edge detection signal and resets the RS flip-flop 514 to output a failure detection signal "0" of the failure detection device 510.

また、第1伝送路1または第2伝送路2のいずれか一
方の伝送路に何らかの障害が発生しても、残つた他方の
伝送路によつて機能を損なうこと無く差動レシーバ300
で伝送信号を受信することができ通信を継続できる構成
となつている。
Further, even if some failure occurs in one of the first transmission line 1 and the second transmission line 2, the remaining other transmission line does not impair the function of the differential receiver 300.
The transmission signal can be received by and the communication can be continued.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

しかしながら、このような従来の通信装置の障害検出
装置においては、以下のような問題点がある。各伝送路
ごとに伝送路の障害を検出する方式であつたために、単
にどの通信装置も送信をしていないのか、あるいは伝送
路の障害なのかを判別するために、カウンタでカウント
する所定時間を通信フオーマツトで定められた1回に伝
送できるヘツダ等の信号を含むデータ群(以下メツセー
ジとする)を伝送するのに要する時間(1メツセージタ
イム)以上に設定する必要があつた。このため、伝送路
に発生した障害を検出するのに1メツセージタイム以上
の時間を必要とし、伝送路に発生した障害を検出するの
に時間がかかるという問題点があつた。
However, such a conventional fault detection device for a communication device has the following problems. Since it is the method of detecting the failure of the transmission path for each transmission path, the predetermined time counted by the counter is set in order to determine whether any communication device is not transmitting or the failure of the transmission path. It is necessary to set the time longer than a time (1 message time) required to transmit a data group (hereinafter referred to as a message) including a signal such as a header that can be transmitted at a time determined by the communication format. Therefore, there is a problem in that it takes more than one message time to detect a failure that has occurred in the transmission path, and it takes time to detect a failure that has occurred in the transmission path.

〔問題を解決するための手段〕[Means for solving the problem]

この発明は、上述した問題点に鑑みてなされたもの
で、通信装置の障害検出装置が、第1および第2伝送路
上に伝送データがあるのかないのかを伝送データの1ビ
ツト毎に判別し伝送データがあることを検出すると信号
を出力する第1および第2キヤリアセンス手段と、2つ
の入力の論理和演算を行なう第1論理演算手段および2
つの入力の排他的論理和演算を行なう第2および第3論
理演算手段とを具備し、第1キヤリアセンス手段の入力
端子を第1伝送路に接続した接続点を第1入力端とし、
第2キヤリアセンス手段の入力端子を第2伝送路に接続
した接続点を第2入力端とし、第1および第2キヤリア
センス手段の出力端子が第1論理演算手段のそれぞれの
入力端子に接続され、第1キヤリアセンス手段の出力端
子と第1論理演算手段の出力端子とが第2論理演算手段
のそれぞれの入力端子に接続され、第2キヤリアセンス
手段の出力端子と第1論理演算手段の出力端子とが第3
論理演算手段のそれぞれの入力端子に接続され、第2お
よび第3論理演算手段の各々の出力端子を第1および第
2出力端とした構成とし、第2および第3論理演算手段
の出力信号がそれぞれ第1および第2伝送路の障害を検
出した場合に出力される障害検出信号に対応してなるこ
ととすることにより、上記の問題点を解決することを目
的としている。
The present invention has been made in view of the above-mentioned problems, and the failure detection device of a communication device determines whether or not there is transmission data on the first and second transmission paths for each bit of the transmission data and transmits the data. First and second carrier sense means for outputting a signal when it detects that there is data, and first logical operation means and 2 for performing a logical sum operation of two inputs.
A second and a third logical operation means for performing an exclusive OR operation of two inputs, and a connection point connecting the input terminal of the first carrier sense means to the first transmission line is a first input end,
The connection point where the input terminal of the second carrier sense means is connected to the second transmission line is the second input end, and the output terminals of the first and second carrier sense means are connected to the respective input terminals of the first logical operation means. , An output terminal of the first carrier sense means and an output terminal of the first logic operation means are connected to respective input terminals of the second logic operation means, and an output terminal of the second carrier sense means and an output of the first logic operation means. Terminal is third
The output signals of the second and third logical operation means are connected to the respective input terminals of the logical operation means, and the output terminals of the second and third logical operation means are the first and second output terminals, respectively. It is an object of the present invention to solve the above-mentioned problems by adopting a failure detection signal output when a failure is detected in each of the first and second transmission paths.

〔作用〕[Action]

通信装置の障害検出装置が、第1および第2伝送路上
に伝送データがあるのかないのかを伝送データの1ビツ
ト毎に信号変化を第1および第2キヤリアセンス手段で
別々に判別し、キヤリアセンス手段の出力信号を第1〜
第3論理演算手段で演算処理を行なうことで第1および
第2伝送路のそれぞれの障害を検出する構成であるため
に、いずれの通信装置も送信をしていないのかあるいは
伝送路の障害なのかを判別することが容易となり、伝送
路の監視時間を1ビツトタイムとすることが可能とな
り、伝送路の障害を素早く検出することが可能となる。
The failure detection device of the communication device determines whether or not there is transmission data on the first and second transmission lines, for each bit of the transmission data, by separately determining signal changes by the first and second carrier sense means, and performing carrier sense. First to output signal of the means
Since the configuration is such that the respective faults of the first and second transmission lines are detected by performing the arithmetic processing by the third logical operation means, it is determined whether no communication device is transmitting or the fault of the transmission line. Can be easily determined, the monitoring time of the transmission path can be set to 1 bit time, and the failure of the transmission path can be detected quickly.

〔実施例〕〔Example〕

以下、具体的な実施例に基づいて説明する。 Hereinafter, description will be made based on specific examples.

第1図は、この発明を示す一実施例である。第1図は
通信装置の受信部の構成を示した図であつて、1は第1
伝送路,2は第2伝送路であり、第1伝送路1および第2
伝送路2からの伝送データA1,A2は差動レシーバ300に入
力され、差動レシーバ300の出力端子は受信装置200に入
力される。また、第1伝送路1および第2伝送路2から
の伝送データA1,A2は障害検出装置400を構成しているキ
ヤリアセンス手段410,420のそれぞれの入力端子にも入
力され、キヤリアセンス手段410,420の出力信号a1,a2は
障害検出装置400を構成している論理和演算を行う第1
論理演算手段430(以下、OR回路と記す。)の入力端子
および排他的論理和演算を行う第2および第3論理演算
手段440,450(以下、E−OR回路と記す。)の一方の入
力端子に入力され、OR回路430の出力信号bはE−OR回
路440,450の他方の入力端子に入力されている。E−OR
回路440,450の出力信号c1,c2は第1伝送路1および第2
伝送路2に障害が発生したことを伝達する障害検出信号
であり制御装置100に入力され、制御装置100の出力する
クロツク信号CLは受信装置200および障害検出装置400に
供給され、制御装置100の出力する制御信号CTR1・2は
それぞれ受信装置200,障害検出装置400に入力される。
制御信号CTR1は、現在の通信状態および受信データの処
理などを受信装置200に指示するための信号であり、制
御信号CTR2は、障害検出装置400のリセツト信号であ
る。
FIG. 1 is an embodiment showing the present invention. FIG. 1 is a diagram showing the configuration of a receiving unit of a communication device, where 1 is the first
Transmission line, 2 is the second transmission line, and the first transmission line 1 and the second transmission line
The transmission data A1 and A2 from the transmission line 2 are input to the differential receiver 300, and the output terminals of the differential receiver 300 are input to the receiving device 200. In addition, the transmission data A1 and A2 from the first transmission line 1 and the second transmission line 2 are also input to the respective input terminals of the carrier sense means 410 and 420 that constitute the failure detection device 400, and the output of the carrier sense means 410 and 420. The signals a1 and a2 form the failure detection device 400.
To an input terminal of the logical operation means 430 (hereinafter referred to as an OR circuit) and one input terminal of second and third logical operation means 440 and 450 (hereinafter referred to as an E-OR circuit) for performing an exclusive OR operation. The input signal b output from the OR circuit 430 is input to the other input terminals of the E-OR circuits 440 and 450. E-OR
The output signals c1 and c2 of the circuits 440 and 450 are the first transmission line 1 and the second transmission line 1, respectively.
A fault detection signal that conveys the occurrence of a fault in the transmission path 2 is input to the control device 100, and the clock signal CL output from the control device 100 is supplied to the receiving device 200 and the fault detection device 400, and The output control signals CTR1 and CTR2 are input to the receiving device 200 and the fault detecting device 400, respectively.
The control signal CTR1 is a signal for instructing the receiving device 200 about the current communication state and processing of received data, and the control signal CTR2 is a reset signal for the fault detecting device 400.

第2図はキヤリアセンス手段410の具体的な構成を示
した図であつて、第1伝送路1からの伝送データA1が入
力するキヤリアセンス手段410の入力端子はエツジ検出
回路411の入力端子と同一であり、伝送データA1の立ち
上がりエツジを検出するエツジ検出回路411の出力信号B
1はRSフリツプフロツプ414のセツト端子およびOR回路41
2の入力端子に入力され、制御装置100からの制御信号CT
R2はエツジ検出回路411のリセツト端子およびOR回路41
2,413の入力端子に入力され、制御装置100からのクロツ
ク信号CLはエツジ検出回路411,カウンタ415およびデコ
ーダ416に供給され、OR回路412の出力信号C1はカウンタ
415を構成しているT型フリツプフロツプ4150〜4156の
リセツト端子に接続され、カウンタ415の出力信号D1−
1〜D1−5はデコーダ416を構成しているD型フリツプ
フロツプ4161〜4165のそれぞれのデータ端子に入力さ
れ、D型フリツプフロツプ4161〜4165はインバータ回路
4160によりクロツク信号CLが反転されたクロツク信号▲
▼により動作し、D型フリツプフロツプ4161〜4165
の出力信号はAND回路4166の入力端子に入力され、AND回
路4166の出力信号はデコーダ416の出力信号E1としてOR
回路413の出力信号はRSフリツプフロツプ414のリセツト
端子に入力され、RSフリツプフロツプ414の出力信号が
キヤリアセンス手段の出力であるキヤリアセンス信号a1
となる。また、キヤリアセンス手段420の構成は、エツ
ジ検出回路が第2伝送路2からの伝送信号A2の立ち下が
りエツジを検出するものである以外、第2図に示したキ
ヤリアセンス手段410の構成と同じである。
FIG. 2 is a diagram showing a specific configuration of the carrier sense means 410. The input terminal of the carrier sense means 410 to which the transmission data A1 from the first transmission line 1 is input is the input terminal of the edge detection circuit 411. The output signal B of the edge detection circuit 411 which is the same and detects the rising edge of the transmission data A1
1 is the set terminal of RS flip-flop 414 and OR circuit 41
Control signal CT from the control device 100, which is input to the input terminal of 2
R2 is the reset terminal of the edge detection circuit 411 and the OR circuit 41.
The clock signal CL from the control device 100 is input to the input terminals of 2, 413 and is supplied to the edge detection circuit 411, the counter 415 and the decoder 416, and the output signal C1 of the OR circuit 412 is the counter.
The output signal D1− of the counter 415 is connected to the reset terminals of the T-type flip-flops 4150 to 4156 that compose 415.
1 to D1-5 are input to the respective data terminals of the D-type flip-flops 4161 to 4165 forming the decoder 416, and the D-type flip-flops 4161 to 4165 are inverter circuits.
Clock signal that the clock signal CL is inverted by 4160 ▲
Operated by ▼, D-type flip-flops 4161 to 4165
Is input to the input terminal of the AND circuit 4166, and the output signal of the AND circuit 4166 is ORed as the output signal E1 of the decoder 416.
The output signal of the circuit 413 is input to the reset terminal of the RS flip-flop 414, and the output signal of the RS flip-flop 414 is the carrier sense signal a1 which is the output of the carrier sense means.
Becomes The configuration of the carrier sense means 420 is the same as that of the carrier sense means 410 shown in FIG. 2 except that the edge detection circuit detects the trailing edge of the transmission signal A2 from the second transmission path 2. Is.

多重通信システムの構成は、従来例で示した第5図と
同じであり、通信を制御する通信装置であるマスター61
0と、マスター610により通信の制御を受ける通信装置で
あるスレーブ1・620からスレーブN630よりなるスレー
ブ群とが第1伝送路1および第2伝送路2に接続された
構成である。
The configuration of the multiplex communication system is the same as that of the conventional example shown in FIG.
The configuration is such that 0 and a slave group consisting of slave 1 620 to slave N 630, which are communication devices controlled by the master 610, are connected to the first transmission line 1 and the second transmission line 2.

次に、第1〜3図および第5図を用いて動作を説明す
る。第3図は、第1図および第2図に示した障害検出装
置400とキヤリアセンス手段410,420のタイミングチヤー
トを示したものであり、第3図に示した信号名は、信号
B2が図示していないキヤリアセンス手段420を構成して
いるエツジ検出回路の出力信号を示している以外、第1
図および第2図に示した信号名と一致している。
Next, the operation will be described with reference to FIGS. FIG. 3 shows a timing chart of the fault detection device 400 and the carrier sense means 410, 420 shown in FIGS. 1 and 2, and the signal names shown in FIG.
First, except that B2 indicates the output signal of the edge detection circuit forming the carrier sense means 420 (not shown)
It matches the signal names shown in the figures and FIG.

ここで、通信制御方式をマスター610が、所定の順番
でスレーブに対しての呼び掛け(ポーリング)を行い、
呼び掛けられたスレーブだけが送信することが可能とな
るものとし、通信フオーマツトが例えば伝送信号のデー
タ変調符号をRWM方式とし、伝送信号のデータ変調速度
をクロツク信号CLの72倍とし、伝送信号のメツセージ長
を29ビツトとして設定されているもとする。
Here, in the communication control method, the master 610 makes a call (polling) to the slaves in a predetermined order,
It is assumed that only the addressed slave can transmit, and the communication format uses, for example, the RWM method as the data modulation code of the transmission signal, the data modulation rate of the transmission signal is 72 times that of the clock signal CL, and the message of the transmission signal is It is assumed that the length is set to 29 bits.

1)通信方法:例えばマスター610の送信部(図示はし
ていない。)が、第1伝送路1に伝送データA1を送出す
ると共に、伝送データA1の“0"と“1"を反転させた逆相
の伝送データA2を第2伝送路2に同時に送出する。スレ
ーブ群の受信部は、第1伝送路1および第2伝送路2を
介して伝送データA1,A2が入力されると、差動レシーバ3
00で第1伝送路1および第2伝送路2からの伝送データ
A1,A2の信号レベルの差を検知することでデータを受信
し、受信装置200で受信したデータを解読して自分に送
られた伝送信号か否かを判断し、自分に送られた伝送信
号であると判断したスレーブが受信したデータに基づい
て生成した伝送データを第1伝送路1および第2伝送路
2を介してマスター610に対して送信する。
1) Communication method: For example, the transmission unit (not shown) of the master 610 sends the transmission data A1 to the first transmission line 1 and inverts “0” and “1” of the transmission data A1. The reverse phase transmission data A2 is simultaneously sent to the second transmission line 2. When the transmission data A1 and A2 are input via the first transmission line 1 and the second transmission line 2, the reception unit of the slave group receives the differential receiver 3
00 is transmission data from the first transmission line 1 and the second transmission line 2.
Data is received by detecting the difference between the signal levels of A1 and A2, the receiving device 200 decodes the data and determines whether or not it is the transmission signal sent to itself, and the transmission signal sent to itself The transmission data generated based on the data received by the slave determined to be is transmitted to the master 610 via the first transmission line 1 and the second transmission line 2.

2)キヤリアセンス手段の動作:第1伝送路1からの伝
送データA1がエツジ検出回路411に入力されると、伝送
データA1の立上がりエツジに応じてエツジ検出回路411
の出力信号B1が“1"となり、エツジ検出回路411が立上
がりエツジを検出する度にRSフリツプフロツプ414がセ
ツトされてキヤリアセンス信号a1が“1"となると共にT
型フリツプフロツプ4150〜4156がリセツトされカウンタ
415が1からカウントアツプを始める。デコーダ416に入
力されるカウンタ415の出力信号D1−1〜D1−5は、デ
コードしたときに発生するグリツチなどを防止するため
にD型フリツプフロツプ4161〜4165で反転クロツク▲
▼で再同期をかけて読み込んでいる。伝送データA1が
正常に送信されている間は、1ビツトごとに立上がりエ
ツジがあるため1ビツトごとにカウンタ415がリセツト
されでデコーダ416の出力信号E1は“1"とならない。ま
た、伝送データA1の信号変化がなくなると、エツジ検出
回路411の出力信号B1が“1"とならないためカウンタ415
がリセツトされずカウントアツプを続け、所定時間経過
するとカウンタ415の出力をモニタしているデコーダ416
の出力信号E1が“1"となり、該出力信号E1“1"がOR回路
413を介してRSフリツプフロツプ414のリセツト端子に入
力され、RSフリツプフロツプ414がリセツトされてキヤ
リアセンス信号a1が“0"となつて伝送データがなくなつ
たことを検知する。また、第2伝送路2からの伝送デー
タA2がエツジ検出回路411に入力されると、伝送データA
2の立下がりエツジに応じてエツジ検出回路411の出力信
号B2が“1"となり、上記の第1伝送路のキヤリアセンス
方法と同様の動作でキヤリアセンス信号a2が出力され
る。
2) Operation of carrier sense means: When the transmission data A1 from the first transmission line 1 is input to the edge detection circuit 411, the edge detection circuit 411 is generated according to the rising edge of the transmission data A1.
Output signal B1 of "1" and the edge detection circuit 411 rises every time it detects an edge, the RS flip-flop 414 is set and the carrier sense signal a1 becomes "1" and T
Mold flip-flops 4150-4156 are reset and counter
415 starts counting up from 1. The output signals D1-1 to D1-5 of the counter 415, which are input to the decoder 416, are inverted by the D-type flip-flops 4161 to 4165 in order to prevent glitches and the like that occur when they are decoded.
Resynchronize with ▼ to read. While the transmission data A1 is normally transmitted, since there is a rising edge for each bit, the counter 415 is reset for each bit and the output signal E1 of the decoder 416 does not become "1". Further, when the signal change of the transmission data A1 disappears, the output signal B1 of the edge detection circuit 411 does not become "1", so the counter 415
Is not reset and continues counting up, and when a predetermined time elapses, the decoder 416 which monitors the output of the counter 415
Output signal E1 of "1" becomes, and the output signal E1 "1" becomes OR circuit.
It is input to the reset terminal of the RS flip-flop 414 via 413, the RS flip-flop 414 is reset, and it is detected that the carrier sense signal a1 becomes "0" and there is no transmission data. When the transmission data A2 from the second transmission line 2 is input to the edge detection circuit 411, the transmission data A2
The output signal B2 of the edge detection circuit 411 becomes "1" in response to the trailing edge of 2, and the carrier sense signal a2 is output by the same operation as the above-mentioned carrier sense method of the first transmission path.

3)伝送路の障害検出方法:第1伝送路1および第2伝
送路2から正常に伝送データが伝送される場合、上記の
如くキヤリアセンス手段410,420の出力するキヤリアセ
ンス信号a1,a2が共に“1"となるためOR回路430の出力信
号bも“1"となる。さらに、E−OR回路440,450の入力
端子にはすべて“1"が入力されるため、E−OR回路440,
450の出力する出力信号c1,c2が共に“0"となり第1伝送
路および第2伝送路2が正常であることを示している。
3) Fault detection method of transmission line: When the transmission data is normally transmitted from the first transmission line 1 and the second transmission line 2, both of the carrier sense signals a1 and a2 output from the carrier sense means 410 and 420 are "as described above. Since it becomes 1 ", the output signal b of the OR circuit 430 also becomes" 1 ". Furthermore, since "1" is input to all the input terminals of the E-OR circuits 440 and 450,
The output signals c1 and c2 output by 450 are both "0", indicating that the first transmission line and the second transmission line 2 are normal.

ここで、ある送信装置が伝送データA1,A2を送信中に
例えば第3図中のXの時点で第1伝送路1がグランドに
シヨートしたなどの障害が発生した場合、Xの時点以降
第1伝送路1からの伝送データA1の信号変化がなくなり
第2伝送路2からの伝送データA2の信号変化だけが障害
検出装置400に入力されるようになる。こうなると、キ
ヤリアセンス手段410のキヤリアセンス信号a1が1ビツ
トタイムの間信号変化のないことを確認してから“0"を
出力し、キヤリアセンス手段420はキヤリアセンス信号a
2“1"を出力する。OR回路430の入力端子には“1"が入力
されるため、OR回路430は出力信号b“1"出力する。E
−OR回路440の入力端子には“1"および“0"が入力され
るため、E−OR回路440は出力信号c1“1"を出力し第1
伝送路1に異常があることを示している。さらに、E−
OR回路450の入力端子には両方“1"が入力されるため、
E−OR回路440は出力信号c2“0"を出力し第2伝送路2
が正常であることを示している。
Here, if a failure occurs such that the first transmission path 1 is grounded at a time point X in FIG. 3 while a certain transmission device is transmitting the transmission data A1 and A2, the first transmission path after the time point X The signal change of the transmission data A1 from the transmission line 1 disappears, and only the signal change of the transmission data A2 from the second transmission line 2 is input to the failure detection device 400. In this case, after confirming that the carrier sense signal a1 of the carrier sense means 410 has no signal change for one bit time, "0" is output, and the carrier sense means 420 outputs the carrier sense signal a.
2 Output “1”. Since "1" is input to the input terminal of the OR circuit 430, the OR circuit 430 outputs the output signal b "1". E
Since "1" and "0" are input to the input terminal of the -OR circuit 440, the E-OR circuit 440 outputs the output signal c1 "1" and outputs the first signal.
This indicates that the transmission line 1 has an abnormality. Furthermore, E-
Since both "1" are input to the input terminals of the OR circuit 450,
The E-OR circuit 440 outputs the output signal c2 "0" and outputs the second transmission line 2
Is normal.

また、いずれの通信装置も伝送データA1,A2を送出し
ていない場合は、第1および第2伝送路1,2上での信号
変化が無くなるために、キヤリアセンス手段410,420の
出力するキヤリアセンス信号a1,a2が共に“0"となり、O
R回路430は出力信号b“0"出力し、E−OR回路440,450
のそれぞれの入力端子には“0"が入力され、E−OR回路
440,450の出力信号c1、c2は共に“0"となるために、第
1および第2伝送路1,2の両方が正常であることを示し
ている。
Further, when none of the communication devices sends out the transmission data A1 and A2, there is no signal change on the first and second transmission lines 1 and 2, so that the carrier sense signals output from the carrier sense means 410 and 420 are output. Both a1 and a2 become “0”, and O
The R circuit 430 outputs the output signal b “0”, and the E-OR circuits 440 and 450
"0" is input to each input terminal of the E-OR circuit
Since the output signals c1 and c2 of 440 and 450 are both "0", it indicates that both the first and second transmission lines 1 and 2 are normal.

つまり、障害検出装置400が、第1または第2伝送路
1,2のいずれかに障害発生後、受信した伝送データの最
初の1ビツト目の期間、伝送路ごとにエツジ検出回路41
1の出力信号B1,B2を監視して伝送データの有無を判別
し、その結果をOR回路430およびE−OR回路440,450で論
理演算を行なうことでいずれの通信装置も伝送データを
送出していないのか伝送路に発生した障害かを判断し、
次の2ビツト目で障害検出信号を出力することが可能で
あり、リアルタイムで伝送路の障害を検出することが可
能である。
In other words, the failure detection device 400 uses the first or second transmission line.
After the occurrence of a failure in either 1 or 2, the edge detection circuit 41 for each transmission line for the first 1st bit period of the received transmission data.
The output signals B1 and B2 of 1 are monitored to determine the presence / absence of transmission data, and the OR circuit 430 and the E-OR circuits 440 and 450 perform a logical operation on the result to transmit no transmission data to any communication device. Or the failure that occurred in the transmission line,
It is possible to output a failure detection signal at the next second bit, and it is possible to detect a failure on the transmission path in real time.

4)伝送路の障害検出時の処理:例えば第1伝送路1に
何らかの障害が発生しても、第2伝送路2によつて機能
を損なうこと無く差動レシーバ300で伝送信号を受信で
き通信を継続できる構成であり、3)に示した方式で障
害検出装置400が第1伝送路1に発生した障害を検出す
ると、制御装置100がこの結果をもとに警報を出し使用
者に知らせることができる。
4) Processing at the time of detecting a failure in the transmission path: For example, even if some failure occurs in the first transmission path 1, the differential receiver 300 can receive the transmission signal without losing the function by the second transmission path 2 and communicate. When the fault detection device 400 detects a fault occurring in the first transmission line 1 by the method shown in 3), the control device 100 issues an alarm based on this result and informs the user. You can

さらに、第4図に示した従来例と第1,2図に示した実
施例とを比較すると、従来例の障害検出装置510,520と
本実施例のキヤリアセンス手段410,420とはほぼ同じ構
成であるが、従来例では1メツセージを伝送するのに要
する時間を監視する必要があるために、カウンタ512が
1メツセージ時間をカウントするため72*29=2088クロ
ツクを要し、13ビツトバイナリーカウンタが必要になる
のに対して、本実施例では伝送データを1ビツトタイム
単位で監視するために、カウンタ415は2ビツトタイム
をカウントできれば良く、7ビツトバイナリーカウンタ
で実現できる。つまり、本実施例の障害検出装置400
は、所定時間内に信号変化があることを検出するキヤリ
アセンス手段で伝送路上の信号を1ビツトタイム単位で
監視してキヤリアセンス手段の出力信号を第1〜第3論
理演算手段で論理処理を行ない伝送路を相互に監視して
の障害を検出する構成であるために、カウンタを構成し
ているフリツプフロツプのサイズがトランジスタレベル
で比較すると2入力OR回路の6〜10倍のサイズであるた
め第1〜第3論理演算手段が付加されても、障害検出装
置の回路規模が全体として低減することが可能となる。
Further, comparing the conventional example shown in FIG. 4 with the example shown in FIGS. 1 and 2, the fault detecting devices 510, 520 of the conventional example and the carrier sense means 410, 420 of this example have almost the same configuration. In the conventional example, since it is necessary to monitor the time required to transmit one message, the counter 512 requires 72 * 29 = 2088 clocks to count one message time, and a 13-bit binary counter is required. On the other hand, in this embodiment, since the transmission data is monitored in units of 1 bit time, the counter 415 only needs to be able to count 2 bit times, and can be realized by a 7 bit binary counter. That is, the failure detection device 400 of the present embodiment
Is a carrier sense means for detecting a signal change within a predetermined time to monitor the signal on the transmission path in units of one bit time, and the output signals of the carrier sense means are logically processed by the first to third logical operation means. The flip-flop size of the counter is 6 to 10 times the size of the 2-input OR circuit when compared at the transistor level because the configuration is such that the faults are detected by mutually monitoring the transmission lines. Even if the third logical operation means is added, the circuit scale of the failure detection device can be reduced as a whole.

また、障害検出装置を集積化する場合には、半導体チ
ツプ上での占有面積を小さくすることができコストを低
減することが可能となる。
Further, when the failure detection device is integrated, the area occupied on the semiconductor chip can be reduced and the cost can be reduced.

本実施例では、データ変調符号をPWM符号としたが、
1ビツトごとに立上がりまたは立下がりのある符号(例
えば、マンチエスタ符号など)であればよい。また、本
実施例では、“0",“1"が互いに反転している伝送デー
タを第1および第2伝送路1,2で同時に伝送する通信方
式をとしていたが、例えば第1伝送路1を主伝送路とし
第2伝送路2を予備伝送路として、同時に同一の伝送デ
ータが第1および第2伝送路1,2を介して伝送される通
信方式であつてもよい。
In this embodiment, the data modulation code is the PWM code,
A code having a rising edge or a falling edge for each bit (for example, Mantiester code) may be used. Further, in the present embodiment, the communication method is used in which the transmission data in which “0” and “1” are inverted from each other are simultaneously transmitted through the first and second transmission lines 1 and 2. However, for example, the first transmission line 1 May be used as the main transmission path and the second transmission path 2 as the backup transmission path, and the same transmission data may be simultaneously transmitted via the first and second transmission paths 1 and 2.

〔発明の効果〕〔The invention's effect〕

以上、具体的な実施例に基づいて説明してきたよう
に、通信装置の障害検出装置が、第1および第2伝送路
上に伝送データがあるのかないのかを伝送データの1ビ
ツト毎に判別し伝送データがあることを検出すると信号
を出力する第1および第2キヤリアセンス手段と、第1
および第2キヤリアセンス手段の出力信号を演算処理す
るための2つの入力の論理和演算を行なう第1論理演算
手段および2つの入力の排他的論理和演算を行なう第2
および第3論理演算手段とを具備し、第1キヤリアセン
ス手段の入力端子を第1伝送路に接続した接続点を第1
入端とし、第2キヤリアセンス手段の入力端子を第2伝
送路に接続した接続点を第2入力端とし、第1および第
2キヤリアセンス手段の出力端子が第1論理演算手段の
それぞれの入力端子に接続され、第1キヤリアセンス手
段の出力端子と第1論理演算手段の出力端子とが第2論
理演算手段のそれぞれの入力端子に接続され第2キヤリ
アセンス手段の出力端子と第1論理演算手段の出力端子
とが第3論理演算手段のそれぞれの入力端子に接続さ
れ、第2および第3論理演算手段の各々の出力端子を第
1および第2出力端とした構成とし、第2および第3論
理演算手段の出力信号がそれぞれ第1および第2伝送路
の障害を検出した場合に出力される障害検出信号に対応
してなることとしたため、いずれの通信装置も送信をし
ていないのかあるいは伝送路の障害なのかを判別するた
めの伝送路の監視時間を1ビツトタイムとすることが可
能となり、伝送路の障害を素早く検出することができ前
記の問題点の解決を図ることが可能となる。
As described above with reference to the specific embodiments, the failure detection device of the communication device determines whether or not there is transmission data on the first and second transmission lines, and determines whether or not there is transmission data for each bit. First and second carrier sense means for outputting a signal when the presence of data is detected;
And a first logical operation means for performing an OR operation of two inputs for processing the output signal of the second carrier sense means and a second operation for an exclusive OR operation of the two inputs
And a third logical operation means, and a connection point at which the input terminal of the first carrier sense means is connected to the first transmission line is a first
The second input end is a connection point where the input terminal of the second carrier sense means is connected to the second transmission line as the input end, and the output terminals of the first and second carrier sense means are the respective inputs of the first logical operation means. Connected to the terminals, the output terminal of the first carrier sense means and the output terminal of the first logic operation means are connected to the respective input terminals of the second logic operation means, and the output terminal of the second carrier sense means and the first logic operation. The output terminal of the means is connected to the respective input terminals of the third logical operation means, and the output terminals of the second and third logical operation means are the first and second output terminals, respectively. Since the output signals of the three logical operation means correspond to the failure detection signals output when the failures of the first and second transmission lines are detected, respectively, there is a possibility that no communication device is transmitting. I It is possible to set the transmission line monitoring time for determining whether there is a transmission line fault to one bit time, and it is possible to quickly detect the transmission line fault and to solve the above problems. .

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

第1図は、この発明の一実施例を示す通信装置の受信部
の構成図、 第2図は、この発明の一実施例を示すキヤリアセンス手
段の構成図、 第3図は、キヤリアセンス手段の動作を示す波形図、 第4図は、従来の通信装置の受信部の構成図、 第5図は、通信システムの全体構成図である。 1,2…伝送路、100…制御装置、200…受信装置、300…差
動レシーバ、400,510,520…障害検出装置、410,420…キ
ヤリアセンス手段、440,450…E−OR回路、411,511…エ
ツジ検出回路、430,412,413…OR回路、414,514…RSフリ
ツプフロツプ、415,512…カウンタ、4150〜4156…T型
フリツプフロツプ、416,513…デコーダ、4160…インバ
ータ回路、4161〜4165…D型フリツプフロツプ、4166…
AND回路、610…マスター、620,630…スレーブ
FIG. 1 is a block diagram of a receiving section of a communication device showing an embodiment of the invention, FIG. 2 is a block diagram of a carrier sense means showing an embodiment of the invention, and FIG. 3 is a carrier sense means. 4 is a waveform diagram showing the operation of FIG. 4, FIG. 4 is a configuration diagram of a receiving unit of a conventional communication device, and FIG. 5 is an overall configuration diagram of a communication system. 1,2 ... Transmission path, 100 ... Control device, 200 ... Reception device, 300 ... Differential receiver, 400,510,520 ... Fault detection device, 410,420 ... Carrier sense means, 440,450 ... E-OR circuit, 411,511 ... Edge detection circuit, 430,412,413 ... OR circuit, 414, 514 ... RS flip-flop, 415, 512 ... Counter, 4150-4156 ... T-type flip-flop, 416, 513 ... Decoder, 4160 ... Inverter circuit, 4161-4165 ... D-type flip-flop, 4166 ...
AND circuit, 610 ... Master, 620,630 ... Slave

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】2重化した伝送路を介してデータの1ビツ
ト毎に信号の立上りまたは立下がりがあるデータ変調符
号を用いて生成された伝送データの多重通信を行なう通
信装置において、 第1および第2伝送路上に前記伝送データがあるのかな
いのかを前記伝送データの1ビツト毎に判別し前記伝送
データがあることを検出すると信号を出力する第1およ
び第2キヤリアセンス手段と、2つの入力の論理和演算
を行なう第1論理演算手段および2つの入力の排他的論
理和演算を行なう第2および第3論理演算手段とを具備
し、 前記第1キヤリアセンス手段の入力端子を前記第1伝送
路に接続した接続点を第1入力端とし、前記第2キヤリ
アセンス手段の入力端子を前記第2伝送路に接続した接
続点を第2入力端とし、前記第1および第2キヤリアセ
ンス手段の出力端子が前記第1論理演算手段のそれぞれ
の入力端子に接続され、前記第1キヤリアセンス手段の
出力端子と前記第1論理演算手段の出力端子とが前記第
2論理演算手段のそれぞれの入力端子に接続され、前記
第2キヤリアセンス手段の出力端子と前記第1論理演算
手段の出力端子とが前記第3論理演算手段のそれぞれの
入力端子に接続され、前記第2および第3論理演算手段
の各々の出力端子を第1および第2出力端とした構成と
し、 前記第2および第3論理演算手段の出力信号がそれぞれ
前記第1および第2伝送路の障害を検出した場合に出力
される障害検出信号に対応してなることを特徴とした通
信装置の障害検出装置。
1. A communication device for performing multiplex communication of transmission data generated by using a data modulation code in which a signal rises or falls every one bit of data via a duplicated transmission line. Also, it is determined whether or not the transmission data is present on the second transmission path for each bit of the transmission data, and when it detects that the transmission data is present, first and second carrier sense means for outputting a signal and two A first logical operation means for performing an OR operation of inputs and a second and a third logical operation means for performing an exclusive OR operation of two inputs, the input terminal of the first carrier sense means being the first terminal. The connection point connected to the transmission line is the first input end, and the input terminal of the second carrier sense means is the second input end, the connection point connected to the second transmission line is the first and second carriers. An output terminal of the sense means is connected to each input terminal of the first logical operation means, and an output terminal of the first carrier sense means and an output terminal of the first logical operation means are each of the second logical operation means. Of the second carrier sense means and the output terminal of the first logic operation means are connected to respective input terminals of the third logic operation means, and the second and third logic operation means are connected. Each of the output terminals of the arithmetic means has first and second output terminals, and is output when the output signals of the second and third logical operation means detect a fault in the first and second transmission paths, respectively. Failure detection device for a communication device, wherein the failure detection device corresponds to a failure detection signal.
JP11099690A 1990-04-26 1990-04-26 Communication device failure detection device Expired - Fee Related JP2692338B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11099690A JP2692338B2 (en) 1990-04-26 1990-04-26 Communication device failure detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11099690A JP2692338B2 (en) 1990-04-26 1990-04-26 Communication device failure detection device

Publications (2)

Publication Number Publication Date
JPH048032A JPH048032A (en) 1992-01-13
JP2692338B2 true JP2692338B2 (en) 1997-12-17

Family

ID=14549757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11099690A Expired - Fee Related JP2692338B2 (en) 1990-04-26 1990-04-26 Communication device failure detection device

Country Status (1)

Country Link
JP (1) JP2692338B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4539392B2 (en) * 2005-03-22 2010-09-08 株式会社デンソーウェーブ Data reader
JP6478613B2 (en) 2014-12-16 2019-03-06 株式会社東芝 Reception device, communication system, and interference detection method

Also Published As

Publication number Publication date
JPH048032A (en) 1992-01-13

Similar Documents

Publication Publication Date Title
JP3454297B2 (en) Method and apparatus for testing a link between network switches
EP1237282B1 (en) Circuit for the detection of clock signal period abnormalities
US4945540A (en) Gate circuit for bus signal lines
JP2692338B2 (en) Communication device failure detection device
JPH06162390A (en) Signal lamp control system
JP3392938B2 (en) Double system equipment
KR0161163B1 (en) The duplex architecture for global bus about duplex gate-way mode in the full electronic switching system
JP3686752B2 (en) Clock dependent selection circuit
JPS5945304B2 (en) Line failure detection method in two-wire communication equipment
JPS6252905B2 (en)
JPS59224938A (en) Network system
EP0211674A2 (en) Clock signal selection and security arrangements
JPH04311125A (en) Transmission line failure detecting circuit
JP3160927B2 (en) Loop test circuit
JP2001186217A (en) Multiplexing control system having function for detecting disconnection of inter-system connecting part
JPH0364131A (en) Receiver fault decision circuit
JPH0221747A (en) Network fault diagnostic device
JPS6072355A (en) On-line off-line detecting system
JPH0744557B2 (en) Loop fault handling method
JPS6365740A (en) Multiple interface circuit for data terminal equipment
JPH07212414A (en) Signal transmitter
JPH0376059B2 (en)
JPH0746290A (en) State detection circuit
JPH07104796B2 (en) Switching device
JPH04199946A (en) Output cut detection circuit

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080905

Year of fee payment: 11

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090905

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees