JPH01268236A - Line switching device for data transmission system - Google Patents

Line switching device for data transmission system

Info

Publication number
JPH01268236A
JPH01268236A JP63096358A JP9635888A JPH01268236A JP H01268236 A JPH01268236 A JP H01268236A JP 63096358 A JP63096358 A JP 63096358A JP 9635888 A JP9635888 A JP 9635888A JP H01268236 A JPH01268236 A JP H01268236A
Authority
JP
Japan
Prior art keywords
line
signal line
input
loopback
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63096358A
Other languages
Japanese (ja)
Inventor
Shigeo Kawakami
川上 重男
Katsuhiko Nishida
勝彦 西田
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.)
Nissin Electric Co Ltd
Original Assignee
Nissin 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 Nissin Electric Co Ltd filed Critical Nissin Electric Co Ltd
Priority to JP63096358A priority Critical patent/JPH01268236A/en
Publication of JPH01268236A publication Critical patent/JPH01268236A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To instantaneously cope with disconnection, etc., of a line by switching a signal line and loop back line at a line switching device by means of the 1st and 2nd switching circuits which are operated by the detecting outputs of the 1st and 2nd detection circuits for detecting input states. CONSTITUTION:The detection circuits 6 and 7 can send actuating signals to the switching circuit 3, 4, and 9 upon instantaneously detecting signals transmitted through a signal line SG and loop back line LB and each relay switch (a) to (f) constituting the switching circuits 3, 4, and 9 can operate at high speeds (for example, in the order of msec). Therefore, even if the signal line SG or loop back line LB is cut off, the disconnection can be coped with immediately by switching the line. Since the interrupting time of data transmission can be made extremely shorter in such way, a transmission system whose function is not stopped due to lost data is obtained.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明はデータ伝送システムにおける回線切替装置に
関し、さらに詳細にいえば、親局および複数の子局が、
信号線およびループバック線からなる伝送回線によりル
ープ状に接続されたデータ伝送システムにおける回線切
替装置において、各局において信号線、ループバック線
間の回線切替を行うことにより、回線の断等に迅速に対
応することのできるデータ伝送システムにおける回線切
替装置に関する。
[Detailed Description of the Invention] <Industrial Application Field> The present invention relates to a line switching device in a data transmission system, and more specifically, the present invention relates to a line switching device in a data transmission system.
In a line switching device in a data transmission system connected in a loop through a transmission line consisting of a signal line and a loopback line, by switching the line between the signal line and the loopback line at each station, it is possible to quickly respond to line breaks, etc. The present invention relates to a line switching device in a data transmission system that can be used.

〈従来の技術〉 ローカルエリアネットワーク(以下LANという)は、
現在のコンピュータ技術の発展にともなう低コスト化等
により、工場内のオートメーションシステムや、OA等
の小規模なシステムに広く取り入れられている。
<Conventional technology> A local area network (hereinafter referred to as LAN) is
Due to cost reductions resulting from the current development of computer technology, it has been widely incorporated into factory automation systems and small-scale systems such as office automation (OA) systems.

上記LANのうち、1つの親局に対して複数の子局を、
光ファイバ、同軸ケーブル、ツイストペアケーブル等の
伝送回線によりループ状に接続したループ方式のLAN
について説明する。
Among the above LANs, multiple slave stations are connected to one master station,
A loop-type LAN connected in a loop using transmission lines such as optical fibers, coaxial cables, and twisted pair cables.
I will explain about it.

ループ方式のLANの・伝送回線は、通常、回線断に対
応するため、信号をループの1方向に伝送〜する信号線
、および信号を逆方向に伝送するノ<・ツクアップ用の
ループバック線により構成されている。
Loop-type LAN transmission lines usually have a signal line that transmits signals in one direction of the loop, and a loopback line that transmits signals in the opposite direction in order to cope with line disconnections. It is configured.

