JPH0685885A - Communication equipment having redundant circuit - Google Patents

Communication equipment having redundant circuit

Info

Publication number
JPH0685885A
JPH0685885A JP4237515A JP23751592A JPH0685885A JP H0685885 A JPH0685885 A JP H0685885A JP 4237515 A JP4237515 A JP 4237515A JP 23751592 A JP23751592 A JP 23751592A JP H0685885 A JPH0685885 A JP H0685885A
Authority
JP
Japan
Prior art keywords
line
signal
driver
line driver
output
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.)
Withdrawn
Application number
JP4237515A
Other languages
Japanese (ja)
Inventor
Takanao Ochiai
孝直 落合
Masami Yasuda
正己 安田
Hiroki Kishimoto
裕樹 岸本
Hideki Fukushi
秀樹 福士
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP4237515A priority Critical patent/JPH0685885A/en
Publication of JPH0685885A publication Critical patent/JPH0685885A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To prevent transmission stop due to a fault of a line driver by comparing an input signal of plural line drivers with an output signal from them at a correct comparison timing, discriminating a fault to select fault-free line drivers and connecting them to a line. CONSTITUTION:Each line driver 3 receives an output signal being a converted serial bit string from a communication control section 20 receiving an input signal and converts the signal into a signal specified on a line and outputs the signal. Each comparator means 5 compares the input signal with the output signal of each driver 3 by using a correct comparison timing generated from a timing clock source 6. The means 5 discriminates either of a fault or a normal state depending on whether or not the input signal and the output signal of each driver 3 are equal to each other. A changeover connection means 8 selects a normal driver 3 depending on the discrimination and connects the driver to the line. Thus, a fault of a driver 3 is detected in real time to prevent transmission stop due to the fault.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、通信回線で接続され、
相互にデータの送受信を行うコンピュータや端末装置等
の通信制御に係り、特に複数の回線ドライバと夫々の回
線ドライバの故障を検出する手段を備えて、故障してい
ない回線ドライバに切り換えることができる冗長回路を
有する通信装置に関するものである。
The present invention relates to a communication line connected to
Redundant switch that can switch to a non-faulty line driver, especially for communication control of computers and terminal devices that send and receive data to and from each other, especially with multiple line drivers and means for detecting faults in each line driver The present invention relates to a communication device having a circuit.

