JPH0135180B2 - - Google Patents

Info

Publication number
JPH0135180B2
JPH0135180B2 JP56057024A JP5702481A JPH0135180B2 JP H0135180 B2 JPH0135180 B2 JP H0135180B2 JP 56057024 A JP56057024 A JP 56057024A JP 5702481 A JP5702481 A JP 5702481A JP H0135180 B2 JPH0135180 B2 JP H0135180B2
Authority
JP
Japan
Prior art keywords
engine
signal
result
abnormality
transistor
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
Application number
JP56057024A
Other languages
Japanese (ja)
Other versions
JPS57173569A (en
Inventor
Akira Teragakinai
Yasunori Mori
Osamu Abe
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5702481A priority Critical patent/JPS57173569A/en
Publication of JPS57173569A publication Critical patent/JPS57173569A/en
Publication of JPH0135180B2 publication Critical patent/JPH0135180B2/ja
Granted legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02PIGNITION, OTHER THAN COMPRESSION IGNITION, FOR INTERNAL-COMBUSTION ENGINES; TESTING OF IGNITION TIMING IN COMPRESSION-IGNITION ENGINES
    • F02P17/00Testing of ignition installations, e.g. in combination with adjusting; Testing of ignition timing in compression-ignition engines
    • F02P17/02Checking or adjusting ignition timing

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は、マイクロコンピユータ搭載のエンジ
ン制御装置を備えた自動車用ガソリンエンジンな
どにおける点火システムの故障診断装置に関す
る。 大気汚染の防止による環境保全なエネルギー資
源の枯渇に関心が高まるにつれ、自動車用ガソリ
ンエンジンの運転状態を総合的に制御して排気ガ
スの状態を良くし、燃比の改善が図れるようにし
た制御装置が望まれるようになり、そのため、マ
イコン(マイクロコンピユータ)を用い、冷却水
温センサ、排気ガス中の酸素濃度を与えるO2
ンサなど、エンジンの運転状態を表わす各種のデ
ータを与えるセンサからの信号を取り込み、燃料
供給量や点火時期、又は排気ガス環流量やアイド
ル回転数など種々の制御を行なつて常に最適なエ
ンジンの運転状態が得られるようにして、電子式
エンジン制御装置(EECという)が使用される
ようになつてきた。 このようなEECを燃料噴射タイプの内燃機関
に適用したシステムの一例を第1図ないし第6図
に示す。 第1図はエンジンの制御系全体を概括的に示し
た一部断面図で、図において、吸入空気はエアク
リーナ02、スロツトルチヤンバ04、吸気管0
6を通り、シリンダ08へ供給される。シリンダ
08で燃焼したガスは、シリンダ08から排気管
10を通り、大気中へ排出される。 スロツトルチヤンバ04には、燃料を噴射する
ためのインジエクタ12が設けられており、この
インジエクタ12から噴出した燃料はスロツトル
チヤンバ04の空気通路内で霧化され、吸入空気
と混合して混合気を形成し、この混合気は吸気管
06を通つて、吸気弁20の開弁により、シリン
ダ08の燃焼室へ供給される。 インジエクタ12の出口近傍には絞り弁14,
16が設けられている。絞り弁14は、アクセル
ペダルと機械的に連動するように構成され、運転
者により駆動される。一方、絞り弁16はダイヤ
フラム18により駆動されるように配置され、空
気流量が小の領域で全閉状態となり、空気流量が
増大するにつれてダイヤフラム18への負圧が増
大することにより絞り弁16は開き始め、吸入抵
抗の増大を抑止する。 スロツトルチヤンバ04の絞り弁14,16の
上流には空気通路22が設けられ、この空気通路
22には電気的発熱体からなる熱式空気流量計、
即ち流量センサ24が配設され、空気流速と発熱
体の伝熱量との関係から定まる空気流速に応じて
変化する電気信号AFが取り出される。この発熱
体(ホツトワイヤ)からなる流量センサ24はバ
イパス空気通路22内に設けられているので、シ
リンダ08のバツクフアイア時に生じる高温ガス
から保護されると共に、吸入空気中のごみなどに
よつて汚染されることからも保護される。このバ
イパス空気通路22の出口はベンチユリの最狭部
近傍に開口され、その入口はベンチユリの上流側
に開口されている。 インジエクタ12に供給される燃料は、燃料タ
ンク30からフユーエルポンプ32、フユーエル
ダンパ34及びフイルタ36を介して燃圧レギユ
レータ38へ供給される。一方、燃圧レギユレー
タ38からはインジエクタ12へパイプ40を介
して加圧燃料が供給され、そのインジエクタ12
から燃料が噴射される吸気管06の圧力と上記イ
ンジエクタ12への燃料圧の差が常に一定になる
ように、燃圧レギユレータ38から燃料タンク3
0へリターンパイプ42を介して燃料が戻される
ようになつている。 吸気弁20から吸入された混合気はピストン5
0により圧縮され、点火プラグ52によるスパー
クにより燃焼し、この燃焼は運動エネルギに変換
される。シリンダ08は冷却水54により冷却さ
れ、この冷却水の温度は水温センサ56により計
測され、この計測値TWはエンジン温度として利
用される。点火プラグ52には点火コイル58よ
り点火タイミングに合わせて高電圧が供給され
る。 また、図示しないクランク軸にはエンジンの回
転に応じて基準クランク角毎におよび一定角度
(例えば0.5度)毎に基準角信号およびポジシヨン
信号を出すクランク角センサが設けられている。 このクランク角センサの出力、水温センサ56
の出力信号TW及び発熱体24からの電気信号
AFはマイクロコンピユータなどからなる制御回
路60に入力されて演算処理され、この制御回路
60の出力によつてインジエクタ12及び点火コ
イル58が駆動される。 さらに、スロツトルチヤンバ04には絞り弁1
6を跨いで吸気管06に連通するバイパス26が
設けられ、このバイパス26には開閉制御される
バイパスバルブ61が設けられている。 このバイパスバルブ61は絞り弁16を迂回し
て設けられたバイパス26に臨ませられ、パルス
電流によつて開閉制御され、そのリフト量により
バイパス26の断面積を変更するもので、このリ
フト量は制御回路60の出力によつて駆動部が駆
動され制御される。即ち、制御回路60によつて
駆動部の制御のため開閉周期信号が発生され、駆
動部はこの開閉周期信号によつてバイパスバルブ
61のリフト量を調節する。 従つて、第1図のインジエクタ12を制御して
空燃比(A/F)の制御と燃料増量制御とを行な
い、バイパスバルブ61とインジエクタ12によ
りアイドル時のエンジン・スピード制御(ISC)
を行なう。 第2図は点火装置を示し、増幅器62を介して
パワー・トランジスタ64へパルス電流が供給さ
れ、この電流によりトランジスタ64はONす
る。これによりバツテリ66より点火コイル58
へ一次コイル電流が流れる。入力パルス電流の立
ち下がりでトランジスタ64は遮断状態となり、
点火コイル58の二次コイルに高電圧を発生す
る。 この高電圧は配電器70を介してエンジンの各
シリンダにある点火プラグ52のそれぞれにエン
ジン回転に同期して高電圧を配電する。 第3図は排気ガス環流(EGR)システムを説
明するためのもので、負圧源80の一定負圧が制
圧弁84を介して制御弁86へ加えられる。制圧
弁84はトランジスタ90に加えられる繰返しパ
ルスのONデユーテイ比率に応じ、一定負圧源の
負圧を大気88へ開放に対する比率を制御し、制
御弁86への負圧の印加状態を制御する。従つて
制御弁86へ加えられる負圧はトランジスタ90
のONデユーテイ比率で定まるこの制圧弁84の
制御負圧により排気管10から吸気管06への
EGR量が制御される。 第4図はマイコンを用いた制御システムの全体
構成図で、セントラル・プロセツシング・ユニツ
ト102(以下CPUと記す)とリード・オン
リ・メモリ104(以下ROMと記す)とランダ
ム・アクセス・メモリ106(以下RAMと記
す)と入出力回路108とから構成されている。
上記CPU102はROM104内に記憶された各
種のプログラムにより、入出力回路108からの
入力データを演算し、その演算結果を再び入出力
回路108へ戻す。これらの演算に必要な中間的
な記憶はRAM106を使用する。CPU102,
ROM104,RAM106、入出力回路108
間の各種データのやり取りはデータ・バスとコン
トロール・バスとアドレス・バスからなるバスラ
イン110によつて行なわれる。 入出力回路108には第1のアナログ・デイジ
タル・コンバータ122(以下ADC1と記す)
と第2のアナログ・デイジタル・コンバータ12
4(以下ADC3と記す)と角度信号処理花路1
26と1ビツト情報を入出力する為のデイスクリ
ート入出力回路128(以下DIOと記す)との入
力手段を持つ。 ADC1にはバツテリ電圧検出センサ132
(以下VBSと記す)と冷却水温センサ56(以下
TWSと記す)と大気温センサ136(以下TAS
と記す)と調整電圧発生器138(以下VRSと
記す)とスロツトル角センサ140(以下θTHS
と記す)とO2センサ142(以下O2Sと記す)と
の出力がマルチ・プレクサ162(以下MPXと
記す)に加えられ、MPX162によりこの内の
1つを選択してアナログ・デイジタル・変換回路
164(以下ADCと記す)へ入力する。ADC1
64の出力であるデイジタル値はレジスタ166
(以下REGと記す)に保持される。 また負圧センサ144(以下VSCと記す)は
ADC2,124へ入力され、アナログ・デイジ
タル・変換回路172(以下ADCと記す)を介
してデイジタル変換されレジスタ124(以下
REGと記す)へセツトされる。 角度センサ146(以下ANGSと記す)から
は基準クランク角例えば180度クランク角を示す
信号(以下REFと記す)と微少例えば1度クラ
ンク角を示す信号(以下POSと記す)とが出力
され、角度信号処理回路126へ加えられ、ここ
で波形整形される。 DIO128には絞り弁14が全閉位置に戻つて
いるときに動作するアイドル・スイツチ148
(以下IDLE−SEと記す)とトツプ・ギヤ・スイ
ツチ150(以下TOP−SWと記す)とスター
タ・スイツチ152(以下START−SWと記す)
とが入力されている。 流量センサ24(以下AFSと記す)はADC2
へ入力され、アナログ・デイジタル・変換回路1
72(以下ADCと記す)を介してデイジタル変
換されレジスタ174(以下REGと記す)へセ
ツトされる。 次にCPUの演算結果に基づくパルス出力回路
および制御対象について説明する。インジエクタ
制御回路(INJCと記す)は演算結果のデイジタ
ル値をパルス出力に変換する回路である。従つて
燃料噴射量に相当したパルス幅を有するパルス
INJがINJC1134で作られ、ANDゲート11
36を介してインジエクタ12へ印加される。 点火パルス発生回路1138(以下IGNCと記
す)は点火時期をセツトするレジスタ(ADVと
記す)と点火コイルの1次電流通電開始時間をセ
ツトするレジスタ(DWLと記す)とを有し、
CPUよりこれらデータがセツトされる。セツト
されたデータに基づいてパルスIGNを発生し、
第2図に詳述した増幅器62へANDゲート11
40を介してこのパルスICNを加える。 バイパスバルブ61の開弁率は制御回路(以下
ISCCと記す)1142からANDゲート1144
を介して加えられるパルスISCによつて制御され
る。ISCC1142はパルス幅をセツトするレジ
スタISDCと繰返しパルス周期をセツトするレジ
スタISCPとを持つている。 第3図に示したEGR制御弁86を制御するト
ランジスタ90を制御するEGR量制御バルス発
生回路180(以下EGRCと記す)にはパルスの
デユーテイを表わす値をセツトするレジスタ
EGRDとパルスの繰返し周期を表わす値をセツト
するレジスタEGRPとを有している。このEGRC
の出力パルスEGRはANDゲート1156を介し
てトランジスタ90に加えられる。 また1ビツトの入出力信号は回路DIO128に
より制御される。入力信号としてはIDLE−SW
信号、TOP−SW信号、START−SW信号があ
る。また出力信号としては燃料ポンプを駆動する
ためのパルス出力信号がある。このDIOは端子を
入力端子として使用するか、出力端子として使用
するかを決定するためのレジスタDDR192と、
出力データをラツチするためのレジスタDOUT
194とが設けられている。 モードレジスタ1160は入出力回路108内
部の色々な状態を指令する命令を保持するレジス
タ(以下MODと記す)であり、例えばこのモー
ドレジスタ1160に命令セツトすることによ
り、ANDゲート1136,1140,1144,
1156を総て動作状態にさせたり、不動作状態
にさせたりする。このようにMODレジスタ11
60に命令をセツトすることにより、INJCや
IGNC、ISCCの出力の停止や起動を制御できる。 DIO128は上述の如く、1ビツト信号の入出
力回路で、入力あるいは出力を決定するためのデ
ータを保持するレジスタ(以下DDRと記す)1
92と出力するデータを保持するたのレジスタ1
94(以下DOUTと記す)とを有している。こ
のDIO128よりフユーエル・ポンプ32を制御
するための信号DIO0が出力される。 第5図は第4図の制御回路のプログラムシステ
ム図である。キー・スイツチ(図示せず)により
電源がONするとCPU102はスタート・モード
となり、イニシヤライズ・プログラム
(INITIALIZ)204を実行する。次に監視プロ
グラム(MONIT)206を実行し、バツク・グ
ラウンド・ジヨブ(BRCK GROUND JOB)2
08を実行する。このバツク・グラウンド・ジヨ
ブとして例えばEGR量の計算タスク(以下EGR
CAL TASKと記す)や暖機運転状態でのバイパ
スバルブ61とインジエクタ12の計算タスク
(以下FISCと記す)を実行する。このTASKの実
行中、割込要因(以下IRQと記す)が発生すると
IRQの開示ステツプ222より、IRQ要因分析プ
ログラム224(以下IRQ ANALと記す)を実
行する。このIRQ ANALのプログラムはさらに
ADC1の終了割込処理(以下ADC1 FND
IRQと記す)プログラム226とADC2の割了
割込処理(以下INTV IRQと記す)プログラム
とエンジン停止割込処理(以下FNST IRQと記
す)プログラムからなり、後述する各タスクの起
動の必要なタスクにそれぞれ起動要求(以下
QUEUEと記す)を出す。 このIRQ ANALプログラム224内の各プロ
グラムADC1END IRQ226やADC2END
IRQ228や、INTV IRQ230の各プログラ
ムによりQUEUEが出される各タスクはレベル・
ゼロ・タスク群252やレベル1タスク群254
やレベル2タスク群256やレベル3タスク群2
58であるか、あるいは該タスク群を構成するタ
スクである。またENST IRQプログラム232
によるQUEUEが発生するタスクはエンジン停止
時の処理タスク262(以下ENST TASKと記
す)である。このENST TASK262が実行さ
れると再び制御システムはスタート・モードとな
り、開始点202へ戻る。 タスク・スケジユーラ242はQUEUEの発生
しているタスク群かあるいは実行中断タスク群の
内レベルの高いタスク群(ここではレベル・ゼロ
を最高とする)から実行するように、タスク群の
実行序順を決定する。タスク群の実行が終了する
と終了報告プログラム260(以下EXITと記
す)により終了報告される。この終了報告によ
り、実行待ちになつているタスク群の内の最もレ
ベルの高いタスク群を次に実行する。 実行中断タスク群やQUEUEの発生しているタ
スク群がなくなるとタスク・スケジユーラ242
より再びバツク・グラウンド・ジヨブ208の実
行へ移る。さらにレベル・ゼロ・タスク群からレ
ベル3タスク群のどれかを実行中にIRQが発生す
るとIRQ処理プログラムの開始点222へ戻る。 第1表に各タスクの起動とその機能を示す。
The present invention relates to a failure diagnosis device for an ignition system in an automobile gasoline engine, etc., which is equipped with an engine control device equipped with a microcomputer. As interest in depleting environmentally friendly energy resources increases by preventing air pollution, a control device that comprehensively controls the operating conditions of automotive gasoline engines to improve exhaust gas conditions and improve the fuel ratio. As a result, microcomputers are being used to collect signals from sensors that provide various data that represent the operating status of the engine, such as a cooling water temperature sensor and an O2 sensor that provides the oxygen concentration in exhaust gas. The electronic engine control device (EEC) performs various controls such as fuel intake, fuel supply amount, ignition timing, exhaust gas recirculation amount, and idle speed, so that the optimal engine operating condition is always obtained. It has come to be used. An example of a system in which such EEC is applied to a fuel injection type internal combustion engine is shown in FIGS. 1 to 6. Fig. 1 is a partial cross-sectional view schematically showing the entire engine control system.
6 and is supplied to cylinder 08. The gas burned in the cylinder 08 passes through the exhaust pipe 10 from the cylinder 08 and is discharged into the atmosphere. The throttle chamber 04 is provided with an injector 12 for injecting fuel, and the fuel injected from the injector 12 is atomized within the air passage of the throttle chamber 04 and mixed with intake air. A mixture is formed, and this mixture is supplied to the combustion chamber of the cylinder 08 through the intake pipe 06 when the intake valve 20 is opened. A throttle valve 14 is located near the outlet of the injector 12.
16 are provided. The throttle valve 14 is configured to be mechanically interlocked with the accelerator pedal and is driven by the driver. On the other hand, the throttle valve 16 is arranged so as to be driven by the diaphragm 18, and is fully closed when the air flow rate is small.As the air flow rate increases, the negative pressure on the diaphragm 18 increases, so that the throttle valve 16 It begins to open and suppresses the increase in inhalation resistance. An air passage 22 is provided upstream of the throttle valves 14 and 16 of the throttle chamber 04, and this air passage 22 includes a thermal air flow meter consisting of an electric heating element,
That is, a flow rate sensor 24 is provided, and an electric signal AF that changes depending on the air flow rate determined from the relationship between the air flow rate and the amount of heat transferred from the heating element is taken out. Since the flow rate sensor 24 made of this heating element (hot wire) is installed in the bypass air passage 22, it is protected from high-temperature gas generated when the cylinder 08 backfires, and it is also protected from being contaminated by dust in the intake air. It is also protected from. The outlet of this bypass air passage 22 is opened near the narrowest part of the bench lily, and the inlet thereof is opened on the upstream side of the bench lily. Fuel supplied to the injector 12 is supplied from a fuel tank 30 to a fuel pressure regulator 38 via a fuel pump 32, a fuel damper 34, and a filter 36. On the other hand, pressurized fuel is supplied from the fuel pressure regulator 38 to the injector 12 via a pipe 40.
The fuel pressure regulator 38 is connected to the fuel tank 3 so that the difference between the pressure in the intake pipe 06 through which fuel is injected and the fuel pressure to the injector 12 is always constant.
Fuel is returned to zero via a return pipe 42. The air-fuel mixture taken in from the intake valve 20 is transferred to the piston 5.
0 and is combusted by a spark from the ignition plug 52, and this combustion is converted into kinetic energy. The cylinder 08 is cooled by cooling water 54, the temperature of this cooling water is measured by a water temperature sensor 56, and this measured value TW is used as the engine temperature. A high voltage is supplied to the spark plug 52 from an ignition coil 58 in accordance with the ignition timing. Further, the crankshaft (not shown) is provided with a crank angle sensor that outputs a reference angle signal and a position signal at every reference crank angle and every fixed angle (for example, 0.5 degrees) according to the rotation of the engine. The output of this crank angle sensor, water temperature sensor 56
output signal TW and electrical signal from heating element 24
The AF is inputted to a control circuit 60 consisting of a microcomputer or the like and subjected to arithmetic processing, and the output of this control circuit 60 drives the injector 12 and the ignition coil 58. Furthermore, the throttle chamber 04 has a throttle valve 1.
A bypass 26 is provided that straddles the intake pipe 6 and communicates with the intake pipe 06, and this bypass 26 is provided with a bypass valve 61 that is controlled to open and close. This bypass valve 61 faces the bypass 26 provided by bypassing the throttle valve 16, and is controlled to open and close by a pulse current, and the cross-sectional area of the bypass 26 is changed depending on the amount of lift. The drive section is driven and controlled by the output of the control circuit 60. That is, the control circuit 60 generates an opening/closing periodic signal for controlling the driving section, and the driving section adjusts the lift amount of the bypass valve 61 based on this opening/closing periodic signal. Therefore, the injector 12 shown in FIG. 1 is controlled to control the air-fuel ratio (A/F) and fuel increase control, and the bypass valve 61 and the injector 12 control the engine speed at idle (ISC).
Do this. FIG. 2 shows an ignition system in which a pulsed current is supplied to a power transistor 64 through an amplifier 62, which turns the transistor 64 on. As a result, the ignition coil 58 from the battery 66
Primary coil current flows to. When the input pulse current falls, the transistor 64 is cut off, and
A high voltage is generated in the secondary coil of the ignition coil 58. This high voltage is distributed via the power distributor 70 to each of the spark plugs 52 in each cylinder of the engine in synchronization with the engine rotation. FIG. 3 is for explaining an exhaust gas recirculation (EGR) system, in which constant negative pressure from a negative pressure source 80 is applied to a control valve 86 via a pressure control valve 84. The pressure control valve 84 controls the ratio of the negative pressure of the constant negative pressure source to the atmosphere 88 according to the ON duty ratio of the repeated pulses applied to the transistor 90, and controls the state of application of the negative pressure to the control valve 86. Therefore, the negative pressure applied to the control valve 86 is caused by the transistor 90
The controlled negative pressure of the pressure control valve 84, which is determined by the ON duty ratio of
EGR amount is controlled. Figure 4 is an overall configuration diagram of a control system using a microcomputer, which includes a central processing unit 102 (hereinafter referred to as CPU), a read-only memory 104 (hereinafter referred to as ROM), and a random access memory 106 (hereinafter referred to as ROM). (referred to as RAM) and an input/output circuit 108.
The CPU 102 calculates input data from the input/output circuit 108 using various programs stored in the ROM 104, and returns the calculation results to the input/output circuit 108 again. RAM 106 is used for intermediate storage necessary for these operations. CPU102,
ROM104, RAM106, input/output circuit 108
Exchange of various data between them is performed by a bus line 110 consisting of a data bus, a control bus, and an address bus. The input/output circuit 108 includes a first analog-to-digital converter 122 (hereinafter referred to as ADC1).
and a second analog-to-digital converter 12
4 (hereinafter referred to as ADC 3) and angle signal processing Hanaji 1
26 and a discrete input/output circuit 128 (hereinafter referred to as DIO) for inputting and outputting 1-bit information. ADC1 has a battery voltage detection sensor 132
(hereinafter referred to as VBS) and cooling water temperature sensor 56 (hereinafter referred to as VBS)
(hereinafter referred to as TWS) and atmospheric temperature sensor 136 (hereinafter referred to as TAS)
), the adjustment voltage generator 138 (hereinafter referred to as VRS), and the throttle angle sensor 140 (hereinafter referred to as θTHS)
The outputs of the O 2 sensor 142 (hereinafter referred to as O 2 S) are added to the multiplexer 162 (hereinafter referred to as MPX), and the MPX 162 selects one of them and performs analog/digital conversion. The signal is input to a circuit 164 (hereinafter referred to as ADC). ADC1
The digital value that is the output of 64 is stored in register 166.
(hereinafter referred to as REG). In addition, the negative pressure sensor 144 (hereinafter referred to as VSC)
It is input to the ADC2, 124, is converted into a digital signal via the analog-to-digital conversion circuit 172 (hereinafter referred to as ADC), and is converted into a register 124 (hereinafter referred to as ADC).
REG). The angle sensor 146 (hereinafter referred to as ANGS) outputs a signal indicating a reference crank angle, for example, 180 degrees crank angle (hereinafter referred to as REF), and a signal indicating a minute crank angle, for example, 1 degree crank angle (hereinafter referred to as POS). The signal is applied to the signal processing circuit 126, where the signal is waveform-shaped. DIO 128 includes an idle switch 148 that operates when the throttle valve 14 returns to the fully closed position.
(hereinafter referred to as IDLE-SE), top gear switch 150 (hereinafter referred to as TOP-SW), and starter switch 152 (hereinafter referred to as START-SW)
is entered. Flow rate sensor 24 (hereinafter referred to as AFS) is ADC2
is input to analog/digital/conversion circuit 1
72 (hereinafter referred to as ADC), it is digitally converted and set in a register 174 (hereinafter referred to as REG). Next, the pulse output circuit and control target based on the calculation results of the CPU will be explained. The injector control circuit (denoted as INJC) is a circuit that converts the digital value of the calculation result into a pulse output. Therefore, a pulse with a pulse width corresponding to the fuel injection amount
INJ is made with INJC1134, AND gate 11
36 to the injector 12. The ignition pulse generation circuit 1138 (hereinafter referred to as IGNC) has a register (hereinafter referred to as ADV) for setting the ignition timing and a register (hereinafter referred to as DWL) for setting the primary current energization start time of the ignition coil.
These data are set by the CPU. Generates a pulse IGN based on the set data,
AND gate 11 to amplifier 62 detailed in FIG.
Apply this pulse ICN via 40. The opening rate of the bypass valve 61 is determined by the control circuit (hereinafter referred to as
ISCC) 1142 to AND gate 1144
is controlled by a pulse ISC applied via. ISCC 1142 has a register ISDC for setting the pulse width and a register ISCP for setting the repetition pulse period. The EGR amount control pulse generation circuit 180 (hereinafter referred to as EGRC) that controls the transistor 90 that controls the EGR control valve 86 shown in FIG. 3 has a register that sets a value representing the pulse duty.
It has EGRD and a register EGRP for setting a value representing the pulse repetition period. This EGRC
The output pulse EGR of is applied to transistor 90 via AND gate 1156. Further, the 1-bit input/output signal is controlled by the circuit DIO128. IDLE-SW as input signal
signal, TOP-SW signal, and START-SW signal. Further, the output signal includes a pulse output signal for driving the fuel pump. This DIO has a register DDR192 for determining whether the terminal is used as an input terminal or an output terminal,
Register DOUT for latching output data
194 are provided. The mode register 1160 is a register (hereinafter referred to as MOD) that holds instructions for commanding various states inside the input/output circuit 108. For example, by setting an instruction in the mode register 1160, the AND gates 1136, 1140, 1144,
All 1156 are activated or deactivated. Like this MOD register 11
By setting the command to 60, INJC and
You can control the stop and start of IGNC and ISCC output. As mentioned above, DIO 128 is a 1-bit signal input/output circuit, and is a register (hereinafter referred to as DDR) 1 that holds data for determining input or output.
Register 1 to hold the data to be output as 92
94 (hereinafter referred to as DOUT). This DIO 128 outputs a signal DIO0 for controlling the fuel pump 32. FIG. 5 is a program system diagram of the control circuit of FIG. 4. When the power is turned on by a key switch (not shown), the CPU 102 enters a start mode and executes an initialization program (INITIALIZ) 204. Next, run the monitoring program (MONIT) 206 and execute the background job (BRCK GROUND JOB 2).
Execute 08. This background job includes, for example, the EGR amount calculation task (hereinafter referred to as EGR
CAL TASK) and a calculation task (hereinafter referred to as FISC) for the bypass valve 61 and injector 12 during warm-up operation. During the execution of this TASK, if an interrupt factor (hereinafter referred to as IRQ) occurs,
From the IRQ disclosure step 222, an IRQ factor analysis program 224 (hereinafter referred to as IRQ ANAL) is executed. This IRQ ANAL program is further
ADC1 end interrupt processing (hereinafter referred to as ADC1 FND
It consists of the ADC2 interrupt processing (hereinafter referred to as INTV IRQ) program and the engine stop interrupt processing (hereinafter referred to as FNST IRQ) program, and is used for tasks required to start each task described later. Each startup request (below
(written as QUEUE). Each program ADC1END IRQ226 and ADC2END in this IRQ ANAL program 224
Each task for which a QUEUE is issued by each program of IRQ228 or INTV IRQ230 has a level
Zero task group 252 and level 1 task group 254
and level 2 task group 256 and level 3 task group 2
58, or a task constituting the task group. Also ENST IRQ Program 232
The task in which QUEUE occurs is the engine stop processing task 262 (hereinafter referred to as ENST TASK). When this ENST TASK 262 is executed, the control system enters the start mode again and returns to the starting point 202. The task scheduler 242 sets the execution order of the tasks so that they are executed starting with the task in which the QUEUE is occurring or the task with the highest level among the tasks whose execution has been interrupted (here, level zero is the highest). decide. When the execution of the task group is completed, the completion report program 260 (hereinafter referred to as EXIT) reports the completion. Based on this completion report, the task group with the highest level among the task groups waiting for execution is executed next. When there are no more suspended tasks or QUEUE tasks, the task scheduler 242
The process then moves on to executing the background job 208 again. Furthermore, if an IRQ occurs while any of the level 0 task group to level 3 task group is being executed, the process returns to the starting point 222 of the IRQ processing program. Table 1 shows the activation of each task and its functions.

【表】 この第1表において、第5図の制御システムを
管理するためのプログラムとして、IRQ ANAL
プログラムやTASK SCHDULERやEXITがあ
る。これらのプログラム(以下OSと記す)は第
6図の如くROM104のアドレスA000から
アドレスA300に保持されている。 さらに、レベル・ゼロ・プログラムとして
AD1IN,AD1ST、AD2IN、AD2ST、RPMIN
の各プログラムがあり、通常INTV IRQの10〔m
SEC〕で起動される。レベル1プログラムとし
てINJC、IGNCAL、DWLCALプログラムがあ
り、INTV IRQの20〔mSEL〕ごとに起動され
る。レベル2プログラムとしてはLAMBDAプロ
グラムがあり、INTV IRQの40〔mSEC〕ごとに
起動される。レベル3プログラムとしてHOSEI
プログラムがあり、INTV IRQの100〔mSEC〕
ごとに起動される。またバツク・グラウンド・ジ
ヨブとしてEGRCALとFISCプログラムがある。
上記レベル・ゼロ・プログラムはPROG1として
それぞれ第6図のROM104のアドレスA70
0からAAFFに記憶されている。レベル・1プロ
グラムはPROG2としてROM104のアドレス
AB00からABFFに記憶されている。レベル2
プログラムはPROG3としてROM104のアド
レスAE00からAEFFに記憶されている。レベ
ル3プログラムはPROG4としてROM104の
アドレスAF00からAFFFに記憶されている。
またバツク・グラウンド・ジヨブ・プログラムは
B000からB1FFに保持されている。なお上記
プログラムPROG1からPROG4までの各プログ
ラムのスタード・アドレスのリフト(以下
SETMRと記す)がB200からB2FFまでに保
持され、PROG1からPROG4までの各プログラ
ム起動周期を表わす値(以下TTMと記す)がア
ドレスB300からB3FFに記憶されている。 その他のデータは必要に応じ第6図のROMの
アドレスB400からB4FFに記憶される。それ
に続いて演算のためのデータADV.MAPやAF.
MAP、EGR.MAPをそれぞれ記憶している。 なお、その他の動作についての詳しい説明は省
略する。 このようにして、上記したEECによれば、
A/Fの制御などエンジンに関するほとんどすべ
ての制御を適切に行なうことができ、厳しい排ガ
ス規制も充分にクリア可能な上、燃比の優れたエ
ンジンを得ることができる。 ところで、一般に、自動車などにおいては、故
障などにより不具合な状態となつたときには、ユ
ーザーが自らその故障個所を見付け出し修理や点
検などを行なう場合は極めて稀であり、ほとんど
は修理工場などに依頼して故障個所の発見、修
理、点検などを行なうのが通例である。 しかしながら、EECを装備した自動車用エン
ジンでは、上記したとおり多数の各種センサやア
クチユエータが使用されている上、それらの故障
態様も多岐多様にわたり、しかも外見上から故障
が判るような場合はほとんどないため、故障が発
生した場合、その発生個所の特定が極めて困難で
ある。加えて、故障の多くは、エンジンの運転条
件が特定の条件となつたときにはじめて見出すこ
とができるものとなつているため、ユーザーによ
る故障の訴えを受けても実際にエンジンを運転し
ながら同じ条件を再現しなければその故障を発見
することができない。 従つて、従来のEECにおいては、故障が生じ
た場合、その適確な診断が困難で、故障個所の特
定には高度の熟練と多くの時間を必要とするとい
う欠点があつた。 そこで、例えば特開昭55−56202号公報に開示
のように、必要に応じて所定の検査プログラムを
実行させるようにした装置が提案されているが、
さらに、上記したEECの各種センサやアクチユ
エータの動作を常時監視して故障の発生を検知し
たら警報を発するようにすると共に、EECの動
作が停止されたときでも記憶データが消滅しない
メモリ手段を設け、各種センサやアクチユエータ
に故障を生じた場合には直ちにそれを知ることが
でき、しかも後刻エンジン停止後であつても、そ
のまま直ちに故障個所を知ることが出来るように
したEECのための故障個所自己診断警報装置が
提案され、以下、その一例を図面の第7図ないし
第25図について説明する。 なお、この例においても、EECとしての構成
のほとんどは第1図ないし第6図に示した従来例
と同じであるから、以下の説明では異なつている
点についてだけ詳細に説明する。 第7図はEECに故障個所自己診断警報表示装
置を適用した制御システムの従来例で、第4図に
示した従来例と異なる点は、装置全体の電源装置
とは独立した電池1102によつてパツクアツプ
され、不揮発性メモリとして動作するように構成
したRAM1104が設けられている点と、警
報ランプ1106及びデイスプレイスイツチ(以
下DISP−SWと記す)1108が設けられてい
る点である。 そして、CPU102,ROM104,RAM1
06などからなるマイコンのプログラムにより、
それぞれ所定のタイミングと条件のもとで空気流
量センサ24、水温センサ56などを含む各種の
センサ132〜148からの入力、及びアイドル
スイツチ148〜スタートスイツチ152など各
種のスイツチからの入力のチエツクと、インジエ
クタ12、フユーエルポンプ32、バイパスバル
ブ61などの各種のアクチユエータ、及びそれら
に含まれている増幅器62、トランジスタ90な
どに対する出力のチエツクを行ない、これらの入
力や出力に異常が発見されたときには、第8図に
示すように、それらの異常に対応してコード化さ
れたデータ(以下単に不具合コードと記す)を
RAM1104に書き込むと共に必要に応じて
警報ランプ1106で表示させるようにする。 従つて、自動車などの運転中、或いはエンジン
スタート時などに上記した異常が発生すれば、直
ちに響報ランプ1106によつて異常が表示さ
れ、自動車などの運転者が故障の発生を知らずに
運転を継続させてしまうのを防止することができ
る。 このときの警報ランプ1106の点灯モード
は、例えば第9図a,bのようになつており、同
図aはエンジン始動後に異常が発生した場合、b
は始動前に既に異常が検出された場合をそれぞれ
示している。 この第9図aから明らかなように、まずキース
イツチがオンにされるとランプが点灯し、ついで
エンジンが始動するとランプは消える。これによ
つて警報ランプ1106自体に異常がないことの
チエツクが可能になる。 そして異常が発生しない間はランプは消えたま
まとなつている。 次に不具合、つまり異常が発生すると0.6秒の
間隔で0.6秒の点灯を行なう点滅モードとなる。
そして不具合が解消されない限り点滅状態が続
き、何らかの理由により不具合が解消されると消
灯したままとなる。このとき、エンストが生じれ
ばキースイツチがオンされてからエンジンが始動
するまでのときと同じく点灯したままとなる。 また同図bから明らかなように、キースイツチ
がONされたとき直ちに異常が発生したとき、或
いはその前から既に異常が検知されていた場合に
は、最初から点滅モードとなり、警報ランプ11
06はフラツシユを続ける。またこのときエンス
トを生じても今度は点滅モードは変らない。 このため、とにかく警報ランプ1106の点滅
を見るだけで何らかの異常が発生し、それ以上の
運転の継続は望ましいことではなくなつたことを
知ることができる。 次にデイスプレイスイツチ1108が操作され
るとDIO128を介してCPU102に入力が与
えられ、この制御回路の動作モードは不具合モー
ドの表示モードとなり、プログラムの切換えが行
なわれる。 この表示モードプログラムに入ると、ROM
1104からコードの読出しが行なわれ、今度は
この読出されたコードに従つて警報ランプ110
6の点灯モードが制御されるので、サービスオペ
レータなど自動車の点検、修理などを行なう者
は、この警報ランプ1106の点滅モードからコ
ードを読み取るだけで各種のセンサやアクチユエ
ータなどのうちの異常を生じたものを特定するこ
とができ、加えてその異常の内容をも同時に知る
ことができるから、点検や修理などを簡単に、し
かも短時間のうちに適確に行なうことができる。 このときの警報ランプ1106の点灯モード
は、例えば第10図a〜cのようになる。 まずaは、デイスブレイスイツチ1108を操
作して表示モードにしたとき、それまで何も不具
合が発生していなかつたときの警報ランプ110
6の点灯モードで、このときのコードは第8図か
ら明らかなように〔01〕であるから、表示がスタ
ートしてから2.4秒の準備時間が経過したあと0.3
秒点灯と3秒の消灯を3回、繰り返す。そしてこ
の状態をデイスプレイスイツチ1108がONさ
れている間中保つ。 次にbは、表示モードにしたとき、それまでに
ISC端子がシヨートするという異常が発生してお
り、その結果RAM1104にコード〔22〕が
記憶されていた場合で、2.4秒の準備時間のあと
0.6秒の消灯時間を間にして1.2秒の点灯時間が2
回続き、ついで0.3秒の点灯時間が2回続いてて
生じるような点滅状態態を3回ずつ繰り返す。 これら第10図a,bから明らかなように、
2.4秒の準備時間のあとに続く1.2秒の点灯回数が
コードの10の桁の数値を表わし、0.3秒の点灯回
数がコードの1の桁の数値を表わすことになり、
3秒の消灯時間はコードの区切りを表わしている
ことが判る。従つて第10図aではコードが
〔01〕なので0.3秒の点灯が1回ずつ現われ、同図
bではコードが〔22〕なので1.2秒の点灯が2回、
0.3秒の点灯も2回、それぞれ現われているので
ある。 このようにして、デイスプレイスイツチ110
8をONにしたときに生じる警報ランプ1106
の点灯状態によりRAM1104にそれまで記
憶されていたコードを視覚的に極めて容易に読取
ることができ、異常個所の特定やその異常の内容
を簡単に知ることができる。 ところで、このようなEECにおいては、数多
くのセンサやアクチユエータが設けられているか
ら、不具合な個所が同時に、或いは比較的短時間
のうちに複数個生じる可能性もかなりある。そこ
で、この従来例においては、RAM1104に
複数のアドレスが設けてあり、複数の例えば3個
所の不具合コードが記憶できるようになつてい
る。 そこで、このような場合には、デイスプレイス
イツチ1108がONされて不具合コード表示モ
ードに切換えられたときに、それまで記憶されて
いた複数の不具合コードを第10図cに示すよう
に順次3回ずつ表示するようになつている。即
ち、いま記憶されていた不具合コードが〔22〕と
〔15〕であつたときには、コード〔22〕が3回表
示されたあと、続いてコード〔15〕が3回表示さ
れ、これがスイツチ1108をOFFにするまで
繰り返すことになる。 従つて、それまでに複数の異常個所を生じてい
た場合にも、3個所までは記憶されており、それ
らが順次表示されるから、不具合の発見を極めて
容易に行なうことができる。 なお、不具合を生じていなかつた場合にも
RAM1104にコード〔01〕をわざわざ記憶
し、それを表示モード時に読出して表示するよう
にしてあるのは、RAM1104を含む系に異
常を発生していないことの確認のためであり、こ
れにより判定を確実に行なうことができる。 このように、上記従来例によれば、エンジン運
転中に異常を生じたときには、それが電池110
2のバツクアツプにより不揮発性メモリとして動
作するRAM1104にコード化されて記憶さ
れるので、エンジン停止後であつても不具合が発
生した個所や内容を常に観実に知ることができ
る。 次に、第8図に示した各種センサ及びアクチユ
エータの不具例が検出された場合の警泡モードと
コード表示モードにおける動作について説明す
る。 第11図は警報モードとコード表示モードを識
別する動作を示したフローチヤートで、第5図に
示したプログラムシステム図においてレベル2の
タスクに組込まれ、40〔mSEC)ごとに起動す
るようになつている。 このタスクに入ると、ステツプ(以下、Sとい
う)1でデイスプレイスイツチ1108のONか
否かが判断され、NOのときにはS2に進み、
RAM1104を見て不良フラグが有すか否か
を調べてNOのときにはそのままEXITに向う。
S2で結果がYESのときにはS3の警報動作や行な
われる。 また、S1で結果がYESとなつたらS4に向い、
コード表示動作を行なう。 第12図は第11図の警報動作S3の詳細を示
すフローチヤートで、この動作に入ると、まず
S31で時間セツト完了か否かをフラグによつて判
定する。S31での結果がNOのときにはS32に進ん
でフラグセツトを行なう。これはS31で必要な時
間セツト完了のチエツク用である。ついでS33で
0.6秒の時間をセツトする。この時間セツトはカ
ウンタに初期値をセツトすることにより行なわれ
る。最後にS34で警報ランプ1106の状態を反
転させてからEXITに向う。 また、S31での結果がYESになつたときには
S35に向い、0.6秒が経過したか否かをS33でセツ
トしたカウンタをみて判断し、結果がNOとなつ
たらS37で時間カウンタから1を引きEXITに進
む。 さらに、S35での結果がYESのときにはS38で
フラグをリセツトしてからEXITに向う。従つて
次にこのフローに入つたときにはS31からS32に
向うようになる。 以上のフローが実施された結果は次のようにな
る。まず、最初にこのフローに入つてくるのは、
第11図から明らかな如く、それまで不良フラグ
が無かつた状態から異常が発生して不良フラグが
立つたときである。従つてS31からS32、S33を経
てS34に入つたときにはまだ警報ランプ1106
は点灯していない。そこでS34ではランプ110
6の点灯が行なわれる。そしてその後、40
〔mSEC〕ごとにこのフローに入つたときにS36で
順次に時間カウンタを減算してゆき、0.6秒経つ
とそれが0になるから今度はS38でフラグをリセ
ツトする。そこでその次から再びS31からS34に
向うが、このときにはランプ点灯しているから、
今度はランプ1106を消灯する。従つて、この
第12図のフローによつて第9図a,bに示した
警報動作が遂行されることになる。 なお、このS33、S35、S36などでいう時間カウ
ンタは、RAM106(第7図)のメモリ領域を
利用してCPU102のプログラムによつてソフ
ト的に構成されるものであり、以上の説説明から
明らかなようにS33でセツトすべき初期値は0.6秒
を40〔mSEC〕で割つた値、即ち150となる。 次に第13図ないし第15図は第11図のコー
ド表示動作S4の詳細を示すフローチヤートで、
このフローに入ると、まずS301でフラグを見
て2.4秒タイマーがセツトされているか否かを判
断し、NOのときにはS302に進んで警報ランプ1
106を消灯させ、2.4秒タイマーのセツトを行
ない、フラグをセツトする。ついでS303に向
い、フラグを見て2.4秒が経過したか否かを調
べるS301の結果がYESのときはS302を飛ばして
S303に進む。ここでの結果がNOとなつたらS304
に向い、そこで2.4秒タイヤーから1を引く。つ
いでS305で、2.4秒タイマーが0になつたか否か
を調べ、NOならEXITから抜けるが、YESなら
S306でフラグをセツトする。 これらS301〜S306が実行されることにより第
10図a,bの表示スタートからの2.4秒の消灯
時間のセツトが行なわれる。なお、ここでいうタ
イマーも既に説明した時間カウンタと同じでソフ
ト的に構成されたものである。 なお、このあと第10図a〜cに示すような態
様でのコード表示が行なわれるのであるが、この
点は本発明の要旨と特に関係なく、第13図ない
し第15図フローチヤートを見れば容易に理解で
きるところなので詳しい説明は省略する。 次に、上記した各種センサやアクチユエータ異
常検出動作について説明する。 この発明の実施例では、センサなどの異常検出
に際して異常か否かの判定を複数回、例えば5回
繰り返し、異常検出時にたまたま生じた一時的な
異常や信号系などに迷い込んだノイズにより誤ま
つて異常状態となつた検出結果を排除し、本当の
意味での異常だけを確実に検出するため、第16
図のフローチヤートに示す動作が行なわれるよう
になつている。 即ち、所定の条件、又はタイミングで各種セン
サなどの異常検出プログラムに入ると第16図の
動作が行なわれ、まずS601で異常か否かの判定
が行なわれる。なお、このS601での判定動作は
各種のセンサやアクチユエータに対応した内容と
なつており、そのいくつかの例については後述す
る。 S601での判定結果がNG、つまり異常となつた
らS602に進んでNGカウンタをインクリメントす
る。こNGカウンタは判定回数をカウントするた
めのものである。ついでS603に入つてこのNGカ
ウンタの内容が5になつているか否かを調べる。
ところで、いま始めてS601での結果がNGとなつ
たものとすれば、このS603での結果は当然NOと
なるから、そのままEXITに進み、この動作を終
了する。 次にこのフローの動作に入つたとき、S601
での結果が再びNGになつたとすれば、上記の動
作が繰り返され、S602でその都度NGカウンタに
+1されてゆく。従つて、このフローの動作に入
り、その都度S601での結果がNGになつた場合、
つまりその間、異常状態が継続していてそれが5
回にわたつて検出された場合に、始めてS603で
の結果がYESになり、このときにはS604に進ん
でNGカウンタの内容を0にし、ついでS605で異
常が検出されたことを示す不良フラグのセツトを
行ない、S606でその異常の内容に対応したコー
ドを第8図に従つてRAM1104の所定のア
ドレスに記憶するなどのNG処理を行なつてこの
フローを抜ける。 また、S601で結果がOK、つまり異常が無かつ
たときにはS607に進み、NGカウンタの内容を調
べ、それが0になつていなかつたとき、つまり結
果がNOのときにはS608に進んでNGカウンタ内
容を0にしてからS608に向う。一方、S607での
結果がYESになつたらそのままS609に進み、不
良フラグがセツトされているか否かを調べ、結果
がYESのときにはS610を通つて不良フラグをク
リアしてからEXITに抜け、NOのときにはS609
から直ちにEXITに抜ける。 この第16図のフローチヤートに従つた動作が
行なわれた結果、S601の判定結果がOK、つまり
異常なしとなるごとにS607〜S610によりNGカウ
ンタが0にリセツトされ、不良フラグがクリアさ
れることになるから、S601での判定結果が5回、
連続してNG、つまり異常ありとなつたときにだ
け始めてS605を通つて不良フラグのセツトが行
なわれることになり、一時的な異常がノイズなど
による誤検出による異常を排除することができ
る。 なお、S603でのNGカウンタの内容を他の数に
すれば、チエツクを行なう回数もそれに従つて任
意の回数とすることができる。 また、この実施例では、異常が5回連続して不
良フラグのセツトとNG処理が行なわれた後、1
回でもS601での結果がOKになるとその次から再
びNGが5回連続したときだけ再度不良フラグの
セツトとNG処理が行なわれることになつている
が、一旦不良フラグがセツトされ、NG処理が行
なわれた後で判定がOKになるのは、異常が無く
なつた場合よりもむしろ誤検出により異常が正常
と判断される場合の方が多いと考えてよいから、
その後に判定がNGとなつたら直ちに不良フラグ
の再セツトとNG処理を行なうようにしてもよ
い。 つまり、このときにはS601での結果が5回連
続してNGにならなくても1回だけで直ちにS602
からS605を通るようにするのである。このため
には、例えばS610のあとにNGカウンタの内容を
4にセツトするステツプを設ければよい。 次に、第16図のS601に示した各種センサや
アクチユエータの異常チエツクについて説明す
る。 まず、エアフローセンサAFSの異常チエツク
動作の実施例を第17図のフローチヤートで説明
する。 この動作は第5図のレベル2のタスク256の
一つのタスクとして処理され、このフローに入る
と、まずS901でAFS24(第7図)からのデー
タをRAM106から取込み、続くS902でそのデ
ータの判定を行なう。このAFS24は第18図
に示すように正常な状態では領域の範囲の出力
電圧を発生するから、S902でデータが領域に
あると判断されたときには、そのまま判定結果は
OKとなる。 しかしながらS902での結果が、つまり出力
小の状態と判断されたときにはS903に向い、出
力小に対応した不良フラグのセツト準備を行なつ
て判定結果NGに抜ける。従つて、このときには
第8図に従つてコード「14」が記憶される。 またS902での結果が、つまり出力大の状態
と判断されたときにはS904に向い、エンジンの
回転数が4000rpm以上あるか否かを調べ、結果が
YESとなつたらOKに抜ける。一方、結果がNO
のときにはS905に進み、出力大に対応した不良
フラグセツトの準備を行なつてからNGに抜け
る。従つて、このときには第8図に示すように、
コード「15」が記憶される。なお、ここでS904
が設けられているには、AFデータが出力大、つ
まり領域になつてもエンジンの回転数が大きい
ときには異常ではないからである。 次にアイドル回転数を制御するアクチユエー
タ、即ちバイパスバルブ61の異常チエツクシス
テムの一実施例を第19図に示す。 図において、210,211は検出信号PA6
とPA7の出力端子、212はテスト信号PB7の
入力端子、Q213は増幅用トランジスタ、Q2
14は駆動トランジスタ、Q215は検出用トラ
ンジスタである。 第20図は異常チエツク動作を示すフローチヤ
ートで、バツクグラウンドジヨブ208(第5
図)の一つのプログラムとして実行されるもので
あり、このフローに入ると、まずS20で検出信信
号PA6とPA7の読込みを行ない、ついでS21で
信号PA6が0か1かを調べる。そして、その結
果が1となつたときには、続くS22で今度は信号
PA7が0か1かを調べ、結果が1となつたら異
常なしとしてOKに抜ける。つまり、信号PA6
が0ということは信号ISCが1、従つてトランジ
スタQ213とQ214はいずれもオンになつて
いるのが正常であり、従つてトランジスタQ21
5はオフしていう筈であるから、このとき信号
PA7も1なら異常が無いことになるのである。 また、S22で結果が0になつたら、トランジ
スタQ213,Q214のいずれか一方、又は両
方がオーブンになつていることを示すから、S23
に進んで不良フラグのセツトの準備をしてから
NGに抜ける。従つて、このときには第8図に従
つて、コード「20」が記憶されることになる。 一方、S21での結果が0になつたら次はS24に
進み、信号PA7を調べてそれが0となつたら
OKに進む。つまり信号PA6が0になら信号ISC
がトランジスタQ213とQ214はオフ、従つ
てトランジスタQ215はオンとなつている筈で
あり、そのため、信号PA7も0なら正常な状態
となるのである。 しかしてS24での結果が1になつたら次の725
に向い、端子212のテスト信号PB7を1にし
てからS26で信号PA7を読み、続くS27でこの信
号PA7が1か0かを調べる。そして、その結果
が1となつたらS28に向つて出力シヨート不良フ
ラグのセツト準備をしてからNGに抜ける。従つ
てこのときにはコード「22」が記憶されることに
なる。 また、S27での結果が0となつたらS29に向い、
ハーネスオーブン不良フラグのセツトが準備され
てNGに抜け、コード「21」が記憶されることに
なる。 つまり、信号PA6が0ならトランジスタQ2
13とQ214はオフ、トランジスタQ215は
オンとなる筈だから信号PA7は0にらななけれ
ばいけない。しかるに信号PA7が1になつたと
いうことは、トランジスタQ215のベースが0
になつていることを表わす。そこで、S25で信号
PB7を1にしてみたとき、信号PA7が0になら
なければトランジスタQ215のベースに信号
PB7が与えられないことを意味するから、出力
がシヨートしていることが判る。また、このとき
信号PA7が0になれば、信号PB7がトランジス
タQ215のベースに与えられたことを意味し、
従つて、それまで電源+Bからソレノイドバルブ
61を通る電圧が与えられていなかつたことにな
り、ハーネスオープンであることが判るのであ
る。 次に第21図はEGR制御用アクチユエータで
ある制圧弁84の異常チエツクシステムの一実施
例で、901,903は検出信号PA4とPA5の
出力端子、902はテスト信号PB5の入力端子、
Q91,Q92は検出用のトランジスタである。
なお、90は制圧弁84の駆動用トランジスタで
ある。 第22図はこの異常チエツクシステムの動作を
を示すフローチヤートで、第5図のバツクグラウ
ンドジヨブ208のプログラムの一つとして動作
するものである。 このフローに入ると、まずS40の検出信号PA
4,PA5を読み、ついでS41で信号PA4が1
か0かを調べる。 S41での結果が0となつたらS42に進んで
今度は信号PA5が1か0かを調べ、結果が1と
なつたらOKに抜ける。また、結果が0のときに
はS41を通つてトランジスタ90がオーブンし
たことを表わす不良フラグのセツトを準備し、
NGに抜ける。つまり、S41で信号PA4が0
になつたのはトランジスタQ91がオン、即ち信
号EGRが1になつていたことを示し、このとき
にはトランジスタ90もオンしている筈である。
従つてトランジスタ90が正常ならトランジスタ
Q92はオフになるから、S42でPA5を調べ
たとき結果が1になれば異常なしでOKになり、
結果が0ならばトランジスタ90がオーブン異常
でNGになるのである。 そこで、このときには第8図からコード「23」
が記憶される。 また、S41での結果が1となつたらS44に進み、
信号PA5を調べてそれが0になつていたらOK
に抜けるが、結果が1になつたらS45に進んでま
ずテスト信号PB5を1にしてみる。ついでS46
で検出信号PA5を読んでからS47でそれが0か
1かを調べる。S47での結果が1となつたらS48
を通つて出力接地不良フラグの準備をし、結果が
0になつたときにはS49でハーネスオープン不良
フラグの準備をしてそれぞれNGに抜ける。 つまり、S41で信号PA4が1となつたという
ことは、入力信号EGRが0であることを意味し、
従つてトランジスタ90が正常ならオフになつて
いる筈で、そのときにはトランジスタQ92はオ
ン、よつて検出信号PA5がS44で0ならOKとな
る。 また、S44で結果が1となつたとすれば、トラ
ンジスタQ92のベースに電源+Bからの電圧が
加えられていないことを意味するから、S45でテ
スト信号PB5を加えてみる。そして、それでも
トランジスタQ92がオンしないとき、即ちS47
での結果が1になつたときにはトランジスタ90
のシヨート又は出力端の接地であり、トランジス
タQ92がオンしてS47での結果が0になれば電
源+BからトランジスタQ92のベースに到る経
路がオーブン、即ちハーネスオーブン不良である
ことが判る。 従つて、S48を通つたときにはコード「25」
が、そしてS49を通つたときにはコード「24」が
それぞれ記憶される。 次にフユエルポンプ32の異常チエツチシステ
ムの一実施例を第23図ないし第25図に示す。 第23図はフユエルポンプ32のリレー駆動用
トランジスタQ32の回路で、そのコレクタから
検出信号PA2を取り出すようにしてある。 ところで、このフユエルポンプ32に対する異
常チエツクは、通常の運転状態におけるものとエ
ンスト状態になつたときのものと2種類あり、ま
ず第24図は通常運転時のもので、タイマ割込に
より例えば10分ごとに起動され、まずS60で制御
信号IDO0を1にしてトランジスタQ32をオフ
にしてみる。これは通常の運転状態ではフユエル
ポンプ32は動作状態にあり、従つて制御信号
DIO0は0になつているからである。 ついで所定の待ち時間を置いてからS61で検出
信号PA2が0になつたか否かを調べる。そして
結果がYESと判断されたらS62で信号DIO0を0
に戻しててOKに抜ける。 また、S61での結果がNOとなつたらS63に進ん
でトランジスタQ32がシヨート不良になつたこ
とを示す不良フラグの準備をしてNGに抜ける。 つまりトランジスタQ32が正常なら、制御信
号DIO0によつてオン・オフし、検出信号PA2
もトランジスタQ32がオンなら1、オフなら0
になる筈だからである。 従つて、このときには、コード「33」が記憶さ
れる。 次に第25図はエンスト時の動作で、エンスト
タスク262(第5図)の一つのプログラムによ
つて遂行される。このフローに入ると、まずS72
で検出信号PA2が調べられてそれが0か否かが
判断される。そして結果がYESとなつたらS71に
進んでF/Pリレーを含む出力端シヨート不良フ
ラグが準備されNGに抜ける。 つまり、このときにはまだ信号DIO0が0にな
つているからトランジスタQ32はオンの筈であ
り、それにもかかわらず信号PA2が0なら出力
端がシヨートであると判るのである。 従つて、このときには、コード「34」が記憶さ
れることになる。 また、S70での結果がNOとなつたら、次のS72
に向い、まず信号DIO0を1にしてトランジスタ
Q32をオフにしてから続くS73で再び信号PA
2を調べ、今度はそれが1になつたか否かを判断
する。S37での結果がNOならそのままOKに抜け
るが、YESのときにはS74でフユエルポンプ
32に到るハーネスがオープン不良のフラグを準
備してNGに抜ける。 つまり、このときには、トランジスタQ32を
オフにしたにもかかわらず電源+Bからの電圧が
信号PA2として現われていることを示し、これ
は出力ハーネスのオープンを意味するに外ならな
いからである。 従つて、このときには、コード「35」が記憶さ
れることになる。 なお、このエンスト時での異常チエツクは、1
回だけで終了させ繰り返しては行なわない。従つ
て第16図のフローのうちS605とS606以外のス
テツプは省略される。 ところで、このようなシステムにおいて、点火
システムの異常検出を行なうためには、点火シス
テムの動作にタイミングを合わせて行なう必要が
ある。つまり点火システムの異常を検出するため
には、駆動用のトランジスタやパワートランジス
タ64のNO・OFF操作が必要であるから、エン
ジンの運転状態に影響を与えないで異常の検出を
行なうためには、上記のようにタイミングを取る
必要があるのである。 従つて、従来は、上記したタイミング合わせの
ために異常検出動作が複雑になり、しかも充分正
確に異常検出動作を行なわせることが困難である
という欠点があつた。 本発明の目的は、上記した従来技術の欠点を除
き、簡単な構成で、しかも確実に点火システムの
異常検出が行なえるようにした点火システムの自
己診断装置を提供するにある。 この目的を達成するため、本発明は、エンジン
ストール(以下、エンストという)の発生を監視
し、エンスト時においてだけ点火システムの診断
が行なわれるようにした点を特徴とする。 以下、本発明による点火システムの自己診断装
置の一実施例を図面について説明する。 第26図は本発明による自己診断のための回路
の一実施例で、第2図の増幅器62の中に設けら
れ、Q621は入力トランジスタ、Q622は駆
動用トランジスタ、Q623はテスト用トランジ
ススタである。 なお、58は点火コイル、64はパワートラン
ジスタであることは既に説明した通りである。 また、IGNは点火パルス、Sは診断用信号、
Mはモニタ電圧である。 第27図はこの回路による点火システムの自己
診断動作の一実施例を示すフローチヤートで、以
下、これにより動作について説明する。 この診断動作は、例えば第5図のレベル2のタ
スク256又はレベル3のタスク258のタスク
の一つとして処理されるもので、このフローに入
ると、まずS80でエンストフラグを調べてエン
スト状態になつているか否かを調べ、それがNO
のときには直ちにEXITに抜け、このフローによ
る処理は何も行なわれない。なお、このとときの
エンストフラグは、エンストタスク262による
処理により例えばRAM106の所定のアドレス
にセツトされるものである。 一方、S80での結果がYES、つまりエンストフ
ラグがセツトされていたときにはS81に進み、
トランジスタQ623に診断用信号Sを出力しな
がら駆動用トランジスタQ622のコレクタ電
圧、つまりモニタ電圧Mを読み込む。なお、この
とき、点火パルスIGNはエンストタスク262
によつてリセツトされているから(第1表参照)、
駆動用トランジスタQ622はオン状態にあり、
信号Sが印加されて始めてオフになる。 次にS81からS82に進み、このステツプでモニ
タ電圧が0.6Vより小さいか否かが調べられる。
そして結果がYESのときにはS83に向い、この
S83で不良フラグをセツトし、続くS84でRAM
1104に不具合コード「36」を記憶してから
EXITに抜け、このフローに従つた処理を終る。
一方、S82での結果がNO、つまり駆動用トラン
ジスタQ622のコレクタ電圧が0.6Vより大と
なつていたときにはS85に向い、このS85でモニ
タ電圧Mが3Vより大となつているか否かを調べ
る。そして結果がYESのときにはS86に向い、
この86で不良フラグのセツトを行ない、続くS
87で不具合コード「37」の記憶を行なつてから
EXITに抜け、このフローに従つた処理を終了す
る。 また、S85での結果がNOとなつたら次のS
88に進み、診断用信号Sをゼロにしてからモニ
タ電圧Mを読み取る。 ついでS89に進み、読み取つたモニタ電圧Mが
1.3Vより大か否かを調べ、結果がYESとなつた
ときにはS90とS91を通つてEXITに抜け、不良フ
ラグのセツトと不具合コード「38」の記憶が行な
われるが、S89での結果がNOのときにはS92を通
り、不良フラグをリセツトしてからEXITに抜け
る。 次に、この第27図のフローチヤートに従つた
動作が行なわれたことによつて得られる結果につ
いて第28図を参照にして説明する。 第28図の1はクランク角度センサ146から
の信号REFを表わしたもので、エンストが発生
するとこのREFが消滅する。そして、それから
1秒間の間にREFが現われなかつたときに始め
てエンストが発生したものと判定するようになつ
ている。従つて同図1の時刻T0でENST IRQが
発生してRAM106の所定のアドレスにエンス
トフラグが同図3のようにセツトされる。 一方、点火パルスIGNは第28図2のように
信号RERによつて発生しているから、エンスト
が発生してREFが消えるとIGNの変化が止まり、
図1の実線の矢印で示したタイミングでエンスト
が発生したときには同図2の実線のようになる
が、同図1の破線の矢印で示したタイミングでエ
ンストが発生したときには同図2の破線のように
なる。そして、このときにはエンストタスク26
2によつて点火パルスIGNがゼロにされる。 以上の結果、S80での結果がYESになるの
は第28図1〜3における時刻T0以後に第27
図のフローに入つたときだけである。 さて、S81においては、まず第28図5で示
すように時刻T1で診断用信号Sをトランジスタ
Q623に供給してこのトランジスタをオンに
し、これによりトランジスタQ622をオフする
ようにする。このときの信号Sの印加時間は、例
えば30m秒位にしてある。 ついで、この30m秒が経過しない期間内での時
刻T2でモニタ電圧Mの読み取りを行なう。 このモニタ電圧Mは点火システムが正常なとき
には第2図6に示すように変化するから、S81
で読み取つたモニタ電圧MをS82と85で判断
した結果はいずれもNOになる筈であるが、パワ
ートランジスタ64がシヨートしていたり、或い
はパワートランジスタ64に到るまでのワイヤハ
ーネスがアースしていたりしたときには、モニタ
電圧Mは第18図7のように変化しているから、
S82での結果がYESになつてS83とS84
を通つて不具合コード「36」が記憶されることに
なる。 また、パワートランジスタ64に到るワイヤハ
ーネスがオーブン状態となつたときには、モニタ
電圧Mは第28図8のようになるから、S82での
結果はNOになるがS85での結果がYESになるか
ら、S86をS87を通つて不具合コード「37」が記
憶されることになる。 次に、S82とS85での結果がいずれもNOとなつ
たときにはS88に進み、第28図4に示すように
時刻T1から約30m秒経つた時刻T3で診断用信号
Sをゼロに戻し、その後の時刻T4でモニタ電圧
Mを読み込み、それをS89で調べる。このとき、
駆動用トランジスタQ622がオーブン状態にな
つていたとすれば、モニタ電圧Mは第28図9の
ようになつているから、S89での結果はYESとな
り、S90とS91を通つて不具合コード「38」が記
憶されることになる。 一方、上記したように、点火システムが正常な
ときにはモニタ電圧Mは第28図6のようになつ
ているから、このときにはS89での結果はNOと
なり、ここで始めて点火システムには異常がなか
つたものとしてS92を通つて不良フラグをリセツ
トし、この結果、不具合コード「36」、「37」、
「38」のいずれも記憶されないことになる。 従つて、この実施例によれば、点火システムの
自己診断動作を点火タイミングと無関係に行なう
ことができ、診断動作を簡単にしかも確実に行な
うことができる。 ところで、以上の実施例においては、RAM
1104のバツクアツプ用に電池1102を設け
ているが、この電池1102としては自動車用バ
ツテリーからキースイツチを経ないで直接電圧を
供給するようにしたものでもよく、或いは別に乾
電池などを設けるようにしてもよい。 勿論、RAM1104が不揮発性のメモリな
らこれらは不要なことはいうまでもない。 また、不具合コードの表示に警報ランプ110
6を使用しないで別の表示手段、例えば数字、文
字などを直接表示できる手段を設けたり、必要に
応じてプラグなどにより接続して不具合コードの
表示を行なわせるようにしてもよい。この場合に
はRAM1104の内容をそのまま数字、又は
文字で表示させることが可能である。 以上説明したように、本発明によれば、エンジ
ンの点火システムの異常診断動作をエンスト時に
行なうようにしたから、簡単な構成で確実に自己
診断動作を行なうことができ、点火システムに異
常を生じたことを直ちに知ることができると共
に、その後における点火システムの異常個所の特
定を極めて容易に行なうことができるから、従来
技術の欠点を除いて故障修理や保守などが容易に
しかも短時間で行なうことができ、常に安全確実
なエンジンの運転状態を得ることのできる故障個
所自己診断警報表示装置に有用な点火システムの
自己診断装置を提供することができる。
[Table] In this Table 1, IRQ ANAL
There are programs, TASK SCHDULER, and EXIT. These programs (hereinafter referred to as OS) are held at addresses A000 to A300 of the ROM 104 as shown in FIG. In addition, as a level zero program
AD1IN, AD1ST, AD2IN, AD2ST, RPMIN
There are various programs, usually INTV IRQ 10 [m
SEC]. There are INJC, IGNCAL, and DWLCAL programs as level 1 programs, which are activated every 20 [mSEL] of INTV IRQ. A level 2 program is the LAMBDA program, which is activated every 40 [mSEC] of INTV IRQ. HOSEI as a level 3 program
There is a program and the INTV IRQ is 100 [mSEC]
is started every time. There are also EGRCAL and FISC programs as background jobs.
The above level zero program is PROG1 at address A70 of ROM104 in Figure 6.
It is stored in AAFF from 0. The level 1 program is the address of ROM104 as PROG2.
It is stored from AB00 to ABFF. level 2
The program is stored as PROG3 in addresses AE00 to AEFF of the ROM 104. The level 3 program is stored as PROG4 at addresses AF00 to AFFF in the ROM 104.
Also, background job programs are held from B000 to B1FF. In addition, the start address lift of each program from the above programs PROG1 to PROG4 (hereinafter
SETMR) is held from B200 to B2FF, and values representing each program activation cycle from PROG1 to PROG4 (hereinafter referred to as TTM) are stored at addresses B300 to B3FF. Other data is stored at addresses B400 to B4FF of the ROM in FIG. 6 as necessary. Following that, data ADV.MAP and AF for calculation.
MAP and EGR.MAP are memorized respectively. Note that a detailed explanation of other operations will be omitted. Thus, according to the EEC mentioned above,
Almost all controls related to the engine, such as A/F control, can be appropriately performed, and not only can strict exhaust gas regulations be fully met, but also an engine with an excellent fuel ratio can be obtained. By the way, in general, when a car or other vehicle becomes malfunctioning due to a malfunction, it is extremely rare for the user to find the malfunctioning part and perform repairs or inspections on his/her own; in most cases, the user will have to request a repair shop to do the work. It is customary to find the malfunctioning part, repair it, and inspect it. However, as mentioned above, automobile engines equipped with EEC use a large number of various sensors and actuators, and their failure modes are diverse and diverse, and failures are rarely obvious from the outside. When a failure occurs, it is extremely difficult to identify the location where the failure occurred. In addition, many malfunctions can only be discovered when the engine operating conditions meet specific conditions, so even if a user complains of a malfunction, the same problem cannot be detected while the engine is actually operating. Unless the conditions are reproduced, the failure cannot be discovered. Therefore, in the conventional EEC, when a failure occurs, it is difficult to accurately diagnose it, and locating the failure location requires a high degree of skill and a lot of time. Therefore, as disclosed in, for example, Japanese Patent Application Laid-open No. 55-56202, an apparatus has been proposed in which a predetermined inspection program is executed as necessary.
Furthermore, the operation of the various sensors and actuators of the EEC mentioned above is constantly monitored and an alarm is issued when a failure is detected, and a memory means is provided so that the stored data does not disappear even when the operation of the EEC is stopped. Fault location self-diagnosis for EEC that allows you to immediately know if a failure occurs in various sensors or actuators, and also allows you to immediately know the location of the failure even after the engine has stopped. An alarm device has been proposed, an example of which will be described below with reference to FIGS. 7 to 25 of the drawings. In this example as well, most of the configuration as an EEC is the same as the conventional example shown in FIGS. 1 to 6, so only the different points will be explained in detail in the following explanation. FIG. 7 shows a conventional example of a control system in which a failure location self-diagnosis alarm display device is applied to EEC.The difference from the conventional example shown in FIG. It is equipped with a RAM 1104 that is packed up and configured to operate as a non-volatile memory, and is equipped with an alarm lamp 1106 and a display switch (hereinafter referred to as DISP-SW) 1108. And CPU102, ROM104, RAM1
By a microcomputer program such as 06,
Checking inputs from various sensors 132 to 148, including the air flow rate sensor 24, water temperature sensor 56, etc., and inputs from various switches, such as the idle switch 148 to the start switch 152, under predetermined timing and conditions, respectively; The outputs of various actuators such as the injector 12, fuel pump 32, and bypass valve 61, as well as the amplifier 62 and transistor 90 included therein, are checked, and if any abnormality is found in these inputs or outputs, As shown in Figure 8, coded data corresponding to these abnormalities (hereinafter simply referred to as malfunction codes) is
It is written in the RAM 1104 and displayed on the alarm lamp 1106 as necessary. Therefore, if the above-mentioned abnormality occurs while driving the car or when starting the engine, the abnormality is immediately displayed on the alarm lamp 1106, and the driver of the car can continue driving without knowing that a malfunction has occurred. You can prevent it from continuing. The lighting mode of the warning lamp 1106 at this time is, for example, as shown in Fig. 9 a and b.
indicate cases in which an abnormality has already been detected before starting. As is clear from FIG. 9a, the lamp lights up when the key switch is turned on, and then goes out when the engine starts. This makes it possible to check that there is no abnormality in the alarm lamp 1106 itself. The lamp remains off as long as no abnormality occurs. Next, when a malfunction occurs, the light goes into a flashing mode that lights up for 0.6 seconds at 0.6 second intervals.
The light will continue to blink until the problem is resolved, and if the problem is resolved for some reason, it will remain off. At this time, if the engine stalls, the light will remain on as it does from the time the key switch is turned on until the engine starts. Also, as is clear from Figure b, if an abnormality occurs immediately when the key switch is turned on, or if an abnormality has already been detected before that, the flashing mode is set from the beginning and the alarm lamp 11 is turned on.
06 continues flashing. Also, even if the engine stalls at this time, the flashing mode will not change this time. Therefore, simply by seeing the flashing warning lamp 1106, one can know that some kind of abnormality has occurred and further continuation of operation is no longer desirable. Next, when the display switch 1108 is operated, an input is given to the CPU 102 via the DIO 128, the operation mode of this control circuit becomes a failure mode display mode, and the program is switched. When you enter this display mode program, the ROM
The code is read from 1104, and the alarm lamp 110 is turned on according to the read code.
Since the lighting mode of 6 is controlled, a person who inspects or repairs a car, such as a service operator, can simply read the code from the flashing mode of this warning lamp 1106 to detect abnormalities in various sensors, actuators, etc. Since it is possible to identify the object and also know the nature of the abnormality at the same time, inspections and repairs can be carried out easily and accurately in a short period of time. The lighting mode of the alarm lamp 1106 at this time is, for example, as shown in FIGS. 10 a to 10 c. First, a shows the alarm lamp 110 when the display mode is set by operating the display switch 1108 and no malfunction has occurred up to that point.
6 lighting mode, the code at this time is [01] as shown in Figure 8, so after 2.4 seconds of preparation time has elapsed after the display starts, the code at this time is 0.3.
Repeat lighting for 3 seconds and turning off for 3 seconds 3 times. This state is maintained as long as the display switch 1108 is turned on. Next, when b is in display mode, by then
If an error occurs in which the ISC terminal shorts, and as a result, code [22] is stored in RAM 1104, after 2.4 seconds of preparation time,
1.2 seconds of lighting time with 0.6 seconds of turning off time 2
Then, the blinking state, which occurs when the lighting time of 0.3 seconds continues twice, is repeated three times each. As is clear from these Figures 10a and b,
The number of flashes for 1.2 seconds following the 2.4 seconds of preparation time represents the 10s digit of the code, and the number of flashes for 0.3 seconds represents the 1s digit of the code.
It can be seen that the 3 seconds of lights-out time represents a code break. Therefore, in Figure 10a, the code is [01], so it lights up for 0.3 seconds once, and in Figure 10b, the code is [22], so it lights up twice for 1.2 seconds.
The lights appeared twice for 0.3 seconds each. In this way, display switch 110
Warning lamp 1106 that occurs when 8 is turned on
The code previously stored in the RAM 1104 can be visually read very easily depending on the lighting state of the code, and the location of the abnormality can be easily identified and the contents of the abnormality can be easily known. By the way, since such an EEC is equipped with a large number of sensors and actuators, there is a considerable possibility that a plurality of malfunctions may occur at the same time or in a relatively short period of time. Therefore, in this conventional example, a plurality of addresses are provided in the RAM 1104, so that a plurality of fault codes, for example three, can be stored. Therefore, in such a case, when the display switch 1108 is turned on and switched to the fault code display mode, the plurality of fault codes that have been stored up to that time are sequentially displayed three times each as shown in Figure 10c. It is now displayed. In other words, if the currently memorized fault codes were [22] and [15], code [22] would be displayed three times, followed by code [15] three times, and this would cause switch 1108 to be displayed. This will repeat until you turn it off. Therefore, even if a plurality of abnormalities have occurred up to that point, up to three abnormalities are stored and displayed in sequence, making it extremely easy to discover the malfunction. In addition, even if there is no problem,
The purpose of storing the code [01] in the RAM 1104 and reading it out and displaying it during the display mode is to confirm that no abnormality has occurred in the system including the RAM 1104. It can be done reliably. In this manner, according to the above conventional example, when an abnormality occurs during engine operation, the abnormality occurs in the battery 110.
2, the code is stored in the RAM 1104, which operates as a non-volatile memory, so that the location and contents of the problem can always be clearly known even after the engine has been stopped. Next, operations in the alarm bubble mode and code display mode when malfunctions of the various sensors and actuators shown in FIG. 8 are detected will be described. Figure 11 is a flowchart showing the operation for identifying alarm mode and code display mode, which is incorporated into the level 2 task in the program system diagram shown in Figure 5, and is activated every 40 [mSEC]. ing. When entering this task, it is determined in step (hereinafter referred to as S) 1 whether the display switch 1108 is ON or not, and if NO, the process advances to S2.
The RAM 1104 is checked to see if there is a defective flag, and if NO, the process directly proceeds to EXIT.
When the result in S2 is YES, the alarm operation in S3 is performed. Also, if the result is YES in S1, move on to S4,
Performs code display operation. Figure 12 is a flowchart showing the details of alarm operation S3 in Figure 11.
In S31, it is determined based on the flag whether or not the time setting is completed. If the result in S31 is NO, the process advances to S32 to set the flag. This is for checking the completion of the time setting required in S31. Then in S33
Set the time to 0.6 seconds. This time setting is performed by setting an initial value to a counter. Finally, in S34, the state of the alarm lamp 1106 is reversed, and then the process goes to EXIT. Also, when the result in S31 becomes YES,
Proceed to S35 and determine whether 0.6 seconds have elapsed by looking at the counter set in S33. If the result is NO, subtract 1 from the time counter in S37 and proceed to EXIT. Furthermore, if the result in S35 is YES, the flag is reset in S38 and then the process proceeds to EXIT. Therefore, the next time this flow is entered, the process will proceed from S31 to S32. The result of implementing the above flow is as follows. First, the first thing that comes into this flow is
As is clear from FIG. 11, this is when an abnormality occurs and the defect flag is raised in a state where there was no defect flag until then. Therefore, when entering S34 from S31 through S32 and S33, the warning lamp 1106 is still on.
is not lit. Therefore, in S34, lamp 110
6 lighting is performed. and then 40
When entering this flow every [mSEC], the time counter is sequentially decremented in S36, and when 0.6 seconds have passed, it becomes 0, so the flag is reset in S38. So next time I go from S31 to S34 again, but this time the lamp is on, so
This time, the lamp 1106 is turned off. Accordingly, the alarm operations shown in FIGS. 9a and 9b are performed by the flow shown in FIG. 12. It should be noted that the time counters referred to as S33, S35, S36, etc. are configured by software in the program of the CPU 102 using the memory area of the RAM 106 (Fig. 7), and it is clear from the above explanation. Thus, the initial value to be set in S33 is 0.6 seconds divided by 40 [mSEC], that is, 150. Next, FIGS. 13 to 15 are flowcharts showing details of the code display operation S4 in FIG.
When entering this flow, first check the flag in S301 to determine whether the 2.4 second timer is set, and if NO, proceed to S302 and turn on the alarm lamp.
106 is turned off, a 2.4 second timer is set, and a flag is set. Next, turn to S303 and check the flag to see if 2.4 seconds have passed.If the result of S301 is YES, skip S302.
Proceed to S303. If the result here is NO, S304
Turn to , then subtract 1 from the 2.4 second tire. Next, in S305, check whether the 2.4 second timer has reached 0 or not, and if NO, exit from EXIT, but if YES, exit from EXIT.
Set the flag in S306. By executing these steps S301 to S306, the light-off time of 2.4 seconds from the start of the display shown in FIGS. 10a and 10b is set. Note that the timer referred to here is the same as the time counter described above, and is configured in software. After this, the code is displayed in the manner shown in FIGS. 10a to 10c, but this point is not particularly relevant to the gist of the present invention, and if you look at the flowcharts in FIGS. 13 to 15, Since it is easy to understand, detailed explanation will be omitted. Next, the abnormality detection operations of the various sensors and actuators described above will be explained. In the embodiment of the present invention, when detecting an abnormality in a sensor, etc., the determination of whether or not there is an abnormality is repeated multiple times, for example, five times. In order to eliminate detection results that result in an abnormal state and reliably detect only abnormalities in the true sense,
The operations shown in the flowchart in the figure are performed. That is, when an abnormality detection program for various sensors, etc. is entered under predetermined conditions or timing, the operation shown in FIG. 16 is performed, and first, in S601, it is determined whether or not there is an abnormality. Note that the determination operation in S601 corresponds to various types of sensors and actuators, and some examples will be described later. If the determination result in S601 is NG, that is, abnormal, the process advances to S602 and the NG counter is incremented. This NG counter is for counting the number of judgments. Next, the process goes to S603 to check whether the content of this NG counter is 5 or not.
By the way, if the result in S601 is NG for the first time, the result in S603 will naturally be NO, so proceed directly to EXIT and end this operation. Next, when entering the operation of this flow, S601
If the result becomes NG again, the above operation is repeated, and the NG counter is incremented by 1 each time in S602. Therefore, if the operation of this flow is started and the result in S601 is NG each time,
In other words, during that time, the abnormal condition continues and it is 5
The result in S603 becomes YES only when the abnormality is detected several times. In this case, the process proceeds to S604 to set the contents of the NG counter to 0, and then sets the defect flag indicating that an abnormality has been detected in S605. Then, in S606, NG processing is performed such as storing a code corresponding to the content of the abnormality at a predetermined address in the RAM 1104 according to FIG. 8, and the flow exits. Also, if the result in S601 is OK, that is, there is no abnormality, the process proceeds to S607, and the contents of the NG counter are checked. If it has not reached 0, that is, the result is NO, the process proceeds to S608, and the contents of the NG counter are checked. After setting it to 0, head to S608. On the other hand, if the result in S607 becomes YES, proceed directly to S609, check whether or not the defective flag is set, and if the result is YES, clear the defective flag through S610, exit to EXIT, and return to NO. Sometimes S609
Exit immediately to EXIT. As a result of performing the operation according to the flowchart in FIG. 16, each time the judgment result in S601 becomes OK, that is, there is no abnormality, the NG counter is reset to 0 and the defective flag is cleared in S607 to S610. Therefore, the judgment result in S601 is 5 times,
The failure flag is set through S605 only when the result is NG continuously, that is, there is an abnormality, and it is possible to eliminate abnormalities caused by false detection of temporary abnormalities due to noise or the like. Note that if the content of the NG counter in S603 is set to another number, the number of times the check is performed can be set to an arbitrary number accordingly. In addition, in this embodiment, after the failure flag has been set and NG processing has been performed five times in a row,
Even if the result in S601 is OK, the defect flag is set and NG processing is performed again only when NG occurs five times in a row.However, once the defect flag is set, NG processing is performed again. It can be considered that the reason why the judgment becomes OK after the test is carried out is more likely to be due to an error being determined as normal than if the abnormality disappears.
If the determination becomes NG after that, the defect flag may be reset and NG processing may be performed immediately. In other words, in this case, even if the result in S601 is not NG five times in a row, S602 is immediately executed just once.
Then, it passes through S605. To this end, for example, a step may be provided after S610 to set the contents of the NG counter to 4. Next, the abnormality check of various sensors and actuators shown in S601 of FIG. 16 will be explained. First, an embodiment of the abnormality check operation of the air flow sensor AFS will be described with reference to the flowchart of FIG. This operation is processed as one task of the level 2 task 256 in Fig. 5. When entering this flow, data from the AFS 24 (Fig. 7) is first fetched from the RAM 106 in S901, and then the data is judged in S902. Do this. As shown in Fig. 18, this AFS24 generates an output voltage within the range under normal conditions, so when it is determined in S902 that the data is within the range, the determination result is unchanged.
OK. However, when the result in S902 is determined to be a low output state, the process proceeds to S903, prepares to set a defective flag corresponding to the low output, and exits with a determination result of NG. Therefore, at this time, the code "14" is stored according to FIG. Also, when the result of S902 is judged to be a state of high output, it turns to S904, checks whether the engine speed is 4000 rpm or more, and confirms the result.
If it says YES, you can exit OK. On the other hand, the result is NO
If so, the process advances to S905, prepares to set a failure flag corresponding to the large output, and then exits to NG. Therefore, at this time, as shown in Figure 8,
Code "15" is memorized. In addition, here S904
The reason why this is provided is that even if the AF data reaches the high output range, it is not abnormal when the engine speed is high. Next, FIG. 19 shows an embodiment of an abnormality check system for the actuator that controls the idle speed, that is, the bypass valve 61. In the figure, 210 and 211 are detection signals PA6
and the output terminal of PA7, 212 is the input terminal of test signal PB7, Q213 is the amplification transistor, Q2
14 is a driving transistor, and Q215 is a detection transistor. FIG. 20 is a flowchart showing the abnormality check operation, in which background job 208 (fifth
This is executed as one program shown in FIG. 2. When this flow starts, first, in S20, the detection signals PA6 and PA7 are read, and then in S21, it is checked whether the signal PA6 is 0 or 1. Then, when the result becomes 1, the signal is sent in the following S22.
Check whether PA7 is 0 or 1, and if the result is 1, it is assumed that there is no abnormality and exits successfully. In other words, signal PA6
is 0, which means that the signal ISC is 1, so it is normal for both transistors Q213 and Q214 to be on, and therefore transistor Q21 is turned on.
5 should be off, so at this time the signal
If PA7 is also 1, it means that there is no abnormality. Also, if the result in S22 becomes 0, this indicates that one or both of transistors Q213 and Q214 is in the oven state, so S23
Proceed to prepare to set the bad flag, then
Passed out in NG. Therefore, at this time, the code "20" will be stored according to FIG. On the other hand, if the result in S21 becomes 0, proceed to S24, check the signal PA7, and if it becomes 0, proceed to S24.
Proceed to OK. In other words, if signal PA6 becomes 0, signal ISC
However, transistors Q213 and Q214 are off, and transistor Q215 is therefore on. Therefore, if signal PA7 is also 0, it is in a normal state. However, if the result in S24 becomes 1, the next 725
After setting the test signal PB7 of the terminal 212 to 1, the signal PA7 is read in S26, and it is checked whether this signal PA7 is 1 or 0 in the following S27. When the result becomes 1, preparations are made to set the output shot defect flag at S28, and then the process exits to NG. Therefore, the code "22" will be stored at this time. Also, if the result in S27 is 0, turn to S29,
The harness oven defect flag is set and the error is NG, and the code "21" is stored. In other words, if signal PA6 is 0, transistor Q2
13 and Q214 are supposed to be off and transistor Q215 is supposed to be on, so signal PA7 must be 0. However, signal PA7 becomes 1, which means that the base of transistor Q215 becomes 0.
It means becoming. Therefore, signal at S25
When setting PB7 to 1, if signal PA7 does not become 0, a signal is sent to the base of transistor Q215.
Since this means that PB7 is not given, it can be seen that the output is shot. Also, if the signal PA7 becomes 0 at this time, it means that the signal PB7 is applied to the base of the transistor Q215,
Therefore, it means that no voltage has been applied from the power supply +B through the solenoid valve 61 until then, and it is determined that the harness is open. Next, FIG. 21 shows an example of an abnormality check system for the pressure control valve 84, which is an actuator for EGR control, in which 901 and 903 are output terminals for detection signals PA4 and PA5, 902 is an input terminal for test signal PB5,
Q91 and Q92 are detection transistors.
Note that 90 is a transistor for driving the pressure control valve 84. FIG. 22 is a flowchart showing the operation of this abnormality check system, which operates as one of the programs of background job 208 in FIG. When entering this flow, first the S40 detection signal PA
4. Read PA5, then signal PA4 becomes 1 in S41
or 0. If the result in S41 is 0, the process advances to S42 to check whether the signal PA5 is 1 or 0, and if the result is 1, the process exits to OK. Further, when the result is 0, a defect flag is prepared to indicate that the transistor 90 has been opened through S41,
Passed out in NG. In other words, signal PA4 is 0 in S41.
This indicates that the transistor Q91 is on, that is, the signal EGR is 1, and at this time, the transistor 90 should also be on.
Therefore, if transistor 90 is normal, transistor Q92 will be turned off, so if the result is 1 when PA5 is checked in S42, there is no abnormality and it is OK.
If the result is 0, the transistor 90 is in an oven abnormality and becomes NG. Therefore, at this time, the code "23" is entered from Figure 8.
is memorized. Also, if the result in S41 is 1, proceed to S44,
Check signal PA5 and if it is 0 then OK
However, if the result becomes 1, proceed to S45 and first try setting test signal PB5 to 1. Then S46
After reading the detection signal PA5 in S47, it is checked whether it is 0 or 1. If the result in S47 is 1, S48
The output ground failure flag is prepared through S49, and when the result becomes 0, the harness open failure flag is prepared in S49, and each exit is NG. In other words, the signal PA4 becoming 1 in S41 means that the input signal EGR is 0.
Therefore, if the transistor 90 is normal, it should be off, and at that time the transistor Q92 is on, so if the detection signal PA5 is 0 in S44, it is OK. Further, if the result is 1 in S44, it means that the voltage from the power supply +B is not applied to the base of the transistor Q92, so try applying the test signal PB5 in S45. If transistor Q92 still does not turn on, that is, S47
When the result becomes 1, the transistor 90
If the short or output terminal of transistor Q92 is turned on and the result at S47 becomes 0, it can be seen that the path from the power supply +B to the base of transistor Q92 is defective in the oven, that is, the harness oven. Therefore, when passing through S48, the code is "25"
However, when the code passes through S49, the code "24" is stored. Next, an embodiment of the abnormality check system for the fuel pump 32 is shown in FIGS. 23 to 25. FIG. 23 shows a circuit of a relay driving transistor Q32 of the fuel pump 32, and a detection signal PA2 is taken out from its collector. By the way, there are two types of abnormality checks for the fuel pump 32: one in normal operating conditions and one when the engine stalls. First, Fig. 24 shows the one during normal operation, and is checked every 10 minutes, for example, by a timer interrupt. First, in S60, the control signal IDO0 is set to 1 to turn off the transistor Q32. This is because under normal operating conditions, the fuel pump 32 is in operation and therefore the control signal is
This is because DIO0 is set to 0. Then, after a predetermined waiting time, it is checked in S61 whether the detection signal PA2 has become 0 or not. If the result is determined to be YES, the signal DIO0 is set to 0 in S62.
I set it back to , and it exits OK. Further, if the result in S61 is NO, the process proceeds to S63, where a defect flag indicating that the transistor Q32 has become defective in shot is prepared, and the process exits to NG. In other words, if transistor Q32 is normal, it is turned on and off by control signal DIO0, and detection signal PA2
is 1 if transistor Q32 is on, and 0 if it is off.
This is because it is supposed to be. Therefore, at this time, code "33" is stored. Next, FIG. 25 shows the operation when the engine stalls, which is performed by one program of the engine stall task 262 (FIG. 5). When entering this flow, first S72
The detection signal PA2 is checked and it is determined whether it is 0 or not. If the result is YES, the process advances to S71, where the output terminal short failure flag including the F/P relay is prepared, and the process exits to NG. In other words, since the signal DIO0 is still 0 at this time, the transistor Q32 should be on, and if the signal PA2 is 0 despite this, it is determined that the output terminal is short. Therefore, at this time, code "34" will be stored. Also, if the result in S70 is NO, the next S72
First, signal DIO0 is set to 1 to turn off transistor Q32, and then signal PA is turned off again in S73.
Examine 2 and then determine whether it becomes 1 or not. If the result in S37 is NO, it exits as is, but if it is YES, the harness leading to the fuel pump 32 prepares a flag for an open failure in S74, and exits as NG. That is, at this time, even though the transistor Q32 is turned off, the voltage from the power supply +B appears as the signal PA2, which means that the output harness is open. Therefore, at this time, code "35" will be stored. In addition, the abnormality check when the engine stalls is 1.
Don't do it repeatedly. Therefore, steps other than S605 and S606 in the flow of FIG. 16 are omitted. By the way, in such a system, in order to detect an abnormality in the ignition system, it is necessary to perform the detection in accordance with the timing of the operation of the ignition system. In other words, in order to detect an abnormality in the ignition system, it is necessary to turn the drive transistor and power transistor 64 ON/OFF, so in order to detect an abnormality without affecting the operating state of the engine, As mentioned above, you need to take the timing. Therefore, in the past, the abnormality detection operation became complicated due to the above-mentioned timing adjustment, and moreover, it was difficult to perform the abnormality detection operation with sufficient accuracy. SUMMARY OF THE INVENTION An object of the present invention is to provide a self-diagnosis device for an ignition system which eliminates the drawbacks of the prior art described above, has a simple configuration, and is capable of reliably detecting an abnormality in the ignition system. In order to achieve this object, the present invention is characterized in that the occurrence of engine stall (hereinafter referred to as engine stall) is monitored, and the ignition system is diagnosed only when the engine stalls. DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a self-diagnosis device for an ignition system according to the present invention will be described below with reference to the drawings. FIG. 26 shows an embodiment of a circuit for self-diagnosis according to the present invention, which is provided in the amplifier 62 of FIG. 2, in which Q621 is an input transistor, Q622 is a driving transistor, and Q623 is a test transistor. . As already explained, 58 is an ignition coil, and 64 is a power transistor. Also, IGN is the ignition pulse, S is the diagnostic signal,
M is a monitor voltage. FIG. 27 is a flowchart showing an example of the self-diagnosis operation of the ignition system using this circuit, and the operation will be explained below using this diagram. This diagnostic operation is processed, for example, as one of the level 2 task 256 or the level 3 task 258 in FIG. Check whether it is familiar or not, and if it is NO
When , the process immediately exits to EXIT and no processing is performed in this flow. Note that the engine stall flag at this time is set to a predetermined address in the RAM 106, for example, by processing by the engine stall task 262. On the other hand, if the result in S80 is YES, that is, the engine stall flag is set, the process advances to S81.
While outputting the diagnostic signal S to the transistor Q623, the collector voltage of the driving transistor Q622, that is, the monitor voltage M is read. At this time, the ignition pulse IGN is set to the engine stall task 262.
Since it is reset by (see Table 1),
The driving transistor Q622 is in the on state,
It turns off only after the signal S is applied. Next, the process advances from S81 to S82, and in this step it is checked whether the monitor voltage is smaller than 0.6V.
And when the result is YES, it turns to S83 and this
The defect flag is set in S83, and the RAM is set in S84.
After memorizing the fault code "36" in 1104
Exit to EXIT and end the processing according to this flow.
On the other hand, if the result in S82 is NO, that is, the collector voltage of the driving transistor Q622 is greater than 0.6V, the process proceeds to S85, where it is checked whether the monitor voltage M is greater than 3V. If the result is YES, proceed to S86,
At this step 86, the defect flag is set, and the following S
After memorizing the fault code "37" in 87
Exit to EXIT and end the processing according to this flow. Also, if the result in S85 is NO, the next S
Proceeding to 88, the monitor voltage M is read after the diagnostic signal S is set to zero. Next, proceed to S89, where the read monitor voltage M is
It is checked to see if it is greater than 1.3V, and if the result is YES, exits to EXIT through S90 and S91, and the defect flag is set and the defect code "38" is stored, but if the result in S89 is NO. If , the program passes through S92, resets the defective flag, and then exits to EXIT. Next, the results obtained by performing the operations according to the flowchart of FIG. 27 will be described with reference to FIG. 28. 1 in FIG. 28 represents the signal REF from the crank angle sensor 146, and this REF disappears when the engine stalls. Then, it is determined that an engine stall has occurred only when REF does not appear for one second. Therefore, at time T0 in FIG. 1, ENST IRQ is generated and an ENST flag is set at a predetermined address in RAM 106 as shown in FIG. On the other hand, since the ignition pulse IGN is generated by the signal RER as shown in Figure 28 2, when the engine stalls and REF disappears, IGN stops changing.
When an engine stall occurs at the timing indicated by the solid line arrow in Fig. 1, the result is as shown by the solid line in Fig. 2, but when the engine stall occurs at the timing indicated by the broken line arrow in Fig. 1, the result is as shown by the broken line in Fig. 2. It becomes like this. At this time, the engine stall task 26
2 makes the ignition pulse IGN zero. As a result of the above, the result in S80 becomes YES at the 27th time after time T 0 in Figures 1 to 3.
This only happens when you enter the flow shown in the diagram. Now, in S81, first, as shown in FIG. 28, at time T1, a diagnostic signal S is supplied to transistor Q623 to turn on this transistor, thereby turning off transistor Q622. The application time of the signal S at this time is, for example, about 30 msec. Next, the monitor voltage M is read at time T2 within the period in which 30 msec has not yet elapsed. Since this monitor voltage M changes as shown in FIG. 2 when the ignition system is normal, S81
The results of judging the monitor voltage M read in S82 and S85 should both be NO, but the power transistor 64 is shot, or the wire harness leading to the power transistor 64 is grounded. When this happens, the monitor voltage M changes as shown in Fig. 18, so
When the result in S82 is YES, S83 and S84
The fault code "36" will be stored through the system. Also, when the wire harness leading to the power transistor 64 is in an oven state, the monitor voltage M becomes as shown in Fig. 28, so the result at S82 is NO, but the result at S85 is YES. , the fault code "37" will be stored through S86 and S87. Next, when the results in both S82 and S85 are NO, proceed to S88, and return the diagnostic signal S to zero at time T3, approximately 30 msec after time T1 , as shown in Fig. 28 . , the monitor voltage M is read at subsequent time T4 , and checked in S89. At this time,
If the drive transistor Q622 was in the oven state, the monitor voltage M would be as shown in Figure 28, 9, so the result at S89 would be YES, and the fault code "38" would be sent through S90 and S91. It will be remembered. On the other hand, as mentioned above, when the ignition system is normal, the monitor voltage M is as shown in Figure 28 6, so the result in S89 is NO, and this is the first time that there is no abnormality in the ignition system. As a result, the defect flag is reset through S92, and as a result, defect codes "36", "37",
None of the numbers ``38'' will be remembered. Therefore, according to this embodiment, the self-diagnosis operation of the ignition system can be performed independently of the ignition timing, and the diagnostic operation can be performed easily and reliably. By the way, in the above embodiment, the RAM
A battery 1102 is provided for backing up the battery 1104, but this battery 1102 may be one that directly supplies voltage from an automobile battery without going through a key switch, or a separate dry battery or the like may be provided. . Of course, if the RAM 1104 is a nonvolatile memory, these are unnecessary. In addition, a warning lamp 110 is used to display the malfunction code.
6 may be omitted, and another display means, for example, a means capable of directly displaying numbers, characters, etc., may be provided, or if necessary, a fault code may be displayed by connecting with a plug or the like. In this case, the contents of the RAM 1104 can be displayed as they are in numbers or characters. As explained above, according to the present invention, since the abnormality diagnosis operation of the engine ignition system is performed when the engine is stalled, the self-diagnosis operation can be performed reliably with a simple configuration, and if an abnormality occurs in the ignition system. It is possible to immediately know what has happened, and it is also extremely easy to identify the abnormality in the ignition system afterwards, so troubleshooting and maintenance can be done easily and in a short period of time, eliminating the shortcomings of the conventional technology. It is possible to provide an ignition system self-diagnosis device that is useful for a fault location self-diagnosis warning display device that can always obtain a safe and reliable engine operating state.

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

第1図ないし第6図は燃料噴射タイプの内燃機
関に適用された電子式エンジン制御システムの一
例を示した図で、第1図は制御システムの一部を
含むエンジンの断面図、第2図は点火装置の概略
図、第3図は排ガス環流装置のシステム図、第4
図は制御システムの全体構成ブロツク図、第5図
はそのプログラムシステム図、第6図はプログラ
ム内容を示すメモリの構成図、第7図は故障個所
自己診断警報表示装置の一例を示す全体構成ブロ
ツク図、第8図は不具合コードの一例を示す説明
図、第9図a,bは警報動作時におけるランプの
点灯モードの一例を示す説明図、第10図a〜c
はコード表示動作時におけるランプの点灯モード
の一例を示す説明図、第11図は警報動作とコー
ド表示動作を識別する方法の一例を示すフローチ
ヤート、第12図は警報動作の一例を示すフロー
チヤート、第13図ないし第15図はコード表示
動作の一例を示すフローチヤート、第16図は異
常チエツクの基体パターンの一例を示すフローチ
ヤート、第17図はエアフローセンサの異常チエ
ツク動作の一例を示すフローチヤート、第18図
はエアフローセンサの動作説明図、第19図はバ
イパスバルブの異常チエツクシステムの一例を示
す回路図、第20図はその動作説明用のフローチ
ヤート、第21図は制圧弁の異常チエツクシステ
ムの一例を示す回路図、第22図はその動作説明
用のフローチヤート、第23図はフユエルポンプ
の異常チエツクシステムの一例を示す回路図、第
24図及び第25図はその動作説明用のフローチ
ヤート、第26図は本発明による点火システムの
自己診断装置の一実施例を示す回路図、第27図
はその動作説明用のフローチヤート、第28図は
同じくその動作説明用のタイムチヤートである。 58……点火コイル、62……点火システムの
増幅器、64……パワートランジスタ、Q621
……入力トランジスタ、Q622……駆動用トラ
ンジスタ、Q623……テスト用トランジスタ、
IGN……点火パルス、S……診断用信号、M…
…モニタ電圧。
Figures 1 to 6 are diagrams showing an example of an electronic engine control system applied to a fuel injection type internal combustion engine. Figure 1 is a cross-sectional view of the engine including a part of the control system, and Figure 2 Figure 3 is a schematic diagram of the ignition system, Figure 3 is a system diagram of the exhaust gas recirculation system, Figure 4 is a system diagram of the exhaust gas recirculation system,
Figure 5 is a block diagram of the overall configuration of the control system, Figure 5 is a diagram of its program system, Figure 6 is a configuration diagram of memory showing program contents, and Figure 7 is a block diagram of the overall configuration showing an example of a fault location self-diagnosis alarm display device. Figure 8 is an explanatory diagram showing an example of a malfunction code, Figures 9 a and b are explanatory diagrams showing an example of the lamp lighting mode during alarm activation, and Figures 10 a to c
11 is an explanatory diagram showing an example of a lamp lighting mode during code display operation, FIG. 11 is a flowchart showing an example of a method for distinguishing between alarm operation and code display operation, and FIG. 12 is a flow chart showing an example of alarm operation. , FIGS. 13 to 15 are flowcharts showing an example of the code display operation, FIG. 16 is a flowchart showing an example of the abnormality check base pattern, and FIG. 17 is a flowchart showing an example of the abnormality check operation of the air flow sensor. Figure 18 is an explanatory diagram of the operation of the air flow sensor, Figure 19 is a circuit diagram showing an example of a bypass valve abnormality check system, Figure 20 is a flowchart to explain its operation, and Figure 21 is an error diagram of the pressure control valve. A circuit diagram showing an example of a check system, FIG. 22 is a flowchart for explaining its operation, FIG. 23 is a circuit diagram showing an example of a fuel pump abnormality check system, and FIGS. 24 and 25 are a flow chart for explaining its operation. FIG. 26 is a circuit diagram showing an embodiment of the self-diagnosis device for an ignition system according to the present invention, FIG. 27 is a flow chart for explaining its operation, and FIG. 28 is a time chart for explaining its operation. be. 58...Ignition coil, 62...Ignition system amplifier, 64...Power transistor, Q621
...Input transistor, Q622...Drive transistor, Q623...Test transistor,
IGN...Ignition pulse, S...Diagnostic signal, M...
...Monitor voltage.

Claims (1)

【特許請求の範囲】 1 エンジンの運転状態を表わす複数のデータに
応じてエンジンを所定の運転状態に制御する電子
式エンジン制御装置において、エンジンストール
の発生を監視するエンスト検出手段と、点火シス
テムの駆動用トランジスタをオフ状態にしてその
コレクタ電圧を検出する第1の検出手段と、該駆
動用トランジスタをオン状態にしてそのコレクタ
電圧を検出する第2の検出手段と、上記第1の手
段による検出電圧が第1の所定電圧値に達しなか
つたことにより第1の異常状態を表わすデータを
出力する第1の異常判定手段と、上記第1の検出
手段による検出電圧が第2の所定電圧値を超えた
ことにより第2の異常状態を表わすデータを出力
する第2の異常判定手段と、上記第2の検出手段
による検出電圧が第3の所定電圧値を超えていた
ことにより第3の異常状態を表わすデータを出力
する第3の異常判定手段とを設け、上記エンスト
検出手段によるエンジンストール検出時に上記第
1と第2の検出手段及び上記第1乃至第3の異常
判定手段を動作させるように構成したことを特徴
とする点火システムの自己診断装置。 2 特許請求の範囲第1項において、上記エンジ
ン制御装置の動作停止時にも記憶データの保持が
可能なメモリ手段と、警報手段とを設け、上記第
1乃至第3の異常状態を表わすデータが出力され
たときには、これらのデータを上記メモリ手段に
記憶すると共に、これのデータの発生に応じて上
記警報手段を動作させるように構成したことを特
徴とする点火システムの自己診断装置。 3 特許請求の範囲第2項において、上記メモリ
手段に記憶されたデータを順次繰り返して読出す
手段を設け、上記警報手段を、この読出したデー
タに対応したモードで動作させることにより異常
状態が識別できるように構成したことを特徴とす
る点火システムの自己診断装置。
[Scope of Claims] 1. In an electronic engine control device that controls an engine to a predetermined operating state according to a plurality of data representing the operating state of the engine, there is provided an engine stall detection means that monitors the occurrence of an engine stall, and an ignition system. a first detection means that turns off the driving transistor and detects its collector voltage; a second detection means that turns on the driving transistor and detects its collector voltage; and detection by the first means. a first abnormality determination means that outputs data representing a first abnormal state when the voltage does not reach a first predetermined voltage value; a second abnormality determining means outputting data representing a second abnormal state when the voltage exceeds a third predetermined voltage value; and a third abnormal state because the detected voltage by the second detecting means exceeds a third predetermined voltage value. and third abnormality determining means for outputting data representing the engine stall, and the first and second detecting means and the first to third abnormality determining means are operated when the engine stall detecting means detects an engine stall. A self-diagnosis device for an ignition system, characterized in that: 2. In claim 1, a memory means capable of retaining stored data even when the operation of the engine control device is stopped, and an alarm means are provided, and data representing the first to third abnormal states is outputted. 1. A self-diagnosis device for an ignition system, characterized in that, when the alarm occurs, these data are stored in the memory means, and the alarm means is operated in accordance with the generation of the data. 3. In claim 2, means is provided for sequentially and repeatedly reading data stored in the memory means, and the abnormal state is identified by operating the alarm means in a mode corresponding to the read data. A self-diagnosis device for an ignition system, characterized in that it is configured to enable the self-diagnosis of an ignition system.
JP5702481A 1981-04-17 1981-04-17 Self diagnostic device of ignition system Granted JPS57173569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5702481A JPS57173569A (en) 1981-04-17 1981-04-17 Self diagnostic device of ignition system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5702481A JPS57173569A (en) 1981-04-17 1981-04-17 Self diagnostic device of ignition system

Publications (2)

Publication Number Publication Date
JPS57173569A JPS57173569A (en) 1982-10-25
JPH0135180B2 true JPH0135180B2 (en) 1989-07-24

Family

ID=13043855

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5702481A Granted JPS57173569A (en) 1981-04-17 1981-04-17 Self diagnostic device of ignition system

Country Status (1)

Country Link
JP (1) JPS57173569A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2525871B2 (en) * 1988-07-22 1996-08-21 株式会社日立製作所 Engine controller diagnostic system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS566134A (en) * 1979-06-28 1981-01-22 Nissan Motor Co Ltd Diagnostic unit of controller for car

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS566134A (en) * 1979-06-28 1981-01-22 Nissan Motor Co Ltd Diagnostic unit of controller for car

Also Published As

Publication number Publication date
JPS57173569A (en) 1982-10-25

Similar Documents

Publication Publication Date Title
JPS6331731B2 (en)
JP4491967B2 (en) VEHICLE CONTROL DEVICE AND RECORDING MEDIUM HAVING SELF-DIAGNOSTIC FUNCTION
US9151238B2 (en) Fault diagnosis method, fault diagnosis system, and fault diagnosis device for engine
US6032088A (en) Method for checking vehicle component systems in motor vehicles
KR101424143B1 (en) Method for diagnosing the leakage of an injector and associated control device
US8459005B2 (en) Method and device for diagnosing a particle filter
US5111686A (en) Fault diagnosis apparatus for mounting on a vehicle
JPH05280410A (en) Abnormality diagnostic device of internal combustion engine
JPH10252635A (en) Engine combustion condition detecting device having trouble diagnosing device
JPH0342415B2 (en)
US4546646A (en) System for diagnosing an internal combustion engine
JP2010106785A (en) Abnormality diagnostic device for emission gas recirculating system
JPH0229856B2 (en)
US5529041A (en) Active engine misfire detection system
KR20010023444A (en) Fuel injection diagnostic control device
JPH06317148A (en) Method and apparatus for controlling supply of secondary air to exhaust gas of internal combustion engine
EP1598540A2 (en) Fuel injection apparatus designed to diagnose failure in injection fuel into each cylinder of diesel engine
AU606997B2 (en) Malfunction diagnostic apparatus for vehicle control system
JPS60111062A (en) Output balance diagnostic device for internal-combustion engine
JPH0135180B2 (en)
JPS6349066B2 (en)
JP5988805B2 (en) Control device for internal combustion engine
KR100191412B1 (en) Cracking test for dignosis car by expert system
JP2570287B2 (en) Function diagnosis display device for secondary air supply device
JPS6335820B2 (en)