[go: up one dir, main page]

JPS60105056A - digital control device - Google Patents

digital control device

Info

Publication number
JPS60105056A
JPS60105056A JP58211066A JP21106683A JPS60105056A JP S60105056 A JPS60105056 A JP S60105056A JP 58211066 A JP58211066 A JP 58211066A JP 21106683 A JP21106683 A JP 21106683A JP S60105056 A JPS60105056 A JP S60105056A
Authority
JP
Japan
Prior art keywords
memory
processor
circuit
backup
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
Application number
JP58211066A
Other languages
Japanese (ja)
Inventor
Kiyoshi Mochizuki
望月 清
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP58211066A priority Critical patent/JPS60105056A/en
Publication of JPS60105056A publication Critical patent/JPS60105056A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Hardware Redundancy (AREA)
  • Feedback Control In General (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、プロセッサおよびバックアップ用のメモリを
備えるディジタル制御装置の改良に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an improvement in a digital control device including a processor and a backup memory.

〔従来技術〕[Prior art]

第1図は、従来例を示すブロック図であり、プロセッサ
1を中心とし、主メモリ2、入出力回路3およびバック
アップ用のメモリ4を周辺に配し、母線5によりこれら
を接続しており、主メモリ2へ格納された命令をプロセ
ッサ1が実行し、所定のデータを主メモリ2ベアクセス
しながら制御動作を行ない、入出力回路3を介して外部
とのデータ授受を行なうものとなっている。
FIG. 1 is a block diagram showing a conventional example, in which a processor 1 is located at the center, a main memory 2, an input/output circuit 3, and a backup memory 4 are arranged around the periphery, and these are connected by a bus bar 5. The processor 1 executes instructions stored in the main memory 2, performs control operations while accessing predetermined data in the main memory 2, and exchanges data with the outside via the input/output circuit 3. .

また、プロセッサ1の暴走等により異常を生じ、主メモ
リ2中の内容が不正規となり1基本的なデータベースが
破壊されたときの対策として、主メモリ2内のデータベ
ースを周期的にメモリ4へ転送しておシ、プロセッサ1
による自己診断または別途の監視回路により異常を検出
し、初期状態を設定してから再動作を開始する際、メモ
リ4の内容を主メモリ2へ格納し、これに基づいて動作
の再開を行なうものとなっている。
In addition, as a countermeasure in the event that an abnormality occurs due to a runaway of the processor 1, the contents of the main memory 2 become irregular, and the 1 basic database is destroyed, the database in the main memory 2 is periodically transferred to the memory 4. Shioshi, Processor 1
When an abnormality is detected by self-diagnosis or a separate monitoring circuit, and the initial state is set before restarting the operation, the contents of the memory 4 are stored in the main memory 2, and the operation is resumed based on this. It becomes.

しかし、従来においては、母線5とメモリ4との間の回
路に切断または短絡等の障害を生ずると、再動作の開始
が不可能になると共に、メモリ4の内容が不正規となシ
、データベースを再格納しなければならず、障害の回復
に多大の手間と時間とを要する欠点が生じている。
However, in the past, if a failure such as a disconnection or short circuit occurs in the circuit between the bus 5 and the memory 4, it becomes impossible to restart the operation, and the contents of the memory 4 become irregular and the database This has the disadvantage that it requires a lot of effort and time to recover from a failure.

〔発明の概要〕[Summary of the invention]

本発明は、従来のか\る欠点を根本的に解決する目的を
有し、上述のディジタル制御装置において、プロセッサ
とバックアップ用のメモリとの間へ双方向のバッファ回
路を挿入すると共に、プロセッサ乃至バッファ回路を含
む本体に対しバックアップ用のメモリを着脱自在とし、
かつ、本体側KJ4常が生じてもバックアップ用のメモ
リは格納内容を保持するものとした極めて効果的な、デ
ィジタル制御装置を提供するものである。
The present invention has an object of fundamentally solving the conventional drawbacks, and in the above-mentioned digital control device, a bidirectional buffer circuit is inserted between the processor and the backup memory, and the processor or the buffer Backup memory is removable from the main body including the circuit,
Moreover, even if a main unit side KJ4 error occurs, the backup memory retains the stored contents, thereby providing an extremely effective digital control device.

〔実施例〕〔Example〕

以下、実施例を示す第2図以降により本発明の詳細な説
明する。
Hereinafter, the present invention will be explained in detail with reference to FIG. 2 and subsequent figures showing embodiments.

第2図は全構成のブロック図であり、母線5の一端に双
方向のバッファ回路21が接続され、プロセッサ1乃至
バッファ回路21により一体化された本体22を構成し
ており、バッファ回路21と接続されるバックアップユ
ニット23は、コネクタ24によシ本体22に対し着脱
自在となっている。
FIG. 2 is a block diagram of the entire configuration. A bidirectional buffer circuit 21 is connected to one end of the bus 5, forming a main body 22 that is integrated with the processor 1 to the buffer circuit 21. The connected backup unit 23 is detachable from the main body 22 through a connector 24.

また、バックアップユニット23には、バックアップ用
のメモリが収容されており、バッファ回路21を介し、
上述と同様にデータベースの転送が行なわれるものとな
っている。
In addition, the backup unit 23 houses a backup memory, and the backup memory is stored in the backup unit 23 and
The database is transferred in the same manner as described above.

第3図は、母線5乃至バックアップユニット23におい
て障害の生ずる部位を示す図でおり、各々つぎの各部に
障害の生じた場合を示している。
FIG. 3 is a diagram showing the parts where a failure occurs in the bus bar 5 to the backup unit 23, and shows the case where a failure occurs in each of the following parts.

■=母線5のバッファ回路21側、 ■:バツファ回路21の母線5側、 ■=バンファ回路21の主回路、 ■:バッファ回路21のコネクタ24側、[F]:バッ
ファ回路21とコネクタ24との間の回路、 [F]:コネクタ24とバンクアップ用のメモリとの間
の回路、 @:バックアップ用のメモリ内部、 こ\において、各障害部位に応する現象と対策とを示せ
ば、次表のとおりとなる。
■=buffer circuit 21 side of bus 5, ■: bus 5 side of buffer circuit 21, ■=main circuit of buffer circuit 21, ■: connector 24 side of buffer circuit 21, [F]: buffer circuit 21 and connector 24 [F]: Circuit between the connector 24 and the memory for bank-up, @: Inside the memory for backup, If the phenomena and countermeasures corresponding to each failure part are shown in this, the following is shown. As shown in the table.

したがって、本体22側に異常を生じても、バックアッ
プ用のメモリが格納内容を正規に保持するものとしてお
けば、0〜[F]の場合は、本体22の交換により直ち
に制御動作が従前に引続いて再開される一方、[F]、
■の場合は、本体22側の動作に支障を生じないため、
バックアップユニット23の交換により直ちに正規の状
態となυ、いずれの場合も障害の対策が簡単かつ容易と
なる。
Therefore, even if an abnormality occurs on the main body 22 side, as long as the backup memory maintains the stored contents normally, in the case of 0 to [F], the control operation will be resumed as soon as the main body 22 is replaced. While it is subsequently restarted, [F]
In the case of ■, there is no problem with the operation of the main body 22, so
Replacing the backup unit 23 immediately restores the normal state υ, and in either case, troubleshooting becomes simple and easy.

第4図は、バンクアップユニット23のブロック図であ
り、複数のデータエリアDEA、DEBを有するバンク
アップ用のメモリ3.1と、選択回路32とが設けられ
、同回路32には、コネクタ24を介した母線5の一部
5aを介し、データエリアDEA、DEBを各個にかつ
順次に反復して選択する選択信号が与えられるものとな
っておシ、これに応じてデータエリアDEA、DEBに
対し、データのアクセス状態とするイネーブル信号を送
出するものとなっている。
FIG. 4 is a block diagram of the bank up unit 23, which includes a bank up memory 3.1 having a plurality of data areas DEA and DEB, and a selection circuit 32. A selection signal for repeatedly and sequentially selecting the data areas DEA and DEB is applied to the data areas DEA and DEB individually and sequentially through a part 5a of the bus 5. On the other hand, it sends out an enable signal to set the data access state.

このため、データエリアDEA1DEHには、母線5の
一部5bを介して与えられるデータベースが各個にかつ
順次に反復して格納されるが、いずれか一方がアクセス
状態となってから所定の禁止時間中は、他方がアクセス
の禁止状態にたるものとして選択回路32の構成が定め
られている。
Therefore, in the data area DEA1DEH, the databases given via the part 5b of the bus 5 are repeatedly stored individually and sequentially, but for a predetermined prohibited time after one of them becomes accessed. The configuration of the selection circuit 32 is determined such that the other is in an access prohibited state.

第5図は、選択回路32のブロック図、第6図は、第5
図における各部の波形を示すタイミングチャートであり
、母線5aからの選択信号を示すコードは、デコーダ4
1によりデコードされ、選択信号(a) 、 (b)と
して各個にかつ順次に生じ、ANDゲート42.43を
介しイネーブル信号(c)、(d)となってデータエリ
アDEAXDEBへ送出されるが、イネーブル信号(1
り、(d)は、単安定マルチバイブレーク等のパルス発
生器44.45にも与えられておシ、各々をイネーブル
信号(c)、(d)の後縁により駆動し、禁止時間T、
□のパルス幅を有する禁止パルス(e)、(f)を発生
させる。
5 is a block diagram of the selection circuit 32, and FIG. 6 is a block diagram of the selection circuit 32.
It is a timing chart showing the waveforms of each part in the figure, and the code showing the selection signal from the bus 5a is the decoder 4.
1 and are generated individually and sequentially as selection signals (a) and (b), which are sent to the data area DEAXDEB as enable signals (c) and (d) via AND gates 42 and 43. Enable signal (1
(d) is also applied to pulse generators 44, 45 such as monostable multi-bibreaks, and each is driven by the trailing edge of enable signals (c) and (d), and the inhibition time T,
Inhibition pulses (e) and (f) having a pulse width of □ are generated.

禁止パルス(、)、(f)は、インバータ46.47を
介して反転され、互に他方側のイネーブル信号(d)、
(C)を通過させるANDゲート43.42の入力へ与
えられるため、禁止時間TINHの間は、互に他方側の
ANDゲート43.42がオフ状態となシ、いずれか一
方のイネーブル信号が送出されてから禁止時間T I 
HHの時間は、他方のイネーブル信号が送出不可能な状
態となる。
The inhibit pulses (,), (f) are inverted via inverters 46, 47, and the enable signals (d),
(C), so during the inhibit time TINH, the AND gates 43 and 42 on the other side are in the off state, and either one of the enable signals is sent out. Prohibited time T I
During the HH time, the other enable signal cannot be sent.

したがって、データエリアDEAがアクセス状態となっ
てから禁止時間TtNn中は、データエリアDEBがア
クセスの禁止状態となり、データエリアDEBがアクセ
ス状態となったときは、データエリアDEAがアクセス
の禁止状態となる。
Therefore, during the prohibition time TtNn after the data area DEA enters the access state, the data area DEB becomes the access prohibition state, and when the data area DEB enters the access state, the data area DEA becomes the access prohibition state. .

なお、禁止時間TINIIは、プロセッサ1の自己診断
周期用まだは監視回路の監視用に設定した一定時間をT
WDTとし、選択信号(a)、(b)の時間々隔をT8
ELとすれば、 TagL)TtNn)Twnt ・・・・・・・・・・
・・・・・・・・・・ (1)の関係に定める。
Note that the inhibition time TINII is a fixed time T that is set for the self-diagnosis cycle of the processor 1 and for monitoring the monitoring circuit.
WDT, and the time interval between selection signals (a) and (b) is T8.
If it is EL, TagL)TtNn)Twnt ・・・・・・・・・・・・
・・・・・・・・・・・・ As defined in the relationship in (1).