【0002】近来、販売時点情報管理(Point Of Sale
s:POS)システム等において、一対或いは二対の回
線に、1つの親局(マスター機)と複数の子局(スレー
ブ機)が接続され、ベースバンド信号も用いて、ポーリ
ング・レスポンス方式によって通信が行われているが、
各装置の通信制御部の回線ドライバの故障の確率が高
く、通信が停止するだけでなく他の通信信号全体に影響
してシステム全体が停止することがあるので、回線ドラ
イバの故障の影響を回避する方法が望まれている。
Recently, point of sale information management (Point Of Sale
s: POS system, etc., one master station (master machine) and multiple slave stations (slave machines) are connected to one or two pairs of lines, and communication is also performed by using a baseband signal and a polling response method. Is being done,
The probability of failure of the line driver of the communication control unit of each device is high, and not only communication stops but also the entire system may stop by affecting all other communication signals. A method to do is desired.

【0003】[0003]

【従来の技術】図7(a) 及び(b) は本発明が適用される
通信装置で構成された通信システムのブロック図を示
す。
2. Description of the Related Art FIGS. 7 (a) and 7 (b) are block diagrams of a communication system including communication devices to which the present invention is applied.

【0004】図7(a)は2ワイヤー通信方式の構成で、
コンピュータ1(即ち、マスター機)の通信制御部10に回
線ドライバ3A及びレシーバ4Aが設けられ、各端末装置2
a,2b,─( 即ち、スレーブ機) の通信制御部20a,20b,─
に回線ドライバ3a,3b,─及びレシーバ4a,4b,─ が設け
られ、半二重の手順で回線をアクセスする。
FIG. 7A shows a 2-wire communication system configuration.
A line driver 3A and a receiver 4A are provided in the communication control unit 10 of the computer 1 (that is, the master machine), and each terminal device 2
a, 2b, ─ (that is, slave unit) communication control unit 20a, 20b, ─
Are provided with line drivers 3a and 3b, and receivers 4a and 4b, to access the line in a half-duplex procedure.

【0005】また図7(b) は4ワイヤー通信方式の構成
で、コンピュータ1aの通信制御部10aに回線ドライバ3
A′及びレシーバ4A′が設けられ、各端末装置2a′,2b
′─の通信制御部20a ′,20b′─に回線ドライバ3a′,
3b ′, ─及びレシーバ4a′,4b′, ─が設けられ、全二
重通信が可能である。
FIG. 7B shows a 4-wire communication system configuration, in which the line driver 3 is connected to the communication control unit 10a of the computer 1a.
A'and receiver 4A 'are provided, and each terminal device 2a', 2b
The line driver 3a ', the communication control unit 20a', 20b ',
3b ',-and receivers 4a', 4b ',-are provided to enable full-duplex communication.

【0006】図7(a) 及び(b) のいずれの方式でも、送
信信号を回線上で規定された所定の物理的仕様(電圧、
インピーダンス等)に変換する回線ドライバ3A,3a,3b,
─、3A′,3a ′,3b ′, ─が必要である。この回線ドラ
イバ3A,3a,3b, ─、3A′,3a′,3b ′, ─は、直接回線
に接続されるか、或いは簡易なサージ(外部要因による
電流、電圧及び電力の変動)対策・避雷回路を付加して
回線に接続されている。
In both of the systems shown in FIGS. 7 (a) and 7 (b), the transmission signal is transmitted on a line to a predetermined physical specification (voltage, voltage,
Line driver 3A, 3a, 3b, which converts to impedance etc.)
─, 3A ′, 3a ′, 3b ′, ─ are required. These line drivers 3A, 3a, 3b, ─, 3A ′, 3a ′, 3b ′, ─ are either directly connected to the line or simple surges (changes in current, voltage and power due to external factors) It is connected to the line by adding a circuit.

【0007】[0007]

【発明が解決しようとする課題】上記従来方法によれ
ば、回線ドライバの出力が装置の外側へ接続されるた
め、外来の雑音や静電気、落雷等の電気的ショックによ
り動作不良や破壊等の影響を受ける確率が極めて高い。
According to the above-mentioned conventional method, since the output of the line driver is connected to the outside of the device, the influence of malfunction or destruction due to external noise, static electricity, electric shock such as lightning strike, etc. The probability of receiving is extremely high.

【0008】この故障や動作不良の結果として、回線ド
ライバの出力が回線上の他の通信信号に影響しない状態
(出力段がハイインピーダンスになるように故障する)
となれば、被害はその装置だけで済むが、逆に一定レベ
ル(マーク或いはスペース)を出し続けたりするように
故障すると、他の通信信号全体に影響し、全装置が通信
不能となりシステム全体が停止してしまう危険性があ
る。
As a result of this failure or malfunction, the output of the line driver does not affect other communication signals on the line (the output stage fails so as to have a high impedance).
In that case, damage can be done only to that device, but on the other hand, if it fails to keep giving a certain level (mark or space), it will affect all other communication signals and all devices will be unable to communicate and the whole system will be lost. There is a risk of stopping.

【0009】またそのような障害の復旧の為に、故障個
所を特定しようとする場合も装置1台毎に確認しなけれ
ばならず、復旧に長時間掛かる。という問題点がある。
Further, in order to recover such a failure, it is necessary to check each device even when trying to identify a failure location, and it takes a long time to recover. There is a problem.

【0010】本発明は、回線ドライバが故障しても、故
障していない回線ドライバに切り換えて使用することが
できるので、通信を停止させずに済み、またすべての回
線ドライバが故障しても、他の通信に影響を及ぼすこと
がなく、更に接続されていない回線ドライバの故障の監
視を常時行うことができる冗長回路を有する通信装置を
提供することを目的としている。
According to the present invention, even if a line driver fails, it can be used by switching to a line driver that has not failed. Therefore, it is not necessary to stop communication, and even if all line drivers fail, It is an object of the present invention to provide a communication device having a redundant circuit that does not affect other communication and can constantly monitor a failure of a line driver that is not connected.

【0011】[0011]

【課題を解決するための手段】図1は本発明の原理図で
ある。図において、3は送信すべき信号を直列のビット
列に変換する通信制御部20に接続され、回線を介して送
受信する信号を回線に規定された物理的規格の信号に変
換する複数の回線ドライバ、5は複数の回線ドライバ3
に夫々対応し、回線ドライバ3の入力信号及び出力信号
を比較して等しいか否かを判定する複数の比較手段、6
は比較手段5に正しい比較タイミングを与えるタイミン
グクロック源、8は複数の比較手段5の判定出力に応じ
て複数の回線ドライバ3を切り換えて、いずれか1つの
回線ドライバ3の出力を回線に接続する切換接続手段で
ある。
FIG. 1 shows the principle of the present invention. In the figure, 3 is a plurality of line drivers which are connected to a communication control unit 20 for converting a signal to be transmitted into a serial bit string, and which convert a signal transmitted / received through a line into a signal of a physical standard defined in the line, 5 is a plurality of line drivers 3
A plurality of comparing means, each of which corresponds to the above, and compares the input signal and the output signal of the line driver 3 to determine whether they are equal, 6
Is a timing clock source for giving the correct comparison timing to the comparing means 5, and 8 switches the plurality of line drivers 3 in accordance with the judgment outputs of the plurality of comparing means 5 to connect the output of any one of the line drivers 3 to the line. It is a switching connection means.

【0012】従って切換接続手段8により複数の比較手
段5の出力に応じて複数の回線ドライバ3を切り換えて
接続するように構成されている。
Therefore, the switching connection means 8 is configured to switch and connect the plurality of line drivers 3 in accordance with the outputs of the plurality of comparison means 5.

【0013】[0013]

【作用】回線ドライバ3の故障を検出する方法は、回線
ドライバ3の入力信号と出力信号が同時に同じ変化をし
ていることを調べることにより確認できる。しかし回線
ドライバ3内部での信号の伝播遅延等があるために、単
に比較手段5で比較するわけに行かない。一般にマルチ
ドロップ方式での通信を行う場合は、同期通信方式が採
用されているので、この送信用クロックで比較手段5の
出力をサンプリングして、伝送データ1ビット毎のデー
タの変化点の中心で比較すれば良い。
The method of detecting the failure of the line driver 3 can be confirmed by checking that the input signal and the output signal of the line driver 3 are simultaneously changing. However, since there is a signal propagation delay inside the line driver 3, the comparison means 5 cannot simply compare. In general, when performing communication by the multi-drop method, since a synchronous communication method is adopted, the output of the comparison means 5 is sampled at this transmission clock and at the center of the change point of the data for each 1-bit transmission data. Just compare.

【0014】但しこの比較は他の装置の送信信号で行わ
れてはならないため、このクロックは自装置の送信中の
みに発生するように制御される。即ち、タイミングクロ
ック源6からの正しい比較タイミングを与えられなが
ら、複数の回線ドライバ3の入力信号及び出力信号を複
数の比較手段5で比較し、この比較手段5の出力が、
“一致”であれば回線ドライバ3は正常であり、“不一
致”であれば、その回線ドライバ3は故障していること
が分かる。
However, since this comparison must not be performed by the transmission signal of another device, this clock is controlled so that it is generated only during the transmission of its own device. That is, while the correct comparison timing is given from the timing clock source 6, the input signals and output signals of the plurality of line drivers 3 are compared by the plurality of comparing means 5, and the output of this comparing means 5 is
If “match”, the line driver 3 is normal, and if “mismatch”, the line driver 3 is out of order.

【0015】そこで複数の比較手段3の夫々の判定出力
に応じて、つまり、いずれの比較手段5の判定出力も
“一致”であれば、切換接続手段8によりどちらか1つ
を適当に選択して回線ドライバ3を回線に接続する。
Therefore, depending on the judgment output of each of the plurality of comparing means 3, that is, if the judgment output of any of the comparing means 5 is "match", one of them is appropriately selected by the switching connecting means 8. To connect the line driver 3 to the line.

【0016】またいずれか1つの比較手段5の判定出力
が“不一致”であれば、切換接続手段8により“一致”
している出力側の回線ドライバ3を回線に接続する。複
数の比較手段5の判定出力がいずれも“不一致”であれ
ば、すべての回線ドライバ3が故障しているので、切換
接続手段8は適当な回線ドライバ3を選択し、接続を
“断”にする。
If the judgment output of any one of the comparing means 5 is "mismatch", the switch connecting means 8 makes "match".
The line driver 3 on the output side is connected to the line. If all the judgment outputs of the plurality of comparing means 5 are "mismatch", all the line drivers 3 are out of order. Therefore, the switching connecting means 8 selects an appropriate line driver 3 and disconnects the connection. To do.

【0017】このようにして、複数の回線ドライバ3中
の故障していない回線ドライバ3を選択して回線を接続
することができるので、回線ドライバ3の故障による通
信の停止を防止することができる。
In this way, since it is possible to select the line driver 3 which has not failed in the plurality of line drivers 3 and connect the lines, it is possible to prevent the communication from being stopped due to the failure of the line driver 3. .

【0018】[0018]

【実施例】以下、従来例で説明したコンピュータ及び各
端末装置に本発明を適用した一実施例を図2〜図4を参
照して説明する。図7(a) 及び(b) のコンピュータ1,1a
及び端末装置2a,2b,─、2a′,2b ′, ─に夫々本発明が
同様に適用することができるので、以下端末装置2aを例
として説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to the computer and each terminal device described in the conventional example will be described below with reference to FIGS. Computers 1 and 1a of FIGS. 7 (a) and 7 (b)
Since the present invention can be similarly applied to the terminal devices 2a, 2b,-, 2a ', 2b',-, the terminal device 2a will be described below as an example.

【0019】図2は本発明の実施例を示すブロック図、
図3は実施例の比較タイミングを示す説明図、図4は接
続選択部の動作説明図、図5は実施例の切換制御部の動
作説明部、図6は実施例のフローチャートを示す。全図
を通じて同一符号は同一対象物を示す。
FIG. 2 is a block diagram showing an embodiment of the present invention,
FIG. 3 is an explanatory diagram showing comparison timing of the embodiment, FIG. 4 is an operation explanatory diagram of the connection selection unit, FIG. 5 is an operation explanatory unit of the switching control unit of the embodiment, and FIG. 6 is a flowchart of the embodiment. The same reference numerals denote the same objects throughout the drawings.

【0020】図2は端末装置2aの通信処理部を例示して
おり、図において、3a,30aは回線ドライバ、4a,40aはレ
シーバ、5a,5b はフリップフロップ (以下FFという)
回路、6aはクロック発生部、7は接続選択部、8aは切換
部、9は接続部、11はテストパターン発生部、12は切換
制御部、13,14 はEXOR(排他的論理和)回路、15,1
6 はAND(論理積)回路、20A は通信制御部、17は情
報処理部、18は通信処理部を示す。
FIG. 2 illustrates the communication processing unit of the terminal device 2a. In the figure, 3a and 30a are line drivers, 4a and 40a are receivers, and 5a and 5b are flip-flops (hereinafter referred to as FF).
A circuit, 6a is a clock generation unit, 7 is a connection selection unit, 8a is a switching unit, 9 is a connection unit, 11 is a test pattern generation unit, 12 is a switching control unit, 13 and 14 are EXOR (exclusive OR) circuits, 15,1
6 is an AND (logical product) circuit, 20A is a communication control unit, 17 is an information processing unit, and 18 is a communication processing unit.

【0021】本発明は、複数の回線ドライバ3a,30aを設
けて、その入力信号と出力信号を比較して、故障の有無
をチェックして、故障していない方を選択して回線を接
続するものであり、従って回線ドライバ30a、レシーバ
40a、EXOR回路14、AND回路16及びFF回路5b
は、予備系(冗長回路)である。
According to the present invention, a plurality of line drivers 3a and 30a are provided, the input signal and the output signal of the line drivers 3a and 30a are compared with each other to check whether or not there is a failure, and select the one without a failure to connect the line. Therefore, the line driver 30a, the receiver
40a, EXOR circuit 14, AND circuit 16, and FF circuit 5b
Is a backup system (redundant circuit).

【0022】図2の回線ドライバ3a,3b 、FF回路5a,5
b 及びクロック発生部6aは、図1の回線ドライバ3及び
タイミングクロック源6に夫々対応し、図2のEXOR
回路13,14 、AND回路15,16 及びFF回路5a,5b は、
図1の比較回路5に対応し、また図2の接続選択部7、
切換部8a及び接続部9は、図1の切換接続手段7に対応
している。
The line drivers 3a and 3b and the FF circuits 5a and 5 shown in FIG.
b and the clock generator 6a correspond to the line driver 3 and the timing clock source 6 of FIG. 1, respectively.
The circuits 13 and 14, the AND circuits 15 and 16 and the FF circuits 5a and 5b are
Corresponding to the comparison circuit 5 of FIG. 1, the connection selector 7 of FIG.
The switching unit 8a and the connecting unit 9 correspond to the switching connecting unit 7 of FIG.

【0023】情報処理部17は、送信データを送信電文に
編集処理し、受信電文を受信データに編集処理する。通
信処理部18は、送受信電文の送受信を司る。通信制御部
20A は、送信すべきデータ(TXD) をパラレル/シリアル
変換し、受信したデータ(RXD) をシリアル/パラレル変
換すると共に、送信時に送信要求信号(RTS) を発信す
る。またクロック発生部6aを備えている。クロック発生
部6aは、回路ドライバ3a,30aの入力信号及び出力信号の
正しい比較タイミングをFF回路5a,5b に供給する送信
タイミングクロック信号(TXCLK) を発生する。
The information processing section 17 edits the transmission data into a transmission message and the reception message into a reception data. The communication processing unit 18 controls transmission / reception of transmission / reception telegrams. Communication control unit
The 20A performs parallel / serial conversion on the data to be transmitted (TXD), converts the received data (RXD) to serial / parallel, and at the same time transmits a transmission request signal (RTS). It also includes a clock generator 6a. The clock generator 6a generates a transmission timing clock signal (TXCLK) that supplies the FF circuits 5a and 5b with correct comparison timings of the input signals and output signals of the circuit drivers 3a and 30a.

【0024】回線ドライバ3a,30aは、後述するように故
障時に互いに切り換えられてデータ送信に使用される複
数の回線ドライバである。レシーバ4a,40aは、データを
受信すると共に、送信時の回線ドライバ3a,30aの故障チ
ェックの為にサンプリングされた回線ドライバ3a,30aの
出力を受信する。
The line drivers 3a and 30a are a plurality of line drivers which are switched to each other and used for data transmission when a failure occurs as described later. The receivers 4a and 40a receive the data and the outputs of the line drivers 3a and 30a sampled for the failure check of the line drivers 3a and 30a at the time of transmission.

【0025】FF回路5a,5b は、例えばTTL (米国テ
キサス・インスツルメンツ (TI)社製のSN7474
相当) で構成され、EXOR回路13,14 及びAND回路
15,16からの夫々2つの入力の論理レベルが異なる時
に、“1”を出力するものであるため、回線ドライバ3
a,30aの入力信号と出力信号が異なっている (故障して
いる) 時に夫々“1”を出力する。但しこの比較は他の
装置の送信信号で行われてはならないため、FF回路5
a,5b のクロック(CK)は自装置の送信中のみに発生する
ように制御される。
The FF circuits 5a and 5b are, for example, TTL (SN7474 manufactured by Texas Instruments (TI), USA).
Equivalent), EXOR circuits 13 and 14 and an AND circuit
The line driver 3 outputs "1" when the logic levels of the two inputs from 15 and 16 are different.
When the input signal and output signal of a and 30a are different (failure), "1" is output respectively. However, since this comparison must not be made with the transmission signals of other devices, the FF circuit 5
The clocks (CK) of a and 5b are controlled so that they are generated only during transmission of the own device.

