JPH0983557A - Looped transmission device - Google Patents

Looped transmission device

Info

Publication number
JPH0983557A
JPH0983557A JP7238872A JP23887295A JPH0983557A JP H0983557 A JPH0983557 A JP H0983557A JP 7238872 A JP7238872 A JP 7238872A JP 23887295 A JP23887295 A JP 23887295A JP H0983557 A JPH0983557 A JP H0983557A
Authority
JP
Japan
Prior art keywords
transmission
loop
control
station
line
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
JP7238872A
Other languages
Japanese (ja)
Inventor
Tadashi Sato
正 佐藤
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
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP7238872A priority Critical patent/JPH0983557A/en
Publication of JPH0983557A publication Critical patent/JPH0983557A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a looped transmission device which can realize statistical line control in addition to line control when disturbance enters a line. SOLUTION: In the looped transmission device connecting plural transmission stations 2 by a duplex looped transmission line, the respective transmission stations 2 are provided with data processing parts 4 executing the processing of transmission/reception data, unit interface parts 6 connected to external units 3, media access control parts 7 controlling access to transmission mediums, loop control circuits 8 controlling the loop lines and transmission/reception circuits 10 converting a logic signal and a transmission signal. Counters 9 counting the number of times for the normality/abnormality of transmission frames received within a prescribed time independently of the loop control circuits 8, comparing both number of times and statistically controlling the lines is provided.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、鉄鋼プラントその
他の各種産業プラント設備の監視制御系等を構成する各
種機器間のデータ伝送に利用される伝送装置の、2重ル
ープ伝送路のループ型伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a loop type transmission of a double loop transmission line of a transmission device used for data transmission between various devices constituting a supervisory control system of steel plant and other various industrial plant facilities. Regarding the device.

【0002】[0002]

【従来の技術】鉄鋼プラントその他の産業プラントにお
いて使用される伝送装置の伝送路構成(トポロジ)には
色々なものがあるが、大別すると次の3種類がある。こ
れらはそれぞれに特長があり、その適用システムに応じ
て使い分けを行っているのが現状である。このうち伝送
路故障に対する冗長度、システム規模、通信形態等から
比較すると次のようになる。
2. Description of the Related Art There are various types of transmission line configurations (topologies) of transmission devices used in steel plants and other industrial plants, and they are roughly classified into the following three types. Each of these has its own characteristics, and at present, they are used properly depending on the application system. Of these, the following is a comparison from the redundancy against the transmission line failure, the system scale, the communication form, etc.

【0003】[0003]

【表1】 [Table 1]

【0004】前記の表から分かるように、 伝送路の故障に対する冗長度 スター>ループ>バス システム規模 ループ>バス>スター 通信形態 ループ・バス>スター 支線系にはバスやスターが、幹線系にはループが適して
いる。
As can be seen from the above table, redundancy against transmission line failure Star>Loop> Bus system scale Loop>Bus> Star Communication mode Loop bus> Star Buses and stars are used in the branch line system, and in the trunk line system. Loop is suitable.

【0005】但し、ループ型の伝送装置の場合、他の2
つに比べループ回線自体を制御することが必要になるた
め複雑となる。通常ループ伝送の伝送局は、隣局との通
信状態を監視し、異常を検出するとその部分を切り離し
を行う必要がある。また、ループ回線を制御する回線制
御局が存在して、システム全体の回線制御を行う構成に
しているのが普通である。
However, in the case of a loop type transmission device, the other two
However, it is more complicated because it is necessary to control the loop line itself. The transmission station of normal loop transmission needs to monitor the communication state with the adjacent station and disconnect the portion when an abnormality is detected. In addition, there is usually a line control station that controls the loop line, and the line control of the entire system is usually performed.

【0006】[0006]

【発明が解決しようとする課題】前述のように、ループ
伝送装置は異常検出や切り離し制御機能を有しているの
が普通である。しかし、その方法は固定的な故障モード
を対象にしており、不安定状態が続く故障モードや低頻
度の故障に対して十分の制御ができなかった。
As described above, the loop transmission device usually has an abnormality detection and disconnection control function. However, the method is intended for a fixed failure mode, and cannot sufficiently control a failure mode in which an unstable state continues or a low frequency failure.

【0007】例えば、システムによっては、低頻度の故
障によるシステム外乱が制御応答性上問題になる場合も
あり、そのような故障箇所も切り離す必要がある。逆
に、適用上の制限から一過性の異常発生があってもシス
テム的には動作しない方がシステム的に安定している場
合もあり、適用システムに応じてその要求は色々と異な
る。
For example, in some systems, system disturbance due to infrequent failures may cause a problem in control responsiveness, and it is necessary to separate such failure points. On the other hand, due to application restrictions, it may be more stable systematically if the system does not operate even if a temporary abnormality occurs, and the requirements vary depending on the application system.

【0008】また、異常時の回線制御時に更に異常が発
生し、実際の故障状態とは異なる回線制御が行われてし
まうことがある。
Further, an abnormality may occur during line control in the event of an abnormality, and line control different from the actual failure state may be performed.