第7図はこのような伝送システムの構成を示す図であり
、親局(A)、および複数の端末局(B)を付設し、伝
送路(C)によりループ状に接続している。上記親局(
A)は、制御親局(A′)と回線切替装置(P)とから
なり、端末局(B)は1.制御子局(B′)と回線切替
装置(P)とからなる。制御子局(B′)には複数の負
荷(D)が接続されている。
FIG. 7 is a diagram showing the configuration of such a transmission system, in which a master station (A) and a plurality of terminal stations (B) are attached and connected in a loop through a transmission path (C). The above master station (
A) consists of a control master station (A') and a line switching device (P), and a terminal station (B) consists of 1. It consists of a control slave station (B') and a line switching device (P). A plurality of loads (D) are connected to the control slave station (B').

上記伝送路(C)は、互いに逆方向に信号を伝送する信
号線(SC)およびループバック線(LB)により構成
されている。
The transmission path (C) is composed of a signal line (SC) and a loopback line (LB) that transmit signals in opposite directions.

上記のシステムによれば、制御親局(A′)は信号線(
SC)およびループバック線(LB)に対して自ら生成
したデータを送り出し、順次制御子局(B′)に供給す
ることができる。各制御子局(B′)は上記データを受
けて、負荷(D)の状態に関する応答データを信号線(
SG)およびループバック線(LB)を通して親局(A
)に供給することができる。
According to the above system, the control master station (A') is connected to the signal line (
The self-generated data can be sent to the control slave station (B') and the loopback line (LB), and sequentially supplied to the control slave station (B'). Each control slave station (B') receives the above data and sends response data regarding the state of the load (D) to the signal line (
SG) and loopback line (LB) to the master station (A
).

伝送路(C)が断線等し、信号線(SC)から入力され
るべきデータが中断すると、データの中断を最初に検出
した端末局(B)においてループバック線(LB’)か
ら入力されたデータを信号線出力側に折返す。また、ル
ープバック線(LB)から入力されるべきデータが中断
すると、データの中断を最初に検出した端末局(B)に
おいて信号線(SG)から入力されたデータをループバ
ック線出力側に折返す。これらの折返し状態を実現する
には、端末局(B)は、信号線(SG)およびループバ
ック線(LB)から入力されるデータを常時監視し、入
力データが途絶えた場合、信号線(SG)、ループバッ
ク線(LB)のいずれからデータを取得するのか、折返
すべきデータを信号線(SG)に送出するのか、ループ
バック線(LB)に送出するのかの切替を行う必要があ
るが、この切替は、信号線入力、およびループツク・ツ
ク線入力の有無に対応して自動的に切替制御されるもの
である。
When the transmission line (C) is disconnected or the like and data that should be input from the signal line (SC) is interrupted, the data that should be input from the loopback line (LB') is input from the loopback line (LB') at the terminal station (B) that first detected the data interruption. Folds the data back to the signal line output side. In addition, when data to be input from the loopback line (LB) is interrupted, the data input from the signal line (SG) is folded to the loopback line output side at the terminal station (B) that first detected the data interruption. return. In order to realize these loopback states, the terminal station (B) constantly monitors the data input from the signal line (SG) and the loopback line (LB), and if the input data is interrupted, the terminal station (B) ), it is necessary to switch from which of the loopback lines (LB) to acquire data, and whether to send the data to be looped back to the signal line (SG) or to the loopback line (LB). This switching is automatically controlled in response to the presence or absence of signal line input and loop-tock line input.

具体的には、信号線入力、およびループノ<・ツク線(
LB)の再入力が存在する場合には、端末局(B)は、
入力をそのまま出力するデータスルー状態゛(第8図(
A)参照)に切替えられる。ループノ(・ツク線入力が
存在しない場合、例えばループ/り・ツク線入力側すな
わち信号線出力側が断線した場合には、信号線入力をル
ープバック線(LB)に折返して送出する状態(第8図
(B)参照)に切替えられる。
Specifically, the signal line input and the loop line (
If there is re-input of LB), the terminal station (B)
Data through state in which the input is output as is (Figure 8)
(See A). If there is no loop line input, for example, if the loop line input side, that is, the signal line output side is disconnected, the signal line input is looped back to the loop back line (LB) and sent out. (see figure (B)).

信号線入力が存在しない場合、すなわち信号線入力側が
断線した場合には、ループバック線入力を信号線(SC
)に折返して送出する状態(第8図(C)参照)に切替
えられる。いずれの入力も存在しない場合には、信号線
(SG)およびループバック線(LB)に自己のデータ
を送出する状態(第2図(D)参照)に切替えられる。
If there is no signal line input, that is, if the signal line input side is disconnected, connect the loopback line input to the signal line (SC
) (see FIG. 8(C)). If there is no input, the state is switched to transmitting its own data to the signal line (SG) and loopback line (LB) (see FIG. 2(D)).

したがって、いずれの局間においても断線状態が発生し
ていなければ、第1図に示すようにループ状の接続状態
が形成されていることになるが、い′ずれかの局間にお
いて断線状態が発生していれば、例えば第9図に示すよ
うに、端末局(Bl) (B2)間が断線すると端末局
(B1)が信号線入力をループバック線(LB)に折返
す状態となるように切替制御されるとともに、端末局(
B2)は、ループバック線入力を信号線(SC)に折返
す状態となるように切替制御される。
Therefore, if there is no disconnection between any of the stations, a loop-like connection will be formed as shown in Figure 1, but if there is no disconnection between any of the stations. If this has occurred, for example, as shown in Figure 9, if there is a disconnection between the terminal station (Bl) and (B2), the terminal station (B1) will return the signal line input to the loopback line (LB). At the same time, the terminal station (
B2) is switched and controlled so that the loopback line input is looped back to the signal line (SC).

この結果、断線状態発生部を通すことなく、親局(A)
からのデータを全端末局(B)に伝送することができる
As a result, the master station (A)
data can be transmitted to all terminal stations (B).

上記の回線切替装置(F)において回線の切替を行うた
めには、信号線(SC)およびループバック線(LB)
から入力される信号の有無をそれぞれ判断する信号検出
手段、信号の有無に応じて所定の接続状態を実現すべく
スイッチを作動させる接続制御手段か必要となる。
In order to switch the line in the above line switching device (F), a signal line (SC) and a loopback line (LB) are required.
A signal detecting means for determining the presence or absence of a signal input from each terminal, and a connection control means for operating a switch to realize a predetermined connection state depending on the presence or absence of a signal are required.

従来では、」二記信号検出および接続制御は、各局(A
) (B)設けたマイクロコンピュータのソフトウェア
により実現していた。すなわち、検出器によって信号の
入力状態を検出し、信号のない状態か一定時間続いたこ
とをタイマで計測すると入力信号なしと判断して、所定
のスイッチを作動させて信号の折返し状態を実現してい
た。
Conventionally, signal detection and connection control were carried out by each station (A
) (B) It was realized by the software of the provided microcomputer. In other words, a detector detects the signal input state, and when a timer measures the absence of a signal for a certain period of time, it is determined that there is no input signal, and a predetermined switch is activated to return the signal. was.

〈発明か解決しようとする課題〉 ところが、上記のデータ伝送システムにおける回線切替
装置では、信号検出手段、接続制御手段ともにソフトウ
ェアで実現していたので、判定および処理にある程度の
時間(例えば合計1〜2秒)を要していた。このため、
上記判定、処理中は回線断の影響を受け、データの入力
が暫く途絶えるという問題があった。特に、データ伝送
速度の速い高速LANにおいては、喪失されるデータ量
か比較的多くなるので、システムの運用に支障を来すと
いう等の問題があった。
<Problem to be solved by the invention> However, in the line switching device in the data transmission system described above, both the signal detection means and the connection control means are realized by software, so it takes a certain amount of time for determination and processing (for example, a total of 2 seconds). For this reason,
During the above judgment and processing, there was a problem in that data input was interrupted for a while due to the influence of line disconnection. Particularly in high-speed LANs with high data transmission speeds, the amount of data that is lost is relatively large, which poses problems such as interfering with system operation.

この発明は上記問題点に鑑みてなされたものであり、信
号線、およびループバック線からなる伝送回線を使用し
て複数の局を介在させたループ状伝送システムにおいて
、回線断等のためにデータが中断した場合に、迅速に回
線切替をしてデータを取得できるようにしたデータ伝送
システムにおける回線切替装置を提供することを目的と
する。
This invention was made in view of the above-mentioned problems.In a loop transmission system in which a plurality of stations are interposed using a transmission line consisting of a signal line and a loopback line, data may be lost due to line breakage, etc. An object of the present invention is to provide a line switching device in a data transmission system that can quickly switch the line and acquire data when the line is interrupted.

く課題を解決するための手段〉 上記の目的を達成するための、この発明の回線切替装置
は、信号線からの入力状態を検出する第1の検出回路と
、ループバック線からの入力状態を検出する第2の検出
回路と、信号線入力、ループバック線出力側に設けられ
、第1の検出回路の出力により動作する第1のスイッチ
回路と、信号線出力、ループバック線入力側に設けられ
、第2の検出回路の出力により動作する第2のスイッチ
回路とを有し、信号線入力を信号線出力側に、ループバ
ック線入力をループバック線出力側にそれぞれ送り出す
状態、信号線入力をループバック線出力側に折返す状態
、ループバック線入力を信号線出力側に折返す状態、ま
たは、信号線およびループバック線の出力側に局で生成
されたデータを送り出す状態に切替えるものである。
Means for Solving the Problems> To achieve the above object, a line switching device of the present invention includes a first detection circuit that detects an input state from a signal line, and a first detection circuit that detects an input state from a loopback line. a second detection circuit for detection, a first switch circuit provided on the signal line input and loopback line output sides and operated by the output of the first detection circuit, and a first switch circuit provided on the signal line output and loopback line input sides. and a second switch circuit operated by the output of the second detection circuit, and a state in which the signal line input is sent to the signal line output side and the loopback line input is sent to the loopback line output side, and the signal line input is This function switches the state in which the signal line is looped back to the loopback line output side, the loopback line input is folded back to the signal line output side, or the data generated at the station is sent to the output side of the signal line and loopback line. be.

く作用〉 以上のデータ伝送システムにおける回線切替装置であれ
ば、回線断がなく、信号線入力およびループバック線入
力が存在する状態を雨検出回路が検出すると、第1のス
イッチ回路は、信号線入力を第2のスイッチ回路に接続
し、第2のスイッチ回路から信号線の出力側に信号を送
出する。また、ループバック線入力は、第2のスイッチ
回路、第1のスイッチ回路を通してそのままループバッ
ク線の出力側に送出される。
Function> With the line switching device in the data transmission system described above, when the rain detection circuit detects a state where there is no line disconnection and signal line input and loopback line input are present, the first switch circuit switches the signal line The input is connected to a second switch circuit, and a signal is sent from the second switch circuit to the output side of the signal line. Further, the loopback line input is directly sent to the output side of the loopback line through the second switch circuit and the first switch circuit.

次に、ループバック線入力か切断された場合、第2の検
出回路がこれを検出し、第2のスイッチ回路の状態を切
り替える。すると、第1のスイッチ回路から供給された
信号は、第2のスイッチ回路で折返され、ループバック
線の出力側に供給される。このようにして信号線入力を
ループバック線に折返すことができる。
Next, when the loopback line input is disconnected, the second detection circuit detects this and switches the state of the second switch circuit. Then, the signal supplied from the first switch circuit is turned back by the second switch circuit and supplied to the output side of the loopback line. In this way, the signal line input can be looped back to the loopback line.

次に、信号線入力が切断された場合、第1の検出回路が
信号線入力の断を検出し、第1のスイッチ回路の状態を
切り替える。すると、第2のスイッチ回路から入ってく
るループバック信号は第1のスイッチ回路で折返され、
直接または信号処理部を介して第2のスイッチ回路に接
続される。そして、第2のスイッチ回路を通して信号線
の出力側に信号を供給する。これにより、ループバック
線入力を信号線に折返すことができる。
Next, when the signal line input is disconnected, the first detection circuit detects the disconnection of the signal line input and switches the state of the first switch circuit. Then, the loopback signal coming from the second switch circuit is looped back at the first switch circuit,
It is connected to the second switch circuit directly or via a signal processing section. Then, a signal is supplied to the output side of the signal line through the second switch circuit. This allows the loopback line input to be looped back to the signal line.

信号線入力、ループバック線入力がともに切断された場
合、第1、第2の検出回路が信号線入力、ループバック
線入力の断を検出し、第1、第2のスイッチ回路の状態
を切り替える。すると、局で生成された信号は第2のス
イッチ回路を通してルー 1〇 − −プバック線の出力側に送出されるとともに、第1のス
イッチ回路を通して信号線の出力側に送出される。これ
により、局で生成されたデータを伝送回線に送り出すこ
とができる。
When both the signal line input and the loopback line input are disconnected, the first and second detection circuits detect the disconnection of the signal line input and the loopback line input, and switch the states of the first and second switch circuits. . Then, the signal generated at the station is sent out to the output side of the loopback line through the second switch circuit, and is also sent out to the output side of the signal line through the first switch circuit. This allows the data generated at the station to be sent out to the transmission line.

〈実施例〉 以下、実施例を示す添付図面によって詳細に説明する。<Example> Hereinafter, embodiments will be described in detail with reference to the accompanying drawings showing examples.

第1図はこの発明の回線切替装置の構成を示す概略回路
図であり、回線切替装置(1)は、互いに平行な信号線
(SG)およびループバック線(LB)からなる伝送線
路の途中に挿入されている。そして、回線切替装置(1
)には、制御親局または制御子局(以下総称して「接続
局(2)」という)が接続されている。
FIG. 1 is a schematic circuit diagram showing the configuration of a line switching device of the present invention, in which a line switching device (1) is installed in the middle of a transmission line consisting of a signal line (SG) and a loopback line (LB) that are parallel to each other. It has been inserted. Then, the line switching device (1
) is connected to a control master station or a control slave station (hereinafter collectively referred to as "connection station (2)").

さらに詳述すると、信号線入力およびループバック線出
力側には、第1のスイッチ回路(3)が設けられ、信号
線出力およびループバック線入力側には、第2のスイッ
チ回路(4)が設けられ、接続局(2)との間には第3
のスイッチ回路(5)が介在されている。そして、信号
線入力を検出して第1のスイッ子回路(3)を作動させ
る第1の検出回路(6)と、ループバック線入力を検出
して第2のスイッチ回路(4)を作動させる第2の検出
回路(7)とが設けられている。また、第1の検出回路
(6)の出力と第2の検出面路(7)の出力との双方が
存在する場合に作動するAND回路(8)と、AND回
路(8)の出力に基・づき作動する第4のスイッチ回路
(9)が設けられている。
More specifically, a first switch circuit (3) is provided on the signal line input and loopback line output sides, and a second switch circuit (4) is provided on the signal line output and loopback line input sides. A third terminal is provided between the connecting station (2) and the
A switch circuit (5) is interposed. A first detection circuit (6) detects the signal line input and operates the first switch circuit (3), and a first detection circuit (6) detects the loopback line input and operates the second switch circuit (4). A second detection circuit (7) is provided. Also, based on the output of the AND circuit (8) and the AND circuit (8) which operates when both the output of the first detection circuit (6) and the output of the second detection surface path (7) are present, - A fourth switch circuit (9) is provided which is activated.

さらに、接続局(2)の出入口を通る信号の状態を検出
して、上記第3のスイッチ回路(5)を動作させる第3
の検出回路(10)とが設けられている。上記各検出回
路は、例えば電流トランスを用いたものである。
Furthermore, a third switch circuit detects the state of the signal passing through the entrance/exit of the connection station (2) and operates the third switch circuit (5).
A detection circuit (10) is provided. Each of the detection circuits described above uses, for example, a current transformer.

具体的な接続状態を説明すると、第1のスイッチ回路(
3)は、2つのリレースイッチ(a) 、 (b)を有
している。一方のリレースイッチ(a)のb接点(図で
黒丸で表される)には、入力側の信号線(SG)が接続
され、他方のリレースイッチ(b)のb接点には、出力
側のループバック線(LB)が接続されている。第2の
スイッチ回路(4)は3つのリレースイッチ(C)〜(
e)を有しており、リレースイッチ(C)のb接点はリ
レースイッチ(a)の共通端子と接続され、リレースイ
ッチ(C)の共通端子は入力側のループバック線(LB
)に接続されている。リレースイッチ(d)のb接点は
リレースイッチ(a)のa接点(図で白丸で表される)
と接続され、リレースイッチ(d)のa接点は出力側の
ループバック線(LB)に接続されている。また、第4
のスイッチ回路(9)は1つのリレースイッチ(f)を
有しており、リレースイッチ(f)のa接点は、リレー
スイッチ(d)の共通端子、リレースイッチ(b)のa
接点、およびリレースイッチ(e)のa接点と接続され
ている。リレースイッチ(f)の共通端子とリレースイ
ッチ(e)のb接点は出力側の信号線(SG)に接続さ
れている。また、第3のスイッチ回路(5)は、2つの
リレースイッチ(g) 、(h)を有しており、リレー
スイッチ(g)の共通端子はリレースイッチ(b)の共
通端子に、リレースイッチ(h)の共通端子はリレース
イッチ(e)の共通端子にそれぞれ接続されている。そ
してリレースイッチ(g)のa接点は接続局(2)の入
力側に接続され、リレースイッチ(h)のa接点は接続
局0)の出力側に接続されている。また、リレースイッ
チ(g) 、 (h)のb接点同士が接続されている。
To explain the specific connection state, the first switch circuit (
3) has two relay switches (a) and (b). The input side signal line (SG) is connected to the b contact (represented by a black circle in the figure) of one relay switch (a), and the output side signal line (SG) is connected to the b contact of the other relay switch (b). A loopback line (LB) is connected. The second switch circuit (4) has three relay switches (C) to (
e), the B contact of the relay switch (C) is connected to the common terminal of the relay switch (a), and the common terminal of the relay switch (C) is connected to the input side loopback line (LB
)It is connected to the. The B contact of the relay switch (d) is the A contact of the relay switch (a) (represented by a white circle in the diagram)
The a contact of the relay switch (d) is connected to the loopback line (LB) on the output side. Also, the fourth
The switch circuit (9) has one relay switch (f), and the a contact of the relay switch (f) is the common terminal of the relay switch (d), and the a contact of the relay switch (b)
It is connected to the contact point and the a contact point of the relay switch (e). The common terminal of the relay switch (f) and the b contact of the relay switch (e) are connected to the output side signal line (SG). Further, the third switch circuit (5) has two relay switches (g) and (h), and the common terminal of the relay switch (g) is connected to the common terminal of the relay switch (b). The common terminals of (h) are respectively connected to the common terminals of relay switches (e). The a contact of the relay switch (g) is connected to the input side of the connection station (2), and the a contact of the relay switch (h) is connected to the output side of the connection station 0). Further, the b contacts of the relay switches (g) and (h) are connected to each other.

