JPH0599061A - Controller for automobile - Google Patents

Controller for automobile

Info

Publication number
JPH0599061A
JPH0599061A JP3253826A JP25382691A JPH0599061A JP H0599061 A JPH0599061 A JP H0599061A JP 3253826 A JP3253826 A JP 3253826A JP 25382691 A JP25382691 A JP 25382691A JP H0599061 A JPH0599061 A JP H0599061A
Authority
JP
Japan
Prior art keywords
microcomputer
signal
control
circuit
reset
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
JP3253826A
Other languages
Japanese (ja)
Inventor
Koichi Ohara
孝一 大原
Kazuya Sanada
一也 真田
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 Corp
Original Assignee
NipponDenso Co 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 NipponDenso Co Ltd filed Critical NipponDenso Co Ltd
Priority to JP3253826A priority Critical patent/JPH0599061A/en
Publication of JPH0599061A publication Critical patent/JPH0599061A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To surely provide a normal output after resetting by resetting the slave side microcomputer in synchronization with an engine rotation signal by the master side microcomputer after the engine control is changed over by a back-up circuit. CONSTITUTION:This controller for an automobile is provided with a microcomputer (master side) 3 for controlling fuel injection for example and a microcomputer (slave side) 4 for controlling ignition for example. When abnormalities like a runaway take place in either one of the microcomputers 3, 4, first and second control is performed by a control output SO formed by a back-up circuit 2. That is, the microcomputers 3, 4 are monitored by a monitoring circuit 1. In the runaway of the microcomputer 3, the back-up circuit 2 executes control for both microcomputers 3, 4, while thereafter the monitoring circuit 1 resets the microcomputer 3 and then resets the microcomputer 4 in synchronization with an engine rotation signal to shift the control to the normal one.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はエンジンに関する複数種
類の制御項目を複数のマイクロコンピュ−タを用いて制
御する自動車用制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle controller for controlling a plurality of types of control items relating to an engine by using a plurality of microcomputers.

【0002】[0002]

【従来の技術】マイクロコンピュータ(以下マイコンと
呼ぶ)を用いた自動車用制御装置では、マイコンの暴走
あるいは故障に対する制御動作の補償に高い信頼性が要
求される。このため、例えば特開昭61−49154号
公報では、それぞれ主タスクと副タスクを実行可能な同
等構成の2つのマイコンを用い、正常時はそれぞれのマ
イコンが主タスクによって制御処理を実行し、一方のマ
イコンが故障すると、正常なマイコンが主タスクと副タ
スクを実行することで、正常なマイコンが、暴走等、異
常となったマイコンの制御項目の処理を代わりに行うよ
うにしている。この場合、主タスクは、それぞれが分担
した制御項目を正規に制御するプログラムであり、副タ
スクは、他方が分担した主タスクを簡略化して行うプロ
グラムである。
2. Description of the Related Art In a vehicle controller using a microcomputer (hereinafter referred to as "microcomputer"), high reliability is required for compensation of control operation against runaway or failure of the microcomputer. For this reason, for example, in Japanese Unexamined Patent Publication No. 61-49154, two microcomputers of the same configuration capable of executing a main task and a sub task are used, and when normal, each microcomputer executes the control process by the main task. When the microcomputer of (1) fails, the normal microcomputer executes the main task and the sub-task, and the normal microcomputer performs the processing of the control item of the abnormal microcomputer such as runaway instead. In this case, the main task is a program that properly controls the control items assigned to each, and the subtask is a program that simplifies the main task assigned to the other.

【0003】また、特開昭60−212655号公報で
は、1つのマイコンに対し各種センサからの直接信号を
必要な信号形式に変換して被制御対象に送出するバック
アップ回路を設け、暴走等の異常時に、監視タイマから
の信号で上記バックアップ回路を動作させ、そのバック
アップモード期間にマイコンをリセットして、そのリセ
ット期間の後、正常動作に復帰させることが記載されて
いる。このようなバックアップ回路によれば、1つのマ
イコンで複数の制御項目を扱い、バックアップ回路は、
単純なゲート回路や信号変換回路(積分回路)等により
構成でき、前者の2つのマイコンで分担するシステムよ
り安価な構成となる。
In Japanese Patent Laid-Open No. 60-212655, a backup circuit for converting a direct signal from various sensors into a required signal format and sending the signal to a controlled object is provided for one microcomputer, and an abnormality such as runaway occurs. At the same time, it is described that the backup circuit is operated by a signal from a monitoring timer, the microcomputer is reset during the backup mode period, and normal operation is restored after the reset period. According to such a backup circuit, one microcomputer handles a plurality of control items, and the backup circuit
It can be configured by a simple gate circuit, a signal conversion circuit (integration circuit), etc., and is a cheaper configuration than the former system in which two microcomputers share the same.

【0004】[0004]

