JP2854873B2 - Backup method of online dual processing system - Google Patents

Backup method of online dual processing system

Info

Publication number
JP2854873B2
JP2854873B2 JP1029954A JP2995489A JP2854873B2 JP 2854873 B2 JP2854873 B2 JP 2854873B2 JP 1029954 A JP1029954 A JP 1029954A JP 2995489 A JP2995489 A JP 2995489A JP 2854873 B2 JP2854873 B2 JP 2854873B2
Authority
JP
Japan
Prior art keywords
output
output signal
processing unit
master
backup
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 - Lifetime
Application number
JP1029954A
Other languages
Japanese (ja)
Other versions
JPH02210546A (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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP1029954A priority Critical patent/JP2854873B2/en
Publication of JPH02210546A publication Critical patent/JPH02210546A/en
Application granted granted Critical
Publication of JP2854873B2 publication Critical patent/JP2854873B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)

Description

【発明の詳細な説明】 <産業上の利用分野> 本発明は、マイクロコンピュータなどを用いたオンラ
イン・デュアル処理システムのバックアップ方法に関す
る。
The present invention relates to a backup method for an online dual processing system using a microcomputer or the like.

<従来の技術> 従来から、計算機を用いたオンライン処理システムに
おいては、例えば24時間連続運転を前提として構築する
必要があることから、その信頼性を高めるためにデュア
ル・システム(二重化システム)が採用されるのが一般
的である(例えば、文献「リアルタイム予約システム」
p.76(産業図書株式会社,昭和45年6月発行)参照)。
<Conventional technology> Conventionally, in an online processing system using a computer, a dual system (redundant system) has been adopted in order to enhance its reliability because it has to be built on the assumption of, for example, continuous operation for 24 hours. (Eg, the document "Real-time reservation system")
See p.76 (Sangyo Tosho Co., Ltd., issued in June 1970).

このようなオンライン・デュアル処理システムは、例
えば第3図に示すように、入力装置1と主演算処理装置
(以下マスタという)2と、このマスタ2と同一機種で
同一プログラムによって作動するバックアップ演算処理
装置(以下スレーブという)3、さらに出力装置4とか
ら構成される。
For example, as shown in FIG. 3, such an online dual processing system includes an input device 1, a main processing unit (hereinafter, referred to as a master) 2, a backup processing unit which is the same model as the master 2 and operates by the same program. A device (hereinafter referred to as a slave) 3 and an output device 4.

入力装置1に入力されたフィールドデータなどの入力
信号Siが、入力装置1において増幅されて、マスタ2と
スレーブ3にそれぞれSiM,SiBとして入力され、マスタ
2とスレーブ3においてそれぞれ所定の演算処理が実行
されたのち、出力信号SoM,SoBとして出力装置4に出力
される。そして、出力装置4においては、下記のような
判断処理を行って両出力信号の処理異常の有無を判別す
る。
Input signal S i such field data that is input to the input device 1 is amplified in the input device 1, respectively S iM master 2 and the slave 3, are input as S iB, respective predetermined in the master 2 and the slave 3 After the processing has been executed, the output signal S oM, is outputted to the output device 4 as S oB. Then, the output device 4 performs the following determination processing to determine whether there is a processing abnormality in both output signals.

マスタ2の出力信号SoMとスレーブ3の出力信号SoB
とを一定のタイミングで比較して、マスタ2の処理の異
常の有無を判断する。
Output signals of the output signal S oM and slave 3 in the master 2 S oB
Are compared at a certain timing to determine whether there is an abnormality in the processing of the master 2.

両出力信号SoM,SoBの間に差がないときは、マスタ
2が正常であると判断して、その出力信号SoMを外部へ
の出力信号Soとして出力する。
Both the output signal S oM, when there is a difference between the S oB determines that the master 2 is normal, and outputs the output signal S oM as an output signal S o to the outside.

また、マスタ2の出力信号SoMとスレーブ3の出力
信号SoBとに差があるときは、システム全体に異常が生
じたことを自己検出してシステムの暴走を防ぐ。
Further, when there is an output signal S a difference between the oB output signal S oM and slave 3 in the master 2, prevents runaway of the self-detection system that an abnormality in the overall system occurs.