すると、第6図(g)に本体22側の異常状態発生を鎖
線によシ示し、かつ、これの一定時間TwnTによる検
出をX印により示すとおり、データエリアDEA、DE
B中のいずれか一方が異常状態発生により内容の破壊を
生じても、(g)に添記するデータエリアは、このとき
アクセスの禁止状態となっているため、内容が正規のま
X保存される。
Then, as shown in FIG. 6(g), the occurrence of an abnormal state on the main body 22 side is indicated by a chain line, and the detection of this by a certain period of time TwnT is indicated by an X mark.
Even if the contents of either of B are destroyed due to the occurrence of an abnormal condition, the contents of the data area listed in (g) will not be saved as normal because access is prohibited at this time. Ru.

すなわち、■〜■の異常状態では、データエリアDEA
がアクセス状態となっておシ、とれの内容が不正規とな
るのに対し、データエリアDル8が非アクセス状態およ
びアクセス禁止状態となっているため、データエリアD
EHの内容は正規のま\保持され、■の異常状態では、
いずれのデータエリアも非アクセス状態であシ、データ
エリアDEA、 DEriの双方に正規の内容が保持さ
れる。
That is, in the abnormal states of ■ to ■, the data area DEA
is in the access state and the contents of the data area D8 are invalid, whereas the data area D8 is in the non-access state and the access prohibited state.
The contents of EH are maintained as normal, and in the abnormal state of ■,
Both data areas are in a non-accessed state, and both data areas DEA and DEri hold regular contents.