【発明が解決しようとする問題点】ところで、制御の増
大により、例えば噴射に関する制御を行うマイコンと、
点火に関する制御を行うマイコンとを別々に構成する必
要がでてきている。この様なシステムでは、2つのマイ
コンが各正常に働いて噴射と点火の制御を行うようにな
っている。そこで、いずれか一方あるいは双方のマイコ
ンの異常時に対処するため、後者の先行公報のように、
2つのマイコンの機能を代行するバックアップ回路を設
けた場合、監視タイマの機能によってバックアップモー
ドに切り換わる。ところが、異常となったマイコンに対
してタイマ動作によって適当な時期(例えば、一定時間
毎)にリセットをかけると、低速回転領域では、基準ク
ランク角期間にリセットパルスが頻繁に発生してしま
い、正常点火出力(あるいは噴射出力)が連続しないた
めに、長時間を経てもバックアップモードより復帰でき
ないことがある。また、高速回転領域では、基準クラン
ク角期間に対してリセット期間が長くなり、復帰が極め
て遅れてしまうことがある。
By the way, by increasing the control, for example, a microcomputer for controlling the injection,
It has become necessary to separately configure a microcomputer that controls ignition. In such a system, two microcomputers operate normally to control injection and ignition. Therefore, in order to deal with an abnormality in either one or both microcomputers, as in the latter prior publication,
When a backup circuit that substitutes the functions of the two microcomputers is provided, the function of the monitoring timer switches to the backup mode. However, if the abnormal microcomputer is reset by a timer operation at an appropriate time (for example, at fixed time intervals), a reset pulse is frequently generated during the reference crank angle period in the low speed rotation range, and the normal Since the ignition output (or the injection output) is not continuous, it may not be possible to return from the backup mode even after a long time. Further, in the high speed rotation region, the reset period becomes longer than the reference crank angle period, and the recovery may be extremely delayed.

【0005】図7は低速回転領域での上記の復帰遅れを
説明するタイムチャートである。(A),(B)はエン
ジンの720°クランク角(CA)毎発生する、位相を
異にした2相の基準クランク角信号を表し、(C)はリ
セット信号を、(D)は点火出力を表す。リセット信号
Cは、クランク角に対して定間隔任意時刻にパルスP1
を呈する。このパルスP1によって異常となったマイコ
ンがリセットされる。リセットされたマイコンは、基準
クランク角信号A又はB中のパルスP2によって点火出
力DのパルスP3を発生する。このパルスP3が正常に
得られたときに、バックアップ回路の動作を解除し、正
常動作に復帰した本来のマイコンからの出力信号で点火
制御を行うものである。ところが、従来は、パルスP2
に対してパルスP1を発生するまでの時間T1及びパル
スP1の間隔T2を適当に定めていたため、リセットが
かかった後、パルスP2が得られるまでの間(クランク
位置が不定のため)、点火出力のパルスP3が得られ
ず、抜けを生じてしまう(点線パルス参照)。このため
リセットされたマイコンによる点火制御が行えない(バ
ックアップモードより脱出できない)ことになる。
FIG. 7 is a time chart for explaining the above-mentioned return delay in the low speed rotation region. (A) and (B) represent two-phase reference crank angle signals with different phases, which are generated at every 720 ° crank angle (CA) of the engine, (C) is a reset signal, and (D) is an ignition output. Represents. The reset signal C is a pulse P1 at a fixed interval arbitrary time with respect to the crank angle
Present. The pulse P1 resets the abnormal microcomputer. The reset microcomputer generates the pulse P3 of the ignition output D by the pulse P2 in the reference crank angle signal A or B. When the pulse P3 is normally obtained, the operation of the backup circuit is canceled, and the ignition control is performed by the output signal from the original microcomputer which has returned to the normal operation. However, conventionally, the pulse P2
However, since the time T1 until the pulse P1 is generated and the interval T2 between the pulses P1 are appropriately set, the ignition output is generated after the reset is applied until the pulse P2 is obtained (since the crank position is indefinite). Pulse P3 is not obtained, resulting in omission (see dotted line pulse). Therefore, the ignition control by the reset microcomputer cannot be performed (it cannot escape from the backup mode).

【0006】本発明は、前述の問題点を解消し、バック
アップモード中にリセットされたマイコンによる正常動
作への復帰が早い自動車用制御装置の提供を目的とす
る。
SUMMARY OF THE INVENTION It is an object of the present invention to solve the above-mentioned problems and provide a control device for an automobile, in which the microcomputer reset in the backup mode quickly returns to normal operation.

【0007】[0007]

【課題を解決するための手段】本発明は、エンジンに関
する複数種類の制御項目を分担して処理するとともに、
一方はマスター側として他方のスレーブ側をリセットす
る機能を有したマスター側及びスレーブ側マイクロコン
ピュータと、これらマスター側及びスレーブ側マイクロ
コンピュータからの所定の信号により該マスター側及び
スレーブ側マイクロコンピュータの異常を検知し、これ
らに代わってエンジンの制御を行うバックアップ回路と
を具備し、バックアップ回路によるエンジン制御の切換
えの後、前記マスター側マイクロコンピュータは、エン
ジン回転信号に同期して前記スレーブ側マイクロコンピ
ュータにリセットをかけるように構成したことを特徴と
する。
According to the present invention, a plurality of types of control items relating to an engine are shared and processed, and
One is a master side and a slave side microcomputer having a function of resetting the other slave side as a master side, and a predetermined signal from these master side and slave side microcomputers causes abnormality of the master side and slave side microcomputers. A backup circuit for detecting and controlling the engine instead of these is provided, and after switching the engine control by the backup circuit, the master side microcomputer resets to the slave side microcomputer in synchronization with the engine rotation signal. It is characterized in that it is configured to apply.

