JPH04175435A - Air-fuel ratio learning controller for internal combustion engine - Google Patents

Air-fuel ratio learning controller for internal combustion engine

Info

Publication number
JPH04175435A
JPH04175435A JP30121090A JP30121090A JPH04175435A JP H04175435 A JPH04175435 A JP H04175435A JP 30121090 A JP30121090 A JP 30121090A JP 30121090 A JP30121090 A JP 30121090A JP H04175435 A JPH04175435 A JP H04175435A
Authority
JP
Japan
Prior art keywords
air
fuel ratio
learning
correction value
fuel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30121090A
Other languages
Japanese (ja)
Inventor
Shinpei Nakaniwa
伸平 中庭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Unisia Automotive Ltd
Original Assignee
Japan Electronic Control Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Japan Electronic Control Systems Co Ltd filed Critical Japan Electronic Control Systems Co Ltd
Priority to JP30121090A priority Critical patent/JPH04175435A/en
Publication of JPH04175435A publication Critical patent/JPH04175435A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To suppress an error learning of the air-fuel ratio slippage in a transition and to prevent generation of a large air-fuel ratio difference by prohibiting the learning when the average value of the air-fuel ratio feedback correction value is at a specific level or higher. CONSTITUTION:Depending on the engine operation condition detected by a means A, a standard fuel feeding amount is set by a means B, and an air-fuel ratio feedback correction value to correct the standard fuel feeding amount is set by a means D by comparing the air-fuel ratio detected by a means C and the object air-fuel ratio. And an air-fuel ratio learning correction value to correct the standard fuel feeding amount is stored in a means E to rewrite freely, and the air-fuel learning correction value is corrected by a means F by learning the deflection of the air-fuel feedback correction value from the object convergent value. Furthermore, depending on the fuel feeding amount set by a means G, a fuel feeding means I is driven and controlled by a means H. And when the variation width of the average value of the air-fuel ratio feedback correction value is at a specific level or more, the correcting rewriting of the air-fuel ratio learning correction value is prohibited by a means J.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は内燃機関の空燃比学習制御装置に関し、詳しく
は、機関加減速時の空燃比ずれによる空燃比学習の誤学
習を防止し得る装置に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an air-fuel ratio learning control device for an internal combustion engine, and more particularly to a device that can prevent erroneous air-fuel ratio learning due to air-fuel ratio deviations during engine acceleration/deceleration. Regarding.

〈従来の技術〉 従来、空燃比フィードバック補正制御機能をもつ電子制
御燃料噴射装置を備えた内燃機関においては、特開昭6
0−90944号公報、特開昭61−190142号公
報等に開示されるように、空燃比の学習制御が採用され
ているものかある。
<Prior art> Conventionally, in an internal combustion engine equipped with an electronically controlled fuel injection device having an air-fuel ratio feedback correction control function,
As disclosed in Japanese Patent Laid-Open No. 0-90944, Japanese Patent Laid-Open No. 1981-190142, etc., learning control of the air-fuel ratio is employed.

空燃比フィードバック補正制御は、機関に吸入される空
気量に関与する機関運転状態のパラメータ(例えば吸入
空気流量Qと機関回転速度N)から算出される基本燃料
噴射量Tpを、機関排気系に設けた酸素センサにより判
別される目標空燃比(例えば理論空燃比)に対するリッ
チ・リーンに基づいて比例・積分制御などにより設定さ
れる空燃比フィードバック補正係数LMDにより補正す
ることで、実際の空燃比を目標空燃比にフィードバック
制御するものである。
The air-fuel ratio feedback correction control is performed by setting a basic fuel injection amount Tp, which is calculated from engine operating state parameters (for example, intake air flow rate Q and engine rotational speed N) that are related to the amount of air taken into the engine, in the engine exhaust system. The actual air-fuel ratio is corrected by the air-fuel ratio feedback correction coefficient LMD, which is set by proportional/integral control based on rich/lean relative to the target air-fuel ratio (for example, stoichiometric air-fuel ratio) determined by an oxygen sensor. It performs feedback control on the air-fuel ratio.

ここで、前記空燃比フィードバック補正係数LMDの基
準値(目標収束値)からの偏差を、予め定めた複数に区
分された運転領域毎に学習して学習補正係数KBLRC
を定め、基本燃料噴射量Tpを前記学習補正係数KBL
RCにより補正して、補正係数LMDなしで得られるベ
ース空燃比が略目標空燃比に一致するようにし、空燃比
フィードバック制御中は更に前記補正係数LMDで補正
して燃料噴射量Tiを演算するものである。
Here, the deviation from the reference value (target convergence value) of the air-fuel ratio feedback correction coefficient LMD is learned for each predetermined plurality of operating regions, and the learning correction coefficient KBLRC is calculated.
is determined, and the basic fuel injection amount Tp is determined based on the learning correction coefficient KBL.
The base air-fuel ratio obtained without the correction coefficient LMD is corrected by RC so that it substantially matches the target air-fuel ratio, and during air-fuel ratio feedback control, the fuel injection amount Ti is calculated by further correcting with the correction coefficient LMD. It is.

これにより、運転条件毎に異なる空燃比補正の要求値に
対応した補正か行え、空燃比フィードバック補正係数L
MDを基準値付近に安定させて、空燃比制御性を向上さ
せることができる。
As a result, it is possible to perform correction corresponding to the required value of air-fuel ratio correction that differs for each operating condition, and the air-fuel ratio feedback correction coefficient L
It is possible to stabilize MD near the reference value and improve air-fuel ratio controllability.

〈発明か解決しようとする課題〉 ところで、機関の過渡運転時には、燃料壁流の影響や、
燃料噴射量Tiのセット時と吸気バルブ開時との間にお
ける吸入空気流量の段差などを原因として、加速時には
空燃比のリーン化が発生し、逆に減速時には空燃比のリ
ッチ化が発生し、加減速度合いが大きくなると前記リー
ン化又はリッチ化の傾向もより顕著となる。
<Problem to be solved by the invention> By the way, during transient engine operation, the influence of fuel wall flow,
Due to the difference in intake air flow rate between when the fuel injection amount Ti is set and when the intake valve is opened, the air-fuel ratio becomes leaner during acceleration, and conversely, the air-fuel ratio becomes richer during deceleration. As the degree of acceleration/deceleration increases, the lean or rich tendency becomes more pronounced.

このように機関の過渡運転時に比較的大きな空燃比ずれ
が発生すると、空燃比フィードバック補正係数LMDは
前記空燃比ずれを解消する方向に増減設定されるから、
機関加速時で空燃比がり一ン化するときには空燃比フィ
ードバック補正係数LMDは例えば第12図に示すよう
な挙動を示し、かかる過渡運転のために発生した空燃比
ずれを解消するような学習がこのときになされて記憶さ
れることになる。このため、この加速運転による空燃比
リーン化が学習された領域で、次に減速運転や定常運転
されると、第13図に示すように要求とは大きく異なる
学習補正値に基づいて燃料噴射量が補正設定されること
になり、学習補正値を用いることで逆に空燃比ずれを助
長させるような結果となり、大きな空燃比段差か発生し
排気中のdOlHC又はNOxを増大させてしまうとい
う問題かあった。
In this way, when a relatively large air-fuel ratio deviation occurs during transient operation of the engine, the air-fuel ratio feedback correction coefficient LMD is set to increase or decrease in a direction that eliminates the air-fuel ratio deviation.
When the air-fuel ratio is equalized during engine acceleration, the air-fuel ratio feedback correction coefficient LMD behaves as shown in FIG. Sometimes it is done and remembered. Therefore, when deceleration operation or steady operation is performed in the region where lean air-fuel ratio due to acceleration operation has been learned, the fuel injection amount is determined based on the learned correction value, which is significantly different from the request, as shown in Fig. 13. will be corrected, and using the learned correction value will actually aggravate the air-fuel ratio deviation, causing a large air-fuel ratio difference and increasing dOlHC or NOx in the exhaust. there were.

特に、学習補正係数KBLRCを記憶させるマツプとし
て、全運転領域を細かな単位領域て分けた学習マツプと
、より大きな単位領域で分けた学習マツプとを備えて構
成した場合には、より小さな運転領域毎に空燃比を学習
するマツプでは、各運転領域毎の学習機会が少なく、然
も、運転領域か狭いからスポット的に空燃比ずれを拾う
ことになるため、機関過渡運転による空燃比ずれを学習
し易く、次回に前記誤学習領域に入ったときに、より大
きな空燃比段差が発生するという問題があった。
In particular, when the map for storing the learning correction coefficient KBLRC is configured with a learning map that divides the entire driving range into small unit areas and a learning map that divides the entire driving area into larger unit areas, it is possible to With a map that learns the air-fuel ratio at each operating range, there are few learning opportunities for each operating range, and because the operating range is narrow, air-fuel ratio deviations are picked up spot-on. Therefore, there is a problem in that the next time the erroneous learning region is entered, a larger air-fuel ratio difference occurs.

本発明は上記問題点に鑑みなされたちのてあり、機関の
過渡運転によって大きな空燃比ずれか発生した場合に、
これに基づいて定常運転時に対応する学習値とは大きく
異なる学習かなされることを回避できる空燃比学習制御
装置を提供することを目的とする。
The present invention was developed in view of the above problems, and when a large air-fuel ratio deviation occurs due to transient operation of the engine,
Based on this, it is an object of the present invention to provide an air-fuel ratio learning control device that can avoid learning that is significantly different from the learning value corresponding to steady operation.

〈課題を解決するための手段〉 そのため本発明にかかる内燃機関の空燃比学習制御装置
は、第1図に示すように構成される。
<Means for Solving the Problems> Therefore, an air-fuel ratio learning control device for an internal combustion engine according to the present invention is configured as shown in FIG.

第1図において、機関運転条件検出手段は、機関に吸入
される空気量に関与する運転パラメータを少なくとも含
む機関運転条件を検出し、基本燃料供給量設定手段は、
前記検出された機関運転条件に基づいて基本燃料供給量
を設定する。
In FIG. 1, the engine operating condition detecting means detects the engine operating condition including at least an operating parameter related to the amount of air taken into the engine, and the basic fuel supply amount setting means
A basic fuel supply amount is set based on the detected engine operating conditions.

また、空燃比検出手段は、機関吸入混合気の空燃比を検
出し、空燃比フィードバック補正値設定手段は、前記検
出された空燃比と目標空燃比とを比較して実際の空燃比
を前記目標空燃比に近づけるように前記基本燃料供給量
を補正するための空燃比フィードバック補正値を増減設
定する。
Further, the air-fuel ratio detection means detects the air-fuel ratio of the engine intake air-fuel mixture, and the air-fuel ratio feedback correction value setting means compares the detected air-fuel ratio with a target air-fuel ratio to set the actual air-fuel ratio to the target air-fuel ratio. An air-fuel ratio feedback correction value for correcting the basic fuel supply amount is set to increase or decrease so that it approaches the air-fuel ratio.

一方、空燃比学習補正値記憶手段は、機関運転条件に基
づく所定の運転領域毎に前記基本燃料供給量を補正する
ための空燃比学習補正値を書き換え可能に記憶しており
、空燃比学習補正値修正手段は、前記空燃比フィードバ
ック補正値の目標収束値からの偏差を学習し、前記偏差
を減少させる方向に空燃比学習補正値記憶手段に記憶さ
れている空燃比学習補正値を修正して書き換える。
On the other hand, the air-fuel ratio learning correction value storage means rewritably stores an air-fuel ratio learning correction value for correcting the basic fuel supply amount for each predetermined operating region based on engine operating conditions, and the air-fuel ratio learning correction value is stored in a rewritable manner. The value correction means learns the deviation of the air-fuel ratio feedback correction value from the target convergence value, and corrects the air-fuel ratio learning correction value stored in the air-fuel ratio learning correction value storage means in a direction to reduce the deviation. rewrite.

そして、燃料供給量設定手段は、基本燃料供給量、空燃
比フィードバック補正値、及び、空燃比学習補正値記憶
手段に記憶されている該当する運転領域の空燃比学習補
正値に基づいて最終的な燃料供給量を設定し、燃料供給
手段は、前記設定された燃料供給量に基づいて燃料供給
手段を駆動制御する。
The fuel supply amount setting means sets the final fuel supply amount based on the basic fuel supply amount, the air-fuel ratio feedback correction value, and the air-fuel ratio learning correction value for the corresponding operating region stored in the air-fuel ratio learning correction value storage means. A fuel supply amount is set, and the fuel supply means drives and controls the fuel supply means based on the set fuel supply amount.

一方、学習禁止手段は、空燃比フィードバック補正値設
定手段で設定される空燃比フィードバック補正値の平均
値の変化巾が所定レベル以上であるときに空燃比学習補
正値修正手段による空燃比学習補正値の修正書き換えを
禁止する。
On the other hand, the learning prohibition means sets the air-fuel ratio learning correction value by the air-fuel ratio learning correction value correction means when the range of change of the average value of the air-fuel ratio feedback correction value set by the air-fuel ratio feedback correction value setting means is equal to or greater than a predetermined level. Modification and rewriting of is prohibited.

ここで、第1図点線示のように、学習禁止レベル設定手
段を設けて構成することが好ましく、該学習禁止レベル
設定手段は、機関運転条件に応じて予め設定された空燃
比制御の予測誤差率データと、前記空燃比学習補正値記
憶手段において運転領域を区切る運転条件のデータとに
基づいて、前記学習禁止手段における所定レベルを前記
空燃比学習補正値記憶手段の所定の運転領域毎に設定す
る。
Here, as shown by the dotted line in FIG. 1, it is preferable to provide a learning prohibition level setting means. a predetermined level in the learning inhibiting means is set for each predetermined operating region of the air-fuel ratio learning correction value storage means based on the ratio data and data of operating conditions that separate operating regions in the air-fuel ratio learning correction value storage means; do.

〈作用〉 かかる構成によると、空燃比フィードバック補正値の目
標収束値からの偏差を学習し、かかる偏差を減少させる
方向に空燃比学習補正値を修正する空燃比学習において
、前記空燃比フィードバック補正値の平均値の変化巾が
所定レベル以上であるときに空燃比学習か禁止される。
<Operation> According to this configuration, in air-fuel ratio learning in which the deviation of the air-fuel ratio feedback correction value from the target convergence value is learned and the air-fuel ratio learning correction value is corrected in a direction to reduce this deviation, the air-fuel ratio feedback correction value is Air-fuel ratio learning is prohibited when the range of change in the average value of is equal to or greater than a predetermined level.

従って、ベース空燃比のずれではなく過渡運転によって
発生したより大きな空燃比ずれを補償すべく空燃比フィ
ードバック補正値が大きく変化するときに、学習を禁止
させることか可能となり、過渡運転時に学習がなされて
この学習結果が後に用いられて大きな空燃比段差が発生
することを防止できる。
Therefore, it is possible to prohibit learning when the air-fuel ratio feedback correction value changes significantly to compensate for a larger air-fuel ratio deviation caused by transient operation rather than a deviation in the base air-fuel ratio, and learning is not performed during transient operation. The learning results of the lever can be used later to prevent large air-fuel ratio differences from occurring.