【0009】本発明はこのような事情に基づいてなされ
たもので、固定的な故障か散発的な故障かの判断がつ
き、更に散発的な故障の場合でも発生頻度を認識でき、
また外乱発生時の回線制御において外乱が更に発生し異
常な状態になっても、再度システムを訂正することが可
能になり、さらにシステムに応じたループ回線制御が可
能になるループ型伝送装置を提供することを目的とす
る。
The present invention has been made on the basis of such a situation, and it is possible to judge whether the failure is a fixed one or a sporadic one, and to recognize the occurrence frequency even in the case of a sporadic one.
In addition, even if disturbance occurs in the line control when a disturbance occurs and an abnormal state occurs, the system can be corrected again, and a loop type transmission device that enables loop line control according to the system is provided. The purpose is to do.

【0010】[0010]

【課題を解決するための手段】前記目的を達成するた
め、本発明は以下のように構成したものである。
In order to achieve the above object, the present invention is configured as follows.

【0011】請求項1に対応する発明は、複数の伝送局
を2重ループ状の伝送路で接続したループ型伝送装置に
おいて、前記各伝送局は、送受信データの処理を行うデ
ータ処理部と、外部機器と接続するための機器インタフ
ェース部と、伝送媒体に対するアクセスを制御するメデ
ィア・アクセス・コントロール部と、ループ回線の制御
を行うループ制御回路及びロジック信号と伝送信号との
信号変換を行う送受信回路と、前記ループ制御回路とは
独立に、一定時間内に受信した伝送フレームの正常/異
常回数をカウントし両者を比較して統計的な回線制御を
行うためのカウンタと、を具備したことを特徴とするル
ープ型伝送装置である。
The invention according to claim 1 is a loop type transmission apparatus in which a plurality of transmission stations are connected by a double loop transmission line, wherein each transmission station includes a data processing unit for processing transmission / reception data, A device interface unit for connecting to an external device, a media access control unit for controlling access to a transmission medium, a loop control circuit for controlling a loop line, and a transmission / reception circuit for converting a signal between a logic signal and a transmission signal. And a counter for counting the normal / abnormal number of transmission frames received within a fixed time and comparing the two to perform statistical line control independently of the loop control circuit. It is a loop type transmission device.

【0012】請求項1に対応する発明によれば、一定時
間内の正常/異常伝送のカウントを比較することによ
り、固定的な故障か散発的な故障かの判断がつき、更に
散発的な故障の場合でも発生頻度を認識できる。例え
ば、正常伝送カウントが無く、異常伝送カウントのみが
カウントアップする場合は固定的な永久故障と判断して
異常部の切り離しを実施する。散発的に異常を検出する
時、一定時間に発生する異常回数のスレシュホールド値
を設定し、この値を越えた発生頻度で異常を検出した場
合には切り離しを実行しそれ以下の場合には無視する。
According to the first aspect of the invention, by comparing the counts of normal / abnormal transmission within a certain period of time, it is possible to determine whether the fault is a fixed fault or a sporadic fault, and further a sporadic fault. Even in the case of, the occurrence frequency can be recognized. For example, if there is no normal transmission count and only the abnormal transmission count is incremented, it is determined that a permanent failure has occurred and the abnormal portion is separated. When detecting abnormalities sporadically, set a threshold value for the number of abnormalities that occur within a certain time.If an abnormality is detected with an occurrence frequency exceeding this value, disconnection is executed and ignored if it is less than that. To do.

【0013】請求項2に対応する発明は、請求項1記載
のループ型伝送装置において、前記各伝送局が一定周期
に送信する場合であって、通常のデータフレームのヘッ
ダ部に自己の伝送局のループ制御上のモードを入れて周
期的に情報を送信し、これをループ回線制御局が集計し
てループ回線制御を行う手段を備えたことを特徴とする
ループ型伝送装置である。
The invention corresponding to claim 2 is the loop type transmission device according to claim 1, wherein each of the transmission stations transmits at a constant period, and the transmission station of its own is included in the header portion of a normal data frame. The loop type transmission apparatus is characterized by including means for performing loop control by adding a mode for loop control, transmitting information periodically, and collecting the information by a loop circuit control station.

【0014】請求項2に対応する発明によれば、各伝送
局が一定周期に送信を行っているような場合に有効であ
る。各伝送局が自局のループ制御モードをこの定周期送
信の伝送フレームヘッダ内に格納して送信する。ループ
システム中にある、ループ回線制御局がこの情報を収集
して各伝送局のマップを作成し、制御上有り得ない状態
または各伝送局からのシステムイニシャライズ要求に応
じてシステムリセットを行う。これにより、外乱発生時
の回線制御において外乱が更に発生し異常な状態になっ
ても、再度システムを訂正することが可能になる。
The invention according to claim 2 is effective in the case where each transmission station transmits at a constant period. Each transmission station stores its loop control mode in the transmission frame header of this fixed period transmission and transmits it. The loop line control station in the loop system collects this information and creates a map of each transmission station, and resets the system in a state where control is impossible or in response to a system initialization request from each transmission station. This makes it possible to correct the system again, even if a disturbance occurs in the line control when a disturbance occurs and an abnormal state occurs.