【0008】[0008]

【作用】本発明によれば、バックアップ回路によるエン
ジン制御の切換えの後、前記マスター側マイクロコンピ
ュータは、エンジン回転信号に同期して前記スレーブ側
マイクロコンピュータにリセットをかけるように構成し
たので、バックアップモード期間において、リセットパ
ルス発生後の制御出力が安定して得られるようになり、
復帰動作を速やかに行うことができる。
According to the present invention, after the engine control is switched by the backup circuit, the master side microcomputer resets the slave side microcomputer in synchronization with the engine rotation signal. In the period, the control output after the reset pulse is generated can be stably obtained,
The return operation can be performed quickly.

【0009】[0009]

【実施例】図1に本発明に係る自動車用制御装置の基本
構成を示す。本発明が適用される自動車は、例えば燃料
の噴射に関する制御(第1の制御とする)をマイコン3
で行い、例えば点火に関する制御(第2の制御とする)
をマイコン4で行っており、マイコン3及びマイコン4
のいずれか一方又は双方が暴走等の異常を生じたとき
に、バックアップ回路2で生成した制御出力SOによっ
て第1及び第2の制御を行うものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the basic configuration of a vehicle control device according to the present invention. The vehicle to which the present invention is applied is configured such that, for example, control regarding fuel injection (referred to as first control) is performed by the microcomputer 3
Control for ignition (second control)
Is performed by the microcomputer 4, and the microcomputer 3 and the microcomputer 4
When either or both of the above two or more abnormalities such as runaway occur, the first and second controls are performed by the control output SO generated by the backup circuit 2.

【0010】マイコン3は第1の制御のための信号S1
をバックアップ回路2を介して所定の被制御対象に送出
し、マイコン4は第2の制御のための信号S2を同じく
バックアップ回路2を介して所定の被制御対象に供給し
ている。また、マイコン3と4は、通信ライン5にて結
合されるとともに、マイコン3には、監視用IC1が接
続されている。マイコン3と監視用IC3は、マイコン
3より監視用IC1にウォッチドッグ信号WD1を供給
し、監視用IC1は上記ウォッチドッグ信号WD1に応
答するリセット信号RS1をマイコン3に送出するよう
になっいる。マイコン4は、例えば上記通信ライン5を
利用してマイコン3にウォッチドッグ信号WD2を供給
し、マイコン3は上記ウォッチドッグ信号WD2に応答
するリセット信号RS2を供給するようになっている。
このような構成によれば、マイコン3はマイコン4に対
してマスタ側となり、マイコン4はマイコン3に対して
スレーブ側となる。
The microcomputer 3 uses the signal S1 for the first control.
Is sent to a predetermined controlled object via the backup circuit 2, and the microcomputer 4 supplies the signal S2 for the second control to the predetermined controlled object via the backup circuit 2. The microcomputers 3 and 4 are connected by a communication line 5, and the monitoring IC 1 is connected to the microcomputer 3. The microcomputer 3 and the monitoring IC 3 supply the watchdog signal WD1 from the microcomputer 3 to the monitoring IC 1, and the monitoring IC 1 sends a reset signal RS1 in response to the watchdog signal WD1 to the microcomputer 3. The microcomputer 4 supplies the watchdog signal WD2 to the microcomputer 3 using the communication line 5, for example, and the microcomputer 3 supplies a reset signal RS2 responsive to the watchdog signal WD2.
According to such a configuration, the microcomputer 3 is on the master side with respect to the microcomputer 4, and the microcomputer 4 is on the slave side with respect to the microcomputer 3.

【0011】バックアップ回路2は、第1の制御と第2
の制御を、例えば図示しない各種センサからの直接信号
を変換して被制御対象に送出する簡略的な手法のエンジ
ン制御機能を有している。そして、通常モードでは、マ
イコン3及び4からの信号S1及びS2をそのまま被制
御対象に供給でき、バックアップモードでは上記簡略的
な手法で被制御対象を制御できるようになっている。バ
ックアップ回路2には、マイコン3からウォッチドッグ
信号WD3が供給されるとともに、バックアップ回路2
からはフェイルセーフ信号FAをマイコン3に供給する
ようになっている。上記ウォッチドッグ信号WD3は、
バックアップ回路2にマイコン3又はマイコン4の動作
を監視させるための信号であり、フェイルセーフ信号F
Aは、マイコン3にバックアップモードか否かを知らせ
る信号である。
The backup circuit 2 includes a first control circuit and a second control circuit.
The engine control function has a simple method of converting direct signals from various sensors (not shown) and sending them to the controlled object. Then, in the normal mode, the signals S1 and S2 from the microcomputers 3 and 4 can be directly supplied to the controlled object, and in the backup mode, the controlled object can be controlled by the above-mentioned simple method. The watchdog signal WD3 is supplied from the microcomputer 3 to the backup circuit 2 and the backup circuit 2
From the above, a fail-safe signal FA is supplied to the microcomputer 3. The watchdog signal WD3 is
This is a signal for causing the backup circuit 2 to monitor the operation of the microcomputer 3 or the microcomputer 4, and is a fail-safe signal F.
A is a signal that informs the microcomputer 3 whether or not it is in the backup mode.