上記の回路の動作を説明する。The operation of the above circuit will be explained.

まず、接続局(2)が存在しない場合、または接続局(
2)を切り離して使用する場合には、リレースイッチ(
g) 、 (h)をそれぞれb接点側に倒すとb接点同
士が接続され、接続局■が電気的に切り離される。
First, if the connecting station (2) does not exist, or if the connecting station (
When using 2) separately, use the relay switch (
When g) and (h) are respectively turned to the B contact side, the B contacts are connected and the connecting station ■ is electrically disconnected.

この状態で信号線入力、ループバック線入力が存在して
いると、第1の検出回路(6)、第2の検出回路σ)が
これらの入力を検出し、リレースイッチ(a)、(b)
 、リレースイッチ(c) 、(d) 、(e)をそれ
ぞれb接点側に倒す。これによりループバック線入力が
ループバック線出力側に接続されるとともに、信号線入
力がリレースイッチ(g) 、 (h)を経由して信号
線出力側に接続される(第2図および第1表参照、表中
黒丸はb接点に倒されている状態を示す)。つまり、回
線切替装置は中継器として機能することになる。
If a signal line input and a loopback line input are present in this state, the first detection circuit (6) and second detection circuit σ) detect these inputs, and relay switches (a) and (b) )
, turn relay switches (c), (d), and (e) to the b contact side, respectively. As a result, the loopback line input is connected to the loopback line output side, and the signal line input is connected to the signal line output side via the relay switches (g) and (h) (see Figures 2 and 1). (Refer to the table, the black circle in the table indicates the state where the contact is pushed down to the B contact). In other words, the line switching device functions as a repeater.