【0026】図3のタイムチャートに示すように、回線
ドライバ3a,30aを経て受信された信号は伝播遅延を生じ
ており、送信データとのずれがあるためこの影響がない
ように、比較タイミングは、この送信用クロックでEX
OR回路13,14 の出力をサンプリングして、EXOR回
路13,14 の出力1ビット毎のデータの変化点の中心で比
較する。
As shown in the time chart of FIG. 3, the signal received through the line drivers 3a and 30a has a propagation delay, and since there is a deviation from the transmission data, the comparison timing is set so as not to have this influence. , EX with this transmission clock
The outputs of the OR circuits 13 and 14 are sampled, and the outputs of the EXOR circuits 13 and 14 are compared at the center of the change point of data for each 1 bit.

【0027】接続選択部7は、図4(a) 及び(b) に示す
ように、FF回路5a,5b の双方からの出力信号A,Bに
応じて、制御動作信号X,Yを発信して故障していない
方を選択して、切換部8a及び接続部9に指令し、切換部
8aを故障していない回線ドライバ3a,30aのいずれか側に
切り換えて接続部9に回線と接続させる。即ち、出力信
号A,Bの組み合わせ
As shown in FIGS. 4 (a) and 4 (b), the connection selecting section 7 transmits the control operation signals X and Y according to the output signals A and B from both the FF circuits 5a and 5b. Select the one that has not failed, and give an instruction to the switching unit 8a and the connecting unit 9,
8a is switched to either side of the line drivers 3a, 30a which have not failed, and the connection section 9 is connected to the line. That is, the combination of the output signals A and B