【0012】上記構成によるマイコン3,4は、監視用
回路1によって監視され、マイコン3が暴走した場合
は、バックアップ回路2がマイコン3と4の制御を共に
代行する。そして、監視用回路1は、マイコン3にリセ
ットをかけ、続いてマイコン3がマイコン4にリセット
をかけて、第1の制御に合わせて第2の制御をマイコン
3,4による正常な制御に移行させるものである。
The microcomputers 3 and 4 having the above-mentioned configuration are monitored by the monitoring circuit 1, and when the microcomputer 3 runs out of control, the backup circuit 2 takes over the control of both the microcomputers 3 and 4. Then, the monitoring circuit 1 resets the microcomputer 3, and then the microcomputer 3 resets the microcomputer 4 to shift the second control to the normal control by the microcomputers 3 and 4 in accordance with the first control. It is what makes them.

【0013】次に、スレーブ側マイコン4が暴走した場
合の動作を図2のタイムチャートにて説明する。スレー
ブ側マイコン4が暴走すると、ウォッチドッグ信号WD
2が停止する(時刻t1参照)。マスタ側マイコン3
は、ウォッチドッグ信号WD2の停止をあるティレー時
間aの間監視する。時間aを経過してもウォッチドッグ
信号WD2が正常に戻らないときは、マイコン3はウォ
ッチドッグ信号WD3を同様に停止させる(時刻t2参
照)。バックアップ回路2は、時刻t2より時間bの間
ウォッチドッグ信号WD3が回復するのを待ち、回復し
ないときに、時刻t3に示すように、フェイルセーフ信
号FAをハイレベルからロウレベルに転移して、バック
アップモードに移る。これにより、第2の制御をバック
アップ回路2の簡略された手法で代行する。また、バッ
クアップモードへの移行の後、マイコン3は、リセット
信号RS2中にパルスP3を形成して、マイコン4にリ
セットをかける。リセット信号RS2のパルス間隔(リ
セット期間c)は、マイコン4からの信号S2が正常な
出力を示すのに充分な時間である。信号S2が正常な出
力を示さないままバックアップモードを解除すると、運
転に支障を来すことになる。
Next, the operation when the slave microcomputer 4 runs out of control will be described with reference to the time chart of FIG. When the slave side microcomputer 4 runs out of control, the watchdog signal WD
2 stops (see time t1). Master side microcomputer 3
Monitors the stop of the watchdog signal WD2 for a certain delay time a. If the watchdog signal WD2 does not return to normal even after the time a has elapsed, the microcomputer 3 similarly stops the watchdog signal WD3 (see time t2). The backup circuit 2 waits for the watchdog signal WD3 to recover from the time t2 for a time period b, and when it does not recover, transfers the fail-safe signal FA from the high level to the low level as shown at the time t3 to perform the backup. Move to mode. As a result, the second control is performed by the simplified method of the backup circuit 2. After the shift to the backup mode, the microcomputer 3 resets the microcomputer 4 by forming a pulse P3 in the reset signal RS2. The pulse interval (reset period c) of the reset signal RS2 is a time sufficient for the signal S2 from the microcomputer 4 to show a normal output. If the backup mode is released without the signal S2 indicating a normal output, the operation will be hindered.

【0014】従来は、上記リセットをかけるタイミング
とリセット期間cが適当に設定されていたため、信号S
2が正常な出力を示すのが遅れ、復帰に要する時間が長
くなるという問題があった。本発明では、上記リセット
信号RS2中にパルスP3を形成するタイミングを、エ
ンジン回転角を示す信号(本明細書ではエンジン回転信
号と称している)に同期させるようにしたものである。
Conventionally, the timing for applying the reset and the reset period c have been set appropriately, so that the signal S
However, there is a problem in that the output of 2 is delayed in normal output and the time required for recovery is long. In the present invention, the timing of forming the pulse P3 in the reset signal RS2 is synchronized with a signal indicating the engine rotation angle (referred to as an engine rotation signal in this specification).

