JPS623346A - Controller with fail-safe circuit - Google Patents

Controller with fail-safe circuit

Info

Publication number
JPS623346A
JPS623346A JP60142200A JP14220085A JPS623346A JP S623346 A JPS623346 A JP S623346A JP 60142200 A JP60142200 A JP 60142200A JP 14220085 A JP14220085 A JP 14220085A JP S623346 A JPS623346 A JP S623346A
Authority
JP
Japan
Prior art keywords
microcomputer
control signal
fail
signal
circuit
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
JP60142200A
Other languages
Japanese (ja)
Inventor
Hiroshi Ogawa
宏 小川
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP60142200A priority Critical patent/JPS623346A/en
Publication of JPS623346A publication Critical patent/JPS623346A/en
Pending legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)

Abstract

PURPOSE:To eliminate an unstable control in a mode switching state by switching a control signal given from a microcomputer synchronously with the control signal given from a fail-safe circuit when the microcomputer has a fault. CONSTITUTION:A microcomputer 1 delivers the ignition control signal (h) to a switch circuit 6 based on the signals of a pressure sensor 2 and a crank angle sensor 3. While a fail-safe circuit 5 delivers the signal (i) which always secures the minimum igniting action just with the signal of the sensor 3. A fault detecting circuit 4 monitors the cycle of the pumping signal (f) of the computer 1 and delivers the signal (g) to a flip-flop FF2 when a fault is detected. The output of the FF2 is applied to the reset terminal of an FF3. Then the switch signal (l) is sent to the circuit 6 synchronously with the output of an FF1 which works synchronously with the signal (i) of the circuit 5.

Description

【発明の詳細な説明】 〔概 要〕 マイクロコンピュータ動作モード(マイクロコンピュー
タからの制御信号により被制御機器を制御するモード)
とフェイルセーフ回路動作モード(フェイルセーフ回路
からの制御信号により被制御機器を制御するモード)と
の切換えをマイクロコンピュータから出力される制御信
号或いはフェイルセーフ回路から出力される制御信号に
同期して行なうことにより、モード切換時に生じ易い制
御の不安定さをなくすものである。
[Detailed description of the invention] [Summary] Microcomputer operation mode (mode in which controlled equipment is controlled by control signals from the microcomputer)
and the fail-safe circuit operation mode (a mode in which the controlled equipment is controlled by the control signal from the fail-safe circuit) in synchronization with the control signal output from the microcomputer or the control signal output from the fail-safe circuit. This eliminates control instability that tends to occur when switching modes.

〔産業上の利用分野〕[Industrial application field]

本発明はマイクロコンピュータに異常が発生した場合、
マイクロコンピュータの代りに機器の制御を行なうフェ
イルセーフ回路を備えた制御装置に関するものである。
The present invention is designed to prevent abnormalities from occurring in the microcomputer.
The present invention relates to a control device equipped with a fail-safe circuit that controls equipment instead of a microcomputer.

〔従来の技術〕[Conventional technology]

近年、マイクロコンピュータは種々の分野で使用されて
おり、例えばカーエレクトロニクスの分野でも盛んに利
用されるようになってきている。
In recent years, microcomputers have been used in various fields, and are increasingly being used in the field of car electronics, for example.

ところで、カーエレクトロニクスの分野に於いては、燃
料噴射制御9点火時期制御等にマイクロコンピュータを
使用しているため、マイクロコンピュータに異常(プロ
グラム暴走等)が発生すると事故につながる惧れがある
。このようなことを防止するため、マイクロコンピュー
タの異常時に、般的に行なわれている。
By the way, in the field of car electronics, microcomputers are used for fuel injection control 9, ignition timing control, etc., so if an abnormality (program runaway, etc.) occurs in the microcomputer, there is a risk of an accident. To prevent this from happening, this is generally done when the microcomputer is in trouble.

第3図はフェイルセーフ回路を備えた従来の点火タイミ
ング制御装置の一例を示すブロック線図であり、31は
中央演算装置、メモリ、インターフェイス等からなるマ
イクロコンピュータ、32はエンジンのインテークマニ
ホールド圧を検出する圧力センサ、33はクランク軸が
所定角度回転する毎に回転角位置信号を出力するクラン
ク角センサ、34はマイクロコンピュータ31の異常を
検出する異常検出回路、35はフェイルセーフ回路、3
6はマルチプレクサ等からなる切換回路、37はバッフ
ァ、38は出力端子である。また、第4図(A)〜(E
)は第3図の動作説明図である。
FIG. 3 is a block diagram showing an example of a conventional ignition timing control device equipped with a fail-safe circuit, where 31 is a microcomputer consisting of a central processing unit, memory, interface, etc., and 32 detects the intake manifold pressure of the engine. 33 is a crank angle sensor that outputs a rotation angle position signal every time the crankshaft rotates by a predetermined angle; 34 is an abnormality detection circuit that detects an abnormality in the microcomputer 31; 35 is a fail-safe circuit;
6 is a switching circuit including a multiplexer, 37 is a buffer, and 38 is an output terminal. In addition, Fig. 4 (A) to (E
) is an explanatory diagram of the operation of FIG. 3.