比較するタイミングにマスタ2からの出力信号SoM
が出力されないときは、マスタ2に例えば故障などの異
常が生じたと判断して、出力装置4はスレーブ3の出力
信号SoBを外部への出力信号Soとして出力する。
Output signal S OM from master 2 at the timing of comparison
There when not outputted, it is determined that abnormality such as the master 2 eg fault occurs, the output device 4 outputs an output signal S o to the outside an output signal S oB slave 3.

このようにして、マスタ2に異常が生じたときは、直
ちにスレーブ3に切り換えるようにして、故障や障害な
どによるシステム停止を極力少なくしようとするのであ
る。
In this way, when an abnormality occurs in the master 2, the system immediately switches to the slave 3 to minimize the system stoppage due to a failure or a failure.

<発明が解決しようとする課題> しかしながら、上記したような従来のオンライン・デ
ュアル処理システムにおいては、以下のような欠点があ
る。
<Problem to be Solved by the Invention> However, the conventional online dual processing system as described above has the following disadvantages.

マスタ2の出力信号SoMとスレーブ3の出力信号SoB
のいずれが先に出力装置4に出力されるか不明であり、
したがって、これらの比較をするタイミングの決定が困
難であること。
Output signals of the output signal S oM and slave 3 in the master 2 S oB
Which is output to the output device 4 first is unknown,
Therefore, it is difficult to determine the timing for making these comparisons.

入力信号Siの点数が増加すると、それに応じて入力
装置1からマスタ2,スレーブ3への信号配線の本数が増
加するため、配線工事に要するコストが高くつくこと。
When the number of the input signal S i is increased, the master 2 from the input device 1 accordingly, since the number of signal lines to the slave 3 is increased, the cost for the wiring work is costly.

システムの信頼性を高めるために、スレーブ3を三
重化あるいは四重化にする場合は、さらに工事費が嵩む
とともに、信号配線が複雑になって保守・点検などに負
荷が掛かること。
If the slaves 3 are tripled or quadrupled in order to enhance the reliability of the system, the construction cost is further increased, and the signal wiring becomes complicated, and a load is imposed on maintenance and inspection.

本発明は、上記のような課題を解決するのに好適なオ
ンライン・デュアル処理システムのバックアップ方法を
提供することを目的とする。
An object of the present invention is to provide a backup method for an online dual processing system suitable for solving the above-mentioned problems.

<課題を解決するための手段> 本発明の要旨とするところは、入力装置を介してフィ
ールドデータ信号などを主演算処理装置とバックアップ
演算処理装置とに入力して演算処理を並列実行したのち
出力装置にそれぞれ出力し、この出力装置において処理
異常の有無を判別してから正しい出力信号を出力するオ
ンライン・デュアル処理システムのバックアップ方法で
あって、入力装置から主演算処理装置およびバックアッ
プ演算処理装置に伝送するデータ伝送時間に予め差を与
えておき、主演算処理装置およびバックアップ演算処理
装置から出力装置に出力される出力信号の出力時間の差
と前記データ伝送時間の差とを比較して主演算処理装置
の処理異常の有無を検出し、主演算処理装置の出力信号
に異常があると判断したときは、速やかにバックアップ
演算処理装置の出力信号を出力するようにして、上記目
的を達成しようとするものである。
<Means for Solving the Problems> The gist of the present invention resides in that a field data signal and the like are input to a main processing unit and a backup processing unit via an input device, the processing is executed in parallel, and then output. A backup method for an online dual processing system that outputs data to devices and determines whether there is a processing error in the output device and then outputs a correct output signal. A difference is previously given to the data transmission time to be transmitted, and the main operation is performed by comparing the difference between the output time of the output signal output from the main processing unit and the backup processing unit to the output device with the difference in the data transmission time. The presence or absence of a processing error in the processing unit is detected, and if it is determined that the output signal of the main processing unit is abnormal, the backup is immediately performed. The above object is achieved by outputting an output signal of a backup arithmetic processing unit.