【0015】請求項3に対応する発明は、請求項2記載
のループ型伝送装置において、前記収集した情報を接続
する外部機器から参照できるようにすると共に、外部機
器からモードの制御を可能にする手段を備えたことを特
徴とするループ型伝送装置である。
The invention corresponding to claim 3 is that, in the loop type transmission device according to claim 2, the collected information can be referred to by an external device to be connected, and the mode can be controlled from the external device. A loop-type transmission device comprising means.

【0016】請求項3に対応する発明は、前記統計情報
を機器インタフェースを介して、外部機器から参照でき
るようにすることで、外部機器からシステムのリセッ
ト、異常箇所の切り離しを指定できるようにする。
According to the third aspect of the present invention, the statistical information can be referred to from an external device through a device interface, so that the external device can designate system reset and disconnection of an abnormal portion. .

【0017】請求項3に対応する発明によれば、前記請
求項2記載の情報を機器インタフェースを介して外部機
器に参照できるようにすると共に、外部機器から伝送局
のループ制御状態の固定化を可能にする。この固定状態
は要求した外部機器以外からは解除できないようにす
る。これによって、システムに応じたループ回線制御が
可能になる。
According to the invention corresponding to claim 3, the information according to claim 2 can be referred to the external device through the device interface, and the loop control state of the transmission station can be fixed from the external device. enable. This fixed state can be released only from the requested external device. This enables loop line control according to the system.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0019】<第1の実施の形態> (構成)図1は本発明に係わる伝送システムの1例であ
る。この伝送システムは、2重ループ状の伝送路1−
1,1−2に複数の伝送局(STN)21 ,22
3 ,24 …2n が分散して接続され、更にこれら伝送
局21 〜2n にはそれぞれPLC(プログラマブルロジ
ックコントローラ)、計算機、パーソナルコンピュー
タ、I/O機器、その他の制御機器が外部機器3として
接続されている。
<First Embodiment> (Structure) FIG. 1 shows an example of a transmission system according to the present invention. This transmission system is a double loop transmission line 1-
1, 1-2, a plurality of transmission stations (STN) 2 1 , 2 2 ,
2 3, 2 4 ... 2 n are connected in a distributed, further each of the 2 1 to 2 n of these transmission stations PLC (programmable logic controller), a computer, a personal computer, I / O devices, and other control devices of the external It is connected as the device 3.

【0020】以上述べた伝送局21 〜2n は図2に示す
ように、送受信のデータ処理を行うデータ処理部4、外
部機器3と接続するための機器インタフェース部6、伝
送媒体のアクセス制御を行うメディア・アクセス制御部
(MAC)7、ループ回線の制御を行うループ制御部
(LP)8、及びロジック信号と伝送信号の変換を行う
送受信回路10から構成されている。隣局との通信の正
常及び異常回数をカウントするカウンタを設け、そのカ
ウンタ値を過渡的な時間を無視しうる十分な時間間隔で
統計的にチェックすることで隣局との通信状態を判定す
るものである。
As shown in FIG. 2, each of the above-mentioned transmission stations 2 1 to 2 n has a data processing unit 4 for performing transmission / reception data processing, a device interface unit 6 for connecting to an external device 3, and an access control for a transmission medium. It is composed of a media access control unit (MAC) 7 for performing the above, a loop control unit (LP) 8 for controlling the loop line, and a transmission / reception circuit 10 for converting a logic signal and a transmission signal. A counter that counts the number of normal and abnormal communication with the neighboring station is provided, and the communication state with the neighboring station is determined by statistically checking the counter value at a sufficient time interval that can ignore transient time. It is a thing.

【0021】以上述べた伝送局21 〜2n は図2に示す
ように構成されている。
The above-mentioned transmission stations 2 1 to 2 n are constructed as shown in FIG.