マイクロコンピュータ31はその動作が正常である場合
は、圧力センサ32の検出結果等に基づいて点火進角を
決定し、この点火進角とクランク角センサ33からの回
転角位置信号とに基づいて点火制御信号Cを作成、出力
すると共に、一定周期Tのボンピング信号aを出力する
ものである。また、異常検出回路34はマイクロコンピ
ュータ31から加       7゜えられるボンピン
グ信号aの周期がTであるか否      八かに基づ
いて、マイクロコンピュータ31の動作が      
 1・′: 正常であるか否かを判断し、正常であると判断し   
    。
If the microcomputer 31 is operating normally, the microcomputer 31 determines the ignition advance angle based on the detection result of the pressure sensor 32, etc., and starts the ignition based on this ignition advance angle and the rotation angle position signal from the crank angle sensor 33. It creates and outputs a control signal C, and also outputs a bombing signal a with a constant period T. Further, the abnormality detection circuit 34 determines the operation of the microcomputer 31 based on whether the period of the bombing signal a applied from the microcomputer 31 is T or not.
1・′: Determine whether it is normal or not, and judge that it is normal.
.

′、 た場合はその出力信号すを“O”とし、異常であ   
   、すると判断した場合はその出力信号すを“1”
とするものである。また、フェイルセーフ回路35は予
め定められている基本点火進角とクランク角センサ33
からの回転角位置とに基づいて、マイクロコンピュータ
31に異常が生じた場合の最低限の点火動作を保障する
ための点火制御信号dを作成、出力するものである。ま
た、切換回路36は異常検出回路34の出力信号すが0
”の場合は、マイクロコンピュータ31からの点火制御
信号Cを出力し、信号すが1”の場合は、フェイルセー
フ回路35からの点火制御信号を出力するものである。
', if the output signal is "O", it is determined that there is
, if it is determined that the output signal is “1”
That is. In addition, the fail-safe circuit 35 includes a predetermined basic ignition advance angle and a crank angle sensor 33.
An ignition control signal d is created and outputted based on the rotation angle position from and to the ignition control signal d to ensure the minimum ignition operation in the event that an abnormality occurs in the microcomputer 31. The switching circuit 36 also outputs the output signal from the abnormality detection circuit 34 to 0.
If the signal is 1, the ignition control signal C from the microcomputer 31 is output, and if the signal is 1, the ignition control signal from the fail-safe circuit 35 is output.

今、例えば時刻t1に於いてマイクロコンピュータ31
に異常が発生し、時刻L3に於いてその動作が正常に戻
ったとすると、マイクロコンピュータ31から出力され
るボンピング信号aは第4図(A)に示すものとなる。
Now, for example, at time t1, the microcomputer 31
If an abnormality occurs in , and the operation returns to normal at time L3, the bombing signal a output from the microcomputer 31 will be as shown in FIG. 4(A).