また、■〜■の異常状態においては、前述と反対の関係
となり、データエリアDEHの内容が不正規となっても
、データエリアDgAの内容は正規のま\保持され、■
の異常状態では、前述の■と同一の結果となる。
In addition, in the abnormal states of ■ to ■, the relationship is opposite to that described above, and even if the contents of data area DEH become irregular, the contents of data area DgA are maintained as regular, and ■
In the abnormal state of , the result is the same as that of ① above.

したがって、如何々る時点においてプロセッサ1に暴走
等の異常を生じ、誤った内容のデータがバックアップユ
ニット23へ転送されても、データエリアDEA、DE
B中の少くともいずれが一方には異常を生ずる直前の正
規なデータベースが保存されておシ、異常状態の検出に
応する制御動作の再開に際し、データエリアDEA、D
EB中のチェックピット等を確認のうえ、正規な内容の
ものを判断し、これの内容を用いるものとすれば、制御
動作の継続上支障を生じない。
Therefore, even if an abnormality such as a runaway occurs in the processor 1 at any point and data with incorrect content is transferred to the backup unit 23, the data areas DEA and DE
At least one of B stores the regular database immediately before the abnormality occurs, and when restarting the control operation in response to the detection of the abnormal state, the data areas DEA and D
If the check pits, etc. in the EB are checked and the contents are determined to be legal, and the contents are used, there will be no problem in continuing the control operation.