【0022】各伝送局2は、送受信データ処理及び回線
制御処理を行う周辺回路を含むCPU41と、このCP
U41から導出される内部バス5に接続され、動作プロ
グラムその他の必要なプログラムを格納するROMや処
理データを一時的格納するRAMから構成されるメモリ
42から成るデータ処理部4と、外部機器からのバス1
3と内部バス5に接続され、外部機器とCPU41に対
して割込信号14及び16を出力する割込回路61と、
同じく外部機器3からのバス13と内部バス5に接続さ
れ、外部機器3とCPU41の両方からアクセスが可能
なデュアルポートメモリ62から構成される機器インタ
フェース部6と、内部バス5に接続され、送受信タイミ
ングを制御するメディアアクセス制御回路(MAC)7
と、同じく内部バス5に接続され、隣局との通信状態を
監視/制御や両側からの受信フレームを選択してMAC
7へ送出するループ制御を行うループ制御部(LP)8
と、ロジック信号と二重ループ構成になっている伝送路
上の信号レベルを変換する送受信回路10と、送受信回
路10からLP8に渡される両系の受信信号を監視して
異常回数を検出する検出カウンタ(CNT)9からなっ
ている。
Each transmission station 2 includes a CPU 41 including a peripheral circuit for performing transmission / reception data processing and line control processing, and this CP
A data processing unit 4 connected to an internal bus 5 derived from U41 and including a ROM 42 for storing operation programs and other necessary programs and a RAM 42 for temporarily storing processing data, and an external device Bus 1
3 and the internal bus 5, and an interrupt circuit 61 for outputting interrupt signals 14 and 16 to an external device and the CPU 41,
Similarly, a device interface unit 6 which is connected to the bus 13 from the external device 3 and the internal bus 5 and which is accessible from both the external device 3 and the CPU 41 and a device interface unit 6 which is connected to the internal bus 5 is used for transmission / reception. Media access control circuit (MAC) 7 for controlling timing
Similarly, it is connected to the internal bus 5 and monitors / controls the communication state with the adjacent station and selects the reception frame from both sides to select the MAC.
Loop control unit (LP) 8 for performing loop control for sending to 7
And a transmission / reception circuit 10 for converting a signal level on a transmission line having a double loop configuration with a logic signal, and a detection counter for detecting the number of abnormalities by monitoring the reception signals of both systems passed from the transmission / reception circuit 10 to LP8. It consists of (CNT) 9.

【0023】ここで、LP8の方式に関しては、既に出
願(特願平7ー53017号)がなされているので、そ
の説明を省く。
Since the application for the LP8 system has already been filed (Japanese Patent Application No. 7-53017), its explanation is omitted.

【0024】前述の検出カウンタ9は、二重系になって
いる伝送路1ー1,1ー2の各々に独立に設けられ、そ
れぞれ正常受信フレーム数、異常受信フレーム数をカウ
ントする。更に異常フレームについては検出要因に応じ
て、CRCエラー、ショートフレーム(最小フレーム構
成より短い)をカウントする。
The above-mentioned detection counter 9 is independently provided in each of the transmission lines 1-1 and 1-2 which are in the dual system, and counts the normal reception frame number and the abnormal reception frame number, respectively. Further, regarding the abnormal frame, the CRC error and the short frame (shorter than the minimum frame configuration) are counted according to the detection factor.

【0025】(作用)最初に、この伝送装置のループ制
御の基本的な方法について以下に述べる。
(Operation) First, a basic method of loop control of this transmission device will be described below.

【0026】伝送システムには、回線全体の制御行う回
線制御局と通常局がある。但し、ハードウェアは両者共
図2で示した構成をとり、違いはない。また通常伝送に
関しても違いはなく、相違は異常時の回線制御動作にあ
る。
The transmission system includes a line control station for controlling the whole line and a normal station. However, the hardware has the configuration shown in FIG. 2 for both, and there is no difference. Also, there is no difference in normal transmission, and the difference lies in the line control operation at the time of abnormality.

【0027】(1)通常伝送時 伝送局2はデータ処理部4は送信要求が発生すると、デ
ータフレームを作成して、MAC7が決定する送信タイ
ミング時にデータをMAC7に対して送出する。MAC
7は更にこのデータをLP8に送り、LP8は互いに反
対方向に信号が流れるようになっている二重系伝送路1
ー1,1ー2に送信する。
(1) At the time of normal transmission When the transmission request is generated by the data processing unit 4, the transmission station 2 creates a data frame and sends the data to the MAC 7 at the transmission timing determined by the MAC 7. MAC
7 further sends this data to LP8, which is a dual transmission line 1 in which signals flow in opposite directions.
-1 and 1-2.

【0028】受信側は二つの伝送路1ー1,1ー2から
データを受信するが、LP8によって先着優先で受信フ
レームをMAC7からデータ処理部4に出力する。デー
タ処理部4はこのフレームを判別してメモリ42に格納
し、受信処理を実施する。
The receiving side receives data from the two transmission lines 1-1 and 1-2, and the LP8 outputs the received frame from the MAC 7 to the data processing unit 4 on a first-come-first-served basis. The data processing unit 4 discriminates this frame, stores it in the memory 42, and executes the receiving process.

【0029】(2)異常検出時 LP8は隣局からフレームを受信した場合応答コードを
返す。送信した側のLP8は隣局からの応答を監視し
て、応答が返ってこない場合、隣局異常と判断してデー
タ処理部4に割込を発生させ通知する。これによりCP
U41は伝送局2の異常側の送受信を禁止し端局とし、
端局になったことを回線制御局に通知するため、端局コ
ードというパターン信号を正常側に送出するようにLP
8に対して指令を発行する。
(2) When an abnormality is detected LP8 returns a response code when a frame is received from a neighboring station. The transmitting LP 8 monitors the response from the adjacent station, and if no response is returned, determines that the adjacent station is abnormal and issues an interrupt to the data processing unit 4 to notify it. This allows CP
U41 prohibits transmission / reception on the abnormal side of the transmission station 2 to be a terminal station,
In order to notify the line control station that it has become a terminal station, it is necessary to send a pattern signal called a terminal station code to the normal side.
Issue a command to 8.