また、ベース空燃比のずれの傾向は運転条件によって異
なるから、学習を禁止させるべき過渡運転による空燃比
フィードバック補正値の変化と、学習すべきベース空燃
比の変動に基づく空燃比フィードバック補正値の変化と
を区別する前記所定レベルを、運転条件によって変更す
ることか望まれるが、本発明では、機関運転条件に応じ
て予め設定された空燃比制御の予測誤差率データと、空
燃比学習補正値記憶手段において運転領域を区切る運転
条件のデータとに基づいて、前記所定レベルを空燃比学
習補正値記憶手段の所定の運転領域毎に設定させるよう
にしたので、記憶手段における区分運転領域が種々変化
しても、運転領域毎に前記所定レベルを容易に設定させ
ることか可能である。
Additionally, since the tendency of deviation in the base air-fuel ratio varies depending on operating conditions, there are changes in the air-fuel ratio feedback correction value due to transient operation that should prohibit learning, and changes in the air-fuel ratio feedback correction value based on fluctuations in the base air-fuel ratio that should be learned. It is desirable to change the predetermined level that distinguishes between Since the predetermined level is set for each predetermined operating region of the air-fuel ratio learning correction value storage means based on the data of the operating conditions that divide the operating regions in the means, the divided operating regions in the storage means can be changed in various ways. However, it is possible to easily set the predetermined level for each operating region.

〈実施例〉 以下に本発明の詳細な説明する。<Example> The present invention will be explained in detail below.

一実施例を示す第2図において、内燃機関1にはエアク
リーナ2から吸気ダクト3.スロットル弁4及び吸気マ
ニホールド5を介して空気か吸入される。吸気マニホー
ルド5のブランチ部には各気筒別に燃料供給手段として
の燃料噴射弁6か設けられている。この燃料噴射弁6は
、ソレノイドに通電されて開弁し、通電停止されて閉弁
する常閉型の電磁式燃料噴射弁てあって、後述するコン
トロールユニット12からの駆動パルス信号により通電
されて開弁じ、図示しない燃料ポンプから圧送されてプ
レッシャレギュレータにより所定の圧力に調整された燃
料を噴射供給する。
In FIG. 2 showing one embodiment, an internal combustion engine 1 is connected to an air cleaner 2 through an intake duct 3. Air is sucked in through the throttle valve 4 and the intake manifold 5. A fuel injection valve 6 as a fuel supply means is provided in a branch portion of the intake manifold 5 for each cylinder. The fuel injection valve 6 is a normally closed type electromagnetic fuel injection valve that opens when the solenoid is energized and closes when the energization is stopped. When the valve is opened, fuel is injected and supplied under pressure from a fuel pump (not shown) and adjusted to a predetermined pressure by a pressure regulator.

機関1の各燃焼室には点火栓7が設けられてりて、これ
により火花点火して混合気を着火燃焼させる。そして、
機関1からは、排気マニホールド8、排気ダクト9.三
元触媒lO及びマフラー11を介して排気が排出される
Each combustion chamber of the engine 1 is provided with a spark plug 7, which ignites a spark to ignite and burn the air-fuel mixture. and,
From the engine 1, an exhaust manifold 8, an exhaust duct 9. Exhaust gas is discharged via the three-way catalyst lO and the muffler 11.

コントロールユニット12は、CPU、ROM。The control unit 12 includes a CPU and a ROM.

RAM、A/D変換器及び入出力インタフェイスを含ん
で構成されるマイクロコンピュータを備え、各種のセン
サからの入力信号を受け、後述の如く演算処理して、燃
料噴射弁6の作動を制御する。
It is equipped with a microcomputer including a RAM, an A/D converter, and an input/output interface, and receives input signals from various sensors, performs arithmetic processing as described below, and controls the operation of the fuel injection valve 6. .

前記各種のセンサとしては、吸気ダクト3中にエアフロ
ーメータ13か設けられていて、機関1の吸入空気流量
Qに応じた信号を出力する。
As the various sensors mentioned above, an air flow meter 13 is provided in the intake duct 3 and outputs a signal corresponding to the intake air flow rate Q of the engine 1.

また、クランク角センサ14か設けられていて、4気筒
の場合、クランク角180°毎の基準信号REFと、ク
ランク角10又は2°毎の単位信号PO8とを出力する
。ここで、基準信号REFの周期、或いは、所定時間内
における単位信号PO8の発生数を計測することにより
、機関回転速度Nを算出できる。
Further, a crank angle sensor 14 is provided, and in the case of a four-cylinder engine, outputs a reference signal REF for each crank angle of 180 degrees and a unit signal PO8 for every crank angle of 10 or 2 degrees. Here, the engine rotation speed N can be calculated by measuring the period of the reference signal REF or the number of occurrences of the unit signal PO8 within a predetermined time.

また、機関1のウォータジャケットの冷却水温度Twを
検出する水温センサ15か設けられている。
Further, a water temperature sensor 15 is provided to detect the cooling water temperature Tw of the water jacket of the engine 1.

ここで、上記エアフローメータ13.クランク角センサ
14.水温センサ15等が機関運転条件検出手段に相当
する。
Here, the air flow meter 13. Crank angle sensor 14. The water temperature sensor 15 and the like correspond to engine operating condition detection means.

また、排気マニホールド8の集合部に空燃比検出手段と
しての酸素センサ16か設けられ、排気中の酸素濃度を
介して吸入混合気の空燃比を検出する。前記酸素センサ
16は、排気中の酸素濃度か理論空燃比を境に急変する
ことを利用して、実際の空燃比の理論空燃比に対するリ
ッチ・リーンを検出する公知のものである。
Further, an oxygen sensor 16 as an air-fuel ratio detection means is provided at the gathering part of the exhaust manifold 8, and detects the air-fuel ratio of the intake air-fuel mixture via the oxygen concentration in the exhaust gas. The oxygen sensor 16 is a known sensor that detects whether the actual air-fuel ratio is rich or lean with respect to the stoichiometric air-fuel ratio by utilizing the fact that the oxygen concentration in the exhaust gas changes suddenly after the stoichiometric air-fuel ratio.

ここにおいて、コントロールユニット12に内蔵された
マイクロコンピュータのCPUは、第3図〜第9図のフ
ローチャートにそれぞれ示すROM上のプログラムに従
って演算処理を行い、空燃比フィードバック補正制御及
び運転領域毎の空燃比学習補正制御を実行しつつ燃料噴
射量Tiを設定し、機関lへの燃料供給を制御する。
Here, the CPU of the microcomputer built in the control unit 12 performs arithmetic processing according to the programs on the ROM shown in the flowcharts of FIGS. 3 to 9, and performs air-fuel ratio feedback correction control and air-fuel ratio The fuel injection amount Ti is set while executing the learning correction control, and the fuel supply to the engine l is controlled.

尚、本実施例において、基本燃料供給量設定手段、燃料
供給量設定手段、燃料供給制御手段、空燃比フィードバ
ック補正値設定手段、学習補正値修正手段、学習禁止手
段、学習禁止レベル設定手段としての機能は、前記第3
図〜第9図のフローチャートに示すようにソフトウェア
的に備えられており、また、空燃比学習補正値記憶手段
としてはコントロールユニット12に内蔵された図示し
ないマイクロコンピュータのRAMが相当する。
In this embodiment, basic fuel supply amount setting means, fuel supply amount setting means, fuel supply control means, air-fuel ratio feedback correction value setting means, learning correction value correction means, learning prohibition means, and learning prohibition level setting means are provided. The function is the third
As shown in the flowcharts in FIGS. 9 to 9, it is provided in terms of software, and the RAM of a microcomputer (not shown) built into the control unit 12 corresponds to the air-fuel ratio learning correction value storage means.

第3図のフローチャートに示すプログラムは、基本燃料
噴射量Tpに乗算される空燃比フィードバック補正係数
LMD (空燃比フィードバック補正値)を、比例・積
分制御により設定するプログラムであり、機関lの1回
転(1rev)毎に実行される。尚、前記空燃比フィー
ドバック補正係数LMDの初期値はlである。
The program shown in the flowchart of FIG. 3 is a program that sets the air-fuel ratio feedback correction coefficient LMD (air-fuel ratio feedback correction value), which is multiplied by the basic fuel injection amount Tp, by proportional/integral control. (1 rev). Note that the initial value of the air-fuel ratio feedback correction coefficient LMD is l.

まず、ステップl(図中ではSlとしである。First, step l (indicated as Sl in the figure).

以下同様)では、酸素センサ(0□/S) 16から排
気中の酸素濃度に応じて出力される電圧信号を読み込む
The same applies hereafter) reads the voltage signal output from the oxygen sensor (0□/S) 16 according to the oxygen concentration in the exhaust gas.

そして、次のステップ2では、ステップlて読み込んだ
酸素センサ16からの電圧信号と、目標空燃比(理論空
燃比)相当のスライスレベル(例えば500mV)゛と
を比較して、機関吸入混合気の空燃比か目標空燃比に対
してリッチであるかリーンであるかを判別する。
Then, in the next step 2, the voltage signal from the oxygen sensor 16 read in step 1 is compared with a slice level (for example, 500 mV) corresponding to the target air-fuel ratio (stoichiometric air-fuel ratio), and the engine intake air-fuel mixture is determined. It is determined whether the air-fuel ratio is rich or lean with respect to the target air-fuel ratio.

酸素センサ16からの電圧信号かスライスレベルよりも
大きく空燃比がリッチであると判別されたときには、ス
テップ3へ進み、今回のリッチ判別が初回であるか否か
を判別する。
When the voltage signal from the oxygen sensor 16 is greater than the slice level and it is determined that the air-fuel ratio is rich, the process proceeds to step 3, where it is determined whether or not the current rich determination is the first.

リッチ判別が初回であるときには、ステップ4へ進んで
前回までに設定されている空燃比フィートハック補正係
数LN・IDを最大値aにセットする。
When the rich determination is made for the first time, the process proceeds to step 4, where the air-fuel ratio foot hack correction coefficient LN·ID set up to the previous time is set to the maximum value a.

リッチ判別か初回であるということは、前回まではリー
ン判別かなされており、これによって空燃比フィードバ
ック補正係数LMDの増大制御(=燃料噴射量Tiの増
大補正)か行われていたちのてあり、リッチ判別される
と今度は補正係数LMDを減少制御するから、リッチ判
別初回の減少制御前の値か補正係数LMDの最大値とい
うことになる。
The fact that this is a rich determination or the first time means that a lean determination was made until the previous time, and as a result, an increase control of the air-fuel ratio feedback correction coefficient LMD (=increase correction of the fuel injection amount Ti) was performed. When the rich determination is made, the correction coefficient LMD is then controlled to decrease, so the value before the first reduction control of the rich determination is the maximum value of the correction coefficient LMD.

次のステップ5ては、前回までの補正係数LMDから所
定の比例定数Pだけ減算して補正係数LMDの減少制御
を図る。また、ステップ6ては、比例制御を実行したこ
とを示すフラグである「P分付加」に1をセットする。
In the next step 5, a predetermined proportionality constant P is subtracted from the previous correction coefficient LMD to control the correction coefficient LMD to decrease. Further, in step 6, 1 is set to "P addition" which is a flag indicating that proportional control has been executed.

一方、ステップ3で、リッチ判別か初回でないと判別さ
れたときには、ステップ7へ進み、積分定数Iに最新の
燃料噴射量T1を乗算した値を、前回までの補正係数L
MDから減算して補正係数LMDを更新し、空燃比のリ
ッチ状態か解消されてリーンに反転するまでの間、本プ
ログラムか実行される毎にこのステップ7てlXTiず
つの減少制御を繰り返す。
On the other hand, if it is determined in step 3 that it is rich or not the first time, the process proceeds to step 7, and the value obtained by multiplying the integral constant I by the latest fuel injection amount T1 is used as the correction coefficient L up to the previous time.
The correction coefficient LMD is updated by subtracting it from MD, and the reduction control by lXTi is repeated in step 7 every time this program is executed until the air-fuel ratio is eliminated from the rich state and reversed to lean.

また、ステップ2て空燃比か目標に対してり一ンである
と判別されたときには、リッチ判別のときと同様にして
、まず、ステップ8て今回のり一ン判別か初回であるか
否かを判別し、初回であるときには、ステップ9へ進ん
で前回までの補正係数LMD、即ち、リッチ判別時に徐
々に減少制御されていた補正係数LMDを最小値すにセ
ットし、ステップlOでは、前回までの補正係数LMD
に比例定数Pを加算して更新することにより燃料噴射量
Tiの増量補正を図り、ステップ11ては、比例制御が
実行されたことを示すフラグである前記P分付加に1を
セットする。
In addition, when it is determined in step 2 that the air-fuel ratio is close to the target, in the same way as in the case of rich determination, first, in step 8, it is determined whether the current ratio is 1 or it is the first time. If it is the first time, the process proceeds to step 9 and sets the correction coefficient LMD up to the previous time, that is, the correction coefficient LMD that was controlled to decrease gradually at the time of rich judgment, to the minimum value. Correction coefficient LMD
By adding and updating the proportional constant P, the fuel injection amount Ti is increased and corrected, and in step 11, the P addition, which is a flag indicating that proportional control has been executed, is set to 1.

ステップ8てリーン判別か初回てないと判別されたとき
には、ステップ12へ進み、積分定数Iに最新の燃料噴
射量Tiを乗算した値を、前回までの補正係数LMDに
加算し、補正係数LMDを徐々に増大させる。
If it is determined in step 8 that the lean determination has not been made for the first time, the process proceeds to step 12, where the value obtained by multiplying the integral constant I by the latest fuel injection amount Ti is added to the previous correction coefficient LMD, and the correction coefficient LMD is Increase gradually.

リッチ・リーン判別の初回で補正係数LMDの比例制御
を実行したときには、更に、空燃比学習補正制御に関わ
る後述するような各種処理を行う。
When the proportional control of the correction coefficient LMD is executed in the first rich/lean determination, various processes related to the air-fuel ratio learning correction control, which will be described later, are further performed.

尚、本実施例では、第10図に示すように、全運転領域
を基本燃料噴射量Tpと機関回転速度Nとをパラメータ
として区分する空燃比学習補正値の学習マツプを2つ備
えており、一方は4×4格子で全運転領域を16の単位
領域に区分し、また、他方は、16X16格子で全運転
領域を256の単位運転領域に区分するようにしてあり
、4×4格子マツプの1つの運転領域か16X 16格
子の学習マツプにより更に4×4の16領域に細分され
るようになっている。また、上記のように運転領域を区
分しないで全領域に適合される空燃比学習補正値も設定
されるようにしである。
In this embodiment, as shown in FIG. 10, two learning maps for the air-fuel ratio learning correction value are provided, which divide the entire operating range using the basic fuel injection amount Tp and the engine rotational speed N as parameters. One is a 4x4 grid that divides the entire operating area into 16 unit areas, and the other is a 16x16 grid that divides the entire operating area into 256 unit areas. One operating region is further subdivided into 16 4×4 regions using a 16×16 grid learning map. Further, as described above, the air-fuel ratio learning correction value is also set to be applied to the entire operating range without dividing the operating range.