たビし1各時間T8ELXTINII、TWDTは、(
1)式の関係を保ちながら極力接近させることが望まし
く、禁止パルス(、)、(f)をイネーブル信号(c)
、(d)の前縁により発生してもよい。
Table 1 Each time T8ELXTINII, TWDT is (
1) It is desirable to make them as close to each other as possible while maintaining the relationship shown in equation 1).
, (d).

第7図は、プロセッサ1の動作状況を示すフローチャー
トであシ、1バツクアツプメモリあ夛?〃51の判断を
行ない、これがNoであれば直ちに気制御演算〃52へ
移行するが、ステップ51のYESでは1バツクアツプ
メモリから主メモリへデータベース転送″53を行なっ
たうえ、ステップ52へ移行し、1自己診断″ 54に
ついで気バックアップメモリ正常?〃55を判断し、こ
れがN。
FIG. 7 is a flowchart showing the operating status of the processor 1.1 Backup memory addition? If the judgment in step 51 is No, the process immediately moves to control calculation 52, but if YES in step 51, the database is transferred from one backup memory to the main memory 53, and then the process moves to step 52. , 1 Self-diagnosis'' Next to 54, is the backup memory normal? 〃Judging from 55, this is N.

であれば気警報送出〃56を行ない、YESであれば気
チー タベー スヲバックアップメモリへ転送’57を
行なってからステップ52へ戻シ、以上の各ステップを
反復する。
If so, send an alarm 56, and if YES, transfer the data to the backup memory 57, then return to step 52, and repeat the above steps.

