JP2507635B2 - Redundant bus system data transmission device - Google Patents

Redundant bus system data transmission device

Info

Publication number
JP2507635B2
JP2507635B2 JP1297727A JP29772789A JP2507635B2 JP 2507635 B2 JP2507635 B2 JP 2507635B2 JP 1297727 A JP1297727 A JP 1297727A JP 29772789 A JP29772789 A JP 29772789A JP 2507635 B2 JP2507635 B2 JP 2507635B2
Authority
JP
Japan
Prior art keywords
signal
station
bus line
data transmission
token
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
JP1297727A
Other languages
Japanese (ja)
Other versions
JPH03159433A (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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP1297727A priority Critical patent/JP2507635B2/en
Publication of JPH03159433A publication Critical patent/JPH03159433A/en
Application granted granted Critical
Publication of JP2507635B2 publication Critical patent/JP2507635B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は各ステーションを2系統バスラインに接続
し、各ステーションのデータ送出タイミングをトークン
バス方式で制御するようにした二重化バス方式のデータ
伝送装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Industrial field of application) The present invention is a duplex system in which each station is connected to a two-system bus line and the data transmission timing of each station is controlled by a token bus system. The present invention relates to a bus type data transmission device.

(従来の技術) LAN(構内情報通信網)においては、データ伝送の信
頼性を確保するために第3図に示すように2系統バスラ
インの各バスライン1a,1bにそれぞれ端末番号ST1,ST2
…,STNが付されたN個のステーション2が並列に接続
されている。このようなLANにおいて、各ステーション
2相互間でデータ伝送を実行する場合に、各ステーショ
ン2が各バスライン1a,1bを占有するタイミングを制御
する方式としてトークンバス方式が採用されている。こ
のトークンバス方式は、周知のように、各ステーション
2相互間で1個の情報リングを形成し、そのリング内に
トークンを巡回させ、データ伝送を実行するステーショ
ンがそのトークンを捕獲した状態で、各バスライン1a,1
bを用いてデータ伝送を行う。データ伝送が終了する
と、そのトークンを情報リング、すなわち各バスライン
1a,1bに放出する。
(Prior Art) In a LAN (Premises Information Communication Network), in order to ensure reliability of data transmission, as shown in FIG. 3, terminal numbers ST 1 , ST 2 ,
, N stations 2 with ST N are connected in parallel. In such a LAN, the token bus system is adopted as a system for controlling the timing at which each station 2 occupies each bus line 1a, 1b when executing data transmission between each station 2. As is well known, this token bus system forms one information ring between each station 2 and circulates a token in the ring, and a station executing data transmission captures the token, Each bus line 1a, 1
Data is transmitted using b. When the data transfer is completed, the token is transferred to the information ring, that is, each bus line.
Release to 1a and 1b.

また、バスライン1a,1b上を巡回しているトークンが
消滅すると、いずれのステーション2もデータ伝送を実
施できなくなってしまうので、トークンの消滅監視と再
生を行う機能が各ステーションに備わっている。具体的
には、トークンが消滅すると、データ伝送が出来なくな
るので、バスライン上の無信号の継続時間が規定時間以
上継続すると、トークンの再生を行い、トークンをバス
ライン上に送出して、各ステーション2相互間で前述し
た情報リングを再構築する。
Further, when the token circulating on the bus lines 1a and 1b disappears, neither station 2 can carry out data transmission. Therefore, each station has a function of monitoring and reproducing the disappearance of the token. Specifically, if the token disappears, data cannot be transmitted, so if the duration of no signal on the bus line continues for a specified time or longer, the token is regenerated and the token is sent out on the bus line. The aforementioned information ring is reconstructed between the stations 2.

なお、前述した規定時間Tmは規格(IEEE 802.4,ISO 8
802/4)にて、フレームを構成する各スロットルの継続
時間(スロットルタイム)TSの7倍の時間に設定されて
いる。
The specified time Tm mentioned above is based on the standard (IEEE 802.4, ISO 8
802/4), it is set to a time that is seven times the duration (throttle time) T S of each throttle that constitutes the frame.

各ステーション2は例えば第4図に示すように構成さ
れている。すなわち、各バスライン1a,1bから入力され
た受信信号は復調器3a,3bで復調されて切換スイッチ4
を介してMAC層5へ入力される。また、MAC層5から送出
された送信信号は各変調器6a,6bで変調されたのち各バ
スライン1a,1bへ送出される。
Each station 2 is constructed, for example, as shown in FIG. That is, the received signals input from the bus lines 1a and 1b are demodulated by the demodulators 3a and 3b and the changeover switch 4
Is input to the MAC layer 5 via. The transmission signal sent from the MAC layer 5 is modulated by the modulators 6a and 6b and then sent to the bus lines 1a and 1b.

前記MAC(メディア・アクセス・コントロール回路)
層5は、各種情報処理を実行する制御部等が含まれる上
位層7から送出される他のステーション2へ送出するデ
ータの送出タイミングをトークンバス方式で制御した
り、送出するデータを伝送フレームに組込んだりするデ
ータ伝送に関する各種制御およびデータ処理を実行す
る。
MAC (Media Access Control Circuit)
The layer 5 controls the transmission timing of the data to be transmitted to the other station 2 transmitted from the upper layer 7 including the control unit for executing various information processing by the token bus method, and transmits the data to be transmitted in the transmission frame. Executes various controls and data processing related to embedded data transmission.

また、復調器3a,3bで復調された各受信信号はそれぞ
れエラー検出回路8a,8bへ入力されると共に、先着判定
回路9へ入力される。各エラー検出回路8a,8bは各バス
ライン1a,1bから受信した受信信号におけるエラーの有
無を調べ、エラーが検出されるとエラー検出信号をバス
ライン選択回路10へ送出する。また、先着判定回路9は
各バスライン1a,1bから入力した各受信信号の先着順序
を判定して先着判定結果をバスライン選択回路10へ送出
する。バスライン選択回路10は入力した各エラー検出信
号および先着判定結果を参照して、いずれのバスライン
1a,1bからの受信信号をMAC層5へ印加するかを判断し
て、切換スイッチ4へ切換信号を送出する。
The received signals demodulated by the demodulators 3a and 3b are input to the error detection circuits 8a and 8b, respectively, and to the first-arrival determination circuit 9. Each error detection circuit 8a, 8b checks whether there is an error in the received signal received from each bus line 1a, 1b, and if an error is detected, sends an error detection signal to the bus line selection circuit 10. The first-arrival determination circuit 9 also determines the first-arrival order of the received signals input from the bus lines 1a and 1b, and sends the first-arrival determination result to the bus line selection circuit 10. The bus line selection circuit 10 refers to each input error detection signal and the first arrival judgment result
It is determined whether the received signals from 1a and 1b are applied to the MAC layer 5, and the changeover signal is sent to the changeover switch 4.