まず、ステップ13では、空燃比フィードバック補正係
数LMDの平均値(a+b)/2の変化巾Δαを、以下
の式に従って算出する。
First, in step 13, the range of change Δα of the average value (a+b)/2 of the air-fuel ratio feedback correction coefficient LMD is calculated according to the following formula.

上記演算式でA B dmyは、補正係数LMDの比例
制御を前回行ったときに求めた補正係数LMDの平均値
(= ’(a+b)/2)てあり、補正係数LMDの比
例制御毎に平均値A B dmyか求められると共に、
この平均値ABdmyの前回値と今回値との差の絶対値
か変化巾Δαとして求められる。
In the above calculation formula, A B dmy is the average value (='(a+b)/2) of the correction coefficient LMD obtained when the proportional control of the correction coefficient LMD was performed last time, and the average value is calculated every time the proportional control of the correction coefficient LMD is performed. The value A B dmy is found, and
The absolute value of the difference between the previous value and the current value of this average value ABdmy is determined as the range of change Δα.

尚、前記変化巾Δαは、後述するように、過渡運転によ
って発生する空燃比ずれを補正すへく空燃比フィードバ
ック補正係数LMDか大きく変化したときに、学習を禁
止させるために設定される。
As will be described later, the range of change Δα is set to prohibit learning when the air-fuel ratio feedback correction coefficient LMD, which is used to correct air-fuel ratio deviations caused by transient operation, changes significantly.

次のステップ14ては、次回に比例制御を実行したとき
に、ステップ13ての変化巾Δαの算出に用いるために
、補正係数LMDの最新平均値=(a+b)/2をAB
dmyにセットする。
In the next step 14, the latest average value of the correction coefficient LMD=(a+b)/2 is set to
Set to dmy.

次のステップ15ては、4×4格子マツプ上の1つの運
転領域に安定して止まっている状態か否かを判別するた
めのカウント値cntの判別を行う。
In the next step 15, a count value cnt is determined to determine whether or not the vehicle is stably stationary in one operating region on the 4×4 grid map.

後述する第4図のフローチャートにおいて、4×4格子
で分けられる運転領域の中で該当する運転領域か所定微
小時間毎に変化しているときに、前記カウント値cnt
には所定値(例えば4)かセットされるようになってお
り、ステップ15てカウント値cntかセロでないと判
別されると、ステップ16へ進んでカウント値cntを
1ダウンさせる処理を行うから、4×4格子の中の1つ
の運転領域に止まるようになってからカウント値cnt
は補正係数LMDの比例制御毎に1ダウンされることに
なり、カウント値cntかゼロであるときには4×4格
子上の1つの運転領域に安定して止まっている状態であ
ると見做すことができるようにしである。
In the flowchart of FIG. 4, which will be described later, when the corresponding operating region is changing at predetermined minute intervals among the operating regions divided by 4×4 grids, the count value cnt
is set to a predetermined value (for example, 4), and if it is determined in step 15 that the count value cnt is not zero, the process proceeds to step 16 to decrease the count value cnt by 1. After coming to stop in one driving area in the 4x4 grid, the count value cnt
is reduced by 1 every time the correction coefficient LMD is proportionally controlled, and when the count value cnt is zero, it can be considered that it is stably stopped in one operating region on the 4 x 4 grid. This is so that it can be done.

尚、前記カウント値cntかセロであるか否かを判別す
ることで、後述するように学習更新を行うか否かを判別
し、4×4格子上で該当する運転領域か変化した初期に
は学習が行われないようにしである。
By determining whether or not the count value cnt is zero, it is determined whether or not to perform learning update as described later, and at the initial stage when the corresponding operating region on the 4×4 grid changes. This prevents learning from occurring.

ステップ17では、後述するように、前記4×4格子の
学習マツプのそれぞれの運転領域に対応する空燃比学習
補正値か殆ど学習済であるときに1かセットされるフラ
グflagの判別を行う。
In step 17, as will be described later, a flag is determined, which is set to 1 when most of the air-fuel ratio learning correction values corresponding to the respective operating regions of the 4×4 lattice learning map have been learned.

前記フラグflagがlであって、4×4格子の学習マ
ツプの学習か殆と終了している状態であるときには、ス
テップ18へ進む。
When the flag flag is l and the learning of the 4×4 lattice learning map is almost completed, the process advances to step 18.

ステップ18ては、4×4格子マツプ上て前回と同じ領
域に止まっているか否かを判別し、前回と同じ領域でな
い場合にのみステップ19へ進む。
In step 18, it is determined whether or not the map remains in the same area as the previous time on the 4×4 grid map, and only if it is not the same area as the previous time, the process proceeds to step 19.

ステップ19ては、最新の補正係数LMD平均値の目標
収束値Target (= 1.0>に対する偏差の絶
対値と、前回における前記偏差の絶対値との差を求め、
かかる値に基ついて学習値の不適切度合いを示すΔスト
レスのマツプを参照し、Δストレスを設定する。ここで
、最新の補正係数LMD平均値か大きく変化していると
きほと、前記△ストレスは大きく設定される。
In step 19, find the difference between the absolute value of the deviation of the latest correction coefficient LMD average value from the target convergence value Target (= 1.0>) and the absolute value of the previous deviation,
Based on this value, Δstress is set by referring to a Δstress map that indicates the degree of inappropriateness of the learned value. Here, the Δ stress is set to a larger value when the latest average value of the correction coefficient LMD changes significantly.

ステップ17において4×4格子の学習マツプのそれぞ
れの運転領域に対応する空燃比学習補正値か殆ど学習さ
れていると判別されているから、本来であれば、4X4
格子マツプ上で該当する運転領域が変化しても補正係数
L I’vi Dは略安定しているはずであるか、4×
4格子マツプ上で運転領域が変化したときに補正係数L
MDか大きく変動した場合には、学習に不備かあるもの
と推定し前記△ストレスをより大きく設定する。
In step 17, it is determined that most of the air-fuel ratio learning correction values corresponding to the respective operating regions of the 4x4 lattice learning map have been learned.
Should the correction coefficient L I'vi D be approximately stable even if the corresponding operating region changes on the grid map?
When the operating area changes on the 4-grid map, the correction coefficient L
If MD changes significantly, it is assumed that there is a defect in learning, and the Δ stress is set larger.

更に、ステップ19ては、求めたΔストレスを積算し、
該積算結果をストレスとして記憶するようにしである。
Furthermore, in step 19, the obtained Δ stress is integrated,
The integration result is stored as stress.

後述するようにこのストレスか所定以上になると、既に
学習済の空燃比学習補正係数か不適切であるものと判断
し、学習をやり直させるようになっている。
As will be described later, when this stress exceeds a predetermined value, it is determined that the already learned air-fuel ratio learning correction coefficient is inappropriate, and the learning is performed again.

第4図のフローチャートに示すプログラムは、運転領域
別の空燃比学習プログラムてあり、所定微小時間(例え
ばl0m5)毎に実行される。
The program shown in the flowchart of FIG. 4 is an air-fuel ratio learning program for each operating region, and is executed at predetermined minute intervals (for example, 10 m5).

ステップ21では、前記第3図のフローチャートで空燃
比フィードバック補正係数LMDの比例制御を行ったと
きに1かセットされるフラグ「P分付力旧の判別を行い
、pm付加か1であるときには、ステップ22へ進みP
分付加をゼロリセットした後、本プログラムによる各種
処理を行い、セロであるときにはそのまま本プログラム
を終了させる。
In step 21, the flag "P distribution force old" which is set to 1 when the air-fuel ratio feedback correction coefficient LMD is proportionally controlled in the flowchart of FIG. Proceed to step 22 P
After resetting the minute addition to zero, various processes are performed by this program, and when it is zero, the program is immediately terminated.

ステップ22てP分付加をセロリセットすると、次のス
テップ23では、全運転領域に共通の空燃比学習補正値
である学習補正係数KBLRCφ(初期値l)か学習済
であるか否かを示すフラグFφの判別を行う。
When the P addition is reset in step 22, in the next step 23, a flag indicating whether the learning correction coefficient KBLRCφ (initial value l), which is an air-fuel ratio learning correction value common to all operating ranges, has been learned or not. Determine Fφ.

ここて、フラグFφかセロてあって学習補正係数KBL
I?Cφの学習か済んでいないときには、ステップ24
へ進み、前記補正係数LMDの最大・最小値a、  b
の平均値(−(a十b)/2)か略lであるか否かを判
別する。
Here, if the flag Fφ is set, the learning correction coefficient KBL
I? If learning of Cφ has not been completed, step 24
Proceed to the maximum and minimum values a, b of the correction coefficient LMD.
It is determined whether the average value (-(a + b)/2) is approximately l.

(a十b)/2か略Iてないときには、ステップ26へ
進み、(a+b)/2から補正係数LMDの目標収束値
Target (本実施例では1.0)を減算した値に
所定係数Xを掛けた値を前回までの学習補正係数KBL
RCφに加算し、該加算結果を新たな学習補正係数KB
LRCφとして設定する。
If it is not (a + b)/2 or approximately I, the process proceeds to step 26, and the predetermined coefficient The value multiplied by the previous learning correction coefficient KBL
RCφ and the addition result as a new learning correction coefficient KB.
Set as LRCφ.

また、ステップ26ては、4×4格子マツプ及び16X
 16格子マツプのそれぞれの運転領域に記憶されてい
る学習補正係数KBLRC1,学習補正係数KBLRC
2を全て初期値であるlにリセットする。従って、上記
学習補正係数KBLRCφを学習更新するときには、た
とえ4×4格子マツプ及び16X16格子マツプで学習
値か記憶されていても、そのデータをリセットした状態
で、学習補正係数KBLRCφの学習を行わせるもので
ある。
Also, in step 26, a 4x4 grid map and a 16x
Learning correction coefficient KBLRC1, learning correction coefficient KBLRC stored in each operating area of the 16 grid map
2 are all reset to the initial value l. Therefore, when learning and updating the learning correction coefficient KBLRCφ, even if learning values are stored in the 4×4 grid map and the 16×16 grid map, learning of the learning correction coefficient KBLRCφ is performed with the data reset. It is something.

前記ステップ24て(a+b)、/2が略1であると判
別されると、ステップ25で前記フラグFφに1をセッ
トして、全運転領域に対応する学習補正係数KBLRC
φの学習か済んでいること、換言すれば、学習補正係数
KBLRCφを学習更新させた結果空燃比フィードバッ
ク補正係数LMDか略1に収束したことが判別できるよ
うにする。
When it is determined in step 24 that (a+b), /2 is approximately 1, the flag Fφ is set to 1 in step 25, and the learning correction coefficient KBLRC corresponding to the entire driving range is set.
It is possible to determine that the learning of φ has been completed, in other words, that the air-fuel ratio feedback correction coefficient LMD has converged to approximately 1 as a result of learning and updating the learning correction coefficient KBLRCφ.

一方、ステップ23て前記フラグFφかlであると判別
された場合には、全運転領域に対応する学習補正係数K
BLRCφの学習か済んでいることを示すから、今度は
運転領域を基本燃料噴射量Tpと機関回転速度Nとに基
づいて複数に区分して各領域毎に空燃比学習を行う。
On the other hand, if it is determined in step 23 that the flag is Fφ or l, the learning correction coefficient K corresponding to the entire operating range
Since this indicates that the learning of BLRCφ has been completed, the operating region is divided into a plurality of regions based on the basic fuel injection amount Tp and the engine rotational speed N, and air-fuel ratio learning is performed for each region.

まず、ステップ28以降では、基本燃料噴射量Tpと機
関回転速度Nとに基ついて運転領域を16X16格子に
区分した学習マツプにおいて、現在の運転条件かとの領
域に含まれるかを求める。
First, from step 28 onwards, it is determined whether the current operating condition is included in the area in the learning map in which the operating area is divided into 16x16 grids based on the basic fuel injection amount Tp and the engine rotational speed N.

ここで、ステップ28ては、現在の基本燃料噴射量(基
本燃料供給量)Tpか16格子の何番目に含まれるかを
判別するためのカウンタ値1にセロをセットし、次のス
テップ29ては、前記カウンタ値lか15を越えるか否
かを判別し、15を越えていないときには、ステップ3
0てカウント値iに対応する予め設定された基本燃料噴
射量Tpのしきい値Tp (i)と最新に演算された基
本燃料噴射量Tpとを比較する。
Here, in step 28, a cello is set to a counter value 1 for determining which number of the 16 grids the current basic fuel injection amount (basic fuel supply amount) Tp is included in, and in the next step 29, determines whether the counter value l exceeds 15 or not, and if it does not exceed 15, step 3
0, a preset threshold value Tp (i) of the basic fuel injection amount Tp corresponding to the count value i is compared with the most recently calculated basic fuel injection amount Tp.

ステップ30でしきい値Tp (i)よりも最新の基本
燃料噴射量Tpか小さいと判別されたときには、ステッ
プ33へ進んでそのときのカウント値iを、最新の基本
燃料噴射量Tpか含まれる領域位置としてIにセットす
る。即ち、各領域の最大基本燃料噴射量Tpを予めしき
い値Tp (i)として設定しておき、勇断の基本燃料
噴射量Tpと前記しきい値Tp (i)とを、小さい側
(又は太きい側)から順に比較して初めてTp (i)
>Tpとなった時点のiかTpブロックの番号を示すも
のとして■にセットするものである。
When it is determined in step 30 that the latest basic fuel injection amount Tp is smaller than the threshold value Tp (i), the process proceeds to step 33 and the count value i at that time is determined to include the latest basic fuel injection amount Tp. Set to I as the region position. That is, the maximum basic fuel injection amount Tp of each region is set in advance as a threshold value Tp (i), and the decisive basic fuel injection amount Tp and the threshold value Tp (i) are set on the smaller side (or thicker side). Tp (i)
This is set to ■ to indicate the number of the i or Tp block at the time when >Tp.

また、ステップ30てTp (i)≦Tpであると判別
されたときには、ステップ31へ進んで前記カウント値
iを1アツプし、更に1段階大きいTp(i)と最新の
Tpとか比較されるようにする。
Further, when it is determined in step 30 that Tp (i)≦Tp, the process proceeds to step 31, where the count value i is incremented by 1, and Tp(i), which is one step larger, is compared with the latest Tp. Make it.

そして、ステップ31てカウント値iか16にカウント
アツプされたときには、0〜15まての16格子(16
ブロツク)に分けた基本燃料噴射量Tp範囲の初期設定
した最大値よりも大きな基本燃料噴射量Tpが演算され
た状態であり、このときには、ステップ32てiに最大
値15をセットしてからステップ33へ進むようにし、
初期設定されたTpブロックの最大Tp領領域現在のT
pか含まれるものと仮定する。
Then, when the count value i is counted up to 16 in step 31, 16 grids from 0 to 15 (16
In this state, a basic fuel injection amount Tp larger than the initial maximum value of the basic fuel injection amount Tp range divided into blocks) has been calculated, and at this time, i is set to the maximum value 15 in step 32, and then step Proceed to step 33,
Maximum Tp area of initialized Tp block Current T
Assume that p is included.

次は、機関回転速度Nによる16ブロツク分けのため、
前記基本燃料噴射量Tpのブロック判別と同様にして、
最新の機関回転速度Nが含まれるブロック番号をカウン
ト値にて決定する。まず、ステップ34ては□、前記カ
ウント値kにゼロを初期設定し、ステップ35てこのカ
ウント値kか15を越えたと判別されるまでは、ステッ
プ36におけるしきい値N (k)との比較を行い、初
めてN (k) >Nとなったときのカウント値kをス
テップ39てNのブロックの番号を示すKにセットし、
N (k)≦Nであるときにはステップ37においてカ
ウント値kを1アツプさせる。また、カウント値kが1
5を越えたときには、ステップ38へ進んでカウント値
kに15をセットしてステップ39へ進む。
Next, to divide into 16 blocks based on engine speed N,
Similarly to the block determination of the basic fuel injection amount Tp,
The block number containing the latest engine rotational speed N is determined based on the count value. First, in step 34, the count value k is initially set to zero, and until it is determined in step 35 that the count value k exceeds 15, the comparison with the threshold value N (k) is performed in step 36. and set the count value k when N (k)>N for the first time to K indicating the block number of N in step 39.
When N(k)≦N, the count value k is incremented by 1 in step 37. Also, the count value k is 1
When it exceeds 5, the process proceeds to step 38, sets the count value k to 15, and proceeds to step 39.

このようにして、基本燃料噴射量Tpと機関回転速度N
とをパラメータとして16X 16格子の256運転領
域に分割される学習マツプのどの運転領域に現在の運転
条件か含まれるかか、Tpのブロック番号IとNのブロ
ック番号にとによって指示される座標(K、■)て表さ
れる。
In this way, the basic fuel injection amount Tp and the engine rotation speed N
In which operating region of the learning map divided into 256 operating regions of 16×16 grids includes the current operating condition, the coordinates ( K, ■).

16X16格子の該当する位置が上記のよう(ミして 
゛判明すれば、第10図に示すように4×4格子の運転
領域マツプにおける1つの運転領域は、16X16格子
の運転領域における4X4=16領域を1プロツクとし
て区切ったものであるから、前記I、 Kに基づいて4
×4格子の学習マツプにおいて現在の運転条件か該当す
る位置を特定できる。
The corresponding position of the 16X16 grid is as shown above (see below).
If it is clear, as shown in FIG. 10, one operating area in the 4 x 4 grid operating area map is divided into 4 x 4 = 16 areas in the 16 x 16 grid operating area as one program, so the above I. , based on K4
The location corresponding to the current driving condition can be identified on the ×4 grid learning map.

即ち、ステップ40では、前記Tpのブロック番号■を
4で除算して、その結果の少数点以下を切り捨てた整数
値をAにセットし、また、ステップ41ては、Nのブロ
ック番号Kを同様にして4て除算して、その結果の少数
点以下を切り捨てた整数値をBにセットする。これによ
り、今回の運転条件が該当する4×4格子マツプの領域
位置はCB。
That is, in step 40, the block number ■ of Tp is divided by 4, and the integer value obtained by rounding down the decimal point of the result is set to A, and in step 41, the block number K of N is similarly divided. Divide by 4, and set the resulting integer value, rounded down to the decimal point, to B. As a result, the area position of the 4x4 grid map to which the current operating conditions apply is CB.

A〕の座標で表される。A] coordinates.

次のステップ42ては、4×4格子マツプ上の該当する
領域位置を示すCB、 A)を用い、4×4格子上で該
当する運転領域が変化したか否かを判別するために、前
記Aに16を乗算した値とBとを加算してその結果をA
Bにセットする。
In the next step 42, using CB, A) indicating the position of the corresponding area on the 4x4 grid map, the above-mentioned Add the value obtained by multiplying A by 16 and B and use the result as A
Set to B.