<作 用> 本発明によれば、入力装置から主演算処理装置(マス
タ)およびバックアップ演算処理装置(スレーブ)へ伝
送するデータ伝送時間の差と、マスタおよびスレーブか
ら出力装置へ出力される出力信号の出力時間の差とを比
較して、マスタの演算処理の異常の有無を検出するよう
にしたので、マスタに異常があると判断したときは、速
やかにスレーブの出力信号を正しいとして外部に出力す
ることができる。
<Operation> According to the present invention, the difference in data transmission time transmitted from the input device to the main processing unit (master) and the backup processing unit (slave), and the output signal output from the master and slave to the output device The output time of the slave is compared to detect whether there is an abnormality in the arithmetic processing of the master. If it is determined that the master has an abnormality, the output signal of the slave is immediately output to the outside as correct. can do.

<実施例> 以下に、本発明の実施例について、図面を参照して詳
しく説明する。第1図は、本発明方法に係る実施例を模
式的に示したものである。
<Example> Hereinafter, an example of the present invention will be described in detail with reference to the drawings. FIG. 1 schematically shows an embodiment according to the method of the present invention.

第1図に示すように、入力装置1とマスタ2およびス
レーブ3との間をループ状のデータ通信回線5で接続す
るようにする。このデータ通信回線5は、回線をループ
状にすることによって、一つの情報を複数の計算機に時
系列的に伝送するいわゆる同報通信機能を有するネット
ワークを構成することができる。
As shown in FIG. 1, the input device 1 and the master 2 and the slave 3 are connected by a loop-shaped data communication line 5. The data communication line 5 can form a network having a so-called broadcast communication function of transmitting one piece of information to a plurality of computers in a time-series manner by looping the line.

ここで、データ通信回線5に接続される入力装置1や
マスタ2,スレーブ3の接続位置が常に固定されており、
したがって入力装置1からのマスタ2およびスレーブ3
までの伝送距離l1,l2が不変であり、またデータ通信回
線5の伝送速度が例えば10Mbpsのように一定であるとす
ると、入力装置1において増幅されたフィールドデータ
などからの入力信号Siは、第2図に示すように、データ
通信回線5を介して時間t1後にマスタ2に入力信号SiM
として入力され、さらに時間t2後においてスレーブ3に
入力信号SiBとして入力されることになり、これらの時
間差Δt(=t2−t1)も常に一定である。
Here, the connection positions of the input device 1, the master 2, and the slave 3 connected to the data communication line 5 are always fixed.
Therefore, the master 2 and the slave 3 from the input device 1
Assuming that the transmission distances l 1 and l 2 are constant and the transmission speed of the data communication line 5 is constant, for example, 10 Mbps, the input signal S i from the field data amplified in the input device 1 is input. As shown in FIG. 2, the input signal S iM is input to the master 2 via the data communication line 5 after a time t 1.
It is input as, would be further inputted as the input signal S iB the slave 3 at time t after 2, these time difference Δt (= t 2 -t 1) is also always constant.

そうすると、マスタ2およびスレーブ3から出力装置
4に出力されるそれぞれの出力信号SoM,SoBの出力タイ
ミングは、正常な状態では、まずマスタ2からの出力信
号SoMが出力されてから時間Δt後に、スレーブ3から
の出力信号SoBが出力されることになる。
Then, the output signals S oM outputted from the master 2 and slave 3 to the output device 4, S output timing of oB is a normal state, first output signal S oM time from the output Δt from the master 2 Later, the output signal SoB from the slave 3 will be output.

そこで、出力装置4においては、予め時間差Δtを設
定しておき、以下のような判断処理を行わせることによ
り、マスタ2の障害検知とそのバックアップを速やかに
行うことができる。
Therefore, in the output device 4, the time difference Δt is set in advance, and the following determination processing is performed, whereby the failure detection of the master 2 and the backup thereof can be promptly performed.

