JPH0689709B2 - Engine controller - Google Patents

Engine controller

Info

Publication number
JPH0689709B2
JPH0689709B2 JP16798585A JP16798585A JPH0689709B2 JP H0689709 B2 JPH0689709 B2 JP H0689709B2 JP 16798585 A JP16798585 A JP 16798585A JP 16798585 A JP16798585 A JP 16798585A JP H0689709 B2 JPH0689709 B2 JP H0689709B2
Authority
JP
Japan
Prior art keywords
period
circuit
signal
output
runaway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP16798585A
Other languages
Japanese (ja)
Other versions
JPS6227801A (en
Inventor
達夫 横山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP16798585A priority Critical patent/JPH0689709B2/en
Publication of JPS6227801A publication Critical patent/JPS6227801A/en
Publication of JPH0689709B2 publication Critical patent/JPH0689709B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は制御用マイクロコンピュータを内蔵したエンジ
ン制御装置に関し、特に制御用マイクロコンピュータの
出力がリセットにより無効となる期間は外付けのバック
アップ回路の出力を被制御機器に送出するようにしたエ
ンジン制御装置に関する。
Description: TECHNICAL FIELD The present invention relates to an engine control device having a control microcomputer incorporated therein, and particularly to a backup circuit of an external circuit during a period in which the output of the control microcomputer is invalidated by a reset. The present invention relates to an engine control device that outputs an output to a controlled device.

一般に車両のエンジン制御装置BCUは、例えば第13図に
示すように、メモリ等を含む制御用のマイクロコンピュ
ータ(MPU)10と、内燃機関2,変速機3を駆動する変速
装置4等の被制御機器の状態を検出するセンサやスイッ
チ5の出力をA/D変換すA/D変換器11と、それらの出力の
レベルを変換するレベル変換器12と、イグニッションス
イッチ6を経由してバッテリ7から供給される例えば12
Vの電源Vを例えば5Vの定電圧に変換する電源回路13
と、MPU10にリセットをかけるリセット回路14と、リセ
ット回路14からのリセット信号に基づきMPU10の出力と
内部で発生したバックアップ信号との何れか一方を出力
する出力制御論理回路15と、出力制御論理回路15の出力
を増幅等して内燃機関2の燃料(或いは空気量)調量,
点火進角,スロットル開度等を調節する為の制御信号
や、変速装置4の駆動信号を発生する駆動回路16を含ん
でいる。
In general, an engine control unit BCU of a vehicle includes a control microcomputer (MPU) 10 including a memory and a controlled device such as a transmission 4 for driving an internal combustion engine 2 and a transmission 3 as shown in FIG. From the battery 7 through the A / D converter 11 for A / D converting the output of the sensor or switch 5 for detecting the state of the device, the level converter 12 for converting the level of those outputs, and the ignition switch 6. Supplied for example 12
Power supply circuit 13 for converting the power supply V B of V into a constant voltage of 5 V, for example
A reset circuit 14 for resetting the MPU 10, an output control logic circuit 15 for outputting one of the output of the MPU 10 and an internally generated backup signal based on the reset signal from the reset circuit 14, and an output control logic circuit. Amplifying the output of 15 to adjust the fuel (or air amount) of the internal combustion engine 2,
It includes a drive circuit 16 for generating a control signal for adjusting the ignition advance angle, the throttle opening, etc., and a drive signal for the transmission 4.

上記構成のうち、リセット回路14は、MPU10にリセット
をかける為のリセット信号VRSTを発生するものであ
り、次のような動作を行なう。
In the above configuration, the reset circuit 14 generates a reset signal V RST for resetting the MPU 10, and performs the following operation.

パワーONリセット 一般にマイクロコンピュータは、電源投入と共に、発振
回路作動→プログラムカウンタ作動→初期設定(例えば
全てのポートをハイインピーダンス状態にする等)→外
部回路によるリセット→プログラム始動の順序で動作す
るが、時間制御に関わるプログラムは電源投入直後の発
振回路出力(クロック周期)が不安定な時は精度確保の
ために安定するまで待機して実行される。その為に、リ
セット回路14のパワーオン検出部14aは、例えば第14図
(a)に示すように電源回路13からMPU10に動作電圧V
CCが供給された時点から普通数十msec〜百数十msec程度
の遅れ時間TRSTの後にリセット信号VRSTをロウレベル
からハイレベルにする。
Power-on reset Generally, the microcomputer operates in the order of oscillating circuit operation → program counter operation → initial setting (for example, setting all ports to a high impedance state) → external circuit reset → program start when power is turned on. When the oscillation circuit output (clock cycle) immediately after the power is turned on is unstable, the program related to time control is executed by waiting until it stabilizes to ensure accuracy. Therefore, the power-on detection unit 14a of the reset circuit 14 operates from the power supply circuit 13 to the MPU 10 as shown in FIG.
The reset signal V RST is changed from the low level to the high level after a delay time T RST of about several tens msec to one hundred and several tens msec from the time when CC is supplied.

電源異常リセット マイクロコンピュータの作動電圧は、5V±5%或いは5V
±10%が一般的であるため、エンジン制御装置EUCは前
述したようにバッテリ電圧Vから5Vの定電圧VCCを得
ている。ところが、Vラインはワイヤハーネスのコネ
クタ端子部でのカシメ不良や接触不良で瞬断したり、ス
タータなどの誘導性負荷による負サージや正サージが重
畳したり、低温クランキング時にはVが低下したりす
るため、5Vの定電圧化が難しくなる(正サージ等の過電
圧印加時は電源回路13の電力負荷が大きくなるため、V
CCラインへの電源供給を停止して耐性をもたせるためV
CCは結局低下する)このようなとき、VCCは変動する
が、MPU10のリセット端子の電位がリセット検出レベル
近傍で不安定であるとMPU10が暴走したり、記憶内容が
書き換えられたりするため、VCCが安定するまでリセッ
ト回路14はMPU10にリセットをかける。即ち、リセット
回路14内の低電圧検出部14bは、負サージや瞬断によっ
てVCCが例えば第14図(b),(c)に示すように低電
圧検知レベルl1以下に低下すると、その間T1,T2(数mse
c〜数十msec)だけリセット信号VRSTをロウレベルと
し、また過電圧検出部14cは正サージによってVが例
えば第14図(d)に示すように過電圧検知レベルl2を越
えると、その間T3だけリセット信号VRSTをロウレベル
とする。
Power supply abnormal reset Operating voltage of microcomputer is 5V ± 5% or 5V
Since ± 10% is common, the engine control unit EUC obtains a constant voltage V CC of 5V from the battery voltage V B as described above. However, V B line or interruption caulking failure or contact failure in the connector terminal portion of the wire harness, or negative surges and positive surge superimposed by the inductive load such as the starter, drop V B at low temperatures cranking Therefore, it becomes difficult to make a constant voltage of 5 V (when an overvoltage such as a positive surge is applied, the power load of the power supply circuit 13 becomes large,
V to stop the power supply to the CC line and provide resistance
At this time, V CC fluctuates, but if the potential of the reset terminal of the MPU 10 is unstable near the reset detection level, the MPU 10 will run away or the stored contents will be rewritten. Reset circuit 14 resets MPU 10 until V CC stabilizes. That is, the low voltage detector 14b of the reset circuit 14, V CC, for example, FIG. 14 by a negative surge or short break (b), when lowered so l to 1 below the undervoltage detection level (c), the during T 1 , T 2 (several mse
c~ to several tens msec) by the reset signal V RST to the low level, and the overvoltage detection unit 14c exceeds the overvoltage detection level l 2, as shown in FIG. 14 is V B by the positive surge example (d), while T 3 Only the reset signal V RST is set to the low level.

暴走リセット 電源投入時のV,VCCの立上がり、Vの変動時、或い
は外来の電磁波やノイズの混入により、MPU10が本来の
プログラム領域から外れてしまったり、プログラムの一
部から抜け出られなくなったり、或いはリセット信号の
検出が可能になった場合、マイクロコンピュータが暴走
したと呼ぶ。これを防止するために、メインルーチンの
少なくとも1個所にて出力パルスを発生させる処理を設
け、リセット回路14の暴走検出部14dによってその出力
パルスの周期が予め設定された周期より長いことが検出
されたとき、リセット信号を数msec間ロウレベルにして
マイクロコンピュータにリセットをかけ、プログラムを
初期化することが行なわれる。この場合、暴走が解消さ
れないと、暴走検出部14dは再びリセット信号をロウレ
ベルとするので、暴走時のリセット信号VRSTは例えば
第14図(e)に示すようにパルス幅T,T(数msec)
の発振波形となる。
V B at the time of runaway reset the power is turned on, the rise of the V CC, the time variation of the V B, or by the incorporation of exogenous electromagnetic waves or noise, MPU10 is or come off from the original program area, no longer be exited from the part of the program If the reset signal can be detected, the microcomputer is said to have runaway. In order to prevent this, at least one part of the main routine is provided with a process for generating an output pulse, and the runaway detector 14d of the reset circuit 14 detects that the period of the output pulse is longer than a preset period. At this time, the reset signal is set to the low level for a few msec to reset the microcomputer to initialize the program. In this case, if the runaway is not resolved, the runaway detection unit 14d sets the reset signal to the low level again, so that the reset signal V RST at the time of the runaway has pulse widths T L , T H (such as shown in FIG. 14E). (Msec)
Oscillation waveform.

このように、エンジン制御装置ECUにおけるMPU10は、各
種の場合にリセットがかけられるが、リセットがかけら
れている間MPU10は本来の制御を行なっておらず、従っ
て、その出力を実際の制御に使用することはできない。
In this way, the MPU10 in the engine control unit ECU is reset in various cases, but the MPU10 is not performing the original control while the reset is being applied, and therefore its output is used for actual control. You cannot do it.

そこで、第1図に示したように、MPU10が制御不能の間
においても被制御機器の制御が一様可能となるように、
リセットの間、MPU10の出力に代えてハードウェアによ
って構成されたバックアップ回路の出力を被制御機器に
出力する出力制御論理回路15が設けられている。
Therefore, as shown in FIG. 1, even when the MPU 10 is out of control, the controlled device can be controlled uniformly.
An output control logic circuit 15 that outputs the output of the backup circuit configured by hardware instead of the output of the MPU 10 to the controlled device during the reset is provided.

〔従来の技術〕[Conventional technology]

第15図は従来の出力制御論理回路15のブロック図であ
り、リセット信号VRSTとVCCのレベル状態を監視し、
例えば第16図に示すようにリセット信号がロウレベルに
なると直ちにレベルがロウレベルとなり、リセット信号
がハイレベルとなると時間Tの遅れ時間の後にレベル
がハイレベルとなるようなバックアップ期間信号V
BP(ロウレベルの期間はTBP)を生成するバックアップ
期間信号発生回路20と、MPU10の出力Mに代わる出力を
発生するバックアップ回路21と、バックアップ期間信号
BPがハイレベルのときはMPU10の出力Mを第13図の駆
動回路16に出力し、ロウレベルのときはバックアップ回
路21の出力を駆動回路16に出力するゲート22とから構成
されている。ここで、第16図(a)の時間Tは、第14
図(e)のリセット信号VRSTがハイレベルとなる時間
より大きく設定されており、暴走時はバックアップ
回路21の出力が継続して駆動回路16に出力されるように
構成されている。
FIG. 15 is a block diagram of a conventional output control logic circuit 15, which monitors the level states of reset signals V RST and V CC ,
For example, as shown in FIG. 16, the backup period signal V is set such that the level immediately becomes low level when the reset signal becomes low level, and the level becomes high level after the delay time of T D when the reset signal becomes high level.
A backup period signal generation circuit 20 for generating BP (T BP during the low level period), a backup circuit 21 for generating an output in place of the output M of the MPU 10, and an output M of the MPU 10 when the backup period signal V BP is at the high level. Is output to the drive circuit 16 in FIG. 13, and the gate 22 outputs the output of the backup circuit 21 to the drive circuit 16 when it is at a low level. Here, the time T D in FIG.
The reset signal V RST in FIG. 7E is set to be larger than the time T H during which the reset signal V RST is at a high level, and the output of the backup circuit 21 is continuously output to the drive circuit 16 during a runaway.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

このように従来の出力制御論理回路15は、リセット信号
RSTがロウレベルとなる毎に一定時間だけ1種類の期
間信号VBPを発生し、この期間信号によりMPU10の出力
に代えてバックアップ回路21の出力を実際の制御に供給
している。従って、バックアップ回路21の出力としては
1種類のものしか採用し得ず、最悪の事態である暴走時
における退避走行制御用に設定されるのが普通である。
In this way, the conventional output control logic circuit 15 generates one type of period signal V BP for a fixed time every time the reset signal V RST becomes low level, and the period signal causes the backup circuit 21 to replace the output of the MPU 10. Supplying the output to the actual control. Therefore, only one type of output can be adopted as the output of the backup circuit 21, and it is usually set for the evacuation traveling control in the worst case of a runaway.

このため、暴走時におけるバックアップは問題ないが、
始動時および電源異常には次のような問題が生じてい
た。
For this reason, there is no problem in backup during a runaway,
The following problems occurred at the time of starting and abnormal power supply.

(始動時) 第14図(a)に示したように、リセット回路14からのリ
セット信号VRSTがハイレベルに立上がってMPU10が正常
に動作し始めても、第16図の遅れ時間T間はMPU10の
出力を利用し得ず、始動時の初期制御が遅れる。
(At start-up) As shown in FIG. 14 (a), even if the reset signal V RST from the reset circuit 14 rises to a high level and the MPU 10 starts to operate normally, the delay time T D in FIG. Cannot use the output of MPU10, and the initial control at the start is delayed.

また、リセット信号が立上がるまでの間は、退避走行制
御用に設定されたバックアップ信号により制御が行なわ
れるので、イグニッションスイッチオン後直ちにスター
タを起動した場合等には始動性が悪くなる。
Further, until the reset signal rises, the control is performed by the backup signal set for the evacuation traveling control, so that the startability is deteriorated when the starter is started immediately after the ignition switch is turned on.

(電源異常時) 低電圧,瞬断,過電圧などの電源異常時にもリセット信
号VRSTがロウレベルとなる期間より大きい期間TBP
間、退避制御用に設定されたバックアップ信号が用いら
れるので、リセットがかけられる直前の制御値が退避制
御用バックアップ信号により変更される度合が大きくな
り、運転性能,燃費,排出ガスの浄化性が悪化する期間
が長くなる。また、バックアップ信号が用いられる期間
が長い分、元の制御値に復帰するまでの時間が長くな
る。
(When power supply is abnormal) Even when the power supply is abnormal such as low voltage, momentary interruption, and overvoltage, the backup signal set for the save control is used during the period T BP which is longer than the period when the reset signal V RST is at the low level. The degree to which the control value immediately before is applied is changed by the backup signal for evacuation control becomes large, and the period during which the driving performance, fuel consumption, and exhaust gas purification performance deteriorate is prolonged. In addition, the longer the backup signal is used, the longer it takes to return to the original control value.

本発明はこのような従来の問題点を解決したもので、そ
の目的は、MPU10のリセットの種類に応じたバックアッ
プ制御を行なうことができるエンジン制御装置を提供す
ることにある。
The present invention solves such a conventional problem, and an object thereof is to provide an engine control device capable of performing backup control according to the type of reset of the MPU 10.

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

エンジン制御用のマイクロコンピュータへの電源投入時
は該電源投入時から所定時間経過後に前記マイクロコン
ピュータへ加えるリセット信号をハイレベルにし、電源
異常検出時は電源異常が現れている間だけ前記リセット
信号をロウレベルにし、前記マイクロコンピュータの暴
走検出時は前記リセット信号を所定時間だけロウレベル
にするリセット回路を有するエンジン制御装置におい
て、 前記電源投入時から前記リセット信号がハイレベルにな
るまでの期間を示す始動期間信号と、前記リセット信号
が発振状態になっている期間を示す暴走期間信号とを生
成する始動・暴走期間判別回路、 前記始動期間信号,前記暴走期間信号および前記リセッ
ト信号に基づき、該始動期間信号と暴走期間信号が発生
しておらず且つ該リセット信号が発生しているとき電源
異常時のリセット期間を示す電源異常期間信号を生成す
る電源異常期間判別回路、 前記リセット信号と前記暴走期間信号に基づき、該どち
らの信号も発生していないとき正常期間を示す正常期間
信号を生成する正常期間判別回路、 前記始動期間信号,前記暴走期間信号,前記電源異常期
間信号,前記正常期間信号に基づき、該始動期間信号が
発生しているときは始動時制御用の出力を、該暴走期間
信号が発生しているときは退避制御用の出力を、該電源
異常期間信号が発生しているときは電源異常時用の出力
をそれぞれバックアップ回路の複数の出力のうちから選
択し、前記正常期間信号が発生している間は前記マイク
ロコンピュータの出力を選択し、被制御系に出力する選
択回路、 を備えている。
When the power for the engine control microcomputer is turned on, the reset signal applied to the microcomputer is set to a high level after a predetermined time has elapsed since the power was turned on, and when the power supply abnormality is detected, the reset signal is output only while the power supply abnormality appears. In an engine control device having a reset circuit that sets a low level to a low level for a predetermined time when a runaway of the microcomputer is detected, a starting period indicating a period from when the power is turned on to when the reset signal becomes a high level Signal and a runaway period signal indicating a period during which the reset signal is in an oscillating state, a start / runaway period determination circuit, the start period signal based on the start period signal, the runaway period signal and the reset signal And the reset signal is not issued. A power supply abnormal period determination circuit that generates a power supply abnormal period signal indicating a reset period when the power supply is abnormal, and indicates a normal period when neither of the signals is generated based on the reset signal and the runaway period signal A normal period discriminating circuit for generating a normal period signal, based on the starting period signal, the runaway period signal, the power supply abnormal period signal, and the normal period signal, for starting control when the starting period signal is generated. Among the plurality of outputs of the backup circuit, the output is an output for saving control when the runaway period signal is generated, and an output for power supply abnormality when the power supply abnormal period signal is generated. A selection circuit for selecting and outputting the output of the microcomputer to the controlled system while the normal period signal is being generated.

〔作用〕[Action]

本発明の作用を、理解を容易にするために、本発明の実
施例に関する図面第1図を参照して説明する。
To facilitate understanding, the operation of the present invention will be described with reference to FIG. 1 of the drawings related to the embodiment of the present invention.

イグニッションスイッチがオンされてMPU10にVCCが印
加されると、始動・暴走期間判別回路30はVCCが立上が
った時からリセット信号VRSTがハイレベルとなるまで
の期間だけハイレベルとなる始動期間信号VSTを発生
し、バックアップ回路33の出力B1をアンド回路34,オア
回路38を介して出力制御論理回路15の出力Pとして取り
出す。従って、出力B1を始動制御用に設定しておけば始
動性が向上し、且つリセット信号VRSTがハイレベルに
なればバックアップ制御が終了し、直ちにMPU10の出力
Mが出力制御論理回路15の出力として取り出され、初期
制御が速やかに行なわれる。
When the ignition switch is turned on and V CC is applied to the MPU 10, the start / runaway period determination circuit 30 becomes high level only during the period from when V CC rises until the reset signal V RST becomes high level. The period signal V ST is generated, and the output B 1 of the backup circuit 33 is taken out as the output P of the output control logic circuit 15 via the AND circuit 34 and the OR circuit 38. Therefore, if the output B 1 is set for start control, the startability is improved, and if the reset signal V RST becomes high level, the backup control ends, and the output M of the MPU 10 immediately outputs the output control logic circuit 15. It is taken out as an output and the initial control is promptly performed.

また、MPU10が暴走を開始すると、リセット回路14から
のリセット信号VRSTは発振状態となり、MPU10は繰り返
しリセットされる。始動・暴走期間判別回路30はそのよ
うなときにほぼ暴走期間だけロウレベルとなる暴走期間
信号VCSを発生し、バックアップ回路33の出力B2をアン
ド回路35,オア回路38を介して出力制御論理回路15の出
力Pに取り出す。従って、出力B2を退避走行制御用に設
定しておけば、暴走時に車両を最寄りのディーラーやサ
ービスステーションまで退避走行させることが可能とな
る。
When the MPU 10 starts to run out of control, the reset signal V RST from the reset circuit 14 is in an oscillating state, and the MPU 10 is repeatedly reset. In such a case, the start-up / runaway period discrimination circuit 30 generates a runaway period signal V CS which becomes a low level for almost only the runaway period, and outputs the output B 2 of the backup circuit 33 via the AND circuit 35 and the OR circuit 38. The output P of the circuit 15 is taken out. Therefore, if the output B 2 is set for the evacuation traveling control, the vehicle can be evacuation traveling to the nearest dealer or service station during a runaway.

更に、電源異常によりリセット信号VRSTがロウレベル
になると、電源異常期間判別回路31からリセット信号V
RSTのロウレベル期間とほぼ等しい期間だけハイレベル
となる電源異常期間信号が発生され、バックアップ回路
33の出力B2がアンド回路36,オア回路38を介して出力P
として取り出される。従って、出力B3を例えば直前の制
御値を変更しないような制御停止信号等にしておけば、
バックアップ期間がリセット信号VRSTがロウレベルと
なる期間にほぼ一致することと相まって運転性能,排気
ガスの浄化性等の悪化を最小限に抑えることができる。
Furthermore, when the reset signal V RST goes low due to a power supply abnormality, the power supply abnormality period determination circuit 31 resets the reset signal V RST.
The power supply abnormal period signal that becomes high level is generated for a period almost equal to the low level period of RST , and the backup circuit
Output B 2 of 33 is output P via AND circuit 36 and OR circuit 38
Is taken out as. Therefore, if the output B 3 is, for example, a control stop signal that does not change the immediately preceding control value,
The fact that the backup period substantially coincides with the period when the reset signal V RST is at a low level can be combined with the deterioration of operating performance, exhaust gas purification performance, and the like to be minimized.

始動・暴走期間判別回路30の暴走期間信号VCSが暴走を
示さず、リセット信号VRSTがロウレベルでないとき即
ちMPU10が正常に動作しているときは、正常期間判別回
路32からの正常期間信号VOKがハイレベルとなり、MPU1
0の出力Mがアンド回路37,オア回路38を介して出力Pと
して取り出される。
When the runaway period signal V CS of the start / runaway period determination circuit 30 does not indicate a runaway and the reset signal V RST is not at low level, that is, when the MPU 10 is operating normally, the normal period signal V from the normal period determination circuit 32 OK becomes high level, MPU1
The output M of 0 is taken out as the output P via the AND circuit 37 and the OR circuit 38.

〔実施例〕〔Example〕

第1図は本発明の実施例の要部ブロック図であり、14は
リセット回路,15は出力制御論理回路、Pはその出力で
ある。
FIG. 1 is a block diagram of an essential part of an embodiment of the present invention, in which 14 is a reset circuit, 15 is an output control logic circuit, and P is its output.

リセット回路14は、MPU10へVCCが印加された時は第14
図(a)に示したようにその投入時から所定時間TRST
経過後にリセット信号VRSTをハイレベルにし、電源異
常検出時は第14図(b)〜(d)に示したように電源異
常が現れている間T1〜T3だけリセット信号VRSTをロウ
レベルにし、MPU10の暴走検出時は第14図(e)に示し
たように暴走が解消されるまでリセット信号VRSTを発
振状態とする。
The reset circuit 14 is the 14th when the V CC is applied to the MPU 10.
As shown in Figure (a), a predetermined time TRST
The reset signal V RST to a high level after the power supply abnormality detection time is FIG. 14 (b) ~ low between T 1 through T 3 only reset signal V RST power as shown in (d) of the abnormality has appeared When the runaway of the MPU 10 is detected, the reset signal VRST is oscillated until the runaway is eliminated as shown in FIG. 14 (e).

出力制御論理回路15は、本実施例では、始動・暴走期間
判別回路30,電源異常期間判別回路31,正常期間判別回路
32,バックアップ回路33,選択回路39から構成される。
In the present embodiment, the output control logic circuit 15 includes a start / runaway period determination circuit 30, a power supply abnormal period determination circuit 31, and a normal period determination circuit.
32, a backup circuit 33, and a selection circuit 39.

始動・暴走期間判別回路30にはリセット信号VRSTとV
CCが入力され、始動・暴走期間判別回路30はこれらのレ
ベルを監視し、電源投入時からリセット信号がハイレベ
ルになるまでの期間だけハイレベルとなる始動期間制御
STと、リセット信号が発振状態を示す期間だけロウレ
ベルとなる暴走期間信号VCSを出力する。前記始動期間
信号VSTは選択回路39のアンド回路34と電源異常期間判
別回路31に加えられ、暴走期間信号VCSはアンド回路3
5,電源異常期間判別回路31および正常期間判別回路32に
加えられる。
The start / runaway period discrimination circuit 30 has reset signals V RST and V
When CC is input, the start / runaway period determination circuit 30 monitors these levels, and the start period control VST that becomes high level only during the period from power-on until the reset signal becomes high level, and the reset signal oscillates. The runaway period signal V CS that is low level only during the period indicating the state is output. The start period signal V ST is applied to the AND circuit 34 of the selection circuit 39 and the power supply abnormal period determination circuit 31, and the runaway period signal V CS is supplied to the AND circuit 3.
5, added to the power supply abnormal period discriminating circuit 31 and the normal period discriminating circuit 32.

電源異常期間判別回路31は、暴走期間信号VCSが暴走を
示さないハイレベルであり、始動期間信号VSTが始動期
間を示さないロウレベルであり、且つリセット信号V
RSTがロウレベルのときハイレベルとなる電源異常期間
信号VBSを出力し、その出力はアンド回路36に入力され
る。
In the abnormal power supply period determination circuit 31, the runaway period signal V CS is at a high level indicating no runaway, the start period signal V ST is at a low level indicating no start period, and the reset signal V
RST outputs a power failure period signal V BS to the low level when the high level, the output of which is inputted to the AND circuit 36.

また、正常期間判別回路32は、暴走期間信号VCSが暴走
を示さないハイレベルであり、リセット信号VRSTがハ
イレベルの状態にあるときハイレベルとなる正常期間信
号VOKをアンド回路37に入力する。
Further, the normal period discriminating circuit 32 sends to the AND circuit 37 the normal period signal V OK which is at a high level when the runaway period signal V CS does not indicate a runaway and which is at a high level when the reset signal V RST is at a high level. input.

バックアップ回路33は、3種類のバックアップ信号B1,B
2,B3を出力し、出力B1はアンド回路34へ、出力B2はアン
ド回路35へ、出力B3はアンド回路36へれぞれ印加され
る。出力B1は始動時のバックアップに適する内容、出力
B2は暴走時のバックアップに適する内容、出力B3電源異
常時のバックアップに適する内容となっている。
The backup circuit 33 has three types of backup signals B 1 , B.
Outputs 2, B 3, the output B 1 represents the AND circuit 34, the output B 2 is to the AND circuit 35, the output B 3 are applied, respectively Re 2 to the AND circuit 36. Output B 1 is suitable for backup at startup, output
Contents of B 2 are suitable for backup in case of runaway, and contents of output B 3 are suitable for backup in case of power failure.

MPU10の出力Mは、選択回路39のアンド回路37に入力さ
れる。
The output M of the MPU 10 is input to the AND circuit 37 of the selection circuit 39.

選択回路37では、各アンド回路34〜37の出力はオア回路
38を通して第13図の駆動回路16へ出力Pとして送出され
る。
In the selection circuit 37, the outputs of the AND circuits 34 to 37 are OR circuits.
It is sent as an output P to the drive circuit 16 of FIG. 13 through 38.

第2図は始動・暴走期間判別回路30の実施例の回路図で
あり、抵抗R1〜R6,R1′と、コンデンサC1,C2と、ダイオ
ードD1,D2と、比較器COMP1,COMP2とで構成したものであ
る。この回路において、比較器COMP1の−端子側に接続
された抵抗R1′,コンデンサC1から成る充電回路の時定
数τ(R1′C1)はほぼ第14図(b)〜(c)のT1〜T3
と等しく設定され、比較器COMP2の+端子側に接続され
た抵抗R2,R4およびコンデンサC2から成る充放電回路
は、第14図(b)〜(d)に示したT1のロウレベル
幅をもつ単発のリセット信号VRST程度では、+端子の
電位がVCC/2まで低下しないような放電時定数τ(=
R2C2)と、それよりも大きな充電時定数τ(R4C2)と
を有している。各素子の値の大小関係を例示すれば次の
ようになる。
FIG. 2 is a circuit diagram of an embodiment of the start / runaway period discrimination circuit 30, which includes resistors R 1 to R 6 , R 1 ′, capacitors C 1 and C 2 , diodes D 1 and D 2, and a comparator. It is composed of COMP 1 and COMP 2 . In this circuit, the time constant τ 1 (R 1 ′ C 1 ) of the charging circuit composed of the resistor R 1 ′ and the capacitor C 1 connected to the minus terminal side of the comparator COMP 1 is almost as shown in FIGS. c) T 1 to T 3
The charging / discharging circuit including resistors R 2 and R 4 and a capacitor C 2 which are set to be equal to each other and which are connected to the + terminal side of the comparator COMP 2 has T 1 ~ shown in FIGS. 14 (b) to 14 (d). 3 of the single order of the reset signal V RST with low level width, + discharging time constant as the potential is not lowered to V CC / 2 terminal tau 2 (=
R 2 C 2 ) and a charging time constant τ 3 (R 4 C 2 ) larger than that. An example of the magnitude relation of the values of the respective elements is as follows.

R5≪2R3=R2≪R1,R1′<R4 C1<C2 T1,T2,T3≒τ<τ<τ また第3図は電源異常期間判別回路31の実施例の回路図
であり、暴走期間信号VCSと、指導期間信号VSTの反転
信号と、リセット信号VRSTの反転信号との論理積をと
るアンド回路50を使用したものである。
R 5 «2R 3 = R 2 «R 1, R 1 '<R 4 C 1 <C 2 T 1, T 2, T 3 ≒ τ 1 <τ 2 <τ 3 and the third figure power failure period determination circuit FIG. 31 is a circuit diagram of the 31st embodiment, which uses an AND circuit 50 that performs a logical product of the runaway period signal V CS , the inversion signal of the instruction period signal V ST , and the inversion signal of the reset signal V RST .

第4図は上期間判別回路32の実施例の回路図であり、暴
走期間信号VCSと、リセット信号VRSTとの論理積をと
るアンド回路51を使用したものである。
FIG. 4 is a circuit diagram of an embodiment of the upper period discriminating circuit 32, which uses an AND circuit 51 which takes the logical product of the runaway period signal V CS and the reset signal V RST .

第5図は第1図の符号LOGで囲んだ部分の別の実施例を
示し、選択回路39と第2図の電源異常期間判別回路と第
3図の正常期間判別回路とのゲートを一部共用した変形
例を示す。即ち、アンド回路36とアンド回路50を一つの
アンド回路52で、アンド回路37とアンド回路51を一つの
アンド回路53で実現したものである。以下、第5図に示
す回路を論理回路と呼ぶことにする。
FIG. 5 shows another embodiment of the portion surrounded by the symbol LOG in FIG. 1, in which some gates of the selection circuit 39, the power supply abnormal period discrimination circuit of FIG. 2 and the normal period discrimination circuit of FIG. A common modification is shown. That is, the AND circuit 36 and the AND circuit 50 are realized by one AND circuit 52, and the AND circuit 37 and the AND circuit 51 are realized by one AND circuit 53. Hereinafter, the circuit shown in FIG. 5 will be referred to as a logic circuit.

第6図は第1図〜第4図に示した実施例の動作説明用タ
イミングチャートであり、以下、各図を参照してその動
作を説明する。
FIG. 6 is a timing chart for explaining the operation of the embodiment shown in FIGS. 1 to 4, and its operation will be described below with reference to each drawing.

イグニッションスイッチがオンされると、VCCは0Vから
例えば5Vまで上昇し、第2図に示す始動・暴走期間判別
回路30では当初リセット信号VRSTがロウレベルである
ことから比較器COMP1,比較器COMP2の+端子の電圧が−
端子の電圧より大きくなり、始動期間信号VSTおよび暴
走期間信号VCSは共に直ちにハイレベルとなる。従っ
て、第1図のアンド回路34のみが開かれ、バックアップ
回路33の出力B1が出力Pとして取り出される。
When the ignition switch is turned on, V CC rises from 0 V to, for example, 5 V, and in the starting / runaway period discriminating circuit 30 shown in FIG. 2, since the initial reset signal V RST is low level, the comparator COMP 1 , comparator The voltage at the + terminal of COMP 2 is-
The voltage becomes higher than the voltage of the terminal, and the start period signal V ST and the runaway period signal V CS both immediately become high level. Therefore, only the AND circuit 34 of FIG. 1 is opened, and the output B 1 of the backup circuit 33 is taken out as the output P.

イグニッションスイッチのオンから所定時間TRST経過
すると、リセット回路14からのリセット信号VRSTがハ
イレベルに変化する。これにより第2図の始動・暴走期
間判別回路30では比較器COMP1の+端子の電圧が−端子
の電圧より小さくなり、始動期間信号VSTは以後イグニ
ッションスイッチがオフになるまでロウレベルとなる。
これによりアンド回路34は閉じ、代わりに正常期間判別
回路32の正常期間信号VOKがハイレベルとなり、アンド
回路37が開かれる。従って、MPU10の出力Mがアンド回
路37を通して出力Pに現れる。
When a predetermined time T RST has passed since the ignition switch was turned on, the reset signal V RST from the reset circuit 14 changes to a high level. Thus the voltage of the second view of the start-runaway period judgment circuit 30 of the comparator COMP 1 in + terminal - smaller than the voltage of the terminal, the start period signal V ST is at a low level until the subsequent ignition switch is turned off.
As a result, the AND circuit 34 is closed, and instead, the normal period signal V OK of the normal period determination circuit 32 becomes high level, and the AND circuit 37 is opened. Therefore, the output M of the MPU 10 appears at the output P through the AND circuit 37.

スタータを起動したときVCCがある値以下に低下する
と、リセット回路14からのリセット信号は一時的にロウ
レベルとなる。しかし、この程度の期間のロウレベルで
は第2図の始動・暴走期間判別回路30における比較器CO
MP2の出力(暴走期間信号)は反転せず、ハイレベルを
維持する。従って、正常期間信号VOKがロウレベルとな
ってアンド回路37が閉じられると共に電源異常期間判別
回路31の電源異常期間信号VBSがハイレベルとなり、バ
ックアップ回路33の出力B1が出力Pとして取り出され
る。
When V CC drops below a certain value when the starter is activated, the reset signal from the reset circuit 14 temporarily becomes low level. However, at the low level during this period, the comparator CO in the start / runaway period discrimination circuit 30 of FIG.
The output of MP 2 (runaway period signal) is not inverted and remains high. Therefore, the normal period signal V OK becomes low level, the AND circuit 37 is closed, the power abnormal period signal V BS of the power abnormal period discriminating circuit 31 becomes high level, and the output B 1 of the backup circuit 33 is taken out as the output P. .

エンジンの完爆後、MPU10が暴走を始めると、リセット
回路14からのリセット信号は発振状態となる。このよう
な発振状態となると、第2図の始動・暴走期間判別回路
30における比較器COMP2の+端子電圧は時定数τで徐
々に低下し、やがて−端子より小さくなって暴走期間信
号VCSはロウレベウとなる。信号VCSがロウレベルにな
ると、アンド回路35が開かれるので、バックアップ回路
33の出力B2が出力Pとして取り出される。なお、MPU10
の出力から出力B2への切換えに多少の時間がかかり、そ
の間電源異常期間信号VBSがハイレベルとなって出力B3
が出力Pに現れるが、暴走の開始当初であること及び出
力B3を後述する実施例の如く退避制御用に設定すること
で問題は生じない。
After the complete explosion of the engine, when the MPU 10 starts to run out of control, the reset signal from the reset circuit 14 becomes an oscillating state. In such an oscillation state, the start / runaway period determination circuit of FIG.
The + terminal voltage of the comparator COMP 2 in 30 gradually decreases with a time constant τ 2 and eventually becomes smaller than the − terminal, and the runaway period signal V CS becomes low-level. When the signal V CS becomes low level, the AND circuit 35 is opened, so the backup circuit
The output B 2 of 33 is taken out as the output P. In addition, MPU10
It takes some time to switch from the output of B to the output of B 2 , and during that period, the power supply abnormal period signal V BS becomes high level and the output of B 3 is output.
Appears in the output P, but no problem occurs when the runaway is started and the output B 3 is set for the evacuation control as in the embodiment described later.

MPU10の暴走が解消すると、リセット信号VRSTの発振は
停止し、比較器COMP2の+端子の電位はτの時定数で
上昇し、やがて−端子の電位より大きくなるので、暴走
期間信号VCSはハイレベルとなる。これにより、アンド
回路35が閉じ、正常期間信号OKがハイレベルとなってア
ンド回路37が開かれ、MPU10の出力Mが取り出される。
When the runaway of the MPU10 is resolved, the oscillation of the reset signal V RST is stopped, the potential of the + terminal of the comparator COMP 2 rises at the time constant of τ 3 , and eventually becomes larger than the potential of the-terminal, so the runaway period signal V CS goes high. As a result, the AND circuit 35 is closed, the normal period signal OK becomes high level, the AND circuit 37 is opened, and the output M of the MPU 10 is taken out.

上記暴走が解消された後、何等かの原因でVCCが所定レ
ベル以下に低下すると、リセット回路14からのリセット
信号VRSTは所定時間だけロウレベルとなる。しかし、
このときも第2図の始動・暴走期間判別回路30における
比較器COMP2の出力(暴走期間信号)は反転せずハイレ
ベルを維持し、従って、正常期間信号VOKがロウレベル
となってアンド回路37が閉じられると共に電源異常期間
判別回路31の電源異常期間信号VBSがハイレベルとな
り、バックアップ回路33の出力B3が出力Pとして取り出
され、リセット信号VRSTがハイレベルに復帰すると、
直ちにMPU10の出力Mが出力Pとして取り出される。
When V CC falls below a predetermined level for some reason after the runaway is eliminated, the reset signal V RST from the reset circuit 14 goes low for a predetermined time. But,
At this time as well, the output of the comparator COMP 2 (runaway period signal) in the start / runaway period discrimination circuit 30 of FIG. 2 is not inverted and maintains a high level, and therefore the normal period signal V OK becomes a low level and the AND circuit. When 37 is closed and the abnormal power supply period signal V BS of the abnormal power supply period determination circuit 31 becomes high level, the output B 3 of the backup circuit 33 is taken out as the output P, and the reset signal V RST returns to high level,
Immediately, the output M of the MPU 10 is taken out as the output P.

第7図は本発明を燃料噴射,点火時期制御に応用した実
施例のブロック図であり、第1図と同一符号は同一部分
を示し、LOG1,LOG2は第5図に示した論理回路、60はイ
ンジェクタ62の駆動回路、61はイグナイタ63の駆動回
路、64はクランク角センサ、65はプリセッタブルカウン
タ、66,67はワンショットマルチバイブレータ(以下OMB
と称する)、68,69はインバータである。また、第8図
は第7図の動作説明用タイミングチャートで、4気筒エ
ンジンの場合を示す。
FIG. 7 is a block diagram of an embodiment in which the present invention is applied to fuel injection and ignition timing control. The same symbols as in FIG. 1 indicate the same parts, and LOG1 and LOG2 are the logic circuits shown in FIG. Is a drive circuit for the injector 62, 61 is a drive circuit for the igniter 63, 64 is a crank angle sensor, 65 is a presettable counter, 66 and 67 are one-shot multivibrator (hereinafter OMB
68) and 69 are inverters. FIG. 8 is a timing chart for explaining the operation of FIG. 7 and shows the case of a 4-cylinder engine.

第7図において、MPU10はクランク角センサ64からクラ
ンク角の180度毎に出力されるパルスPEFと1度毎に出力
されるパルスPOSとからクランク回転角を判別し、第8
図に示すような燃料噴射タイミングを制御する信号INJA
と点火タイミングを制御する信号IGNAとを論理回路LOG
1,LOG2にMPU出力Mとして入力する。
In FIG. 7, the MPU 10 determines the crank rotation angle from the pulse PEF output from the crank angle sensor 64 at every 180 degrees of the crank angle and the pulse POS output at every 1 degree, and
Signal INJA for controlling fuel injection timing as shown in the figure
And a signal IGNA that controls the ignition timing and a logic circuit LOG
Input as MPU output M to 1, LOG2.

バックアップ回路33内には、パルスREFの立上がりでセ
ットされ、パルスPOSでカウントアップされるプリセッ
タブルカウンタ65が設けられ、これから始動時の点火タ
イミングを制御する信号IGNCが出力B1として論理回路LO
G2に入力される。また、パルスREFが退避制御の点火タ
イミングを制御する信号IGNBとして論理回路LOG2に入力
される。この信号IGNBは論理回路LOG1において出力B2,B
3に対応する。
In the backup circuit 33, there is provided a presettable counter 65 which is set at the rising edge of the pulse REF and is counted up by the pulse POS, and the signal IGNC for controlling the ignition timing at the time of starting is output from the logic circuit LO as the output B 1.
Input to G2. Further, the pulse REF is input to the logic circuit LOG2 as a signal IGNB for controlling the ignition timing of the escape control. This signal IGNB is output from the logic circuit LOG1 B 2 , B
Corresponds to 3 .

また、パルスREFの立下がりでトリガされるOMB66と、プ
リセッタブルカウンタ65の出力Qの立下がりでトリガさ
れるOMB67が設けられ、OMB66から退避走行用の燃料噴射
タイミングを制御する信号INJBが発生され、OMB67から
始動時の燃料噴射タイミングを制御する信号INJCが生成
される。信号INJBは出力B2,B3に、信号INJCは出力B1
対応する。
Further, an OMB66 which is triggered by the falling edge of the pulse REF and an OMB67 which is triggered by the falling edge of the output Q of the presettable counter 65 are provided, and the signal INJB for controlling the fuel injection timing for the escape traveling is generated from the OMB66. , OMB67 generates a signal INJC for controlling the fuel injection timing at the time of starting. The signal INJB corresponds to the outputs B 2 and B 3 , and the signal INJC corresponds to the output B 1 .

論理回路LOG1,LOG2は、第5図で説明したような論理で
バックアップ制御を行なうので、始動期間中はインジェ
クタ62は信号INJCによって制御され、イグナイタ63は信
号IGNCによって制御される。また、MPU10の暴走中およ
び電源異常時のリセット中は、インジェクタ62は信号IN
JBによって制御され、イグナイタ63は信号IGNBによって
制御される。
Since the logic circuits LOG1 and LOG2 perform backup control by the logic described in FIG. 5, the injector 62 is controlled by the signal INJC and the igniter 63 is controlled by the signal IGNC during the starting period. In addition, during the MPU10 runaway or resetting at power failure, the injector 62
Controlled by JB, igniter 63 is controlled by signal IGNB.

例えばクランキング(スタータON)時のエンジン回転数
を200rpmとすると、クランク角センサ64の180度パルスR
EFは150ms毎に発生するが、スタータONのタイミングや
RSTの値或いはクランク角センサの初期位置によって
は、最初の制御タイミングST1の検出ができないことが
あり、従って、始動時にMPU10の出力によって燃料噴射
タイミングや点火時期タイミングを制御することが困難
な場合がある。従来は、第8図の下部に示すように、バ
ックアップ期間信号VBPを生成し、その間は退避制御用
のタイミングで燃料噴射,点火時期を制御していたが、
本実施例によればその間は始動用のタイミングで燃料噴
射,点火時期を制御することができ、始動性が向上す
る。
For example, if the engine speed during cranking (starter ON) is 200 rpm, the 180-degree pulse R of the crank angle sensor 64
EF is generated every 150 ms, but the first control timing ST 1 may not be detected depending on the timing of starter ON, the value of T RST , or the initial position of the crank angle sensor. Therefore, depending on the output of MPU10 at the start. It may be difficult to control the fuel injection timing or the ignition timing. Conventionally, as shown in the lower part of FIG. 8, a backup period signal V BP is generated, and during that period, fuel injection and ignition timing are controlled at the timing for escape control.
According to the present embodiment, during that time, the fuel injection and ignition timing can be controlled at the start timing, and the startability is improved.

第9図は本発明をブリードエア通路の絞りを調節するス
テッパモータ制御、スロットル開度調節用のDCモータ制
御、警告表示ランプ制御に応用した実施例のブロック図
であり、70はステッパモータ、71はDCモータ、72は警告
ランプ、LOG3〜LOG7は第5図の論理回路、73はステッパ
モータ70の駆動最高周波数のパルスを発生する発振器、
74,75は排他的論理和回路、76,77はD形フリップフロッ
プ、78はDCモータ駆動ICである。このDCモータ駆動ICの
制御論理は第10図に示す通りである。また、ステッパモ
ータ70の制御チャートを第11図に示す。
FIG. 9 is a block diagram of an embodiment in which the present invention is applied to a stepper motor control for adjusting the throttle of the bleed air passage, a DC motor control for adjusting the throttle opening, and a warning display lamp control. Is a DC motor, 72 is a warning lamp, LOG3 to LOG7 are logic circuits shown in FIG. 5, 73 is an oscillator that generates a pulse having the highest driving frequency of the stepper motor 70,
74 and 75 are exclusive OR circuits, 76 and 77 are D-type flip-flops, and 78 is a DC motor drive IC. The control logic of this DC motor drive IC is as shown in FIG. A control chart of the stepper motor 70 is shown in FIG.

MPU10から論理回路LOG3へはステッパモータ70の駆動パ
ルスがMPU出力Mとして入力され、ステッパモータ70の
回転方向を指定する信号が論理回路LOG4にMPU出力Mと
して入力され、DCモータ71の正転,逆転を制御する信号
DI1,DI2がそれぞれ論理回路LOG5,LOG6へMPU出力Mとし
て入力される。また、警告ランプ72の点灯制御信号が論
理回路LOG7にMPU出力Mとして入力される。
The drive pulse of the stepper motor 70 is input from the MPU 10 to the logic circuit LOG3 as the MPU output M, the signal designating the rotation direction of the stepper motor 70 is input to the logic circuit LOG4 as the MPU output M, and the normal rotation of the DC motor 71, Signal to control reverse rotation
DI 1 and DI 2 are input as MPU output M to the logic circuits LOG5 and LOG6, respectively. Further, the lighting control signal of the warning lamp 72 is input to the logic circuit LOG7 as the MPU output M.

一方、論理回路LOG3のB2には発振器73の出力が、B1,B3
には論理“0"が入力され、論理回路LOG4のB1〜B3には共
通に論理“0"が入力され、論理回路LOG5のB2には論理
“0"が、B1,B3には論理“1"が入力され、論理回路LOG6
のB1〜B3には共通に論理“1"が入力され、論理回路LOG7
のB1,B2には論理“1"が、B3には論理“0"がそれぞれ入
力される。
On the other hand, the output of the oscillator 73 to the B 2 logic circuit LOG3 is, B 1, B 3
Logic "0" is input to the logic "0" is input in common to the B 1 .about.B 3 logic circuit log4, a logic "0" to B 2 logic circuit LOG5, B 1, B 3 Logic "1" is input to the logic circuit LOG6
The of B 1 .about.B 3 logical "1" is input to the common logic circuit LOG7
A logic "1" is input to B 1 and B 2 , and a logic "0" is input to B 3 .

従って、始動時および電源異常時は、論理“0"が論理回
路LOG3,LOG4から出力され、ステッパモータ70は停止制
御され、暴走時には論理“0"が論理回路LOG4から出力さ
れ、論理回路LOG3からは発振器73の出力が送出されるの
で、ステッパモータ70はブリードエア通路を全閉にす
る。従って、暴走時における退避走行は空燃比が濃い状
態で行なわれる。
Therefore, at start-up and at power failure, logic "0" is output from the logic circuits LOG3 and LOG4, the stepper motor 70 is stopped and controlled, and during runaway, logic "0" is output from the logic circuit LOG4 and from the logic circuit LOG3. Since the output of the oscillator 73 is transmitted, the stepper motor 70 fully closes the bleed air passage. Therefore, the evacuation run at the time of runaway is performed with a high air-fuel ratio.

また始動時および電源異常時は、論理回路LOG5,LOG6か
ら論理“1"が出力され、DCモータ71は停止され、暴走時
は論理回路LOG5から論理“0"が出力され、論理回路LOG6
から論理“1"が出力されるので、DCモータ71はスロット
ル弁を全閉にする。
Further, at the time of start-up and at power failure, the logic circuits LOG5 and LOG6 output logic "1", the DC motor 71 is stopped, and during runaway, the logic circuit LOG5 outputs logic "0" and the logic circuit LOG6
Since the logic "1" is output from the DC motor 71, the DC motor 71 fully closes the throttle valve.

更に、論理回路LOG7からは始動時と暴走時に論理“1"が
出力されて警告ランプが点灯し、電源異常時は論理“0"
が出力され、警告ランプ72は点灯されない。
In addition, the logic circuit LOG7 outputs logic "1" at startup and runaway, and the warning lamp lights up. When the power is abnormal, logic "0" is output.
Is output and the warning lamp 72 is not turned on.

第12図に、第7図と第9図の実施例における効果を従来
方式と比較して示す。
FIG. 12 shows the effect of the embodiment of FIGS. 7 and 9 in comparison with the conventional method.

同図に示すように、電子燃料噴射制御および電子点火進
角制御に関しては、従来は始動時,電源異常時,暴走時
ともに退避制御用のバックアップが行なわれていたが、
第7図の実施例によれば、始動時は始動に適したバック
アップを行なうことかでき、始動性が向上する。
As shown in the same figure, regarding the electronic fuel injection control and the electronic ignition advance control, the backup for the evacuation control is conventionally performed at the time of starting, when the power source is abnormal, and when the vehicle is running out of control.
According to the embodiment shown in FIG. 7, a backup suitable for starting can be performed at the time of starting, and the starting performance is improved.

また、燃料補正制御に関しては、従来は始動時,電源異
常時,暴走時ともにステッパモータ70を停止する制御が
行なわれていたが、第9図の実施例によれば、暴走時の
み全閉制御することができ、退避走行を空燃比が濃い状
態で行なわせることができる。
Regarding the fuel correction control, conventionally, the control for stopping the stepper motor 70 was performed at the time of starting, when the power supply is abnormal, and at the time of runaway, but according to the embodiment of FIG. 9, it is fully closed control only at the time of runaway. Therefore, the evacuation traveling can be performed in a state where the air-fuel ratio is high.

更に、スロットル開度制御は、従来は始動時のみDCモー
タを停止させ、電源異常時と暴走時はスロットル弁が全
閉となるようにDCモータがバックアップ制御されていた
が、第9図に実施例によれば、始動時と電源異常時にDC
モータを停止させ、暴走時のみスロットル弁が全閉とな
るようにDCモータを制御することができ、電源異常時に
おけるスロットル弁の無用な開度変化を防止することが
できる。
Further, in the throttle opening control, conventionally, the DC motor was stopped only at the time of starting, and the DC motor was backed up so that the throttle valve was fully closed at the time of power failure and runaway. According to the example, at start-up and at power failure DC
It is possible to stop the motor and control the DC motor so that the throttle valve is fully closed only during a runaway, and it is possible to prevent an unnecessary change in the opening degree of the throttle valve when the power supply is abnormal.

また、警告ランプの点灯制御に関しては、従来は始動
時,電源異常時,暴走時ともに点灯させていたものを、
始動時と暴走時にのみ転送させて、電源異常の一瞬のリ
セット時には点灯させないようにすることが可能とな
る。
In addition, regarding the lighting control of the warning lamp, what was conventionally turned on at the time of starting, power supply abnormality, runaway,
It is possible to transfer it only at the time of start-up and runaway and not to light it at the moment of a power supply abnormal reset.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明は、始動時,電源異常時,M
PUの暴走時におけるリセット信号の状態からその原因を
判別し、始動期間信号,暴走期間信号,電源異常期間信
号,正常期間信号の如く複数の期間信号を生成している
ので、複数のバックアップ信号を各状態に応じて選択す
ることが可能となり、始動,電源異常,暴走に応じたバ
ックアップが可能となり、始動性,運転性,排気ガスの
浄化性を向上することが可能となる。
As described above, according to the present invention, at the time of starting, when the power source is abnormal, M
The cause is determined from the state of the reset signal during PU runaway, and multiple period signals such as a start period signal, a runaway period signal, a power supply abnormal period signal, and a normal period signal are generated. It becomes possible to select according to each state, and it becomes possible to back up according to starting, power supply abnormality, and runaway, and it is possible to improve startability, drivability, and exhaust gas purification.

また、始動期間信号はMPUに電源が供給されてからリセ
ット信号がハイレベルになるまでの期間にほぼ等しいの
で、リセット信号がハイレベルになった後は直ちにMPU
出力を実際の制御に使用でき、初期制御の開始時点を従
来より早めることができる。更、電源異常期間信号は低
電圧,瞬断等の電源異常時におけるリセット期間とほぼ
等しい期間を示すので、リセット期間だけバックアップ
制御が行なわれ、制御系の錯乱を最小限に抑えることが
できる。
Also, since the start period signal is almost the same as the period from when power is supplied to the MPU until the reset signal becomes high level, immediately after the reset signal becomes high level, the MPU
The output can be used for actual control, and the starting point of initial control can be made earlier than before. Further, since the power supply abnormal period signal indicates a period substantially equal to the reset period at the time of power supply abnormality such as low voltage and instantaneous interruption, the backup control is performed only during the reset period, and the confusion of the control system can be minimized.

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

第1図は本発明の実施例の要部ブロック図、 第2図は始動・暴走期間判別回路30の実施例の回路図、 第3図は電源異常期間判別回路31の実施例の回路図、 第4図は正常期間判別回路32の実施例の回路図、 第5図は出力制御論理回路の変形例を示す回路図、 第6図は第1図〜第4図の動作説明用タイミングチャー
ト、 第7図は燃料噴射,点火時期制御への応用例のブロック
図、 第8図は第7図の動作説明用タイミングチャート、 第9図はステッパモータ制御等への応用例のブロック
図、 第10図はDCモータ駆動IC78の制御論理図、 第11図はステッパモータ70の制御チャート、 第12図は本発明の効果の説明図、 第13図はエンジン制御装置の概略構成図、 第14図はリセット回路14の動作説明図、 第15図は従来の出力制御回路のブロック図および、 第16図は従来のバックアップ期間信号発生回路20の動作
説明図である。 10は制御用のマイクロコンピュータ(MPU)、14はリセ
ット回路、15は出力制御論理回路、30は始動・暴走期間
判別回路、31は電源異常期間判別回路、32は正常期間判
別回路、33はバックアップ回路、39は選択回路である。
FIG. 1 is a block diagram of essential parts of an embodiment of the present invention, FIG. 2 is a circuit diagram of an embodiment of a start / runaway period discrimination circuit 30, and FIG. 3 is a circuit diagram of an embodiment of a power supply abnormal period discrimination circuit 31. 4 is a circuit diagram of an embodiment of the normal period discriminating circuit 32, FIG. 5 is a circuit diagram showing a modification of the output control logic circuit, FIG. 6 is a timing chart for explaining the operation of FIGS. 1 to 4, FIG. 7 is a block diagram of an application example to fuel injection and ignition timing control, FIG. 8 is a timing chart for explaining the operation of FIG. 7, FIG. 9 is a block diagram of an application example to stepper motor control, etc. Fig. 11 is a control logic diagram of the DC motor drive IC 78, Fig. 11 is a control chart of the stepper motor 70, Fig. 12 is an explanatory diagram of the effect of the present invention, Fig. 13 is a schematic configuration diagram of an engine control device, and Fig. 14 is 15 is an operation explanatory diagram of the reset circuit 14, FIG. 15 is a block diagram of a conventional output control circuit, and FIG. Is an operation explanatory diagram of a conventional backup period signal generating circuit 20. 10 is a control microcomputer (MPU), 14 is a reset circuit, 15 is an output control logic circuit, 30 is a start / runaway period determination circuit, 31 is a power supply abnormal period determination circuit, 32 is a normal period determination circuit, 33 is a backup A circuit, 39 is a selection circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】エンジン制御用のマイクロコンピュータへ
の電源投入時は該電源投入時から所定時間経過後に前記
マイクロコンピュータへ加えるリセット信号をハイレベ
ルにし、電源異常検出時は電源異常が現れている間だけ
前記リセット信号をロウレベルにし、前記マイクロコン
ピュータの暴走検出時は前記リセット信号を所定時間だ
けロウレベルにするリセット回路を有するエンジン制御
装置において、 前記電源投入時から前記リセット信号がハイレベルにな
るまでの期間を示す始動期間信号と、前記リセット信号
が発振状態になっている期間を示す暴走期間信号とを生
成する始動・暴走期間判別回路、 前記始動期間信号,前記暴走期間信号および前記リセッ
ト信号に基づき、該始動期間信号と暴走期間信号が発生
しておらず且つ該リセット信号が発生しているとき電源
異常時のリセット期間を示す電源異常期間信号を生成す
る電源異常期間判別回路、 前記リセット信号と前記暴走期間信号に基づき、該どち
らの信号も発生していないとき正常期間を示す正常期間
信号を生成する正常期間判別回路、 前記始動期間信号,前記暴走期間信号,前記電源異常期
間信号,前記正常期間信号に基づき、該始動期間信号が
発生しているときは始動時制御用の出力を、該暴走期間
信号が発生しているときは退避制御用の出力を、該電源
異常期間信号が発生しているときは電源異常時用の出力
をそれぞれバックアップ回路の複数の出力のうちから選
択し、前記正常期間信号が発生している間は前記マイク
ロコンピュータの出力を選択し、被制御系に出力する選
択回路、 を具備したことを特徴とするエンジン制御装置。
1. When a power supply to a microcomputer for engine control is turned on, a reset signal applied to the microcomputer is set to a high level after a predetermined time has passed since the power was turned on, and when a power supply abnormality is detected, a power supply abnormality appears. In the engine control device having a reset circuit that sets the reset signal to the low level only, and sets the reset signal to the low level for a predetermined time when the microcomputer detects a runaway, in a period from when the power is turned on to when the reset signal becomes the high level. A start / runaway period determination circuit that generates a start period signal indicating a period and a runaway period signal indicating the period in which the reset signal is in an oscillating state, based on the start period signal, the runaway period signal and the reset signal , The start period signal and the runaway period signal are not generated, and the reset A power supply abnormality period determination circuit that generates a power supply abnormality period signal indicating a reset period when a power supply abnormality occurs, when neither of the signals is generated based on the reset signal and the runaway period signal A normal period determination circuit that generates a normal period signal indicating a normal period, a start period signal when the start period signal is generated based on the start period signal, the runaway period signal, the power supply abnormal period signal, and the normal period signal. Output for time control, output for save control when the runaway period signal is generated, output for power supply abnormality when the power supply abnormality period signal is generated, respectively. A selection circuit that selects from among the outputs, selects the output of the microcomputer while the normal period signal is being generated, and outputs the selected output to the controlled system. Engine control device.
JP16798585A 1985-07-29 1985-07-29 Engine controller Expired - Lifetime JPH0689709B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16798585A JPH0689709B2 (en) 1985-07-29 1985-07-29 Engine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16798585A JPH0689709B2 (en) 1985-07-29 1985-07-29 Engine controller

Publications (2)

Publication Number Publication Date
JPS6227801A JPS6227801A (en) 1987-02-05
JPH0689709B2 true JPH0689709B2 (en) 1994-11-09

Family

ID=15859665

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16798585A Expired - Lifetime JPH0689709B2 (en) 1985-07-29 1985-07-29 Engine controller

Country Status (1)

Country Link
JP (1) JPH0689709B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6476801A (en) * 1987-09-16 1989-03-22 Osumi Riko Kk Button
JPS6476802A (en) * 1987-09-16 1989-03-22 Osumi Riko Kk Button
JPH01113001A (en) * 1987-10-27 1989-05-01 Osumi Riko:Kk Button
JPH03253902A (en) * 1990-03-05 1991-11-13 Masahiko Kurata Reset device of electronic control apparatus
JP2813022B2 (en) * 1990-03-12 1998-10-22 三菱電機株式会社 Vehicle control device

Also Published As

Publication number Publication date
JPS6227801A (en) 1987-02-05

Similar Documents

Publication Publication Date Title
JP4365647B2 (en) In-vehicle electronic control unit power supply circuit
JPH0689709B2 (en) Engine controller
JP2012082693A (en) Engine control device
JPS60108567A (en) Ignition controller for internal-combustion engine
JP3154503B2 (en) Internal combustion engine control device
JP3861728B2 (en) Engine start determination device
JP2007239619A (en) Economical running control device and economical running control method
JP2715704B2 (en) Step motor control device for internal combustion engine
JPS6079173A (en) Ignition control device
JPH0373738B2 (en)
JP2002276414A (en) Power generation control device of alternator
JPH07133754A (en) Ignition controller for internal combustion engine
JP2902498B2 (en) Ignition device for internal combustion engine
JPS59190466A (en) Fuel pump control device in internal-combustion engine
JPS61149545A (en) Control device for internal-combustion engine
JP4134477B2 (en) Electronic control unit
JP2713511B2 (en) Step motor control device for internal combustion engine
JPH0587661B2 (en)
JPH08177693A (en) Ignition control mode switching device for internal combustion
JPH04318238A (en) Internal combustion engine control device
JPH0588380B2 (en)
JPS58142258A (en) Detecting circuit for abnormality of rotating speed detecting signal
JPS63183270A (en) Engine control device
JPH0588381B2 (en)
JPH068618B2 (en) Electronic fuel injection control device

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term