第1表 次に、接続局(2)が介在する場合、接続局(2)から
出る所定の信号を第3のスイッチ回路(5)か検出しリ
レースイッチ(g) 、 (h)をa接点側に倒し、回
線切替装置(1)と接続局(2)とを接続する。この状
態で信号線入力、ループバック線入力が存在すると、第
1の検出回路(6)、第2の検出回路(7)がこれらの
入力を検出し、リレースイッチ(a)、(b)、リレー
スイッチ(c) 、(d) 、(e)をそれぞれb接点
側に倒す。
Table 1 Next, when there is a connecting station (2), the third switch circuit (5) detects a predetermined signal output from the connecting station (2) and connects the relay switches (g) and (h) to the a contact. Flip it to the side and connect the line switching device (1) and the connection station (2). If a signal line input and a loopback line input are present in this state, the first detection circuit (6) and second detection circuit (7) detect these inputs, and the relay switches (a), (b), Turn each relay switch (c), (d), and (e) to the b contact side.

これによりループバック線入力がループバック線出力側
に接続されるとともに、信号線入力が接続局(2)を経
由して信号線出力側に接続される(第3図および第2表
参照、表中白丸はa接点に倒されている状態を示す)。
As a result, the loopback line input is connected to the loopback line output side, and the signal line input is connected to the signal line output side via the connection station (2) (see Figure 3 and Table 2, Table The white circle indicates the state where the a contact is bent).