異常検出回路34は同図(B)に示すように、ボンピン
グ信号aの周期が所定周期Tでなくなったことを検出す
ると(時刻t2)、その出力信号すを“1”とし、ボン
ピング信号aの周期が所定周期Tに戻ったことを検出す
ると(時刻t4)、その出力信号すを“O”とする。従
って、異常検出回路34でマイクロコンピュータ31の
動作が正常であると判断している時刻t2以前及び時刻
t4以後に於いてはマイクロコンピュータ31からの点
火制御信号Cが切換回路36.バッファMを介して図示
を省略した点火装置に加えられ、点火装置はマイクロコ
ンピュータ31か、らの点火制御信       4、
号Cに従った点火制御を行なうこととなり(マイクロコ
ンビエータ動作モードと称す)、また異常検出回路34
でマイクロコンピュータ31の動作が異常であると判断
している時刻t2〜時刻t4に於いてはフェイルセーフ
35からの点火制御信号dが切換回路36.バッファ3
7を介して点火装置に加えられ、点火装置はフェイルセ
ーフ回路35からの点火制御信号dに従った点火制御を
行なうことになる(フェイルセーフ回路動作モードと称
す)。即ち、マイクロコンピュータ31に異常がある場
合は、フェイルセーフ回路35からの点火制御信号dが
切換回路36.バッファ37.出力端子38を介して点
火装置に供給され、マイクロコンピュータ31に異常か
ある場合に於いても最低限の点火動作が保障されること
になる。
As shown in FIG. 3B, when the abnormality detection circuit 34 detects that the period of the bombing signal a is no longer the predetermined period T (time t2), it sets the output signal S to "1" and changes the period of the bombing signal a to "1". When detecting that the cycle has returned to the predetermined cycle T (time t4), the output signal S is set to "O". Therefore, before time t2 and after time t4 when the abnormality detection circuit 34 determines that the operation of the microcomputer 31 is normal, the ignition control signal C from the microcomputer 31 is transmitted to the switching circuit 36. The ignition device receives an ignition control signal from the microcomputer 31 through the buffer M, and the ignition device receives an ignition control signal from the microcomputer 31.
The ignition control is performed in accordance with No.
From time t2 to time t4, when it is determined that the operation of the microcomputer 31 is abnormal, the ignition control signal d from the failsafe 35 is switched to the switching circuit 36. buffer 3
7 to the ignition system, and the ignition system performs ignition control according to the ignition control signal d from the fail-safe circuit 35 (referred to as fail-safe circuit operation mode). That is, if there is an abnormality in the microcomputer 31, the ignition control signal d from the fail-safe circuit 35 is transferred to the switching circuit 36. Buffer 37. The signal is supplied to the ignition device via the output terminal 38, and even if there is an abnormality in the microcomputer 31, the minimum ignition operation is guaranteed.

しかし、上述した従来例は、異常検出回路34でマイク
ロコンピュータ31に異常が発生したことを検出したタ
イミング及び異常検出回路34でマイクロコンピュータ
31が正常に戻ったことを検出したタイミングで切換回
路36の切換を行なっていたため、次のような問題があ
った。
However, in the conventional example described above, the switching circuit 36 is activated at the timing when the abnormality detection circuit 34 detects that an abnormality has occurred in the microcomputer 31 and at the timing when the abnormality detection circuit 34 detects that the microcomputer 31 has returned to normal. Due to the switching, the following problems occurred.

今、例えば、異常検出回路34の出力信号すが第4図(
B)に示すように変化し、また、マイクロコンピュータ
31及びフェイルセーフ回路35から出力される点火制
御信号c、  dがそれぞれ同図(C)、(D)に示す
ものであるとすると、切換回路36を介して点火装置に
供°給される点火制御信号eは同図(E)に示すものと
なる。従って、点火制御信号eの立下りで点火が行なわ
れるとすると、フェイルセーフ回路動作モードからマイ
クロコンピュータ動作モードへの移行時、時刻t4に於
いて点火が行なわれることとなる。この点火タイミング
は同図(D)、  (E)を比較して判るように、フェ
イルセーフ回路動作モードに於ける点火タイミングとは
異なるものである。従って、時刻t4に於いて点火を行
なったとすると、エンジンストール等の不都合が生じる
ことがある。また、点火制御信号eの立上りに於いて点
火が行なわれるとすると、マイクロコンピュータ動作モ
ードからフェイルセーフ回路動作モードへの移行時、時
刻t2に於いて点火が行なわれることになり、この場合
に於いても前述したと同様な不都合が生じる慣れがある
問題があった。
Now, for example, the output signal of the abnormality detection circuit 34 is shown in FIG.
B), and if the ignition control signals c and d output from the microcomputer 31 and the fail-safe circuit 35 are as shown in (C) and (D), respectively, then the switching circuit The ignition control signal e supplied to the ignition device via 36 is as shown in FIG. Therefore, assuming that ignition is performed at the fall of the ignition control signal e, ignition will be performed at time t4 when the fail-safe circuit operation mode is transferred to the microcomputer operation mode. This ignition timing is different from the ignition timing in the fail-safe circuit operation mode, as can be seen by comparing Figures (D) and (E). Therefore, if ignition is performed at time t4, problems such as engine stall may occur. Further, if ignition is performed at the rising edge of the ignition control signal e, ignition will be performed at time t2 when transitioning from the microcomputer operation mode to the fail-safe circuit operation mode, and in this case, However, there is a problem in which the same inconvenience as mentioned above occurs.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は前述の如き問題点を解決したものであり、その
目的はマイクロコンピュータ動作モードからフェイルセ
ーフ回路動作モードへの移行時及びフェイルセーフ回路
動作モードからマイクロコンピュータ動作モードへの移
行時の制御の安定化を図ることにある。
The present invention solves the above-mentioned problems, and its purpose is to control the control at the time of transition from the microcomputer operation mode to the fail-safe circuit operation mode and from the fail-safe circuit operation mode to the microcomputer operation mode. The aim is to stabilize the situation.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は前述の如き問題点を解決するため、被制御機器
に対する制御信号を出力するマイクロコンピュータと、
前記被制御機器の最低限の動作を保障する制御信号を出
力するフェイルセーフ回路と、前記マイクロコンピュー
タに異常が発生したか否かを判断する判断手段と、該判
断手段の判断結果に基づいて前記マイクロコンピュータ
から出力される制御信号或いは前記フェイルセーフ回路
から出力される制御信号の内の何れか一方を前記被制御
機器に供給する切換手段とを備えたフェイルセーフ回路
付き制御装置に於いて、前記切換手段を前記判断手段の
判断結果と前記マイクロコンピュータから出力される制
御信号と前記フェイルセーフ回路から出力される制御信
号とに基づいて、前記マイクロコンピュータから出力さ
れる制御信号或いは前記フェイルセーフ回路から出力さ
れる制御信号に同期して、前記マイクロコンピュータか
らの制御信号と前記フェイルセーフ回路からの制御信号
との切換を行なうように構成したものである。
In order to solve the above-mentioned problems, the present invention includes a microcomputer that outputs a control signal to a controlled device;
a fail-safe circuit that outputs a control signal that guarantees a minimum operation of the controlled device; a determining means that determines whether or not an abnormality has occurred in the microcomputer; In the control device with a fail-safe circuit, the control device includes a switching means for supplying either a control signal output from the microcomputer or a control signal output from the fail-safe circuit to the controlled device. The switching means is configured to switch between a control signal outputted from the microcomputer or a control signal outputted from the failsafe circuit based on the determination result of the determination means, the control signal outputted from the microcomputer, and the control signal outputted from the failsafe circuit. The control signal is configured to switch between the control signal from the microcomputer and the control signal from the fail-safe circuit in synchronization with the output control signal.