すなわち、ステーション2からデータを送出する場合
は、両方のバスライン1a,1bに送出されるが、各バスラ
イン1a,1bからデータを取込む場合は、バスライン選択
回路10で各受信信号における受信状態の良否を判断し
て、受信状態の良い方の受信信号を取り込む。
That is, when the data is sent from the station 2, it is sent to both bus lines 1a and 1b, but when the data is taken in from each bus line 1a and 1b, the bus line selection circuit 10 receives each received signal. It is judged whether the condition is good or bad, and the received signal having the better reception condition is fetched.

このようなデータ伝送装置において、例えば第5図に
示すように、端末番号STXのステーション2(以下必要
に応じてステーションSTXと略記する)とバスライン1a
との信号線が断線した場合においては、ステーションST
Xから送出されたデータは一方のバスライン1bのみに伝
送される。この場合、他のステーションSTYは、両方の
バスライン1a,1bからの信号を取込むが、バスライン1a
上にはデータが存在しないので、先着判定回路9によっ
てバスライン1bからの受信信号が先着信号と判定され、
バスライン選択回路10によって、バスライン1bからの受
信信号が選択される。よって、それ以降健全な方のバス
ライン1bを用いてデータ伝送が実行される。
In such a data transmission apparatus, for example, as shown in FIG. 5, a station 2 having a terminal number ST X (hereinafter abbreviated as station ST X as necessary) and a bus line 1a.
If the signal line between and is disconnected, the station ST
The data sent from X is transmitted to only one bus line 1b. In this case, the other station ST Y takes in signals from both bus lines 1a and 1b, but the bus line 1a
Since there is no data above, the first-arrival determination circuit 9 determines that the received signal from the bus line 1b is the first-arrival signal,
The bus line selection circuit 10 selects the reception signal from the bus line 1b. Therefore, thereafter, data transmission is performed using the bus line 1b which is sounder.

また、一方のバスライン1aが完全に使用できない状態
でなくとも、いずれか一方のバスラインに雑音が混入し
て、該当バスラインを介して受信した受信信号にエラー
が多発した場合は、該当バスライン側のエラー検出回路
から出力されるエラー検出信号の単位時間当りの出力回
数が健全なバスライン側のエラー検出回路から出力され
るそれに比較して格段に大きいので、バスライン選択回
路10が雑音の少ないバスラインの受信信号を選択する。
Even if one bus line 1a is not completely unusable, if noise is mixed in one of the bus lines and many errors occur in the reception signal received via the corresponding bus line, The number of times the error detection signal output from the line side error detection circuit is output per unit time is significantly larger than that output from the sound line side error detection circuit. Select the received signal on the bus line with the fewest.

このように、各ステーション2相互間を接続するバス
ラインを二重化することによって、一方のバスラインに
異常が発生したとしても他方のバスラインを用いてデー
タ伝送を継続できるので、データ伝送の信頼性を向上で
きる。
In this way, by duplicating the bus lines that connect the stations 2 to each other, even if an abnormality occurs in one of the bus lines, the data transmission can be continued using the other bus line. Can be improved.

しかしながら、上記のように構成された二重化バス方
式のデータ伝送装置においてもまだ改良すべき次のよう
な問題がある。
However, the duplex bus type data transmission device configured as described above also has the following problems to be improved.

すなわち、第6図に示すように、ステーションSTX
バスライン1aに対する断線故障に加えて、別のステーシ
ョンSTYの他方のバスライン1bに対する断線故障が発生
したとする。なお、ステーションSTX,STYとは互いに2
ステーション以上離れているものとする。
That is, as shown in FIG. 6, it is assumed that, in addition to the disconnection failure in the bus line 1a of the station ST X , the disconnection failure occurs in the other bus line 1b of the other station ST Y. Note that stations ST X and ST Y are 2
It is assumed that it is more than the station away.

このような状態においては、第6図に示すように、例
えばステーションSTXの一つ前(上流)のステーションS
TX-1がトークンを捕獲して、データを送出すると、どの
データは両方のバスライン1a,1bに同時に送出される。
よって、ステーションSTXはこのデータをバスライン1b
を介して受信し、ステーションSTYは同じデータをバス
ライン1aを介して受信できる。
In such a state, as shown in FIG. 6, for example, the station S immediately before the station ST X (upstream)
When T X-1 captures the token and sends the data, which data is sent to both bus lines 1a, 1b at the same time.
Therefore, station ST X sends this data to bus line 1b.
Via the bus line 1a, the station ST Y can receive the same data.

次に、ステーションSTXが、ステーションSTX-1が放出
したトークンを捕獲して自己のデータDXを送出すると、
このデータDXは一方のバスライン1bのみに伝送され、他
方のバスライン1aに該当データDXが伝送されない。した
がって、ステーションSTYはステーションSTXのデータDX
を受信できないので、そのデータDXの継続時間は無信号
状態となる。そして、トークンが次のステーションST
X+1に移動して、このステーションSTX+1からデータが送
出されると、このデーをバスライン1aを介して受信でき
る。
Next, when the station ST X captures the token emitted by the station ST X-1 and sends out its own data D X ,
This data D X is transmitted only to one bus line 1b, and the corresponding data D X is not transmitted to the other bus line 1a. Thus, the station ST Y is the station ST X data D X
Is not received, the duration of the data D X becomes a non-signal state. And the token is the next station ST
When moving to X + 1 and data is sent from this station ST X + 1 , this data can be received via the bus line 1a.