これにより、接続局(2)は、信号線(SG)から入力
されてくるデータを取得するとともに、そのデータをそ
のまま信号線(SC)の出力側に送り出し、隣設する局
に提供することができる。
As a result, the connecting station (2) can acquire data input from the signal line (SG) and send the data as is to the output side of the signal line (SC) to provide it to the adjacent station. can.

第2表 信号線(SG)に断線等があり、信号線入力が存在しな
い場合、第1の検出回路(6)は信号線入力不存在を検
出し、リレースイッチ(a) 、 (b)をa接点側に
倒すので、ループバック線入力は、リレースイッチ(C
)、リレースイッチ(a)、リレースイッチ(d)、リ
レースイッチ(b)、リレースイッチ(g)を経由して
接続局(2)に入り、接続局(2)がらりレースイッチ
(h) リレースイッチ(e)を経由して信号線出力に
出る(第4図および第3表参照)。つまり、ループバッ
ク線入力を接続局(2)に供給するとともに、供給した
データを信号線出力側に折返す状態が実現される。
Table 2 If there is a break in the signal line (SG) and there is no signal line input, the first detection circuit (6) detects the absence of the signal line input and turns on the relay switches (a) and (b). Since it is turned to the A contact side, the loopback line input is connected to the relay switch (C
), relay switch (a), relay switch (d), relay switch (b), relay switch (g) to connect station (2), connect station (2) Garari relay switch (h) relay switch (e) to the signal line output (see Figure 4 and Table 3). In other words, a state is realized in which the loopback line input is supplied to the connecting station (2) and the supplied data is looped back to the signal line output side.