〔作 用〕[For production]

マイクロコンピュータ動作モードからフェイルセーフ回
路動作モードへの移行或いはフェイルセーフ回路動作モ
ードからマイクロコンピュータ動作モードへの移行がマ
イクロコンピュータから出力される制御信号或いはフェ
イルセーフ回路から出力される制御信号マイクロコンピ
ュータから出力される制御信号に同期して行なわれるも
のであるから、モード切換時の制御の不安定さをなくす
ことができる。
The transition from the microcomputer operation mode to the fail-safe circuit operation mode or the transition from the fail-safe circuit operation mode to the microcomputer operation mode is caused by a control signal output from the microcomputer or a control signal output from the fail-safe circuit. Since this is carried out in synchronization with the control signal that is sent, instability in the control at the time of mode switching can be eliminated.

〔実施例〕〔Example〕

第1図は本発明の実施例のブロック線図であり、点火タ
イミング制御装置に本発明を通用した場合についてのも
のである。同図に於いて、1はマイクロコンピュータ、
2はエンジンのインテークマニホールド圧を検出する圧
力センサ、3はクランク軸が所定角度回転する毎に回転
角位置信号を出力するクランク角センサ、4は異常検出
回路、5はフェイルセーフ回路、6は切換回路、7はバ
ソファ、8は出力端子、FFl−FF3はフリップフロ
ップ、INはインパーク、ANDI、 AND2はアン
ドゲート、ORはオアゲートである。尚、フリップフロ
ップFFi〜FF3はクロック端子CLKに加えられる
信号の立上りに於いてD端子入力をラッチ、出力するも
のである。また、フリップフロップFF3はリセット端
子Rに加えられる信号の立下りに於いてリセットされ、
そのQ端子出力lをO“とするものである。
FIG. 1 is a block diagram of an embodiment of the present invention, in which the present invention is applied to an ignition timing control device. In the figure, 1 is a microcomputer;
2 is a pressure sensor that detects the intake manifold pressure of the engine, 3 is a crank angle sensor that outputs a rotation angle position signal every time the crankshaft rotates by a predetermined angle, 4 is an abnormality detection circuit, 5 is a fail-safe circuit, and 6 is a switching circuit. In the circuit, 7 is a bath sofa, 8 is an output terminal, FFl-FF3 are flip-flops, IN is an impark, ANDI, AND2 is an AND gate, and OR is an OR gate. The flip-flops FFi to FF3 latch and output the D terminal input at the rising edge of the signal applied to the clock terminal CLK. Furthermore, the flip-flop FF3 is reset at the falling edge of the signal applied to the reset terminal R.
The Q terminal output l is set to O''.