【0030】これを受けた回線制御局はそれまで信号を
リピートを禁止して、信号の周回を防止していた状態か
らリピート許可に変更する。
Upon receiving this, the line control station prohibits the repeat of the signal until then, and changes from the state in which the circulation of the signal is prevented to the repeat permission.

【0031】(3)復旧時 異常箇所を修復して正常状態に復旧する場合は、次の手
順で行われる。
(3) At the time of restoration When the abnormal portion is repaired to restore the normal state, the following procedure is performed.

【0032】異常を検出し端局となった伝送局2では、
LP8は一定周期で異常側に確認コードを送出する。こ
れを受信した伝送局2のLP8はこれに対して応答コー
ドを返すようになっている。確認コードを送出した伝送
局のLP8はこの応答コードが返ってくると隣局との通
信が復旧したと判断してCPU41に復旧検出の割込を
発生させる。
At the transmission station 2 which has detected an abnormality and has become a terminal station,
The LP8 sends a confirmation code to the abnormal side at regular intervals. The LP 8 of the transmission station 2 which receives this returns a response code to this. When the LP8 of the transmission station that has transmitted the confirmation code returns this response code, it determines that communication with the adjacent station has been restored, and causes the CPU 41 to generate a restoration detection interrupt.

【0033】CPU41は回線制御局に復旧コードを送
出するようにLP8に指令を発行する。復旧コードを受
信した回線制御局ではLP8が復旧コードを受信したこ
とをCPUに割込で知らせ、CPU41はLP8に対し
てリセットコードを送出するように指令を出し、システ
ムを初期化し伝送システムは正常状態に復帰させる。
The CPU 41 issues a command to the LP 8 to send the recovery code to the line control station. The line control station that received the recovery code interrupts the CPU that the LP8 has received the recovery code, and the CPU 41 issues a command to the LP8 to send a reset code, initializes the system, and normalizes the transmission system. Restore the condition.

【0034】前述のように、ループ回線の制御はLP8
とそれを制御するCPU41によって行われる。ところ
が、このような制御は異常が固定的な場合は問題がない
が、異常状態が不安定な場合にはなかなか対応しずら
い。
As described above, the loop line is controlled by LP8.
And the CPU 41 that controls it. However, such control has no problem if the abnormality is fixed, but it is difficult to deal with it when the abnormality is unstable.

【0035】そこで、請求項1に対応する発明では、図
2に示すように検出カウンタ9をLP8と送受信回路1
0の間に設け、両系の伝送路1ー1,1ー2から受信す
るフレームを独立にチェックし、その数をカウントす
る。
Therefore, in the invention corresponding to claim 1, as shown in FIG.
It is provided between 0, and the frames received from the transmission paths 1-1 and 1-2 of both systems are independently checked and the number is counted.

【0036】カウントする項目としては次のものがあ
る。
The items to be counted are as follows.

【0037】(イ)正常フレーム受信回数 (ロ)CRCエラーフレーム受信回数 (ハ)ショートフレーム受信回数 このカウンタ値の内容は内部バス5を介して、CPU4
1から読み出すことができる。
(A) Number of normal frame receptions (b) Number of CRC error frame receptions (c) Number of short frame receptions The contents of this counter value are stored in the CPU 4 via the internal bus 5.
It can be read from 1.

【0038】CPU41はこの値から統計的に隣局との
通信状態を次の手順で判断し、回線制御を行う。
From this value, the CPU 41 statistically determines the communication state with the adjacent station by the following procedure and controls the line.

【0039】<判断方法> (a)CPU41は定周期でこのカウンタ値を読み出
し、読み出し後はカウンタ9の内容をリセットする。
<Judgment Method> (a) The CPU 41 reads this counter value at a constant cycle, and after reading, resets the contents of the counter 9.

【0040】(b)数周期に渡り、異常フレームの受信
回数が正常フレーム受信回数を上回り続けた場合、回線
上に不安定箇所がある判断して、(2)と同じく異常発
生側を送受信禁止にして端局となる。
(B) If the number of abnormal frame receptions continues to exceed the number of normal frame receptions over several cycles, it is determined that there is an unstable point on the line, and transmission / reception is prohibited on the abnormal side as in (2). And become a terminal.

【0041】この制御ソフトの動作をフローで表現した
ものが図3および図4である。尚、2系統の伝送路につ
いて、同様なことを実施するが、ここでは代表して1系
の伝送路の場合について述べる。
The operation of this control software is represented by a flow chart in FIGS. 3 and 4. The same thing is carried out for the two transmission lines, but here, the case of the one transmission line will be described as a representative.