〔00〕又は〔01〕で制御動作
信号Xは信号D1を接続、制御動作信号Yは回線を接続す
る。また〔10〕で制御動作信号Xは信号D2を接続、制
御動作信号Yは回線を接続する。〔11〕で制御動作信
号Xは信号D2を接続、制御動作信号Yは回線を接続しな
い。
In [00] or [01], the control operation signal X connects the signal D1 and the control operation signal Y connects the line. In [10], the control operation signal X connects the signal D2 and the control operation signal Y connects the line. In [11], the control operation signal X connects the signal D2 and the control operation signal Y does not connect the line.

【0028】切換部8aは、接続選択部7の選択に基い
て、回線ドライバ3a,30aの故障していない方へ切り換え
る。接続部9は、切換部8aが切り換えた回線ドライバ3
a,30aのいずれかを回線に接続する。
The switching unit 8a switches to the one in which the line drivers 3a and 30a are not in failure, based on the selection of the connection selection unit 7. The connection unit 9 is the line driver 3 switched by the switching unit 8a.
Connect either a or 30a to the line.

【0029】テストパターン発生部11は、回路ドライバ
30aの入力信号及び出力信号の正しい比較タイミングを
FF回路5bに供給するチェック用データ、及びクロック
信号を発生する。これは通信中に回線ドライバ3aが使用
されている時に、回線ドライバ30aが正常であるか否か
を常時チェックしておくために設けられている。
The test pattern generator 11 is a circuit driver.
The check signal and the clock signal for supplying the correct comparison timing of the input signal and the output signal of 30a to the FF circuit 5b are generated. This is provided to constantly check whether or not the line driver 30a is normal when the line driver 3a is used during communication.