しかし、例えばステーションSTXのデータDXの継続時
間TXが前述した規格で定められた規定時間Tmより長くな
ると、ステーションSTYとしては、無信号時間がその時
間TXだけ続くので、トークンが消滅したと判断して、バ
スライン1a,1bに対してトークンの要求信号を出力す
る。なお、実際にはトークン要求信号はバスライン1aの
みに送出される。そして、所定時間内にトークンが捕獲
できなかった場合は、ステーションSTY自身でトークン
を送出して、バスライン1a,1bに接続された各ステーシ
ョン2相互間で前述した情報リングの再構築を行う。
However, for example, the duration T X data D X in the station ST X is longer than the specified time Tm that is defined by the standard mentioned above, the station ST Y, since no signal time lasts the time T X, token When it is determined that the tokens have disappeared, a token request signal is output to the bus lines 1a and 1b. Note that the token request signal is actually sent only to the bus line 1a. When the token cannot be captured within the predetermined time, the station ST Y itself sends the token to rebuild the above-mentioned information ring between the stations 2 connected to the bus lines 1a and 1b. .

しかし、再構築された情報リングにおいても、トーク
ンがステーションSTXに捕獲され、ステーションSTXがデ
ータDXを送出した時点で、再度ステーションSTYにて情
報リングの再構築が実行される。よってこの状態が永久
に繰返されるので、故障原因が解消されない限り、故障
のステーションSTX,STYのみならず、2系統バスライン
に接続された全部のステーション2相互間のデータ伝送
が不能となる。
However, even in the reconstructed information ring, token trapped in the station ST X, the station ST X is at the time of sending the data D X, is executed to rebuild the information ring again at the station ST Y. Therefore, since this state is repeated forever, unless the cause of the failure is eliminated, not only the failed stations ST X and ST Y, but also the data transmission between all stations 2 connected to the two-system bus line becomes impossible. .

(発明が解決しようとする課題) このように、従来の二重化バス方式のデータ伝送装置
においては、片方のバスラインに対してのみの故障には
十分対処できるが、複数のステーション間で互いに異な
るバスラインに対する断線が発生すると、データ伝送装
置全体のデータ伝送が不可能になる問題があった。
(Problems to be Solved by the Invention) As described above, in the conventional data transmission apparatus of the dual bus system, a failure of only one bus line can be sufficiently dealt with, but a plurality of buses different from each other may be used. When the line is broken, there is a problem that the data transmission of the entire data transmission device becomes impossible.

本発明はこのような事情に鑑みてなされたもので、受
信信号の無信号状態が所定時間を超えたときは、該当ス
テーションからバスラインに対するデータ送信を強制的
に遮断することによって、たとえ複数のステーション間
で互いに異なるバスラインに対する断線が発生したとし
ても、装置全体のシステムダウンを未然に防止でき、被
害を最小限に抑制でき、装置全体の信頼性を向上できる
二重化バス方式のデータ伝送装置を提供することを目的
とする。
The present invention has been made in view of such circumstances, and when a no-signal state of a received signal exceeds a predetermined time, by forcibly cutting off data transmission from a corresponding station to a bus line, even if a plurality of plural Even if a disconnection occurs between different stations on different bus lines, it is possible to prevent a system down of the entire device, minimize damage, and improve the reliability of the entire device. The purpose is to provide.

[発明の構成] (課題を解決するための手段) 上記課題を解消するために本発明は、同一データを伝
送する2系統バスラインの各バスラインに各ステーショ
ンをそれぞれ接続し、一方のバスラインを用いたデータ
伝送が不能になったとき他方のバスラインを用いてデー
タ伝送を行うと共に、各ステーションにおける各バスラ
インに対するデータの送出タイミングをトークンバス方
式で制御し、かつ、各ステーションからトークンの再送
出による情報リングの再構築を可能とする二重化バス方
式のデータ伝送装置において、各ステーションは、2系
統バスラインに対する信号送出路に介挿され、当該信号
送出路のみを切り離し可能なスイッチ回路と、2系統バ
スラインにおける無信号継続時間を計時してこの無信号
継続時間が所定時間を超えると信号無し信号を出力する
無信号状態検出回路と、この無信号状態検出回路から出
力される信号無し信号の所定期間内における出力回数が
予め定められた限界回数に達したとき、スイッチ回路へ
信号送出路の切り離し開放信号を送出する送信禁止制御
回路とを備え、自己の信号送出路を2系統バスラインか
ら切り離すようになっている。
[Structure of the Invention] (Means for Solving the Problems) In order to solve the above problems, the present invention connects each station to each bus line of two system bus lines transmitting the same data, and one bus line. When it becomes impossible to perform data transmission using the other bus line, data transmission is performed using the other bus line, and the timing of sending data to each bus line in each station is controlled by the token bus system, and the token is sent from each station. In a duplex bus type data transmission device capable of reconstructing an information ring by re-transmission, each station is provided with a switch circuit that is inserted in a signal transmission path for a two-system bus line and can disconnect only the signal transmission path. The no-signal continuation time exceeds the predetermined time by measuring the no-signal continuation time in the two-system bus line. And a no-signal state detection circuit that outputs a no-signal signal, and a signal to the switch circuit when the number of outputs of the no-signal signal output from the no-signal state detection circuit reaches a predetermined limit number within a predetermined period. A transmission prohibition control circuit for transmitting a disconnection release signal of the transmission path is provided, and its own signal transmission path is separated from the two-system bus line.

(作用) このように構成された二重化バス方式のデータ伝送装
置において、例えば複数のステーションにおいて互いに
異なるバスラインに対する断線故障が発生すると、先に
トークンを捕獲したステーションから送出されたデータ
は他方のステーションには受信されない。したがって、
前記データの継続時間が所定時間を越える場合は、受信
側のステーション内の無信号状態検出回路から信号無し
信号が出力される。そして、その信号無し信号が所定期
間内に限界回数以上出力されると、該当ステーションか
らの信号送出が禁止される。したがって、このステーシ
ョンはデータを受信するのみで、データ送信が停止され
る。よって、該当ステーションがトークン要求信号をバ
スラインへ送出しないので、トークンの情報リングの再
構築処理が実行されない。その結果、データ伝送装置
は、信号送出が禁止されたステーションを除く状態でデ
ータ伝送が継続される。
(Operation) In the duplex bus type data transmission device configured as described above, for example, when a disconnection failure occurs in different bus lines in a plurality of stations, the data sent from the station that previously captured the token is sent to the other station. Is not received by. Therefore,
When the duration of the data exceeds a predetermined time, the no-signal state detection circuit in the receiving station outputs a no-signal signal. Then, when the no-signal signal is output a predetermined number of times or more within a predetermined period, signal transmission from the corresponding station is prohibited. Therefore, this station only receives data and stops sending data. Therefore, since the station does not send the token request signal to the bus line, the token information ring reconstruction process is not executed. As a result, the data transmission apparatus continues the data transmission in the state except the station where the signal transmission is prohibited.

(実施例) 以下本発明の一実施例を図面を用いて説明する。(Embodiment) An embodiment of the present invention will be described below with reference to the drawings.

第1図は実施例の二重化バス方式のデータ伝送装置に
組込まれた各ステーション2の概略構成を示すブロック
図である。なお、データ伝送装置全体の構成は第3図と
同じである。したがって、第3図および第4図と同一部
分には同一符号を付して、重複する部分の説明を省略す
る。
FIG. 1 is a block diagram showing a schematic configuration of each station 2 incorporated in the duplex bus type data transmission apparatus of the embodiment. The overall configuration of the data transmission device is the same as in FIG. Therefore, the same parts as those in FIGS. 3 and 4 are designated by the same reference numerals, and the description of the overlapping parts will be omitted.

この実施例のデータ伝送装置における各ステーション
2においては、第1図に示すように、MAC層5から出力
される送信信号を変調する変調器6a,6bと各データバス1
a,1bとの間にそれぞれスイッチ回路21a,21bが介挿され
ている。また、バスライン1a,1bから受信された各受信
信号は切換スイッチ4にていずれか一方の受信信号が選
択され、選択された受信信号はMAC層5へ入力されると
ともに無信号状態検出回路22へ入力される。
In each station 2 in the data transmission apparatus of this embodiment, as shown in FIG. 1, modulators 6a and 6b for modulating the transmission signal output from the MAC layer 5 and each data bus 1 are provided.
Switch circuits 21a and 21b are respectively inserted between a and 1b. Further, one of the received signals received from the bus lines 1a, 1b is selected by the changeover switch 4, and the selected received signal is input to the MAC layer 5 and the no-signal state detection circuit 22 Is input to.

この無信号状態検出回路22は、切換スイッチ4にて選
択されて受信信号における無信号状態の継続時間を計時
し、この無信号継続時間が前述した規格(IEEE 802.4,I
SO 8802/4)にて定められたフレームを構成する各スロ
ットルの継続時間(スロットルタイム)TSの7倍である
規定時間Tmを超えると、パルス状の信号無し信号を次の
送信禁止制御回路23へ送出する。この送信禁止制御回路
23は、入力した信号無し信号に対して各種演算を実行し
て、演算結果を前記各スイッチ回路21a,21bに対する開
閉制御信号として送出する。
The no-signal-state detection circuit 22 measures the duration of the no-signal state in the received signal selected by the changeover switch 4, and the no-signal duration is defined by the above-mentioned standard (IEEE 802.4, I
SO 8802/4) exceeds the specified time Tm, which is 7 times the duration (throttle time) T S of each throttle that composes the frame specified by SO 8802/4) Send to 23. This transmission prohibition control circuit
23 performs various calculations on the input signal-less signal and sends the calculation results as an open / close control signal to the switch circuits 21a, 21b.

第2図は前記送信禁止制御回路23の概略構成を示すブ
ロック図である。無信号状態検出回路22から出力された
パルス状の信号無し信号は各フィルタ回路24,25へ入力
される。フィルタ回路24には外部から所定期間TAおよび
限界回数n1がパラメータとて印加されている。なお、こ
の所定期間TAおよび限界回数n1は必要に応じて変更する
ことが可能である。そして、所定期間TA内に信号無し信
号が限界回数n1回以上入力すると、このフィルタ回路24
は次のフリップフロップ26のセット端子SへHレベルの
セット信号を印加する。よって、フリップフロップ26の
出力端子QからHレベルの開放信号が送出される。Hレ
ベルの開放信号が送信禁止制御回路23から送出される
と、各スイッチ回路21a,21bが開放される。
FIG. 2 is a block diagram showing a schematic configuration of the transmission prohibition control circuit 23. The pulsed signalless signal output from the no-signal state detection circuit 22 is input to each of the filter circuits 24 and 25. A predetermined period T A and a limit number of times n 1 are externally applied to the filter circuit 24 as parameters. The predetermined period T A and the limit number of times n 1 can be changed as needed. Then, when the signal-less signal is input at the limit number n 1 times or more within the predetermined period T A , the filter circuit 24
Applies an H level set signal to the set terminal S of the next flip-flop 26. Therefore, an open signal of H level is sent from the output terminal Q of the flip-flop 26. When the H level open signal is sent from the transmission prohibition control circuit 23, the switch circuits 21a and 21b are opened.

なお、前記所定時間TAは前記規定時間Tmに比較して大
幅に長い時間に設定されている。但し、過度に長いと、
点検補修時にデータ伝送装置の各ステーション2の出力
を連続して遮断した場合に、これを故障と判断して、出
力信号を強制遮断してしまうので、実験的に最適値に設
定されている。また、前記限界回数n1は実施例において
は2に設定されている。なお、n1=1に設定すると、異
常の検出速度が早くなるが、前述した情報リングの構築
時における正常な無信号継続期間に起因する信号無し信
号を故障による信号無し信号として検出して、出力信号
を強制遮断する懸念がある。よって、n1=2に設定し
て、実際に故障した場合のみ出力信号を強制遮断するよ
うにしている。
Note that the predetermined time T A is set to a time that is significantly longer than the specified time T m. However, if it is too long,
When the output of each station 2 of the data transmission device is continuously cut off during inspection and repair, this is determined to be a failure, and the output signal is forcibly cut off. Therefore, the optimum value is set experimentally. Further, the limit number n 1 is set to 2 in the embodiment. Note that when n 1 = 1 is set, the speed of detecting an anomaly is increased, but the signal-less signal resulting from the normal signal-less duration during the construction of the information ring described above is detected as a signal-less signal due to a failure, There is a concern that the output signal will be forcibly cut off. Therefore, n 1 = 2 is set so that the output signal is forcibly cut off only when an actual failure occurs.

