JPS6143348A - Fail-safe computer system - Google Patents

Fail-safe computer system

Info

Publication number
JPS6143348A
JPS6143348A JP59164264A JP16426484A JPS6143348A JP S6143348 A JPS6143348 A JP S6143348A JP 59164264 A JP59164264 A JP 59164264A JP 16426484 A JP16426484 A JP 16426484A JP S6143348 A JPS6143348 A JP S6143348A
Authority
JP
Japan
Prior art keywords
frequency
signal
fail
safe
microcomputer
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.)
Granted
Application number
JP59164264A
Other languages
Japanese (ja)
Other versions
JPH0638240B2 (en
Inventor
Kunio Saito
斉藤 国夫
Fusashi Tashiro
維史 田代
Hiroshi Sato
寛 佐藤
Yuzo Morita
森田 雄三
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59164264A priority Critical patent/JPH0638240B2/en
Publication of JPS6143348A publication Critical patent/JPS6143348A/en
Publication of JPH0638240B2 publication Critical patent/JPH0638240B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To detect faults with a simple constitution of a computer system and to attain the application of this system even to a single structure microcmputer system, by using also a softwate function to actuate periodically a digital output program and monitoring this actuating period. CONSTITUTION:A microcomputer 1 for control contains a progarm memory ROM3, a variable memory RAM4 and a digital output circuit 5 centering on a microprocessor 2. A fail-safe frequency comparator 6 functions as a frequency window comparator having a fail-safe function and checks the frequency of a signal E and delivers a coincidence signal G which is set at ''1'' only when the frequency of the signal E is ketp within a prescribed range together with a self-normalcy checking signal F.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、フェイルセーフ特性を必要とする制御用マイ
クロコンピュータなどに係り、特にマイクロコンピュー
タシステムが一重系の場合にも適用可能なフェイルセー
フコンピュータシステムに関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a control microcomputer that requires fail-safe characteristics, and particularly to a fail-safe computer system that is applicable even when the microcomputer system is a single system. Regarding.

〔発明の背景〕[Background of the invention]

近年、各種の車両や搬送装置の制御にマイコン(マイク
ロコンピュータ)が広く使用されるようになってきてい
るが、このような場合、マイコンが誤動作すると安全上
大きな問題を生じる虞れがあり、このため、フエづルセ
ーフなマイコンシステムが必要になる。
In recent years, microcomputers have become widely used to control various vehicles and transport equipment, but in such cases, if the microcontroller malfunctions, there is a risk of serious safety problems. Therefore, a completely safe microcomputer system is required.

この−1−!s す制jal用のフエイルセーフマイコ
ンシ′ステふとしては、例えば、[−日経エレクトロニ
クス4誌、1982.3. l J の央村、中村氏に
よる尋鉄道信号制御装置に見るフォールト・トレラント
・システムの設計〃が知られており、これによれば、フ
ェイルセーフ機能の付与を、基本的に共通のクロック源
を用い、クロック同期したi数の−fイコンのバス(ア
ドレスバスp 7 1 ハスナど)のフェイルセーフ照
合により実現する方法について紹介がなされている。
This -1-! For example, a fail-safe microcomputer system for the system is described in [-Nikkei Electronics 4, 1982.3. The design of a fault-tolerant system seen in a railway signal control system by Mr. Omura and Mr. Nakamura of J.A. The paper introduces a method of realizing this by fail-safe verification of i number of clock-synchronized -f icon buses (address bus p 7 1 Hasna, etc.).

この従来例によれば、高速度で故障検出が行なえるが、
その反面、多重系のマイコンシステムを前提としており
、かつ比較すべきバスの数に対応した多数のフェイルセ
ーフな比較器を必要とするためコストアップが看しく、
また、当然のこととして一重系のマイコンシステムには
適用できないという欠点がある。
According to this conventional example, failure detection can be performed at high speed, but
On the other hand, since it assumes a multiple microcomputer system and requires a large number of fail-safe comparators corresponding to the number of buses to be compared, the cost increases.
Another disadvantage is that it cannot be applied to a single-layer microcomputer system.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記した従来技術の欠点を除き、比較
器の数が少くて済み、かつ−重系のマイコンシステムに
モ適用可能なフェイルセーフマイコンシステムを提供す
るにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a fail-safe microcomputer system that eliminates the drawbacks of the prior art described above, requires fewer comparators, and is applicable to heavy-duty microcomputer systems.

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

この目的を達成するため、本発明は、ソフトウェア機能
を併用してディジタル出力プログラムを周期的に動作さ
せ、この周期を監視することによ・り故障検知を行なう
ようにした点を特徴とする。
In order to achieve this object, the present invention is characterized in that a digital output program is operated periodically using a software function, and a failure is detected by monitoring this cycle.

〔発明の実施例〕 以下、本発明によるフェイルセーフコンピュータシステ
ムについて、図示の実施例により詳細に第1図は本発明
の一実施例で、図において、1は制御用のマイコン(コ
ンピュータ)で、マイクロプロセッサ(セントラルグロ
セツシングユニット)2を中心にしてプログラムメモリ
であるリードオンリーメモリ3.変数メモリであるラン
ダムアクセスメモリ4.ディジタル出力回路5で構成さ
れている。なお、このほかクロック回路やアドレスデコ
ーダなどの周辺回路が必狭であるが、この点は周知のこ
となので省略しである。
[Embodiments of the Invention] Hereinafter, the fail-safe computer system according to the present invention will be described in detail with reference to the illustrated embodiment. FIG. 1 shows an embodiment of the present invention, and in the figure, 1 is a control microcomputer (computer); A read-only memory, which is a program memory, is centered around the microprocessor (central processing unit) 2.3. Random access memory which is variable memory4. It is composed of a digital output circuit 5. In addition, peripheral circuits such as a clock circuit and an address decoder are necessarily limited, but this point is well known and will therefore be omitted.

6はフェイルセーフ周波数比較器で、フェイルセーフ機
能をもった周波数ウィンドウコンパレータとして動作し
、ディジタル出力回路゛5から出力されてくる信号Eの
周波数を調べ、それが所定の周波数範囲内にあるときだ
け気1〃になる一致信号Gと、自己の正常性チェック信
号Fとを出力する@きをする。  ゛ 一方、このような構成と並行して、マイコン1のソフト
ウェアを第2図のフローチャートのように構成しておく
。すなわち、システム立上げによりスタート後、イニシ
ャル処′P4(10)が終了するとステップ(2o)に
よりディジタル出力回路5から交互にSS □ # 、
 % I Itを出力させるようにする。
6 is a fail-safe frequency comparator, which operates as a frequency window comparator with a fail-safe function, checks the frequency of the signal E output from the digital output circuit 5, and only when the frequency is within a predetermined frequency range. It outputs a coincidence signal G that becomes 1〃 and its own normality check signal F. Meanwhile, in parallel with this configuration, the software of the microcomputer 1 is configured as shown in the flowchart of FIG. That is, after starting the system and completing the initial process 'P4 (10), the digital output circuit 5 alternately outputs SS □ #,
%I It is output.

このためには、例えばダミーカウンタ(ソフトカウンタ
)を設け、ステップ(20)を通るごとに一0〃から%
1〃に、そして亀1〃から蟻0〃に変る信号がディジタ
ル出力回路5に与えられるようにすればよい。その後、
ステ5ツブ(30)でマイコン1が行なうべき本来の処
理を行ない、再びステップ(旬)に戻す。
For this purpose, for example, a dummy counter (soft counter) is provided, and each time the step (20) is passed, the value is increased from 10% to %.
1, and a signal that changes from turtle 1 to ant 0 may be given to the digital output circuit 5. after that,
At step 5 (30), the microcomputer 1 performs the original processing that should be performed, and returns to step (current) again.

このようにしておけば、プログラムに割込み等がないの
で、ステップ(20)、  (30)は無限ループとな
って周期的に動作し、デづジタル出力回路5の出力信号
Eは隻0〃と%1〃が周期的九反転する信号となり、こ
れはディジタル出力回路5からほぼ一定の周波数のパル
スが得られることを示す。
If this is done, there will be no interruptions in the program, so steps (20) and (30) will operate periodically in an infinite loop, and the output signal E of the digital output circuit 5 will be 0. %1 is a signal that is periodically inverted nine times, which indicates that a pulse of approximately constant frequency is obtained from the digital output circuit 5.

ナオ、このときのパルス状の信号Eの周波数が完全に一
定のものとならないのは、以下の理由による。すなわち
、一般に、ステップ(30)におけるマイコツ1本来の
処理プログラムの処理時間には、ミクロにみたプログラ
ムバスの違い(判定文など)でゆらぎが住じているから
である。
The reason why the frequency of the pulsed signal E at this time is not completely constant is as follows. That is, in general, the processing time of the original processing program of the microprocessor 1 in step (30) has fluctuations due to microscopic differences in the program bus (judgment statements, etc.).

この、はぼ一定の周波数(これをflとする)の信号E
はフェイルセーフ周波数範囲内6に入力され、第3図に
示す比較特性のもとで比較され、これにより、信号Eの
周波数f、が所定の周波数fzとfm (b< fm 
)の間にありたときだゆ一致信号G=1が得られるよう
にする。なお、これらの周波数fX、、f、は、マイコ
ン1が正常に機能して第2図に示した処理が正しく縁り
返えされているときに得られる信号EのJ8波数f、に
基づいて、フェイルセーフj!8波数比較器6の中に予
じめセットしであるものである。
This signal E of approximately constant frequency (this is called fl)
is input within the fail-safe frequency range 6 and compared under the comparison characteristics shown in FIG.
), a coincidence signal G=1 is obtained only when the value is between . These frequencies fX, , f are based on the J8 wave number f of the signal E obtained when the microcomputer 1 is functioning normally and the processing shown in Fig. 2 is being repeated correctly. , fail safe j! This is set in advance in the 8 wave number comparator 6.

従りて、マイコン1が正雀に機能している閣は、第3図
に示すように、信号Bの周波数はf、となり、周波′f
iifcとfRで定まるウィンドウの中にあり、一致信
号(f−1が得られている。
Therefore, in a cabinet where the microcomputer 1 is functioning properly, the frequency of the signal B is f, as shown in Figure 3, and the frequency 'f
It is within the window determined by iifc and fR, and a coincidence signal (f-1) is obtained.

しかしながら、いま、マイコン1に故障などが発生した
とすれば、第2図に示した処理に要する時間が正常時で
のものから変化したり、処理が停止したりするため、例
えば信号Eの周波数が正當時での値flからずれてfI
のように変化し、fLとfiで決められているウィンド
ウを外れた場合には、−i信号G=0となり、故障を検
出することができる。
However, if a failure occurs in the microcomputer 1, the time required for the processing shown in Figure 2 may change from the normal time, or the processing may stop, for example, the frequency of the signal E may change. deviates from the correct value fl and becomes fI
When the value changes as follows and is out of the window determined by fL and fi, the -i signal G becomes 0, and a failure can be detected.

一方、フェイルセーフ周波数比較器6が故障したときに
は、自己の正常性チェック信号Fが失わ −れるのでフ
ェイルセーフが保たれる。
On the other hand, when the fail-safe frequency comparator 6 fails, its own normality check signal F is lost, so fail-safe is maintained.

従って、この第1図の実施例によれは、1台の周波数比
較器を用いただけで7エイルセーフマイコンシステムを
得ることができ、マイコンシステムが多重系でなくても
適用可能で充分なフェイルセーフ性を与えることができ
る。
Therefore, according to the embodiment shown in FIG. 1, it is possible to obtain a 7-fail-safe microcomputer system by using only one frequency comparator, and it is applicable even if the microcomputer system is not a multiplex system, and is sufficiently fail-safe. can give sex.

次に、フェイルセーフ周波数比較器6の一実施例を第4
図によって説明する。
Next, a fourth embodiment of the fail-safe frequency comparator 6 will be described.
This will be explained using figures.

なお、この第4図に示した例はリング演算方式として知
られ、フェイルセーフ性が璧求される列車自動制御装置
(ATC装置)の分野で多用されており、特許第923
327号、特許第964816号、特許第107274
5号の各明細書なとに詳しく説明されている公知のもの
である。
The example shown in Fig. 4 is known as the ring calculation method, and is widely used in the field of automatic train control devices (ATC devices) where fail-safe performance is required, and is disclosed in Patent No. 923.
No. 327, Patent No. 964816, Patent No. 107274
This is a known method that is explained in detail in each specification of No. 5.

この第4図に示したフェイルセーフ周波数比較器6は、
交書信号発生部12と周波数比較回路11が基本になっ
ており、制御回路14によって時分割動作し、入力端子
lOに与えられた信号Eの周波数fiに対する周波数ウ
ィンドウ比較を行ない、論理出力回路13から出力端子
16に一致信号u′t−1そして出力端子17から自己
チェック信号P゛をそれぞれ出力するようになっている
The fail-safe frequency comparator 6 shown in FIG.
It is basically composed of a correspondence signal generation section 12 and a frequency comparison circuit 11, which are time-divisionally operated by a control circuit 14, and perform a frequency window comparison with respect to the frequency fi of the signal E applied to the input terminal IO, and a logic output circuit 13. A coincidence signal u't-1 is outputted from the output terminal 16, and a self-check signal P' is outputted from the output terminal 17.

矢に動作について説明すると、いま、あるタイムスロッ
トで交番信号発生部12が、メモリ−15と制御回路1
4の出力で決められる周改数の信号a″を発生している
と、これがフィードバランルーズ18を介して周波数比
較回路11に入力され、端子10から入力されている信
号E(D@波efsと比較されて比較出力すが得られる
To explain the operation in detail, at a certain time slot, the alternating signal generator 12 outputs the memory 15 and the control circuit 1.
When the signal a'' of the frequency change determined by the output of 4 is generated, this is input to the frequency comparator circuit 11 via the feed balun loose 18, and the signal E (D@wave efs A comparison output is obtained.

次に、別の夕1ムスロットで、交番信号発生部12は、
比較出力すと制御回路1・1からの出力によりメモリー
15の、前回とは異なったアドレスの内容t−読出し、
前回とは異なり7’(周波数の信号aを発生じ、周波数
比較回路11は今度はこの周波数と信号Eの周波数f1
との比較を行ない、比較出力すを発生する。従って、上
記メモリー15の一方のアドレスから読出される周波数
を例えば第3図で示したfX、に、そして他方のアドレ
スから読出される周波数をf、にそれぞれ定めておけば
、時分割で周波数のウィンドコンパレートが行なわれる
ことになる。
Next, in another evening slot, the police box signal generator 12
When the comparison is output, the contents of the memory 15 at a different address than the previous one are read out by the output from the control circuit 1.
Unlike the previous time, a signal a with a frequency of 7' is generated, and the frequency comparison circuit 11 now compares this frequency with the frequency f1 of the signal E.
A comparison is made with the following and a comparison output is generated. Therefore, if the frequency read from one address of the memory 15 is set as fX shown in FIG. 3, and the frequency read from the other address is set as f, then the frequency A window comparison will be performed.

一方、メモリー15のさらに別のアドレスには、絢$、
数比較回路11と交書信号発生部12の自己チェックに
必懺なデータが設定されており、上記した周波数比軟の
タイムスロットとは別の特定のタイムスロットにおいて
、このデータによる15→18→11→19→15のフ
ィードバック形ループのチェックが行なわれ、この動作
も含めサイクリックな動作を行なわせることで7エイル
セーフ性が保たれるようになっている。そして、このサ
イクリックな動作が停止すると端子17に現われている
自己チェック用のサイクリックな信号Fが消失し、フェ
イルセーフな状態での異常検出が得られるようになって
いる。
On the other hand, in yet another address of the memory 15, Ayan$,
Data necessary for self-checking of the number comparison circuit 11 and the correspondence signal generation section 12 is set, and in a specific time slot other than the above-mentioned soft frequency ratio time slot, 15→18→ A feedback type loop of 11→19→15 is checked, and by performing cyclic operations including this operation, 7 fail safety is maintained. When this cyclic operation stops, the self-checking cyclic signal F appearing at the terminal 17 disappears, making it possible to detect an abnormality in a fail-safe state.

また、交番信号発生部12は、以上とはさらに別の特定
タイムスロットで周波数比較回路11の出力が所定のゾ
ーンに入っていることを表わす出力信号を発生する働き
もし、制御回路14と論理出力回路13により端子16
から交番信号で正常範囲を示す信号Gが出力されるよう
にする。
Further, the alternating signal generating section 12 also functions to generate an output signal indicating that the output of the frequency comparison circuit 11 is within a predetermined zone in a specific time slot other than the above, and outputs a logic output signal from the control circuit 14. Circuit 13 connects terminal 16
A signal G indicating the normal range is output as an alternating signal.

なお、このほかメモリーのCRCチェック(周期冗長検
査)なども適用されているが、詳細な説明は前記の明細
書にゆすり、ここでは省略する。
In addition, a memory CRC check (cyclic redundancy check) is also applied, but detailed explanation is given in the above specification and will not be repeated here.

次に、第5図は本発明を二重系マイコンに適用した場合
の一実施例で、マイコンIAとIBは二重系をなし、疎
結合(クロックが独立になっていること)である。なお
、これらのマイコンIA。
Next, FIG. 5 shows an embodiment in which the present invention is applied to a dual system microcomputer, in which microcomputers IA and IB form a dual system and are loosely coupled (clocks are independent). In addition, these microcontroller IA.

IBの入出力インターフェースについては図示してない
が、通常の二重系の場合と同じく、公知の切換手段を用
い、゛相互に結合されるか、または一方から他方に切換
えられて動作するようになっている。
Although the input/output interfaces of the IB are not shown in the diagram, they can be connected to each other or operated by switching from one side to the other using known switching means, as in the case of a normal duplex system. It has become.

加は切換部で、上記した入出力インターフエ−スの切換
とは別のものであり、それぞれのマイコンIA、IBか
らの交番信号EAとEiBを時分割で切換え、フェイル
セーフ周波数比戦器6に入力する働きをする。
In addition, there is a switching unit which is different from the switching of the input/output interface described above, and which switches the alternating signals EA and EiB from the respective microcomputers IA and IB in a time-sharing manner. It functions as an input to the

従って、この実施例においても、信号EAの周波数f】
ムと信号EBの周波数f1Bがそれぞれ時分割で所定範
囲内にあるが否かの検出が行なわれることになり、錦1
図の実施例と同様に異常検知が可能になる。そして、こ
のとき、切換部加の異常はフェイルセーフ周波数比較器
6で検出できるため、フェイルセーフ性が保たれる。
Therefore, also in this embodiment, the frequency f of the signal EA]
The frequency f1B of the signal EB and the frequency f1B of the signal EB are respectively detected on a time-division basis as to whether or not they are within a predetermined range.
Abnormality detection becomes possible in the same way as in the embodiment shown in the figure. At this time, the fail-safe frequency comparator 6 can detect any abnormality in the application of the switching section, so fail-safe properties are maintained.

第6図は同じく二重系のマイコンシステムに本発明を適
用した場合の一実施例で、第5図の実施例とは異なり、
二重系のマイコンIA、IBの2つの信号EA、  E
Bを周波数として直接比較するようにしたもので、一方
のマイコンの出力周波数を基準として他方のマイコンの
出力周波数が所定の範囲内にあるが否かをフェイルセー
フにチェックするようにしたものであり、そのため、例
えばマイコンIAから出力される信号EAの周波数をf
lAとし/ヒとき、これに対してマイコンIBの出力信
号ILBの周波数flBが、 11人−ΔfL<fIB<fl^+ΔfII   ・・
曲回・・(1)の範囲にあるか否かをチェックするフェ
イルセーフ周波数比較器60を使用したものである。
FIG. 6 shows an embodiment in which the present invention is applied to a dual-system microcomputer system, and unlike the embodiment in FIG.
Dual system microcontroller IA, IB two signals EA, E
B is directly compared as a frequency, and the output frequency of one microcomputer is used as a reference to check whether the output frequency of the other microcomputer is within a predetermined range or not in a fail-safe manner. , Therefore, for example, the frequency of the signal EA output from the microcomputer IA is f
When lA is set/hi, the frequency flB of the output signal ILB of the microcomputer IB is 11 people - ΔfL<fIB<fl^+ΔfII ・・
A fail-safe frequency comparator 60 is used to check whether the frequency is within the range of (1).

第7図はこのようなフェイルセーフ周波数比較器60の
一実施例で、21はマイコンIBからの信号EBを入力
する端子、nは選択−j路である。
FIG. 7 shows an embodiment of such a fail-safe frequency comparator 60, in which 21 is a terminal for inputting the signal EB from the microcomputer IB, and n is the selection-j path.

次に、この実施例の動作について説明する。Next, the operation of this embodiment will be explained.

この実施例のものでも時分割動作をするが、そのタイム
スロットの数は第4図の場合よりも多く設定してあり、
これにより、ます泡択回路乙により端子10を選択して
信号EAを入力し、その周波数flAを基準入力周波数
としてそれがどの範囲の周波数にあるかを交番信号発生
部12と周波数比較回路11により、周波数帯域ごとに
時分割で順次、比較してゆきながら確定し、それを基準
周波数flAとじて記憶する。このときの周仮数帝の区
分の精度はメモIJ−15の中に設定しである基準周波
数データの数によって決められる。
This embodiment also performs time-division operation, but the number of time slots is set to be greater than that in the case of Fig. 4.
As a result, the bubble selection circuit B selects the terminal 10 and inputs the signal EA, and the alternating signal generator 12 and the frequency comparison circuit 11 determine in what frequency range the frequency flA is the reference input frequency. , for each frequency band in a time-division manner, are compared and determined, and then stored as the reference frequency flA. The accuracy of the division of the mantissa at this time is determined by the number of reference frequency data set in the memo IJ-15.

次に、選択回路22を端子21に切換え、マイコンIB
の信号1jBを取り込み、記憶しである基準周波数fl
Aを用いて上記(1)式による比較を時分割で行ない、
信号wbの周波数flBが基準周波数flAに対して所
定のviiI差(−ΔfL、+Δ111)内にあるか否
かのチェ、ツクする。
Next, the selection circuit 22 is switched to the terminal 21, and the microcomputer IB
Take in the signal 1jB and store it as the reference frequency fl.
A is used to perform the comparison according to the above formula (1) in a time-sharing manner,
It is checked whether the frequency flB of the signal wb is within a predetermined difference (-ΔfL, +Δ111) with respect to the reference frequency flA.

そして、(1)式が満足している間だけ一致信号Gを出
力させ、異常検知が行なえるようにする。
Then, the coincidence signal G is output only while formula (1) is satisfied, so that abnormality detection can be performed.

ここで、選択回路部による選択動作が停止すると、常に
同じ入力を比較していることになり、みかけ上は周vJ
L数が所定範囲にあるものと判断され、誤まった出力を
発生してフェイルセーフが倚られなくなりてしまう虞れ
がある。そこで、これに対しては、新たにタイムスロッ
トを設け、交#r侶゛号発生部12の出力aを選択回路
ηに入力し、新たに設けたタイムスロットで違択回路四
の出力周波数を周波数比較1g回路11に取り込み、−
歇比戟を行なうようにしてやれば、選択回bnによる選
択動作の停止を容易に検出でき、選択回路乙の故障に対
してもフェイルセーフを保たせることができる。
Here, when the selection operation by the selection circuit section stops, it means that the same input is always compared, and the apparent frequency is VJ.
There is a possibility that the number of L is determined to be within a predetermined range, and an erroneous output is generated, thereby disabling the fail-safe function. Therefore, in response to this, a new time slot is provided, the output a of the signal generator 12 is inputted to the selection circuit η, and the output frequency of the selection circuit 4 is changed using the newly provided time slot. Input into the frequency comparison 1g circuit 11, -
If the cyclic ratio is carried out, it is possible to easily detect the stoppage of the selection operation by the selection circuit bn, and it is possible to maintain fail-safe even in the event of a failure of the selection circuit B.

これら第5図、第6図の実施例では、二重系のそれぞれ
の系を格成するマイコンIA、113が疎結合でよいた
め、クロック回路も独立にでき、かつ、それぞれのプロ
グラム間でのしい同期も不要である。
In the embodiments shown in FIGS. 5 and 6, the microcomputers IA and 113 that form each of the dual systems can be loosely coupled, so the clock circuits can be made independent, and the clock circuits can be independent. No new synchronization is required.

また、これら第5図、第6図の実施例では、一方の系に
故障が発生しても、他方の糸だけで第1図の実施例の場
合と同様にフェイルセーフ性を保った動作が可能で、二
重系の%量を部分にいかして高い信頼性を常に保つこと
ができる。
Furthermore, in the embodiments shown in FIGS. 5 and 6, even if a failure occurs in one system, the other system can operate in a fail-safe manner similar to the embodiment shown in FIG. It is possible to maintain high reliability at all times by making full use of the dual system.

なお、以上の実施例では、プログラムの周期性を保つた
めに第2図に示すような無限ループとしているが、これ
に代えてタイマ割込みでプログラムを走らせることによ
り周期性が得られるようにしてもよい。この場合には、
一部分のプログラムの7工イ〃セーン動作を保証するよ
うにしてもよい。
In the above embodiment, an infinite loop as shown in Fig. 2 is used to maintain the periodicity of the program, but instead of this, periodicity can be obtained by running the program using a timer interrupt. Good too. In this case,
It may also be possible to guarantee the correct operation of a part of the program.

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

以上説明したように、本党明によれば、ティジタル出力
を発生させるためのマイコンのプログラムを周期的に走
らせ、この周期により故障検知を行゛なりようにしたか
ら、従来技術の欠点を除き、複数の7工イルセーフ比社
器か不要で、二重系のマイコンシステムにも適用できる
ため、LSI化による小形化が可能で、このためローコ
スト化カ容易な上、二重糸のマイコンシステムに適用し
て −常に高い信頼性を得ることができるフェイルセー
フコンピュータシステムを容易に提供することができる
As explained above, according to the present party, the microcomputer program for generating digital output is run periodically, and failure detection is performed based on this cycle, thus eliminating the drawbacks of the conventional technology. It does not require multiple 7-way safety devices and can be applied to dual-system microcomputer systems, so it can be made smaller by LSI, which makes it easier to reduce costs, and it can also be applied to dual-system microcomputer systems. - It is possible to easily provide a fail-safe computer system that can always have high reliability.

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

第1図は本発明によるフェイルセーフコンピュータシス
テムの一実施例を示すブロック図、第2図は第1図の医
施例におけるプログラムの説明図、第3図は同じく制作
説明図、第4図はフェイルセーフ周波数比軟器の一例を
示すブロック図、第5図及び第6図はそれぞれ本実8A
を二重系に適用した場合の一災′1Afilを示すブロ
ック図、第7図はフェイルセーフB’l波数比較器の他
の一実施例を示すブロック図である。 1、IA、IB・・・・・・マイクロコンピュータ、5
・・・・・・ディジタル出力回路、6.60・・・・・
・フェイルセーフ周波数比較器、20・・・・・・選択
回路。 第1f!1 第2図 第3図 第4図 旦 第5図 第6図 第7図 L           ?     −J印
FIG. 1 is a block diagram showing an embodiment of a fail-safe computer system according to the present invention, FIG. 2 is an explanatory diagram of a program in the medical example of FIG. 1, FIG. 3 is also an explanatory diagram of production, and FIG. A block diagram showing an example of a fail-safe frequency ratio softener, FIGS.
FIG. 7 is a block diagram showing another embodiment of the fail-safe B'1 wave number comparator. 1, IA, IB...Microcomputer, 5
...Digital output circuit, 6.60...
- Fail-safe frequency comparator, 20... selection circuit. 1st f! 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 L? -J mark

Claims (1)

【特許請求の範囲】 1、セントラルプロセッシングユニットを用いて演算処
理を行なうコンピュータシステムにおいて、上記演算処
理が実行されるごとに2種の状態の一方と他方に交互に
変化する信号を発生するディジタル出力回路と、このデ
ィジタル出力回路から出力される信号を入力とする周波
数比較器とを設け、上記信号の状態変化周波数が所定範
囲を外れたか否かで故障検出を行なうように構成したこ
とを特徴とするフェイルセーフコンピュータシステム。 2、特許請求の範囲第1項において、上記周波数比較器
がフェイルセーフ機能を備えていることを特徴とするフ
ェイルセーフコンピュータシステム。
[Claims] 1. In a computer system that performs arithmetic processing using a central processing unit, a digital output that generates a signal that alternately changes between one and the other of two states each time the arithmetic processing is executed. A circuit and a frequency comparator that inputs the signal output from the digital output circuit are provided, and a failure is detected based on whether the state change frequency of the signal is out of a predetermined range. A fail-safe computer system. 2. A fail-safe computer system according to claim 1, wherein the frequency comparator has a fail-safe function.
JP59164264A 1984-08-07 1984-08-07 Multi-system fail-safe computer system Expired - Lifetime JPH0638240B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59164264A JPH0638240B2 (en) 1984-08-07 1984-08-07 Multi-system fail-safe computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59164264A JPH0638240B2 (en) 1984-08-07 1984-08-07 Multi-system fail-safe computer system

Publications (2)

Publication Number Publication Date
JPS6143348A true JPS6143348A (en) 1986-03-01
JPH0638240B2 JPH0638240B2 (en) 1994-05-18

Family

ID=15789782

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59164264A Expired - Lifetime JPH0638240B2 (en) 1984-08-07 1984-08-07 Multi-system fail-safe computer system

Country Status (1)

Country Link
JP (1) JPH0638240B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5544911A (en) * 1978-09-25 1980-03-29 Omron Tateisi Electronics Co Data sampling system for blood corpuscle analyzer
JPS57134731A (en) * 1981-02-13 1982-08-20 Toshiba Corp Reset circuit for central processing unit
JPS57182858A (en) * 1981-05-06 1982-11-10 Japan Electronic Control Syst Co Ltd Monitor circuit for program runaway in computer
JPS5988748U (en) * 1982-11-30 1984-06-15 日本電気ホームエレクトロニクス株式会社 Runaway detection circuit for microcomputer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5544911A (en) * 1978-09-25 1980-03-29 Omron Tateisi Electronics Co Data sampling system for blood corpuscle analyzer
JPS57134731A (en) * 1981-02-13 1982-08-20 Toshiba Corp Reset circuit for central processing unit
JPS57182858A (en) * 1981-05-06 1982-11-10 Japan Electronic Control Syst Co Ltd Monitor circuit for program runaway in computer
JPS5988748U (en) * 1982-11-30 1984-06-15 日本電気ホームエレクトロニクス株式会社 Runaway detection circuit for microcomputer

Also Published As

Publication number Publication date
JPH0638240B2 (en) 1994-05-18

Similar Documents

Publication Publication Date Title
AU614277B2 (en) Method and apparatus for digital logic synchronism monitoring
JP6266239B2 (en) Microcomputer
JPH052654A (en) Method and circuit for detecting fault of microcomputer
US5784383A (en) Apparatus for identifying SMP bus transfer errors
KR20070038543A (en) Method for delaying access to data and/or commands of a dual computer system, and corresponding delaying unit
US6055660A (en) Method for identifying SMP bus transfer errors
US6892345B1 (en) Integrated circuit including duplicated synchronous and asynchronous components
JPS6143348A (en) Fail-safe computer system
JP2004234144A (en) Operation comparison device and operation comparison method for processor
US5761482A (en) Emulation apparatus
JP3529994B2 (en) Verification circuit
JP4582930B2 (en) Bus verification circuit
JPS62293441A (en) Data outputting system
JP3652232B2 (en) Microcomputer error detection method, error detection circuit, and microcomputer system
JP6588068B2 (en) Microcomputer
JP4647128B2 (en) Bus verification circuit
JP2022184410A (en) Arithmetic device
JPS6227814A (en) Fault detection circuit
JP3081234B2 (en) How to check CPU board
JP2000200200A (en) Information processor and information processing method
JPH03210638A (en) Microcomputer
JPS5941066A (en) Method for collating data of controller
JPH0454643A (en) Parity generating and checking circuit
JPS63310211A (en) Clock fault detecting circuit
JPS61134846A (en) Electronic computer system

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term