そして、ステップ43ては前回演算された前記ABであ
るABOLDと今回演算された最新のABとを比較する
ことにより、今回該当する運転領域と前回とか同じであ
るか否かを判別する。AB:AB OLDであって、4
×4格子上で前回と異なる運転領域であるときには、ス
テップ44てカウント値cntに所定値(例えば4)を
セットする。
Then, in step 43, by comparing ABOLD, which is the AB calculated last time, with the latest AB calculated this time, it is determined whether or not the current operating range is the same as the previous time. AB: AB OLD and 4
If the operating region is different from the previous time on the x4 grid, a predetermined value (for example, 4) is set to the count value cnt in step 44.

ステップ45ては、次回におけるステップ43ての判別
のために、今回ステップ42て演算したABを前回値と
してAB、L、にセットする。
In step 45, AB calculated in step 42 this time is set to AB,L as the previous value for the next determination in step 43.

ステップ46ては、4×4格子マツプにおいて〔B、A
)を座標として指示される現在の運転条件か含まれる運
転領域で空燃比学習が終了しているか否かを示すフラグ
F EB、 A)を判別し、このフラグF EB、 A
)かセロであって現在の運転条件か含まれる4×4格子
マツプ上の1つの運転領域で学習か終了していないとき
には、ステップ47へ進む。
In step 46, in the 4x4 grid map, [B, A
) is used as the coordinates to determine whether or not the air-fuel ratio learning has been completed in the current operating condition or operating range that is included.
) or zero and learning has not been completed in one driving region on the 4×4 grid map that includes the current driving conditions, the process advances to step 47.

ステップ47ては前記カウント値cntかセロであるか
否かを判別し、カウント値cntかゼロてなく4×4格
子マツプにおける該当領域の変動があるときには、その
まま本プログラムを終了させ、カウント値cntかゼ七
てあって4×4格子マツプ上で該当する運転領域か安定
しているときにのみステップ48へ進む。
In step 47, it is determined whether or not the count value cnt is zero, and if the count value cnt is not zero and there is a change in the corresponding area in the 4x4 grid map, the program is terminated and the count value cnt is The process proceeds to step 48 only when the corresponding operating region on the 4×4 grid map is stable.

ステップ48では、前記第3図のフローチャートでサン
プリングされる空燃比フィードバック補正係数LMDの
最大・最小値a、  bの平均値(a+b)/2、即ち
、補正係数LMDの中心値か、目標収束値Target
である初期値(=1.O)付近であるか否かによって学
習の進行を判別し、略1.0であると認められず学習が
済んでいないときにはステップ50ヘジヤンプして進み
、略1であって学習済であると認められるときにはステ
ップ49でフラグF (B、A)に1をセットしてから
ステップ50へ進む。
In step 48, the average value (a+b)/2 of the maximum and minimum values a and b of the air-fuel ratio feedback correction coefficient LMD sampled in the flowchart of FIG. 3, that is, the center value of the correction coefficient LMD, or the target convergence value Target
The progress of learning is determined based on whether or not the value is near the initial value (=1.O), and if it is not recognized as being approximately 1.0 and learning has not been completed, the process proceeds to step 50 with a hegejump, and when the value is approximately 1. If there is, and it is recognized that the learning has been completed, the flag F (B, A) is set to 1 in step 49, and the process proceeds to step 50.

ステップ50では、前記第3図のフローチャートにおい
て求められた空燃比フィードバック補正係数LMDの平
均値の変化巾△αか、所定レベル以上であるか否かを判
別するためのスライスレベル5ysE (所定レベル)
に対して、4×4格子において現状の運転条件が含まれ
るCB、 A)領域に対応して記憶されているデータM
idE (B、A)をセットする。
In step 50, a slice level 5ysE (predetermined level) is used to determine whether the change width Δα of the average value of the air-fuel ratio feedback correction coefficient LMD obtained in the flowchart of FIG. 3 is greater than or equal to a predetermined level.
CB, which includes the current operating conditions in a 4x4 grid, A) Data M stored corresponding to the area.
Set idE (B, A).

そして、次のステップ51ては、第3図のフローチャー
トにおいて最新に演算された変化巾Δαと、前記ステッ
プ50て設定したスライスレベル5ysEとを比較し、
変化巾Δαかスライスレベル5ysE以上であるときに
は、今回の運転条件か含まれる(B。
Then, in the next step 51, the change range Δα calculated most recently in the flowchart of FIG. 3 is compared with the slice level 5ysE set in the step 50,
When the variation width Δα is greater than or equal to the slice level 5ysE, the current operating condition is included (B.

A〕領領域対応する学習を行わず、ステップ53ヘジヤ
ンプして進む。
A] Skip forward to step 53 without performing learning corresponding to the territory.

ここで、前述のように、空燃比フィードバック補正係数
LMDの平均値の変化巾△αが所定レベルよりも大きい
ときに、学習を禁止するようにすれば、過渡運転時に燃
料制御の応答遅れや壁流の影響等によって空燃比が目標
空燃比から大きくずれて、かかる空燃比ずれを補正すへ
く空燃比フィードバック補正係数LMDか大きく変化し
ているときには学習が行われないことになる。従って、
過渡運転による空燃比ずれか学習されることを回避でき
、例えば加速時の空燃比ずれ(リーン化)を学習した結
果か、次に補正の要求方向が全く異なる減速運転(リッ
チ化運転)で用いられ、大きな空燃比段差か発生すると
いうことを未然に防止できる。
Here, as mentioned above, if learning is prohibited when the range of change △α of the average value of the air-fuel ratio feedback correction coefficient LMD is larger than a predetermined level, it is possible to prevent response delays in fuel control during transient operation. Learning will not be performed when the air-fuel ratio deviates significantly from the target air-fuel ratio due to the influence of air flow, etc., and the air-fuel ratio feedback correction coefficient LMD changes significantly to correct such air-fuel ratio deviation. Therefore,
It is possible to avoid learning the air-fuel ratio deviation due to transient operation. For example, it may be a result of learning the air-fuel ratio deviation during acceleration (leaning), or it may be used in deceleration driving (riching operation) where the correction direction is completely different. This can prevent the occurrence of large air-fuel ratio differences.

また、前記変化巾Δαを判定するためのスライスレベル
5ysEに運転領域毎に決定されている誤差率データM
idE (B、A)をセットするようにしてあれば、ベ
ース空燃比のずれによる補正係数LMDの変化と過渡運
転で生じた空燃比ずれによる補正係数LMDの変化とを
精度良く判別することがてき、過渡運転による空燃比ず
れを誤学習することを抑止しつつ、学習機会の確保を果
たすことができるものである。
Further, error rate data M determined for each operating region at the slice level 5ysE for determining the range of change Δα
If idE (B, A) is set, it is possible to accurately distinguish between changes in the correction coefficient LMD due to deviations in the base air-fuel ratio and changes in the correction coefficient LMD due to air-fuel ratio deviations caused by transient operation. , it is possible to secure learning opportunities while preventing erroneous learning of air-fuel ratio deviations due to transient operation.

尚、前記変化巾Δαの判別に用いたスライスレベル5y
sEにセットしたMi dE (B、 A)の設定につ
いては、第9図のフローチャートに従って後に詳細に説
明する。
Note that the slice level 5y used to determine the variation range Δα is
The setting of Mi dE (B, A) set to sE will be explained in detail later according to the flowchart of FIG.

一方、ステップ51で、変化巾Δαかスライスレベル5
ysE未満であると判別されたときには、4×4格子マ
ツプのCB、 A)領域の空燃比学習を行うべくステッ
プ52へ進む。
On the other hand, in step 51, it is determined whether the change range Δα or the slice level 5
If it is determined that it is less than ysE, the process proceeds to step 52 to perform air-fuel ratio learning in the CB, A) region of the 4×4 grid map.

ステップ52では、4×4格子マツプにおいて今回のC
B、 A)領域に対応して記憶されている学習補正係数
KBLRCIに対して、最大・最小値a、 bの平均値
から目標収束値Target(本実施例ではl、0)を
減算した値に所定係数Xlを掛けた値を加算し、その結
果を4×4格子マツプ上の今回の運転領域CB、 A)
に対応する学習補正係数KBLRCIとして新たに設定
する。
In step 52, the current C
B. For the learning correction coefficient KBLRCI stored corresponding to the A) area, the target convergence value Target (l, 0 in this example) is subtracted from the average value of the maximum and minimum values a and b. Add the values multiplied by a predetermined coefficient
A new learning correction coefficient KBLRCI corresponding to .

このような4×4格子マツプ上のCB、 A)領域の学
習中においては、更に細かい16X16格子マツプにお
いてこのCB、 A)領域に含まれる各領域の学習補正
係数KBLRC2については、ステップ53でこれを全
て初期値lとする。
During the learning of the CB on such a 4x4 grid map, the learning correction coefficient KBLRC2 of each region included in the CB and A) region on a finer 16x16 grid map during the learning of the A) region is calculated in step 53. are all set to initial value l.

上記のように、4×4格子マツプで学習が終了していな
い領域があるときには、その運転領域で安定したときに
(a+b)/2の目標値Targetからの偏差の所定
割合を、それまでに記憶されていた学習補正係数KBL
RCIに加算して更新することにより、空燃比フィード
バック補正係数LMDの代わりに学習補正係数KBLR
CIによる補正で目標空燃比か得られるようにし、空燃
比フィードバック補正係数LMDが目標収束値である初
期値1に略収束した時点でその運転領域の学習か終了し
たものとする。
As mentioned above, when there is a region in the 4x4 grid map where learning has not been completed, when the operating region becomes stable, the predetermined percentage of the deviation from the target value Target of (a+b)/2 is calculated by Stored learning correction coefficient KBL
By adding and updating the RCI, the learning correction coefficient KBLR is used instead of the air-fuel ratio feedback correction coefficient LMD.
It is assumed that the target air-fuel ratio is obtained through correction by CI, and that the learning of the operating region is completed when the air-fuel ratio feedback correction coefficient LMD substantially converges to the initial value 1, which is the target convergence value.

一方、ステップ46で、フラグF EB、 A)かlで
あると判別され、4×4格子マツプの現状て該当する運
転領域に学習済の学習補正係数KBLRCIか記憶され
ているときには、学習補正係数KBLRCIか記憶され
ている今回の4×4格子マツプ上の運転領域(B、 A
)を、更に4×4格子で16領域に細分する16X16
格子学習マツプの学習へ移行する。
On the other hand, in step 46, if it is determined that the flag is FEB, A) or l, and if the learned correction coefficient KBLRCI is currently stored in the corresponding driving region of the 4x4 grid map, then the learning correction coefficient KBLRCI is stored. The operating area (B, A
) is further subdivided into 16 regions using a 4x4 grid.
Move on to learning the lattice learning map.

ステップ54では、補正係数LMDの平均値である(a
+b)/2が、目標収束値の1に略一致しているか否か
の判別を行い、(a十b)/2が略1でなく空燃比フィ
ードバック補正係数LMDによる補正を必要としている
未学習状態であるときには、ステップ55へ進む。
In step 54, the average value of the correction coefficient LMD (a
+b)/2 determines whether or not it approximately matches the target convergence value of 1, and determines whether (a + b)/2 is not approximately 1 and requires correction by the air-fuel ratio feedback correction coefficient LMD. If so, the process advances to step 55.