【0042】CPU41がカウンタ9の内容をチェック
する周期をT1とすると、伝送局2はT1×mの時間異
常フレームが正常フレームを上回った場合端局となり、
一過性の外乱に対して安定で、しかも異常が継続的に発
生している場合に対応できる。また、N個のデータの和
で判断しているため、伝送負荷がバラついても傾向が正
しく測定できると共に、正常フレームと異常フレームの
数と比較することで、伝送システムの効率で判断でき
る。
When the cycle in which the CPU 41 checks the contents of the counter 9 is T1, the transmission station 2 becomes a terminal station when the time abnormal frame of T1 × m exceeds the normal frame,
It is stable against transient disturbances and can handle cases where abnormalities occur continuously. Further, since the judgment is made by the sum of N pieces of data, the tendency can be accurately measured even if the transmission load varies, and the efficiency of the transmission system can be judged by comparing with the number of normal frames and abnormal frames.

【0043】請求項2に対応する発明は、各伝送局2は
自己のフレーム送信時、そのフレームヘッダ内にループ
制御上のモードを入れて送信し、回線制御局がこれを収
集して回線制御を行うものである。
In the invention corresponding to claim 2, when each transmission station 2 transmits its own frame, a mode for loop control is put in its frame header for transmission, and the line control station collects this and performs line control. Is to do.

【0044】前述のように、異常が発生した時及び異常
局が復旧した時には回線制御局は検出した局からの専用
のコードにより回線制御を行う。ところが、この専用コ
ードは異常発生または検出時しか送信されないため外乱
によりこのコードが消失した場合、次の異常検出まで回
線制御を行うタイミングを失うことになる。
As described above, the line control station performs line control by the dedicated code from the detected station when an abnormality occurs and when the abnormal station is restored. However, since this dedicated code is transmitted only when an abnormality occurs or is detected, if this code disappears due to a disturbance, the timing of line control will be lost until the next abnormality is detected.

【0045】これを防止するために、各伝送局2は定周
期で送信する送信フレームのヘッダに、図5で示すルー
プ状態コードを入れて送出する。
In order to prevent this, each transmission station 2 puts the loop status code shown in FIG. 5 in the header of the transmission frame to be transmitted in a fixed cycle and transmits it.

【0046】図5のLPフィールドを使用して、各伝送
局は自局のループ制御状態を送信する。
Using the LP field of FIG. 5, each transmission station sends its loop control status.

【0047】回線制御局はこのフレームを受信し、状態
が一定時間変わらない場合該当局の状態と判断する。
When the line control station receives this frame and the state does not change for a certain period of time, the line control station determines that it is the state of the corresponding station.

【0048】回線制御局はシステム中の伝送局が新たに
端局になった場合は、信号のリピート禁止状態から許可
状態に変更し、信号の周回を許す。また、復旧ビットが
セットしている場合はリセットコードを送出して伝送シ
ステムを初期状態に戻す。
When the transmission station in the system becomes a new terminal station, the line control station changes the signal repeat prohibition state to the permission state and permits the signal to circulate. If the recovery bit is set, a reset code is sent to return the transmission system to the initial state.

【0049】次に、請求項3に対応する発明について説
明する。前述の制御は伝送局が自主的に行っていた。し
かし、この場合制御プログラムは固定的かつ一般的な制
御しかできなく、特殊的な制御システム用にモデファイ
ができない。請求項3は、外部機器(ユーザ)からもル
ープ制御を可能にするためのものであり、外部機器から
デュアルポートメモリ経由で伝送局に対して、ループ制
御要求が発行できるようにする。
Next, the invention corresponding to claim 3 will be described. The above control was voluntarily performed by the transmission station. However, in this case, the control program can perform only fixed and general control, and cannot be modified for a special control system. The third aspect is to enable loop control from an external device (user) as well, so that the external device can issue a loop control request to the transmission station via the dual port memory.

【0050】具体的には、 (1)デュアルポートメモリ62上に次のループ状態ス
テータスを設け、外部機器から参照できるようにする。
(図6参照) (a)全伝送局 ・請求項1で述べた隣局との通信状況を示すカウンタ ・隣局とのループ制御状態(端局/通常状態) (b)回線制御局 ・上記(a) ・請求項2で示す各伝送局2のループ制御状態 (2)外部機器と伝送局間の要求/応答シーケンス 外部機器3は、このシーケンスに従って、伝送局にルー
プ制御要求を行う。要求を受けた伝送局は、処理を実行
した後応答を返す。尚、外部機器と伝送局は割込回路を
使用して、タイミング通知を行う。図7にシーケンス、
図8に要求/応答フォーマットを示す。
Specifically, (1) The following loop status is provided on the dual port memory 62 so that it can be referred to by an external device.
(Refer to FIG. 6) (a) All transmission stations-Counter indicating the communication status with the neighboring station described in claim 1-Loop control status with the neighboring station (terminal station / normal status) (b) Line control station-above (A) -Loop control state of each transmission station 2 described in claim 2 (2) Request / response sequence between external device and transmission station The external device 3 makes a loop control request to the transmission station according to this sequence. The transmission station that has received the request returns a response after executing the processing. The external device and the transmission station use the interrupt circuit to notify the timing. The sequence in Figure 7,
The request / response format is shown in FIG.