次に、フィルタ回路25には、前記フィルタ回路24に対
する所定時間TAよりさらに長い所定時間TBに乱数発生回
路27から出力された乱数Rを加算した期間(TB+R)、
および下限回数n2がパラロメータとして印加されてい
る。そして、期間(TB+R)を経過した時点で前記信号
無し信号が下限回数n2以下しか入力されなかった場合
は、このフィルタ回路25は次のフリップフロップ26のリ
セット端子RへHレベルのリセット信号を印加する。よ
って、フリップフロップ26の出力端子QがLレベルへ転
換して、Hレベルの開放信号が解除され、Lレベルの閉
成信号が送出される。Lレベルの閉成信号が送信禁止制
御回路23から送出されると、各スイッチ回路21a,21bが
閉成される。よって、MAC層5から出力された送信信号
は正常に各バスライン1a,1bへ送出される。
Next, a period (T B + R) in which the random number R output from the random number generation circuit 27 is added to the filter circuit 25 for a predetermined time T B longer than the predetermined time T A for the filter circuit 24,
And the lower limit number n 2 is applied as a parameter. Then, when the signal-less signal is input only the lower limit number n 2 or less when the period (T B + R) has elapsed, the filter circuit 25 resets the reset terminal R of the next flip-flop 26 to the H level. Apply a signal. Therefore, the output terminal Q of the flip-flop 26 is converted to the L level, the open signal of the H level is released, and the close signal of the L level is transmitted. When the L level closing signal is sent from the transmission prohibition control circuit 23, the switch circuits 21a and 21b are closed. Therefore, the transmission signal output from the MAC layer 5 is normally transmitted to each bus line 1a, 1b.

なお、前記下限回数n2は限界回数n1と同じ値である2
に設定されている。さらに、乱数発生回路27から出力れ
る乱数Rの値は、端末番号1番からN番までの全部のス
テーション2で常に異なるような値で、かつ所定時間TB
に比較して微小時間となるような値である。
The lower limit number n 2 is the same value as the limit number n 1 2
Is set to Further, the value of the random number R output from the random number generation circuit 27 is a value that is always different in all stations 2 from the terminal numbers 1 to N, and for a predetermined time T B
It is a value such that it becomes a minute time compared to.

このように構成された二重化バス方式のデータ伝送装
置において、各ステーション2が正常に各バスライン1
a,1bに対するアクセスが可能であれば、各ステーション
2相互間に情報リングが形成され、トークンが正常に巡
回している状態においては、各ステーション2におい
て、前述した規定時間Tmを超える無信号継続時間を計時
することはないので、各スイッチ回路21a,21bは閉成状
態を維持する。
In the duplex bus type data transmission device configured as described above, each station 2 normally operates on each bus line 1
If access to a and 1b is possible, an information ring is formed between each station 2 and when the token is normally circulating, in each station 2, there is no signal continuation exceeding the above-mentioned specified time Tm. Since the time is not counted, each switch circuit 21a, 21b maintains the closed state.

そして、何等かの異常が生じて例えば第5図に示すよ
うに、ステーションSTXのバスライン1aに対する信号線
が断線した場合や、いずれか一方のバスライン1a,1bに
雑音が混入して、受信信号にエラーが多発した場合に
は、バスライン選択回路10が動作して正常なバスライン
を使用してデータ伝送が継続される。
Then, when some abnormality occurs and the signal line to the bus line 1a of the station ST X is disconnected as shown in FIG. 5, or noise is mixed in one of the bus lines 1a and 1b, When many errors occur in the received signal, the bus line selection circuit 10 operates to continue data transmission using a normal bus line.

次に、第6図に示すように、各ステーションSTX,STY
で互いに異なるバスライン1a,1bに対する信号線が断線
した場合で、かつ第7図に示すように、ステーションST
Xがトークンを捕獲した状態で規定時間Tmを越える長さ
のデータDXを送出した場合には、ステーションSTYの無
信号状態検出回路22が動作して、送信禁止制御回路23へ
パルス状の信号無し信号を送出する。したがって、フィ
ルタ回路24は1回目の信号無し信号を登録する。
Next, as shown in FIG. 6, each station ST X , ST Y
When the signal lines for the bus lines 1a and 1b different from each other are disconnected in the station ST, as shown in FIG.
When the data D X having a length exceeding the specified time Tm is transmitted in the state where X captures the token, the no-signal state detection circuit 22 of the station ST Y operates to send a pulse-like signal to the transmission prohibition control circuit 23. No signal is sent. Therefore, the filter circuit 24 registers the first signal-less signal.

なお、この時点で前述したように正常状態における情
報リング構築時に規定時間Tmを超える無信号継続時間が
存在して、フィルタ回路24に既に1回目の信号無し信号
が登録されていれば、即座にフリップフロップ26はセッ
トされ、各スイッチ回路21a,21bは解放される。
At this point, as described above, if there is no signal duration longer than the specified time Tm when the information ring is constructed in the normal state and the first no-signal signal is already registered in the filter circuit 24, it is immediately The flip-flop 26 is set, and the switch circuits 21a and 21b are released.

フィルタ回路24に1回目の信号無し信号が登録された
のみでは、各スイッチ回路21a,21bは開放されない。
The switch circuits 21a and 21b are not opened only by registering the first signal-less signal in the filter circuit 24.