ステップ55では、16X16格子マツプ上で現状の運
転条件が該当する領域(K、  I)に対応して、“ 
 前記変化巾Δαを判別するための所定レベルとして記
憶されているDatE (K、I)をスライスレベル5
ysEにセットする。
In step 55, "
DatE (K, I) stored as a predetermined level for determining the variation range Δα is set to slice level 5.
Set to ysE.

そして、ステップ56では、前記ステップ51と同様に
、第3図のフローチャートで求められた変化巾Δαと、
ステップ55て設定したスライスレベル5ysEとを比
較し、前記変化巾Δαがスライスレベル5ysE未満で
あるときにのみステップ57へ進んで、16X16格子
マツプの該当領域での学習を行わせ、変化巾Δαがスラ
イスレベル5ysE以上であるときには、学習を行わず
にそのまま終了させる。
Then, in step 56, similarly to step 51, the range of change Δα obtained from the flowchart of FIG.
The slice level 5ysE set in step 55 is compared, and only when the variation width Δα is less than the slice level 5ysE, the process proceeds to step 57 to perform learning in the corresponding area of the 16×16 lattice map, and the variation width Δα If the slice level is 5ysE or higher, the process is terminated without performing learning.

従って、16X 16格子マツプの学習においても、前
記4×4格子マツプ学習の場合と同様に、ベース空燃比
のずれとは異なる過渡運転時に発生する空燃比ずれが学
習されてしまうことを防止できるものである。
Therefore, in the learning of the 16x16 grid map, as in the case of the 4x4 grid map learning described above, it is possible to prevent the air-fuel ratio deviation that occurs during transient operation, which is different from the deviation of the base air-fuel ratio, from being learned. It is.

ステップ56で、Δα< 5ysEであると判別されス
テップ57へ進むと、ステップ57では、(a+b)/
2から目標収束値Target (本実施例では1.0
 )を減算した値に所定係数X2を掛けた値を、16X
16格子学習マツプの現在の運転条件が含まれる運転領
域(K、  I)に対応して記憶されている学習補正係
数KBLRC2(K、  I )に加算し、この加算結
果を当該運転領域(K、  I)における新たな補正係
数KBLRC2(K、  I )として設定する。
In step 56, it is determined that Δα<5ysE, and the process proceeds to step 57. In step 57, (a+b)/
2 to the target convergence value Target (1.0 in this example)
) is multiplied by a predetermined coefficient X2, and the value is 16X
It is added to the learning correction coefficient KBLRC2 (K, I) stored corresponding to the operating region (K, I) that includes the current operating conditions of the 16-lattice learning map, and this addition result is added to the corresponding operating region (K, I). Set as a new correction coefficient KBLRC2(K, I) in I).

一方、ステップ54て、補正係数LMDの平均値である
(a+b)/2か目標収束値Targetの1に略一致
していると判別されたときには、ステップ58へ進み、
16X16格子マツプの現在の運転条件か含まれる運転
領域(K、  I)の学習か終了したことが判別される
ようにフラグFP(K、I)に1をセットする。
On the other hand, if it is determined in step 54 that (a+b)/2, which is the average value of the correction coefficient LMD, substantially matches 1, which is the target convergence value Target, the process proceeds to step 58;
A flag FP (K, I) is set to 1 so that it is determined that learning of the current operating condition of the 16×16 grid map or the operating region (K, I) included in the map has been completed.

そして、ステップ59以降では、今回学習か終了したと
判別されて、対応するフラグFF(K、1)に1がセッ
トされた16X 16格子マツプの所定運転領域(K、
  I)に基づき、この領域(K、  I)に隣接する
16X16格子マツプ上の運転領域(第11図参照)で
学習が終了していない運転領域がある場合に、その運転
領域に今回の該当領域(K、T)に対応して記憶されて
いる学習補正係数KBLRC2を記憶させる制御を行う
Then, from step 59 onward, it is determined that the current learning has been completed, and the corresponding flag FF (K, 1) is set to 1 in the predetermined operation area (K,
Based on I), if there is an operation area on the 16x16 grid map adjacent to this area (K, I) for which learning has not been completed (see Figure 11), the current corresponding area is added to that operation area. Control is performed to store the learning correction coefficient KBLRC2 stored corresponding to (K, T).

ステップ59ては、16X16格子マツプにおいて現在
の運転条件か含まれる領域位置を示すに、  Iか  
”らそれぞれlを減算した値をm、nにセットし、次の
ステップ60ではm=に+2であるか否かを判別する。
In step 59, in order to indicate the position of the area containing the current operating conditions in the 16x16 grid map,
The values obtained by subtracting l from `` are set to m and n, respectively, and in the next step 60, it is determined whether m=+2 or not.

ステップ59からステップ60へ進んだときには、ステ
ップ60でNoの判別が下されるから、ステップ61に
進んで(m、n)て示される16X 16格子のうちの
1つの運転領域の学習か終了しているか否かを、フラグ
FF(m、n)が1であるかゼロであるかによって判別
する。
When the process advances from step 59 to step 60, a negative determination is made in step 60, so the process proceeds to step 61 to complete the learning of one operating region of the 16×16 grid indicated by (m, n). It is determined whether the flag FF(m, n) is 1 or zero.

ここで、フラグFF(m、n)かゼロであって学習が終
了していないときには、ステップ62へ進む。
Here, if the flag FF (m, n) is zero and learning has not been completed, the process advances to step 62.

このステップ62では、前記16X 16格子上におけ
る領域番地(m、 n)を4×4格子上の領域番地〔m
/4.n/4)に変換し、これが現在該当すると判別さ
れている4×4格子マツプ上の領域CB。
In this step 62, the area address (m, n) on the 16x16 grid is converted to the area address [m, n) on the 4x4 grid.
/4. area CB on the 4×4 grid map, which is currently determined to be applicable.

A〕と一致するかを判別する。A].

即ち、(K、  I)はCB、 A〕に含まれる領域で
あるか、(K、I)の周囲の領域は、4×4格子マツプ
上でCB、 A)に隣接する領域に含まれる場合かある
ためてあり、同じ(B、 A)に含まれる領域であると
きには((m/4.n/4)=CB、 A) ) 、ス
テップ63へ進み、今回学習済であると判別された(K
、  I)領域に対応する学習補正係数KBLRC2を
そのまま(m、n)領域の学習値とする。
In other words, (K, I) is a region included in CB, A], or the region surrounding (K, I) is included in a region adjacent to CB, A) on a 4x4 grid map. If the area is included in the same (B, A) ((m/4.n/4)=CB, A), the process proceeds to step 63, and it is determined that the area has been learned this time. (K
, I) Let the learning correction coefficient KBLRC2 corresponding to the region be the learning value of the (m, n) region as it is.

一方、ステップ62で(K、  I)に隣接する(m。On the other hand, in step 62, (m) adjacent to (K, I).

n)が、4×4格子マツプ上で異なる領域に含まれると
判別されたときには、ステップ64へ進み、かかる領域
(m、n)に以下の式で算出される学習補正係数KBL
RC2を格納させる。
When it is determined that the area (m, n) is included in a different area on the 4x4 grid map, the process proceeds to step 64, and the learning correction coefficient KBL calculated by the following formula is applied to the area (m, n).
Store RC2.

KBLRC2Cm、 n) ← KBLRCI (B、A) +KBLRC2(K、 I
)−KBLRCI (m/4.n/4) 上記のKBLRC2(m、  n)を求める演算式は、
〔K、  I)と(m、n)とは16X 16格子上で
隣接する領域であるから、最終的な補正要求としては近
似しているはずであるという推測に基づくものであり、
それぞれか含まれる4×4格子マツプの学習補正係数K
BLRCIか異なるので、それぞれ異なるKBLRCI
 (B、 A) 、 KBLRCI (m/ 4 、 
n/ 4 )との合計か、以下の式にように近似するも
のとして   ′設定されている。
KBLRC2Cm, n) ← KBLRCI (B, A) +KBLRC2(K, I
) - KBLRCI (m/4.n/4) The formula for calculating the above KBLRC2 (m, n) is:
[K, I) and (m, n) are adjacent areas on a 16x16 grid, so the final correction request is based on the assumption that they should be similar.
The learning correction coefficient K of each included 4×4 grid map
Since the BLRCI is different, each KBLRCI is different.
(B, A), KBLRCI (m/4,
n/4) or approximated as shown in the following formula.

KBLRCl(B、 A) +KBLRC2(K、  
I ) =KBLRCI (m/ 4 、  n/ 4
 ) 十KBLRC2(m、  n )上記のようにし
て(m、n)領域が学習済であるときには、その学習値
を更新することなく、また、未学習であるときニハ、K
BLRC2(K、  I ) ニ基づきKBLRC2(
m、  n)を更新設定すると、ステップ65では、前
記mを1アツプさせて再びステップ60に戻り、m=に
+2となるまで、即ち、nを一定としてmをKを中心と
する+1の範囲で動がし、各運転領域毎に学習済・未学
習を判別する。
KBLRCl(B, A) +KBLRC2(K,
I) = KBLRCI (m/4, n/4
) 10 KBLRC2 (m, n) As described above, when the area (m, n) has been learned, the learned value is not updated, and when it is unlearned, niha, K
BLRC2(K, I) based on KBLRC2(
When m, n) are updated, in step 65, m is incremented by 1, and the process returns to step 60 again, until m=+2, that is, with n constant, m is a range of +1 centered around K. , and determines whether it has been learned or not for each driving region.

そして、ステップ65におけるmの1アツプ処理の結果
ステップ60でm=に+2であると判別されると、今度
はステップ66へ進みn=1+2であるか否かを判別し
、n≠1+2であるときには、ステップ67て再びmを
に−1にセットし、次のステップ68ではnを1アツプ
させた後、ステップ61へ進む。
Then, as a result of the 1-up processing of m in step 65, when it is determined in step 60 that m=+2, the process proceeds to step 66, and it is determined whether n=1+2, and n≠1+2. If so, m is set to -1 again in step 67, and n is incremented by 1 in step 68, after which the process proceeds to step 61.

従って、最初はn=1−1としてmをKを中心とする±
1の範囲で動かして隣接する領域の判別を行わせたのに
対し、次はn=IとしてmをKを中心とする±1の範囲
で動かし、更に、次にはn=I+1としてmをKを中心
とする±1の範囲て動かし、結果、(K、  I)を囲
む8つの運転領域(第11図参照)について未学習であ
るときには、学習補正係数KBLRC2(K、  I 
)に基づく値をその運転領域の学習補正係数KBLRC
2(m、  n)として記憶させるものである。
Therefore, initially, let n=1-1 and m is centered at K±
Next, we set n=I and moved m within a range of ±1 around K, and then set n=I+1 to distinguish adjacent areas. The learning correction coefficient KBLRC2 (K, I) is changed when the eight operating ranges surrounding (K, I) (see Figure 11) have not been learned.
) as the learning correction coefficient KBLRC for that operating region.
2(m, n).

このように学習済の領域の学習結果を回りの未学習領域
にも適用させるようにすれば、16X16格子のように
運転領域を細分化して各運転領域の学習機会か少ない場
合であっても、運転領域間で空燃比制御性に段差が発生
することを防止できる。
In this way, if the learning results of the learned area are applied to the surrounding unlearned areas, even if the driving area is subdivided like a 16x16 grid and there are few learning opportunities for each driving area, It is possible to prevent differences in air-fuel ratio controllability from occurring between operating ranges.

ステップ66でn=I+2であると判別されたときには
、(K、  I)を囲む8つの運転領域全ての判別処理
か終わったことになるので、このときには、ステップ5
5へ進んで、今回の領域(K、  I)において既に学
習済であると判断されている学習補正係数KBLRC2
の学習更新を、空燃比フィードバック補正係数LMDの
平均値の変化巾Δαか所定以上であるか否かに応じて行
わせる。
When it is determined in step 66 that n=I+2, it means that the determination processing for all eight operating regions surrounding (K, I) has been completed, so at this time, step 5
Proceed to step 5 and select the learning correction coefficient KBLRC2, which is determined to have already been learned in this area (K, I).
The learning update is performed depending on whether the range of change Δα of the average value of the air-fuel ratio feedback correction coefficient LMD is greater than or equal to a predetermined value.

このように、本実施例ては、まず、全運転領域に対応す
る学習補正係数KBLRCφを学習した後に、4×4格
子の学習マツプで区分される運転領域毎の学習を行わせ
、更に、この4×4格子の学習マツプで学習が済んでい
る領域についてはその領域を更に4×4格子に分けて学
習を行わせるようにしたので、大きな運転領域から小さ
な運転領域での学習へと進行することになり、大きな運
転領域での学習により空燃比の収束性か確保されると共
に、学習が進行すれば細かな運転領域毎の学習が行われ
るから、運転領域の違いによる要求補正値の違いに精度
良く対応できる。
In this way, in this embodiment, first, the learning correction coefficient KBLRCφ corresponding to all driving regions is learned, and then learning is performed for each driving region divided by a 4×4 grid learning map. For areas that have already been learned using a 4 x 4 grid learning map, we have divided that area into 4 x 4 grids for learning, so learning progresses from large driving areas to small driving areas. Therefore, convergence of the air-fuel ratio is ensured by learning over a large operating range, and as learning progresses, learning is performed for each operating range in detail, so the difference in required correction values due to different operating ranges is Can respond with high precision.

ここで、空燃比フィードバック補正係数LMDの平均値
の変化巾Δαに対する比較対象としての前記スライスレ
ベル5ysEにセットされるDatE(K、I)、Mi
dE (B、A)の設定について、第9図のフローチャ
ートに従い説明する。
Here, DatE (K, I), Mi
The setting of dE (B, A) will be explained according to the flowchart of FIG.

第9図のフローチャートに示すプログラムは、コントロ
ールユニット12に対する電源投入時毎に実行されるも
のであり、まず、ステップ151ては、16X 16格
子における格子位置をカウントするためのi、jをそれ
ぞれゼロリセットする。
The program shown in the flowchart of FIG. 9 is executed every time the power is turned on to the control unit 12. First, in step 151, i and j for counting grid positions in a 16×16 grid are each set to zero. Reset.

そして、ステップ152では、前記iが14以下である
か否かを判別し、iが14以下であるときにはステップ
153へ進む。
Then, in step 152, it is determined whether the above-mentioned i is 14 or less, and if i is 14 or less, the process proceeds to step 153.