【0030】切換制御部12は、通信制御部20A からのク
ロック信号A1及び送信データA2と、テストパターン発生
部11で発生されたクロック信号B1及びチェック用データ
B2との接続の切り換えを制御する。即ち、図5(a) 及び
(b) に示すように、回線ドライバ3a及び回線ドライバ30
aの故障をチェックしている時、及び回線ドライバ30a
が回線に接続されている (回線ドライバ3aが故障で回線
ドライバ30aにより送信されている)時には、出力C1、
C2、C3は夫々クロック信号A1、送信データA2、及び回線
ドライバ30aを送信可能にする信号A3を出力し、回線ド
ライバ30aが回線に接続されていない(回線ドライバ3a
により送信されている) 時には、出力C1及びC2は夫々ク
ロック信号B1及び送信データB2を出力し、出力C3は常時
“1”を出力するように制御する。
The switching control unit 12 includes a clock signal A1 and transmission data A2 from the communication control unit 20A, a clock signal B1 generated by the test pattern generation unit 11 and a check data.
Controls switching of connection with B2. That is, as shown in FIG.
As shown in (b), line driver 3a and line driver 30
When checking the failure of a, and the line driver 30a
Is connected to the line (the line driver 3a is faulty and is being transmitted by the line driver 30a), the output C1,
C2 and C3 respectively output a clock signal A1, transmission data A2, and a signal A3 that enables transmission of the line driver 30a, and the line driver 30a is not connected to the line (line driver 3a
The output C1 and C2 output the clock signal B1 and the transmission data B2, respectively, and the output C3 is controlled to always output "1".

【0031】このような構成及び機能を有するので、次
に図6のフローチャートにより作用を説明する。 情報処理部17で編集されて通信処理部18へ送られた送
信データは、通信制御部20A により回線上でのプロトコ
ルに従ってフレームに構成され、シリアルデータに変換
されてTXD端子より出力される。同時に回線ドライバ
3a,30aを送信可能にするRTS端子がONとなり、シリ
アルデータが回線ドライバ3a,30aに入力する。この時、
送信信号はレシーバ4a,4b を通して回路上の信号電圧に
変換され、回線ドライバ3a,30aの入力と共にEXOR回
路13,14 に入力され送信可能となる。
Having such a structure and function, the operation will be described below with reference to the flowchart of FIG. The transmission data edited by the information processing unit 17 and sent to the communication processing unit 18 is formed into a frame by the communication control unit 20A according to the protocol on the line, converted into serial data, and output from the TXD terminal. Line driver at the same time
The RTS terminal that enables transmission of 3a and 30a is turned on, and serial data is input to the line drivers 3a and 30a. At this time,
The transmission signal is converted into a signal voltage on the circuit through the receivers 4a and 4b, and is input to the EXOR circuits 13 and 14 together with the inputs of the line drivers 3a and 30a so that the signals can be transmitted.

【0032】EXOR回路13,14 は両信号が異なって
いる時に“1”を出力する。但しこの出力は回路部品の
遅延等により時間的に全く同一でないため、FF回路5
a,5bの入力に加えられる。このFF回路5a,5b へのクロ
ック信号は、AND回路15,16 で通信制御部20A の送信
クロックとRTS端子の信号のANDを取ったものであ
り、送信データが有効な時のみクロック信号がAND回
路15,16 より出力される。このFF回路5a,5b によりE
XOR回路13,14 の出力は、送信信号の変化点の中心で
サンプリングされるため、十分なマージンを持ち、上記
回路部品の遅延等の問題点はなくなる。ここで、このF
F回路5a,5b の出力A,Bが“1”になるということ
は、EXOR回路13,14 の入力が異なることで、即ち、
回線ドライバ3a,30aが故障していると判断できる。(レ
シーバ4a,4b も故障する可能性もあるが、回線ドライバ
3a,30aの故障率の方が高いためレシーバ4a,4b の故障の
可能性は少ない。) もし、FF回路5a,5b の出力A,Bが
The EXOR circuits 13 and 14 output "1" when the two signals are different. However, since this output is not exactly the same in time due to the delay of the circuit parts, the FF circuit 5
Added to a, 5b inputs. The clock signal to the FF circuits 5a and 5b is obtained by ANDing the transmission clock of the communication control unit 20A and the signal of the RTS terminal in the AND circuits 15 and 16, and the clock signal is ANDed only when the transmission data is valid. Output from circuits 15 and 16. This FF circuit 5a, 5b makes E
The outputs of the XOR circuits 13 and 14 are sampled at the center of the change point of the transmission signal, so that they have a sufficient margin and the problems such as the delay of the above circuit parts are eliminated. Where this F
The fact that the outputs A and B of the F circuits 5a and 5b become "1" means that the inputs of the EXOR circuits 13 and 14 are different, that is,
It can be determined that the line drivers 3a and 30a are out of order. (Receivers 4a and 4b may also fail, but line driver
Since the failure rate of 3a, 30a is higher, the possibility of failure of the receivers 4a, 4b is less. ) If the outputs A and B of the FF circuits 5a and 5b are

〔00〕又は
〔01〕であれば、接続制御部7は制御動作信号Xによ
り切換部8aに指令して信号D1を接続し、制御動作信号Y
により接続部9に指令して回線を接続する。即ち、ドラ
イバ回路3aが故障していない場合にはドライバ回路3aが
選択されて接続される。
If it is [00] or [01], the connection control unit 7 instructs the switching unit 8a by the control operation signal X to connect the signal D1, and the control operation signal Y
Then, the connection section 9 is instructed to connect the line. That is, when the driver circuit 3a has not failed, the driver circuit 3a is selected and connected.

【0033】また出力A,Bが〔10〕であれば信号
Xにより切換部8aに指令して信号D2を接続、信号Yによ
り接続部9に指令して回線を接続する。即ち、ドライバ
回路3aが故障しているが、ドライバ回路30aが故障して
いない場合には、ドライバ回路30aが選択されて接続さ
れる。
If the outputs A and B are [10], the switching unit 8a is instructed by the signal X to connect the signal D2, and the connecting unit 9 is instructed by the signal Y to connect the line. That is, when the driver circuit 3a has failed but the driver circuit 30a has not failed, the driver circuit 30a is selected and connected.

【0034】もし、出力A,Bが〔11〕であれば、
回線ドライバ3a,30aの両方とも故障しているため、信号
Xにより切換部8aに指令して信号D1を接続し、信号Yに
より接続部9に指令して回線を接続しない。
If the outputs A and B are [11],
Since both of the line drivers 3a and 30a are out of order, the switching unit 8a is instructed by the signal X to connect the signal D1, and the connection unit 9 is instructed by the signal Y to disconnect the line.

【0035】上記で回線ドライバ3aが選択されて図
示していないコンピュータ1に対する送信データの送信
が開始されると、切換制御部12は出力C1,C2 をクロック
信号A1及び送信データから信号A2からテストパターン発
生部11から送られるクロック信号B1及びテスト用データ
B2に接続を切り換える。
When the line driver 3a is selected as described above and transmission of transmission data to the computer 1 (not shown) is started, the switching controller 12 tests the outputs C1 and C2 from the clock signal A1 and the transmission data from the signal A2. Clock signal B1 and test data sent from the pattern generator 11
Switch the connection to B2.

【0036】かくて回線ドライバ30aはクロック信号
B1、テスト用データB2及び回線ドライバ30aの送信を可
能にする信号A3とによって、故障であるか否かを常時チ
ェックされ、FF回路5bの出力は接続選択部7へ送られ
る。
Thus, the line driver 30a uses the clock signal
Whether or not there is a failure is constantly checked by B1, the test data B2, and the signal A3 that enables transmission of the line driver 30a, and the output of the FF circuit 5b is sent to the connection selection unit 7.

【0037】もし回線ドライバ30aに故障が発生した
時には、回線ドライバ3aによる送信を停止することな
く、復旧処置が取られる。 上記で回線ドライバ3aによる送信開始後に、もし、
回線ドライバ3aに故障が発生した時には、のフローに
より直ちに回線ドライバ30a (即ち、信号D2)に切り換
えられる。
If a failure occurs in the line driver 30a, recovery action is taken without stopping the transmission by the line driver 3a. After starting transmission by the line driver 3a above,
When a failure occurs in the line driver 3a, the flow is immediately switched to the line driver 30a (that is, the signal D2).

【0038】このようにして、複数組の回線ドライバ3
a,30a、レシーバ4a,40a、FF回路5a,5b 、EXOR回
路13,14 及びAND回路15,16 を設けて冗長回路とした
ことにより、回線ドライバ3a,30aの入力及び出力を比較
して故障の有無を判断し、故障していない方に切り換え
て回線を接続することができるので、回線ドライバの故
障による送信の停止を防止することができる。
In this way, a plurality of sets of line drivers 3
a, 30a, receivers 4a, 40a, FF circuits 5a, 5b, EXOR circuits 13, 14 and AND circuits 15, 16 are provided as redundant circuits, so that the input and output of the line drivers 3a, 30a are compared and a failure occurs. It is possible to prevent the transmission from being stopped due to a failure of the line driver because it is possible to connect the line by determining whether there is any error and switching to the one that has not failed.

【0039】またテストパターン発生部11及び切換制御
部12を設けることにより、回線ドライバ3aの送信開始後
の回線ドライバ30aの故障チェックを常時行うことがで
き、故障の診断率が向上し、送信を停止せずに修復処理
を行うことができ、回線ドライバ3aが故障した時に、直
ちに回線ドライバ30aに切り換えることができる。
Further, by providing the test pattern generating section 11 and the switching control section 12, it is possible to constantly check the failure of the line driver 30a after the transmission of the line driver 3a is started, the diagnosis rate of the failure is improved, and the transmission is improved. The repair process can be performed without stopping, and when the line driver 3a fails, the line driver 30a can be immediately switched to.

【0040】上記例では、請求項1に請求項2を含めた
場合を説明したが、請求項1だけで実施しても、回線ド
ライバ30aの常時チェックはできないが、回線ドライバ
3a,30aの入力及び出力を比較して故障の有無を判断
し、故障していない方に切り換えて回線を接続すること
ができ、回線ドライバの故障による送信の停止を防止す
ることができるという効果が得られる。
In the above example, the case where claim 1 is included in claim 2 has been described, but even if only claim 1 is implemented, the line driver 30a cannot always be checked.
It is possible to judge whether there is a failure by comparing the inputs and outputs of 3a and 30a, switch to the one that does not have a failure and connect the line, and prevent the transmission from being stopped due to the failure of the line driver. Is obtained.

【0041】[0041]

【発明の効果】 以上説明したように本発明によれば、
請求項1では、送信すべき信号を直列のビット列に変換
する通信制御部に接続され、回線を介して送受信する信
号を回線で規定された物理的規格の信号に変換する複数
の回線ドライバ3と、複数の回線ドライバに夫々対応
し、回線ドライバの入力信号及び出力信号を比較して等
しいか否かを判定する複数の比較手段と、比較手段に正
しい比較タイミングを与えるタイミングクロック源と、
複数の比較手段の出力に応じて複数の回線ドライバを切
り換えて、いずれか1つの回線ドライバの出力を回線に
接続する切換接続手段とを備えたことにより、回線ドラ
イバの故障検出を動作時に行うことができ、故障の検出
をリアルタイムに行え、また故障している時は、故障し
ていない方に切り換えて回線を接続することができるの
で、回線ドライバの故障による送信の停止を防止するこ
とができ、故障時には他の通信に影響を及ぼさないよう
に切り離すことができる。
As described above, according to the present invention,
According to claim 1, a plurality of line drivers 3 connected to a communication control unit for converting a signal to be transmitted into a serial bit string and converting a signal transmitted / received via the line into a signal of a physical standard defined by the line. A plurality of comparing means corresponding to the plurality of line drivers respectively, comparing the input signal and the output signal of the line driver to determine whether they are equal, and a timing clock source for giving a correct comparison timing to the comparing means,
A line driver failure detection is performed at the time of operation by providing a switching connection unit that switches a plurality of line drivers according to outputs of a plurality of comparison units and connects the output of any one of the line drivers to a line. The failure can be detected in real time, and when there is a failure, the line can be switched by switching to the one that has not failed, so it is possible to prevent transmission stoppage due to a failure of the line driver. In case of failure, it can be separated so as not to affect other communication.

【0042】請求項2では、テスト信号及び比較タイミ
ング信号を発生するテストパターン発生手段を備え、複
数の回線ドライバの中の回線に接続されていない回線ド
ライバに、該テストパターン発生手段から発生したテス
ト信号及び比較タイミング信号を入力し、回線ドライバ
の入力信号及び出力信号を比較手段によって比較するこ
とにより、回線に接続されていない回線ドライバの故障
の発生を常時チェックすることができるので、故障の診
断率が向上し、送信を停止せずに修復処理を行うことが
でき、回線に接続されている回線ドライバに故障が発生
した場合に、直ちに切り換えることができる。という効
果がある。
According to a second aspect of the present invention, a test pattern generating means for generating a test signal and a comparison timing signal is provided, and a test generated by the test pattern generating means is applied to a line driver which is not connected to a line among a plurality of line drivers. By inputting the signal and the comparison timing signal and comparing the input signal and the output signal of the line driver by the comparison means, it is possible to constantly check the occurrence of the line driver fault not connected to the line, so that it is possible to diagnose the fault. The rate is improved, repair processing can be performed without stopping transmission, and switching can be performed immediately when a failure occurs in the line driver connected to the line. There is an effect.

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

【図1】 本発明の原理ブロック図FIG. 1 is a block diagram of the principle of the present invention.

【図2】 本発明の実施例を示すブロック図FIG. 2 is a block diagram showing an embodiment of the present invention.

【図3】 実施例の比較タイミングを示す説明図FIG. 3 is an explanatory diagram showing a comparison timing of the embodiment.

【図4】 実施例の接続選択部の動作説明図FIG. 4 is an operation explanatory diagram of a connection selection unit according to the embodiment.

【図5】 実施例の切換制御部の動作説明図FIG. 5 is an operation explanatory diagram of the switching control unit according to the embodiment.

【図6】 実施例のフローチャートFIG. 6 is a flowchart of an embodiment.

【図7】 本発明が適用される通信システムを示すブロ
ック図
FIG. 7 is a block diagram showing a communication system to which the present invention is applied.

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

1,1a はコンピュータ、 2a,2b,2a′,2b ′は端末装
置、3,3A,3A′,3a,30a は回線ドライバ、4A,4A ′,4a,
4b,4a ′,4b ′はレシーバ、 5は比較手段、
5a,5b はFF回路、 6はタイミングクロック源、
6aはクロック発生部、 7は接続選択部、 8
は切換接続手段、8aは切換部、 9は接続
部、 10,20,20a,20b,20a ′,20b′,20Aは通信
制御部、11はテストパターン発生部、
12は切換制御部、13,14 はEXOR回路、 15,1
6 はAND回路、
1,1a is a computer, 2a, 2b, 2a ', 2b' is a terminal device, 3,3A, 3A ', 3a, 30a is a line driver, 4A, 4A', 4a,
4b, 4a ', 4b' are receivers, 5 is comparison means,
5a and 5b are FF circuits, 6 is a timing clock source,
6a is a clock generator, 7 is a connection selector, 8
Is a switching connecting means, 8a is a switching unit, 9 is a connecting unit, 10, 20, 20a, 20b, 20a ', 20b', 20A are communication control units, 11 is a test pattern generating unit,
12 is a switching control unit, 13 and 14 are EXOR circuits, 15 and 1
6 is an AND circuit,

───────────────────────────────────────────────────── フロントページの続き (72)発明者 福士 秀樹 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hideki Fushi 1015 Kamiodanaka, Nakahara-ku, Kawasaki-shi, Kanagawa Fujitsu Limited

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 送信すべき信号を直列のビット列に変換
する通信制御部(20)に接続され、回線を介して送信する
信号を該回線で規定された物理的規格の信号に変換する
複数の回線ドライバ(3) と、 該複数の回線ドライバ(3) に夫々対応し、該回線ドライ
バ(3) の入力信号及び出力信号を比較して等しいか否か
を判定する複数の比較手段(5) と、 該比較手段(5)に正しい比較タイミングを与えるタイミ
ングクロック源(6)と、 該複数の比較手段(5) の判定出力に応じて該複数の回線
ドライバ(3) を切り換えて、いずれか1つの回線ドライ
バ(3) の出力を回線に接続する切換接続手段(8) とを備
えたことを特徴とする冗長回路を有する通信装置。
1. A plurality of units connected to a communication control unit (20) for converting a signal to be transmitted into a serial bit string and converting a signal to be transmitted via a line into a signal of a physical standard defined by the line. Line driver (3) and a plurality of comparing means (5) corresponding to the plurality of line drivers (3) respectively and comparing the input signal and the output signal of the line driver (3) to determine whether they are equal or not A timing clock source (6) for giving a correct comparison timing to the comparing means (5), and switching between the plurality of line drivers (3) in accordance with the judgment outputs of the plurality of comparing means (5). A communication device having a redundant circuit, comprising: switching connection means (8) for connecting the output of one line driver (3) to a line.
【請求項2】 テスト信号及び比較タイミング信号を発
生するテストパターン発生手段を備え、 前記複数の回線ドライバ(3) の中の回線に接続されてい
ない回線ドライバ(3)に、該テストパターン発生手段か
ら発生したテスト信号及び比較タイミング信号を入力
し、該回線ドライバ(3) の入力信号及び出力信号を前記
比較手段(5) によって比較することを特徴とする請求項
1の冗長回路を有する通信装置。
2. A test pattern generating means for generating a test signal and a comparison timing signal, the test pattern generating means for a line driver (3) not connected to a line among the plurality of line drivers (3). 2. A communication device having a redundant circuit according to claim 1, wherein the test signal and the comparison timing signal generated from the circuit are input, and the input signal and the output signal of the line driver (3) are compared by the comparison means (5). .
JP4237515A 1992-09-07 1992-09-07 Communication equipment having redundant circuit Withdrawn JPH0685885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4237515A JPH0685885A (en) 1992-09-07 1992-09-07 Communication equipment having redundant circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4237515A JPH0685885A (en) 1992-09-07 1992-09-07 Communication equipment having redundant circuit

Publications (1)

Publication Number Publication Date
JPH0685885A true JPH0685885A (en) 1994-03-25

Family

ID=17016470

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4237515A Withdrawn JPH0685885A (en) 1992-09-07 1992-09-07 Communication equipment having redundant circuit

Country Status (1)

Country Link
JP (1) JPH0685885A (en)

Similar Documents

Publication Publication Date Title
US5629685A (en) Segmentable addressable modular communication network hubs
US7861110B2 (en) System, method, and adapter for creating fault-tolerant communication busses from standard components
JPH04242463A (en) State-change informing mechanism and method in data processing input/output system
US5680113A (en) Dynamic address assignments to serially connected devices
JPH03204258A (en) Fault detection system, transmission line reconstitution system and communication system
CN114884767A (en) Synchronous dual-redundancy CAN bus communication system, method, equipment and medium
JPH0685885A (en) Communication equipment having redundant circuit
JPH1132449A (en) Decentralized supervisory and controlling system
JP3261014B2 (en) Module replacement method and self-diagnosis method in data processing system
JPS6032374B2 (en) data transmission equipment
KR0152229B1 (en) Low price duplication node
JP4423402B2 (en) Redundant transmission device
JPH09214537A (en) Loopback method and loopback device for transmission control
JP3133172B2 (en) Multi-wave ring LAN fault management system
JPH07240264A (en) Abnormal cable connection detecting circuit and its method
JPH08163162A (en) Loop type data transmitter
KR100332693B1 (en) Management System and Method for Medium Redundancy in the IEEE 802.4 Protocol
JP2956385B2 (en) Bus line monitoring method
JPH08163153A (en) Bus type duplex transmission device
JPS58105649A (en) Data trnsmitting method for double loop-like trasnmission system
JP2743893B2 (en) Driver circuit failure determination method, failure location reporting method and peripheral device
JPH0454747A (en) Data transfer system
JPH07212277A (en) Line switching system
JPS61283253A (en) Transmission control system
JPH10154971A (en) Multiplex communication equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991130