したがって、本体22側またはバックアップユニット2
3側のいずれに障害を生じても、障害の回復が容易かつ
迅速となり、特にデータベースの再設定が不要となるた
め、障害修復上の手間が大幅に減少する。
Therefore, the main body 22 side or the backup unit 2
Even if a failure occurs on any of the three sides, recovery from the failure is easy and quick, and in particular, there is no need to reconfigure the database, which greatly reduces the effort required to recover from the failure.

たソし、バッファ回路21としては、単なるバッファ増
幅器またはゲート回路等を双方向接続したものを用い、
条件によっては、ラッチ回路等を付加してもよく、コネ
クタ24の代シにソケット、植設ピン等を用いても同様
であシ、これに応じてバンクアップユニット23の構造
を選定すればよい。
However, as the buffer circuit 21, a simple buffer amplifier or gate circuit connected bidirectionally is used.
Depending on the conditions, a latch circuit or the like may be added, or a socket, a planted pin, etc. may be used in place of the connector 24, and the structure of the bank up unit 23 may be selected accordingly. .

また、データエリアDEA、DEBを更に多数とし、こ
れに応じて第5図の構成を定めれば、データの保存がよ
り確実になると共に、第5図においては、パルス発生器
44.45にクロックパルスをカウントするカウンタ等
を用いてもよく、ANDゲート42.43をNANDゲ
ート、インヒビットゲート等へ置換しても同様であり、
同等の機能を呈するものであれば、第4図、第5図のほ
か構成の選定が任意である等積々の変形が自在である。
Furthermore, if the number of data areas DEA and DEB is increased and the configuration shown in FIG. 5 is determined accordingly, data storage becomes more reliable, and in FIG. A counter or the like that counts pulses may be used, and the same effect can be obtained by replacing the AND gates 42 and 43 with NAND gates, inhibit gates, etc.
As long as it exhibits the same function, in addition to the configurations shown in FIGS. 4 and 5, the configuration can be arbitrarily selected and numerous modifications can be made.

〔発明の効果〕〔Effect of the invention〕

以上の説明によシ明らかなとおり本発明によれば、障害
の回復が容易かつ迅速とな9、特にデータベースの再設
定が不要となるため障害修復上の手間が大幅に減少し、
各種用途のディジタル制御装置として顕著な効果が得ら
れる。
As is clear from the above description, according to the present invention, failure recovery is easy and quick9, and in particular, there is no need to reconfigure the database, which greatly reduces the effort involved in failure recovery.
Remarkable effects can be obtained as a digital control device for various uses.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は従来例のブロック図、第2図以降は本発明の実
施例を示し、第2図は全構成のブロック図、第3図は障
害発生部位を示す要部ブロック図、第4図はバックアッ
プユニットのブロック図、第5図は選択回路のブロック
図、第6図は第5図における各部の波形を示すタイミン
グチャート、第7図はプロセッサの動作状況を示すフロ
ーチャートである。 1・・・・プロセッサ、2・・・・主メモリ、5・・・
−母線、21−・・命バッファ回路、22・・・・本体
、23・・・・バックアンプユニット、24・・・・コ
ネクタ、31・・・・メモリ、32・・・・選択回路。 特許出願人 山弐ノ・ネウエル株式会社代 理 人 山
 川 政 樹(ほか1名)第1図 ら 第4図 く の LLl 田 OO 第6図 第7図