第3表 次に、ループバック線(L B )に断線等があり、ル
ープバック線入力が存在しない場合、第2の検出回路(
7)はループ)<ツク線入力不存在を検出し、リレース
イッチ(c) 、(d) 、(e)をa接点側に倒すの
で、信号線入力は、リレースイッチ(b)、リレースイ
ッチ(g)を経由して接続局(2)に入り、接続局(2
)からリレースイッチ(h)、リレースイッチ(e)、
リレースイッチ(d)を経由してループバック線出力に
出る(第5図および第4表参照)。これにより、信号線
入力を接続局(2)に供給するとともに、供給したデー
タをそのままループバック線出力に折返す状態が実現さ
れる。
Table 3 Next, if there is a break in the loopback line (L B ) and there is no loopback line input, the second detection circuit (
7) detects the absence of loop) g) and enters the connecting station (2) via the connecting station (2).
) to relay switch (h), relay switch (e),
It goes out to the loopback line output via the relay switch (d) (see Figure 5 and Table 4). As a result, a state is realized in which the signal line input is supplied to the connecting station (2) and the supplied data is returned as is to the loopback line output.

第4表 信号線(SG)、ループバック線(LB)両方に断線等
があり、信号線入力、ループバック線入力が双方とも存
在しない場合、雨検出回路(6) (7)はそれぞれ=
 18− 信号線入力、ループバック線入力不存在を検出し、リレ