また、第2図(A)〜(H)は第1図の動作説明図であ
り、以下同図(A)〜(H)を参照して第1図の動作を
説明する。
Further, FIGS. 2(A) to 2(H) are explanatory diagrams of the operation of FIG. 1, and the operation of FIG. 1 will be described below with reference to FIGS. 2(A) to 2(H).

マイクロコンピュータ1はその動作が正常である場合は
、圧力センサ2の検出結果に基づいて点火進角を決定し
、この点火進角とクランク角センサ3からの回転角位置
信号とに基づいて点火制御信号りを作成、出力すると共
に、所定周期Tのポンピング信号fを出力するものであ
る。また、異常検出回路4はマイクロコンピュータ1か
らのポンピング信号fの周期がTであるか否かに基づい
て、マイクロコンピュータ1の動作が正常であるか否か
を判断し、正常であると判断した場合は、その出力信号
gを“0”とし、異常であると判断した場合はその出力
信号gを“1”とするものである。また、フェイルセー
フ回路5は予め定められている基本点火進角とクランク
角センサ3からの回転角位置信号とに基づいて、マイク
ロコンピュータ1に異常が生じた場合の最低限の点火動
作を保障するための点火制御信号iを作成、出力するも
のである。また、切換回路6はフリップフロップFF3
の出力信号lが“O”の場合はマイクロコンピュータ1
からの点火制御信号りをバッファ7に加え、信号Eが1
′の場合はフェイルセーフ回路5からの点火制御信号i
をバッファ7に加えるものである。
If the operation is normal, the microcomputer 1 determines the ignition advance angle based on the detection result of the pressure sensor 2, and controls the ignition based on this ignition advance angle and the rotation angle position signal from the crank angle sensor 3. In addition to creating and outputting a signal, it also outputs a pumping signal f with a predetermined period T. Further, the abnormality detection circuit 4 determines whether or not the operation of the microcomputer 1 is normal based on whether the period of the pumping signal f from the microcomputer 1 is T, and determines that the operation is normal. In this case, the output signal g is set to "0", and when it is determined that there is an abnormality, the output signal g is set to "1". Furthermore, the fail-safe circuit 5 guarantees the minimum ignition operation in the event that an abnormality occurs in the microcomputer 1 based on the predetermined basic ignition advance angle and the rotation angle position signal from the crank angle sensor 3. The ignition control signal i is created and outputted. Moreover, the switching circuit 6 is a flip-flop FF3.
If the output signal l of is “O”, the microcomputer 1
The ignition control signal from
', the ignition control signal i from the fail-safe circuit 5
is added to buffer 7.

今、例えば時刻t1に於いてマイクロコンピュータ1に
異常が発生し、時刻t4に於いてマイクロコンピュータ
1の動作が正常に戻ったとすると、マイクロコンピュー
タ1から出力されるポンピング信号fは第2図(A )
%すものとなり、異常検出回路4の出力信号gは同図(
B、)に示すものとなる。ここで、フリップフロップF
FIは前述したように、クロック端子CLKに加えられ
る信号の立上りに於いてD端子入力をラッチ、出力する
ものであり、フェイルセーフ回路5からの同図(C)に
示す点火制御信号iがクロック端子CLKに加えられ、
異常検出回路4からの同図(B)に示す信号gがD端子
に加えられているものであるから、その出力信号には同
図(F)に示すように、時刻t3に於いて′1”となり
、時刻t8に於いて“0”となる。
For example, if an abnormality occurs in the microcomputer 1 at time t1 and the operation of the microcomputer 1 returns to normal at time t4, the pumping signal f output from the microcomputer 1 will be )
%, and the output signal g of the abnormality detection circuit 4 is as shown in the figure (
B,) will be shown. Here, the flip-flop F
As mentioned above, the FI latches and outputs the D terminal input at the rising edge of the signal applied to the clock terminal CLK, and the ignition control signal i shown in FIG. added to terminal CLK,
Since the signal g shown in the figure (B) from the abnormality detection circuit 4 is applied to the D terminal, the output signal has '1' at time t3 as shown in the figure (F). ”, and becomes “0” at time t8.

そして、時刻t3に於いてフリップフロップFPIの出
力信号kが立ち上がると、フリップフロップFP3の出
力信号lが同図(G)に示すように時刻L3に於いて“
1”となり、切換回路6内のアンドゲート八MDIがオ
フ状態、アンドゲートへND2力くオン状態となる。こ
れにより、フェイルセーフ回路5から出力される点火制
御信号iが切換回路6.バッファ7、出力端子8を介し
て図示を省略して点火装置に供給されることになる。而
、時刻t3以前に於いてはフリップフロップFF3の出
力信号lが“0”であり、アンドゲートANDIがオン
状態、アンドゲートAND2がオフ状態であるから、マ
イクロコンピュータ−からの点火制御信号りが切換回路
6、バフファ7.出力端子8を介して点火装置に供給さ
れることになる。このように、本実施例では、マイクロ
コンピュータ動作モードからフェイルセーフ回路動作モ
ードへの移行は、フェイルセーフ回路5から出力される
点火制御信号iの立上      −;(・影 りに於いて、即ち点火制御信号iに同期して行な   
   、ii’1 われることになる。                
     ゛・・、51 1、。
Then, when the output signal k of the flip-flop FPI rises at time t3, the output signal l of the flip-flop FP3 rises at time L3 as shown in FIG.
1'', the AND gate 8MDI in the switching circuit 6 is turned off, and the AND gate ND2 is turned on.As a result, the ignition control signal i output from the fail-safe circuit 5 is transferred to the switching circuit 6.buffer 7. , is supplied to the ignition device via the output terminal 8 (not shown).Before time t3, the output signal l of the flip-flop FF3 is "0", and the AND gate ANDI is turned on. Since the AND gate AND2 is in the OFF state, the ignition control signal from the microcomputer is supplied to the ignition system via the switching circuit 6, the buffer 7, and the output terminal 8. In the embodiment, the transition from the microcomputer operation mode to the fail-safe circuit operation mode is made by the rise of the ignition control signal i output from the fail-safe circuit 5. Do it in sync
, ii'1.
゛..., 51 1,.

また、マイクロコンピュータ−からの点火制御    
  、。
In addition, ignition control from a microcomputer
,.

信号fがクロック端子CLKに加えられ、異常検出  
    ゛パ回路4の出力信号gがD端子に加えられて
いるフリップフロップPP2は、前述したようにクロッ
ク端子CLKに加えられる信号の立上りに於いて、D 
      ;、H,:端子入力をラッチ、出力するの
であるから、その       ′; 出力信号jは同図(E)に示すように、時刻t5に  
     、、。
Signal f is applied to clock terminal CLK and abnormality is detected.
The flip-flop PP2, to which the output signal g of the buffer circuit 4 is applied to the D terminal, receives the D signal at the rising edge of the signal applied to the clock terminal CLK, as described above.
;, H,: Since the terminal input is latched and output, the output signal j is output at time t5 as shown in (E) in the same figure.
,,.

於いて”1”となり、時刻t7に於いて0”となる。従
って、リセット端子Rに加えられる信号の      
 □;立下りに於いてリセットされるフリップフロップ
FP3の出力信号lは同図(G)に示すように、時刻t
7に於いて0″となる。従って、時刻t7に於いて切換
回路6内のアンドゲートANDIがオン状態。
It becomes "1" at time t7, and becomes "0" at time t7. Therefore, the signal applied to the reset terminal R
□; The output signal l of the flip-flop FP3, which is reset at the falling edge of
Therefore, at time t7, the AND gate ANDI in the switching circuit 6 is in the ON state.

アンドゲートAND2がオフ状態となり、マイクロコン
ピュータ1からの点火制御信号りが切換回路6゜バッフ
ァ7、出力端子8を介して点火装置に供給される。この
ように、本実施例ではフェイルセーフ回路動作モードか
らマイクロコンピュータ動作モードへの移行は、マイク
ロコンピュータ1からる。
The AND gate AND2 is turned off, and the ignition control signal from the microcomputer 1 is supplied to the ignition device via the switching circuit 6, the buffer 7, and the output terminal 8. In this way, in this embodiment, the transition from the fail-safe circuit operation mode to the microcomputer operation mode starts from the microcomputer 1.

このように、本実施例は、マイクロコンピュータ動作モ
ードからフェイルセーフ回路動作モードへの移行をフェ
イルセーフ回路5から出力される点火制御信号iに同期
して行ない、フェイルセーフ回路動作モードからマイク
ロコンピュータ動作%−F’への移行をマイクロコンピ
ュータlから出力される点火制御信号りに同期して行な
うものであるから、切換回路6から出力される点火制御
信号mは第2図(H)に示すように、モード切換時に於
いても、マイクロコンピュータ1から出力される点火制
御信号り或いはフェイルセーフ回路5から出力される点
火制御信号lと同一タイミングのものとなる。従って、
本実施例によれば、モード切換時に、従来例のように制
御が不安定になることはない。
In this way, in this embodiment, the transition from the microcomputer operation mode to the fail-safe circuit operation mode is performed in synchronization with the ignition control signal i output from the fail-safe circuit 5, and the transition from the fail-safe circuit operation mode to the microcomputer operation mode is performed in synchronization with the ignition control signal i output from the fail-safe circuit 5. Since the transition to %-F' is performed in synchronization with the ignition control signal output from the microcomputer l, the ignition control signal m output from the switching circuit 6 is as shown in FIG. 2 (H). Furthermore, even during mode switching, the timing is the same as that of the ignition control signal output from the microcomputer 1 or the ignition control signal l output from the fail-safe circuit 5. Therefore,
According to this embodiment, control does not become unstable when switching modes unlike the conventional example.

尚、上述した実施例は本発明を点火タイミング制御装置
に通用した場合について説明したが、これに限られるも
のではなく、マイクロコンピュータとフェイルセーフ回
路とを備えた装置であれば、その種類の如何に拘わらず
通用できるものである。
Although the above-mentioned embodiment describes the case where the present invention is applied to an ignition timing control device, the present invention is not limited to this, and any type of device can be applied as long as it is equipped with a microcomputer and a fail-safe circuit. It can be applied regardless.

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

以上説明したように本発明は、被制御機器(実施例に於
いては点火装置)に対する制御信号を出力するマイクロ
コンピュータと、前記被制御機器の最低限の動作を保障
する制御信号を出力するフェイルセーフ回路と、前記マ
イクロコンピュータに異常が発生したか否かを判断する
判断手段(実施例に於いては異常検出装置4)と、該判
断手段の判断結果に基づいて前記マイクロコンピュータ
から出力される制御信号或いは前記フェイルセーフ回路
から出力される制御信号の内の何れか一方を前記被制御
機器に供給する切換手段(実施例に於いては切換回路6
)とを備えたフェイルセーフ回路付き制御装置に於いて
、前記切換手段を前記判断手段の判断結果と前記マイク
ロコンピュータから出力される制御信号と前記フェイル
セーフ回路から出力される制御信号とに基づいて、前記
マイクロコンピュータから出力される制御信号或いは前
記フェイルセーフ回路から出力される制御信号に同期し
て、前記マイクロコンピュータからの制御信号と前記フ
ェイルセーフ回路からの制御信号との切換を行なうよう
に構成したものであるから、モード切換時に生じやすか
った制御の不安定さをなくすことができる利点がある。
As explained above, the present invention includes a microcomputer that outputs a control signal for a controlled device (in the embodiment, an ignition device), and a fail-safe controller that outputs a control signal that ensures the minimum operation of the controlled device. a safe circuit, a determining means (abnormality detection device 4 in the embodiment) for determining whether or not an abnormality has occurred in the microcomputer, and an output from the microcomputer based on the determination result of the determining means. A switching means (switching circuit 6 in the embodiment) for supplying either the control signal or the control signal output from the fail-safe circuit to the controlled device.
), wherein the switching means is controlled based on the judgment result of the judgment means, the control signal output from the microcomputer, and the control signal output from the fail-safe circuit. , configured to switch between the control signal from the microcomputer and the control signal from the fail-safe circuit in synchronization with the control signal output from the microcomputer or the control signal output from the fail-safe circuit. This has the advantage of eliminating control instability that tends to occur when switching modes.

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