【0051】外部機器は、1系2系の受信状態を参照し
て、隣局との通信状態を確認する。異常の発生頻度を確
認して適用システムで許容値を策定して、その許容値を
越えた場合にその隣局との間を端局状態(送受信禁止)
にする。
The external device refers to the reception status of the 1-system and 2-system to confirm the communication status with the adjacent station. After confirming the frequency of occurrence of anomaly, formulating a permissible value in the applicable system, and when exceeding the permissible value, the terminal station status with the adjacent station (transmission / reception prohibited)
To

【0052】また、回線制御局に接続する外部機器は、
この処理の他に伝送システム全体の局状態を監視し、頻
繁に端局状態と正常状態を繰り返す局を検出し、その局
の異常があると思われる側を端局状態にするように指示
する。
External equipment connected to the line control station is
In addition to this processing, monitor the station status of the entire transmission system, detect stations that frequently repeat the terminal status and normal status, and instruct the side that seems to have an abnormality to enter the terminal status. .

【0053】この指示は、一度実行された場合、解除要
求がくるまで伝送局が記憶を保持する。
If this instruction is executed once, the transmission station holds the memory until a cancellation request comes.

【0054】(効果)本発明を実施することにより、実
施の形態で示すようにループ回線上の異常を一時的な外
乱処理としてではなく、統計的に判断処理することで確
実な制御が可能になる。また、回線制御自体が外乱によ
って正常に行われなくても、再修復を可能にするタイミ
ングを作ることが可能である。
(Effects) By implementing the present invention, reliable control can be performed by statistically determining an abnormality on a loop line as a temporary disturbance process as shown in the embodiment. Become. Further, even if the line control itself is not normally performed due to a disturbance, it is possible to make a timing that enables re-restoration.

【0055】更に、外部機器からもループ制御が可能に
なるため、適用システムに応じた制御が可能になる。
Furthermore, since loop control can be performed from an external device, control according to the applicable system is possible.

【0056】<変形例>本実施の形態は、ループ制御に
関して述べたが、この異常を統計的に処理する方法はト
ポロジによらずバス型にも応用できる。その場合は、本
実施例の場合端局状態に遷移したが、異常検出によって
システムから離脱することにより実現できる。
<Modification> This embodiment has been described with respect to the loop control, but the method of statistically processing this abnormality can be applied to the bus type regardless of the topology. In that case, in the case of the present embodiment, the state is changed to the terminal station state, but it can be realized by leaving the system by the abnormality detection.

【0057】また、本実施例では受信異常事象として、
CRCエラーとショートフレームを採用したが、この他
にもフレームのフォーマットエラー、特定フレームの受
信、無信号状態等を追加することができる。
Further, in this embodiment, as the abnormal reception event,
Although the CRC error and the short frame are adopted, in addition to these, a frame format error, reception of a specific frame, a no-signal state, etc. can be added.

【0058】[0058]

【発明の効果】本発明によれば、前記3、4項で述べた
手段を用いることにより、回線に外乱が入った時点での
回線制御の他に統計的な回線制御が可能になる。
According to the present invention, by using the means described in the above items 3 and 4, statistical line control can be performed in addition to line control at the time when disturbance occurs on the line.

【0059】固定的な故障か散発的な故障かの判断がつ
き、更に散発的な故障の場合でも発生頻度を認識でき、
また外乱発生時の回線制御において外乱が更に発生し異
常な状態になっても、再度システムを訂正することが可
能になり、さらにシステムに応じたループ回線制御が可
能になるループ型伝送装置を提供できる。
It is possible to judge whether the failure is fixed or sporadic, and it is possible to recognize the frequency of occurrence even in the case of sporadic failures.
In addition, even if disturbance occurs in the line control when a disturbance occurs and an abnormal state occurs, the system can be corrected again, and a loop type transmission device that enables loop line control according to the system is provided. it can.

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

【図1】本発明の対象であるループ型伝送装置の概略構
成を示すブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a loop type transmission device which is an object of the present invention.

【図2】図1の伝送局の具体的構成を示すブロック図。FIG. 2 is a block diagram showing a specific configuration of the transmission station of FIG.

【図3】図2のCPU41の処理内容を説明するための
フローチャート。
FIG. 3 is a flowchart for explaining processing contents of a CPU 41 of FIG.

【図4】図2のCPU41の処理内容を説明するための
フローチャート。
FIG. 4 is a flowchart for explaining processing contents of a CPU 41 of FIG.

【図5】図3の送信フレームフォーマットを示す図。5 is a diagram showing a transmission frame format of FIG.

【図6】ループ状態ステータスを示す図。FIG. 6 is a diagram showing a loop status.

【図7】図2のCPU41の動作を説明するためのシー
ケンス。
FIG. 7 is a sequence for explaining the operation of the CPU 41 of FIG.

【図8】図7の要求/応答フォーマットを示す図。8 is a diagram showing the request / response format of FIG. 7. FIG.

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