【0015】しかして上記のようにバックアップ期間に
マスタ側からスレーブ側に対して行うリセット動作をエ
ンジン回転信号に同期させた自動車用制御装置の実施例
を、より具体的に説明する。図3は本発明に係る自動車
用制御装置の具体的な実施例の構成図である。なお、便
宜上、図1の構成と共通の要素には同一符号を記す。
An embodiment of the vehicle control device in which the reset operation performed from the master side to the slave side during the backup period as described above is synchronized with the engine rotation signal will be described more specifically. FIG. 3 is a configuration diagram of a specific embodiment of the vehicle control device according to the present invention. Note that, for convenience, the same reference numerals are given to the elements common to the configuration of FIG.

【0016】バックアップ回路2には、波形整形回路1
2を介して回転センサ11からのクランク角30°CA
毎の信号S3と、720°CA毎の2相の基準クランク
角信号S4,S5が供給されるとともに、アイドルスイ
ッチ13からのスイッチ信号13aが供給される。波形
整形回路12の出力はマスタ側マイコン3及びスレーブ
側マイコン4にも供給されるとともに、アイドルスイッ
チ13からのスイッチ信号13aはマスタ側マイコン3
へも供給されている。
The backup circuit 2 includes a waveform shaping circuit 1
Crank angle from rotation sensor 11 via 2 CA
The signal S3 for each of them and the reference crank angle signals S4, S5 of two phases for every 720 ° CA are supplied, and the switch signal 13a from the idle switch 13 is supplied. The output of the waveform shaping circuit 12 is also supplied to the master side microcomputer 3 and the slave side microcomputer 4, and the switch signal 13a from the idle switch 13 is transmitted to the master side microcomputer 3 as well.
Is also supplied to.

【0017】マスタ側マイコン3は主に噴射制御を行な
っており、バッファ14及びA/D変換器15を経た水
温センサ16,スロットルポジションセンサ17及びエ
アフロメータ18等からのセンサ信号に基づく検出信号
15aを取り込むようになっている。これら各種検出信
号15aに基づいて形成される噴射制御信号S1は、バ
ックアップ回路2に入力され、マイコン正常時は、噴射
制御信号S1が制御出力SO1となって駆動回路19を
介して燃料噴射弁20を作動させる。
The master side microcomputer 3 mainly performs injection control, and a detection signal 15a based on sensor signals from the water temperature sensor 16, the throttle position sensor 17, the air flow meter 18 and the like that have passed through the buffer 14 and the A / D converter 15. Is designed to take in. The injection control signal S1 formed based on these various detection signals 15a is input to the backup circuit 2, and when the microcomputer is normal, the injection control signal S1 becomes the control output SO1 and the fuel injection valve 20 via the drive circuit 19. Operate.

【0018】スレーブ側マイコン4は、主に点火制御を
行なっており、マスタ側マイコン3とは通信ライン6及
びリセット信号RS2のラインで接続されている。波形
整形回路12からの出力に基づいて形成される点火制御
信号S2はバックアップ回路2に入力され、マイコン正
常時は、点火制御信号S2が点火制御出力SO2となっ
て駆動回路19を介してイグナイタ21を駆動させる。
The slave-side microcomputer 4 mainly performs ignition control, and is connected to the master-side microcomputer 3 through a communication line 6 and a reset signal RS2 line. The ignition control signal S2 formed based on the output from the waveform shaping circuit 12 is input to the backup circuit 2, and when the microcomputer is normal, the ignition control signal S2 becomes the ignition control output SO2 and the igniter 21 via the drive circuit 19. Drive.

【0019】しかして、バックアップ回路2は、常に点
火制御信号S2と、マスタ側マイコン3より出力される
ウォッチドッグ信号WD3とを監視しており、そのどち
らかが異常の場合、各マイコン3,4より出力される噴
射制御信号S1及び点火制御信号S2を無視し、波形整
形回路12を介して供給される基準クランク角信号S
4,S5又は30℃A信号S3と、アイドルスイッチ1
3からのスイッチ信号13aとにより作成されるパルス
を制御出力SO1,SO2として駆動回路19に供給し
ている。またそれと同時にバックアップ回路2はバック
アップモードに切替ったことをフェイルセーフ信号FA
により、マイコン3に伝達する。このときの制御出力S
O1,SO2は、水温センサ16等の情報が無いため、
正常時の様な精密な制御はできないが、車両が走行する
のに最低限必要な情報を含む。
However, the backup circuit 2 constantly monitors the ignition control signal S2 and the watchdog signal WD3 output from the master side microcomputer 3, and when either of them is abnormal, the respective microcomputers 3 and 4 are monitored. The injection control signal S1 and the ignition control signal S2 output from the reference crank angle signal S supplied via the waveform shaping circuit 12 are ignored.
4, S5 or 30 ° C A signal S3 and idle switch 1
The pulse generated by the switch signal 13a from 3 is supplied to the drive circuit 19 as control outputs SO1 and SO2. At the same time, the backup circuit 2 indicates that the switching to the backup mode has failed fail signal FA.
Is transmitted to the microcomputer 3. Control output S at this time
O1 and SO2 do not have information on the water temperature sensor 16, etc.
It does not allow precise control like in normal operation, but contains the minimum information required for the vehicle to drive.