ステップ153では、カウンタi、jで指示される格子
点(j、  i)における基本燃料噴射量Tp及び機関
回転速度Nのしきい値’rp(i)、N(j〕を、それ
ぞれTpdmy、Ndmyにセットすると共に、カウン
タi+1.j+1で指示される格子点におけるTp及び
Nのしきい値Tp (i+1) 、 N (j+1)を
、Tpdm2.Ndm2にそれぞれセットする。
In step 153, threshold values 'rp(i) and N(j) of the basic fuel injection amount Tp and the engine rotational speed N at the grid point (j, i) indicated by the counters i and j are set to Tpdmy and Ndmy, respectively. At the same time, the threshold values Tp (i+1) and N (j+1) of Tp and N at the grid point indicated by the counter i+1.j+1 are set to Tpdm2.Ndm2, respectively.

ステップ154ては、カウンタi、jて指示される格子
点における吸入空気流量Qdmyと、カウンタi+l、
j+1で指示される格子点における吸入空気流量Qdm
2とを以下の式に従って演算する。
In step 154, the intake air flow rate Qdmy at the grid point indicated by the counters i, j, and the counter i+l,
Intake air flow rate Qdm at the grid point indicated by j+1
2 is calculated according to the following formula.

八 即チ、基本燃料噴射量’rpは、T p−K x Q/
N(Kは定数)として演算されるので、上記式によって
各格子位置に対応する吸入空気流量Qを推定設定するも
のである。
The basic fuel injection amount 'rp is T p-K x Q/
Since it is calculated as N (K is a constant), the intake air flow rate Q corresponding to each grid position is estimated and set using the above equation.

次のステップ155では、格子点i、i+1それぞれに
おける基本燃料噴射量Tpdmy、Tpdm2に、バッ
テリ電圧補正分子sを加算して、それぞれの格子点にお
ける燃料噴射量T i dmy。
In the next step 155, the battery voltage correction numerator s is added to the basic fuel injection amounts Tpdmy and Tpdm2 at the grid points i and i+1, respectively, to obtain the fuel injection amount T i dmy at each grid point.

Tidm2を設定する。Set Tidm2.

ステップ156ては、燃料噴射量Tiに応じて予め設定
されている予測最大エラー率ETiのマツプから、前記
ステップ155で求めた燃料噴射量Tidmy、Tid
m2に対応するエラー率ETi。
In step 156, the fuel injection amount Tidmy, Ti
Error rate ETi corresponding to m2.

ETi2を検索して求める。Find ETi2 by searching.

前記予測最大エラー率(予測誤差率データ)ETiのマ
ツプは、燃料噴射弁6に対して与えられた駆動パルス信
号に対する実際の噴射量のエラー率として最大に予測さ
れるものを予め求めてマツプ化したものであり、ステッ
プ156においては、それぞれの燃料噴射量Tidmy
、Tidm2において燃料噴射弁6(燃料供給系)を原
因として発生が予測される空燃比エラー率が求められる
The map of the predicted maximum error rate (predicted error rate data) ETi is created by determining in advance the maximum predicted error rate of the actual injection amount with respect to the drive pulse signal given to the fuel injection valve 6. In step 156, each fuel injection amount Tidmy
, Tidm2, the air-fuel ratio error rate that is predicted to occur due to the fuel injection valve 6 (fuel supply system) is determined.

ステップ157ては、吸入空気流量Qに応じて予め設定
されている予測最大エラー率EQのマツプから、前記ス
テップ154で求めた吸入空気流量Qdmy、Qdm2
に対応するエラー率EQ、  EQ2を検索して求める
In step 157, the intake air flow rates Qdmy and Qdm2 obtained in step 154 are calculated from the map of the predicted maximum error rate EQ that is preset according to the intake air flow rate Q.
Search and find the error rates EQ and EQ2 corresponding to .

前記予測最大エラー率(予測誤差率デ゛−タ)EQのマ
ツプは、エアフローメータ13において予測される最大
検出エラー率を予め求めてマツプ化したものであり、ス
テップ157においては、それぞれの吸入空気流量Qd
my、Qdm2においてエアフローメータ13の検出誤
差を原因として発生か予測される空燃比エラー率か求め
られる。
The map of the predicted maximum error rate (predicted error rate data) EQ is obtained by calculating in advance the maximum detection error rate predicted in the air flow meter 13, and in step 157, each intake air Flow rate Qd
The air-fuel ratio error rate that is predicted to occur due to the detection error of the air flow meter 13 in my, Qdm2 is determined.

そして、ステップ158ては、上記のようにして求めら
れた隣接する格子点における予測最大エラー率のデータ
から、前記格子点間におけるエラー率段差の絶対値ΔQ
、ΔTiを、エラー率ETi。
Then, in step 158, the absolute value ΔQ of the error rate difference between the grid points is calculated from the predicted maximum error rate data at the adjacent grid points obtained as described above.
, ΔTi is the error rate ETi.

ETi2及びEQ、EQ2から以下のようにして求める
It is obtained from ETi2, EQ, and EQ2 as follows.

ΔQ−I EQ−EQ21 ΔTi←1ETi−ETi21 上記ΔQ、ΔTiは、格子点間の運転領域において、予
測されるエラー率のばらつきを示すものであり、当該領
域内において運転条件か変化した場合には、前記ΔQ、
ΔTi相当のエラーは、燃料噴射弁6やエアフローメー
タ13を原因としてベース空燃比のずれとして発生する
可能性を示唆するものである。
ΔQ-I EQ-EQ21 ΔTi←1ETi-ETi21 The above ΔQ and ΔTi indicate the expected variation in error rate in the operating region between grid points, and if the operating conditions change within the region, , said ΔQ,
The error corresponding to ΔTi indicates the possibility that the error may occur as a deviation in the base air-fuel ratio due to the fuel injection valve 6 or the air flow meter 13.

即ち、それぞれの学習領域には、異なる運転条件が含ま
れ、それぞれの運転条件で要求補正量か微妙に異なるか
ら、同じ領域内であっても、学習時と異なる運転条件で
あれば、前記ΔQ、ΔTi相当のエラーは発生の可能性
かあり、逆に、前記ΔQ、ΔTi相当のエラーを越える
空燃比エラーが発生した場合には、ベース空燃比のずれ
てはなく過渡運転によって大きく空燃比かずれたもので
あると推定できるものである。
In other words, each learning region includes different operating conditions, and the required correction amount is slightly different depending on each operating condition. There is a possibility that an error equivalent to , ΔTi may occur. Conversely, if an air-fuel ratio error exceeding the error equivalent to ΔQ, ΔTi occurs, it is not due to a shift in the base air-fuel ratio, but rather due to transient operation that the air-fuel ratio has changed significantly. It can be assumed that there is a deviation.

ステップ159では、前記ΔQ、ΔTiの大小関係を求
め、ステップ160又はステップ161て前記ΔQ、Δ
Tiのうちのより大きい方を最終的なエラー率Erにセ
ットする。
In step 159, the magnitude relationship between ΔQ and ΔTi is determined, and in step 160 or step 161, the relationship between ΔQ and ΔTi is determined.
The larger of Ti is set as the final error rate Er.

そして、ステップ162では、現状のi、jて指示され
る16X 16格子マツプ上の領域(j、  i)にお
いて、ベース空燃比のずれによって発生し得る最大エラ
ー率DetE (j、i)として前記Erをセットする
Then, in step 162, in the area (j, i) on the 16×16 grid map indicated by the current i, j, the maximum error rate DetE (j, i) that can occur due to the deviation of the base air-fuel ratio is determined by Set.

次のステップ163ではiを1アツプさせ、ここで再び
ステップ152に戻るようにする。
In the next step 163, i is incremented by 1, and the process returns to step 152 again.

jをゼロに固定したままiを1アツプさせていって、そ
れぞれの運転領域において予測されるベース空燃比の最
大エラー率Erを前述のようにして設定すると、今度は
ステップ152からステップ164へ進む。
When i is increased by 1 while j is fixed at zero and the maximum error rate Er of the base air-fuel ratio predicted in each operating region is set as described above, the process proceeds from step 152 to step 164. .

ここで、jが14を越えるまでは、ステップ165でi
をゼロリセットすると共に、ステップ166てjを1ア
ツプさせ、再びステップ152に戻るようにしてあり、
これにより、jを固定してiをゼロから14までカウン
トアツプさせる操作を繰り返させ、16X16格子マツ
プの全領域において予測されるベース空燃比の最大エラ
ー率Erを求める。
Here, until j exceeds 14, in step 165, i
is reset to zero, j is incremented by 1 in step 166, and the process returns to step 152.
As a result, the operation of fixing j and counting up i from zero to 14 is repeated, and the maximum error rate Er of the base air-fuel ratio predicted in the entire area of the 16×16 grid map is determined.

ソシテ、16X16格子マツプにおける最大エラー率E
rの設定か終了すると、ステップ167以降へ進むこと
により、同様な操作(但し、i、jはステップ179又
はステップ182て1回に3アツプされる。)によって
4×4格子マツプのそれぞれの領域におけるベース空燃
比の予測最大ばらつき量に相当するErrを設定し、各
領域別にM i d E(j / 4 、  i / 
4 )を求める(ステップ167〜ステツプ182)。
maximum error rate E in a 16x16 grid map
When the setting of r is completed, proceed to step 167 and subsequent steps to create each area of the 4×4 grid map by the same operation (however, i and j are upped three times at a time in step 179 or step 182). Err corresponding to the predicted maximum variation amount of the base air-fuel ratio is set for each region, and M i d E (j / 4, i /
4) is determined (steps 167 to 182).

空燃比フィードバック補正係数LMDの平均値の変化巾
Δαとスライスレベル5ysEと比較するときには、そ
のときの運転条件か含まれる領域CB。
When comparing the range of change Δα of the average value of the air-fuel ratio feedback correction coefficient LMD with the slice level 5ysE, the range CB includes the operating conditions at that time.

A)(K、I)にそれぞれ対応して記憶されているMi
dE (B、A)、DetE (K、I)が前記スライ
スレベル5ysEにセットされることになり、燃料噴射
弁6やエアフローメータ13を原因とするベース空燃比
ずれに基づく補正係数LMDの変化巾Δαを越える過渡
運転による補正係数LMDの動きを判別できるものであ
る。これにより、ベース空燃比のずれではなく、過渡運
転による空燃比ずれが学習されてしまうことを抑止てき
、然も、前述のように運転領域毎に補正係数LMDの動
きが過渡運転による空燃比ずれを原因とするものである
か否かを精度良く判別させることができるから、学習機
会が失われることも抑止できる。
A) Mi stored corresponding to (K, I) respectively
dE (B, A) and DetE (K, I) will be set to the slice level 5ysE, and the range of change in the correction coefficient LMD based on the base air-fuel ratio deviation caused by the fuel injection valve 6 and air flow meter 13. It is possible to determine the movement of the correction coefficient LMD due to transient operation exceeding Δα. This prevents the air-fuel ratio deviation due to transient operation from being learned instead of the deviation of the base air-fuel ratio, and as mentioned above, the movement of the correction coefficient LMD in each operating region is caused by the air-fuel ratio deviation due to transient operation. Since it is possible to accurately determine whether or not the cause is caused by the problem, it is possible to prevent learning opportunities from being lost.

尚、本実施例では、第9図のフローチャートに示すプロ
グラムを、コントロールユニット12に対する電源投入
毎に行わせるようにしたが、その都度同じ結果がMid
E (B、A)、De tE (K。
In this embodiment, the program shown in the flowchart of FIG. 9 is executed every time the control unit 12 is powered on, but the same result is obtained each time
E (B, A), De tE (K.

■〕として設定されることになるので、予め第9図のフ
ローチャートに示すような処理を行って得られたMid
E (B、A)、De tE CK、I)をROMに記
憶させておくようにしても良い。
■], so the Mid
E (B, A), De tE CK, I) may be stored in the ROM.

上記のようにして学習される3つの学習補正係数KBL
RCφ、 KBLRCI、 KBLRC2に基つく最終
的な空燃比学習補正係数KBLRCの設定は、第8図の
フローチャートに従って行われる。
Three learning correction coefficients KBL learned as above
The final air-fuel ratio learning correction coefficient KBLRC based on RCφ, KBLRCI, and KBLRC2 is set according to the flowchart in FIG.

第8図のフローチャートは、パックグラウンドジョブと
して処理されるものであり、まず、ステップ71では、
4×4格子マツプの領域1:B、 A)に記憶されてい
る学習補正係数KBLRCIを読み出し、次のステップ
72では、16X16格子マツプの領域〔K、I)に記
憶されている学習補正係数KBLRC2を読み出す。尚
、フローチャート中に示すB×4十A及びKX16+I
は、それぞれの格子位置を示す番地をメモリ上の番地に
換算するものである。
The flowchart in FIG. 8 is processed as a pack ground job, and first, in step 71,
The learning correction coefficient KBLRCI stored in area 1:B, A) of the 4x4 lattice map is read out, and in the next step 72, the learning correction coefficient KBLRCI stored in area [K, I) of the 16x16 lattice map is read out. Read out. In addition, B×40A and KX16+I shown in the flowchart
converts the address indicating each grid position into an address in memory.

ステップ73では、KBLRCφ+KBLRC1+ K
BLRC2−2,0→KBLRCとして最終的な学習補
正係数KBLRCを設定する。
In step 73, KBLRCφ+KBLRC1+K
The final learning correction coefficient KBLRC is set as BLRC2-2,0→KBLRC.

上記第8図のフローチャートで設定される学習補正係数
KBLRCは、第5図のフローチャートに示すプログラ
ムにおける燃料噴射量Tiの演算設定に用いられる。
The learning correction coefficient KBLRC set in the flowchart of FIG. 8 is used to calculate and set the fuel injection amount Ti in the program shown in the flowchart of FIG.

第5図のフローチャートに示すプログラムは、所定微小
時間(例えばtOms)毎に実行されるものであり、ま
ず、ステップ81ては、エアフローメータ13で検出さ
れた吸入空気流量Q及びクランク角センサ14からの検
出信号に基づき算出した機関回転速度Nを入力する。 
 ゛ そして、次のステップ82では、ステップ81て入力し
た吸入空気流量Qと機関回転速度Nとに基ついて単位回
転当たりの吸入空気流量Qに対応する基本燃料噴射量T
p(←KxQ/N;には定数)を演算する。
The program shown in the flowchart of FIG. 5 is executed at predetermined minute intervals (for example, tOms). First, in step 81, the intake air flow rate Q detected by the air flow meter 13 and the crank angle sensor 14 are calculated. Input the engine rotation speed N calculated based on the detection signal.
゛Then, in the next step 82, based on the intake air flow rate Q and engine rotational speed N input in step 81, the basic fuel injection amount T corresponding to the intake air flow rate Q per unit rotation is calculated.
p (←KxQ/N; is a constant) is calculated.

次のステップ83では、前記ステップ82で演算した基
本燃料噴射量Tpに各種の補正を施して最終的な燃料噴
射量(燃料供給量)Tiを演算する。
In the next step 83, various corrections are made to the basic fuel injection amount Tp calculated in step 82 to calculate the final fuel injection amount (fuel supply amount) Ti.

ここで、基本燃料噴射量Tpの補正に用いられる補正値
は、第4図のフローチャートに従って学習設定された学
習補正係数KBLRC、第3図のフローチャートに従っ
て演算され−た空燃比フィードバック補正係数LMD、
水温センサ15て検出される冷却水温度Twに基づく基
本補正係数や始動後増量補正係数等を含んで設定される
各種補正係数C0FF、バッテリ電圧の変化による燃料
噴射弁6の有効噴射時間の変化を補正するための補正分
子sであり、Ti 4−TpxLMDxKBLRCxc
OEF+Tsを演算して最終的な燃料噴射量Tiが所定
時間毎に更新される。
Here, the correction value used for correcting the basic fuel injection amount Tp is the learning correction coefficient KBLRC which is learned and set according to the flowchart in FIG. 4, the air-fuel ratio feedback correction coefficient LMD which is calculated according to the flowchart in FIG.
Various correction coefficients C0FF are set including a basic correction coefficient based on the cooling water temperature Tw detected by the water temperature sensor 15, a post-start increase correction coefficient, etc., and changes in the effective injection time of the fuel injection valve 6 due to changes in battery voltage are A correction molecule s for correction, Ti4-TpxLMDxKBLRCxc
The final fuel injection amount Ti is updated at predetermined intervals by calculating OEF+Ts.

コントロールユニット12は所定の燃料噴射タイミング
になると、最新に演算された燃料噴射量Tiに相当する
パルス巾の駆動パルス信号を燃料噴射弁6に対して出力
し、機関1への燃料供給量を制御する。
At a predetermined fuel injection timing, the control unit 12 outputs a drive pulse signal with a pulse width corresponding to the latest calculated fuel injection amount Ti to the fuel injection valve 6 to control the amount of fuel supplied to the engine 1. do.

また、第6図のフローチャートに示すプログラムは、前
記第3図のフローチャートに従ってサンプリングされる
ストレスに基づく処理を行うプログラムであり、バック
グラウンドジョブ(BGJ)として実行される。
The program shown in the flowchart of FIG. 6 is a program that performs processing based on the stress sampled according to the flowchart of FIG. 3, and is executed as a background job (BGJ).

ステップ91では、16X 16格子マツプの殆どか学
習病であってフラグflag(このフラグflag設定
については第7図のフローチャートに基づき後に詳細に
説明する。)に1かセットされているときに求められる
ストレス(空燃比ずれ度合い)と、所定値(例えば0.
8)とを比較して、学習が殆ど終了しているときの空燃
比ずれ度合いか所定以上であるか否かを判別する。
In step 91, the determination is made when most of the 16×16 grid maps have a learned disease and the flag flag (setting of this flag will be explained in detail later based on the flowchart of FIG. 7) is set to 1. stress (degree of air-fuel ratio deviation) and a predetermined value (for example, 0.
8) to determine whether the degree of air-fuel ratio deviation when learning is almost completed is greater than or equal to a predetermined value.

ここで、前記ストレスが所定値を越えるときには、学習
が殆ど終了しているものの、その学習結果か不適切で空
燃比ずれか発生しているものと判断し、再度の学習(学
習反復)を行わせるためにステップ92へ進む。
Here, when the stress exceeds a predetermined value, it is determined that although learning has almost completed, an air-fuel ratio deviation has occurred due to the learning result, and learning is performed again (learning repetition). The process advances to step 92 in order to do so.

ステップ92では、各運転領域の空燃比学習が終了して
いるか否かを判別するためのフラグFφ。
In step 92, a flag Fφ is set for determining whether or not air-fuel ratio learning for each operating region has been completed.

F (0,0)〜F (3,3)、 FF(0,O)〜
FF(16,16)を全てゼロリセットすると共に、1
6X16格子マツプの殆どの運転領域が学習済であると
きに1がセットされるフラグflag及び4×4格子マ
ツプの1つの運転領域の範囲に含まれる16X 16格
子マツプの細分運転領域(16領域)の殆どが学習済で
あるときにその4×4格子運転領域それぞれに対応して
lかセットされるフラグfIag(0゜0〕〜(3,3
)をゼロリセットする。
F (0,0)~F (3,3), FF(0,O)~
All FFs (16, 16) are reset to zero, and 1
A flag that is set to 1 when most of the operating regions of the 6×16 grid map have been learned; and the subdivision operating regions (16 regions) of the 16×16 grid map included in the range of one operating region of the 4×4 grid map. The flag fIag (0°0) to (3,3
) is reset to zero.

更に、上記のようにして再度全運転領域から学習が反復
されることになるから、ストレスについてもこれをゼロ
リセットする。
Furthermore, since learning is repeated again from all operating ranges as described above, stress is also reset to zero.

このように、空燃比フィードバック補正係数LMDの基
準値に対する偏差の度合い(ストしス)か所定以上に大
きくなったときに、学習をやり直すようにすれば、例え
ば吸気系に穴か開くなどの事故によって空燃比か急激に
変化したときに、大きな運転領域毎の学習か再度行われ
ることになるから、空燃比を速やかに収束させることか
できる。
In this way, if the degree of deviation (stiffness) of the air-fuel ratio feedback correction coefficient LMD from the reference value becomes greater than a predetermined value, relearning can be performed to prevent accidents such as holes in the intake system. When the air-fuel ratio changes suddenly, the learning for each large operating range is re-performed, so the air-fuel ratio can be quickly converged.

次に第7図のフローチャートに示すプログラムに従って
行われる細分領域に基づくより大きな区分運転領域の学
習補正係数の補正を説明する。
Next, a description will be given of correction of the learning correction coefficient for a larger segmented operation area based on the subdivision area, which is performed according to the program shown in the flowchart of FIG.

この第7図のフローチャートに示すプログラムは、バッ
クグラウンドジョブ(BGJ)として実行されるもので
あり、まず、ステップ101ては、全運転領域に対応す
る学習補正係数KBLRCφか学習済であるときに1か
セットされるフラグFφの判別を行い、前記フラグFφ
かセロであるときにはそのまま本プログラムを終了させ
るか、1であるときにはステップ102以降へ進む。
The program shown in the flowchart of FIG. 7 is executed as a background job (BGJ). First, in step 101, when the learning correction coefficient KBLRCφ corresponding to all operating ranges has been learned, 1 is set. The flag Fφ that is set is determined, and the flag Fφ is set.
If the number is zero, the program is terminated as is, or if the number is 1, the program proceeds to step 102 and subsequent steps.

ステップ102では、本プログラムで使用する各種パラ
メータであるSum、W、X、Yの初期設定を行う。こ
こで、Sumは、、4X4格子マツプの各運転領域で学
習済である領域に記憶されている学習補正係数KBLR
CIの積算値であり1.初期値として1.0がセットさ
れ、前記Wはかかる積算演算におけるサンプリング数を
カウントアツプするもので、初期値としてはlがセット
される。また、X、 Yは、4X4格子マツプにおける
格子位置を指定するものであり、初期値としてそれぞれ
にゼロがセットされる。
In step 102, various parameters used in this program, such as Sum, W, X, and Y, are initialized. Here, Sum is the learning correction coefficient KBLR stored in the area that has been learned in each driving area of the 4X4 grid map.
It is the integrated value of CI and 1. 1.0 is set as the initial value, and the W is used to count up the number of samples in the integration calculation, and l is set as the initial value. Further, X and Y designate grid positions in the 4X4 grid map, and zero is set to each as an initial value.

次のステップ103では、上記ステップ102でゼロリ
セットされるX、 Yを座標位置とするフラグF (X
、Y)(4X4格子の学習済判別フラグ)の判別を行い
、X、 Yで指示される4×4格子の運転領域において
学習済の領域を探す。X、 Yは初期値ゼロであるから
、(0,O)の運転領域て未学習であるときには、ステ
ップ104てXか1アツプされて(1,O)となり、ス
テップ105ではXか4でないと判別されることにより
再びステップ103での判別が行われる。
In the next step 103, a flag F (X
, Y) (4x4 lattice learned determination flag) and searches for a learned area in the 4x4 lattice driving area indicated by X and Y. Since the initial values of X and Y are zero, if the operating region of (0, O) has not been learned, in step 104, X is increased by 1 to become (1, O), and in step 105, it is determined that it is not X or 4. Once the determination is made, the determination in step 103 is performed again.

このようにしてXかステップ104てlアップされた結
果4になると、ステップ106てXをゼロリセットする
と共に今度はYを1アツプさせ、ステップ107てYか
4であると判別されるまでは再びステップ103へ戻り
、ステップ104へ進むとXか1アツプされるから、結
果、Yを固定してXを変化させることを繰り返して、4
×4格子マツプにおける各運転領域でのフラグF (X
、 Y)か判別されるようになっている。
In this way, when X is incremented to 4 in step 104, X is reset to zero in step 106 and Y is incremented by 1. Returning to step 103 and proceeding to step 104, X is increased by 1, so as a result, fixing Y and changing X is repeated, and 4
Flag F (X
, Y).

ここで、4×4格子マツプの運転領域てフラグF (X
、Y)が1であると判別される領域かあると、ステップ
108へ進む。
Here, flag F (X
, Y) is determined to be 1, the process advances to step 108.

ステップ108では、フラグF (X、 Y)かlであ
ると判別され学習済である運転領域に記憶されている一
学習補正係数KBLRCIを、それまでの積算値Sum
に加算すると共に、該加算の回数(換言すれば積算サン
プル数)をカウントするためにサンプリング数Wを1ア
ツプさせる。
In step 108, one learning correction coefficient KBLRCI which is determined to be flag F (X, Y) or l and which is stored in the learned driving region is added to the accumulated value Sum up to that point.
At the same time, the sampling number W is increased by 1 in order to count the number of additions (in other words, the cumulative number of samples).

そして、次のステップ109ては、前記4×4格子の(
X、 Y)領域に含まれる16X16格子の中の16領
域を1つずつ判別するためのα、βそれぞれに初期値ゼ
ロをセットすると共に、前記16領域の中で学習済であ
る領域の学習補正係数KBLRC2の積算値をセットす
るS umpに初期値1.0をセットし、更に、該積算
値S umpのサンプリング数をカウントするZに初期
値1をセットする。
Then, in the next step 109, the (
In order to discriminate one by one the 16 regions in the 16X16 lattice included in the X, Y) region, initial values of zero are set for each of α and β, and learning correction is performed for the regions that have already been learned among the 16 regions. An initial value of 1.0 is set to Sump, which sets the integrated value of the coefficient KBLRC2, and an initial value of 1 is set to Z, which counts the number of samples of the integrated value Sump.

そして、ステップ110〜ステツプ115では、前記4
×4格子の(X、 Y)領域に含まれる16X 16格
子の中の16領域中で学習済である領域を、FF (α
+4X、 β+4Y)に基づいて判別し、学習済の領域
に記憶されている学習補正係数KBLRC2を積算値S
 umpに積算すると共に、該積算したサンプル数Zを
カウントアツプさせる。
Then, in steps 110 to 115, the four
FF (α
+4X, β+4Y), and the learning correction coefficient KBLRC2 stored in the learned area is calculated as
ump is accumulated, and the accumulated sample number Z is counted up.

このようにして、4×4格子マツプの中の学習済である
領域に含まれる16X16格子マツプの16領域中の学
習済領域をピックアップすると、次のスえば12)を越
えているか否かを判別する。
In this way, when a learned area among the 16 areas of the 16x16 grid map that is included in the learned area of the 4x4 grid map is picked up, the next step is to determine whether or not it exceeds 12). do.

ここで、サンプル数Zか所定値以下である場合には、今
回学習済であると判別された4×4格子マツプ上の(X
、 Y)領域については、より細分化された16領域の
学習か充分に進行していないので、ステップ117でフ
ラグF (X、 Y)にセロをセットして、再学習か行
われるようにする。
Here, if the number of samples Z is less than a predetermined value, the (X
As for the Y) area, the learning of the 16 more subdivided areas has not progressed sufficiently, so in step 117 the flag F (X, Y) is set to zero and relearning is performed. .

ステップ117でフラグflag (X、 Y)にセ七
をセットした後は、再びステップ104へ戻り、4×4
格子マツプ上で学習済の他の領域を探す。
After setting the flag (X, Y) to 7 in step 117, the process returns to step 104 and the 4×4
Search for other areas that have been learned on the grid map.

一方、ステップ116でサンプル数Zか所定値を越えて
いると判別されたときには、ステップ118でフラグf
lagF (X、  Y)に1をセットし、次のステッ
プ119では、学習済の領域に記憶されていた学習補正
係数KBLRC2の平均値(S ump/ Z )と目
標収束値’rargetとの偏差の絶対値か、所定値(
例えば0.04)未満であるか否かを判別する。
On the other hand, if it is determined in step 116 that the number of samples Z exceeds the predetermined value, the flag f is set in step 118.
lagF (X, Y) is set to 1, and in the next step 119, the deviation between the average value (S ump/Z ) of the learning correction coefficient KBLRC2 stored in the learned area and the target convergence value 'rarget is calculated. Absolute value or predetermined value (
For example, it is determined whether the value is less than 0.04).

そして、前記偏差が所定値を越える場合には、本来4X
4格子マツプの学習補正係数KBLRCIで負担すべき
補正分か、16X 16格子マツプの学習補正係数KB
LRC2に付加されているものと見做し、前記付加分を
学習補正係数KBLRCI側に転嫁すべくステップ12
0へ進む。
If the deviation exceeds a predetermined value, it should be
The correction to be borne by the learning correction coefficient KBLRCI for a 4-grid map, or the learning correction coefficient KB for a 16x 16-lattice map.
Assuming that it is added to LRC2, step 12 is performed to transfer the added amount to the learning correction coefficient KBLRCI side.
Go to 0.

ステップ120では、今回学習済であると判別された4
X4格子マツプ上の領域(X、 Y)に記憶されていた
学習補正係数KBLRCI (X、 Y)を、以下の式
に従って学習更新する。
In step 120, the 4
The learning correction coefficient KBLRCI (X, Y) stored in the area (X, Y) on the X4 lattice map is learned and updated according to the following formula.

KBLRCI (X、 Y)←  ump KBLRCI (X、 Y) 十(−−Target)
X 7即ち、上記演算式によって16x 16格子マツ
プが平均的に負担している補正分を、それらを含む領域
に対応する4×4格子マツプ側に転嫁して、16X16
格子マツプによる補正分を目標収束値付近に近づけるも
のである。
KBLRCI (X, Y)← ump KBLRCI (X, Y) 10 (--Target)
In other words, using the above calculation formula, the average correction amount borne by the 16x16 lattice map is transferred to the 4x4 lattice map corresponding to the area including them, and the 16x16
This is to bring the correction amount by the lattice map closer to the target convergence value.

このように、16X16格子マツプが平均的に負担して
いる補正分をそれらを含む領域に対応する4×4格子マ
ツプ側に転嫁した場合には、その分16XI6格子マツ
プ上の学習補正係数KBLRC2を逆補正する必要があ
るため、ステップ121以降の処理を行う。
In this way, when the average correction amount borne by the 16X16 grid map is transferred to the 4x4 grid map corresponding to the area including them, the learning correction coefficient KBLRC2 on the 16XI6 grid map is adjusted accordingly. Since reverse correction is necessary, the processing from step 121 onwards is performed.

即ち、ステップ120で補正された学習補正係数KBL
RCI (X、 Y)の領域に含まれる16X 16格
子マツプ上の16領域にそれぞれ記憶されている学習補
正係数KBLRC2から、学習補正係数KBLRCIに
加算した分を減算するようにしである(ステップ121
〜ステツプ126)。
That is, the learning correction coefficient KBL corrected in step 120
The amount added to the learning correction coefficient KBLRCI is subtracted from the learning correction coefficient KBLRC2 stored in each of the 16 regions on the 16×16 grid map included in the region of RCI (X, Y) (step 121).
~Step 126).

このようにして、学習補正係数KBLRCIに対する補
正分を、学習補正係数KBLRC2に対して逆補正して
修正すると、再びステップ104へ戻って4×4格子マ
ツプ上で学習済の領域を探し、学習済の領域が検出され
たときには、その都度前述のような処理を繰り返すこと
になる。
In this way, after the correction amount for the learning correction coefficient KBLRCI is corrected by inversely correcting the learning correction coefficient KBLRC2, the process returns to step 104, searches for a learned area on the 4×4 grid map, and When a region is detected, the above-described processing is repeated each time.

そして、4×4格子マツプ上の全ての領域について学習
済の領域を調べると、ステップ107からステップ12
7へ進むことになる。
Then, after checking the learned areas for all areas on the 4x4 grid map, steps 107 to 12
We will move on to 7.

ステップ127では、4×4格子マツプ上での学習済領
域の数をカウントアツプしたWが、所定値(例えば12
)を越えているか否かを判別し、4×4格子マツプの殆
どの領域か学習済であるかを判断する。
In step 127, W, which counts up the number of learned areas on the 4x4 grid map, is set to a predetermined value (for example, 12
), and it is determined whether most areas of the 4×4 grid map have been learned.

ここで、前記Wか所定値以下である場合には、ステップ
128でフラグflagにゼロをセットしてそのまま終
了するが、前記Wか所定値を越えている場合には、ステ
ップ129で前記フラグflagに1をセットした後、
ステップ130以降で4×4格子マツプの学習済領域の
データに基づいて全運転領域に対応する学習補正係数K
BLRCφを修正する処理を行う。
Here, if the W is less than or equal to the predetermined value, the flag is set to zero in step 128 and the process ends; however, if the W exceeds the predetermined value, the flag is set to zero in step 129. After setting 1 to
After step 130, the learning correction coefficient K corresponding to all operating regions is calculated based on the data of the learned region of the 4×4 grid map.
Processing to correct BLRCφ is performed.

ステップ130では、4×4格子マツプ上で学習済であ
ると判別された領域における学習補正係数KBLRCI
の平均値(S um/ W )と、目標収束値Targ
etとの偏差の絶対値が所定値未満であるか否かを判別
する。そして、前記偏差が所定値未満である場合にはそ
のまま本プログラムを終了させるが、所定値以上である
場合には、本来、全運転領域に対応する学習補正係数K
BLRCφ側で負担すべき補正分が、学習補正係数KB
LRCI側に転嫁されているものと見做し、かかる転嫁
分を学習補正係数KBLRCφ側で負担させるべくステ
ップ131へ進む。
In step 130, the learning correction coefficient KBLRCI in the area determined to have been learned on the 4×4 grid map is
The average value (S um/W ) and the target convergence value Targ
It is determined whether the absolute value of the deviation from et is less than a predetermined value. If the deviation is less than a predetermined value, the program is terminated, but if it is greater than or equal to the predetermined value, the learning correction coefficient K corresponding to all operating regions should be
The correction amount to be borne by the BLRCφ side is the learning correction coefficient KB.
It is assumed that this has been transferred to the LRCI side, and the process proceeds to step 131 in order to have the learning correction coefficient KBLRCφ side bear the burden of this transfer.

ステップ131ては、以下の式に従って学習補正係数K
BLRCφの学習更新を行わせる。
In step 131, the learning correction coefficient K is determined according to the following formula.
The learning update of BLRCφ is performed.

にBLRCφ← 即ち、4×4格子マツプ上の学習済領域で平均的に負担
している補正分を、全運転領域で補正する学習補正係数
KBLRCφに転嫁して、学習補正係数KBLRCIが
目標収束値付近に学習されるようにするものである。
BLRCφ← In other words, the average correction amount in the learned area on the 4×4 grid map is transferred to the learning correction coefficient KBLRCφ that is corrected in all operating areas, and the learning correction coefficient KBLRCI becomes the target convergence value. It is intended to be learned in the vicinity.

ここで、学習補正係数KBLRCIを同じ領域の学習補
正係数KBLRC2に基づいて補正した場合と同様に、
学習補正係数KBLRCφを補正した分を、各学習補正
係数KBLRCIに逆補正することか必要になり、ステ
ップ132〜ステツプ137ては、4×4格子マツプの
全ての運転領域の学習補正係数KBLRCIから、学習
補正係数KBLRCφに加算補正した分(S un/Z
 −Target) Xγ2を減算して修正する。
Here, similarly to the case where the learning correction coefficient KBLRCI is corrected based on the learning correction coefficient KBLRC2 of the same area,
It is necessary to reversely correct the learning correction coefficient KBLRCφ by the amount corrected to each learning correction coefficient KBLRCI, and in steps 132 to 137, from the learning correction coefficient KBLRCI of all driving regions of the 4×4 grid map, The amount of correction added to the learning correction coefficient KBLRCφ (S un/Z
-Target) Correct by subtracting Xγ2.

〈発明の効果〉 以上説明したように本発明によると、空燃比フィードバ
ック補正値の平均値の変化巾か所定レベル以上であると
きに、学習を禁止するようにしたので、過渡運転時の空
燃比ずれが誤学習されることを抑止でき、加速時(減速
時)に誤学習されたものが減速時(加速時)に用いられ
たり、定常時に用いられたりして、大きな空燃比段差が
発生することを防止できるという効果がある。
<Effects of the Invention> As explained above, according to the present invention, learning is prohibited when the range of change in the average value of the air-fuel ratio feedback correction value is greater than or equal to a predetermined level. It is possible to prevent errors from being learned incorrectly, and what is incorrectly learned during acceleration (deceleration) is used during deceleration (acceleration) or during steady state, resulting in large air-fuel ratio differences. This has the effect of preventing this.

また、機関運転条件に応じて予め設定された空燃比制御
の予測誤差率データに基づいて運転領域毎に前記変化巾
を判別するための所定レベルを設定することで、過渡運
転による変化巾とベース空燃比ずれによる変化巾との判
別が精度良く行え、誤学習の防止を図りつつ、学習機会
を確保することができる。
In addition, by setting a predetermined level for determining the range of change for each operating region based on predicted error rate data for air-fuel ratio control that is preset according to engine operating conditions, the range of change due to transient operation and the base It is possible to accurately discriminate between the range of change due to air-fuel ratio deviation, and it is possible to secure learning opportunities while preventing erroneous learning.

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

第1図は本発明の構成を示すブロック図、第2図は本発
明の一実施例を示すシステム概略図、第3図〜第9図は
それぞれ同上実施例における制御内容を示すフローチャ
ート、第10図及び第11図はそれぞれ同上実施例にお
ける学習マツプの様子を説明するための線図、第12図
及び第13図はそれぞれ従来の学習制御の問題点を説明
するためのタイムチャートである。 1、・・機関  6・・・燃料噴射弁  12・・・コ
ントロー/L、ユニット13・・・エアフローメ−91
4・・・クランク角センサ  15・・・水温センサ 
 166.・酸素センサ 特許出願人 日本電子機器株式会社 代理人 弁理士 笹 島 富二雄 第6図 第10図 第12図 にBLRC
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a system schematic diagram showing an embodiment of the present invention, FIGS. 3 to 9 are flowcharts showing control details in the above embodiment, and FIG. 11 and 11 are diagrams for explaining the state of the learning map in the above embodiment, respectively, and FIGS. 12 and 13 are time charts for explaining the problems of conventional learning control, respectively. 1. Engine 6... Fuel injection valve 12... Controller/L, unit 13... Air flow meter 91
4...Crank angle sensor 15...Water temperature sensor
166.・Oxygen sensor patent applicant Fujio Sasashima, agent and patent attorney for Japan Electronics Co., Ltd. BLRC in Figures 6, 10, and 12

Claims (2)

【特許請求の範囲】[Claims] (1)機関に吸入される空気量に関与する運転パラメー
タを少なくとも含む機関運転条件を検出する機関運転条
件検出手段と、 該機関運転条件検出手段で検出した機関運転条件に基づ
いて基本燃料供給量を設定する基本燃料供給量設定手段
と、 機関吸入混合気の空燃比を検出する空燃比検出手段と、 該空燃比検出手段で検出された空燃比と目標空燃比とを
比較して実際の空燃比を前記目標空燃比に近づけるよう
に前記基本燃料供給量を補正するための空燃比フィード
バック補正値を増減設定する空燃比フィードバック補正
値設定手段と、機関運転条件に基づく所定の運転領域毎
に前記基本燃料供給量を補正するための空燃比学習補正
値を書き換え可能に記憶した空燃比学習補正値記憶手段
と、 前記空燃比フィードバック補正値の目標収束値からの偏
差を学習し、前記偏差を減少させる方向に前記空燃比学
習補正値記憶手段に記憶されている空燃比学習補正値を
修正して書き換える空燃比学習補正値修正手段と、 前記基本燃料供給量、空燃比フィードバック補正値、及
び、空燃比学習補正値記憶手段に記憶されている該当す
る運転領域の空燃比学習補正値に基づいて最終的な燃料
供給量を設定する燃料供給量設定手段と、 該燃料供給量設定手段で設定された燃料供給量に基づい
て燃料供給手段を駆動制御する燃料供給制御手段と、 前記空燃比フィードバック補正値設定手段で設定される
空燃比フィードバック補正値の平均値の変化巾が所定レ
ベル以上であるときに前記空燃比学習補正値修正手段に
よる空燃比学習補正値の修正書き換えを禁止する学習禁
止手段と、 を含んで構成されたことを特徴とする内燃機関の空燃比
学習制御装置。
(1) An engine operating condition detection means for detecting engine operating conditions including at least operating parameters related to the amount of air taken into the engine, and a basic fuel supply amount based on the engine operating conditions detected by the engine operating condition detection means. basic fuel supply amount setting means for setting the air-fuel ratio; air-fuel ratio detection means for detecting the air-fuel ratio of the air-fuel mixture taken into the engine; and comparing the air-fuel ratio detected by the air-fuel ratio detection means with a target air-fuel ratio to determine the actual air-fuel ratio. air-fuel ratio feedback correction value setting means for increasing or decreasing an air-fuel ratio feedback correction value for correcting the basic fuel supply amount so as to bring the fuel ratio closer to the target air-fuel ratio; an air-fuel ratio learning correction value storage means for rewritably storing an air-fuel ratio learning correction value for correcting a basic fuel supply amount; and learning a deviation of the air-fuel ratio feedback correction value from a target convergence value, and reducing the deviation. an air-fuel ratio learning correction value correcting means for correcting and rewriting the air-fuel ratio learning correction value stored in the air-fuel ratio learning correction value storage means in a direction in which the basic fuel supply amount, the air-fuel ratio feedback correction value, and the air-fuel ratio learning correction value are a fuel supply amount setting means for setting a final fuel supply amount based on an air-fuel ratio learning correction value for a corresponding operating region stored in a fuel ratio learning correction value storage means; a fuel supply control means for driving and controlling the fuel supply means based on the fuel supply amount; and when a range of change in the average value of the air-fuel ratio feedback correction value set by the air-fuel ratio feedback correction value setting means is equal to or greater than a predetermined level. An air-fuel ratio learning control device for an internal combustion engine, comprising: learning inhibiting means for prohibiting the air-fuel ratio learning correction value modification means from rewriting the air-fuel ratio learning correction value.
(2)機関運転条件に応じて予め設定された空燃比制御
の予測誤差率データと、前記空燃比学習補正値記憶手段
において運転領域を区切る運転条件のデータとに基づい
て、前記学習禁止手段における所定レベルを前記空燃比
学習補正値記憶手段の所定の運転領域毎に設定する学習
禁止レベル設定手段を設けたことを特徴とする請求項1
記載の内燃機関の空燃比学習制御装置。
(2) Based on the prediction error rate data of the air-fuel ratio control preset according to the engine operating conditions and the data of the operating conditions that demarcate the operating range in the air-fuel ratio learning correction value storage means, the learning inhibiting means Claim 1, further comprising learning prohibition level setting means for setting a predetermined level for each predetermined operating range of the air-fuel ratio learning correction value storage means.
The air-fuel ratio learning control device for the internal combustion engine described above.
JP30121090A 1990-11-08 1990-11-08 Air-fuel ratio learning controller for internal combustion engine Pending JPH04175435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30121090A JPH04175435A (en) 1990-11-08 1990-11-08 Air-fuel ratio learning controller for internal combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30121090A JPH04175435A (en) 1990-11-08 1990-11-08 Air-fuel ratio learning controller for internal combustion engine

Publications (1)

Publication Number Publication Date
JPH04175435A true JPH04175435A (en) 1992-06-23

Family

ID=17894113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30121090A Pending JPH04175435A (en) 1990-11-08 1990-11-08 Air-fuel ratio learning controller for internal combustion engine

Country Status (1)

Country Link
JP (1) JPH04175435A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009036024A (en) * 2007-07-31 2009-02-19 Denso Corp Air-fuel ratio control device of internal combustion engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009036024A (en) * 2007-07-31 2009-02-19 Denso Corp Air-fuel ratio control device of internal combustion engine
US7987039B2 (en) 2007-07-31 2011-07-26 Denso Corporation Air-fuel ratio controller for internal combustion engine

Similar Documents

Publication Publication Date Title
JPH0826805B2 (en) Air-fuel ratio learning controller for internal combustion engine
US4800857A (en) Apparatus for learn-controlling air-fuel ratio for internal combustion engine
KR930007608B1 (en) Air-fuel ratio control system for internal combustion engine
JPH0526085A (en) Air-fuel ratio controller for internal combustion engine
JPH03179147A (en) Air-fuel learning controller for internal combustion engine
JPH04175435A (en) Air-fuel ratio learning controller for internal combustion engine
JPH04175434A (en) Air-fuel ratio learning controller for internal combustion engine
JPH0979072A (en) Air-fuel ratio learning control device for internal combustion engine
JP3680501B2 (en) Air-fuel ratio control device for internal combustion engine
JPH04241756A (en) Air-fuel ratio study control device for internal combustion engine
JPH04237847A (en) Air-fuel ratio learning controller for internal combustion engine
JP2627825B2 (en) Air-fuel ratio learning control device for internal combustion engine
JP2631579B2 (en) Air-fuel ratio learning control device for internal combustion engine
KR930007609B1 (en) Air-fuel ratio control system for internal combustion engine
JPH0455236Y2 (en)
JPH04255544A (en) Air-fuel ratio study control device for internal combustion engine
JPH08291738A (en) Air-fuel ratio feedback control device for engine
JPH01106947A (en) Control device for learning of internal combustion engine
JPH04203235A (en) Air-fuel ratio learning controller for internal combustion engine
JPH01106945A (en) Control device for learning of internal combustion engine
JPH04219440A (en) Air-fuel ratio learning controller of internal combustion engine
JPH04321741A (en) Air-fuel ratio learning control device for internal combustion engine
JP2592327B2 (en) Fuel supply control device for internal combustion engine
JPH04318247A (en) Air-fuel ratio study control device for internal combustion engine
JPH04318246A (en) Air-fuel ratio study control device for internal combustion engine