まず、マスタ2の出力信号SoMの出力時刻を基準と
して、その時刻からΔtの時間経過後にスレーブ3の出
力信号SoBが出力されたかどうかを判断して、マスタ2
の処理の異常の有無を判断する。
First, based on the output time of the output signal S oM master 2, to determine whether the output signal S oB slave 3 from the time after the lapse of time Δt is output, master 2
It is determined whether or not there is an abnormality in the processing of.

そして、両出力信号SoM,SoBの間に差がないとき
は、マスタ2が正常であると判断して、その出力信号S
oMを外部への出力信号Soとして出力する。
Then, both output signal S oM, when there is a difference between the S oB determines that the master 2 is normal, the output signal S
and outputs the oM as the output signal S o to the outside.

また、マスタ2の出力信号SoMとスレーブ3の出力
信号SOBとに差があるときは、システム全体に異常が生
じたと判断してシステムの暴走を防ぐ。
Further, when the output signal S OB output signal S oM and slave 3 in the master 2 there is a difference, it is determined that abnormality in the overall system occurs prevent runaway of the system.

スレーブ3の出力信号SoBが出力された後にマスタ
2の出力信号SoMが出力されたとき、あるいは全く出力
されなかったときは、マスタ2に異常が生じたと判断
し、出力装置4はスレーブ3の出力信号SoBを選択し
て、外部への出力信号Soとして出力する。
When the output signal S oM master 2 is outputted after the output signal S oB slave 3 is output, or if it is not at all output determines that an abnormality in the master 2 has occurred, the output device 4 slave 3 select output signal S oB, as an output signal S o to the outside.

このようにして、マスタ2の出力信号SoMを基準とし
て、時間差Δtの経過後において、マスタ2の出力信号
SoMとスレーブ3の出力信号SoBとを比較するようにした
ので、信頼性の高い出力信号Soを得ることができる。
In this way, the output signal of the master 2 after the lapse of the time difference Δt with respect to the output signal SOM of the master 2
Since so as to compare the output signal S oB of S oM and slave 3, it is possible to obtain a highly reliable output signal S o.

なお、スレーブ3を複数台セットするようにすれば、
スレーブ3自体の出力信号SoBの異常についても、上記
と同様の手順で検出することができることはいうまでも
ない。このときの比較のタイミングは、n・Δt(ここ
で、nはスレーブ3の台数で、n≧2)となるから、ス
レーブ3の台数を増加することによる比較演算の混乱を
生じることはない。
If a plurality of slaves 3 are set,
It goes without saying that the abnormality of the output signal SoB of the slave 3 itself can be detected in the same procedure as described above. Since the comparison timing at this time is n · Δt (where n is the number of slaves 3 and n ≧ 2), the increase in the number of slaves 3 does not cause confusion in the comparison operation.

<発明の効果> 以上説明したように、本発明によれば、以下の効果が
期待される。
<Effects of the Invention> As described above, according to the present invention, the following effects are expected.

マスタとスレーブとの出力信号を的確なタイミング
で比較することができるから、精度の高い出力信号を得
ることができる。
Since the output signals of the master and the slave can be compared at an accurate timing, a highly accurate output signal can be obtained.

スレーブの多重化を容易に構成することができるの
で、無停止のオンライン制御システムを実現することが
できる。
Since multiplexing of slaves can be easily configured, a non-stop online control system can be realized.

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