【0020】22はバッテリであり、IGスイッチ23
がONされると、電源回路24に入力電圧を供給する。
電源回路24は、図1の構成において、監視用回路1に
相当する。この場合、IGスイッチ23がOFFからO
Nに切替えられたとき(運転開始時)、又はマイコン3
からのウォッチドッグ信号WD1が異常を示すときに、
リセット信号RS1中にパルスを形成してマイコン3に
対しリセットをかけるようになっている。
Reference numeral 22 is a battery, and the IG switch 23
When is turned on, the input voltage is supplied to the power supply circuit 24.
The power supply circuit 24 corresponds to the monitoring circuit 1 in the configuration of FIG. In this case, the IG switch 23 goes from OFF to O
When switched to N (at the start of operation), or the microcomputer 3
When the watchdog signal WD1 from
A pulse is formed in the reset signal RS1 to reset the microcomputer 3.

【0021】図4及び図5は上記実施例のフロ−チャ−
トを示す。例えばマイコン4が暴走したとする。通常は
図2の点火制御信号S2のパルスも停止するはずである
ので、例えば、点火制御信号S2のパルスが6個連続し
て抜けたときバックアップモードに切替る。ただし、点
火制御信号S2が正常に出力されている状態での暴走も
考えられる(例えば、ベ−スル−チンが暴走して、噴射
・点火制御の割込処理のみ正常に行なっている場合、点
火出力は、割込にて行っているので、信号S2による異
常判定はできない)ので、ウォッチドッグ信号WD3が
パルスを出力しないことを判定する必要がある。そこで
図2に示したマイコン4のウォッチドッグ信号WD2が
異常となったことをマイコン3が認識したら、図4のス
テップ201→202→204の処理により、マイコン
3からバックアップ回路2へのウォッチドッグ信号WD
3を停止させ、例えば96mS以上反転しないことを判
定して噴射・点火制御をバックアップ状態に切替る。こ
の後、図5の判定ステップ205により、バックアップ
モードに切替ったことを検出した後に、マイコン4に対
してリセットパルスP1を出力する(ステップ20
6)。これにより、リセットをかけた時は、点火出力は
バックアップ回路2により行なっているため、点火抜け
は起きない。なお、図4でステップ201→203の処
理は通常モードの流れである。
4 and 5 show the flow chart of the above embodiment.
Indicates the For example, assume that the microcomputer 4 has runaway. Normally, the pulse of the ignition control signal S2 shown in FIG. 2 should also be stopped, so that, for example, when six pulses of the ignition control signal S2 are continuously missing, the backup mode is switched to. However, a runaway in a state where the ignition control signal S2 is normally output is also conceivable (for example, when the base routine runs out of control and only the interrupt process of the injection / ignition control is normally performed, the ignition is performed. Since the output is performed by interruption, the abnormality determination based on the signal S2 cannot be performed.) Therefore, it is necessary to determine that the watchdog signal WD3 does not output a pulse. Therefore, when the microcomputer 3 recognizes that the watchdog signal WD2 of the microcomputer 4 shown in FIG. 2 has become abnormal, the watchdog signal from the microcomputer 3 to the backup circuit 2 is processed by steps 201 → 202 → 204 of FIG. WD
3, the injection / ignition control is switched to the backup state when it is determined that, for example, 96 mS or more is not reversed. After that, in the determination step 205 of FIG. 5, after detecting that the backup mode has been switched to, the reset pulse P1 is output to the microcomputer 4 (step 20).
6). As a result, when the reset is applied, the ignition output is performed by the backup circuit 2, so that the ignition omission does not occur. Note that the process of steps 201 → 203 in FIG. 4 is the flow of the normal mode.

【0022】次に、マイコン4をリセットし正常に復帰
させる。しかし、従来のように不定期にリセットする
と、それにより失火する可能性があり、かえって運転性
能に悪影響を及ぼしてしまう。図6は、本発明によるバ
ックアップモード時のタイムチャートであり、S4,S
5はそれぞれ2相の基準クランク角信号を示し、S3は
30°CAクランク角信号を、S2は点火制御信号を、
RS2はリセット信号を示す。
Next, the microcomputer 4 is reset to return to normal. However, if it is reset irregularly as in the conventional case, it may cause a misfire, which adversely affects the driving performance. FIG. 6 is a time chart in the backup mode according to the present invention.
Reference numerals 5 and 2 respectively represent a two-phase reference crank angle signal, S3 is a 30 ° CA crank angle signal, S2 is an ignition control signal,
RS2 indicates a reset signal.