第1図は本発明の時のブロック線図、第2図は第1図の
動作説明図、第3図は従来例のブロック線図、第4図は
第3図の動作説明図である91.31はマイクロコンピ
ュータ、2,32は圧力センサ、3,33はクランク角
センサ、4.34は暎市検出回路、5,35はフェイル
セーフ回路、6゜36は切換回路、7.37はバッファ
、8.38は出力端子、FPI〜FP3はフリップフロ
ップ、INはインバータ、ANDI 、 AND2はア
ンドゲート、ORはオアゲートである。 特許出願人 富士通テン株式会社 代理人弁理士玉蟲久五部(外1名) 従来例のブロック線図 第 3 図 第3図の動作説明図 第4 図
91. FIG. 1 is a block diagram of the present invention, FIG. 2 is an explanatory diagram of the operation of FIG. 1, FIG. 3 is a block diagram of the conventional example, and FIG. 4 is an explanatory diagram of the operation of FIG. 3. .31 is a microcomputer, 2 and 32 are pressure sensors, 3 and 33 are crank angle sensors, 4.34 is a detection circuit, 5 and 35 are fail-safe circuits, 6°36 is a switching circuit, and 7.37 is a buffer. , 8.38 are output terminals, FPI to FP3 are flip-flops, IN is an inverter, ANDI and AND2 are AND gates, and OR is an OR gate. Patent applicant Fujitsu Ten Ltd. Representative Patent Attorney Gobe Tamamushi (one other person) Block diagram of conventional example Figure 3 Diagram explaining the operation of Figure 3 Figure 4

