JPH0565840A - Abnormality detection method for air-fuel ratio sensor - Google Patents

Abnormality detection method for air-fuel ratio sensor

Info

Publication number
JPH0565840A
JPH0565840A JP3226209A JP22620991A JPH0565840A JP H0565840 A JPH0565840 A JP H0565840A JP 3226209 A JP3226209 A JP 3226209A JP 22620991 A JP22620991 A JP 22620991A JP H0565840 A JPH0565840 A JP H0565840A
Authority
JP
Japan
Prior art keywords
air
sensor
fuel ratio
condition
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP3226209A
Other languages
Japanese (ja)
Other versions
JP3064547B2 (en
Inventor
Takayuki Sogawa
能之 十川
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.)
Subaru Corp
Original Assignee
Fuji Heavy Industries 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 Fuji Heavy Industries Ltd filed Critical Fuji Heavy Industries Ltd
Priority to JP3226209A priority Critical patent/JP3064547B2/en
Publication of JPH0565840A publication Critical patent/JPH0565840A/en
Application granted granted Critical
Publication of JP3064547B2 publication Critical patent/JP3064547B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electrical Control Of Air Or Fuel Supplied To Internal-Combustion Engine (AREA)

Abstract

PURPOSE:To detect whether or not an air-fuel ratio sensor is abnormal in operation by setting a first and a second condition to detect a short-circuited condition and a disconnected condition respectively with respect to the output value of an air-fuel ratio sensor, and concurrently providing a means judging whether the air-fuel ratio sensor is in a disconnected condition or in a non-active condition based on relation among the output value of the air-fuel ratio sensor, the first and second conditions. CONSTITUTION:When time that has elapsed after an engine was started, is equal to or more than a set value TO2SHC or less than a set value TO2SHD, it is judged whether or not a first O2 sensor is short-circuited or disconnected with its activation completed, if the time elapsed is between the set value TO2 SHC and TO2SHD, the value of FLAGCL12 is referred. When FLAGCL12 1, the O2 sensor is moved for judging and processing a close loop condition 2, so that it is judged whether or not the sensor is disconnected. And when FLAGCL12 =O, the output voltage VO2 of the first O2 sensor is compared with the set value O2SHIN so as to be judged and processed. By this constitution, an abnormal air-fuel ratio sensor is detected by a condition set in response to time that has elapsed right after an engine was started.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、空燃比センサの異常検
出における誤判定を防止する空燃比センサの異常検出方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an air-fuel ratio sensor abnormality detection method for preventing erroneous determination in air-fuel ratio sensor abnormality detection.

【0002】[0002]

【従来の技術】周知のように、エンジンの空燃比フィー
ドバック制御においては、吸入空気量とエンジン回転数
とから定まる基本燃料噴射量を、排気系に設けたO2 セ
ンサなどの空燃比センサによるクロ−ズドル−プの補正
係数すなわち空燃比フィ−ドバック補正係数により補正
し、空燃比が目標空燃比(理論空燃比)となるようにし
ている。
As is well known, in air-fuel ratio feedback control of an engine, a basic fuel injection amount determined by an intake air amount and an engine speed is controlled by an air-fuel ratio sensor such as an O2 sensor provided in an exhaust system. The air-fuel ratio is corrected to the target air-fuel ratio (theoretical air-fuel ratio) by correcting the air-fuel ratio feedback correction coefficient.

【0003】従って、この空燃比センサに異常があると
フィードバック制御に狂いが生じ、空燃比が不適切とな
ってエンジン不調を生じるため、従来より、空燃比セン
サの異常を検出する方法が種々提案されており、例え
ば、特開昭60−173332号公報には、内燃機関が
特定運転状態の場合、基本燃料噴射量に対する減量補正
値が零であり、かつ基本燃料噴射量に対する増量補正値
が零でなく、空燃比センサの出力信号がリーンである場
合に、空燃比センサが異常であると判断することによ
り、実際の空燃比がリーンであっても正確な空燃比セン
サの異常検出を行なうことのできる技術が開示されてい
る。
Therefore, if there is an abnormality in the air-fuel ratio sensor, the feedback control will be misaligned and the air-fuel ratio will be inadequate to cause engine malfunction. Therefore, various methods for detecting an abnormality in the air-fuel ratio sensor have been conventionally proposed. For example, in JP-A-60-173332, when the internal combustion engine is in a specific operating state, the reduction correction value for the basic fuel injection amount is zero and the increase correction value for the basic fuel injection amount is zero. Instead, when the output signal of the air-fuel ratio sensor is lean, it is judged that the air-fuel ratio sensor is abnormal, so that even if the actual air-fuel ratio is lean, accurate air-fuel ratio sensor abnormality detection is performed. Techniques capable of doing so have been disclosed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、エンジ
ン暖機再始動時などのように、実際の空燃比がリーンの
場合には、始動のための燃料増量によって空燃比が実際
にリッチ化するまでには時間遅れがあり、燃料の増量及
び減量補正値と空燃比センサの出力信号とから空燃比セ
ンサの異常検出を行なうと、誤判定となるおそれがあ
る。
However, when the actual air-fuel ratio is lean, such as when the engine is warmed up and restarted, before the air-fuel ratio actually becomes rich due to an increase in the amount of fuel for starting. Has a time delay, and if an abnormality detection of the air-fuel ratio sensor is performed from the fuel increase / decrease correction value and the output signal of the air-fuel ratio sensor, an erroneous determination may occur.

【0005】本発明は上記事情に鑑みてなされたもの
で、燃料増量補正にかかわらずエンジン始動直後の実際
の空燃比がリーンである場合においても、確実に空燃比
センサの異常を検出することのできる空燃比センサの異
常検出方法を提供することを目的としている。
The present invention has been made in view of the above circumstances, and it is possible to reliably detect an abnormality of the air-fuel ratio sensor even when the actual air-fuel ratio immediately after the engine is started is lean regardless of the fuel increase correction. An object of the present invention is to provide a method of detecting an abnormality in an air-fuel ratio sensor that can be performed.

【0006】[0006]

【課題を解決するための手段】本発明による空燃比セン
サの異常検出方法は、エンジンの排気ガスの空燃比を検
出する空燃比センサの出力値に対し、短絡状態を検出す
るための第1の条件と断線状態を検出するための第2の
条件とを設け、エンジン始動後、所定時間以上経過した
設定範囲内で、上記空燃比センサの出力値が設定値以上
であって且つ上記第2の条件を満足しないとき、上記空
燃比センサが断線状態あるいは未活性であると判別する
手順と、エンジン始動後の経過時間が上記設定範囲外の
場合、あるいは、上記設定範囲内にあっても上記空燃比
センサの出力値が上記設定値未満の場合、上記空燃比セ
ンサの出力値が上記第1の条件を満足しないとき、上記
空燃比センサが短絡状態あるいは未活性であると判別
し、一方、上記空燃比センサの出力値が上記第2の条件
を満足しないとき、上記空燃比センサが断線状態あるい
は未活性であると判別する手順とを備えたことを特徴と
する。
A method for detecting abnormality of an air-fuel ratio sensor according to the present invention is a first method for detecting a short-circuit state with respect to an output value of an air-fuel ratio sensor for detecting an air-fuel ratio of engine exhaust gas. A condition and a second condition for detecting a disconnection state are provided, and the output value of the air-fuel ratio sensor is the set value or more and the second If the conditions are not satisfied, the procedure for determining that the air-fuel ratio sensor is in a broken state or inactive, and if the elapsed time after engine start is outside the set range, or even if it is within the set range, When the output value of the fuel ratio sensor is less than the set value and when the output value of the air-fuel ratio sensor does not satisfy the first condition, it is determined that the air-fuel ratio sensor is in the short-circuited state or inactive, while Air fuel When the output value of the sensor does not satisfy the second condition, characterized in that a procedure for determining the air-fuel ratio sensor is disconnected state or the deactivated.

【0007】[0007]

【作用】本発明の空燃比センサの異常検出方法では、エ
ンジン始動後、所定時間以上経過するまでは、空燃比セ
ンサの出力値が第1の条件を満足しないとき、空燃比セ
ンサが短絡状態あるいは未活性であると判別し、空燃比
センサの出力値が第2の条件を満足しないときには、上
記空燃比センサが断線状態あるいは未活性であると判別
する。
In the air-fuel ratio sensor abnormality detecting method of the present invention, when the output value of the air-fuel ratio sensor does not satisfy the first condition until a predetermined time or more has elapsed after the engine is started, the air-fuel ratio sensor is in a short circuit state or When it is determined that the air-fuel ratio sensor is inactive and the output value of the air-fuel ratio sensor does not satisfy the second condition, it is determined that the air-fuel ratio sensor is in the disconnected state or inactive.

【0008】そして、所定時間を経過し、設定範囲内に
なると、空燃比センサの出力値が設定値以上であって短
絡状態でなく、第2の条件を満足しないとき、空燃比セ
ンサが断線状態あるいは未活性であると判別し、空燃比
センサの出力値が設定値未満のとき、あるいは、その
後、エンジン始動後の経過時間が設定範囲外になると、
空燃比センサの出力値が第1の条件あるいは第2の条件
を満足するか否かにより空燃比センサの異常を検出す
る。
Then, when a predetermined time elapses and falls within the set range, the output value of the air-fuel ratio sensor is equal to or more than the set value and is not in a short circuit state, and when the second condition is not satisfied, the air-fuel ratio sensor is in a disconnection state. Alternatively, it is determined that the air-fuel ratio sensor is inactive, and when the output value of the air-fuel ratio sensor is less than the set value, or after that, when the elapsed time after engine start is out of the set range,
The abnormality of the air-fuel ratio sensor is detected depending on whether the output value of the air-fuel ratio sensor satisfies the first condition or the second condition.

【0009】[0009]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図面は本発明の一実施例を示し、図1は第1O2
センサ側フィードバック制御条件判別手順のフローチャ
ート(その1)、図2は第1O2センサ側フィードバッ
ク制御条件判別手順のフローチャート(その2)、図3
は第1O2センサ側フィードバック制御条件判別手順の
フローチャート(その3)、図4は第2O2センサ側フ
ィードバック制御条件判別手順のフローチャート(その
1)、図5は第2O2センサ側フィードバック制御条件
判別手順のフローチャート(その2)、図6は第2O2
センサ側フィードバック制御条件判別手順のフローチャ
ート(その3)、図7は燃料噴射量設定手順のフローチ
ャート、図8はエンジン回転数算出及び気筒判別手順の
フローチャート、図9は燃料噴射開始設定手順のフロー
チャート、図10は燃料噴射手順のフローチャート、図
11は空燃比フィードバック補正係数設定手順のフロー
チャート、図12は第1空燃比フィードバック補正係数
演算手順のフローチャート(その1)、図13は第1空
燃比フィードバック補正係数演算手順のフローチャート
(その2)、図14は第2空燃比フィードバック補正係
数演算手順のフローチャート(その1)、図15は第2
空燃比フィードバック補正係数演算手順のフローチャー
ト(その2)、図16は空燃比フィードバック補正係数
初期設定及びタイマ設定手順のフローチャート(その
1)、図17は空燃比フィードバック補正係数初期設定
及びタイマ設定手順のフローチャート(その2)、図1
8は空燃比フィードバック補正係数初期設定及びタイマ
設定手順のフローチャート(その3)、図19はエンジ
ン制御系の概略図、図20はクランクロータとクランク
角センサの正面図、図21は図20の側面図、図22は
第1のクランクロータと第1のクランク角センサの正面
図、図23は第2のクランクロータと第2のクランク角
センサの正面図、図24はカムロータとカム角センサの
正面図、図25は制御装置の回路構成図、図26はO2
センサの出力特性図、図27はO2センサ出力電圧と空
燃比フィードバック補正係数との関係を示す説明図、図
28はエンジン冷態始動時の制御条件判定を示す説明
図、図29はエンジン暖機再始動時の制御条件判定を示
す説明図、図30はO2センサ系短絡状態における制御
条件判定を示す説明図、図31はO2センサ系断線状態
における制御条件判定を示す説明図、図32は燃料噴射
及び点火のタイミングチャートである。
Embodiments of the present invention will be described below with reference to the drawings. The drawing shows an embodiment of the present invention, in which FIG.
FIG. 3 is a flowchart of a sensor-side feedback control condition determination procedure (No. 1), and FIG. 2 is a flowchart of a first O2 sensor-side feedback control condition determination procedure (No. 2).
Is a flowchart of the first O2 sensor side feedback control condition determination procedure (Part 3), FIG. 4 is a flowchart of the second O2 sensor side feedback control condition determination procedure (Part 1), and FIG. 5 is a flowchart of the second O2 sensor side feedback control condition determination procedure (Part 2), Figure 6 shows the second O2
FIG. 7 is a flowchart of a fuel injection amount setting procedure, FIG. 8 is a flowchart of an engine speed calculation / cylinder determination procedure, and FIG. 9 is a flowchart of a fuel injection start setting procedure. 10 is a flowchart of a fuel injection procedure, FIG. 11 is a flowchart of an air-fuel ratio feedback correction coefficient setting procedure, FIG. 12 is a flowchart of a first air-fuel ratio feedback correction coefficient calculation procedure (part 1), and FIG. 13 is a first air-fuel ratio feedback correction. FIG. 14 is a flow chart (No. 2) of the coefficient calculation procedure, FIG. 14 is a flow chart (No. 1) of the second air-fuel ratio feedback correction coefficient calculation procedure, and FIG.
16 is a flowchart of the air-fuel ratio feedback correction coefficient calculation procedure (No. 2), FIG. 16 is a flowchart of the air-fuel ratio feedback correction coefficient initial setting and timer setting procedure (No. 1), and FIG. 17 is the air-fuel ratio feedback correction coefficient initial setting and timer setting procedure. Flow chart (Part 2), Figure 1
8 is a flowchart of an air-fuel ratio feedback correction coefficient initial setting and timer setting procedure (No. 3), FIG. 19 is a schematic diagram of an engine control system, FIG. 20 is a front view of a crank rotor and a crank angle sensor, and FIG. 21 is a side view of FIG. FIG. 22, FIG. 22 is a front view of the first crank rotor and the first crank angle sensor, FIG. 23 is a front view of the second crank rotor and the second crank angle sensor, and FIG. 24 is a front view of the cam rotor and the cam angle sensor. FIG. 25 is a circuit configuration diagram of the control device, and FIG. 26 is O 2
27 is an output characteristic diagram of the sensor, FIG. 27 is an explanatory diagram showing the relationship between the O2 sensor output voltage and the air-fuel ratio feedback correction coefficient, FIG. 28 is an explanatory diagram showing the control condition determination at the engine cold start, and FIG. 29 is the engine warm-up. 30 is an explanatory diagram showing control condition determination at restart, FIG. 30 is an explanatory diagram showing control condition determination in the O2 sensor system short circuit state, FIG. 31 is an explanatory diagram showing control condition determination in the O2 sensor system disconnection state, and FIG. 32 is fuel It is a timing chart of injection and ignition.

【0010】[エンジン制御系の構成]図19におい
て、図中の符号1はエンジンであり、図においては4サ
イクル6気筒水平対向型エンジンを示す。このエンジン
1は、シリンダブロック2がクランクシャフト1aを中
心として両側のバンク(図の右側が左バンク、左側が右
バンク)に2分割されており、例えば、右バンクに#
1,#3,#5気筒の気筒群が配置され、左バンクに#
2,#4,#6気筒の気筒群が配置されている。
[Structure of Engine Control System] In FIG. 19, reference numeral 1 in the drawing is an engine, and in the drawing, a 4-cycle 6-cylinder horizontally opposed engine is shown. In this engine 1, a cylinder block 2 is divided into two banks (a left bank on the right side and a right bank on the left side) on both sides of a crankshaft 1a as a center.
Cylinder groups of 1, # 3, # 5 cylinders are arranged, and # on the left bank
A cylinder group of 2, # 4 and # 6 cylinders is arranged.

【0011】上記各バンクの各シリンダヘッド3には、
それぞれ吸気ポート4が形成され、各吸気ポート4にイ
ンテークマニホルド5が連通されている。また、上記イ
ンテークマニホルド5の上流に、各バンクに対応して共
鳴管6a,6bが連通され、この各共鳴管6a,6b間
を結ぶ通路6cに可変吸気バルブ11cが介装されてい
る。尚、この共鳴管6a,6b、通路6c、可変吸気バ
ルブ11cで可変共鳴過給システムが構成されている。
In each cylinder head 3 of each bank,
Each intake port 4 is formed, and an intake manifold 5 is connected to each intake port 4. Resonance tubes 6a and 6b are connected to the upstream side of the intake manifold 5 corresponding to the banks, and a variable intake valve 11c is provided in a passage 6c connecting the resonance tubes 6a and 6b. The resonance pipes 6a and 6b, the passage 6c, and the variable intake valve 11c constitute a variable resonance supercharging system.

【0012】さらに、各共鳴管6a,6bの上流がスロ
ットルチャンバ11a,11bを介してサージタンク7
に連通されており、このサージタンク7上流側に、吸気
管8を介してエアクリーナ9が取付けられ、このエアク
リーナ9の直下流に、吸入空気量センサ(図において
は、ホットフィルム式エアフローメータ)10が介装さ
れている。
Further, the surge tank 7 is provided upstream of the resonance tubes 6a and 6b via the throttle chambers 11a and 11b.
An air cleaner 9 is attached to an upstream side of the surge tank 7 via an intake pipe 8, and an intake air amount sensor (a hot film type air flow meter in the drawing) 10 is provided immediately downstream of the air cleaner 9. Is installed.

【0013】また、上記各スロットルチャンバ11a,
11bに、スロットルバルブ11c,11d(いわゆ
る、ツインスロットルバルブ)が介装され、一方のスロ
ットルバルブ11dに、スロットル開度センサ12aと
スロットルバルブ全閉を検出するアイドルスイッチ12
bとが連設されている。
In addition, each of the throttle chambers 11a,
Throttle valves 11c and 11d (so-called twin throttle valves) are provided in 11b, and one throttle valve 11d is provided with a throttle opening sensor 12a and an idle switch 12 for detecting the throttle valve fully closed.
and b are connected.