【0023】本実施例では、リセット信号RS2のパル
ス周期Tcが基準クランク角信号S4,S5のパルスP
2の周期に同期している。しかも、リセットパルスP3
が出現する時期を、基準クランク角信号S4,S5のパ
ルスP2の直前としている。これにより、マイコン4の
リセット動作によって抜ける点火出力パルスP3は、高
々1つないし2つ(図では1つとしている)となり、そ
れ以降に連続するパルスP3は正常に得られる。これ
は、従来のように不定期にリセットした場合のタイムチ
ャート(図7)と比較するとよくわかる。
In this embodiment, the pulse period Tc of the reset signal RS2 is the pulse P of the reference crank angle signals S4 and S5.
It is synchronized with the cycle of 2. Moreover, the reset pulse P3
Appears immediately before the pulse P2 of the reference crank angle signals S4 and S5. As a result, the number of ignition output pulses P3 that escape through the reset operation of the microcomputer 4 is at most one or two (there is one in the figure), and the pulse P3 that follows thereafter is normally obtained. This can be clearly understood by comparing with a time chart (FIG. 7) in the case of resetting irregularly as in the conventional case.

【0024】そこで、バックアップ回路2は、パルスP
3が例えば〜の様に3個連続して出力されれば、点
火正常と判定する。この場合のリセットパルスP1は、
クランク速度に対応しているため、周期Tcは低回転で
は長く、高回転では短くなり、回転速度に拘泥すること
なく、その間に連続的な点火パルスP3が得られること
になる。異常が継続している場合は、さらに720℃A
の後にリセットをかける。
Therefore, the backup circuit 2 uses the pulse P
If three 3 are continuously output as shown by, for example, it is determined that the ignition is normal. The reset pulse P1 in this case is
Since the cycle Tc corresponds to the crank speed, the cycle Tc is long at low rotations and short at high rotations, and a continuous ignition pulse P3 is obtained during that period without being concerned with the rotation speed. If the abnormality continues, 720 ℃ A
Reset after.

【0025】以上により、点火に関する制御を行ってい
るスレーブ側マイコン4が暴走したとき、点火出力が抜
けることなくバックアップモ−ドに移行し、正常動作へ
も速やかに復帰することができる。なお、図6のタイム
チャートでは6気筒のエンジンについて説明している。
As described above, when the slave side microcomputer 4 which controls ignition is out of control, the ignition output is not lost and the backup mode is entered, so that the normal operation can be promptly restored. The time chart of FIG. 6 describes a 6-cylinder engine.

【0026】[0026]

【発明の効果】以上説明したように本発明にれば、噴射
・点火制御をバックアップモ−ドに移行させた後、エン
ジンの回転同期にて、暴走したマイコンにリセットをか
けることにより、運転に支障がなく速やかに正常復帰さ
せることができる。
As described above, according to the present invention, after the injection / ignition control is shifted to the backup mode, the runaway microcomputer is reset in synchronization with the rotation of the engine to start the operation. It can return to normal quickly without any trouble.

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

【図1】 本発明の基本構成を説明する構成図FIG. 1 is a configuration diagram illustrating a basic configuration of the present invention.

【図2】 図1の動作を説明するタイムチャートFIG. 2 is a time chart explaining the operation of FIG.

【図3】 本発明の具体的実施例を示す構成図FIG. 3 is a configuration diagram showing a specific embodiment of the present invention.

【図4】 図3の実施例のバックアップモードへの移行
動作を示すフローチャート
FIG. 4 is a flowchart showing the operation of shifting to the backup mode in the embodiment of FIG.

【図5】 図3の実施例の復帰動作を示すフローチャー
5 is a flowchart showing a return operation of the embodiment of FIG.

【図6】 図3の実施例におけるバックアップモード時
の動作を示すタイムチャート
FIG. 6 is a time chart showing the operation in the backup mode in the embodiment of FIG.

【図7】 従来のバックアップモード時の動作を示すタ
イムチャート
FIG. 7 is a time chart showing the operation in the conventional backup mode.

【符号の説明】[Explanation of symbols]

1…監視用回路、2…バックアップ回路、3…マスタ側
マイコン、4…スレーブ側マイコン、5…通信ライン。
11…回転センサ、13…アイドルスイッチ、16…水
温センサ、17…スロットルポジションセンサ、18…
エアフロメータ、19…駆動回路、20…燃料噴射弁、
21…イグナイタ、22…バッテリ、23…IGスイッ
チ、24…電源回路。WD3…ウォッチドッグ信号、F
A…フェイルセーフ信号、RS2…リセット信号、S
1,S2…制御信号、S3,S4,S5…クランク角信
号。
1 ... Monitoring circuit, 2 ... Backup circuit, 3 ... Master side microcomputer, 4 ... Slave side microcomputer, 5 ... Communication line.
11 ... Rotation sensor, 13 ... Idle switch, 16 ... Water temperature sensor, 17 ... Throttle position sensor, 18 ...
Air flow meter, 19 ... Drive circuit, 20 ... Fuel injection valve,
21 ... Igniter, 22 ... Battery, 23 ... IG switch, 24 ... Power supply circuit. WD3 ... Watchdog signal, F
A ... Fail-safe signal, RS2 ... Reset signal, S
1, S2 ... Control signal, S3, S4, S5 ... Crank angle signal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 エンジンに関する複数種類の制御項目を
分担して処理するとともに、一方はマスター側として他
方のスレーブ側をリセットする機能を有したマスター側
及びスレーブ側マイクロコンピュータと、 これらマスター側及びスレーブ側マイクロコンピュータ
からの所定の信号により該マスター側及びスレーブ側マ
イクロコンピュータの異常を検知し、これらに代わって
エンジンの制御を行うバックアップ回路とを具備し、 前記バックアップ回路によるエンジン制御の切換えの
後、前記マスター側マイクロコンピュータは、エンジン
回転信号に同期して前記スレーブ側マイクロコンピュー
タにリセットをかけるように構成したことを特徴とする
自動車用制御装置。
1. A master-side microcomputer and a slave-side microcomputer each having a function of sharing a plurality of types of control items related to an engine and processing the other, and resetting the other slave side as one master side, and these master side and slaves. A microcomputer which detects an abnormality of the master side and slave side microcomputers by a predetermined signal from the side microcomputer, and which has a backup circuit for controlling the engine instead of these, after switching the engine control by the backup circuit, The control device for an automobile, wherein the master side microcomputer is configured to reset the slave side microcomputer in synchronization with an engine rotation signal.
JP3253826A 1991-10-01 1991-10-01 Controller for automobile Pending JPH0599061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3253826A JPH0599061A (en) 1991-10-01 1991-10-01 Controller for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3253826A JPH0599061A (en) 1991-10-01 1991-10-01 Controller for automobile