一方、無信号継続時間が前記規定時間Tmを超えると、
NAC層5内に収納されているトークンバス方式の制御プ
ログラムが作動して、前述したようにトークン要求信号
をまだ閉成状態を維持しているスイッチ回路21a,21bを
介して各バスライン1a,1bへ送出する。なお、実際には
バスライン1bに対する信号線が断線しているので、正常
なバスライン1aのみに送出される。そして、前述したよ
うに、所定時間内にトークンが捕獲できなかった場合
は、ステーションSTY自身でトークンを送出して、バス
ライン1a,1bに接続された各ステーション2相互間で前
述した情報リングの再構築を行う。
On the other hand, when the no-signal duration exceeds the specified time Tm,
The token bus system control program stored in the NAC layer 5 is activated, and as described above, each bus line 1a, via the switch circuit 21a, 21b that still maintains the token request signal in the closed state. Send to 1b. In addition, since the signal line for the bus line 1b is actually disconnected, it is sent only to the normal bus line 1a. Then, as described above, when the token cannot be captured within the predetermined time, the station ST Y itself transmits the token and the above-mentioned information ring is transmitted between the stations 2 connected to the bus lines 1a and 1b. Rebuild.

しかし、再構築された情報リングにおいても、故障原
因が解消されていないので、トークンがステーションST
Xに捕獲され、ステーションSTXがデータを送出した時点
で、前記ステーションSTYにて再度無信号継続時間が規
定時間Tmを超えたことが検出され、送信禁止制御回路23
に2回目の信号なし信号が入力される。したがって、フ
ィルタ回路24からセット信号が送出され、フリップフロ
ップ26がセットされ、各スイッチ回路21a,21bは開放さ
れる。
However, even in the reconstructed information ring, the cause of the failure has not been resolved, so the token is
When the station ST X captures the data and the station ST X sends out the data, the station ST Y again detects that the no-signal duration exceeds the specified time Tm, and the transmission prohibition control circuit 23
The second signalless signal is input to. Therefore, the set signal is sent from the filter circuit 24, the flip-flop 26 is set, and the switch circuits 21a and 21b are opened.

各スイッチ回路21a,21bが開放されると、たとえMAC層
5からトークン要求信号や制御リングを再構築するため
のトークンが出力されたとしても、これらの信号はバス
ライン1a,1b上を伝送されることはない。よって、ステ
ーションSTYはトークンを捕獲しないと見なして、ステ
ーションSTXを含む他のステーション2の間でトークン
が巡回して、正常にデータ伝送が継続される。
When the switch circuits 21a and 21b are opened, even if the token request signal or the token for reconstructing the control ring is output from the MAC layer 5, these signals are transmitted on the bus lines 1a and 1b. There is no such thing. Therefore, the station ST Y is regarded as not capturing the token, and the token circulates among the other stations 2 including the station ST X , and the data transmission is normally continued.

なお、ステーションSTYは、各スイッチ回路21a,21bが
開放されていたとしても各バスライン1a,1b上に送出さ
れるステーションSTXを除く各ステーション2からのデ
ータDを受信している。よって、ステーションSTYは故
障復旧を待つ待機状態となる。
The station ST Y receives the data D from each station 2 except the station ST X which is sent to each bus line 1a, 1b even if each switch circuit 21a, 21b is opened. Therefore, the station ST Y is in a standby state waiting for failure recovery.

そして、いずれか一方のステーションSTX,STYの断線
故障が復旧すると、正常な方のバスライン1a,1bを用い
てデータ伝送が可能になるので、ステーションSTYは、
いずれか一方のバスライン1a,1b上に送出されたステー
ションSTXのデータDXを検出可能となる。よって、無信
号状態検出回路44は信号無し信号の送出を停止する。そ
して、その停止期間が前述した期間(TB+R)に達する
と、送信禁止制御回路23内のフィルタ回路25が動作し
て、フリップフロップ26へリセット信号を送出する。よ
って、フリップフロップ23はリセットされ、各スイッチ
回路21a,21bは閉成される。したがって、このステーシ
ョンSTYはトークンを捕獲した時点で、自己のデータDY
をバスライン1a,1bへ送出できる。
Then, when the disconnection failure of one of the stations ST X , ST Y is recovered, data transmission becomes possible using the normal bus line 1a, 1b, so the station ST Y
It becomes possible to detect the data D X of the station ST X transmitted on one of the bus lines 1a and 1b. Therefore, the no-signal state detection circuit 44 stops transmitting the no-signal signal. When the suspension period reaches the period (T B + R) described above, the filter circuit 25 in the transmission prohibition control circuit 23 operates and sends a reset signal to the flip-flop 26. Therefore, the flip-flop 23 is reset and the switch circuits 21a and 21b are closed. Therefore, when this station ST Y captures the token, its data D Y
Can be sent to the bus lines 1a and 1b.

よって、この二重化バス方式のデータ伝送装置は復帰
したステーションSTYを含めた全部のステーション2相
互間におけるデータ伝送を継続できる。
Therefore, this dual bus type data transmission device can continue data transmission between all stations 2 including the restored station ST Y.

次に、送信禁止制御回路23のフィルタ回路25に乱数R
を加算した期間(TB+R)を設定する効果を説明する。
Next, the filter circuit 25 of the transmission prohibition control circuit 23 uses the random number R
The effect of setting the period (T B + R) obtained by adding will be described.

第6図において、ステーションSTX,STYは互いに対等
であるので、ステーションSTYもステーションSTXと同様
に規定時間Tmを超えるデータDYを送出すると、ステーシ
ョンSTX内の無信号状態検出回路も信号無し信号を送出
する。このような場合、故障した両方のステーションST
X,STYが同時に待機状態になる可能性がある。両ステー
ションSTX,STYが同時に待機状態に移行すると、両ステ
ーションSTX,STYとも無信号継続期間を検出しなくな
る。それ故、実際に故障復旧していないのに両方のステ
ーションSTX,STYが同時に待機状態を解除される。する
と、再び両ステーションSTX,STYにより引き起こされる
無信号継続期間が発生する。よって、再度同時に両ステ
ーションSTX,STYは待機状態に移行される。このように
して待機状態,待機復旧状態とが無限に繰返される。し
たがって、データ伝送装置としては異常状態が永久に解
除されないことになる。
In the sixth figure, since the station ST X, the ST Y is equal to each other, the station ST when Y also transmits data D Y exceeding station ST X as well as the specified time Tm, the no-signal state detection circuit in the station ST X Also sends a no signal signal. In such a case, both failed stations ST
X and ST Y may be in the standby state at the same time. When both stations ST X and ST Y simultaneously shift to the standby state, both stations ST X and ST Y no longer detect the no-signal duration. Therefore, both stations ST X and ST Y are released from the standby state at the same time even though the failure recovery is not actually performed. Then, again, a signalless duration caused by both stations ST X , ST Y occurs. Therefore, both stations ST X and ST Y are simultaneously moved to the standby state again. In this way, the standby state and the standby recovery state are repeated indefinitely. Therefore, in the data transmission device, the abnormal state is not permanently released.

