JPS5848149A - Fault detection system of multiprocessing system - Google Patents
Fault detection system of multiprocessing systemInfo
- Publication number
- JPS5848149A JPS5848149A JP56147106A JP14710681A JPS5848149A JP S5848149 A JPS5848149 A JP S5848149A JP 56147106 A JP56147106 A JP 56147106A JP 14710681 A JP14710681 A JP 14710681A JP S5848149 A JPS5848149 A JP S5848149A
- Authority
- JP
- Japan
- Prior art keywords
- output
- gate
- signal
- reset signal
- control device
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Retry When Errors Occur (AREA)
- Hardware Redundancy (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
本発明は複数のLSI制御装置がノイズ或いは静電気等
の外乱によりその結合が不可能となるのを検出して自動
復帰させるものである。DETAILED DESCRIPTION OF THE INVENTION The present invention detects when a plurality of LSI control devices become unable to be coupled due to disturbances such as noise or static electricity, and automatically restores the LSI control devices.
近年機器の制御装置を集積回路化して高度な制御を行う
ようになってきたが、特に最近は機器の多機能化により
1つの制御装置では間に合わず複数並設して機能を分散
させ互いに連係をとりながら一つの機器を動作させるよ
うになってきている。In recent years, the control devices of devices have been integrated into integrated circuits to perform sophisticated control, but especially recently, as devices have become multi-functional, one control device is no longer sufficient, and multiple devices are installed in parallel to distribute functions and link with each other. Increasingly, people are now able to operate one device while at the same time.
例えば自動販売機では従来の販売制御に加え金額表示・
売上集計・機器の故障検出等の付加的な機能が望まれる
ようになってきており、そのため118工制御装置を2
個並設して主制御部で販売制御、副制御部に販売価格設
定と共に上記の追加機能の制御を行う構成となってきて
いる。For example, in vending machines, in addition to conventional sales control, price display and
Additional functions such as sales aggregation and equipment failure detection are becoming desirable, and for this reason, 118-manufacturing control devices are being replaced with two.
In recent years, the main control section has been installed in parallel to control sales, and the sub-control section has been configured to set sales prices and control the additional functions mentioned above.
第1図は二つのr、Sx制御装置間の信号授受を示すも
ので、第2図σ1イミングチヤードの如く主制御装置(
1)はデータバス(3)より副制御装置(2)にデータ
を送る場合に負のトランス7テパルスTP1を出力した
後データ信号りを出力し、副制御装置(2)はデータ信
号−りを取込むと負のトランスファパルスTP、を出力
することで互いに確認しあってデータを転送している。Figure 1 shows the signal transmission and reception between the two r and Sx control devices, and the main controller (
1), when sending data from the data bus (3) to the sub-control device (2), outputs the data signal after outputting the negative transformer 7-te pulse TP1, and the sub-control device (2) outputs the data signal. When data is taken in, a negative transfer pulse TP is outputted to mutually confirm the data and transfer the data.
しかしながらかかるマルチプロセッシングシステムでは
ノイズや静電気等による外乱が入ると機能の停止または
プログラムの迷走等がおこり、システムに動作不良や動
作停止の故障をきたすことになる。However, in such a multiprocessing system, if disturbances such as noise or static electricity occur, the function may stop or the program may go astray, resulting in malfunction or failure of the system.
上記点より本発明は制御装置間で授受される信号の途絶
えまたは信号の長期間の出方を検知してシステムの上記
原因による異常を検出するものである。In view of the above points, the present invention detects the interruption of signals sent and received between control devices or the appearance of signals for a long period of time to detect abnormalities in the system due to the above causes.
以下本発明を詳述するが、本例では主制御装置(1)側
にあって副制御装置(2)のトランスフチパルスT?、
の状態に基づきシステムの異常を検出する場合を示して
いる。The present invention will be described in detail below, but in this example, the trans-edge pulse T? ,
This shows a case where a system abnormality is detected based on the state of the system.
第3v!Jに於いて、(4)はフリップフロップ回路、
(5)はTPIの反転信号であるEとTP、と7リツプ
フ田、プ回路(4)のq出力とが入力するANDゲート
、(7)はTP、の反転信号−°Oあるi及び7リツプ
゛フロップ回路(4)のq出力とが入1:1カするAN
Dゲート、(8)はTP、及びフリ、プフp、プ回路(
4)の1出カとが入力するムNDゲニトである。そして
ANI)ゲート(5)及びANDゲート(6)は夫々フ
リップフa、ブ回路(4)のセット入力側Sとリセット
入力側Rに接続されの出力によりリセットされてORゲ
ートaυの出力にてANDゲートα1より導入されるク
ロ、クパルスopを計数しタイマー設定時間に相当する
所定値を計数するとリセット信号R1を出力するように
構成されている。3rd v! In J, (4) is a flip-flop circuit,
(5) is an AND gate into which E and TP, which are inverted signals of TPI, and the q output of circuit (4) are input; (7) is an inverted signal of TP, i and 7 AN in which the q output of the flip-flop circuit (4) is input 1:1.
D gate, (8) is TP, and Furi, Puf p, P circuit (
The first output of 4) is the input signal. The ANI) gate (5) and AND gate (6) are connected to the set input side S and reset input side R of the flip-flip a and block circuit (4), respectively, and are reset by the output of It is configured to count the black pulses OP introduced from the gate α1 and output a reset signal R1 when a predetermined value corresponding to the timer setting time is counted.
上記構成で7リツプフロツプ回路(4)は通常リセット
されており、主制御装置(1)が負のパルスであるTP
、を出力すると副制御装置(2)は負のパルスであるT
P2を出力しておらずANDゲート(5)に出力が得ら
れて、7す、プフpツブ回路(4)がセットすると共に
カウンタ(9)がリセットされる。そしてフリップフロ
ップ回路(4)のQ出力とTPつとでANDゲート(7
)に出力が得られてORゲート0υを通してkMDゲー
)(11へ導入されるため、カウンタ(9)はA11D
ゲートa値を通して入力するクロックパルスOPを計数
する。しかして主制御装置(1)はTP、を出力した後
データ信号りを出力し、副制御装置(2)がで−タを取
込み正常にTP、を主制御装置(1)に出力するとAN
Dゲート(6)に出力が得られてフリ、プフレ、プ回路
(4)がリセットされる。そのためムMDゲート(7)
には出力が得られなくなるがTP、の発生期間中はフリ
ップフロップ回路(4)の頁出力にてAlIDゲート(
8)に出力が得られるために、ム)iDゲート員には一
続してORゲートaυより出力が導入されてカウンタ(
9)にはTPs’の発生期間中もタロ、クパルスOFが
導入される。そしてTP、の停止にてム夏Dゲート(8
)で出力が得られなくなるとカウンタ(9)へのクリ、
クパルスOFの入力が禁止されてタイマー動作を終了す
る。In the above configuration, the 7 lip-flop circuit (4) is normally reset, and the main controller (1) outputs a negative pulse TP.
, the sub-control device (2) outputs a negative pulse T
Since P2 is not output, an output is obtained from the AND gate (5), and the PfP circuit (4) is set and the counter (9) is reset. Then, the Q output of the flip-flop circuit (4) and the TP are connected to an AND gate (7
) is obtained through the OR gate 0υ and introduced into the kMD game)(11), so the counter (9) is
Count the clock pulses OP input through the gate a value. After outputting TP, the main controller (1) then outputs a data signal, and when the sub controller (2) takes in the data and normally outputs TP, to the main controller (1), AN
An output is obtained at the D gate (6) and the Furi, Pufre, Puri circuit (4) is reset. Therefore, Mu MD Gate (7)
Although no output can be obtained during TP, the page output of the flip-flop circuit (4) is activated by the AlID gate (
Since the output is obtained in 8), the output is continuously introduced to the iD gate member from the OR gate aυ and the counter (
In 9), Taro and Coupals OF are introduced even during the generation period of TPs'. Then, at the stop of TP, Muka D gate (8
), if no output is obtained, the counter (9) is cleared,
The input of the pulse OF is prohibited and the timer operation ends.
しかるに第4図のタイミングチャートに示す如く、シス
テムに異常が発生して副制御装置(2)がTPmt−出
力できない場合はフリ、ブフp、プ回路(4)がリセッ
トされずA11Dゲート(7)の出力が継続するために
カウンタ(9)は所定値を計数して(即ちタイマ一時間
が超過して)リセット信号能を発生する。また第5図の
タイまングチャートに示す如く、副制御装置(2)がT
P、を出力したもののやはり異常によりその出力期間が
長いとAIDゲートα呻にはAlI3)ゲート(8)の
出力が継続して入力されるためムMDゲート(7)の出
力期間とこれに続(ANDゲート(8)の出力期間の和
がタイマ一時間を超過しカウンタ(9)は所定値を計数
してリセット信号R1を発生する。そして主制御装置(
1)はリセット信号REが発生すると初期状態に戻り再
度処理を繰返す。However, as shown in the timing chart of Fig. 4, if an abnormality occurs in the system and the sub-control device (2) cannot output TPmt-, the Furi, Bufp, and P circuits (4) are not reset and the A11D gate (7) Since the output continues, the counter (9) counts a predetermined value (ie, the timer exceeds one hour) and generates a reset signal. Also, as shown in the timing chart of Fig. 5, the sub-control device (2)
P, but if the output period is long due to an abnormality, the output of AlI3) gate (8) will continue to be input to the AID gate α, so the output period of the MD gate (7) and the following (The sum of the output periods of the AND gate (8) exceeds one hour of the timer, the counter (9) counts a predetermined value and generates a reset signal R1. Then, the main controller (
1) returns to the initial state when the reset signal RE is generated and repeats the process again.
上記の本発明による異常検出回路は、制御装置間に外付
は回路で形成されたり、或いは主制御装置内部に形成さ
れるが、主制御装置を・マイクロコンピュータで構成し
た場合にはプログラム制御によっても、達成可能であり
、適当な割込み処理によって副制御装置からのTPsを
監視し異常検出によりプログラムの先頭番地にジャンプ
して再度動作を繰返すものである。The above-mentioned abnormality detection circuit according to the present invention may be formed as an external circuit between the control devices or formed inside the main control device, but if the main control device is configured with a microcomputer, it may be formed by program control. This can also be achieved by monitoring the TPs from the sub-control device through appropriate interrupt processing, and upon detecting an abnormality, jumping to the start address of the program and repeating the operation again.
以上詳述した本発明に依ると、L+3工制御装置間の信
号の授受を監視して、信号が途絶えたりまたは長時間出
力されたりするとその時間を測定し一定時間経過しても
復帰しない場合に異常として制御装置にリセット信号を
出力するもので、制御装置を並設して構成した機器の動
作の安定が図れる。According to the present invention described in detail above, the transmission and reception of signals between the L+3 control devices is monitored, and when the signal is interrupted or output for a long time, the time is measured, and if the signal does not recover after a certain period of time has elapsed, This outputs a reset signal to the control device as an abnormality, thereby stabilizing the operation of equipment configured with control devices installed in parallel.
第1図は並設したL8工制御装置間の信号の授受を示し
、第2図は動作タイミングチャート、第3図は本発明に
依る回路例、第4図及び第5図は異常時の動作タイミン
グチャートを示す。
(1)−・・主制御装置、(2)−・・副制御装置、(
4)・・・アリップフp、プ回路、(9)・・・カウン
タ。
特許出願人Fig. 1 shows the transmission and reception of signals between L8 machine control devices installed in parallel, Fig. 2 is an operation timing chart, Fig. 3 is an example of a circuit according to the present invention, and Figs. 4 and 5 are operations in the event of an abnormality. A timing chart is shown. (1)--Main controller, (2)--Sub controller, (
4)...Arippu circuit, (9)...Counter. patent applicant
Claims (1)
信号授受を行って機器を作動させるマルチプ胃セッシン
グシステムに於いて、第1の前記制御装置は第2の前記
制御装置に第1の信号を出力した後データを出力し、前
記第1の信号が発生してから所定時間後に第2の前記制
御装置がデータの取込みによる第2の信号を発生しない
場合、若しくは該第2の信号が発生しても所定時点で消
滅しない場合異常として第1の前記制御装置にリセ。 ト信号を導入して再度処理を繰返し行わせることを特徴
としたマルチプ四七、シングシステムの異常検知方式。[Scope of Claims] In a multiple gastric processing system in which LIFI& integrated circuit control devices are arranged in parallel and mutually exchange signals to operate devices, the first control device is connected to the second control device. If data is output after outputting the first signal to the device, and the second control device does not generate the second signal by taking in data after a predetermined time after the first signal is generated, or Even if the second signal is generated, if it does not disappear at a predetermined time point, it is determined to be abnormal and is reset to the first control device. This is an abnormality detection method for the multiplex system, which is characterized by introducing a digital signal and repeating the process again.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56147106A JPS5848149A (en) | 1981-09-17 | 1981-09-17 | Fault detection system of multiprocessing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP56147106A JPS5848149A (en) | 1981-09-17 | 1981-09-17 | Fault detection system of multiprocessing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS5848149A true JPS5848149A (en) | 1983-03-22 |
Family
ID=15422645
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP56147106A Pending JPS5848149A (en) | 1981-09-17 | 1981-09-17 | Fault detection system of multiprocessing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5848149A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61173368A (en) * | 1985-01-28 | 1986-08-05 | Oki Electric Ind Co Ltd | Access system for shared memory device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4989450A (en) * | 1972-12-26 | 1974-08-27 | ||
| JPS5087748A (en) * | 1973-12-07 | 1975-07-15 | ||
| JPS513828A (en) * | 1974-07-01 | 1976-01-13 | Hitachi Ltd |
-
1981
- 1981-09-17 JP JP56147106A patent/JPS5848149A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS4989450A (en) * | 1972-12-26 | 1974-08-27 | ||
| JPS5087748A (en) * | 1973-12-07 | 1975-07-15 | ||
| JPS513828A (en) * | 1974-07-01 | 1976-01-13 | Hitachi Ltd |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61173368A (en) * | 1985-01-28 | 1986-08-05 | Oki Electric Ind Co Ltd | Access system for shared memory device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5855535B2 (en) | Multi-computer device for vehicles | |
| JPS6236270B2 (en) | ||
| JPS60218939A (en) | Controller of copying machine or the like | |
| JP2949945B2 (en) | Transmission line switching circuit | |
| JPS6213697B2 (en) | ||
| JPS5840674A (en) | Fault deciding method of microcomputer | |
| JP2803167B2 (en) | Control line instantaneous interruption recognition prevention circuit | |
| JPS59122149A (en) | Fault supervisory system | |
| JP2677084B2 (en) | Alternating signal circuit with error detection function | |
| JP2692576B2 (en) | Multiple clock pulse monitor | |
| JP2749994B2 (en) | Numerical control unit | |
| SU1499489A1 (en) | Self-check computing device | |
| SU1644168A1 (en) | Self-diagnosing paraphase asynchronous device | |
| JPS5872226A (en) | Clock switching circuit | |
| JPH0679298B2 (en) | Abnormality monitoring circuit for multi-drop serial bus transmission unit | |
| JPS61105147A (en) | Clock interruption detection circuit | |
| JPS6361350A (en) | Information processing system | |
| JPS6394394A (en) | Controller for master slave type vending machine | |
| JPS58107932A (en) | Common bus failure check system | |
| JPH04320538A (en) | Fault monitoring system | |
| JPS5945304B2 (en) | Line failure detection method in two-wire communication equipment | |
| JPH021008A (en) | Reset signal generating device | |
| JPH01185742A (en) | Program runaway detection circuit | |
| JPS60191353A (en) | Bus control system | |
| JPS6161427B2 (en) |