【0014】さらに、上記スロットルチャンバ11a,
11bのスロットルバルブ11c,11dの下流側が通
路6dによって連通され、この通路6dと上記サージタ
ンク7とを連通するエアーバイパス通路6eに、アイド
ルスピードコントロール(ISC)バルブ13が介装さ
れている。
Further, the throttle chamber 11a,
A downstream side of the throttle valves 11c and 11d of 11b is communicated with a passage 6d, and an idle speed control (ISC) valve 13 is provided in an air bypass passage 6e which communicates the passage 6d with the surge tank 7.

【0015】また、上記インテークマニホルド5の各気
筒の各吸気ポート4の直上流側にインジェクタ14が配
設され、さらに、上記各シリンダヘッド3の各気筒毎
に、その先端を燃焼室に露呈する点火プラグ15が取付
けられている。この点火プラグ15の端子部には、点火
コイル15aが直接取付けられ、イグナイタ16に接続
されている。
An injector 14 is arranged immediately upstream of each intake port 4 of each cylinder of the intake manifold 5, and the tip of each injector of each cylinder head 3 is exposed to the combustion chamber. A spark plug 15 is attached. The ignition coil 15 a is directly attached to the terminal portion of the ignition plug 15 and connected to the igniter 16.

【0016】上記インジェクタ14には、燃料タンク1
7内に設けられたインタンク式の燃料ポンプ18から燃
料フィルタ19を経て燃料が圧送され、プレッシャレギ
ュレータ20にて調圧される。
The injector 14 includes a fuel tank 1
Fuel is pressure-fed from an in-tank type fuel pump 18 provided inside 7 through a fuel filter 19 and regulated by a pressure regulator 20.

【0017】また、上記シリンダブロック2に形成され
た冷却水通路(図示せず)に冷却水温センサ21が臨ま
されるとともに、上記シリンダブロック2の各バンク
に、それぞれ、右バンクノックセンサ22a、左バンク
ノックセンサ22bが取付けられており、上記各シリン
ダヘッド3の各排気ポート23から、各バンク毎に設け
た各排気管24a,24bが連通されている。
A cooling water temperature sensor 21 is exposed to a cooling water passage (not shown) formed in the cylinder block 2, and a right bank knock sensor 22a and a left bank knock sensor 22a are provided in the banks of the cylinder block 2, respectively. A bank knock sensor 22b is attached, and the exhaust ports 23 of the cylinder heads 3 communicate with the exhaust pipes 24a and 24b provided for each bank.

【0018】上記各ノックセンサ22a,22bは、例
えばノック振動とほぼ同じ固有周波数を持つ振動子と、
この振動子の振動加速度を検知して電気信号に変換する
圧電素子とから構成される共振形のノックセンサであ
り、エンジンの爆発行程における燃焼圧力波によりシリ
ンダブロックなどに伝わる振動を検出し、その振動波形
に応じた検出信号を出力する。
Each of the knock sensors 22a and 22b includes, for example, a vibrator having substantially the same natural frequency as the knock vibration,
This is a resonance type knock sensor composed of a piezoelectric element that detects the vibration acceleration of this vibrator and converts it into an electric signal, and detects the vibration transmitted to the cylinder block etc. by the combustion pressure wave in the explosion stroke of the engine. The detection signal according to the vibration waveform is output.

【0019】また、上記各排気管24a,24bには、
空燃比センサとしての第1,第2のO2センサ25a,
25bがそれぞれ臨まされ、第1のO2 センサ25aに
より右バンクの気筒群からの排気ガス中の酸素濃度が検
出されるとともに、第2のO2 センサ25bにより左バ
ンクの気筒群からの排気ガス中の酸素濃度が検出され
る。さらに、これらの第1,第2のO2 センサ25a,
25bの下流側には、それぞれ、触媒コンバータ26
a,26bが介装され、各触媒コンバータ26a,26
bの下流側合流部に、触媒コンバータ27が介装されて
いる。
The exhaust pipes 24a and 24b are provided with
First and second O2 sensors 25a as air-fuel ratio sensors,
25b respectively, the oxygen concentration in the exhaust gas from the cylinder group of the right bank is detected by the first O2 sensor 25a, and the exhaust gas from the cylinder group of the left bank is detected by the second O2 sensor 25b. The oxygen concentration is detected. Further, these first and second O2 sensors 25a,
On the downstream side of 25b, the catalytic converter 26
a, 26b are interposed, and each catalytic converter 26a, 26
A catalytic converter 27 is provided at the downstream merging portion of b.

【0020】上記第1,第2のO2 センサ25a,25
bは、例えば、周知のジルコニア管の内外面に白金電極
がコーティングされたものであり、図26に示すよう
に、高温で活性化すると、理論空燃比を境として空燃比
リッチ側と空燃比リーン側とで出力電圧VO2の値が急変
する。
The first and second O 2 sensors 25a, 25
For example, b is a well-known zirconia tube with platinum electrodes coated on the inner and outer surfaces. The value of the output voltage VO2 changes abruptly on the side.

【0021】尚、第1,第2のO2 センサ25a,25
bには、活性化を促進するために、PTCピル(Positi
ve Temperature Coefficient Pill)などからなるヒー
タ(図示せず)が内蔵されている。
The first and second O 2 sensors 25a, 25
b, PTC pills (Positi
A heater (not shown) including a ve Temperature Coefficient Pill) is built in.

【0022】一方、上記エンジン1のクランクシャフト
1aには、クランクスプロケット1bが軸着され、この
クランクスプロケット1bにタイミングベルト28が張
設されている(図21参照)。そして、上記クランクシ
ャフト1aの回転が上記タイミングベルト28を介して
カムシャフト1cに伝達され、このカムシャフト1cが
上記クランクシャフト1aに対し1/2 回転する。
On the other hand, a crank sprocket 1b is axially mounted on the crank shaft 1a of the engine 1, and a timing belt 28 is stretched around the crank sprocket 1b (see FIG. 21). Then, the rotation of the crankshaft 1a is transmitted to the camshaft 1c via the timing belt 28, and the camshaft 1c rotates 1/2 of the crankshaft 1a.