このような不都合を解消するために、待機状態移行時
点から待機状態復旧時点までの時間を規定するフィルタ
回路25に印加する期間(TB+R)に乱数Rの項を組込む
ことにより、各ステーションSTX,STY間で待機状態から
復旧するまでの時間をずらせて、故意にいずれか一方の
ステーションが早く待機状態から復旧して、まだ待機状
態にある他方のステーションに無信号継続期間を検出さ
せて、その他方のステーションにさらに待機状態を継続
させることができる。よって、このデータ伝送装置はこ
の一方のステーションだけ待機状態となる状態を維持す
ることができ、待機状態のステーションを除く各ステー
ション相互間でデータ伝送を正常に継続できる。
In order to eliminate such an inconvenience, by incorporating the term of the random number R into the period (T B + R) applied to the filter circuit 25 that defines the time from the standby state transition time to the standby state recovery time, each station ST By delaying the time to recover from the standby state between X and ST Y , one of the stations intentionally recovers from the standby state earlier and the other station, which is still in the standby state, detects the no signal duration. Therefore, the other station can be made to continue the standby state. Therefore, this data transmission device can maintain the state in which only one of the stations is in the standby state, and the data transmission can be normally continued between the stations except the station in the standby state.

このように、複数のステーションの間で異なるバスラ
インに対するアクセスが不可能になる状態に陥ったとし
ても、一方のバスラインに対するアクセスが不可能にな
ったステーションのみを強制的に待機状態に移行させる
ことによって、データ伝送を継続でき、被害を最小限に
抑制でき、装置全体のシステムダウンを未然に防止でき
る。
In this way, even if a plurality of stations become unable to access different bus lines, only the station that cannot access one bus line is forced to enter the standby state. As a result, data transmission can be continued, damage can be suppressed to a minimum, and system down of the entire device can be prevented.

なお、本発明は上述した実施例に限定されるものでは
ない。実施例装置においては、無信号継続時間を計時す
る無信号状態検出回路をMAC層5の外部に独立して設け
たが、MAC層5内のトークンバス方式を制御するプログ
ラムに組込まれているトークン要求信号を送出するタイ
ミングを設定するためのタイマ回路と共通であってもよ
い。また、トークン要求信号を信号無し信号と見なして
送信禁止制御回路23へ印加してもよい。
The present invention is not limited to the above embodiment. In the apparatus of the embodiment, the no-signal state detection circuit for measuring the no-signal duration is independently provided outside the MAC layer 5, but the token incorporated in the program for controlling the token bus system in the MAC layer 5 It may be common with the timer circuit for setting the timing of transmitting the request signal. Further, the token request signal may be regarded as a signal-less signal and applied to the transmission prohibition control circuit 23.

さらに、乱数Rに各ステーション2毎に重用度を加味
した重付けを付加することにより、同時に待機状態に移
行したステーションのうち、より重要なステーションが
先に待機状態から復旧させて、さほど重要でないステー
ションに待機状態を継続して維持させることも可能であ
る。
Furthermore, by adding a weighting considering the degree of importance to each station 2 to the random number R, the more important station among the stations that have transited to the standby state at the same time recovers from the standby state first, and is not so important. It is also possible to keep the station in a waiting state.

[発明の効果] 以上説明したように本発明の二重化バス方式のデータ
伝送装置によれば、受信信号の無信号状態が所定時間を
超えたとき、該当ステーションからバスラインに対する
信号送信を強制的に遮断している。したがって、たとえ
複数のステーション間で互いに異なるバスラインに対す
る断線が発生したとしても、装置全体のシステムダウン
を未然に防止でき、被害を最小限に抑制できる。その結
果、装置全体の信頼性を向上できる。
[Effects of the Invention] As described above, according to the duplex bus system data transmission apparatus of the present invention, when the no-signal state of the received signal exceeds a predetermined time, signal transmission from the corresponding station to the bus line is forced. It is shut off. Therefore, even if the bus lines different from each other are disconnected between the plurality of stations, the system down of the entire apparatus can be prevented and the damage can be minimized. As a result, the reliability of the entire device can be improved.

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