Fig. 1 is a block diagram of a conventional example, Fig. 2 and subsequent figures show embodiments of the present invention, Fig. 2 is a block diagram of the entire configuration, Fig. 3 is a block diagram of main parts showing the failure occurrence part, Fig. 4 5 is a block diagram of the backup unit, FIG. 5 is a block diagram of the selection circuit, FIG. 6 is a timing chart showing waveforms of each part in FIG. 5, and FIG. 7 is a flow chart showing the operating status of the processor. 1...Processor, 2...Main memory, 5...
-Bus bar, 21-- life buffer circuit, 22-- main body, 23-- back amplifier unit, 24-- connector, 31-- memory, 32-- selection circuit. Patent applicant: Yamani-Newel Co., Ltd. Agent: Masaki Yamakawa (and 1 other person) Figures 1 to 4 LL1 OO Figure 6 Figure 7

Claims (1)

【特許請求の範囲】[Claims] プロセッサおよびバンクアップ用のメモリを有するディ
ジタル制御装置において、前記プロセッサとバックアッ
プ用のメモリとの間へ挿入した双方向のバッファ回路と
、前記プロセッサ乃至バッファ回路を含む本体に対し着
脱自在として設けられかつ前記本体側に異常が生じても
格納内容を保持する前記バンクアップ用のメモリとを備
えたことを特徴とするディジタル制御装置。
In a digital control device having a processor and a memory for bank-up, a bidirectional buffer circuit inserted between the processor and the memory for backup, and a main body including the processor or the buffer circuit detachably provided. A digital control device comprising: the bank-up memory that retains stored contents even if an abnormality occurs on the main body side.
JP58211066A 1983-11-11 1983-11-11 digital control device Pending JPS60105056A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58211066A JPS60105056A (en) 1983-11-11 1983-11-11 digital control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58211066A JPS60105056A (en) 1983-11-11 1983-11-11 digital control device

Publications (1)

Publication Number Publication Date
JPS60105056A true JPS60105056A (en) 1985-06-10

Family

ID=16599833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58211066A Pending JPS60105056A (en) 1983-11-11 1983-11-11 digital control device

Country Status (1)

Country Link
JP (1) JPS60105056A (en)

Similar Documents

Publication Publication Date Title
US5768496A (en) Method and apparatus for obtaining a durable fault log for a microprocessor
US6829729B2 (en) Method and system for fault isolation methodology for I/O unrecoverable, uncorrectable error
EP1089219A2 (en) Method for protecting a data memory
JPH06202762A (en) Reset signal generating circuit with write data protecting function
EP0125797B1 (en) Interrupt signal handling apparatus
JPS60105056A (en) digital control device
EP0078887B1 (en) Machine check coordination
JPS59231800A (en) Preventing device for foul writing to main memory
JPS6212536B2 (en)
JPS60105053A (en) Data protecting circuit of data processor
JPS5827538B2 (en) Mutual monitoring method
JP2766362B2 (en) Error information file generation method for power control digital controller
JPS5839321A (en) Storage device
AU683958B2 (en) Microprocessor fault log
JPH0433138A (en) CPU runaway monitoring method
JPS60120443A (en) Undefined instruction detection circuit
JPS6043265A (en) Reading and writing system of data
JPS6148740B2 (en)
JPS63311456A (en) Back-up system for nonvolatile memory device
JPH04142625A (en) Information processing unit
JPH0213335B2 (en)
JPS58106648A (en) Magnetic disc memory controller
DE10351745A1 (en) Method and system for operating a portable data carrier
JPS63101938A (en) Device for preventing microprocessor from runaway
JPS5838813B2 (en) logical device