ースイッチ(a)〜(e)をa接点に倒す。それととも
にAND回路(8)が雨検出回路(6> (7)の検出
出力を受けてリレースイッチ(f)をa接点側に倒す。
Table 4: If both the signal line (SG) and the loopback line (LB) are disconnected, and neither the signal line input nor the loopback line input exists, the rain detection circuit (6) and (7) will each be =
18- Detect the absence of signal line input and loopback line input, and turn relay switches (a) to (e) to a contact. At the same time, the AND circuit (8) receives the detection output of the rain detection circuit (6> (7)) and turns the relay switch (f) to the a contact side.

その結果、接続局(2)の出力がリレースイッチ(h)
、リレースイッチ(e)からリレースイッチ(f)を経
由して信号線出力に送出され、かつ、リレースイッチ(
e)からリレースイッチ(d)を経由してループバック
線出力に送出される。これとともに、リレースイッチ(
e)からリレースイッチ(b)、リレースイッチ(g)
を通って接続局(2)に戻る(第6図および第5表参照
)。これにより、接続局(2)から信号線(SG)、ル
ープバック線(LB)にそれぞれ自己の信号を出力する
状態が実現される。これにより、例えば接続局(2)が
制御親局であった場合には、子局に対するコマンドデー
タを信号線(SG)、ループバック線(LB)を通して
送出することができる。接続局(2)が制御子局であっ
た場合には、親局に対する負荷のデータを信号線(SC
)、ループバック線(LB)を通して送出することかで
きる。
As a result, the output of the connected station (2) is connected to the relay switch (h).
, is sent from the relay switch (e) to the signal line output via the relay switch (f), and the relay switch (
e) to the loopback line output via the relay switch (d). Along with this, the relay switch (
e) to relay switch (b), relay switch (g)
and returns to the connecting station (2) (see Figure 6 and Table 5). As a result, a state is realized in which the connection station (2) outputs its own signals to the signal line (SG) and the loopback line (LB), respectively. With this, for example, when the connecting station (2) is a controlling master station, command data for the slave station can be sent through the signal line (SG) and the loopback line (LB). If the connected station (2) is a controlled slave station, load data for the master station is sent to the signal line (SC).
), it can be sent out through the loopback line (LB).

=  19 − 第5表 以上説明した動作において、検出回路(6) (7)は
信号線(SG)、ループバック線(LB)を伝送する信
号を瞬時に検出してスイッチ回路(3)、(4)、(9
)に動作信号を送ることができ、スイッチ回路(3)、
(4)、(9)を構成する各リレースイッチ(a)〜(
f)も高速(例えばm5eQのオーダー)で動作するこ
とができるので、信号線(SC)、ループバック線(L
B)の回線断があっても、即時に対応して、回線の切替
を行うことができる。
= 19 - Table 5 In the operations explained above, the detection circuits (6) and (7) instantaneously detect the signals transmitted through the signal line (SG) and the loopback line (LB) and switch the switch circuits (3) and ( 4), (9
) can send an operating signal to the switch circuit (3),
Each relay switch (a) to (4) and (9) constitutes
f) can also operate at high speed (for example, on the order of m5eQ), so signal lines (SC) and loopback lines (L
Even if there is a line disconnection in B), the line can be switched immediately.

なお、この発明は上記の実施例に限定されるものではな
く、例えばスイッチ回路をリレーではなく、ロジックゲ
ートで構成してもよい。ロジックゲートの動作時間は、
n5eCのオーダーなので、ロジックゲートを利用する
ことによって、動作時間をさらに短縮することができる
It should be noted that the present invention is not limited to the above-described embodiments; for example, the switch circuit may be configured with a logic gate instead of a relay. The operating time of a logic gate is
Since it is on the order of n5eC, the operation time can be further shortened by using logic gates.

その他この発明の要旨を変更しない範囲内において、種
々の設計変更を施すことが可能である。
Various other design changes can be made without changing the gist of the invention.

〈発明の効果〉 以上のようにして、この発明は、伝送回線からの入力状
態を検出する第1、第2の検出回路と、第1、第2の検
出回路の検出出力によって動作する第1、第2のスイッ
チ回路とを有し、第1、第2のスイッチ回路の動作によ
って回線切替装置における信号線およびループバック線
の切替えを行うことができ、回線の断等にも瞬時に対応
することができる。したがって、データ伝送の中断時間
を極めて短時間にすることができるので、データの喪失
のためにシステムの機能が停止することのない伝送シス
テムを実現することができる。
<Effects of the Invention> As described above, the present invention has first and second detection circuits that detect the input state from the transmission line, and a first detection circuit that operates based on the detection outputs of the first and second detection circuits. , and a second switch circuit, and can switch the signal line and loopback line in the line switching device by operating the first and second switch circuits, and can instantly respond to line disconnections, etc. be able to. Therefore, the interruption time of data transmission can be made extremely short, so it is possible to realize a transmission system in which the system function does not stop due to data loss.

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

第1図はこの発明のデータ伝送システムにおけ= 21
− る回線切替装置の一例を示す概略構成図、第2図〜第6
図は回線の切替状態を説明する動作図、 第7図は回線切替装置を使用した伝送システムの全体構
成および信号の流れを示す概略図、第8図は回線切替装
置の各回線切替状態を示す模式図、 第9図は回線切替が行われた場合の伝送システ・ムにお
ける信号の流れを示す概略図である。 (1)・・・回線切替装置、 (3)・・・第1のスイッチ回路、 (4)・・・第29スイツチ回路、 (6)・・・第1の検出回路、 (7)・・・第2の検出回路、
Figure 1 shows the data transmission system of this invention = 21
- Schematic configuration diagram showing an example of a line switching device, Figures 2 to 6
The figure is an operation diagram explaining the switching state of the line, Figure 7 is a schematic diagram showing the overall configuration and signal flow of a transmission system using the line switching device, and Figure 8 shows the switching status of each line of the line switching device. FIG. 9 is a schematic diagram showing the flow of signals in the transmission system when line switching is performed. (1)...Line switching device, (3)...First switch circuit, (4)...29th switch circuit, (6)...First detection circuit, (7)...・Second detection circuit,

Claims (1)

【特許請求の範囲】 1、互いに逆方向にデータを伝送する信号 線およびループバック線から構成された 伝送回線をループ状に布設するとともに ループに複数の局を介在させ、各局にお ける信号線入力およびループバック線入 力の状態に応じて当該局における信号線 およびループバック線の接続状態をスイ ッチにより切り替えるようにしたデータ 伝送システムにおける回線切替装置であ って、 信号線からの入力状態を検出する第1 の検出回路と、ループバック線からの入 力状態を検出する第2の検出回路と、信 号線入力、ループバック線出力側に設け られ、第1の検出回路の出力により動作 する第1のスイッチ回路と、信号線出力、 ループバック線入力側に設けられ、第2 の検出回路の出力により動作する第2の スイッチ回路とを有し、 信号線入力を信号線出力側に、ループ バック線入力をループバック線出力側に それぞれ送り出す状態、信号線入力をル ープバック線出力側に折返す状態、ルー プバック線入力を信号線出力側に折返す 状態、または、信号線およびループバッ ク線の出力側に局で生成されたデータを 送り出す状態に切替えることを特徴とす るデータ伝送システムにおける回線切替 装置。[Claims] 1. Signals that transmit data in opposite directions consisting of wires and loopback wires Along with laying the transmission line in a loop Multiple stations are interposed in the loop, and each station signal line input and loopback line input signal line at the relevant station depending on the power status. and loopback line connection status. Data that can be switched by a switch A line switching device in a transmission system. So, The first one detects the input state from the signal line. detection circuit and input from the loopback line. a second detection circuit for detecting the force state; Installed on the line input and loopback line output sides is activated by the output of the first detection circuit. a first switch circuit, a signal line output, Provided on the loopback line input side, the second A second circuit operated by the output of the detection circuit of It has a switch circuit, Loop the signal line input to the signal line output side. Back line input to loop back line output side Check the sending status and signal line input for each. state where the loop back line is folded back to the output side. Fold back line input to signal line output side status or signal line and loopback The data generated at the station is sent to the output side of the It is characterized by switching to the sending state. Line switching in data transmission systems Device.
JP63096358A 1988-04-19 1988-04-19 Line switching device for data transmission system Pending JPH01268236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63096358A JPH01268236A (en) 1988-04-19 1988-04-19 Line switching device for data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63096358A JPH01268236A (en) 1988-04-19 1988-04-19 Line switching device for data transmission system

Publications (1)

Publication Number Publication Date
JPH01268236A true JPH01268236A (en) 1989-10-25

Family

ID=14162771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63096358A Pending JPH01268236A (en) 1988-04-19 1988-04-19 Line switching device for data transmission system

Country Status (1)

Country Link
JP (1) JPH01268236A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07162903A (en) * 1993-12-08 1995-06-23 Nec Corp Terminal equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07162903A (en) * 1993-12-08 1995-06-23 Nec Corp Terminal equipment

Similar Documents

Publication Publication Date Title
US5387902A (en) Data networks
US5091796A (en) Optical communication system having an improved protection line switching mechanism
JPH01268236A (en) Line switching device for data transmission system
JPS62176345A (en) Duplicated system loop transmission control equipment
JPH02122730A (en) Signal line terminating system
JPS598451A (en) Transmission controller
JPH01125133A (en) Optical repeater equipment
JP2705150B2 (en) Optical loop type local area network connection device
JPS60197045A (en) Loop connection control system
JP3061691B2 (en) Communication device
JPH0758973B2 (en) Polling type remote monitoring control device
JPS6386636A (en) Data transmission system
JPH04213942A (en) Line concentrator for dual loop local area network
JPH02301228A (en) Automatic switching control circuit
JPS5819057A (en) Constitution controller for loop data transmission system
JPH0362696A (en) Optical transmission line switching device
JPS6143035A (en) Remote supervisory and controlling equipment
JPS6143036A (en) Remote supervisory and controlling equipment
JPS6394727A (en) Optical local area network
JPS62221236A (en) Data transmission equipment
JPH04268846A (en) U-shaped optical bus network system
JPH07101883B2 (en) Redundant loop back system
JPH01221954A (en) System for looping back of loop network
JPH0470231A (en) Duplex system for network
JPS62247649A (en) Duplex communication equipment