第1図は本発明の二重化バス方式のデータ伝送装置にお
ける各ステーションの概略構成を示すブロック図、第2
図は同実施制装置の送信禁止制御回路を示すブロック
図、第3図は一般的な二重化バス方式のデータ伝送装置
を示すブロック図、第4図は従来装置における各ステー
ションの概略構成を示すブロック図、第5図および第6
図は一般的な故障状態を示す図、第7図は従来装置の問
題点を説明するためのタイムチャートである。 1a,1b……バスライン、2,STX,STY……ステーション、4
……切換スイッチ、5……MAC層、8a,8b……エラー検出
回路、9……先着判定回路、10……バスライン選択回
路、21a,21b……スイッチ回路、22……無信号状態検出
回路、23……送信禁止制御回路、24,25……フィルタ回
路、26……フリップフロップ。
FIG. 1 is a block diagram showing a schematic configuration of each station in a dual bus data transmission apparatus of the present invention, FIG.
FIG. 1 is a block diagram showing a transmission prohibition control circuit of the implementation system, FIG. 3 is a block diagram showing a general duplex bus type data transmission device, and FIG. 4 is a block diagram showing a schematic configuration of each station in a conventional device. Figures, 5 and 6
FIG. 7 is a diagram showing a general failure state, and FIG. 7 is a time chart for explaining the problems of the conventional device. 1a, 1b …… bus line, 2, ST X , ST Y …… station, 4
...... Changeover switch, 5 ...... MAC layer, 8a, 8b ...... Error detection circuit, 9 ...... First arrival judging circuit, 10 ...... Bus line selection circuit, 21a, 21b ...... Switch circuit, 22 ...... No signal state detection Circuit, 23 ... Transmission inhibition control circuit, 24, 25 ... Filter circuit, 26 ... Flip-flop.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】同一データを伝送する2系統バスラインの
各バスラインに各ステーションをそれぞれ接続し、一方
のバスラインを用いたデータ伝送が不能になったとき他
方のバスラインを用いてデータ伝送を行うと共に、各ス
テーションにおける各バスラインに対するデータの送出
タイミングをトークンバス方式で制御し、かつ、各ステ
ーションからトークンの再送出による情報リングの再構
築を可能とする二重化バス方式のデータ伝送装置におい
て、 前記各ステーションは、前記2系統バスラインに対する
信号送出路に介挿され、当該信号送出路のみを切り離し
可能なスイッチ回路と、前記2系統バスラインにおける
無信号継続時間を計時してこの無信号継続時間が所定時
間を超えると信号無し信号を出力する無信号状態検出回
路と、この無信号状態検出回路から出力される信号無し
信号の所定期間内における出力回数が予め定められた限
界回数に達したとき、前記スイッチ回路へ前記信号送出
路の切り離し開放信号を送出する送信禁止制御回路とを
備え、自己の信号送出路を前記2系統バスラインから切
り離すことを特徴とする二重化バス方式のデータ伝送装
置。
1. A station is connected to each bus line of two system bus lines for transmitting the same data, and when data transmission using one bus line is disabled, data transmission is performed using the other bus line. In the data transmission device of the duplex bus system, which controls the data transmission timing to each bus line in each station by the token bus system and enables the reconstruction of the information ring by retransmitting the token from each station. The station is provided with a switch circuit which is inserted in a signal transmission path for the two-system bus line and is capable of disconnecting only the signal transmission path, and a no-signal continuation time in the two-system bus line to measure the no-signal duration. A no-signal state detection circuit that outputs a no-signal signal when the duration exceeds a predetermined time, and A transmission prohibition control circuit for transmitting a disconnection release signal of the signal transmission path to the switch circuit when the number of outputs of the no signal signal output from the signal state detection circuit reaches a predetermined limit number of times within a predetermined period. And a signal transmission path of its own is separated from the two-system bus line.
JP1297727A 1989-11-17 1989-11-17 Redundant bus system data transmission device Expired - Fee Related JP2507635B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1297727A JP2507635B2 (en) 1989-11-17 1989-11-17 Redundant bus system data transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1297727A JP2507635B2 (en) 1989-11-17 1989-11-17 Redundant bus system data transmission device

Publications (2)

Publication Number Publication Date
JPH03159433A JPH03159433A (en) 1991-07-09
JP2507635B2 true JP2507635B2 (en) 1996-06-12

Family

ID=17850398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1297727A Expired - Fee Related JP2507635B2 (en) 1989-11-17 1989-11-17 Redundant bus system data transmission device

Country Status (1)

Country Link
JP (1) JP2507635B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56150B2 (en) * 1976-07-06 1981-01-06
JPS6215951A (en) * 1985-07-15 1987-01-24 Canon Inc Network system
JPS62128240A (en) * 1985-11-28 1987-06-10 Canon Inc Network system
JPS62135144A (en) * 1985-12-05 1987-06-18 福崎 英機 Rolled wet towel molding method and rolled wet towel
JPS62230138A (en) * 1986-03-31 1987-10-08 Toshiba Corp Changeover equipment for duplicated transmission line
JPS63309044A (en) * 1987-06-11 1988-12-16 Sony Corp Data transmission system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56150U (en) * 1980-06-17 1981-01-06

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56150B2 (en) * 1976-07-06 1981-01-06
JPS6215951A (en) * 1985-07-15 1987-01-24 Canon Inc Network system
JPS62128240A (en) * 1985-11-28 1987-06-10 Canon Inc Network system
JPS62135144A (en) * 1985-12-05 1987-06-18 福崎 英機 Rolled wet towel molding method and rolled wet towel
JPS62230138A (en) * 1986-03-31 1987-10-08 Toshiba Corp Changeover equipment for duplicated transmission line
JPS63309044A (en) * 1987-06-11 1988-12-16 Sony Corp Data transmission system

Also Published As

Publication number Publication date
JPH03159433A (en) 1991-07-09

Similar Documents

Publication Publication Date Title
CA1238961A (en) Data communication network
JP4437984B2 (en) Network relay device and control method thereof
US4787083A (en) Bus-method communication network system capable of seizing transmission right by using timer means at each station
US5522047A (en) Graceful insertion of a tree into a ring network
JP2563854B2 (en) Method and apparatus for returning to a normal link after use of a standby link in a data communication system
JP3230670B2 (en) Line switching device, line switching method, and recording medium
JP2507635B2 (en) Redundant bus system data transmission device
JP2765284B2 (en) Automatic line switching device
KR970004795B1 (en) Protection against loss or corruption of data upon switchover of a replicated system
JPS58170247A (en) Automatic loop back controlling system
JP3082425B2 (en) Transmission line control method for data communication system
JPS5981943A (en) Automatic recovery system for loop system fault
JP2739532B2 (en) Reconfiguration control method for token ring LAN system
JP3206718B2 (en) Communication control device
JP2947185B2 (en) Transmission line switching system
JPH06350492A (en) Abnormality detecting system for distribution line carrier communications system
JP3166777B2 (en) Automatic line switching method
JP2822995B2 (en) Alarm cell generation system
JP2001186581A (en) Fault detector and fault detection method
JP2827583B2 (en) Image data transmission processing method
JPH01298833A (en) Token protection system in token passing transmission
HU205673B (en) Method and circuit arrangement for connecting two cable-segments of data-transfer network
JPS63228849A (en) Decentralized transmitting device
JPH02294136A (en) Automatic loop state transmission line fault recovery system
JP2001007830A (en) Restoration detection method for network system and repeater using it

Legal Events

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