Publications (1)

Publication Number Publication Date
JPH0599061A true JPH0599061A (en) 1993-04-20

Family

ID=17256674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3253826A Pending JPH0599061A (en) 1991-10-01 1991-10-01 Controller for automobile

Country Status (1)

Country Link
JP (1) JPH0599061A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1173203A (en) * 1997-08-29 1999-03-16 Denso Corp Electronic control unit
JPH11294238A (en) * 1998-04-15 1999-10-26 Denso Corp Fuel control device for diesel engine
JP2003167601A (en) * 2001-11-30 2003-06-13 Denso Corp Electronic controller for vehicle
JP2003222053A (en) * 2002-01-30 2003-08-08 Denso Corp Electronic control unit for vehicle
JP2003328827A (en) * 2002-05-14 2003-11-19 Toyota Motor Corp Vehicular control system
WO2018225352A1 (en) * 2017-06-05 2018-12-13 日立オートモティブシステムズ株式会社 Vehicle control apparatus and vehicle control system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1173203A (en) * 1997-08-29 1999-03-16 Denso Corp Electronic control unit
JPH11294238A (en) * 1998-04-15 1999-10-26 Denso Corp Fuel control device for diesel engine
JP2003167601A (en) * 2001-11-30 2003-06-13 Denso Corp Electronic controller for vehicle
JP2003222053A (en) * 2002-01-30 2003-08-08 Denso Corp Electronic control unit for vehicle
JP2003328827A (en) * 2002-05-14 2003-11-19 Toyota Motor Corp Vehicular control system
US7096112B2 (en) 2002-05-14 2006-08-22 Toyota Jidosha Kabushiki Kaisha Control apparatus for vehicle
WO2018225352A1 (en) * 2017-06-05 2018-12-13 日立オートモティブシステムズ株式会社 Vehicle control apparatus and vehicle control system
JPWO2018225352A1 (en) * 2017-06-05 2020-03-19 日立オートモティブシステムズ株式会社 Vehicle control device and vehicle control system
US11173922B2 (en) 2017-06-05 2021-11-16 Hitachi Astemo, Ltd. Vehicle control device and vehicle control system

Similar Documents

Publication Publication Date Title
JPH0717007Y2 (en) Vehicle speed sensor-Abnormality detection device
US4835671A (en) Communication control unit providing isolation of failure condition of electronic control unit
JP2010285001A (en) Electronic control system and functional agency method
JPS63183254A (en) Monitor for computer system with two processor
JPH0510201A (en) Car controlling method
JPS63100843A (en) Communication control device
JPH11294252A (en) Electronic control device
JPH09154181A (en) Overall controller for automobile
JP2000066963A (en) Device for diagnosing memory for microcomputer
CA2530149C (en) Starting control method, duplex platform system, and information processor
JPH0599061A (en) Controller for automobile
JPH07293320A (en) Electronic controller
JP2880364B2 (en) Automotive engine control device
JP3916495B2 (en) Controller with fail-safe function
JP2001195318A (en) Extension unit and electronic controller
JP4558111B2 (en) Data change method for triple fault tolerant system
JP3370387B2 (en) Abnormality countermeasure method in a multi-CPU vehicle control computer system
JPH06305376A (en) Control device for vehicle
JPH09120368A (en) Cpu monitor device
JP2003106211A (en) Controllable for automobile internal combustion engine
JPS60112103A (en) Hybrid controller
JPH04284165A (en) Trouble diagnosing system for starter system
JPS58197551A (en) Function checking system of on-vehicle digital computer device
JPH07253802A (en) Duplicate system for controller
JP3255957B2 (en) Automotive electronic control unit