【0023】また、上記クランクシャフト1aにクラン
ク角検出用の第1のクランクロータ29と、グループ
(#1,#2気筒、#3,#4気筒、及び、#5,#6
気筒の3グループ)気筒判別用の第2のクランクロータ
30とが軸着され、第1,第2のクランクロータ29,
30の外周に、被検出体である突起を検出する電磁ピッ
クアップなどからなる第1,第2のクランク角センサ3
1,32が、それぞれ対設されている。また、上記カム
シャフト1cにカムロータ33が軸着され、このカムロ
ータ33の外周に電磁ピックアップなどからなるカム角
センサ34が対設されている。
The crankshaft 1a has a first crank rotor 29 for detecting a crank angle and groups (# 1, # 2 cylinders, # 3, # 4 cylinders, # 5, # 6).
(3 groups of cylinders) A second crank rotor 30 for cylinder discrimination and a first crank rotor 29,
Around the outer periphery of 30, first and second crank angle sensors 3 composed of an electromagnetic pickup or the like for detecting a protrusion, which is an object to be detected.
1 and 32 are provided opposite to each other. A cam rotor 33 is attached to the cam shaft 1c, and a cam angle sensor 34 including an electromagnetic pickup is provided on the outer periphery of the cam rotor 33 so as to be opposed thereto.

【0024】図21に示すように、上記各クランクロー
タ29,30は、所定の間隔L2 をもって互いに近接し
て軸着され、各クランクロータ29,30の外周に、上
記各クランク角センサ31,32が所定のクリアランス
Sを介して対設されている。また、上記各クランクロー
タ29,30の間隔L2 は、各クランク角センサ31,
32の間隔L1 ( 上記クランクシャフト1aの軸方向の
間隔)よりも小さく、従って、上記第1のクランク角セ
ンサ31の軸中心は、上記第1のクランクロータ29
(クランク角検出用クランクロータ)の板厚中心に対し
て上記クランクスプロケット1b側へ僅かにオフセット
しており、また、上記第2のクランク角センサ32の軸
中心は、上記第2のクランクロータ30(グループ気筒
判別用クランクロータ)の板厚中心に対して上記エンジ
ン1の本体側へ僅かにオフセットしている。
As shown in FIG. 21, the crank rotors 29 and 30 are axially mounted close to each other with a predetermined distance L2, and the crank angle sensors 31 and 32 are provided on the outer circumferences of the crank rotors 29 and 30, respectively. Are opposed to each other through a predetermined clearance S. Further, the distance L2 between the crank rotors 29, 30 is equal to the crank angle sensor 31,
It is smaller than the interval L1 of 32 (the interval in the axial direction of the crankshaft 1a), and therefore the axial center of the first crank angle sensor 31 is located at the first crank rotor 29.
It is slightly offset to the crank sprocket 1b side with respect to the plate thickness center of (crank rotor for crank angle detection), and the axial center of the second crank angle sensor 32 is the second crank rotor 30. It is slightly offset toward the main body of the engine 1 with respect to the center of the plate thickness of the (crank rotor for group cylinder discrimination).

【0025】さらに、図20に示すように、上記各クラ
ンク角センサ31,32は、上記クランクシャフト1a
の軸中心に対して所定の開き角θ0 (例えば25°)で
配置され、上記各クランク角センサ31,32を被検出
体が通過する際に生じる磁束変化により互いに影響を受
けてノイズが発生しないよう所定の空間的距離が保たれ
る。
Further, as shown in FIG. 20, each of the crank angle sensors 31 and 32 includes the crankshaft 1a.
Are arranged at a predetermined opening angle θ 0 (for example, 25 °) with respect to the axis center of the above, and noise is not generated due to mutual influence by the change in magnetic flux generated when the object to be detected passes through the crank angle sensors 31 and 32. Thus, a predetermined spatial distance is maintained.

【0026】すなわち、上記各クランクロータ29,3
0の軸方向の取付け長さが最小にされるとともに上記ク
ランク角センサ31,32の相互干渉が防止されてコン
パクト化を図ることができ、上記各クランクロータ2
9,30の構成を簡単にすることができる。
That is, each of the crank rotors 29, 3 described above
The axial mounting length of 0 is minimized, mutual interference between the crank angle sensors 31 and 32 is prevented, and compactness can be achieved.
The configurations of 9 and 30 can be simplified.

【0027】また、上記クランク角検出用の第1のクラ
ンクロータ29は、図22に示すように、その外周に突
起29aが形成されており、また、上記グループ気筒判
別用の第2のクランクロータ30は、図23に示すよう
に、その外周にグループ気筒判別用の突起30aが形成
されている。
Further, as shown in FIG. 22, the first crank rotor 29 for detecting the crank angle has a protrusion 29a formed on the outer periphery thereof, and the second crank rotor for discriminating the group cylinders. As shown in FIG. 23, the protrusion 30a of the group 30 for group cylinder discrimination is formed on the outer periphery thereof.

【0028】そして、上記各クランク角センサ31,3
2を上記各突起29a,30aが通過する際に磁束を変
化させ、その結果、電磁誘導により上記各クランク角セ
ンサ31,32から交流電圧の信号列が出力され、それ
ぞれ、クランクパルス、グループ判別パルスに変換され
る。
Then, each of the crank angle sensors 31, 3
2, the magnetic flux is changed when each of the protrusions 29a and 30a passes through, and as a result, a signal train of an AC voltage is output from each of the crank angle sensors 31 and 32 by electromagnetic induction, and a crank pulse and a group discrimination pulse, respectively. Is converted to.

【0029】上記クランク角検出用の第1のクランクロ
ータ29は、詳細には、突起29aが、例えば、各気筒
の圧縮上死点前(BTDC)10°を起点として30°
間隔で等間隔に形成され、この突起29aを検出する上
記第1のクランク角センサ31からの信号が波形整形さ
れ、クランク角30°毎のクランクパルスが得られるよ
うになっている。
In the first crank rotor 29 for detecting the crank angle, specifically, the projection 29a is, for example, 30 ° starting from 10 ° before compression top dead center (BTDC) of each cylinder.
The signals from the first crank angle sensor 31 for detecting the protrusions 29a are formed at equal intervals, and the waveform of the signal from the first crank angle sensor 31 is shaped so that crank pulses can be obtained at every crank angle of 30 °.

【0030】図32に示すように、例えば、BTDC1
00°を示すクランクパルスは、燃料噴射時期設定の際
の基準クランク角を示し、BTDC70°を示すクラン
クパルスは、エンジン回転数NEの算出及び点火時期A
DVの設定の際の基準クランク角を示す。尚、BTDC
10°を示すクランクパルスは、始動時の固定点火時期
のクランク角を示す。
As shown in FIG. 32, for example, BTDC1
The crank pulse indicating 00 ° indicates the reference crank angle when the fuel injection timing is set, and the crank pulse indicating BTDC 70 ° indicates the calculation of the engine speed NE and the ignition timing A.
The reference crank angle when setting DV is shown. BTDC
The crank pulse indicating 10 ° indicates the crank angle of the fixed ignition timing at the time of starting.

【0031】また、上記グループ気筒判別用の第2のク
ランクロータ30の突起30aは、例えば、#1,#2
気筒のBTDC55°の位置に1個形成され、#3,#
4気筒のBTDC55°の位置から30°毎に2個、#
5,#6気筒のBTDC55°の位置から30°毎に3
個形成されており、上記突起30aを検出する上記第2
のクランク角センサ32からの信号が同様に波形整形さ
れ、グループ判別パルスが得られる。
Further, the protrusions 30a of the second crank rotor 30 for discriminating the group cylinder are, for example, # 1 and # 2.
One is formed at the BTDC 55 ° position of the cylinder.
Two at every 30 ° from the position of BTDC55 ° of 4 cylinders, #
3 every 30 ° from the BTDC 55 ° position of the 5th and 6th cylinders
The second is formed individually and detects the protrusion 30a.
The signal from the crank angle sensor 32 is similarly shaped to obtain a group discrimination pulse.

【0032】一方、図24に示すように、上記カムロー
タ33には、特定気筒の圧縮上死点を判別するため、例
えば#1気筒の圧縮上死点後(ATDC)43.2°の
位置に、突起33aが1個形成されており、カム角セン
サ34からのカムパルスと上記グループ判別パルスとに
より、個々の気筒を判別することができる。
On the other hand, as shown in FIG. 24, in order to determine the compression top dead center of the specific cylinder, the cam rotor 33 is placed at a position 43.2 ° after the compression top dead center (ATDC) of the # 1 cylinder, for example. One protrusion 33a is formed, and each cylinder can be discriminated by the cam pulse from the cam angle sensor 34 and the group discrimination pulse.

【0033】尚、上記第1,第2のクランクロータ2
9,30、あるいは、上記カムロータ33の外周には、
突起の代わりにスリットを設けても良く、さらには、上
記第1,第2のクランク角センサ31,32、及び、カ
ム角センサ34は、電磁ピックアップなどの磁気センサ
に限らず、光センサなどでも良い。
Incidentally, the first and second crank rotors 2
9, 30, or on the outer circumference of the cam rotor 33,
Slits may be provided instead of the protrusions, and the first and second crank angle sensors 31, 32 and the cam angle sensor 34 are not limited to magnetic sensors such as electromagnetic pickups, but may be optical sensors or the like. good.

【0034】[制御装置の回路構成]図25において、
符号40は、マイクロコンピュータからなる制御装置
(ECU)であり、このECU40は、例えば、点火時
期制御、燃料噴射制御などを行なうメインコンピュータ
41と、例えば、ノック検出処理を行なう専用のサブコ
ンピュータ42との2つのコンピュータから構成されて
いる。
[Circuit Configuration of Control Device] In FIG.
Reference numeral 40 denotes a control device (ECU) including a microcomputer. The ECU 40 includes, for example, a main computer 41 that performs ignition timing control, fuel injection control, and the like, and a dedicated sub computer 42 that performs knock detection processing, for example. It is composed of two computers.

【0035】また、上記ECU40内には定電圧回路4
3が内蔵され、この定電圧回路43から各部に安定化電
圧が供給されるようになっている。この定電圧回路43
は、直接、及び、ECUリレー44のリレー接点を介し
てバッテリ45に接続され、上記ECUリレー44のリ
レーコイルがキースイッチ46を介して上記バッテリ4
5に接続されている。また、上記バッテリ45に、燃料
ポンプリレー47のリレー接点を介して燃料ポンプ18
が接続されている。
Further, the constant voltage circuit 4 is provided in the ECU 40.
3 is built in, and a stabilizing voltage is supplied from this constant voltage circuit 43 to each part. This constant voltage circuit 43
Is directly connected to the battery 45 via the relay contact of the ECU relay 44, and the relay coil of the ECU relay 44 is connected to the battery 4 via the key switch 46.
Connected to 5. Further, the fuel pump 18 is connected to the battery 45 via a relay contact of the fuel pump relay 47.
Are connected.

【0036】上記メインコンピュータ41は、メインC
PU48、ROM49、RAM50、バックアップRA
M50a、タイマ51、シリアルインターフェース(S
CI)52、及び、I/O インターフェース53がバ
スライン54を介して互いに接続されている。また、上
記バックアップRAM50aには、上記定電圧回路43
を介して常時バックアップ電圧が印加されている。
The main computer 41 is a main C
PU48, ROM49, RAM50, backup RA
M50a, timer 51, serial interface (S
The CI) 52 and the I / O interface 53 are connected to each other via a bus line 54. The backup RAM 50a also includes the constant voltage circuit 43.
The backup voltage is always applied via the.

【0037】上記I/O インターフェース53の入力
ポートには、吸入空気量センサ10、スロットル開度セ
ンサ12a、冷却水温センサ21、第1のO2センサ2
5a、第2のO2センサ25b、大気圧センサ55、及
び、車速センサ56がA/D変換器57aを介して接続
されるとともに、アイドルスイッチ(アイドルSW)1
2b、第1,第2のクランク角センサ31,32、カム
角センサ34が接続され、また、上記バッテリ45が接
続されてバッテリ電圧がモニタされる。
The input port of the I / O interface 53 has an intake air amount sensor 10, a throttle opening sensor 12a, a cooling water temperature sensor 21, and a first O2 sensor 2.
5a, the second O2 sensor 25b, the atmospheric pressure sensor 55, and the vehicle speed sensor 56 are connected via an A / D converter 57a, and an idle switch (idle SW) 1
2b, the first and second crank angle sensors 31, 32, and the cam angle sensor 34 are connected, and the battery 45 is connected to monitor the battery voltage.

【0038】さらに、上記I/O インターフェース5
3の入力ポートには、転舵状態を検出するパワーステア
リング転舵スイッチ58、オートマチックトランスミッ
ションのセレクトレバーがニュートラルにセットされて
いるかどうかを判断するニュートラルスイッチ59、パ
ーキングにセットされているかどうかを判断するパーキ
ングスイッチ60、始動状態を検出するスタータスイッ
チ61が接続されている。
Further, the I / O interface 5
A power steering steering switch 58 for detecting the steering state, a neutral switch 59 for determining whether the select lever of the automatic transmission is set to neutral, and a determination for whether or not parking is set to the input port 3 A parking switch 60 and a starter switch 61 for detecting a starting state are connected.

【0039】上記I/O インターフェース53の出力
ポートには、イグナイタ16が接続され、さらに、駆動
回路57bを介して、ISCバルブ13、インジェクタ
14、ラジエータファン62の駆動を制御するラジエー
タファンリレー63のリレーコイル、可変容量コンプレ
ッサ64のマグネットクラッチ64aの断続を操作する
エアコンクラッチリレー65のリレーコイル、及び、燃
料ポンプリレー47のリレーコイルが接続されている。
An igniter 16 is connected to the output port of the I / O interface 53, and a radiator fan relay 63 for controlling the drive of the ISC valve 13, the injector 14 and the radiator fan 62 is further provided via a drive circuit 57b. The relay coil, the relay coil of the air conditioner clutch relay 65 that operates the connection and disconnection of the magnetic clutch 64a of the variable capacity compressor 64, and the relay coil of the fuel pump relay 47 are connected.

【0040】一方、サブコンピュータ42は、サブCP
U66、ROM67、RAM68、タイマ69、SCI
70、及び、I/Oインターフェース71がバスライン
72を介して互いに接続されて構成されている。
On the other hand, the sub computer 42 is a sub CP.
U66, ROM67, RAM68, timer 69, SCI
70 and an I / O interface 71 are connected to each other via a bus line 72.

【0041】上記I/Oインターフェース71の入力ポ
ートには、第1,第2のクランク角センサ31,32、
及び、カム角センサ34が接続されるとともに、右バン
クノックセンサ22a、左バンクノックセンサ22b
が、それぞれ、アンプ73、周波数フィルタ74、A/
D変換器75を介して接続されている。
The input port of the I / O interface 71 has first and second crank angle sensors 31, 32,
The cam angle sensor 34 is connected, and the right bank knock sensor 22a and the left bank knock sensor 22b are connected.
, Respectively, an amplifier 73, a frequency filter 74, and A /
It is connected through the D converter 75.

【0042】上記各ノックセンサ22a,22bからの
検出信号は、上記アンプ73により所定のレベルに増幅
された後、上記周波数フィルタ74により必要な周波数
成分が抽出され、A/D変換器75でアナログデータか
らデジタルデータに変換され、上記サブコンピュータ4
2にてノック発生の有無が判定される。
The detection signals from the knock sensors 22a and 22b are amplified to a predetermined level by the amplifier 73, then the necessary frequency components are extracted by the frequency filter 74, and are analogized by the A / D converter 75. Data is converted to digital data, and the sub computer 4
At 2, it is determined whether knock has occurred.

【0043】メインコンピュータ41とサブコンピュー
タ42とは、SCI52,70を介したシリアル回線に
より接続されるとともに、上記サブコンピュータ42の
I/Oインターフェース71の出力ポートが、上記メイ
ンコンピュータ41のI/Oインターフェース53の入
力ポートに接続されており、サブコンピュータ42にお
けるノック発生の有無の判定結果すなわちノック判定デ
ータは、I/Oインターフェース71,53を介してメ
インコンピュータ41に読込まれる。
The main computer 41 and the sub computer 42 are connected by a serial line via the SCIs 52 and 70, and the output port of the I / O interface 71 of the sub computer 42 is the I / O of the main computer 41. It is connected to the input port of the interface 53, and the result of determining whether knock has occurred in the sub computer 42, that is, knock determination data, is read into the main computer 41 via the I / O interfaces 71 and 53.

【0044】そして、ノック発生の場合には、SCI7
0,52を介したシリアル回線を通じてサブコンピュー
タ42から上記メインコンピュータ41にノックデータ
が送信され、その結果、メインコンピュータ41では、
このノックデータに基づいて直ちに該当気筒の点火時期
を遅らせ、ノックを回避する。
If a knock occurs, SCI7
Knock data is transmitted from the sub computer 42 to the main computer 41 through a serial line via 0, 52, and as a result, in the main computer 41,
Based on this knock data, the ignition timing of the corresponding cylinder is immediately delayed to avoid knock.

【0045】以上の構成のECU40における空燃比制
御は、メインコンピュータ41のメインCPU48によ
り、ROM49に記憶されている制御プログラムに従っ
て実行される。すなわち、メインCPU48では、吸入
空気量センサ10の出力信号から吸入空気量を算出し、
RAM50及びバックアップRAM50aに記憶されて
いる各種データに基づき、吸入空気量に見合った燃料噴
射量を演算し、また、点火時期を算出する。
The air-fuel ratio control in the ECU 40 having the above configuration is executed by the main CPU 48 of the main computer 41 in accordance with the control program stored in the ROM 49. That is, the main CPU 48 calculates the intake air amount from the output signal of the intake air amount sensor 10,
Based on various data stored in the RAM 50 and the backup RAM 50a, the fuel injection amount corresponding to the intake air amount is calculated, and the ignition timing is calculated.

【0046】そして、上記燃料噴射量に相応する駆動パ
ルス幅信号を、駆動回路57bを介して所定のタイミン
グで該当気筒のインジェクタ14に出力して燃料を噴射
し、また、所定のタイミングでイグナイタ16に点火信
号を出力し、該当気筒の点火プラグ15を点火する。
Then, a drive pulse width signal corresponding to the fuel injection amount is output to the injector 14 of the corresponding cylinder at a predetermined timing via the drive circuit 57b to inject fuel, and the igniter 16 at a predetermined timing. An ignition signal is output to the ignition plug 15 of the corresponding cylinder.

【0047】その結果、該当気筒に供給された混合気が
爆発燃焼し、排気管24aに臨まされた第1のO2 セン
サ25a、あるいは、排気管24bに臨まされた第2の
O2センサ25bにより排出ガス中に含まれる酸素濃度
が検出される。この検出信号が波形整形された後、上記
CPU48で基準電圧信号と比較され、エンジンの空燃
比状態が目標空燃比に対し、リッチ側にあるか、リーン
側にあるかが判別され、空燃比が目標空燃比となるよう
フィードバック制御される。
As a result, the air-fuel mixture supplied to the corresponding cylinder explodes and burns and is discharged by the first O2 sensor 25a facing the exhaust pipe 24a or the second O2 sensor 25b facing the exhaust pipe 24b. The oxygen concentration contained in the gas is detected. After this detection signal is waveform-shaped, it is compared with the reference voltage signal by the CPU 48, it is determined whether the air-fuel ratio state of the engine is on the rich side or the lean side with respect to the target air-fuel ratio, and the air-fuel ratio is determined. Feedback control is performed so that the target air-fuel ratio is achieved.

【0048】また、符号81はエアコン制御ユニットで
あり、CPU82、ROM83、RAM84、I/Oイ
ンターフェース85がバスライン86を介して接続さ
れ、イグニッションスイッチ87を介してバッテリ45
に接続する定電圧回路88から各部に安定化電圧が供給
される。
Further, reference numeral 81 is an air conditioner control unit, which is connected to a CPU 82, a ROM 83, a RAM 84, an I / O interface 85 via a bus line 86, and a battery 45 via an ignition switch 87.
The stabilizing voltage is supplied to each part from the constant voltage circuit 88 connected to the.

【0049】上記I/Oインターフェース85の入力ポ
ートには、エアコンスイッチ89、上記メインコンピュ
ータ41のI/Oインターフェース53が接続されてお
り、上記メインコンピュータ41から上記エアコン制御
ユニット81へ上記可変容量コンプレッサ64に対する
要求容量信号(DUTY信号)を出力する。
An air conditioner switch 89 and an I / O interface 53 of the main computer 41 are connected to an input port of the I / O interface 85, and the variable capacity compressor is transferred from the main computer 41 to the air conditioner control unit 81. The required capacity signal (DUTY signal) for 64 is output.

【0050】また、上記I/Oインターフェース85の
出力ポートには、上記可変容量コンプレッサ64に設け
た可変容量制御バルブ(図示せず)が接続されて、容量
信号信号(DUTY信号)を出力するとともに、上記メ
インコンピュータ41のI/Oインターフェース53の
入力ポートに接続されて、エアコンスイッチ89がON
したどうかの信号(A/C SW信号)が出力される。
A variable capacity control valve (not shown) provided in the variable capacity compressor 64 is connected to the output port of the I / O interface 85 to output a capacity signal signal (DUTY signal). Is connected to the input port of the I / O interface 53 of the main computer 41 and the air conditioner switch 89 is turned on.
A signal (A / C SW signal) indicating whether or not it is output.

【0051】[動 作]次に、ECU40の空燃比制御
動作を説明するとともに、第1,第2のO2センサ25
a,25bに対する異常検出処理について説明する。
[Operation] Next, the air-fuel ratio control operation of the ECU 40 will be described, and the first and second O 2 sensors 25 will be described.
The abnormality detection processing for a and 25b will be described.

【0052】ECU40のメインコンピュータ41で
は、まず、図8に示すように、クランクパルス入力によ
って、エンジン回転数算出及び気筒判別手順のルーチン
が割込み起動され、ステップS201で、第1のクランク角
センサ31からのクランクパルス入力間隔時間T0 をタ
イマ51により計測し、この入力間隔時間T0 から求ま
る周期によりエンジン回転数NEを算出し、ステップS20
2で、第1,第2のクランク角センサ31,32、及
び、カム角センサ34の出力信号に基づいて気筒判別を
行ない、ルーチンを抜ける。
In the main computer 41 of the ECU 40, as shown in FIG. 8, first, the crank pulse input causes the routine of the engine speed calculation and the cylinder discrimination procedure to be interrupted, and the first crank angle sensor 31 is started in step S201. The crank pulse input interval time T0 from is measured by the timer 51, and the engine speed NE is calculated according to the cycle obtained from the input interval time T0.
At 2, the cylinder is discriminated based on the output signals of the first and second crank angle sensors 31, 32 and the cam angle sensor 34, and the routine is exited.

【0053】この気筒判別は、図32のタイミングチャ
ートに示すように、第2のクランク角センサ32からの
グループ判別パルスが、30°CA毎のクランクパルス
間に0個ないし1個出力され、BTDC100°とBT
DC70°との間には、いずれの気筒においてもグルー
プ判別パルスは存在せず、上記グループ判別パルスが、
無し、有りのパターンの後のクランクパルスは、常にB
TDC40°を示し、次のクランクパルスはBTDC1
0°を示すことから、例えば、ある気筒のBTDC10
0°を起点として次の気筒のBTDC100°までの間
に存在するグループ判別パルスのパターンを調べること
により、まず、#1,#2気筒、#3,#4気筒、#
5,#6気筒の各グループ毎の気筒判別を行ない、さら
に、カム角センサ34からのカムパルスにより、個々の
気筒を判別する。
In this cylinder discrimination, as shown in the timing chart of FIG. 32, 0 to 1 group discrimination pulses from the second crank angle sensor 32 are output between the crank pulses at every 30 ° CA, and the BTDC 100. ° and BT
There is no group discrimination pulse in any cylinder between DC 70 °, and the group discrimination pulse is
The crank pulse after the pattern with or without is always B
TDC 40 °, next crank pulse is BTDC1
Since it indicates 0 °, for example, BTDC10 of a certain cylinder
First, # 1 and # 2 cylinders, # 3 and # 4 cylinders, # 3 and # 4 cylinders are examined by checking the pattern of the group discrimination pulse existing between 0 ° and BTDC100 ° of the next cylinder.
Cylinder discrimination is performed for each group of the fifth and sixth cylinders, and further, individual cylinders are discriminated by the cam pulse from the cam angle sensor 34.

【0054】メインコンピュータ41では、各バンクに
対応する第1,第2のO2センサ25a,25bからの
出力信号を取込み、気筒判別した該当気筒に対する空燃
比をフィードバック制御する。
The main computer 41 takes in the output signals from the first and second O2 sensors 25a and 25b corresponding to each bank, and feedback-controls the air-fuel ratio for the cylinder determined by the cylinder.

【0055】その際、燃料噴射量は、図7のフローチャ
ートに示す燃料噴射量設定のルーチンにより左右バンク
に対応して2つ設定され、第1のO2センサ25aから
の出力に基づく右バンクの気筒群の空燃比学習結果が取
入れられる。
At this time, the fuel injection amount is set to two corresponding to the left and right banks by the fuel injection amount setting routine shown in the flowchart of FIG. 7, and the cylinder of the right bank based on the output from the first O2 sensor 25a. The air-fuel ratio learning result of the group is taken in.

【0056】まず、ステップS101で、エンジン回転数N
E及び吸入空気量Qに基づいて基本燃料噴射パルス幅TP
を算出し(TP←K×Q/NE;但し、Kはインジェクタ
特性補正係数)、ステップS102で、冷却水温センサ21
からの冷却水温TW、スロットル開度センサ12aから
のスロットル開度θ、アイドルスイッチ12bからの出
力などに基づいて、冷却水温補正、加減速補正、全開増
量補正、アイドル後増量補正などに係わる各種増量分補
正係数COEFを設定する。
First, in step S101, the engine speed N
Based on E and intake air amount Q, basic fuel injection pulse width TP
Is calculated (TP ← K × Q / NE; where K is an injector characteristic correction coefficient), and in step S102, the cooling water temperature sensor 21
Based on the cooling water temperature TW from the engine, the throttle opening θ from the throttle opening sensor 12a, the output from the idle switch 12b, etc. The minute correction coefficient COEF is set.

【0057】次いで、ステップS103へ進み、後述する空
燃比フィードバック補正係数設定ルーチンにて設定され
る各バンクの気筒群に対する第1,第2空燃比フィード
バック補正係数α1,α2をRAM50の所定アドレスか
ら読出し、ステップS104で、学習補正係数KBLRCを設定
すると、ステップS105で、バッテリ電圧に基づいてイン
ジェクタ14の無効噴射時間を補間する電圧補正係数T
Sを設定する。
Next, in step S103, the first and second air-fuel ratio feedback correction coefficients α1 and α2 for the cylinder groups of each bank, which are set in the air-fuel ratio feedback correction coefficient setting routine described later, are read from the RAM 50 at predetermined addresses. When the learning correction coefficient KBLRC is set in step S104, the voltage correction coefficient T for interpolating the invalid injection time of the injector 14 based on the battery voltage is set in step S105.
Set S.

【0058】尚、上記学習補正係数KBLRCについては、
本出願人による特願平1−293276号に詳述されて
いる。
Regarding the learning correction coefficient KBLRC,
It is described in detail in Japanese Patent Application No. 1-293276 by the applicant.

【0059】その後、ステップS106へ進み、上記ステッ
プS101で設定した基本燃料噴射パルス幅TPを、各種増
量分補正係数COEF、第1空燃比フィードバック補正
係数α1により空燃比補正するとともに学習補正係数KB
LRCにより学習補正し、電圧補正係数TSにより電圧補正
して、右バンクの気筒群(#1,#3,#5気筒)に対
する第1燃料噴射パルス幅Ti1を設定する(Ti1←TP
×COEF×α1×KBLRC+TS)。
After that, the routine proceeds to step S106, where the basic fuel injection pulse width TP set at step S101 is air-fuel ratio corrected by various increasing amount correction coefficient COEF and the first air-fuel ratio feedback correction coefficient α1 and learning correction coefficient KB.
The first fuel injection pulse width Ti1 for the cylinder group (# 1, # 3, # 5 cylinders) in the right bank is set (Ti1 ← TP) after learning correction by LRC and voltage correction by the voltage correction coefficient TS.
X COEF x α1 x KBLRC + TS).

【0060】さらに、上記ステップS106からステップS1
07へ進むと、上記基本燃料噴射パルス幅TPを、各種増
量分補正係数COEF、第2空燃比フィードバック補正
係数α2により空燃比補正するとともに学習補正係数KB
LRCにより学習補正し、電圧補正係数TSにより電圧補正
して、左バンクの気筒群(#2,#4,#6気筒)に対
する第2燃料噴射パルス幅Ti2を設定する(Ti2←TP
×COEF×α2×KBLRC+TS)。
Further, the above steps S106 to S1
When proceeding to 07, the basic fuel injection pulse width TP is air-fuel ratio corrected by the various increase amount correction coefficient COEF and the second air-fuel ratio feedback correction coefficient α2 and learning correction coefficient KB
The second fuel injection pulse width Ti2 for the cylinder group (# 2, # 4, # 6 cylinders) of the left bank is set by learning correction by LRC and voltage correction by the voltage correction coefficient TS (Ti2 ← TP
X COEF x α2 x KBLRC + TS).

【0061】そして、ステップS108で、エンジン回転数
NEに基づき噴射開始タイミングTMSTARTを設定し、ル
ーチンを抜ける。尚、この噴射開始タイミングTMSTART
は、エンジン高回転になるほど進角側に設定される。
Then, in step S108, the injection start timing TMSTART is set based on the engine speed NE, and the routine exits. The injection start timing TMSTART
Is set to the advanced side as the engine rotation speed increases.

【0062】次に、上記第1,第2燃料噴射パルス幅T
i1,Ti2は、BTDC100°のクランクパルスによっ
て割込みスタートする図9のルーチンにより該当気筒に
対する燃料噴射パルス幅Tiとしてセットされる。
Next, the first and second fuel injection pulse widths T
i1 and Ti2 are set as the fuel injection pulse width Ti for the corresponding cylinder by the routine of FIG. 9 in which the interrupt start is started by the crank pulse of BTDC 100 °.

【0063】このBTDC100°の割込みルーチンで
は、ステップS301で、噴射対象気筒が、#1,#3,#
5の右バンクの気筒群に属する気筒か否かを調べ、噴射
対象気筒が、#1,#3,#5の右バンクの気筒群に属
する場合には、ステップS302へ進んで、第1燃料噴射パ
ルス幅Ti1を該当気筒に対する燃料噴射パルス幅Tiと
し(Ti←Ti1)、噴射対象気筒が、#2,#4,#6
の気筒群に属する場合には、ステップS303へ分岐して、
第2燃料噴射パルス幅Ti2を該当気筒に対する燃料噴射
パルス幅Tiとする(Ti←Ti2)。
In this BTDC 100 ° interrupt routine, the injection target cylinders are # 1, # 3, # in step S301.
It is checked whether or not the cylinder belongs to the cylinder group of the right bank No. 5 and the injection target cylinder belongs to the cylinder group of the right bank # 1, # 3, # 5. The injection pulse width Ti1 is set as the fuel injection pulse width Ti for the corresponding cylinder (Ti ← Ti1), and the injection target cylinders are # 2, # 4, # 6.
If it belongs to the cylinder group of, branch to step S303,
The second fuel injection pulse width Ti2 is set as the fuel injection pulse width Ti for the corresponding cylinder (Ti ← Ti2).

【0064】そして、上記ステップS302あるいはステッ
プS303からステップS304へ進み、このBTDC100°
を基準としてタイマの計時をスタートさせ、噴射開始タ
イミングTMSTARTの割込みを許可してルーチンを抜け
る。
Then, the process proceeds from step S302 or step S303 to step S304, and this BTDC is 100 °.
Then, the timer starts counting, the interruption of the injection start timing TMSTART is permitted, and the routine exits.

【0065】その後、BTDC100°でスタートした
タイマの計時が、噴射開始タイミングTMSTARTになる
と、図10に示す燃料噴射手順のルーチンが割込み起動
し、ステップS401で、燃料噴射対象気筒のインジェクタ
14へ燃料噴射パルス幅Tiの駆動パルス信号を出力し
てルーチンを抜ける。
After that, when the timing of the timer started at BTDC 100 ° becomes the injection start timing TMSTART, the routine of the fuel injection procedure shown in FIG. 10 is interrupted and started, and in step S401, the fuel injection to the injector 14 of the fuel injection target cylinder is performed. A driving pulse signal having a pulse width Ti is output and the routine exits.

【0066】すなわち、図32に示すように、本実施例
の4サイクル6気筒エンジンでは、燃焼行程は#1→#
6→#3→#2→#5→#4であり、燃料噴射対象気筒
に対し、BTDC100°CAを基準とする燃料噴射開
始タイミングTMSTARTから燃料噴射が開始され、720
°CA毎(エンジン2回転毎)に1回のシーケンシャル
噴射が行なわれる。
That is, as shown in FIG. 32, in the 4-cycle 6-cylinder engine of this embodiment, the combustion stroke is # 1 → #.
6 → # 3 → # 2 → # 5 → # 4, fuel injection is started from the fuel injection start timing TMSTART based on BTDC 100 ° CA to the fuel injection target cylinder, and 720
Sequential injection is performed once for each CA (every two engine revolutions).

【0067】次に、空燃比フィードバック補正係数の設
定手順について説明する。図11に示される空燃比フィ
ードバック補正係数設定ルーチンは、エンジン1回転毎
に割込み実行されるプログラムであり、まず、ステップ
S501で、第1O2センサ側フィードバック制御判別フラ
グFLAGF/B1の値を参照する。
Next, the procedure for setting the air-fuel ratio feedback correction coefficient will be described. The air-fuel ratio feedback correction coefficient setting routine shown in FIG. 11 is a program executed by interruption every engine revolution.
In S501, the value of the first O2 sensor side feedback control determination flag FLAGF / B1 is referred to.

【0068】この第1O2センサ側フィードバック制御
条件判別フラグFLAGF/B1は、第1のO2センサ25
aによるフィードバック条件が成立したとき1にセット
されるものであり、上記ステップS501で、FLAGF/B1
=0のときには、現在、右バンクの気筒群はオープンル
ープ制御中と判別してステップS502へ進み、第1O2セ
ンサ側フィードバック制御条件判別サブルーチンを呼び
出す。
This first O2 sensor side feedback control condition discrimination flag FLAGF / B1 is set in the first O2 sensor 25.
It is set to 1 when the feedback condition by a is satisfied, and FLAGF / B1 is set in step S501.
When = 0, it is determined that the right bank cylinder group is currently under open loop control, and the process proceeds to step S502 to call the first O2 sensor side feedback control condition determination subroutine.

【0069】この第1O2センサ側フィードバック制御
条件判別サブルーチンでは、後述するクローズドループ
条件1判別処理及びクローズドループ条件2判別処理に
より、第1のO2センサ25aに短絡あるいは断線など
の故障がなく、活性化が完了してクローズドループ制御
すなわちフィードバック制御へ移行可能か否かを判別す
る。
In this first O2 sensor side feedback control condition judging subroutine, the first O2 sensor 25a is activated without any failure such as short circuit or disconnection by the closed loop condition 1 judging process and the closed loop condition 2 judging process described later. Is completed and it is determined whether or not it is possible to shift to the closed loop control, that is, the feedback control.

【0070】一方、上記ステップS501で、FLAGF/B1
=1のときには、現在、右バンクの気筒群はフィードバ
ック制御中と判別してステップS503へ分岐し、第1空燃
比フィードバック補正係数演算サブルーチンを呼び出し
て右バンクの気筒群に対する第1空燃比フィードバック
補正係数α1を設定する。
On the other hand, in step S501, FLAGF / B1
When = 1, it is determined that the cylinder group in the right bank is currently in feedback control and the process branches to step S503 to call the first air-fuel ratio feedback correction coefficient calculation subroutine to call the first air-fuel ratio feedback correction for the cylinder group in the right bank. Set the coefficient α1.

【0071】その後、上記ステップS502あるいは上記ス
テップS503からステップS504へ進み、第2のO2センサ
25bによるフィードバック条件が成立したとき1にセ
ットされる第2O2センサ側フィードバック制御条件判
別フラグFLAGF/B2の値を参照する。
Thereafter, the process proceeds from step S502 or step S503 to step S504, and the value of the second O2 sensor side feedback control condition determination flag FLAGF / B2 is set to 1 when the feedback condition by the second O2 sensor 25b is satisfied. Refer to.

【0072】そして、FLAGF/B2=0のときには、現
在、左バンクの気筒群はオープンループ制御中と判別し
て上記ステップS504からステップS505へ進むと、第2O
2センサ側フィードバック制御条件判別サブルーチンを
呼び出し、上記第1O2センサ側フィードバック制御条
件判別サブルーチンと同様に、第2のO2センサ25b
に短絡あるいは断線などの故障がなく、活性化が完了し
てフィードバック制御へ移行可能か否かを判別し、ルー
チンを抜ける。
When FLAGF / B2 = 0, it is determined that the cylinder group of the left bank is currently under open loop control, and the process proceeds from step S504 to step S505.
The 2 sensor side feedback control condition judging subroutine is called, and the second O 2 sensor 25b is called in the same manner as the first O 2 sensor side feedback control condition judging subroutine.
It is judged whether or not there is no failure such as short circuit or disconnection, activation is completed and it is possible to shift to the feedback control, and the routine is exited.

【0073】一方、FLAGF/B2=1のときには、現
在、左バンクの気筒群はフィードバック制御中と判別し
て上記ステップS504からステップS506へ分岐し、第2空
燃比フィードバック補正係数演算サブルーチンを呼び出
して左バンクの気筒群に対する第2空燃比フィードバッ
ク補正係数α2を設定してルーチンを抜ける。
On the other hand, when FLAGF / B2 = 1, it is determined that the cylinder group in the left bank is currently in the feedback control, the process branches from step S504 to step S506, and the second air-fuel ratio feedback correction coefficient calculation subroutine is called. The second air-fuel ratio feedback correction coefficient α2 for the cylinder group in the left bank is set and the routine exits.

【0074】ここで、上述の空燃比フィードバック補正
係数設定ルーチンにおける各サブルーチンの説明に先立
ち、第1,第2空燃比フィードバック補正係数α1,α2
の初期設定、及び、タイマ設定手順について説明する。
Here, prior to the explanation of each subroutine in the above-mentioned air-fuel ratio feedback correction coefficient setting routine, the first and second air-fuel ratio feedback correction coefficients α1, α2
The initial setting and timer setting procedure will be described.

【0075】図16〜図18に示される空燃比フィード
バック補正係数初期設定及びタイマ設定手順のルーチン
は、所定時間毎に実行され、ステップS1001,S1002で、
それぞれ、エンジン回転数NEが0か否か、スタータス
イッチ61がONか否かを調べる。
The routine of the air-fuel ratio feedback correction coefficient initial setting and the timer setting procedure shown in FIGS. 16 to 18 is executed every predetermined time, and in steps S1001 and S1002,
It is checked whether or not the engine speed NE is 0 and whether or not the starter switch 61 is ON.

【0076】上記ステップS1001,S1002で、NE=0のエ
ンジン非回転状態、あるいは、NE≠0且つスタータス
イッチ61がONのクランキング中であるときには、ス
テップS1036へ分岐し、エンジン始動後(スタータスイ
ッチ61がONからOFF状態となった後)の経過時間
を計時するための始動後経過時間カウント値COUNT
STをクリアすると(COUNTST←0)、ステップS103
7,S1038で、それぞれ、第1,第2空燃比フィードバッ
ク補正係数α1,α2を1.0に固定し(α1←1.0、α2←1.
0)、ステップS1039で、各フラグをクリアしてルーチン
を抜ける。
In steps S1001 and S1002, when NE = 0, the engine is not rotating, or when NE ≠ 0 and the starter switch 61 is in the cranking state, the process branches to step S1036, and after engine start (starter switch). The elapsed time after start count value COUNT for measuring the elapsed time (after 61 has changed from the ON state to the OFF state)
When ST is cleared (COUNTST ← 0), step S103
In 7 and S1038, the first and second air-fuel ratio feedback correction coefficients α1 and α2 are fixed to 1.0 (α1 ← 1.0, α2 ← 1.
0), in step S1039, clear each flag and exit the routine.

【0077】一方、NE≠0且つスタータスイッチ61
がOFFのときには、上記ステップS1001,S1002を経て
ステップS1003へ進み、始動後経過時間カウント値CO
UNTSTが設定値TO2SHC(例えば、30sec相当)
以上となったか否かを判別する。そして、COUNTST
≧TO2SHCのとき、ステップS1003からステップS1006へ
ジャンプし、COUNTST<TO2SHCのとき、ステップS
1003からステップ1004へ進む。
On the other hand, NE ≠ 0 and the starter switch 61
Is OFF, the process proceeds to step S1003 through steps S1001 and S1002, and the elapsed time count value CO after starting CO
UNSTST is the set value TO2SHC (for example, equivalent to 30 sec)
It is determined whether or not the above. And COUNTST
When ≧ TO2SHC, jump to step S1006 from step S1003. When COUNTST <TO2SHC, step S1003.
Proceed to step 1004 from 1003.

【0078】ステップS1004では、始動後経過時間カウ
ント値COUNTSTをカウントアップし(COUNTST
←COUNTST+1)、ステップS1005で、このカウン
トアップした始動後経過時間カウント値COUNTSTが
所定時間INLDS以下か否か、すなわち、スタータス
イッチ61がONからOFFになった後の経過時間が所
定時間INLDS以下か否かを判別する。
In step S1004, the post-start elapsed time count value COUNTST is counted up (COUNTSTST
← COUNTST + 1), in step S1005, whether the counted up elapsed time after start count value COUNTST is less than or equal to the predetermined time INLSDS, that is, whether the elapsed time after the starter switch 61 is turned from ON to OFF is less than or equal to the predetermined time INLDS. Determine whether or not.

【0079】但し、INLDS<TO2SHD<TO2SHCであ
り、設定値TO2SHD(1sec相当)は、後述する第1
O2センサ側フィードバック制御条件判別サブルーチン
及び第2O2センサ側フィードバック制御条件判別サブ
ルーチンにおけるクローズドループ条件1判別処理及び
クローズドループ条件2判別処理に対する分岐条件の1
つである。
However, INLDS <TO2SHD <TO2SHC, and the set value TO2SHD (corresponding to 1 sec) is the first value described later.
Branch condition for closed loop condition 1 determination process and closed loop condition 2 determination process in O2 sensor side feedback control condition determination subroutine and second O2 sensor side feedback control condition determination subroutine
Is one.

【0080】そして、上記ステップS1005において、C
OUNTST≦INLDSのときには、前述のステップS1
037,S1038,S1039を経てルーチンを抜け、COUNTST
>INLDSのときには、上記ステップS1005からステ
ップS1006以降へ進む。
Then, in step S1005, C
When OUNTST ≦ INLDS, the above step S1 is executed.
Exit the routine through 037, S1038, S1039, and complete the COUNTST
When> INLDS, the process proceeds from step S1005 to step S1006 and thereafter.

【0081】このステップS1006以降は、ステップS1006
〜S1023が、第1O2センサ側フィードバック制御条件判
別サブルーチンにおいて使用する各タイマカウント値
(第1タイマカウント値COUNTTIM1、第2タイマカ
ウント値COUNTTIM2、第1O2センサ側制御周期タ
イマカウント値COUNTTIMTO21)、第2O2センサ側
フィードバック制御条件判別サブルーチンにおいて使用
する各タイマカウント値(第3タイマカウント値COU
NTTIM3、第4タイマカウント値COUNTTIM4、第2
O2センサ側制御周期タイマカウント値COUNTTIMTO
22)を、フラグの値に応じてカウントアップあるいはク
リアする処理であり、ステップS1024以降が、後述する
第1,第2空燃比フィードバック補正係数演算サブルー
チンにおけるモニタ機能を作動させるための第1,第2
O2センサ側モニタ機能作動フラグFLAGMP1,FLA
GMP2をセットする処理である。
After step S1006, step S1006
S1023 is each timer count value (first timer count value COUNTTIM1, second timer count value COUNTTIM2, first O2 sensor side control cycle timer count value COUNTTIMTO21) used in the first O2 sensor side feedback control condition determination subroutine, the second O2 sensor Each timer count value used in the side feedback control condition determination subroutine (third timer count value COU
NTTIM3, 4th timer count value COUNTTIM4, 2nd
O2 sensor side control cycle timer count value COUNTTIMTO
22) is a process of counting up or clearing according to the value of the flag, and step S1024 and subsequent steps are first and first for activating the monitor function in the first and second air-fuel ratio feedback correction coefficient calculation subroutines described later. Two
O2 sensor side monitor function operation flag FLAGMP1, FLA
This is a process of setting GMP2.

【0082】すなわち、ステップS1006で、第1タイマ
作動フラグFLAGTIM1の値を参照し、FLAGTIM1=
1のときには、ステップS1007で第1タイマカウント値
COUNTTIM1をカウントアップ(COUNTTIM1←C
OUNTTIM1+1)する一方、FLAGTIM1=0のとき
には、ステップS1008で第1タイマカウント値COUN
TTIM1をクリアする(COUNTTIM1←0)。
That is, in step S1006, the value of the first timer operation flag FLAGTIM1 is referred to, and FLAGTIM1 =
When it is 1, in step S1007 the first timer count value COUNTTIM1 is incremented (COUNTTIM1 ← C
COUNTTIM1 + 1) while FLAGTIM1 = 0, the first timer count value COUNT in step S1008.
Clear TTIM1 (COUNTTIM1 ← 0).

【0083】次いで、上記ステップS1007あるいは上記
ステップS1008からステップS1009へ進んで、第2タイマ
作動フラグFLAGTIM2の値を参照し、FLAGTIM2=
1のとき、ステップS1010で第2タイマカウント値CO
UNTTIM2をカウントアップし(COUNTTIM2←CO
UNTTIM2+1)、FLAGTIM2=0のときには、ステ
ップS1011で第2タイマカウント値COUNTTIM2をク
リアする(COUNTTIM2←0)。
Next, in step S1007 or step S1008, the flow advances to step S1009 to refer to the value of the second timer operation flag FLAGTIM2, and FLAGTIM2 =
If 1, the second timer count value CO is output in step S1010.
Count up UNTTIM2 (COUNTTIM2 ← CO
(UNTTIM2 + 1) and FLAGTIM2 = 0, the second timer count value COUNTTIM2 is cleared in step S1011 (COUNTTIM2 ← 0).

【0084】さらに、上記ステップS1010あるいはステ
ップS1011からステップS1012へ進むと、第3タイマ作動
フラグFLAGTIM3の値を参照し、FLAGTIM3=1の
とき、ステップS1013で第3タイマカウント値COUN
TTIM3をカウントアップして(COUNTTIM3←COU
NTTIM3+1)ステップS1015へ進む一方、FLAGTIM
3=0のとき、ステップS1014で第3タイマカウント値C
OUNTTIM3をクリアして(COUNTTIM3←0)ステ
ップS1015へ進む。
Further, when the process proceeds from step S1010 or step S1011 to step S1012, the value of the third timer operation flag FLAGTIM3 is referred to. When FLAGTIM3 = 1, the third timer count value COUNT is determined in step S1013.
Count up TTIM3 (COUNTTIM3 ← COU
NTTIM3 + 1) While proceeding to step S1015, FLAGTIM
When 3 = 0, in step S1014 the third timer count value C
Clear COUNTTIM3 (COUNTTIM3 ← 0) and proceed to step S1015.

【0085】ステップS1015では、第4タイマ作動フラ
グFLAGTIM4の値を参照し、FLAGTIM4=1のと
き、ステップS1016で第4タイマカウント値COUNTT
IM4をカウントアップして(COUNTTIM4←COUN
TTIM4+1)ステップS1018へ進む一方、FLAGTIM4
=0のとき、ステップS1017で第4タイマカウント値C
OUNTTIM4をクリアして(COUNTTIM4←0)ステ
ップS1018へ進む。
In step S1015, the value of the fourth timer operation flag FLAGTIM4 is referred to. If FLAGTIM4 = 1, then in step S1016 the fourth timer count value COUNTT.
Count up IM4 (COUNTTIM4 ← COUNT
TTIM4 + 1) While proceeding to step S1018, FLAGTIM4
= 0, the fourth timer count value C in step S1017
Clear COUNTTIM4 (COUNTTIM4 ← 0) and proceed to step S1018.

【0086】その後、ステップS1018では、第1O2セン
サ側制御周期タイマ作動フラグFLAGTIMTO21の値を
参照し、FLAGTIMTO21=1のとき、ステップS1019
で、第1のO2センサ25aの制御周期をカウントする
ための第1O2センサ側制御周期タイマカウント値CO
UNTTIMTO21をカウントアップして(COUNTTIMTO
21←COUNTTIMTO21+1)ステップS1021へ進み、F
LAGTIMTO21=0のとき、ステップS1020で、第1O2
センサ側制御周期タイマカウント値COUNTTIMTO21
をクリアして(COUNTTIMTO21←0)ステップS1021
へ進む。
Thereafter, in step S1018, the value of the first O2 sensor side control cycle timer operation flag FLAGTIMTO21 is referred to. When FLAGTIMTO21 = 1, step S1019
Then, the first O2 sensor side control cycle timer count value CO for counting the control cycle of the first O2 sensor 25a
Count up UNTTIMTO21 (COUNTTIMTO
21 ← COUNTTIMTO21 + 1) Proceed to step S1021, F
When LAGTIMTO21 = 0, in step S1020, the first O2
Sensor side control cycle timer count value COUNTTIMTO21
Is cleared (COUNTTIMTO21 ← 0) Step S1021
Go to.

【0087】ステップS1021では、第2O2センサ側制御
周期タイマ作動フラグFLAGTIMTO22の値を参照し、
FLAGTIMTO22=1のとき、ステップS1022で、第2の
O2センサ25bの制御周期をカウントするための第2
O2センサ側制御周期タイマカウント値COUNTTIMTO
22をカウントアップして(COUNTTIMTO22←COU
NTTIMTO22+1)ステップS1024へ進み、FLAGTIMT
O22=0のとき、ステップS1023で、第2O2センサ側制
御周期タイマカウント値COUNTTIMTO22をクリアし
て(COUNTTIMTO22←0)ステップS1024へ進む。
In step S1021, the value of the second O2 sensor side control cycle timer operation flag FLAGTIMTO22 is referred to,
When FLAGTIMTO22 = 1, in step S1022, the second count for counting the control cycle of the second O2 sensor 25b is performed.
O2 sensor side control cycle timer count value COUNTTIMTO
Count up 22 (COUNTTIMTO22 ← COU
NTTIMTO22 + 1) Proceed to step S1024, and FLAGTIMT
When O22 = 0, the second O2 sensor side control cycle timer count value COUNTTIMTO22 is cleared (COUNTTIMTO22 ← 0) in step S1023, and the process proceeds to step S1024.

【0088】ステップS1024では、第1のO2センサ25
aによるフィードバック条件が成立したとき1にセット
される第1O2センサ側フィードバック制御条件判別フ
ラグFLAGF/B1の値を参照し、FLAGF/B1=0のと
きには、ステップS1029へジャンプし、FLAGF/B1=
1のときには、ステップS1025で、第1O2センサ側モニ
タ機能作動フラグFLAGMP1の値を参照して既にモニ
タ機能作動中であるか否かを調べる。
At step S1024, the first O 2 sensor 25
Referring to the value of the first O2 sensor side feedback control condition determination flag FLAGF / B1 which is set to 1 when the feedback condition by a is satisfied, when FLAGF / B1 = 0, the process jumps to step S1029 and FLAGF / B1 =
When it is 1, in step S1025, it is checked whether or not the monitor function is already in operation by referring to the value of the first O2 sensor side monitor function operation flag FLAGMP1.

【0089】上記ステップS1025で、FLAGMP1=1の
ときには、ステップS1030へジャンプし、FLAGMP1=
0のとき、ステップS1026で、フィードバック制御開始
からの時間を計時するためのタイマカウント値COUN
TTIMF/B1をカウントアップし(COUNTTIMF/B1←C
OUNTTIMF/B1+1)、ステップS1027で、このカウン
ト値が設定値MONTに達したか否かを判別する。
If FLAGMP1 = 1 in step S1025, the process jumps to step S1030 and FLAGMP1 =
When it is 0, in step S1026, the timer count value COUNT for measuring the time from the start of the feedback control
Count up TTIMF / B1 (COUNTTIMF / B1 ← C
OUNTTIMF / B1 + 1), and in step S1027, it is determined whether or not this count value has reached the set value MONT.

【0090】そして、上記ステップS1027で、COUN
TTIMF/B1<MONTであり、フィードバック制御開始
から設定時間が経過していないときには、ステップS103
0へジャンプし、COUNTTIMF/B1≧MONTであり、
フィードバック制御開始から設定時間が経過していると
きには、ステップS1028で、第1O2センサ側モニタ機能
作動フラグFLAGMP1をセットすると(FLAGMP1←
1)、ステップS1029で、タイマカウント値COUNTT
IMF/B1をクリアし(COUNTTIMF/B1←0)、ステッ
プS1030へ進む。
Then, in step S1027, COUNT
If TTIMF / B1 <MONT and the set time has not elapsed from the start of the feedback control, step S103
Jump to 0, COUNTTIMF / B1 ≧ MONT,
When the set time has elapsed from the start of the feedback control, in step S1028, the first O2 sensor side monitor function operation flag FLAGMP1 is set (FLAGMP1 ←
1), in step S1029, the timer count value COUNTT
Clear IMF / B1 (COUNTTIMF / B1 ← 0) and proceed to step S1030.

【0091】ステップS1030では、第2のO2センサ25
bによるフィードバック条件が成立したとき1にセット
される第2O2センサ側フィードバック制御条件判別フ
ラグFLAGF/B2の値を参照し、FLAGF/B2=0のと
き、ステップS1035へジャンプし、FLAGF/B2=0の
とき、ステップS1031で、第2O2センサ側モニタ機能作
動フラグFLAGMP2の値を参照して既にモニタ機能作
動中であるか否かを調べる。
In step S1030, the second O 2 sensor 25
Referring to the value of the second O2 sensor side feedback control condition determination flag FLAGF / B2 which is set to 1 when the feedback condition by b is satisfied, when FLAGF / B2 = 0, the process jumps to step S1035 and FLAGF / B2 = 0 At this time, in step S1031, it is checked with reference to the value of the second O2 sensor side monitor function operation flag FLAGMP2 whether or not the monitor function is already in operation.

【0092】そして、上記ステップS1031で、FLAGM
P2=1のとき、ルーチンを抜け、FLAGMP2=0のと
きには、ステップS1032で、フィードバック制御開始か
らの時間を計時するためのタイマカウント値COUNT
TIMF/B2をカウントアップする(COUNTTIMF/B2←C
OUNTTIMF/B2+1)。
Then, in the above step S1031, FLAGM
When P2 = 1, the routine is exited, and when FLAGMP2 = 0, in step S1032, the timer count value COUNT for measuring the time from the start of feedback control.
Count up TIMF / B2 (COUNTTIMF / B2 ← C
OUNTTIMF / B2 + 1).

【0093】その後、ステップS1033へ進み、タイマカ
ウント値COUNTTIMF/B2が設定値MONTに達した
か否かを判別し、COUNTTIMF/B2<MONTで、フ
ィードバック制御開始から設定時間が経過していないと
きには、ルーチンを抜け、COUNTTIMF/B2≧MON
Tであり、フィードバック制御開始から設定時間が経過
しているときには、ステップS1034で、第2O2センサ側
モニタ機能作動フラグFLAGMP2をセットすると(F
LAGMP2←1)、ステップS1035で、タイマカウント値
COUNTTIMF/B2をクリアし(COUNTTIMF/B2←
0)、ルーチンを抜ける。
After that, the process proceeds to step S1033, it is determined whether or not the timer count value COUNTTIMF / B2 has reached the set value MONT, and if COUNTTIMF / B2 <MONT and the set time has not elapsed from the start of the feedback control, Exit the routine, COUNTTIMF / B2 ≧ MON
If T is set and the set time has elapsed from the start of feedback control, the second O2 sensor side monitor function operation flag FLAGMP2 is set in step S1034 (F
LAGMP2 ← 1), in step S1035, clear the timer count value COUNTTIMF / B2 (COUNTTIMF / B2 ←
0), exit the routine.

【0094】一方、前述の空燃比フィードバック補正係
数設定ルーチンにおける第1O2センサ側フィードバッ
ク制御条件判別サブルーチン及び第2O2センサ側フィ
ードバック制御条件判別サブルーチンは、それぞれ、図
1〜図3、図4〜図6に示される。
On the other hand, the first O2 sensor side feedback control condition judging subroutine and the second O2 sensor side feedback control condition judging subroutine in the above-mentioned air-fuel ratio feedback correction coefficient setting routine are shown in FIGS. 1 to 3 and 4 to 6, respectively. Shown.

【0095】これらの各サブルーチンは、機能的には同
様であり、第1O2センサ側フィードバック制御条件判
別サブルーチンのステップS6…が、第2O2センサ側フ
ィードバック制御条件判別サブルーチンのステップS8…
に対応する。
These sub-routines are functionally similar, and the step S6 ... Of the first O2 sensor side feedback control condition judging subroutine is the same as the step S8 of the second O2 sensor side feedback control condition judging subroutine.
Corresponding to.

【0096】以下、主として第1O2センサ側フィード
バック制御条件判別サブルーチンについて説明し、第2
O2センサ側フィードバック制御条件判別サブルーチン
においては、第1のO2センサ25aを第2のO2センサ
25bと読み代え、その出力電圧VO21をVO22と読み代
える。
Hereinafter, the subroutine for determining the feedback control condition of the first O 2 sensor will be mainly described, and the second O 2 sensor side feedback control condition determination subroutine will be described.
In the O2 sensor side feedback control condition determination subroutine, the first O2 sensor 25a is read as the second O2 sensor 25b, and its output voltage VO21 is read as VO22.

【0097】また、第2O2センサ側フィードバック制
御条件判別サブルーチンにおいては、第1O2センサ側
フィードバック制御条件判別サブルーチンに対し、第1
空燃比フィードバック補正係数α1、積分定数I1を、そ
れぞれ、第2空燃比フィードバック補正係数α2、積分
定数I2とし、第1モニタオープンループ制御判別フラ
グFLAGMONI1、第1O2センサ側モニタ機能作動フラ
グFLAGMP1、第1O2センサ側クローズドループ条件
2移行判別フラグFLAGCL21、及び、第1O2センサ
側フィードバック制御条件判別フラグFLAGF/B1の各
フラグの第1…を第2…と読み代え、符号末尾の添字…
1を…2と読み代える。
In the second O 2 sensor side feedback control condition judging subroutine, the first O 2 sensor side feedback control condition judging subroutine is
The air-fuel ratio feedback correction coefficient α1 and the integration constant I1 are respectively set as the second air-fuel ratio feedback correction coefficient α2 and the integration constant I2, and the first monitor open loop control determination flag FLAGMONI1 and the first O2 sensor side monitor function operation flag FLAGMP1 and the first O2 are set. The first side of each flag of the sensor side closed loop condition 2 shift determination flag FLAGCL21 and the first O2 sensor side feedback control condition determination flag FLAGF / B1 is replaced with the second ...
Replace 1 with 2.

【0098】さらに、第2O2センサ側フィードバック
制御条件判別サブルーチンにおいては、第1O2センサ
側フィードバック制御条件判別サブルーチンに対し、第
1タイマ作動フラグFLAGTIM1、第2タイマ作動フラ
グFLAGTIM2に代えて、それぞれ、第3タイマ作動フ
ラグFLAGTIM3、第4タイマ作動フラグFLAGTIM4
を用い、第1タイマカウント値COUNTTIM1、第2タ
イマカウント値COUNTTIM2に代えて、それぞれ、第
3タイマカウント値COUNTTIM3、第4タイマカウン
ト値COUNTTIM4を用いる。
Further, in the second O2 sensor side feedback control condition judging subroutine, instead of the first timer operating flag FLAGTIM1 and the second timer operating flag FLAGTIM2 in the first O2 sensor side feedback controlling condition judging subroutine, respectively, the third O3 Timer operation flag FLAGTIM3, fourth timer operation flag FLAGTIM4
In place of the first timer count value COUNTTIM1 and the second timer count value COUNTTIM2, the third timer count value COUNTTIM3 and the fourth timer count value COUNTTIM4 are used.

【0099】まず、第1O2センサ側フィードバック制
御条件判別サブルーチンのステップS601では、第1モニ
タオープンループ制御判別フラグFLAGMONI1の値を
参照し、オープンループ制御に移行しているか否かを判
別する。
First, in step S601 of the first O2 sensor side feedback control condition determination subroutine, the value of the first monitor open loop control determination flag FLAGMONI1 is referred to, and it is determined whether or not the control is shifted to open loop control.

【0100】上記第1モニタオープンループ制御判別フ
ラグFLAGMONI1は、後述する第1空燃比フィードバ
ック補正係数演算サブルーチンのモニタ機能により監視
される第1のO2センサ25aの制御周期が設定値を越
えたとき、クローズドループ制御からオープンループ制
御に移行させるためセットされるものであり、上記ステ
ップS601で、FLAGMONI1=0のときには、クローズ
ドループ制御のままのため、ステップS610へジャンプ
し、FLAGMONI1=1のときには、オープンループ制
御へ移行しているため、ステップ602へ進む。
The first monitor open loop control discrimination flag FLAGMONI1 is set when the control cycle of the first O2 sensor 25a monitored by the monitor function of the first air-fuel ratio feedback correction coefficient calculation subroutine described later exceeds the set value. This is set in order to shift from the closed loop control to the open loop control. When FLAGMONI1 = 0 in step S601, the control is still in closed loop control, so the process jumps to step S610, and when FLAGMONI1 = 1, it opens. Since the control is shifted to the loop control, the process proceeds to step 602.

【0101】ステップS602では、第1O2センサ側モニ
タ機能作動フラグFLAGMP1をクリアし(FLAGMP1
←0)、ステップS603〜S606で、第1空燃比フィードバ
ック補正係数α1を中心値1.0に収束させる。すなわち、
ステップS603で、第1空燃比フィードバック補正係数α
1が1.0より大きいか否かを判別し、1.0より大きいとき
には、ステップS604で、第1空燃比フィードバック補正
係数α1を比例積分制御における積分定数I1だけ小さく
して(α1←α1−I1)ステップS607へ進み、1.0より大
きくないときには、ステップS605へ分岐し、第1空燃比
フィードバック補正係数α1が1.0より小さいか否かを判
別する。
In step S602, the first O2 sensor side monitor function operation flag FLAGMP1 is cleared (FLAGMP1
← 0), in steps S603 to S606, the first air-fuel ratio feedback correction coefficient α1 is converged to the center value 1.0. That is,
In step S603, the first air-fuel ratio feedback correction coefficient α
If 1 is greater than 1.0, and if it is greater than 1.0, then in step S604, the first air-fuel ratio feedback correction coefficient α1 is reduced by the integral constant I1 in the proportional integral control (α1 ← α1-I1) in step S607. If it is not larger than 1.0, the process branches to step S605 to determine whether or not the first air-fuel ratio feedback correction coefficient α1 is smaller than 1.0.

【0102】そして、上記ステップS605で、α1<1.0の
ときには、ステップS606で、第1空燃比フィードバック
補正係数α1を比例積分制御における積分定数I1だけ大
きくして(α1←α1+I1)ステップS607へ進み、上記
ステップS605で、α1=1.0のときには、ステップS607へ
ジャンプする。
When α1 <1.0 in step S605, the first air-fuel ratio feedback correction coefficient α1 is increased by the integral constant I1 in proportional-plus-integral control (α1 ← α1 + I1) in step S606, and the process proceeds to step S607. In step S605, when α1 = 1.0, the process jumps to step S607.

【0103】次に、ステップS607では、アイドルスイッ
チ12bがOFFか否かを判別し、アイドルスイッチ1
2bがONしているときには、ステップS608,S609で、
それぞれ、クローズドループ条件1判別処理において使
用する第1タイマ作動フラグFLAGTIM1、クローズド
ループ条件2判別処理において使用する第2タイマ作動
フラグFLAGTIM2をクリアして(FLAGTIM1←0、
FLAGTIM2←0)ルーチンを抜け、一方、上記ステッ
プS607で、アイドルスイッチ12bがOFFのときに
は、ステップS610以降の処理へ進む。
Next, in step S607, it is determined whether or not the idle switch 12b is OFF, and the idle switch 1
When 2b is ON, in steps S608 and S609,
The first timer operation flag FLAGTIM1 used in the closed loop condition 1 determination process and the second timer operation flag FLAGTIM2 used in the closed loop condition 2 determination process are cleared (FLAGTIM1 ← 0,
The FLAGTIM2 ← 0) routine is exited, and if the idle switch 12b is OFF in step S607, the process proceeds to step S610 and subsequent steps.

【0104】すなわち、モニタ機能によりクローズドル
ープ制御からオープンループ制御に移行した場合には、
アイドルスイッチ12bがONのスロットル全閉状態に
ある限り、クローズドループ制御へ再び移行可能か否か
の判別処理は行なわず、第1モニタオープンループ制御
判別フラグFLAGMONI1がクリアされた状態のクロー
スドループ制御のとき、あるいは、モニタ機能によりオ
ープンループ制御に移行した後、アイドルスイッチ12
bがOFFのスロットル開状態を継続したときに、ステ
ップS610以降の処理へ進むのである。
That is, when the closed loop control is switched to the open loop control by the monitor function,
As long as the idle switch 12b is in the ON fully closed throttle state, the process of determining whether or not it is possible to shift to the closed loop control again is not performed, and the closed monitor control of the first monitor open loop control determination flag FLAGMONI1 is cleared. Time, or after shifting to open loop control by the monitor function, the idle switch 12
When the throttle open state in which b is OFF is continued, the process proceeds to step S610 and the subsequent steps.

【0105】ステップS610では、始動後経過時間カウン
ト値COUNTSTの値が設定値TO2SHC(例えば、30
sec相当)以上か否かを判別し、COUNTST<TO2
SHCのとき、さらに、ステップS611で、始動後経過時間
カウント値COUNTSTの値が設定値TO2SHD(例え
ば、1sec相当)未満か否かを判別する。
In step S610, the value of the elapsed time after start count value COUNTST is set to the set value TO2SHC (for example, 30
(equivalent to sec) or more, COUNTST <TO2
In the case of SHC, it is further determined in step S611 whether the value of the post-start elapsed time count value COUNTST is less than the set value TO2SHD (for example, 1 sec).

【0106】そして、エンジン始動後の経過時間が、設
定値TO2SHC以上あるいは設定値TO2SHD未満のときに
は、ステップS610あるいはステップS611からステップS6
15へ分岐して第2タイマ作動フラグFLAGTIM2をクリ
アすると(FLAGTIM2←0)、ステップS616以降のク
ローズドループ条件1判別処理へ移行し、設定値TO2SH
D以上設定値TO2SHC未満のときには、ステップS610,S61
1を経てステップS612へ進み、第1O2センサ側クローズ
ドループ条件2移行判別フラグFLAGCL21の値を参照
する。
When the elapsed time after engine start is equal to or greater than the set value TO2SHC or less than the set value TO2SHD, step S610 or step S611 to step S6.
When the flow branches to 15 and the second timer operation flag FLAGTIM2 is cleared (FLAGTIM2 ← 0), the process proceeds to the closed loop condition 1 determination process after step S616, and the set value TO2SH
If D or more and less than the set value TO2SHC, steps S610, S61
After passing through 1, the process proceeds to step S612 to refer to the value of the first O2 sensor side closed loop condition 2 shift determination flag FLAGCL21.

【0107】上記ステップS612では、FLAGCL21=1
のとき、ステップS624へジャンプして第1タイマ作動フ
ラグFLAGTIM1をクリアして(FLAGTIM1←0)ス
テップS625以降のクローズドループ条件2判別処理へ移
行し、FLAGCL21=0(イニシャル値)のときには、
ステップS613で、第1のO2センサ25aの出力電圧
(第1O2センサ出力電圧)VO21が設定値O2SHIN(例
えば、200mV)以上か否かを判別する。
In step S612, FLAGCL21 = 1
In the case of, the process jumps to step S624 to clear the first timer operation flag FLAGTIM1 (FLAGTIM1 ← 0), and the process proceeds to the closed loop condition 2 determination process of step S625 and thereafter, and when FLAGCL21 = 0 (initial value),
In step S613, it is determined whether or not the output voltage (first O2 sensor output voltage) VO21 of the first O2 sensor 25a is equal to or higher than a set value O2SHIN (for example, 200 mV).

【0108】その結果、VO21<O2SHINのときには、ス
テップS615で、第2タイマ作動フラグFLAGTIM2をク
リアして(FLAGTIM2←0)、ステップS616以降のク
ローズドループ条件1判別処理へ移行し、VO21≧O2SH
INのときには、以後、第1のO2センサ25aは短絡状
態でないとみなせるため、ステップS614で、第1O2セ
ンサ側クローズドループ条件2移行判別フラグFLAG
CL21をセットして(FLAGCL21←1)次回のルーチン
実行時にステップS612からステップS624へ強制的にジャ
ンプさせるようにし、前述のステップS624で、第1タイ
マ作動フラグFLAGTIM1をクリアすると、ステップS6
25以降のクローズドループ条件2判別処理へ移行する。
As a result, when VO21 <O2SHIN, in step S615, the second timer operation flag FLAGTIM2 is cleared (FLAGTIM2 ← 0), and the process proceeds to the closed loop condition 1 determination process in step S616 and thereafter, VO21 ≧ O2SH
When it is IN, it can be regarded that the first O2 sensor 25a is not in the short-circuit state thereafter, so in step S614, the first O2 sensor side closed loop condition 2 shift determination flag FLAG.
CL21 is set (FLAGCL21 ← 1) to force the jump from step S612 to step S624 at the time of the next routine execution, and when the first timer operation flag FLAGTIM1 is cleared in step S624, step S6
The processing shifts to the closed loop condition 2 determination processing after 25.

【0109】次に、クローズドループ条件1判別処理に
ついて説明する。このクローズドループ条件1判別処理
には、第1のO2センサ25aの短絡状態を検出するた
めのステップS616〜S618からなる第1の条件と、第1の
O2センサ25aの断線状態を検出するためのステップS
616〜S619からなる第2の条件とが設けられており、ま
ず、ステップS616で、冷却水温TWが設定値WOPN
(例えば、22°C)以上か否かを判別する。
Next, the closed loop condition 1 determination processing will be described. The closed loop condition 1 determination process includes a first condition including steps S616 to S618 for detecting a short-circuit state of the first O2 sensor 25a and a disconnection state of the first O2 sensor 25a. Step S
The second condition consisting of 616 to S619 is provided. First, in step S616, the cooling water temperature TW is set to the set value WOPN.
(For example, 22 ° C) or more is determined.

【0110】上記ステップS616で、TW<WOPNのと
きには、第1のO2センサ25aが活性化されておらず
クローズドループ条件不成立としてステップS623へジャ
ンプし、第1タイマ作動フラグFLAGTIM1をクリアし
て(FLAGTIM1←0)ルーチンを抜け、TW≧WOP
Nのときには、第1のO2センサ25aが図示しない内
蔵のヒータにより活性化されているとして上記ステップ
S616からステップS617へ進み、第1O2センサ出力電圧
VO21がリッチ判定基準電圧VE(例えば、650mV)
以上か否かを判別する。
When TW <WOPN in step S616, the first O2 sensor 25a is not activated, the closed loop condition is not satisfied, and the process jumps to step S623 to clear the first timer operation flag FLAGTIM1 (FLAGTIM1 ← 0) Exit the routine, TW ≧ WOP
If N, it is assumed that the first O2 sensor 25a is activated by a built-in heater (not shown)
The process proceeds from step S616 to step S617, where the first O2 sensor output voltage VO21 is the rich determination reference voltage VE (for example, 650 mV).
It is determined whether or not the above.

【0111】その結果、VO21≧VEであり、空燃比が完
全にリッチ状態であるときには、上記ステップS617から
ステップS620へ進み、VO21<VEのとき、ステップS618
へ分岐し、さらに、第1O2センサ出力電圧VO21が故障
判定電圧O2SHRT(例えば、100mV)以上か否かを
判別し、VO21≧O2SHRTのとき、ステップS619で、第1
O2センサ出力電圧VO21がリーン判定基準電圧VL(例
えば、350mV)より低いか否かを判別する。
As a result, when VO21 ≧ VE and the air-fuel ratio is completely rich, the routine proceeds from step S617 to step S620, and when VO21 <VE, step S618.
Then, it is determined whether or not the first O2 sensor output voltage VO21 is equal to or higher than the failure determination voltage O2SHRT (for example, 100 mV). When VO21 ≧ O2SHRT, in step S619, the first
It is determined whether the O2 sensor output voltage VO21 is lower than the lean determination reference voltage VL (for example, 350 mV).

【0112】そして、上記ステップS619で、VO21<VL
のとき、すなわち、O2SHRT≦VO21<VLであり空燃比
がリーン状態のとき、あるいは、上記ステップS617で、
VO21≧VEであり空燃比が完全にリッチ状態であるとき
には、ステップS620で、第1タイマ作動フラグFLAG
TIM1をセットして(FLAGTIM1←1)前述の空燃比フ
ィードバック補正係数初期設定及びタイマ設定ルーチン
による第1タイマカウント値COUNTTIM1のカウント
をスタートさせ、ステップS621で、第1タイマカウント
値COUNTTIM1が設定値INLD(例えば、0.5s
ec相当)に達したか否かを判別する。
Then, in the above step S619, VO21 <VL
, That is, when O2SHRT ≦ VO21 <VL and the air-fuel ratio is lean, or in step S617,
When VO21 ≧ VE and the air-fuel ratio is completely rich, at step S620, the first timer operation flag FLAG.
TIM1 is set (FLAGTIM1 ← 1) to start counting the first timer count value COUNTTIM1 by the above-described air-fuel ratio feedback correction coefficient initial setting and timer setting routine, and in step S621, the first timer count value COUNTTIM1 is set to the set value INLD. (For example, 0.5s
(corresponding to ec) is determined.

【0113】上記ステップS621で、COUNTTIM1<I
NLDのときには、そのままルーチンを抜け、COUN
TTIM1≧INLDのときには、VO21≧VEあるいはO2S
HRT≦VO21<VLの状態が設定値INLDに相当する所
定時間以上継続したため、クローズドループ条件成立と
判別してステップS622へ進み、第1O2センサ側フィー
ドバック制御条件判別フラグFLAGF/B1をセットする
と(FLAGF/B1←1)、前述のステップS623を経てル
ーチンを抜ける。
At step S621, COUNTTIM1 <I
When NLD, exit the routine as it is and
When TTIM1 ≧ INLD, VO21 ≧ VE or O2S
Since the state of HRT ≦ VO21 <VL has continued for the predetermined time corresponding to the set value INLD or more, it is determined that the closed loop condition is satisfied, the process proceeds to step S622, and the first O2 sensor side feedback control condition determination flag FLAGF / B1 is set (FLAGF / B1 ← 1), exits the routine through step S623 described above.

【0114】一方、ステップS618でVO21<O2SHRTのと
きには、第1のO2センサ25aの配線の一部が短絡し
て車体にアースされたか、あるいは、活性化が完了して
いないため、第1O2センサ出力電圧VO21が0V付近の
電圧であると判別し、また、上記ステップS619でVO21
≧VLのとき(VE>VO21≧VLのとき)には、第1のO
2センサ25aの配線の一部が断線しているか、あるい
は活性化が完了していないため、出力電圧が中間の値に
なっていると判別し、各ステップから前述のステップS6
23へジャンプして第1タイマ作動フラグFLAGTIM1を
クリアし、ルーチンを抜ける。
On the other hand, when VO21 <O2SHRT in step S618, a part of the wiring of the first O2 sensor 25a is short-circuited and grounded to the vehicle body, or the activation is not completed, so the first O2 sensor output It is determined that the voltage VO21 is near 0V, and VO21 is determined in step S619.
When ≧ VL (when VE> VO21 ≧ VL), the first O
2 It is determined that the output voltage has an intermediate value because a part of the wiring of the sensor 25a is broken or the activation has not been completed.
Jump to 23 to clear the first timer operation flag FLAGTIM1 and exit the routine.

【0115】すなわち、O2センサ系が短絡して車体に
アースされていると、その出力電圧VO2は略0Vとなる
が、空燃比が過度にリーンである場合においても、出力
電圧VO2は略0Vとなる。従って、短絡によるO2セン
サ系の故障であるのか、O2センサ系は正常であって空
燃比がリーンなのか見分けがつかない。
That is, when the O2 sensor system is short-circuited and grounded to the vehicle body, its output voltage VO2 becomes approximately 0V, but even when the air-fuel ratio is excessively lean, the output voltage VO2 becomes approximately 0V. Become. Therefore, it is impossible to distinguish whether the O2 sensor system is defective due to a short circuit or whether the O2 sensor system is normal and the air-fuel ratio is lean.

【0116】このため、クローズドループ条件1判別処
理では、エンジン冷態始動直後の空燃比が、水温補正、
始動後増量補正などにより燃料増量補正がされリッチ状
態となることを利用し、O2センサ(第1のO2センサ2
5a、第2のO2センサ25b)が図示しない内部ヒー
タにより活性化したとみなせる冷却水温以上で、図28
に示すように、エンジン始動後、所定時間(設定値TO2
SHCに相当する時間)が経過し、O2センサ出力電圧VO2
(第1O2センサ出力電圧VO21、第2O2センサ出力電
圧VO22)がV02≧O2SHRTである状態が設定値INLD
に相当する所定時間以上継続した場合には、O2センサ
系は正常であると判断してクローズドループ制御すなわ
ちフィードバック制御に移行する。
Therefore, in the closed loop condition 1 determination processing, the air-fuel ratio immediately after the engine cold start is adjusted by the water temperature correction,
Taking advantage of the fact that the fuel amount is corrected by the fuel amount increase correction after the start and becomes rich, the O2 sensor (first O2 sensor 2
5a, the second O2 sensor 25b) is above the cooling water temperature that can be considered to have been activated by an internal heater (not shown), and FIG.
As shown in, a predetermined time (set value TO2
O2 sensor output voltage VO2
The setting value INLD is a state where (first O2 sensor output voltage VO21, second O2 sensor output voltage VO22) is V02 ≧ O2SHRT.
When the O2 sensor system is normal for a predetermined time or more corresponding to the above, it is determined that the O2 sensor system is normal, and the control is shifted to the closed loop control, that is, the feedback control.

【0117】また、図30に示すように、O2センサ出
力電圧VO2が略0V付近(VO2<O2SHRT)のときに
は、O2センサ系が短絡して車体にアースされているか
あるいは未活性であると判別し、図31に示すように、
中間の値(VE>VO2≧VL)のときには、O2センサ系
が断線あるいは未活性の状態と判別してオープンループ
制御を継続するのである。
As shown in FIG. 30, when the O2 sensor output voltage VO2 is near 0V (VO2 <O2SHRT), it is determined that the O2 sensor system is short-circuited and grounded or inactive. , As shown in FIG.
When the intermediate value (VE> VO2≥VL), the open loop control is continued by discriminating that the O2 sensor system is open or inactive.

【0118】一方、クローズドループ条件2判別処理に
おいては、第1のO2センサ25aの断線状態を検出す
るためのステップS625〜S627からなる第2の条件のみが
設けられており、ステップS625で、冷却水温TWが設定
値WOPN以上か否かを判別し、TW<WOPNのと
き、クローズドループ条件不成立としてステップS632へ
ジャンプし、第2タイマ作動フラグFLAGTIM2をクリ
アして(FLAGTIM2←0)ルーチンを抜ける。
On the other hand, in the closed loop condition 2 determination processing, only the second condition consisting of steps S625 to S627 for detecting the disconnection state of the first O2 sensor 25a is provided, and the cooling is performed in step S625. It is determined whether or not the water temperature TW is equal to or higher than the set value WOPN. When TW <WOPN, it is determined that the closed loop condition is not satisfied, the process jumps to step S632, the second timer operation flag FLAGTIM2 is cleared (FLAGTIM2 ← 0), and the routine exits.

【0119】また、上記ステップS625で、TW≧WOP
Nのときには、ステップS626へ進んで、第1O2センサ
出力電圧VO21がリッチ判定基準電圧VE以上か否かを判
別し、VO21<VEのとき、ステップS627へ分岐して、第
1O2センサ出力電圧VO21がリーン判定基準電圧VLよ
り低いか否かを判別する。
In step S625, TW ≧ WOP
When it is N, the routine proceeds to step S626, where it is judged whether or not the first O2 sensor output voltage VO21 is equal to or higher than the rich judgment reference voltage VE. When VO21 <VE, the routine branches to step S627 and the first O2 sensor output voltage VO21 is judged. It is determined whether it is lower than the lean determination reference voltage VL.

【0120】そして、上記ステップS626でVO21≧VEで
あり、空燃比が完全にリッチ状態であるとき、あるい
は、上記ステップS627でVO21<VLであり、空燃比がリ
ーン状態のときには、ステップS628で、第2タイマ作動
フラグFLAGTIM2をセットして(FLAGTIM2←1)
前述の空燃比フィードバック補正係数初期設定及びタイ
マ設定ルーチンによる第2タイマカウント値COUNT
TIM2のカウントをスタートさせ、ステップS629で、第2
タイマカウント値COUNTTIM2が設定値INLDに達
したか否かを判別する。
When VO21 ≧ VE in step S626 and the air-fuel ratio is completely rich, or when VO21 <VL in step S627 and the air-fuel ratio is lean, step S628 is executed. Set the second timer operation flag FLAGTIM2 (FLAGTIM2 ← 1)
Second timer count value COUNT by the above-mentioned air-fuel ratio feedback correction coefficient initial setting and timer setting routine
Start counting TIM2, and in step S629, set the second
It is determined whether or not the timer count value COUNTTIM2 has reached the set value INLD.

【0121】その結果、上記ステップS629で、COUN
TTIM2<INLDのときには、そのままルーチンを抜
け、COUNTTIM2≧INLDのとき、第1のO2セン
サ25aの活性化が完了してクローズドループ条件が成
立したと判別し、ステップS630で、第1O2センサ側フ
ィードバック制御条件判別フラグFLAGF/B1をセット
すると(FLAGF/B1←1)、ステップS631で、第1モ
ニタオープンループ制御判別フラグFLAGMONI1をク
リアした後(FLAGMONI1←0)、前述のステップS63
2を経てルーチンを抜ける。
As a result, in the step S629, the COUNT
When TTIM2 <INLD, the routine is exited as it is, and when COUNTTIM2 ≧ INLD, it is determined that the activation of the first O2 sensor 25a is completed and the closed loop condition is satisfied, and in step S630, the first O2 sensor side feedback control is performed. When the condition determination flag FLAGF / B1 is set (FLAGF / B1 ← 1), after the first monitor open loop control determination flag FLAGMONI1 is cleared (FLAGMONI1 ← 0) in step S631, the above-mentioned step S63 is performed.
Exit the routine via 2.

【0122】一方、ステップS627で、VO21<VLのとき
には、第1のO2センサ25aが断線しているかあるい
は未活性と判別し、前述のステップS632へジャンプして
第2タイマ作動フラグFLAGTIM2をクリアし、ルーチ
ンを抜ける。
On the other hand, when VO21 <VL in step S627, it is determined that the first O2 sensor 25a is disconnected or inactive, and the process jumps to step S632 to clear the second timer operation flag FLAGTIM2. , Exit the routine.

【0123】すなわち、エンジン暖機再始動の場合に
は、実空燃比がリーンの場合があり、O2センサは既に
活性化しているにもかかわらず、O2センサ出力電圧VO
2は略0Vとなる場合がある。従って、前述のクローズ
ドループ条件1判別処理のみでは誤判定となってフィー
ドバック制御に移行できず、空燃比が不適切となってエ
ンジン不調を生じるおそれがある。
That is, in the case of engine warm-up restart, the actual air-fuel ratio may be lean, and although the O2 sensor has already been activated, the O2 sensor output voltage VO
2 may be approximately 0V. Therefore, there is a possibility that an erroneous determination cannot be made and feedback control cannot be performed only by the closed-loop condition 1 determination processing described above, and the air-fuel ratio becomes inadequate, causing engine malfunction.

【0124】この場合、エンジン始動直後には増量補正
による空燃比がリッチ状態となることから、図29に示
すように、エンジン始動後の経過時間が設定値TO2SHD
から設定値TO2SHCまでの間に、一度でも、O2センサ出
力電圧VO2が設定値O2SHIN以上になれば、O2センサ系
は短絡してないと判断することができる。
In this case, since the air-fuel ratio due to the increase correction becomes rich immediately after the engine starts, as shown in FIG. 29, the elapsed time after the engine starts becomes the set value TO2SHD.
If the O2 sensor output voltage VO2 becomes equal to or higher than the set value O2SHIN even once from the set value to the set value TO2SHC, it can be determined that the O2 sensor system is not short-circuited.

【0125】そして、以後、第1O2センサ側クローズ
ドループ条件2移行判別フラグFLAGCL21(第2O2
センサ側クローズドループ条件2移行判別フラグFLA
GCL22)をセットし、常に、ステップS625(S825)以降
のクローズドループ条件2判別処理へ強制的に移行さ
せ、このクローズドループ条件2判別処理にO2センサ
系に断線などの異常が発生していないかを判別するよう
にしているのである。
Thereafter, the first O2 sensor side closed loop condition 2 shift determination flag FLAGCL21 (second O2
Sensor side closed loop condition 2 transition determination flag FLA
GCL22) is always set, and the closed loop condition 2 determination process after step S625 (S825) is forced to always be performed. Is there any abnormality such as disconnection in the O2 sensor system in this closed loop condition 2 determination process? Is determined.

【0126】さらに、オープンループ制御からフィード
バック制御に移行した場合の空燃比フィードバック補正
係数は、図12及び図13に示される第1空燃比フィー
ドバック補正係数演算サブルーチン、図14及び図15
に示される第2空燃比フィードバック補正係数演算サブ
ルーチンによって演算・設定される。
Further, the air-fuel ratio feedback correction coefficient in the case of shifting from the open loop control to the feedback control is the first air-fuel ratio feedback correction coefficient calculation subroutine shown in FIGS. 12 and 13, and FIGS.
It is calculated and set by the second air-fuel ratio feedback correction coefficient calculation subroutine shown in FIG.

【0127】これらの各サブルーチンにおいては、ステ
ップS7…とステップS9…とが互いに対応し、機能的には
同等である。従って、以下同様に、主として第1空燃比
フィードバック補正係数演算サブルーチンについて説明
し、第2空燃比フィードバック補正係数演算サブルーチ
ンにおいては、第1空燃比フィードバック補正係数演算
サブルーチンに対し、第1のO2センサ25aを第2の
O2センサ25bと読み代え、その出力電圧VO21をVO2
2と読み代える。そして、スライスレベルSL1、設定値
VS1、第1空燃比フィードバック補正係数α1、修正値
α1NEW、積分定数I1、比例定数P1を、それぞれ、スラ
イスレベルSL2、設定値VS2、第2空燃比フィードバ
ック補正係数α2、修正値α2NEW、積分定数I2、比例定
数P2とし、また、第1のO2センサリッチ/リーン判別
フラグFLAGAF1、第1O2センサ側制御周期タイマ作
動フラグFLAGTIMTO21、第1O2センサ側モニタ機能
作動フラグFLAGMP1、第1O2センサ側フィードバッ
ク制御条件判別フラグFLAGF/B1、及び、第1モニタ
オープンループ制御判別フラグFLAGMONI1の各フラ
グ、第1O2センサ側制御周期タイマカウント値COU
NTTIMTO21に対して、第1…を第2…と読み代え、符
号末尾の添字…1を…2と読み代える。
In each of these subroutines, steps S7 ... S9 ... Correspond to each other and are functionally equivalent. Therefore, similarly, the first air-fuel ratio feedback correction coefficient calculation subroutine will be mainly described below. In the second air-fuel ratio feedback correction coefficient calculation subroutine, the first O2 sensor 25a Is read as the second O2 sensor 25b, and its output voltage VO21 is changed to VO2.
Read as 2. Then, the slice level SL1, the set value VS1, the first air-fuel ratio feedback correction coefficient α1, the correction value α1NEW, the integration constant I1, and the proportional constant P1 are respectively set as the slice level SL2, the set value VS2, and the second air-fuel ratio feedback correction coefficient α2. , Correction value α2NEW, integration constant I2, proportionality constant P2, first O2 sensor rich / lean determination flag FLAGAF1, first O2 sensor side control cycle timer operation flag FLAGTIMTO21, first O2 sensor side monitor function operation flag FLAGMP1, first 1O2 sensor side feedback control condition determination flag FLAGF / B1 and first monitor open loop control determination flag FLAGMONI1 flags, first O2 sensor side control cycle timer count value COU
For NTTIMTO21, the first ... Is replaced with the second ..., and the subscript ... 1 at the end of the code is replaced with 2.

【0128】第1空燃比フィードバック補正係数演算サ
ブルーチンでは、まず、ステップS701で、第1空燃比フ
ィードバック補正係数α1を設定値にクランプするため
の第1のO2センサ側クランプ条件が成立するか否かを
判別する。
In the first air-fuel ratio feedback correction coefficient calculation subroutine, first, in step S701, it is determined whether or not the first O2 sensor side clamp condition for clamping the first air-fuel ratio feedback correction coefficient α1 to the set value is satisfied. To determine.

【0129】このクランプ条件は、例えば、基本燃料噴
射パルス幅TP が所定値以上の高負荷時、エンジン回転
数NEが所定回転数以上の高回転時、燃料カット中、減
速中、全開加速のフル燃料増量中、低水温時の加減速
中、あるいは、エアコン作動による燃料増量中などのと
き成立と判断され、ステップS702で、第1空燃比フィー
ドバック補正係数α1を設定値にクランプし、ルーチン
を抜ける。
This clamping condition is, for example, when the basic fuel injection pulse width TP is at a high load of a predetermined value or more, when the engine speed NE is at a high speed of a predetermined speed or more, during fuel cut, during deceleration, and full-open acceleration. It is determined that the condition is satisfied during fuel increase, during acceleration / deceleration at low water temperature, or during fuel increase due to air conditioner operation. In step S702, the first air-fuel ratio feedback correction coefficient α1 is clamped to the set value, and the routine exits. ..

【0130】一方、上記ステップS701で、クランプ条件
不成立と判別されると、上記ステップS701からステップ
S703へ進んで、第1のO2センサリッチ/リーン判別フ
ラグFLAGAF1の値を参照する。この第1のO2センサ
リッチ/リーン判別フラグFLAGAF1は、第1O2セン
サ出力電圧VO21が空燃比リッチ側にあるとき0にクリ
アされ、空燃比リーン側にあるとき1にセットされるも
のであり、前回のルーチン実行時に、右バンクの気筒群
の空燃比がリッチ側にあったかリーン側にあったかを判
別することができる。
On the other hand, if it is determined in step S701 that the clamp condition is not satisfied, the steps from step S701 to step
In step S703, the value of the first O2 sensor rich / lean determination flag FLAGAF1 is referred to. The first O2 sensor rich / lean determination flag FLAGAF1 is cleared to 0 when the first O2 sensor output voltage VO21 is on the air-fuel ratio rich side, and is set to 1 when it is on the air-fuel ratio lean side. It is possible to determine whether the air-fuel ratio of the cylinder group in the right bank is on the rich side or the lean side during the execution of the routine.

【0131】従って、上記ステップS703で、FLAGAF
1 =0のときには、前回、右バンクの気筒群の空燃比が
リッチ側にあったため、ステップS704で、所定値VS1を
スライスレベルSL1とし(SL1←VS1)、FLAGAF
1 =1のときには、前回、右バンクの気筒群の空燃比が
リーン側にあったため、ステップS705へ分岐して、所定
値VS1にヒステリシス分HISを加算してスライスレベ
ルSL1を設定する(SL1←VS1+HIS)。
Therefore, in the above step S703, FLAGAF
When 1 = 0, the air-fuel ratio of the cylinder group of the right bank was on the rich side last time, so in step S704, the predetermined value VS1 is set to the slice level SL1 (SL1 ← VS1), FLAGAF
When 1 = 1, since the air-fuel ratio of the cylinder group in the right bank was on the lean side last time, the process branches to step S705 and the hysteresis level HIS is added to the predetermined value VS1 to set the slice level SL1 (SL1 ← VS1 + HIS).

【0132】そして、上記ステップS704あるいはステッ
プS705でスライスレベルSL1を設定すると、ステップS
706へ進んで、第1O2センサ出力電圧VO21とスライス
レベルSL1とを比較し、現在、右バンクの気筒群の空
燃比がリッチ側にあるかリーン側にあるかを判別し、V
O21≧SL1、すなわち空燃比がリッチ側と判別される
と、上記ステップS706からステップS707へ進み、第1の
O2センサリッチ/リーン判別フラグFLAGAF1がセッ
トされているか否かを判別する。
When the slice level SL1 is set in step S704 or step S705, step S
Proceeding to 706, the first O2 sensor output voltage VO21 is compared with the slice level SL1 to determine whether the air-fuel ratio of the cylinder group in the right bank is currently on the rich side or the lean side, and V
When O21 ≧ SL1, that is, when the air-fuel ratio is judged to be on the rich side, the routine proceeds from step S706 to step S707, where it is judged if the first O2 sensor rich / lean judgment flag FLAGAF1 is set.

【0133】上記ステップS707で、FLAGAF1=1の
とき、すなわち、前回のルーチン実行時には空燃比リー
ン側であり、今回、空燃比リッチ側となったときには、
上記ステップS707からステップS708へ進んで、第1空燃
比フィードバック補正係数α1を比例定数P1だけマイナ
ス方向へスキップさせて修正値α1NEWを設定する(α1N
EW←α1−P1)。
In step S707, when FLAGAF1 = 1, that is, when the previous routine is executed, the air-fuel ratio is lean, and this time when the air-fuel ratio is rich,
From step S707 to step S708, the correction value α1NEW is set by skipping the first air-fuel ratio feedback correction coefficient α1 in the negative direction by the proportional constant P1 (α1N
EW ← α1-P1).

【0134】次いで、ステップS709へ進み、第1O2セ
ンサ側制御周期タイマカウント値COUNTTIMTO21を
クリアすると(COUNTTIMTO21←0)、ステップS71
0で、第1O2センサ側制御周期タイマ作動フラグFLA
GTIMTO21をセットし(FLAGTIMTO21←1)、前述の
空燃比フィードバック補正係数初期設定及びタイマ設定
ルーチンによる第1O2センサ側制御周期タイマカウン
ト値COUNTTIMTO21のカウントをスタートさせる。
Then, the process proceeds to step S709, and when the first O2 sensor side control cycle timer count value COUNTTIMTO21 is cleared (COUNTTIMTO21 ← 0), step S71
At 0, the first O2 sensor side control cycle timer operation flag FLA
GTIMTO21 is set (FLAGTIMTO21 ← 1), and counting of the first O2 sensor side control cycle timer count value COUNTTIMTO21 by the above-described air-fuel ratio feedback correction coefficient initial setting and timer setting routine is started.

【0135】その後、ステップS712へ進んで、現在の第
1O2センサ出力電圧VO21が空燃比リッチ側にあること
を示すため、第1のO2センサリッチ/リーン判別フラ
グFLAGAF1をクリアし(FLAGAF1←0)、ステッ
プS717へ進む。
After that, the routine proceeds to step S712, where the first O2 sensor rich / lean determination flag FLAGAF1 is cleared (FLAGAF1 ← 0) to indicate that the current first O2 sensor output voltage VO21 is on the air-fuel ratio rich side. , Go to step S717.

【0136】また、上記ステップS707で、FLAGAF1
=0、すなわち、前回のルーチン実行時から今回まで空
燃比リッチ側であるときには、上記ステップS707からス
テップS711へ分岐し、第1空燃比フィードバック補正係
数α1を積分定数I1だけ小さくして修正値α1NEWを設定
し(α1NEW←α1−I1)、前述のステップS712で、同様
に、第1のO2センサリッチ/リーン判別フラグFLA
GAF1をクリアした後(FLAGAF1←0)、ステップS7
17へ進む。
In step S707, FLAGAF1
= 0, that is, when the air-fuel ratio is on the rich side from the previous routine execution to this time, the process branches from step S707 to step S711, and the first air-fuel ratio feedback correction coefficient α1 is reduced by the integration constant I1 to obtain the correction value α1NEW. Is set (α1NEW ← α1-I1), and the first O2 sensor rich / lean determination flag FLA is similarly set in step S712 described above.
After clearing GAF1 (FLAGAF1 ← 0), step S7
Proceed to 17.

【0137】一方、上記ステップS706で、VO21<SL
1、すなわち空燃比がリーン側と判別されると、上記ス
テップS706からステップS713へ分岐し、第1のリッチ/
リーン判別フラグFLAGAF1がセットされているか否
かを判別する。
On the other hand, in the above step S706, VO21 <SL
If 1, that is, if the air-fuel ratio is determined to be lean, the process branches from step S706 to step S713, and the first rich /
It is determined whether or not the lean determination flag FLAGAF1 is set.

【0138】上記ステップS713で、FLAGAF1=0、
すなわち、前回のルーチン実行時には空燃比リッチ側で
あり、今回、空燃比リーン側となったときには、上記ス
テップS713からステップS714へ進んで、第1空燃比フィ
ードバック補正係数α1を比例定数P1だけプラス方向へ
スキップさせて修正値α1NEWを設定し(α1NEW←α1+
P1)、ステップS716で、現在の第1のO2センサ25a
の出力電圧VO21が空燃比リーン側にあることを示すた
め、第1のO2センサリッチ/リーン判別フラグFLA
GAF1をセットした後(FLAGAF1←1)、ステップS7
17へ進む。
In step S713, FLAGAF1 = 0,
That is, when the air-fuel ratio is on the rich side when the previous routine is executed, and when the air-fuel ratio is on the lean side this time, the routine proceeds from step S713 to step S714, and the first air-fuel ratio feedback correction coefficient α1 is increased by the proportional constant P1 in the plus direction. Skip to and set the correction value α1NEW (α1NEW ← α1 +
P1), in step S716, the current first O2 sensor 25a
Of the first O2 sensor rich / lean determination flag FLA to indicate that the output voltage VO21 of the is on the lean side of the air-fuel ratio.
After setting GAF1 (FLAGAF1 ← 1), step S7
Proceed to 17.

【0139】また、上記ステップS713で、FLAGAF1
=1、すなわち、前回のルーチン実行時から今回まで空
燃比リーン側であるときには、上記ステップS713からス
テップS715へ分岐し、第1空燃比フィードバック補正係
数α1を積分定数I1だけ増加させて修正値α1NEWを設定
すると(α1NEW←α1+I1)、前述のステップS716を経
てステップS717へ進む。
In step S713, FLAGAF1
= 1, that is, when the air-fuel ratio is lean from the previous routine execution to this time, the process branches from step S713 to step S715, and the first air-fuel ratio feedback correction coefficient α1 is increased by the integration constant I1 to obtain the correction value α1NEW. If (α1NEW ← α1 + I1) is set, the process proceeds to step S717 via step S716 described above.

【0140】すなわち、図27に示すように、O2セン
サ出力電圧VO2(第1O2センサ出力電圧VO21、第2O
2センサ出力電圧VO22)が、スライスレベルSL(第1
O2センサ出力電圧VO21に対するスライスレベルSL
1、第2O2センサ出力電圧VO22に対するスライスレベ
ルSL2)をリッチ側に横切ったとき、空燃比フィード
バック補正係数α(第1空燃比フィードバック補正係数
α1、第2空燃比フィードバック補正係数α2)を比例定
数P(第1空燃比フィードバック補正係数α1に対する
比例定数P1、第2空燃比フィードバック補正係数α2に
対する比例定数P2)によりマイナス方向へスキップさ
せ、次に、積分定数I(第1空燃比フィードバック補正
係数α1に対する積分定数I1、第2空燃比フィードバッ
ク補正係数α2に対する積分定数I2)により徐々にマイ
ナス方向へ補正する。
That is, as shown in FIG. 27, the O2 sensor output voltage VO2 (first O2 sensor output voltage VO21, second O2 sensor output voltage VO21,
2 The sensor output voltage VO22 is at the slice level SL (first
Slice level SL for O2 sensor output voltage VO21
1, when the slice level SL2) for the second O2 sensor output voltage VO22) is crossed to the rich side, the air-fuel ratio feedback correction coefficient α (first air-fuel ratio feedback correction coefficient α1, second air-fuel ratio feedback correction coefficient α2) is set to a proportional constant P. (The proportional constant P1 for the first air-fuel ratio feedback correction coefficient α1 and the proportional constant P2 for the second air-fuel ratio feedback correction coefficient α2) are used to skip in the negative direction, and then the integration constant I (for the first air-fuel ratio feedback correction coefficient α1 The integration constant I1 and the integration constant I2) for the second air-fuel ratio feedback correction coefficient α2) are used to gradually correct in the negative direction.

【0141】その結果、O2センサ出力電圧VO2が反転
し、ヒステリシスHISをもって設定されたスライスレ
ベルSLをリーン側に横切ると、今度は、空燃比フィー
ドバック補正係数αを比例定数Pだけプラス方向へスキ
ップさせ、積分定数Iにより徐々にプラス方向へ補正す
ることにより、制御ハンチングの防止と制御性の向上を
図るのである。
As a result, when the O2 sensor output voltage VO2 is inverted and the slice level SL set with the hysteresis HIS is crossed to the lean side, this time, the air-fuel ratio feedback correction coefficient α is skipped in the plus direction by the proportional constant P. , The integration constant I is gradually corrected in the positive direction to prevent control hunting and improve controllability.

【0142】また、O2センサ出力電圧VO2がリーン側
からリッチ側にスライスレベルSLを横切ったとき、第
1O2センサ側制御周期タイマカウント値COUNTTIM
TO21(第2O2センサ側制御周期タイマカウント値CO
UNTTIMTO22)のカウントを開始し、リッチ側からリ
ーン側を経て再びリッチ側になったときに、第1O2セ
ンサ側制御周期タイマカウント値COUNTTIMTO21
(第2O2センサ側制御周期タイマカウント値COUN
TTIMTO22)の値を参照することにより、第1のO2セン
サ25a(第2のO2センサ25b)の制御周期TO2を
得ることができる。
When the O2 sensor output voltage VO2 crosses the slice level SL from the lean side to the rich side, the first O2 sensor side control cycle timer count value COUNTTIM.
TO21 (second O2 sensor side control cycle timer count value CO
When counting from the rich side to the lean side and then to the rich side again, the first O2 sensor side control cycle timer count value COUNTTIMTO21
(Second O2 sensor side control cycle timer count value COUNT
By referring to the value of TTIMTO22), the control cycle TO2 of the first O2 sensor 25a (second O2 sensor 25b) can be obtained.

【0143】そして、上記ステップS712あるいは上記ス
テップS716からステップS717へ進むと、修正値α1NEWが
下限値LMDMINより小さいか否かを調べ、α1NEW<L
MDMINのときには、ステップS721へ分岐し、下限値L
MDMINをリミッタとして第1空燃比フィードバック補
正係数α1を設定して(α1←LMDMIN)ステップS722
へ進み、α1NEW≧LMDMINのときには、上記ステップS
717からステップS718へ進む。
Then, when proceeding from step S712 or step S716 to step S717, it is checked whether or not the correction value α1NEW is smaller than the lower limit value LMDMIN, and α1NEW <L
If MDMIN, the process branches to step S721 and the lower limit value L
Using MDMIN as a limiter, set the first air-fuel ratio feedback correction coefficient α1 (α1 ← LMDMIN) Step S722
If α1NEW ≧ LMDMIN, go to step S above.
From 717, proceed to step S718.

【0144】ステップS718では、修正値α1NEWが上限値
LMDMAXを越えているか否かを調べ、α1NEW≦LMDM
AXのとき、ステップS719で、修正値α1NEWを第1空燃比
フィードバック補正係数α1として(α1←α1NEW)ステ
ップS722へ進み、α1NEW>LMDMAXのときには、ステ
ップS720で、上限値LMDMAXをリミッタとして第1の
空燃比フィードバック補正係数α1を設定し(α1←LM
DMAX)、ステップS722へ進む。
In step S718, it is checked whether or not the correction value α1NEW exceeds the upper limit value LMDMAX, and α1NEW ≦ LMDM.
In the case of AX, in step S719 the correction value α1NEW is set as the first air-fuel ratio feedback correction coefficient α1 (α1 ← α1NEW) and the process proceeds to step S722. When α1NEW> LMDMAX, in step S720 the upper limit LMDMAX is set as the first limiter. Set the air-fuel ratio feedback correction coefficient α1 (α1 ← LM
DMAX), and proceeds to step S722.

【0145】ステップS722以降は、第1のO2センサ2
5aの制御周期を監視してフィードバック制御からオー
プンループ制御に移行させるためのモニタ機能を実現す
る処理であり、ステップS722で、第1O2センサ側モニ
タ機能作動フラグFLAGMP1がセットされているか否
か、すなわち、フィードバック制御開始から設定時間が
経過しているか否かを判別し、FLAGMP1=0で設定
時間が経過していないときには、そのままルーチンを抜
ける。
After step S722, the first O 2 sensor 2
This is a process for realizing the monitor function for monitoring the control cycle of 5a and shifting from the feedback control to the open loop control, and whether or not the first O2 sensor side monitor function operation flag FLAGMP1 is set in step S722, that is, It is determined whether or not the set time has elapsed from the start of the feedback control, and when FLAGMP1 = 0 and the set time has not elapsed, the routine exits as it is.

【0146】一方、上記ステップS722で、FLAGMP1
=1のとき、すなわち、フィードバック制御開始から設
定時間が経過しているときには、ステップS723へ進ん
で、第1O2センサ側制御周期タイマカウント値COU
NTTIMTO21が設定値MONTを越えているか否かを判
別し、制御周期TO2が通常よりも長くなっていないか
を調べる。
On the other hand, in step S722 described above, FLAGMP1
= 1, that is, when the set time has elapsed from the start of the feedback control, the routine proceeds to step S723, where the first O2 sensor side control cycle timer count value COU
It is determined whether or not NTTIMTO21 exceeds the set value MONT, and it is checked whether or not the control cycle TO2 is longer than usual.

【0147】その結果、COUNTTIMTO21≦MONT
のときには、そのまルーチンを抜け、COUNTTIMTO2
1>MONTのときには、図28に示すように、空燃比
がリッチ側にはりついた状態、あるいは、リーン側には
りついた状態であるので、第1O2センサ側のフィード
バック制御を中止してオープンループ制御に移行させる
べく、ステップS724で、第1O2センサ側フィードバッ
ク制御判別フラグFLAGF/B1をクリアする(FLAG
F/B1←0)。
As a result, COUNTTIMTO21 ≦ MONT
If, then the routine is exited and COUNTTIMTO2
When 1> MONT, as shown in FIG. 28, the air-fuel ratio is stuck to the rich side or the lean side, so feedback control on the first O2 sensor side is stopped and open loop control is performed. In order to shift, in step S724, the first O2 sensor side feedback control discrimination flag FLAGF / B1 is cleared (FLAG
F / B1 ← 0).

【0148】次いで、ステップS725へ進み、前述の第1
O2センサ側フィードバック制御条件判別サブルーチン
に対し、モニタ機能によりオープンループ制御に移行し
たことを知らせるため、第1モニタオープンループ制御
判別フラグFLAGMONI1をセットし(FLAGMONI1←
1)、ステップS726で、第1O2センサ側制御周期タイ
マ作動フラグFLAGTIMTO21をクリアして(FLAGT
IMTO21←0)ルーチンを抜ける。
Next, in step S725, the above-mentioned first
The first monitor open loop control determination flag FLAGMONI1 is set (FLAGMONI1 ← to notify the O2 sensor side feedback control condition determination subroutine that the monitor function has shifted to open loop control.
1) In step S726, the first O2 sensor side control cycle timer operation flag FLAGTIMTO21 is cleared (FLAGT
IMTO21 ← 0) Exit the routine.

【0149】[0149]

【発明の効果】以上説明したように本発明によれば、エ
ンジン始動後の経過時間に応じて設定した条件により、
空燃比センサの異常を検出するようにしているので、エ
ンジン始動直後に、燃料増量補正にかかわらず実際の空
燃比がリーンである場合においても、誤判定を防止して
確実に空燃比センサの異常を検出することができるなど
優れた効果を得ることができる。
As described above, according to the present invention, according to the condition set according to the elapsed time after the engine is started,
Since the abnormality of the air-fuel ratio sensor is detected, even if the actual air-fuel ratio is lean immediately after the engine starts regardless of the fuel increase correction, erroneous determination is prevented and the abnormality of the air-fuel ratio sensor is surely detected. It is possible to obtain an excellent effect such as being able to detect

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

【図1】第1O2センサ側フィードバック制御条件判別
手順のフローチャート(その1)
FIG. 1 is a flowchart of a feedback control condition determination procedure for the first O2 sensor (part 1).

【図2】第1O2センサ側フィードバック制御条件判別
手順のフローチャート(その2)
FIG. 2 is a flowchart (part 2) of the first O2 sensor side feedback control condition determination procedure.

【図3】第1O2センサ側フィードバック制御条件判別
手順のフローチャート(その3)
FIG. 3 is a flowchart (part 3) of the first O 2 sensor side feedback control condition determination procedure.

【図4】第2O2センサ側フィードバック制御条件判別
手順のフローチャート(その1)
FIG. 4 is a flowchart (part 1) of a second O 2 sensor side feedback control condition determination procedure.

【図5】第2O2センサ側フィードバック制御条件判別
手順のフローチャート(その2)
FIG. 5 is a flowchart (part 2) of a second O 2 sensor side feedback control condition determination procedure.

【図6】第2O2センサ側フィードバック制御条件判別
手順のフローチャート(その3)
FIG. 6 is a flowchart (part 3) of the second O 2 sensor side feedback control condition determination procedure.

【図7】燃料噴射量設定手順のフローチャート、FIG. 7 is a flowchart of a fuel injection amount setting procedure,

【図8】エンジン回転数算出及び気筒判別手順のフロー
チャート
FIG. 8 is a flowchart of an engine speed calculation and cylinder discrimination procedure.

【図9】燃料噴射開始設定手順のフローチャートFIG. 9 is a flowchart of a fuel injection start setting procedure.

【図10】燃料噴射手順のフローチャートFIG. 10 is a flowchart of a fuel injection procedure.

【図11】空燃比フィードバック補正係数設定手順のフ
ローチャート
FIG. 11 is a flowchart of an air-fuel ratio feedback correction coefficient setting procedure.

【図12】第1空燃比フィードバック補正係数演算手順
のフローチャート(その1)
FIG. 12 is a flowchart of a first air-fuel ratio feedback correction coefficient calculation procedure (part 1).

【図13】第1空燃比フィードバック補正係数演算手順
のフローチャート(その2)
FIG. 13 is a flowchart of a first air-fuel ratio feedback correction coefficient calculation procedure (part 2).

【図14】第2空燃比フィードバック補正係数演算手順
のフローチャート(その1)
FIG. 14 is a flowchart of a second air-fuel ratio feedback correction coefficient calculation procedure (part 1).

【図15】第2空燃比フィードバック補正係数演算手順
のフローチャート(その2)
FIG. 15 is a flowchart of a second air-fuel ratio feedback correction coefficient calculation procedure (part 2).

【図16】空燃比フィードバック補正係数初期設定及び
タイマ設定手順のフローチャート(その1)
FIG. 16 is a flowchart of an air-fuel ratio feedback correction coefficient initial setting and timer setting procedure (part 1).

【図17】空燃比フィードバック補正係数初期設定及び
タイマ設定手順のフローチャート(その2)
FIG. 17 is a flowchart of an air-fuel ratio feedback correction coefficient initial setting and timer setting procedure (No. 2).

【図18】空燃比フィードバック補正係数初期設定及び
タイマ設定手順のフローチャート(その3)
FIG. 18 is a flowchart of an air-fuel ratio feedback correction coefficient initial setting and timer setting procedure (part 3).

【図19】エンジン制御系の概略図FIG. 19 is a schematic diagram of an engine control system.

【図20】クランクロータとクランク角センサの正面図FIG. 20 is a front view of a crank rotor and a crank angle sensor.

【図21】図20の側面図FIG. 21 is a side view of FIG. 20.

【図22】第1のクランクロータと第1のクランク角セ
ンサの正面図
FIG. 22 is a front view of a first crank rotor and a first crank angle sensor.

【図23】第2のクランクロータと第2のクランク角セ
ンサの正面図
FIG. 23 is a front view of a second crank rotor and a second crank angle sensor.

【図24】カムロータとカム角センサの正面図FIG. 24 is a front view of a cam rotor and a cam angle sensor.

【図25】制御装置の回路構成図FIG. 25 is a circuit configuration diagram of the control device.

【図26】O2センサの出力特性図FIG. 26: Output characteristic diagram of O2 sensor

【図27】O2センサ出力電圧と空燃比フィードバック
補正係数との関係を示す説明図
FIG. 27 is an explanatory diagram showing the relationship between the O2 sensor output voltage and the air-fuel ratio feedback correction coefficient.

【図28】エンジン冷態始動時における制御条件判定を
示す説明図
FIG. 28 is an explanatory diagram showing control condition determination at the time of engine cold start.

【図29】エンジン暖機再始動時における制御条件判定
を示す説明図
FIG. 29 is an explanatory diagram showing control condition determination at the time of engine warm-up restart.

【図30】O2センサ系短絡状態における制御条件判定
を示す説明図
FIG. 30 is an explanatory diagram showing control condition determination in the O2 sensor system short-circuited state.

【図31】O2センサ系断線状態における制御条件判定
を示す説明図
FIG. 31 is an explanatory diagram showing control condition determination in the O2 sensor system disconnection state.

【図32】燃料噴射及び点火のタイミングチャートFIG. 32 is a timing chart of fuel injection and ignition.

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

1 エンジン 25a 第1のO2センサ 25b 第2のO2センサ VO21 第1O2センサ出力電圧 VO22 第2O2センサ出力電圧 O2SHIN 設定値 1 engine 25a first O2 sensor 25b second O2 sensor VO21 first O2 sensor output voltage VO22 second O2 sensor output voltage O2SHIN set value

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 エンジンの排気ガスの空燃比を検出する
空燃比センサの出力値に対し、短絡状態を検出するため
の第1の条件と断線状態を検出するための第2の条件と
を設け、 エンジン始動後、所定時間以上経過した設定範囲内で、
上記空燃比センサの出力値が設定値以上であって且つ上
記第2の条件を満足しないとき、上記空燃比センサが断
線状態あるいは未活性であると判別する手順と、 エンジン始動後の経過時間が上記設定範囲外の場合、あ
るいは、上記設定範囲内にあっても上記空燃比センサの
出力値が上記設定値未満の場合、上記空燃比センサの出
力値が上記第1の条件を満足しないとき、上記空燃比セ
ンサが短絡状態あるいは未活性であると判別し、一方、
上記空燃比センサの出力値が上記第2の条件を満足しな
いとき、上記空燃比センサが断線状態あるいは未活性で
あると判別する手順とを備えたことを特徴とする空燃比
センサの異常検出方法。
1. A first condition for detecting a short-circuit state and a second condition for detecting a disconnection state are provided for an output value of an air-fuel ratio sensor for detecting an air-fuel ratio of engine exhaust gas. After the engine is started, within the setting range when a predetermined time has passed,
When the output value of the air-fuel ratio sensor is equal to or greater than the set value and does not satisfy the second condition, the procedure for determining that the air-fuel ratio sensor is in the disconnected state or inactive, and the elapsed time after the engine is started. When the output value of the air-fuel ratio sensor does not satisfy the first condition, when the output value of the air-fuel ratio sensor is less than the set value even if it is outside the set range or even within the set range It is determined that the air-fuel ratio sensor is short-circuited or inactive, while
A method for detecting an abnormality in an air-fuel ratio sensor, comprising: a step of determining that the air-fuel ratio sensor is in a disconnected state or inactive when the output value of the air-fuel ratio sensor does not satisfy the second condition. ..
JP3226209A 1991-09-05 1991-09-05 Engine air-fuel ratio control device Expired - Fee Related JP3064547B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3226209A JP3064547B2 (en) 1991-09-05 1991-09-05 Engine air-fuel ratio control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3226209A JP3064547B2 (en) 1991-09-05 1991-09-05 Engine air-fuel ratio control device

Publications (2)

Publication Number Publication Date
JPH0565840A true JPH0565840A (en) 1993-03-19
JP3064547B2 JP3064547B2 (en) 2000-07-12

Family

ID=16841611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3226209A Expired - Fee Related JP3064547B2 (en) 1991-09-05 1991-09-05 Engine air-fuel ratio control device

Country Status (1)

Country Link
JP (1) JP3064547B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012246857A (en) * 2011-05-30 2012-12-13 Honda Motor Co Ltd Failure detecting device of oxygen sensor
JP2018062916A (en) * 2016-10-14 2018-04-19 新電元工業株式会社 Internal combustion engine control device, internal combustion engine control system, and control method of internal combustion engine control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012246857A (en) * 2011-05-30 2012-12-13 Honda Motor Co Ltd Failure detecting device of oxygen sensor
JP2018062916A (en) * 2016-10-14 2018-04-19 新電元工業株式会社 Internal combustion engine control device, internal combustion engine control system, and control method of internal combustion engine control device

Also Published As

Publication number Publication date
JP3064547B2 (en) 2000-07-12

Similar Documents

Publication Publication Date Title
JPS60237142A (en) Controller for internal-combustion engine
JP3560263B2 (en) Deterioration diagnosis device for oxygen sensor downstream of engine catalyst
JP3325518B2 (en) Pressure sensor failure detection device
JP2005002813A (en) Controller for internal combustion engine
JP3064547B2 (en) Engine air-fuel ratio control device
JP3963993B2 (en) Engine air-fuel ratio control device
JPH06200833A (en) Abnormality deciding device of exhaust gas recirculating device
JPS6022034A (en) Engine-speed controlling method for internal-combustion engine
JP2775676B2 (en) Fuel supply control device for internal combustion engine
JPS61116044A (en) Method of detecting trouble on exhaust gas concentration sensor system in method of feedback-controlling air-fuel ratio of internal-combustion engine
JP2000291467A (en) Controller for internal combustion engine
JP3064531B2 (en) Engine air-fuel ratio control method
JP2780754B2 (en) Engine intake air control system
JPH0988786A (en) Ignition timing control device for engine
JP2881266B2 (en) Engine exhaust purification device
JPS6245953A (en) Fuel supply controller for internal combustion engine
JPH0539770A (en) Ignition timing learning control method of engine
JPH0544551A (en) Fuel cut control method for engine
JP2615680B2 (en) Air-fuel ratio learning control method for internal combustion engine
JP2001271696A (en) Catalyst deterioration diagnostic device for engine
JP3559164B2 (en) Atmospheric pressure correction advance angle control method for internal combustion engine
JPH0510237A (en) Detection of knock of engine
JPS63227938A (en) Trouble diagnosis device for fuel injection valve
JPH05280396A (en) Control method air-fuel ratio in engine
JPS62165539A (en) Controlling fuel-injection quantity for internal combustion engine provided with automatic transmission

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees