JPH04293335A - Master station with backup function in transmission system - Google Patents
Master station with backup function in transmission systemInfo
- Publication number
- JPH04293335A JPH04293335A JP3057499A JP5749991A JPH04293335A JP H04293335 A JPH04293335 A JP H04293335A JP 3057499 A JP3057499 A JP 3057499A JP 5749991 A JP5749991 A JP 5749991A JP H04293335 A JPH04293335 A JP H04293335A
- Authority
- JP
- Japan
- Prior art keywords
- master station
- backup
- transmission system
- main body
- transmission
- 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
Links
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は複数のスレーブステーシ
ョンと、マスタステーションとが共通の伝送ラインを介
して交信する伝送システムにおける、特に自身の異常時
のバックアップ機能を備えたマスタステーションに関す
る。なお以下各図において同一の符合は同一もしくは相
当部分を示す。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission system in which a plurality of slave stations and a master station communicate via a common transmission line, and particularly to a master station equipped with a backup function in the event of an abnormality. In the following figures, the same reference numerals indicate the same or corresponding parts.
【0002】0002
【従来の技術】図3はこの種のデータ伝送システムの構
成例を示す。同図において1はマスタステーション、2
(2−1,〜,2−3)は夫々#1〜#3のスレーブス
テーション、3はこれらのマスタステーション1および
各スレーブステーション2−1,〜,2−3を結合する
共通の伝送ラインである。このような伝送システムでは
通常、マスタステーション1がリクエストメッセージR
EQをスレーブステーション2に発信し、このメッセー
ジREQに応じて予め定められたスレーブステーション
2(この図の例では#2スレーブステーション2−2)
が応答信号ANSをマスタステーション1に返信するの
が一般的である。またこの場合、マスタステーション1
は常時、定周期で各スレーブステーション2−1,〜,
2−3に、ある決まった種類の応答を返信するように一
定のリクエストメッセージREQを送信する。2. Description of the Related Art FIG. 3 shows an example of the configuration of this type of data transmission system. In the figure, 1 is the master station, 2
(2-1, ~, 2-3) are slave stations #1 ~ #3, respectively, and 3 is a common transmission line that connects these master station 1 and each slave station 2-1, ~, 2-3. be. In such a transmission system, the master station 1 usually sends the request message R.
EQ is sent to slave station 2, and in response to this message REQ, a predetermined slave station 2 (#2 slave station 2-2 in the example in this figure)
Generally, the master station 1 returns a response signal ANS to the master station 1. In this case, master station 1
is always sent to each slave station 2-1, ~, at regular intervals.
2-3, a certain request message REQ is sent so as to return a certain type of response.
【0003】0003
【発明が解決しようとする課題】上述した伝送システム
ではマスタステーション1がダウンした場合、このリク
エストメッセージREQを発信しないことになり、従っ
てスレーブステーション2からの応答がまったく来ない
事となり伝送システムがダウンしてしまう。このような
事態を避けるためマスタステーション1の二重化,三重
化などが検討されているが、これらの方式は一般的に複
雑であり、また高価なものとなってしまいがちである。
そこで本発明はマスタステーションがダウンした場合に
伝送システム全体がダウンすることのないような、伝送
システムにおけるバックアップ機能付マスタステーショ
ンを安価な方式で提供することを課題とする。[Problem to be Solved by the Invention] In the transmission system described above, if the master station 1 goes down, it will not send this request message REQ, and therefore no response will come from the slave station 2, causing the transmission system to go down. Resulting in. In order to avoid such a situation, duplication or triplexing of the master station 1 is being considered, but these systems are generally complicated and tend to be expensive. SUMMARY OF THE INVENTION An object of the present invention is to provide a master station with a backup function in a transmission system in an inexpensive manner so that the entire transmission system will not go down even if the master station goes down.
【0004】0004
【課題を解決するための手段】前記の課題を解決するた
めに、請求項1のバックアップ機能付マスタステーショ
ンは、『マスタステーション(1など)と、複数のスレ
ーブステーション(2など)とを共通の伝送ライン(3
など)に接続してなり、少なくとも前記マスタステーシ
ョンは所定周期で、前記スレーブステーションのうちの
所定の1または複数のスレーブステーションを指定して
順次、そのデータ送信を促す旨の所定のリクエストメッ
セージ(REQなど)を前記伝送ラインに送出するもの
であるような伝送システムにおいて、前記マスタステー
ションは前記の動作を含む所定の動作を実行する本体部
(CPU11など)と別に、少なくともこの本体部と別
の電源(E2など)の供給をうけ、この本体部の異常を
検出してソフトウェアを介することなく前記リクエスト
メッセージを前記の周期で送出するバックアップ手段(
15など)と、前記伝送ラインとの接続を前記本体部側
とバックアップ手段側とに切換える切換手段(切換スイ
ッチ16など)とを備えた』ものとし、[Means for Solving the Problems] In order to solve the above-mentioned problems, the master station with a backup function according to claim 1 provides a method for connecting a master station (such as 1) and a plurality of slave stations (such as 2) to a common Transmission line (3
etc.), and at least the master station sends, at a predetermined period, a predetermined request message (REQ) that specifies one or more predetermined slave stations among the slave stations and prompts them to transmit data in sequence. etc.) to the transmission line, the master station is separate from a main unit (such as the CPU 11) that executes predetermined operations including the above-mentioned operations, and is connected to at least a separate power source from this main unit. A backup means (such as E2) that detects an abnormality in this main body and sends the request message at the above-mentioned period without going through software.
15, etc.) and a switching means (selector switch 16, etc.) for switching the connection with the transmission line between the main body side and the backup means side,
【0005】請
求項2のバックアップ機能付マスタステーションでは、
請求項1に記載のバックアップ機能付マスタステーショ
ンにおいて、『前記切換手段は前記本体部の異常に基づ
いて自動的に前記本体部側からバックアップ手段側に切
換えられるものである』ようにし、In the master station with a backup function according to claim 2,
The master station with a backup function according to claim 1, wherein ``the switching means is automatically switched from the main body side to the backup means side based on an abnormality in the main body section'',
【0006】請求項
3のバックアップ機能付マスタステーションでは、請求
項1に記載のバックアップ機能付マスタステーションに
おいて、『前記切換手段は手動で切換られるものである
』ようにし、またIn the master station with backup function according to claim 3, in the master station with backup function according to claim 1, ``the switching means is manually switched'', and
【0007】請求項4のバックアップ機能付マスタステ
ーションでは、請求項1ないし3に記載のバックアップ
機能付マスタステーションにおいて、『前記バックアッ
プ手段は前記リクエストメッセージに対する前記スレー
ブステーションの応答の異常の有無を示す信号を(LE
Dなどに)出力するものである』ようにするものとする
。[0007] In the master station with backup function according to claim 4, in the master station with backup function according to claims 1 to 3, ``the backup means generates a signal indicating whether or not there is an abnormality in the response of the slave station to the request message. (LE
D, etc.).
【0008】[0008]
【作 用】マスタステーション1内にCPU11等か
らなる本体部と別に独立電源E2で動作する、ソフトウ
ェアを用いないハードロジックからなるバックアップ部
15を設ける。このバックアップ部15は本体部につい
ての異常検出信号により、本体部が常時送信していたス
レーブステーション2のデータ送信を促す、定周期のリ
クエストメッセージREQと同じメッセージを出力する
ものとする。そしてこの異常発生時、切換スイッチ16
により自動または手動で伝送ライン3との接続を本体部
側からバックアップ部15側へ切換えるようにする。[Operation] In the master station 1, there is provided a backup section 15 consisting of hard logic that does not use software and operates on an independent power source E2, separately from the main section consisting of the CPU 11 and the like. The backup unit 15 is assumed to output the same message as the periodic request message REQ, which prompts the slave station 2 to send data, which the main unit always sends, based on the abnormality detection signal for the main unit. When this abnormality occurs, the selector switch 16
The connection with the transmission line 3 is automatically or manually switched from the main unit side to the backup unit 15 side.
【0009】[0009]
【実施例】次に図1および図2に基づいて本発明の実施
例を説明する。図1は本発明の実施例としてのマスタス
テーションの構成を示すブロック図である。同図におい
て11はこのマスタステーション1を制御するCPU、
12は伝送ライン3を介する伝送の制御を行うLSi、
13はCPU11の交信データの変復調を行うMODE
M、14はMODEM13と伝送ライン3との間にあっ
て送、受信伝送信号の増幅を行うラインドライバ・レシ
ーバ、E1は上記の各部11〜14に対する電源である
。また15は本発明において新設されたバックアップ部
、16は同じく切換スイッチ、E2はこのバックアップ
部15に対する独立の電源である。マスタステーション
1は通常は11〜14の各部から構成されるのが一般的
である。この11から14のどの部分がダウンしたとし
てもマスタステーション1の機能は失われる。そこでC
PU11が故障した場合は、図外のウォッチドッグタイ
マなどでその故障を検知し、また12から14までの部
分の故障は伝送のループバック(つまり伝送出力の確認
)を常時行うことで検知する。Embodiment Next, an embodiment of the present invention will be described based on FIGS. 1 and 2. FIG. 1 is a block diagram showing the configuration of a master station as an embodiment of the present invention. In the figure, 11 is a CPU that controls this master station 1;
12 is an LSi that controls transmission via the transmission line 3;
13 is a MODE for modulating and demodulating communication data of the CPU 11;
M and 14 are line driver/receivers that are located between the MODEM 13 and the transmission line 3 and amplify the transmitted and received transmission signals, and E1 is a power supply for each of the above sections 11 to 14. Further, 15 is a backup section newly provided in the present invention, 16 is a changeover switch, and E2 is an independent power source for this backup section 15. The master station 1 is generally composed of 11 to 14 parts. Even if any part of these 11 to 14 goes down, the functions of the master station 1 will be lost. So C
If the PU 11 fails, the failure is detected by a watchdog timer (not shown), and failures in the parts 12 to 14 are detected by constantly looping back the transmission (that is, checking the transmission output).
【0010】バックアップ部15は11から14までの
部分の故障検知信号を受信してスイッチ16を自身の側
へ切換えバックアップ動作を行う。このバックアップ部
15は11から14までの部分、即ちマスタステーショ
ン本体部の電源E1と別の電源E2で動作するように構
成され、マスタステーション本体の電源E1がダウンし
てもバックアップ動作を可能としている。またこのバッ
クアップ部15はCPU(ソフトウェア)を使用せず、
デイスクリート部品のみで構成されている。従って伝送
ライン3から混入するノイズなどでCPU11が暴走し
てしまう場合にも確実にバックアップ動作を可能として
いる。 またこのバックアップ部15は、マスタステ
ーション本体がスレーブステーション2に対して常時送
信する一定のリクエストメッセージREQのみを各スレ
ーブステーション2に発信する。このような一定のメッ
セージの発信機能はハードロジック回路で実現すること
は容易であり、回路の信頼性が高い。The backup unit 15 receives the failure detection signal from the sections 11 to 14, switches the switch 16 to its own side, and performs a backup operation. This backup section 15 is configured to operate on parts 11 to 14, that is, the power supply E1 of the master station main body and a separate power supply E2, and enables backup operation even if the power supply E1 of the master station main body goes down. . In addition, this backup unit 15 does not use a CPU (software),
Consists of only discrete parts. Therefore, even if the CPU 11 goes out of control due to noise coming in from the transmission line 3, the backup operation can be performed reliably. The backup unit 15 also transmits to each slave station 2 only a certain request message REQ that the master station itself always transmits to the slave stations 2 . The function of transmitting such a certain message is easy to implement with a hard logic circuit, and the circuit reliability is high.
【0011】またこのバックアップ部15は各スレーブ
ステーション2からの応答信号ANSは受信するがその
値を表示する機構は持たない。ただし、その応答が正常
かどうかを常時チェックし、正常か異常かをLEDなど
で知らせる程度の機構は持つ。これはバックアップ部1
5の必要な動作があくまでもバックアップなので、この
部15の部品の点数を減らして信頼性を上げるためであ
る。なおバックアップ部15は前述のように11から1
4までの部分の異常信号を受けてスイッチ16を自動的
に切換えてバックアップ動作に入ってもよいし、人間が
介在してスイッチ16をバックアップ部15側に切り替
えてもよい。Although the backup unit 15 receives the response signal ANS from each slave station 2, it does not have a mechanism for displaying its value. However, it does have a mechanism that constantly checks whether the response is normal or not, and indicates whether it is normal or abnormal using an LED or the like. This is backup part 1
Since the necessary operation in section 5 is just a backup, the purpose is to reduce the number of parts in this section 15 and improve its reliability. In addition, the backup section 15 is connected from 11 to 1 as described above.
The switch 16 may be automatically switched to enter the backup operation upon receiving the abnormality signal of the sections up to 4, or the switch 16 may be switched to the backup section 15 side with human intervention.
【0012】図2は図1のマスタステーション1を計装
システムに適用した場合のシステム構成例を示す。同図
において3は2線式の伝送ライン、2Aはスレーブステ
ーション2としての発信器、2Bは同じくバルブ20を
制御するコントローラである。この2線式伝送システム
ではコントローラ2Bが発信器2Aから測定値データを
受取り、コントローラ2B内の設定値と比較してバルプ
20を操作し、ある物理量を制御するものとする。ここ
では発信器2Aは常時、マスタステーション1のリクエ
ストメッセージREQに応答して、応答信号ANSとし
ての測定値をマスタステーション1に返信しているが、
このときコントローラ2Bは発信器2Aの返信データを
受信してその制御に使用している。FIG. 2 shows an example of a system configuration when the master station 1 of FIG. 1 is applied to an instrumentation system. In the figure, 3 is a two-wire transmission line, 2A is a transmitter as the slave station 2, and 2B is a controller that also controls the valve 20. In this two-wire transmission system, the controller 2B receives measured value data from the transmitter 2A, compares it with a set value in the controller 2B, operates the valve 20, and controls a certain physical quantity. Here, the transmitter 2A always returns a measured value as a response signal ANS to the master station 1 in response to the request message REQ from the master station 1.
At this time, the controller 2B receives the reply data from the transmitter 2A and uses it for control.
【0013】もしもマスタステーション1がダウンする
と、従来の場合、コントローラ2Bは発信器2Aの測定
値を受け取ることができなくなり、制御不能状態に陥る
。しかし、本発明ではマスタステーション1の本体部が
ダウンしてもバックアップ部15が動作するので、発信
器2Aの測定値データはコントローラ2Bにより発信さ
れ、制御は続行される。バックアップ部15がマスタス
テーション本体と機能の異なる点は、スレーブデータの
表示ができない点と、前記の一定のメッセージデータ以
外のメッセージの交換ができない点である。しかしその
分、安価なバックアップ方式を提供でき、かつ信頼性の
高いシステムを構成することができる。If the master station 1 were to go down, in the conventional case, the controller 2B would be unable to receive the measured value from the transmitter 2A, resulting in an uncontrollable state. However, in the present invention, even if the main unit of the master station 1 goes down, the backup unit 15 operates, so the measured value data of the transmitter 2A is transmitted by the controller 2B, and control continues. The backup unit 15 differs in function from the master station main body in that it cannot display slave data and cannot exchange messages other than the above-mentioned certain message data. However, it is possible to provide an inexpensive backup method and configure a highly reliable system.
【0014】[0014]
【発明の効果】本発明によれば、マスタステーション1
と、複数のスレーブステーション2とを共通の伝送ライ
ン3に接続してなり、少なくとも前記マスタステーショ
ン1は所定周期で、前記スレーブステーション2のうち
の所定の1または複数のスレーブステーションを指定し
て順次、そのデータ送信を促す旨の所定のリクエストメ
ッセージREQを前記伝送ライン3に送出するものであ
るような伝送システムにおいて、前記マスタステーショ
ン1は前記の動作を含む所定の動作を実行する本体部(
CPU11など)と別に、少なくともこの本体部と別の
電源E2の供給をうけ、この本体部の異常を検出してソ
フトウェアを介することなく前記リクエストメッセージ
REQを前記の周期で送出するバックアップ手段15と
、前記伝送ライン3との接続を前記本体部側とバックア
ップ手段15側とに切換える切換スイッチ16とを備え
たものとしたので、安価な方法でスレーブステーション
の本体異常時における伝送システムのバックアップを実
現する事が可能である。[Effects of the Invention] According to the present invention, the master station 1
and a plurality of slave stations 2 are connected to a common transmission line 3, and at least the master station 1 designates a predetermined one or more slave stations among the slave stations 2 at a predetermined period and sequentially , in a transmission system that sends a predetermined request message REQ requesting data transmission to the transmission line 3, the master station 1 has a main unit (
(CPU 11, etc.), a backup means 15 which is supplied with at least a power source E2 separate from the main body, detects an abnormality in the main body, and sends the request message REQ at the cycle without going through software; Since it is equipped with a changeover switch 16 for switching the connection with the transmission line 3 between the main body side and the backup means 15 side, backup of the transmission system in the event of an abnormality in the main body of the slave station is achieved in an inexpensive manner. things are possible.
【図1】本発明の実施例としてのマスタステーションの
構成を示すブロック図FIG. 1 is a block diagram showing the configuration of a master station as an embodiment of the present invention.
【図2】本発明の具体的動作例を説明するためのシステ
ム構成図[Fig. 2] System configuration diagram for explaining a specific operation example of the present invention
【図3】伝送システム一般的な構成図[Figure 3] General configuration diagram of transmission system
1 マスタステーション
2(2−1,〜,2−3、2A、2B) スレーブス
テーション
2A 発信器
2B コントローラ
3 伝送ライン
11 CPU
12 伝送制御LSi
13 MODEM
14 ラインドライバレシーバ
15 バックアップ部
16 切換スイッチ
E1,E2 電源
REQ リクエストメッセージ
ANS 応答信号(測定値)1 Master station 2 (2-1, ~, 2-3, 2A, 2B) Slave station 2A Transmitter 2B Controller 3 Transmission line 11 CPU 12 Transmission control LSi 13 MODEM 14 Line driver receiver 15 Backup section 16 Changeover switch E1, E2 Power supply REQ Request message ANS Response signal (measured value)
Claims (4)
テーションとを共通の伝送ラインに接続してなり、少な
くとも前記マスタステーションは所定周期で、前記スレ
ーブステーションのうちの所定の1または複数のスレー
ブステーションを指定して順次、そのデータ送信を促す
旨の所定のリクエストメッセージを前記伝送ラインに送
出するものであるような伝送システムにおいて、前記マ
スタステーションは前記の動作を含む所定の動作を実行
する本体部と別に、少なくともこの本体部と別の電源の
供給をうけ、この本体部の異常を検出してソフトウェア
を介することなく前記リクエストメッセージを前記の周
期で送出するバックアップ手段と、前記伝送ラインとの
接続を前記本体部側とバックアップ手段側とに切換える
切換手段とを備えたことを特徴とする伝送システムにお
けるバックアップ機能付マスタステーション。Claim 1: A master station and a plurality of slave stations are connected to a common transmission line, wherein at least the master station specifies one or more predetermined slave stations among the slave stations at a predetermined period. In a transmission system that sequentially sends a predetermined request message to the transmission line to prompt data transmission, the master station is separate from a main unit that executes predetermined operations including the above-mentioned operations. , a backup means that is supplied with at least a power source separate from the main body, detects an abnormality in the main body, and sends the request message at the cycle without going through software, and a connection with the transmission line. A master station with a backup function in a transmission system, comprising a switching means for switching between a main body side and a backup means side.
タステーションにおいて、前記切換手段は前記本体部の
異常に基づいて自動的に前記本体部側からバックアップ
手段側に切換えられるものであることを特徴とする伝送
システムにおけるバックアップ機能付マスタステーショ
ン。2. The master station with a backup function according to claim 1, wherein the switching means is configured to automatically switch from the main body side to the backup means side based on an abnormality in the main body part. A master station with a backup function in a transmission system.
タステーションにおいて、前記切換手段は手動で切換ら
れるものであることを特徴とする伝送システムにおける
バックアップ機能付マスタステーション。3. The master station with backup function in a transmission system according to claim 1, wherein said switching means is manually switched.
能付マスタステーションにおいて、前記バックアップ手
段は前記リクエストメッセージに対する前記スレーブス
テーションの応答の異常の有無を示す信号を出力するも
のであることを特徴とする伝送システムにおけるバック
アップ機能付マスタステーション。4. The master station with a backup function according to claim 1, wherein the backup means outputs a signal indicating whether or not there is an abnormality in the response of the slave station to the request message. Master station with backup function in transmission system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3057499A JPH04293335A (en) | 1991-03-22 | 1991-03-22 | Master station with backup function in transmission system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3057499A JPH04293335A (en) | 1991-03-22 | 1991-03-22 | Master station with backup function in transmission system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04293335A true JPH04293335A (en) | 1992-10-16 |
Family
ID=13057422
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3057499A Pending JPH04293335A (en) | 1991-03-22 | 1991-03-22 | Master station with backup function in transmission system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04293335A (en) |
-
1991
- 1991-03-22 JP JP3057499A patent/JPH04293335A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4745597A (en) | Reconfigurable local area network | |
| JP3108393B2 (en) | Control system using PLC | |
| CA1171543A (en) | Industrial control system | |
| KR100214134B1 (en) | Method for self-test of standby processor in full electronic switching system | |
| JPH0533090Y2 (en) | ||
| JP3294256B2 (en) | Data communication method and device | |
| JPH0458237B2 (en) | ||
| JPS60223249A (en) | Control system of signal transmission line | |
| JP2762276B2 (en) | Redundant communication line | |
| JPH0563713A (en) | Transmission line duplex bus type transmission system | |
| JP2771385B2 (en) | Data transmission equipment | |
| JPH0318378B2 (en) | ||
| JPH0568901B2 (en) | ||
| CN116319145A (en) | CAN network system and communication method with high reliability and high real-time performance | |
| JPS61270930A (en) | Wireless transmission system | |
| JPS59231953A (en) | Loop network transmitter | |
| JPH0398320A (en) | Switching control system for active/standby package constituting redundant system | |
| JP3116476B2 (en) | Redundant switching method | |
| JPH02223248A (en) | Data bus terminal equipment of command response system | |
| JPH0234215B2 (en) | ||
| JP2800018B2 (en) | Baseband network system | |
| JPH0654889B2 (en) | Power line carrier system | |
| JPS62214462A (en) | Parallel signal transmission equipment | |
| JPH037177B2 (en) | ||
| JPH02109442A (en) | Data communication system |