Claims (1)

【特許請求の範囲】  被制御機器に対する制御信号を出力するマイクロコン
ピュータと、 前記被制御機器の最低限の動作を保障する制御信号を出
力するフェイルセーフ回路と、 前記マイクロコンピュータに異常が発生したか否かを判
断する判断手段と、 該判断手段の判断結果に基づいて前記マイクロコンピュ
ータから出力される制御信号或いは前記フェイルセーフ
回路から出力される制御信号の内の何れか一方を前記被
制御機器に供給する切換手段とを備えたフェイルセーフ
回路付き制御装置に於いて、 前記切換手段は前記判断手段の判断結果と前記マイクロ
コンピュータから出力される制御信号と前記フェイルセ
ーフ回路から出力される制御信号とに基づいて、前記マ
イクロコンピュータから出力される制御信号或いは前記
フェイルセーフ回路から出力される制御信号に同期して
、前記マイクロコンピュータからの制御信号と前記フェ
イルセーフ回路からの制御信号との切換えを行なうこと
を特徴とするフェイルセーフ回路付き制御装置。
[Scope of Claims] A microcomputer that outputs a control signal to a controlled device; a fail-safe circuit that outputs a control signal that ensures minimum operation of the controlled device; and whether an abnormality has occurred in the microcomputer. a determining means for determining whether or not the device is in use; In the control device with a fail-safe circuit, the switching means outputs a judgment result of the judging means, a control signal output from the microcomputer, and a control signal output from the fail-safe circuit. Based on this, switching between the control signal from the microcomputer and the control signal from the fail-safe circuit is performed in synchronization with the control signal output from the microcomputer or the control signal output from the fail-safe circuit. A control device with a fail-safe circuit characterized by:
JP60142200A 1985-06-28 1985-06-28 Controller with fail-safe circuit Pending JPS623346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60142200A JPS623346A (en) 1985-06-28 1985-06-28 Controller with fail-safe circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60142200A JPS623346A (en) 1985-06-28 1985-06-28 Controller with fail-safe circuit

Publications (1)

Publication Number Publication Date
JPS623346A true JPS623346A (en) 1987-01-09

Family

ID=15309717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60142200A Pending JPS623346A (en) 1985-06-28 1985-06-28 Controller with fail-safe circuit

Country Status (1)

Country Link
JP (1) JPS623346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435484U (en) * 1987-08-25 1989-03-03
JPH06215279A (en) * 1993-10-19 1994-08-05 Hochiki Corp Fire sensor including cpu

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435484U (en) * 1987-08-25 1989-03-03
JPH06215279A (en) * 1993-10-19 1994-08-05 Hochiki Corp Fire sensor including cpu

Similar Documents

Publication Publication Date Title
GB2072883A (en) Automatic control of ic engines
JP2593915B2 (en) Double microcomputer system runaway prevention circuit
JPS623346A (en) Controller with fail-safe circuit
US4656634A (en) Skew insensitive fault detect and signal routing device
JP2998804B2 (en) Multi-microprocessor system
KR100294523B1 (en) Microcomputer
JPS6362776B2 (en)
JPS603755A (en) Output port circuit
JP3081234B2 (en) How to check CPU board
JP3006330B2 (en) Clock collision detection circuit of data processing device
JPS6118046A (en) Microcomputer
JPS61281342A (en) Runaway preventing device for program
JPH06250864A (en) Method for preventing generation of error output from programmable controller
JPS59114621A (en) Input/output circuit of microcomputer
JPH09212201A (en) Control circuit for production facility
JPH1020968A (en) Selective hardware resetting circuit
JPH0460846A (en) Fault tolerant computer
JPH10307601A (en) Output control circuit for cpu
JPH0721050A (en) Complete clock synchronous duplex circuit
JPH0498326A (en) Microprocessor
JPS61145617A (en) Power supply disconnection circuit
JPH01191951A (en) Runaway monitor circuit for microcomputer
KR19990008906U (en) Watchdog timer output control
JPH0378846A (en) Miswrite preventing circuit for memory
JPH04178839A (en) Microprocessor