第1図は、本発明方法に係る実施例を模式的に示す概要
図、第2図は、入力信号の伝送時間を示す説明図、第3
図は、従来例を模式的に示す概要図である。 1……入力装置, 2……マスタ(主演算処理装置), 3……スレーブ(バックアップ演算処理装置), 4……出力装置, 5……データ通信回線。
FIG. 1 is a schematic diagram schematically showing an embodiment according to the method of the present invention, FIG. 2 is an explanatory diagram showing a transmission time of an input signal, and FIG.
The figure is a schematic diagram schematically showing a conventional example. 1 ... input device, 2 ... master (main processing device), 3 ... slave (backup processing device), 4 ... output device, 5 ... data communication line.

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 11/16 - 11/20,15/16,11/30 G05B 9/00 - 9/05──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int.Cl. 6 , DB name) G06F 11/16-11 / 20,15 / 16,11 / 30 G05B 9/00-9/05

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力装置を介してフィールドデータ信号な
どを主演算処理装置とバックアップ演算処理装置とに入
力して演算処理を並列実行したのち出力装置にそれぞれ
出力し、この出力装置において処理異常の有無を判別し
てから正しい出力信号を出力するオンライン・デュアル
処理システムのバックアップ方法であって、入力装置か
ら主演算処理装置およびバックアップ演算処理装置に伝
送するデータ伝送時間に予め差を与えておき、主演算処
理装置およびバックアップ演算処理装置から出力装置に
出力される出力信号の出力時間の差と前記データ伝送時
間の差とを比較して主演算処理装置の処理異常の有無を
検出し、主演算処理装置の出力信号に異常があると判断
したときは、速やかにバックアップ演算処理装置の出力
信号を出力することを特徴とするオンライン・デュアル
処理システムのバックアップ方法。
An input device inputs a field data signal or the like to a main processing unit and a backup processing unit, executes the processing in parallel, and outputs them to an output unit. A backup method of an online dual processing system that outputs a correct output signal after determining the presence / absence, in which a difference is previously given to a data transmission time transmitted from an input device to a main processing unit and a backup processing unit, The difference between the output time of the output signal output from the main processing unit and the backup processing unit to the output device and the difference in the data transmission time are compared to detect the presence or absence of a processing abnormality in the main processing unit, and the main processing is performed. If it is determined that the output signal of the processing unit is abnormal, output the output signal of the backup processing unit immediately. Backup method of online dual-processing system according to claim.
JP1029954A 1989-02-10 1989-02-10 Backup method of online dual processing system Expired - Lifetime JP2854873B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1029954A JP2854873B2 (en) 1989-02-10 1989-02-10 Backup method of online dual processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1029954A JP2854873B2 (en) 1989-02-10 1989-02-10 Backup method of online dual processing system

Publications (2)

Publication Number Publication Date
JPH02210546A JPH02210546A (en) 1990-08-21
JP2854873B2 true JP2854873B2 (en) 1999-02-10

Family

ID=12290379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1029954A Expired - Lifetime JP2854873B2 (en) 1989-02-10 1989-02-10 Backup method of online dual processing system

Country Status (1)

Country Link
JP (1) JP2854873B2 (en)

Also Published As

Publication number Publication date
JPH02210546A (en) 1990-08-21

Similar Documents

Publication Publication Date Title
KR100302218B1 (en) Input Signal Analysis Method of Active Redundant Process Control Computer
JPH01293450A (en) Troubled device specifying system
JP2854873B2 (en) Backup method of online dual processing system
JPH03201636A (en) Data input controller for serial controller
KR900005727A (en) Protection against loss or transfer of data due to switchover of replication systems
US5297149A (en) Emergency circuit for, e.g., numerical control unit
JPH0458237B2 (en)
JPS6259435A (en) Data transfer supervisory equipment
JP2956385B2 (en) Bus line monitoring method
JP2518517B2 (en) Communication bus monitoring device
JPH0535343Y2 (en)
JPH05204692A (en) Failure detecting/separating system for information processor
JPH0799516B2 (en) Multiple control method for computer controller
JP3053903B2 (en) Control rod removal monitoring device
SU962958A1 (en) Device for detecting malfanctions of synchronyzable digital system
KR100247033B1 (en) Apparatus for detecting of data communication channel clock fail in sdh transmission system
JPS6158342A (en) Node connection error detection system in optical data highway system
JPH0296840A (en) Runaway prevention circuit of central processing unit
JPH01211099A (en) Gas detecting alarm device
JPH0122907B2 (en)
JPS61222339A (en) Method and equipment of communication with controller and mobile body
JPS584855B2 (en) data transmission equipment
JPH0326696Y2 (en)
JPH01279301A (en) Computer decentralizing system
JPH08265446A (en) Output data inspecting device