1ー1,1ー2…伝送路、21 〜2n …伝送局、3…外
部機器、4…データ処理部、41…CPU、42…メモ
リ、5…内部バス、6…機器インタフェース部、61…
割込回路、62…デュアルポートメモリ、7…メデイア
アクセス制御回路、8…ループ制御部、9…検出カウン
タ、10…送受信回路、13…バス、14,16…割込
信号。
-1-1,1-2 ... transmission line, 2 1 to 2 n ... transmission station, 3 ... external device, 4 ... data processing unit, 41 ... CPU, 42 ... memory, 5 ... internal bus, 6 ... apparatus interface unit, 61 ...
Interrupt circuit, 62 ... Dual port memory, 7 ... Media access control circuit, 8 ... Loop control unit, 9 ... Detection counter, 10 ... Transceiver circuit, 13 ... Bus, 14, 16 ... Interrupt signal.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の伝送局を2重ループ状の伝送路で
接続したループ型伝送装置において、 前記各伝送局は、送受信データの処理を行うデータ処理
部と、外部機器と接続するための機器インタフェース部
と、伝送媒体に対するアクセスを制御するメディア・ア
クセス・コントロール部と、ループ回線の制御を行うル
ープ制御回路及びロジック信号と伝送信号との信号変換
を行う送受信回路と、前記ループ制御回路とは独立に、
一定時間内に受信した伝送フレームの正常/異常回数を
カウントし両者を比較して統計的な回線制御を行うため
のカウンタと、 を具備したことを特徴とするループ型伝送装置。
1. A loop-type transmission device in which a plurality of transmission stations are connected by a double-loop transmission path, wherein each of the transmission stations connects a data processing unit for processing transmission / reception data and an external device. A device interface section, a media access control section for controlling access to a transmission medium, a loop control circuit for controlling a loop line, a transmission / reception circuit for performing signal conversion between a logic signal and a transmission signal, and the loop control circuit Independently,
A loop type transmission apparatus comprising: a counter for counting the number of normal / abnormal transmission frames received within a fixed time period and comparing the two to perform statistical line control.
【請求項2】 請求項1記載のループ型伝送装置におい
て、前記各伝送局が一定周期に送信する場合であって、
通常のデータフレームのヘッダ部に自己の伝送局のルー
プ制御上のモードを入れて周期的に情報を送信し、これ
をループ回線制御局が集計してループ回線制御を行う手
段を備えたことを特徴とするループ型伝送装置。
2. The loop type transmission device according to claim 1, wherein each of the transmission stations transmits at a constant cycle,
It is equipped with a means to put the mode for loop control of its own transmission station in the header part of a normal data frame and transmit information periodically, and the loop line control station aggregates this information and performs loop line control. Characteristic loop type transmission device.
【請求項3】 請求項2記載のループ型伝送装置におい
て、前記収集した情報を接続する外部機器から参照でき
るようにすると共に、外部機器からモードの制御を可能
にする手段を備えたことを特徴とするループ型伝送装
置。
3. The loop type transmission device according to claim 2, further comprising means for enabling the collected information to be referred to by an external device to which the information is connected and for enabling a mode control from the external device. Loop type transmission device.
JP7238872A 1995-09-18 1995-09-18 Looped transmission device Pending JPH0983557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7238872A JPH0983557A (en) 1995-09-18 1995-09-18 Looped transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7238872A JPH0983557A (en) 1995-09-18 1995-09-18 Looped transmission device

Publications (1)

Publication Number Publication Date
JPH0983557A true JPH0983557A (en) 1997-03-28

Family

ID=17036522

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7238872A Pending JPH0983557A (en) 1995-09-18 1995-09-18 Looped transmission device

Country Status (1)

Country Link
JP (1) JPH0983557A (en)

Similar Documents

Publication Publication Date Title
US9009523B2 (en) Method and apparatus for isolating a fault in a controller area network
JP2011526110A (en) Fault node detection method
JP4291384B2 (en) Detection method of disconnection and power supply disconnection of IO unit connected to numerical controller
EP0580938A2 (en) Duplex communication control device
JPH0648822B2 (en) Abnormality handling method in digital transmission system
JPH0983557A (en) Looped transmission device
US8264948B2 (en) Interconnection device
CN100367262C (en) Method and device for testing a monitoring function of a bus system and a corresponding bus system
JP5407382B2 (en) Output module error output prevention method
JP2943690B2 (en) Cell collision detector
JPS62175044A (en) Duplexing loop-shaped transmission line
JP3910903B2 (en) Control packet receiving method and receiving apparatus
JP3272195B2 (en) Redundant system switching monitoring control device
JP2637313B2 (en) Double transmission bus type transmission system
JP2655506B2 (en) Transmission line switching system
JP2000013469A (en) Device and method for recovering communication equipment
JPH01170243A (en) Fault supervision system for local area network
JP2757455B2 (en) Transmission line switching device
JPH04349800A (en) Transmission data reception system
JPH1188387A (en) Loop type transmission device
KR930006862B1 (en) Triple modular redundency method
JPH04321342A (en) Fault detection method by token access method
JPH011350A (en) Gateway backup method
JP4679956B2 (en) Network failure determination method and network control method
JPS6244847A (en) System supervising method