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

Air-fuel ratio learning controller for internal combustion engine

Info

Publication number
JPH04175434A
JPH04175434A JP29907390A JP29907390A JPH04175434A JP H04175434 A JPH04175434 A JP H04175434A JP 29907390 A JP29907390 A JP 29907390A JP 29907390 A JP29907390 A JP 29907390A JP H04175434 A JPH04175434 A JP H04175434A
Authority
JP
Japan
Prior art keywords
air
fuel ratio
learning
correction value
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP29907390A
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 JP29907390A priority Critical patent/JPH04175434A/en
Publication of JPH04175434A publication Critical patent/JPH04175434A/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 by converting the correction degree of the air-fuel ratio learning correction value depending on the acceleration or deceleration degree of an engine or the a deflection of the air-fuel ratio feedback correction value, and converting the learning running speed corresponding to the acceleration or deceleration degree of the engine. 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 device 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 ratio learning correction value is corrected by a means F by learning the deflection of the air-fuel ratio 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 depending on the acceleration or deceleration operation degree of the engine detected by a means J, the correcting degree of the air-fuel ratio learning correction value is converted, and the learning running speed is converted by a means K corresponding to the acceleration or deceleration degree of the engine.

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. 61-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 the rich/lean ratio with respect to the target air-fuel ratio (for example, the stoichiometric air-fuel ratio) determined by the oxygen sensor. This provides feedback control to the target 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 depending on the operating conditions, 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は例えば第13図に示すよう
な挙動を示し、かかる過渡運転のために発生した空燃比
ずれを解消するような学習がこのときになされて記憶さ
れることになる。このため、この加速運転による空燃比
リーン化か学習された領域で、次に減速運転や定常運転
されると、第14図に示すように要求とは大きく異なる
学習補正値に基づいて燃料噴射量か補正設定されること
になり、学習補正値を用いることで逆に空燃比ずれを助
長させるような結果となり、大きな空燃比段差が発生し
排気中のC02HC又は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 the direction of eliminating 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 area where the lean air-fuel ratio has been learned due to acceleration operation, the fuel injection amount is determined based on the learned correction value which is significantly different from the request, as shown in Fig. 14. The problem is that using the learned correction value actually aggravates the air-fuel ratio deviation, causing a large air-fuel ratio difference and increasing CO2HC or NOx in the exhaust gas. there were.

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

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

〈課題を解決するための手段〉 そのため本発明にかかる内燃機関の空燃比学習制御装置
は、第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 detects the detected engine operating condition. Set the basic fuel supply amount based on.

また、空燃比検出手段は、機関吸入混合気の空燃比を検
出し、空燃比フィードバック補正値設定手段は、前記検
出された空燃比と目標空燃比とを比較して実際の空燃比
を前記目標空燃比に近づけるように前記基本燃料供給量
を補正するための空燃比フィードバック補正値を増減設
定する。
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.

ここで、加減速度合いによる学習速度変更手段は、加減
速運転度合い検出手段で検出される機関の加減速運転度
合いに基づいて前記空燃比学習補正値修正手段による空
燃比学習補正値の修正度合いを変化させることにより学
習進行速度を機関の加減速度合いに応じて変化させる。
Here, the learning speed changing means based on the degree of acceleration/deceleration adjusts the degree of correction of the air-fuel ratio learning correction value by the air-fuel ratio learning correction value correcting means based on the degree of engine acceleration/deceleration detected by the acceleration/deceleration degree detection means. By changing this, the learning progress speed is changed according to the degree of acceleration/deceleration of the engine.

また、前記加減速運転度合い検出手段及び加減速度合い
による学習速度変更手段に代えて、第1図点線示の偏差
による学習速度変更手段を設けた場合、この偏差による
学習速度変更手段は、前記空燃比フィードバック補正値
の平均値の偏差に基づいて前記空燃比学習補正値修正手
段による空燃比学習補正値の修正度合いを変化させるこ
とにより学習進行速度を前記偏差に応じて変化させる。
Furthermore, when a learning speed changing means based on the deviation shown in FIG. The learning progress speed is changed in accordance with the deviation by changing the degree of correction of the air-fuel ratio learning correction value by the air-fuel ratio learning correction value correction means based on the deviation of the average value of the fuel ratio feedback correction value.

また、上記第1図に示す本発明の構成において、前記空
燃比学習補正値記憶手段が、同一運転領域を相互に大き
さの異なる単位運転領域に基づきそれぞれ区分した複数
種の学習マツプを備え、該複数の学習マツプそれぞれの
区分された運転領域毎に空燃比学習補正値を書き換え可
能に記憶するよう構成されることが好ましい。
Further, in the configuration of the present invention shown in FIG. 1, the air-fuel ratio learning correction value storage means includes a plurality of types of learning maps in which the same operating region is divided based on unit operating regions of mutually different sizes, Preferably, the air-fuel ratio learning correction value is rewritably stored for each divided operating region of each of the plurality of learning maps.

〈作用〉 かかる構成によると、空燃比フィードバック補正値の目
標収束値からの偏差を学習し、かかる偏差を減少させる
方向に空燃比学習補正値を修正する空燃比学習において
、機関の加減速度合いに応じて空燃比学習補正値の修正
度合いを変化させ、以て、学習進行速度を機関の加減速
度合いに応じて変化させる。
<Operation> According to this configuration, during 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 degree of acceleration/deceleration of the engine is adjusted. The degree of correction of the air-fuel ratio learning correction value is changed accordingly, and the learning progress speed is thereby changed according to the degree of acceleration/deceleration of the engine.

従って、機関の加減速度合いが大きく、大きな空燃比ず
れが発生する場合には、学習の進行を遅くして過渡時の
空燃比ずれによる誤学習を回避することが可能になると
共に、定常時には逆に学習の進行を速めて速やかな学習
収束を図ることが可能となる。
Therefore, when the degree of acceleration/deceleration of the engine is large and a large air-fuel ratio deviation occurs, it is possible to slow down the learning progress and avoid erroneous learning due to air-fuel ratio deviation during transient periods, and vice versa during steady state. It becomes possible to accelerate the progress of learning and achieve rapid convergence of learning.

また、前記機関の加減速度合いか大きいときには、大き
な空燃比ずれが発生し、これに伴って空燃比フィードバ
ック補正値が大きくシフトするのて、加減速度合いの代
わりに空燃比フィードバック補正値の平均値の偏差に応
じて学習進行速度(空燃比学習補正値の修正度合い)を
変化させても良い。
Furthermore, when the degree of acceleration/deceleration of the engine is large, a large air-fuel ratio deviation occurs, and the air-fuel ratio feedback correction value shifts accordingly. The learning progress speed (degree of correction of the air-fuel ratio learning correction value) may be changed depending on the deviation of the air-fuel ratio learning correction value.

更に、空燃比学習補正値記憶手段が、同一運転領域を相
互に大きさの異なる単位運転領域に基づきそれぞれ区分
した複数種の学習マツプを備え、該複数の学習マツプそ
れぞれの区分された運転領域毎に空燃比学習補正値を書
き換え可能に記憶するよう構成されるものであれば、学
習の収束速度の向上と運転領域の違いによる空燃比側a
II精度の段差の抑止とを両立できると共に、上記のよ
うな空燃比学習進行速度の変更制御により、たとえ運転
領域を細かく区分した学習マツプを用いても、過渡時の
空燃比ずれかそのまま学習されてしまうことがない。
Furthermore, the air-fuel ratio learning correction value storage means includes a plurality of types of learning maps in which the same operating region is divided based on unit operating regions of mutually different sizes, and the air-fuel ratio learning correction value storage means is provided with a plurality of types of learning maps, each of which divides the same operating region based on unit operating regions of mutually different sizes. If the air-fuel ratio learning correction value is stored in a rewritable manner, the learning convergence speed can be improved and the air-fuel ratio side
In addition to being able to suppress steps with II precision, by controlling the change in the air-fuel ratio learning progress speed as described above, even if a learning map that finely divides the operating range is used, air-fuel ratio deviations during transient times can be learned as they are. There is no need to worry.

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

一実施例を示す第2図において、内燃機関lにはエアク
リーナ2から吸気ダクト3.スロットル弁4及び吸気マ
ニホールド5を介して空気か吸入される。吸気マニホー
ルド5のブランチ部には各気筒別に燃料供給手段として
の燃料噴射弁6か設けられている。この燃料噴射弁6は
、ソレノイドに通電されて開弁し、通電停止されて閉弁
する常閉型の電磁式燃料噴射弁てあって、後述するコン
トロールユニット12からの駆動パルス信号により通電
されて開弁し、図示しない燃料ポンプから圧送されてプ
レッシャレギュレータにより所定の圧力に調整された燃
料を噴射供給する。
In FIG. 2 showing one embodiment, an internal combustion engine l 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. The valve is opened, and 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が設けられていて、これ
により火花点火して混合気を着火燃焼させる。そして、
機関lからは、排気マニホールド8、排気ダクト9.三
元触媒10及びマフラー1)を介して排気が排出される
Each combustion chamber of the engine 1 is provided with an ignition plug 7, which ignites a spark to ignite and burn the air-fuel mixture. and,
From the engine I, an exhaust manifold 8, an exhaust duct 9. Exhaust gas is discharged via a three-way catalyst 10 and a muffler 1).

コントロールユニット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か設けられていて、機関Iの吸入空気流量
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 I.

また、クランク角センサ14が設けられていて、4気筒
の場合、クランク角180 ’毎の基準信号REFと、
クランク角1°又は2°毎の単位信号PO8とを出力す
、る。ここで、基準信号REFの周期、或いは、所定時
間内における単位信号Posの発生数を計測することに
より、機関回転速度Nを算出できる。
In addition, a crank angle sensor 14 is provided, and in the case of a 4-cylinder engine, a reference signal REF for each crank angle of 180',
A unit signal PO8 is output for every 1° or 2° of crank angle. Here, the engine rotation speed N can be calculated by measuring the cycle of the reference signal REF or the number of occurrences of the unit signal Pos 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 detecting means is provided at the gathering part of the exhaust manifold 8 to detect the air-fuel ratio of the intake air-fuel mixture through 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 from the stoichiometric air-fuel ratio.

ここにおいて、コントロールユニット12に内蔵された
マイクロコンピュータのCPUは、第3図〜第10図の
フローチャートにそれぞれ示すROM上のプログラムに
従って演算処理を行い、空燃比フィードバック補正制御
及び運転領域毎の空燃比学習補正制御を実行しつつ燃料
噴射量Tiを設定し、機関1への燃料供給を制御する。
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 10, 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 1 is controlled.

尚、本実施例において、基本燃料供給量設定手段、燃料
供給量設定手段、燃料供給制御手段、空燃比フィードバ
ック補正値設定手段、学習補正値修正手段、加減速度合
い検出手段、加減速度合いによる学習速度変更手段、偏
差による学習速度変更手段としての機能は、前記第3図
〜第10図のフローチャートに示すようにソフトウェア
的に備えられており、また、空燃比学習補正値記憶手段
としてはマイクロコンピュータの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, acceleration/deceleration degree detection means, learning by acceleration/deceleration degree The functions of speed changing means and learning speed changing means based on deviation are provided in software as shown in the flowcharts of FIGS. 3 to 10, and the air-fuel ratio learning correction value storage means is provided by a microcomputer RAM or equivalent.

第3図のフローチャートに示すプログラムは、基本燃料
噴射量Tpに乗算される空燃比フィードバック補正係数
LMD (空燃比フィードバック補正値)を、比例・積
分制御により設定するプログラムであり、機関1の1回
転(l rev)毎に実行される。尚、前記空燃比フィ
ードバック補正係数LMDの初期値は1である。
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. (l rev). Note that the initial value of the air-fuel ratio feedback correction coefficient LMD is 1.

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

以下同様)では、酸素センサ(Oz /S) 16から
排気中の酸素濃度に応じて出力される電圧信号を読み込
む。
The same applies hereafter) reads the voltage signal output from the oxygen sensor (Oz/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 (theoretical air-fuel ratio), and the It is determined whether the 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 this is the current rich determination or the first time.

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

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

一方、ステップ3で、リッチ判別が初回でないと判別さ
れたときには、ステップ7へ進み、積分定数Iに最新の
燃料噴射量Tiを乗算した値を、前回までの補正係数L
MDから減算して補正係数LMDを更新し、空燃比のリ
ッチ状態か解消されてリーンに反転するまでの間、本プ
ログラムか実行される毎にこのステップ7でlXTiず
つの減少制御を繰り返す。
On the other hand, when it is determined in step 3 that the rich determination is 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 Ti 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を最小値すにセ
ットし、ステップIOでは、前回までの補正係数LMD
に比例定数Pを加算して更新することにより燃料噴射量
Tiの増量補正を図り、ステップ1)では、比例制御が
実行されたことを示すフラグである前記P分付加に1を
セットする。
Furthermore, when it is determined in step 2 that the air-fuel ratio is close to the target, in the same manner as in the rich determination, it is first determined in step 8 whether or not this lean determination 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 gradually decrease at the time of rich judgment, to the minimum value, and in step IO, the correction coefficient LMD up to the previous time is set 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 1), the P addition, which is a flag indicating that the 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 is not 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 gradually increased. increase to

リッチ・リーン判別の初回で補正係数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.

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

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

上記演算式でABdmyは、比例制御の前回実行時に求
めた補正係数LMDの平均値(= (a+b)/2)で
あり、補正係数LMDの最新平均値から前回平均値を減
算した値、即ち、補正係数LMDの平均レベルの変動量
をΔαとする。
In the above calculation formula, ABdmy is the average value (= (a+b)/2) of the correction coefficient LMD obtained during the previous execution of proportional control, and is the value obtained by subtracting the previous average value from the latest average value of the correction coefficient LMD, that is, The amount of variation in the average level of the correction coefficient LMD is assumed to be Δα.

次のステップ14では、次回に比例制御を実行したとき
に、ステップ13でのΔαの算出に用いるために、補正
係数LMDの最新平均値= (a+b)/2をABdm
yにセットする。
In the next step 14, the latest average value of the correction coefficient LMD = (a+b)/2 is ABdm in order to be used for calculating Δα in step 13 when proportional control is executed next time.
Set to y.

そして、ステップ15では、後述する学習補正係数(空
燃比学習補正値)の修正演算において用いる係数X、X
I、X2を前記Δαに基づいてマツプから検索して求め
る。
Then, in step 15, coefficients X,
I and X2 are determined by searching the map based on the Δα.

前記係数X、XI、X2は、補正係数LMDの目標収束
値に対する偏差に基づく学習補正係数の修正度合いを決
定する値であり、X、 Xl、 X2が大きいときほど
学習補正係数の修正度合いが大きくなり、以て、学習進
行速度が速くなる。
The coefficients X, XI, and X2 are values that determine the degree of modification of the learning correction coefficient based on the deviation of the correction coefficient LMD from the target convergence value, and the larger X, Xl, and X2 are, the greater the degree of modification of the learning correction coefficient. Therefore, the speed of learning progress becomes faster.

ところで、定常運転時には一般的に補正係数LMDは所
定のレベルに安定するが、過渡運転時には大きな空燃比
ずれか生じ、補正係数LMDはかかる空燃比ずれを解消
すべく大きく変動することになる。
Incidentally, during steady operation, the correction coefficient LMD generally stabilizes at a predetermined level, but during transient operation, a large air-fuel ratio deviation occurs, and the correction coefficient LMD changes greatly in order to eliminate such air-fuel ratio deviation.

このため、過渡運転時には前記Δαが大きくなるが、本
実施例では、前記Δαか大きいときほと前記係数X、X
1.X2が小さ(設定されるようにしてあり、これによ
り、補正係数LMDが大きく変動しているときには、学
習補正係数の修正度合いを小さくして学習進行速度が遅
くなるなり、過渡時の空燃比ずれが学習補正係数に大き
く反映されないようになっている。
Therefore, during transient operation, the Δα increases, but in this embodiment, when the Δα is large, the coefficients
1. X2 is set small (as a result, when the correction coefficient LMD fluctuates greatly, the degree of correction of the learning correction coefficient is reduced, slowing down the learning progress speed, and reducing the air-fuel ratio deviation during transients. is not significantly reflected in the learning correction coefficient.

従って、定常運転時などで補正係数LMDが安定してい
るときには、逆に学習補正係数の修正度合いを大きくし
て学習進行速度を高めることができると共に、過渡運転
時などで補正係数LMDか大きく変動しているときには
、学習進行速度を強制的に遅くして過渡運転による空燃
比ず・れが誤学習されてしまうことを防止できるように
しである。
Therefore, when the correction coefficient LMD is stable, such as during steady operation, it is possible to increase the degree of correction of the learning correction coefficient to increase the speed of learning progress, and at the same time, during transient operation, the correction coefficient LMD fluctuates greatly. When the engine is running, the learning progress speed is forcibly slowed down to prevent air-fuel ratio deviations caused by transient operation from being erroneously learned.

次のステップ16では、4×4格子で分けられる運転領
域の中の1つの領域に安定して止まっているか否かを判
別するためのカウント値cntかゼロであるか否かを判
別する。
In the next step 16, it is determined whether the count value cnt, which is used to determine whether the vehicle is stably stationary in one of the operating regions divided by a 4×4 grid, is zero.

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

尚、前記カウント値cntかゼロであるか否かを判別す
ることで、後述するように学習更新を行うか否かを判別
し、運転領域か変化した初期には学習か行われないよう
にしである。
By determining whether or not the count value cnt is zero, it is determined whether learning is to be updated as described later, and learning is not performed in the initial stage when the operating range changes. be.

ステップ18では、後述するように、前記16X 16
格子の学習マツプのそれぞれの運転領域に対応する空燃
比学習補正値が殆ど学習された場合に1かセットされる
フラグflagの判別を行う。
In step 18, as described below, the 16X 16
A flag flag, which is set to 1 when most of the air-fuel ratio learning correction values corresponding to each operating region of the lattice learning map have been learned, is determined.

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

ステップ19では、16X 16格子に分けられる運転
領域の中で前回と同じ領域に止まっているか否かを判別
し、前回の同じ領域でない場合にステップ20へ進む。
In step 19, it is determined whether or not the vehicle remains in the same region as the previous time within the operating region divided into 16×16 grids, and if it is not the same region as the previous time, the process proceeds to step 20.

ステップ20では、最新の補正係数LMD平均値の目標
収束値(=1)に対する偏差の絶対値と、前回における
前記偏差の絶対値との差を求め、かかる値に基づいて学
習値の不適切度合いを示すΔストレスのマツプを参照し
、Δストレスを設定する。
In step 20, the difference between the absolute value of the deviation of the latest correction coefficient LMD average value from the target convergence value (=1) and the absolute value of the previous deviation is calculated, and based on this value, the degree of inappropriateness of the learning value is determined. Set the Δ stress by referring to the Δ stress map.

ステップ18において16X 16格子の学習マツプの
それぞれの運転領域に対応する空燃比学習補正値が殆ど
学習されていると判別されているから、本来であれば、
補正係数LMDはたとえ運転領域か変化しても略一定レ
ベルに安定するはずであるが、運転領域によって学習が
充分に進行していない領域があるとその領域に入ったと
きに生じる空燃比段差を解消しようとして補正係数LM
Dが変動するから、運転領域が変化したときに補正係数
LMDが大きく変動した場合には、前記Δストレスは大
きく設定されるようになっている。
In step 18, it is determined that most of the air-fuel ratio learning correction values corresponding to the respective operating regions of the 16×16 grid learning map have been learned.
The correction coefficient LMD should be stable at a substantially constant level even if the operating range changes, but if there is a range where learning has not progressed sufficiently depending on the operating range, the air-fuel ratio difference that occurs when entering that range is Correction coefficient LM
Since D changes, if the correction coefficient LMD changes greatly when the operating range changes, the Δ stress is set to be large.

更に、ステップ20では、求めたΔストレスを積算し、
該積算結果をストレスとして記憶するようにしである。
Furthermore, in step 20, 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図のフローチャートに示すプログラムは、運転領域
別の空燃比学習プログラムであり、所定微小時間(例え
ば10m5)毎に実行される。
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, every 10 m5).

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

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

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

(a+b)/2が略lでないときには、ステップ26へ
進み、(a+b)/2から補正係数LMDの目標収束値
Target (本実施例では1.0)を減算した値に
所定係数Xを掛けた値を前回までの学習係数KBLRC
φに加算し、該加算結果を新たな学習係数にBLRCφ
として設定する。
When (a+b)/2 is not approximately l, the process proceeds to step 26, and the value obtained by subtracting the target convergence value Target (1.0 in this embodiment) of the correction coefficient LMD from (a+b)/2 is multiplied by a predetermined coefficient Change the value to the previous learning coefficient KBLRC
φ and use the addition result as a new learning coefficient BLRCφ
Set as .

ここで、上記全運転領域に適用される学習補正係数KB
LRCφの学習更新時に用いられる係数Xは、前述のよ
うに第3図のフローチャートにおいて補正係数LMDの
偏差に応じて可変設定されるものである。
Here, the learning correction coefficient KB applied to all the above operating regions
The coefficient X used when updating the learning of LRCφ is variably set according to the deviation of the correction coefficient LMD in the flowchart of FIG. 3, as described above.

また、ステップ26では、4×4格子マツプ及び16X
 16格子マツプのそれぞれの運転領域に記憶されてい
る学習補正係数KBLRC1,学習補正係数KBLRC
2を全て初期値である1をリセットする。従って、上記
学習補正係数KBLRCφを学習更新するときには、た
とえ4×4格子マツプ及び16X16格子ラツプで学習
値が記憶されていても、そのデータをリセットして新た
に学習を行わせるものである。
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
Reset all 2 to the initial value 1. Therefore, when learning and updating the learning correction coefficient KBLRCφ, even if learning values are stored in the 4×4 lattice map and 16×16 lattice wrap, the data is reset and new learning is performed.

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

一方、ステップ23で前記フラグFφが1であると判別
された場合には、全運転領域に対応する学習補正係数K
BLRCφの学習が済んでいることを示すから、今度は
運転領域を基本燃料噴射量Tpと機関回転速度Nとに基
づいて複数に区分して各領、域毎に空燃比学習を行う。
On the other hand, if it is determined in step 23 that the flag Fφ is 1, 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が16格子の何番目に含まれるかを判
別するためのカウンタ値iにゼロをセットし、次のス会
ツブ29では、前記カウンタ値iが15を越えるか否か
を判別し、15を越えていないときには、ステップ30
でカウント値iに対応する゛基本燃料噴射量Tpのしき
い値’rp (i)と最新に演算された基本燃料噴射量
Tpとを比較する。
First, in step 28, a counter value i for determining which position of the 16 grids the current basic fuel injection amount (basic fuel supply amount) Tp is included in is set to zero, and in the next step 29, , it is determined whether the counter value i exceeds 15 or not, and if it does not exceed 15, step 30
Then, the threshold value 'rp (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ブロックの番号を示すものとしてIにセ
ットするものである。
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 advances to step 33 and the count value i at that time is calculated as the latest basic fuel injection amount Tp. The position of the included region is set to I. That is, the maximum basic fuel injection amount Tp of each region is set in advance as the threshold value Tp (i), and the latest basic fuel injection amount Tp and the threshold value Tp ( i) are compared in order from the smallest side, and when Tp(i)>Tp for the first time, i is set to I as indicating the number of the Tp block.

また、ステップ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. do it like this.

そして、ステップ31でカウント値iが16にカウント
アツプされたときには、0〜15までの16格子(16
ブロツク)に分けた基本燃料噴射量Tp範囲の初期設定
した最大値よりも大きな基本燃料噴射量Tpが演算され
た状態であり、このときには、ステップ32でiに15
をセットしてからステップ33へ進むようにし、−初期
設定されたTpプロ1.りの最大Tp領領域現在のTp
か含まれるものと仮定する。
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 initially set maximum value of the basic fuel injection amount Tp range divided into blocks) has been calculated, and at this time, i is set to 15 in step 32.
is set before proceeding to step 33, - the initialized Tp Pro 1. Maximum Tp area of current Tp
It is assumed that the

次は、機関回転速度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が15
を越えたときには、ステップ38へ進んでカウント値k
に15をセットしてステップ39へ進む。
Next, to divide into 16 blocks based on engine speed N,
In the same manner as the above-mentioned determination of whether the basic fuel injection amount Tp is professional or not, the block number that includes 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, a comparison is made with the threshold value N (k) in step 36. , the count value k when N (k)>N for the first time is set to K indicating the block number of N in step 39, and N
When (k)≦N, the count value k is incremented by 1 in step 37. Also, the count value k is 15
When the count value k is exceeded, the process proceeds to step 38 and the count value k is
Set 15 to , and proceed to step 39.

このようにして、基本燃料噴射量Tpと機関回転速度N
とをパラメータとして16X 1657)256運転領
域に分割される学習マツプのどの運転領域に現在の運転
条件が含まれるかが、Tpのブロック番号■とNのブロ
ック番号にとによって指示される座標(K、I)で表さ
れる。
In this way, the basic fuel injection amount Tp and the engine rotation speed N
The coordinate (K , I).

16X16格子の該当する位置が上記のようにして判明
すれば、第1)図に示すように4×4格子の運転領域マ
ツプにおける1つの運転領域は、16X 16格子の運
転領域における4 X 4 =16領域を1ブロツクと
して区切ったものであるから、前記1. Kに基づいて
4×4格子の学習マツプにおいて現在の運転条件が該当
する位置を特定できる。
If the corresponding position of the 16×16 grid is found as described above, one operating region in the 4×4 operating region map as shown in Figure 1) is 16×4×4=4 in the 16×16 operating region. Since 16 areas are divided into 1 block, the above 1. Based on K, the position to which the current operating conditions apply can be identified in the 4x4 grid learning map.

即ち、ステップ40では、前記Tpのブロック番号Iを
4で除算して、その結果の少数点以下を切り捨てた整数
値をAにセットし、また、ステップ41では、Nのブロ
ック番号Kを同様にして4で除算して、その結果の少数
点以下を切り捨てた整数値をBにセットする。これによ
り、今回の運転条−件が該当する4X4格子マツプの領
域位置は(B。
That is, in step 40, the block number I 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 set. Divide by 4 and set the integer value of the result, 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 (B).

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

次のステップ42では、4×4格子マツプ上の該当する
領域位置を示す(B、A)を用い、4X4格子上で該当
する運転領域か変化したか否かを判別するために、前記
へに16を乗算した値とBとを加算してその結果をAB
にセットする。
In the next step 42, using (B, A) indicating the position of the corresponding area on the 4x4 grid map, in order to determine whether or not the corresponding operating area on the 4x4 grid has changed, Add the value multiplied by 16 and B and the result is AB
Set to .

そして、ステップ43では前回演算されたABであるA
BOLDと最新のABとを比較することにより、今回が
該当する領域と前回とが同じであるか否かを判別する。
Then, in step 43, A
By comparing BOLD with the latest AB, it is determined whether or not the current area is the same as the previous one.

A B ′:l−A B OLDであって、4×4格子
で前回と異なる運転領域であるときには、ステップ44
でカウント値cntに所定値(例えば4)をセットする
A B ′:l-A B OLD, and when the operating region is different from the previous one in the 4×4 grid, step 44
The count value cnt is set to a predetermined value (for example, 4).

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

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

ステップ47で<i前記カウント値cntかゼロであ。In step 47, <i the count value cnt is zero.

るか否かを判別し、ゼロでなく4×4格子マツプにおけ
る該当領域の変動があるときには、そのまま本プログラ
ムを終了させ、カウント値cntかゼロであって該当す
る運転領域に安定して止まっているときにのみステップ
48へ進む。
If it is not zero and there is a fluctuation in the corresponding area in the 4x4 grid map, this program is terminated and the count value cnt is zero and remains stably in the corresponding operating area. Proceed to step 48 only when there is.

ステップ48では、前記第3図のフローチャートでサン
プリングされる空燃比フィードバック補正係数LMDの
最大・最小値a、 bの平均値(a+b)/2、即ち、
補正係数LMDの中心値が、目標収束値である初期値(
=1)付近であるか否かによって学習の進行を判別し、
略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.
The center value of the correction coefficient LMD is the initial value (
=1) Determine the progress of learning based on whether or not it is nearby,
If it is not recognized that the value is approximately 1 and learning has not been completed, the process proceeds to step 50.

ステップ50では、4×4格子マツプにおいて今回の(
B、 A)領域に対応して記憶されている学習補正係数
KBLRCIに対して、最大・最小値a、 bの平均値
から目標収束値Target(本実施例では1.0)を
減算した値に所定係数X1を掛けた値を加算し、その結
果を4×4格子マツプ上の今回の運転領域CB、 A)
に対応する学習補正係数KBLRCIとして新たに設定
する。
In step 50, the current (
For the learning correction coefficient KBLRCI stored corresponding to the area B and A), the target convergence value Target (1.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格子マツプの領域別に記憶される学習補
正係数KBLRCIの学習更新に用いる係数Xlも、学
習補正係数KBLRCφの学習更新時に用いた係数Xと
同様に、補正係数LMDの偏差に基づいて可変設定され
るものであり、補正係数LMDが変動しているときには
、前記X1か小さな値に設定されて、過渡運転によって
補正係数LMDか変動しているときに、これに基づき前
記学習係数に8LRC1の誤学習がなされることを抑止
できるようになっている。
Incidentally, the coefficient Xl used for the learning update of the learning correction coefficient KBLRCI stored for each region of the 4×4 grid map is also based on the deviation of the correction coefficient LMD, similar to the coefficient X used for learning update of the learning correction coefficient KBLRCφ. When the correction coefficient LMD is fluctuating, the above-mentioned X1 is set to a small value, and when the correction coefficient LMD is fluctuating due to transient operation, the learning coefficient is set based on this. This makes it possible to prevent erroneous learning of 8LRC1.

ステップ48で、(a+b)/2か略1であると判別さ
れれば、現状の運転条件か含まれる4×4格子マツプの
運転領域での学習が終了したことになるから、ステップ
49でフラグF (B、 A)に1をセットし、フラグ
F (B、 A)か1である領域については学習か終了
していることが判別されるようにする。
If it is determined in step 48 that (a+b)/2 or approximately 1, it means that the learning in the operating region of the 4×4 grid map that includes the current operating conditions has been completed, so in step 49 the flag is flagged. F (B, A) is set to 1, and it is determined that learning has been completed for areas where flag F (B, A) is 1.

このような4×4格子マツプの学習中においては、更に
細かい16X 16格子マツプにおける学習補正係数K
BLRC2については、ステップ51でこれを全て初期
値lとする。
During learning of such a 4x4 grid map, the learning correction coefficient K for a finer 16x16 grid map is
As for BLRC2, in step 51, all of these are set to the initial value l.

このように、4X4格子マツプで学習が終了していない
領域があるときには、その運転領域で安定したときに(
a十b)/2の目標値Targetからの偏差の所定割
合を、それまでに記憶されていた学習補正係数KBLR
CIに加算して更新することにより、空燃比フィ′−ド
パツク補正係数LMDの代わりに学習補正係数KBLR
CIによる補正で目標空燃比が得られるようにし、空燃
比フィードバック補正係数LMDが目標収束値である初
期値1に略収束した時点でその運転領域の学習が終了し
たものとする。
In this way, when there is a region in the 4X4 grid map where learning has not been completed, when the driving region becomes stable, (
A predetermined percentage of the deviation from the target value Target of a + b)/2 is calculated using the previously stored learning correction coefficient KBLR.
By adding and updating the CI, the learning correction coefficient KBLR is used instead of the air-fuel ratio feed pack 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 (B、 A)が1で
あると判別され、4×4格子マツプの現状で該当する運
転領域に学習済の学習補正係数KBLRCIが記憶され
ているときには、学習補正係数KBLRCIか記憶され
ている今回の4×4格子マツプ上の運転領域CB、 A
)を、更に4X4格子で16領域に細分する16X 1
8格子学習マツプの学習へ移行する。
On the other hand, if it is determined in step 46 that the flag F (B, A) is 1, and the learned learning correction coefficient KBLRCI is stored in the corresponding driving region in the current state of the 4x4 grid map, the learning correction coefficient KBLRCI is stored. Operating area CB, A on the current 4x4 grid map where the coefficient KBLRCI is stored
) is further subdivided into 16 regions using a 4X4 grid.16X 1
Move on to learning the 8-lattice learning map.

ステップ52では、補正係数LMDの平均値である(a
+b)/2が、目標収束値の1に略一致しているか否か
の判別を行い、(a十b)/2が略lでなく空燃比フィ
ードバック補正係数LMDによる補正を必要としている
未学習状態であるときには、ステップ53へ進む。
In step 52, 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 53.

ステップ53では、(a+b)/2から目標収束値Ta
rget (本実施例では1.0)を減算した値に所定
係数X2を掛けた値を、16X16格子学習マツプの現
在の運転条件が含まれる運転領域(K、  I)に対応
して記憶されている学習補正係数KBLRC2(K、I
)に加算し、この加算結果を当該運転領域(K、I)に
おける新たな補正係数KBLRC2(K、  ・■〕と
して設定する。
In step 53, the target convergence value Ta is calculated from (a+b)/2.
The value obtained by subtracting rget (1.0 in this embodiment) and multiplying by a predetermined coefficient The learning correction coefficient KBLRC2 (K, I
), and the addition result is set as a new correction coefficient KBLRC2 (K, .■) in the relevant operating region (K, I).

KB[、RC2(K  、[3+X2   (−−’(
’arget)ここでも、上記学習補正係数KBLRC
2(K、  l )の学習更新に用いられる前記係数X
2は、前述した係数X、Xlと同様に、補正係数LMD
の偏差に基づいて設定され、学習進行速度か可変制御さ
れるようにしである。
KB[, RC2(K, [3+X2 (--'(
'arget) Again, the above learning correction coefficient KBLRC
The coefficient X used for learning update of 2(K, l)
2 is the correction coefficient LMD, similar to the coefficients X and Xl described above.
The learning progress rate is set based on the deviation of the learning rate and is controlled variably.

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

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

ステップ55では、16X 16格子マツプにおいて現
在の運転条件が含まれる領域位置を示す(K、  I)
からそれぞれlを減算した値をm、nにセットし、次の
ステップ56ではm=に+2であるか否かを判別する。
In step 55, the position of the region including the current operating conditions is indicated in the 16×16 grid map (K, I).
The values obtained by subtracting 1 from each are set in m and n, and in the next step 56, it is determined whether m=+2 or not.

ステップ55からステップ56へ進んだときには、ステ
ップ56でNOの判別が下されるから、ステップ57に
進んで(m、n)で示される16X16格子のうちの1
つの運転領域の学習が終了しているか否かを、フラグF
F(m、n)が1であるかゼロであるかによって判別す
る。
When the process proceeds from step 55 to step 56, the determination in step 56 is NO, so the process proceeds to step 57, where one of the 16×16 grids indicated by (m, n) is selected.
Flag F
The determination is made depending on whether F(m, n) is 1 or zero.

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

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

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

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

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

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

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

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

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

従って、最初はn=1−1としてmをKを中心とする±
1の範囲で動かして隣接する領域の判別を行わせたのに
対し、次はn=IとしてmをKを中心とする±1の範囲
で動かし、更に、次にはn=I+1としてmをKを中心
とする±1の範囲で動かし、結果、(K、  I)を囲
む8つの運転領域(第12図参照)について未学習であ
るときには、学習補正係数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 set when the eight operating regions surrounding (K, I) (see Figure 12) have not been learned.
) as the learning correction coefficient KBLRC for that operating region.
2(m, n).

このように学習済の領域の学習結果を回りの未学習領域
にも適用させるようにすれば、16X 16格子のよう
に運転領域を細分化して各運転領域の学習機会か少ない
場合であっても、運転領域間て空燃比制御性に段差が発
生することを防止できる。
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 regions.

ステップ62でn=1+2であると判別されたときには
、(K、  I)を囲む8つの運転領域全ての判別処理
が終わったことになるので、このときには、ステップ5
3へ進んで、今回の領域(K、  I)において既に学
習済であると判断されている学習補正係数KBLRC2
の学習更新を行わせ、更に学習精度の向上を図る。
When it is determined in step 62 that n=1+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 3 and select the learning correction coefficient KBLRC2, which is determined to have already been learned in this area (K, I).
The learning accuracy is further improved by updating the learning.

このように、本実施例では、まず、全運転領域に対応す
る学習補正係数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 trained using the x4 grid learning map, we have divided that area into 4 x 4 grids for learning, so that learning can progress from large driving areas to small driving areas. The convergence of the air-fuel ratio is ensured by learning over a large operating range, and as the learning progresses, learning is performed for each smaller operating range, so the accuracy can be adjusted to the difference in the required correction value due to the difference in operating range. I can handle it well.

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

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

ステップ73では、KBLRCφ+KBLRCl + 
KBLRC2−2,0→KBLRCとして最終的な学習
補正係数KBLRCを設定する。
In step 73, KBLRCφ+KBLRCl +
The final learning correction coefficient KBLRC is set as KBLRC2-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図のフローチャートに示すプログラムは、所定微小
時間(例えば10m5)毎に実行されるものであり、ま
ず、ステップ81では、エアフローメータ13で検出さ
れた吸入空気流量Q及びクランク角センサ14からの検
出信号に基づき算出した機関回転速度Nを入力する。
The program shown in the flowchart of FIG. 5 is executed at predetermined minute intervals (for example, 10 m5). First, in step 81, the intake air flow rate Q detected by the air flow meter 13 and the intake air flow rate Q from the crank angle sensor 14 are calculated. Input the engine rotation speed N calculated based on the detection signal.

そして、次のステップ82では、ステップ81で入力し
た吸入空気流量Qと機関回転速度Nとに基づいて単位回
転当たりの吸入空気流量Qに対応する基本燃料噴射量T
p(←KxQ/N:には定数)を演算する。
Then, in the next step 82, the basic fuel injection amount T corresponding to the intake air flow rate Q per unit rotation is determined based on the intake air flow rate Q and the engine rotational speed N input in step 81.
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に基づ(基本
補正係数や始動後増量補正係数等を含んで設定される各
種補正係数C0EF、バッテリ電圧の変化による燃料噴
射弁6の有効噴射時間の変化を補正するための補正分子
sであり、Ti”TpxLMDxKBLRCXC0EF
+Tsを演算して最終的な燃料噴射量Tiが所定時間毎
に更新される。
Here, the correction values used for correcting the basic fuel injection amount Tp are the learning correction coefficient KBLRC learned and set according to the flowchart in FIG. 4, the air-fuel ratio feedback correction coefficient LMD calculated according to the flowchart in FIG. 3, and the water temperature sensor. Based on the cooling water temperature Tw detected at 15 (various correction coefficients C0EF set including the basic correction coefficient, post-start increase correction coefficient, etc.), changes in the effective injection time of the fuel injection valve 6 due to changes in battery voltage are calculated. A correction molecule s for correction, Ti”TpxLMDxKBLRCXC0EF
+Ts is calculated and the final fuel injection amount Ti is updated at predetermined intervals.

コントロールユニット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では、16X16格子マツプの殆どが学習
済であってフラグflag(このフラグflag設定に
ついては第7図のフローチャートに基づき後に詳細に説
明する。)に1がセットされているときに求められるス
トレス(空燃比ずれ度合い)と、所定値(例えば0.8
)とを比較して、学習が殆ど終了しているときの空燃比
ずれ度合いが所定以上であるか否かを判別する。
In step 91, the stress required is determined when most of the 16x16 lattice map has been learned and the flag flag (setting of this flag will be explained in detail later based on the flowchart in FIG. 7) is set to 1. (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, the learning result is inappropriate and an air-fuel ratio deviation has occurred, 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 C0,0)〜F (3−、3) 、 FF (0,
0)〜FF(16,16)を全てゼロリセットすると共
に、16X16格子マツプの殆どの運転領域か学習済で
あるときに1がセットされるフラグflag及び4×4
格子マツプの1つの運転領域の範囲に含まれる16X1
6格子マツプの細分運転領域(16領域)の殆どが学習
済であるときにその4×4格子運転領域それぞれに対応
して1かセットされるフラグflag(0゜0〕〜(3
,3)をゼロリセットする。
F C0,0) ~ F (3-, 3), FF (0,
0) to FF (16, 16) are all reset to zero, and the flag flag and 4x4 are set to 1 when most of the operating range of the 16x16 grid map has been learned.
16X1 included in one operating area of the grid map
When most of the subdivision operation areas (16 areas) of the 6-lattice map have been learned, the flag flag (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 (stress) of the air-fuel ratio feedback correction coefficient LMD from the reference value becomes larger than a predetermined value, relearning can be performed, for example, if an accident occurs such as a hole in the intake system. When the air-fuel ratio suddenly changes, learning for each large operating region is performed again, 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φ
がゼロであるときにはそのまま本プログラムを終了させ
るが、lであるときにはステップ102以降へ進む。
The program shown in the flowchart of FIG. 7 is executed as a background job (BGJ). First, in step 101, if the learning correction coefficient KBLRCφ corresponding to all operating ranges has been learned, 1 is set. The flag Fφ to be set is determined, and the flag Fφ
If is zero, the program is terminated as is, but if it is l, the process proceeds to step 102 and subsequent steps.

ステップ102では、本プログラムで使用する各種パラ
メータであるSum、W、X、Yの初期設定を行う。こ
こで、Sumは、4×4格子マツプの各運転領域で学習
済である領域に記憶されている学習補正係数KBLRC
Iの積算値であり、初期値として1.0かセットされ、
前記Wはかかる積算演算におけるサンプリング数をカウ
ントアツプするもので、初期値としてはlかセットされ
る。また、X、Yは、4×4格子マツプにおける格子位
置を指定するものであり、初期値としてそれぞれにゼロ
がセットされる。
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 KBLRC stored in the area that has been learned in each operating area of the 4x4 grid map.
It is the integrated value of I, and is set to 1.0 as the initial value,
The W is used to count up the number of samples in the integration calculation, and is set to l as an initial value. Further, X and Y designate grid positions in the 4×4 grid map, and zero is set to each as an initial value.

次のステップ103では、上記ステップ102でゼロリ
セットされるX、Yを座標位置とするフラグF (X、
Y)(4x4格子の学習済判別フラグ)の判別を行い、
X、Yで指示される4X4格子の運転領域において学習
済の領域を探す。X、 Yは初期値ゼロであるから、(
0,O)の運転領域で未学習であるときには、ステップ
104でXか1アツプされて(1,0)となり、ステッ
プ105てはXが4でないと判別されることにより再び
ステップ103での判別が行われる。  \ このようにしてXかステップ104で1アツプされた結
果4になると、ステップ106てXをゼロリセットする
と共に今度はYを1アツプさせ、ステツブ107てYか
4であると判別されるまでは再びステップ103へ戻り
、ステップ104へ進むとXか1アツプされるから、結
果、Yを固定してXを変化させることを繰り返して、4
×4格子マツプにおける各運転領域でのフラグF (X
、 Y)か判別されるようになっている。
In the next step 103, a flag F (X,
Y) (4x4 lattice learned discrimination flag) is determined,
Search for a learned area in the 4X4 grid operating area indicated by X and Y. Since X and Y have initial values of zero, (
0, O), X is incremented by 1 to become (1, 0) in step 104, and in step 105 it is determined that X is not 4, so the determination in step 103 is made again. will be held. \ In this way, when X is incremented by 1 in step 104 and becomes 4, in step 106 X is reset to zero and Y is incremented by 1, until step 107 determines that Y is 4. Returning to step 103 again, and proceeding to step 104, X will be increased by 1, so as a result, by repeating fixing Y and changing X, 4
Flag F (X
, Y).

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

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

そして、次のステップ109では、前記4×4格子の(
X、 Y)領域に含まれる16X16格子の中の16領
域を1つずつ判別するためのα、βそれぞれに初期値ゼ
ロをセットすると共に、前記16領域の中で学習済であ
る領域の学習補正係数KBLRC2の積算値をセットす
るS umpに初期値1.0をセットし、更に、該積算
値S umpのサンプリング数をカウントするZに初期
値1をセットする。
Then, in the next step 109, (
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.

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

このようにして、4×4格子マツプの中の学習済である
領域に含まれる16X16格子マツプの16領域中の学
習済領域をピックアップすると、次のステップ1)6で
は、前記サンプル数Zが所定値(例えば12)を越えて
いるか否かを判別する。
In this way, when the learned regions among the 16 regions of the 16×16 lattice map that are included in the learned regions of the 4×4 lattice map are picked up, in the next step 1) 6, the number of samples Z is set to a predetermined value. It is determined whether the value exceeds a value (for example, 12).

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

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

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

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

ステップ120では、今回学習済であると判別された4
×4格子マツプ上の領域(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 ×4 grid map is learned and updated according to the following formula.

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

このように、16X 16格子マツプが平均的に負担し
ている補正分をそれらを含む領域に対応する4×4格子
マツプ側に転嫁した場合には、その分16X16格子マ
ツプ上の学習補正係数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 16x16 grid map is calculated accordingly. Since it is necessary to reversely correct the difference, the processing from step 121 onwards is performed.

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

このようにして、学習補正係数KBLRCIに対する゛
補正分を、学習補正係数KBLRC2に対して逆補正し
て修正すると、再びステップ104へ戻って4×4格子
マツプ上で学習済の領域を探し、学習済の領域が検出さ
れたときには、その都度前述のような処理を繰り返すこ
とになる。
In this way, after correcting the learning correction coefficient KBLRCI by inversely correcting the learning correction coefficient KBLRC2, the process returns to step 104, searches for a learned area on the 4x4 grid map, and When a completed area is detected, the above-described process 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では、4X4格子マツプ上で学習済であ
ると判別された領域における学習補正係数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φ bear the burden of this transfer.

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

KBLRCφ← 即ち、4×4格子マツプ上の学習済領域で平均的に負担
している補正分を、全運転領域で補正する学習補正係数
KBLRCφに転嫁して、学習補正係数KBLRCIか
目標収束値付近に学習されるようにするものである。
KBLRCφ← 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 or near the target convergence value is calculated. The aim is to ensure that the students are able to learn the basics.

ここで、学習補正係数KBLRCIを同じ領域の学習補
正係数KBLRC2に基づいて補正した場合と同様に、
学習補正係数KBLRCφを補正した分を、各学習補正
係数KBLRCIに逆補正することが必要になり、ステ
ップ132〜ステツプ137では、4×4格子マツプの
全ての運転領域の学習補正係数KBLRCIから、学習
補正係数KBLRCφに加算補正した分(S um/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 inversely correct each learning correction coefficient KBLRCI by the amount corrected by the learning correction coefficient KBLRCφ. The amount of correction added to the correction coefficient KBLRCφ (Sum/Z
-Target) Correct by subtracting Xγ2.

尚、上記実施例では、補正係数LMDの偏差に基づいて
学習更新度合いを変更して学習進行速度を可変制御する
ようにしたが、機関の加減速度合いに基づいて係数X、
X1.X2を可変設定させることで、学習進行速度を制
御するようにしても良い。
In the above embodiment, the learning update degree is changed based on the deviation of the correction coefficient LMD to variably control the learning progress speed, but the coefficient X,
X1. The learning progress speed may be controlled by variably setting X2.

即ち、機関が急加速や急減速運転されると、それだけ大
きく空燃比が目標空燃比からずれ、このときに上記のよ
うな空燃比学習か進行すると、過渡運転時の空燃比ずれ
を解消し得るような大きな補正分が学習されて、同じ運
転領域を定常運転や緩加速・緩減速で用いると大きな空
燃比段差か生じてしまうので、急加速又は急減速時はど
学習進行速度を遅くすることが望ましい。
In other words, when the engine is suddenly accelerated or decelerated, the air-fuel ratio deviates significantly from the target air-fuel ratio, and if the above-mentioned air-fuel ratio learning is performed at this time, the air-fuel ratio deviation during transient operation can be resolved. If such a large correction is learned and the same operating range is used during steady operation or slow acceleration/deceleration, a large air-fuel ratio difference will occur, so the learning progress speed should be slowed down during sudden acceleration or deceleration. is desirable.

そこで、第9図及び第1θ図のフローチャートに示すプ
ログラムに従って前記係数X、 Xl、 X2の設定を
行わせる。
Therefore, the coefficients X, Xl, and X2 are set according to the programs shown in the flowcharts of FIG. 9 and FIG. 1θ.

第9図のフローチャートに示すプログラムは、所定微小
時間(例えば10m5)毎に実行されるものであり、ま
ず、ステップ131では、タイマーtmrが100であ
るか否かを判別する。     1そして、タイマーt
mrが100でないときには、ステップ132でタイマ
ーtmrを1アツプさせてそのまま終了させるが、タイ
マーtmrが100にまでカウントアツプされると、ス
テップ133でタイマー tmrをゼロリセットした後
、ステップ134て単位時間当たりの基本燃料噴射量T
pの変化量ΔTpを演算する。
The program shown in the flowchart of FIG. 9 is executed at predetermined minute intervals (for example, 10 m5), and first, in step 131, it is determined whether or not the timer tmr is 100. 1 and timer t
If mr is not 100, the timer tmr is incremented by 1 in step 132 and the process ends. However, when the timer tmr is counted up to 100, the timer tmr is reset to zero in step 133, and then the timer tmr is incremented by 1 in step 134. Basic fuel injection amount T
The amount of change ΔTp in p is calculated.

具体的には、前回タイマーtmrか100になったとき
の基本燃料噴射量TI)OLDを最新の基本燃料噴射量
Tpから減算して、その結果を基本燃料噴射量TI)の
変化量としてΔTpにセットする。
Specifically, the basic fuel injection amount TI)OLD when the previous timer tmr reached 100 is subtracted from the latest basic fuel injection amount Tp, and the result is set as the change amount in the basic fuel injection amount TI) to ΔTp. set.

次のステップ135ては、再びタイマーtmrが100
にまてカウントアツプされたときのΔTpの演算に用い
るために、最新の基本燃料噴射量Tpを前回としてTp
OLDにセットする。
In the next step 135, the timer tmr is set to 100 again.
In order to calculate ΔTp when the count is increased, the latest basic fuel injection amount Tp is set as the previous time Tp.
Set to OLD.

一方、第1O図のフローチャートに示すプログラムでは
、前述のようにして求めた基本燃料噴射量Tpの変化量
ΔTpに基づき、前記係数X、XI。
On the other hand, in the program shown in the flowchart of FIG. 1O, the coefficients X and XI are determined based on the amount of change ΔTp in the basic fuel injection amount Tp determined as described above.

X2の設定を行う。Configure X2.

尚、前記係数X、XI、X2は、前述のステップ26.
ステップ50.ステップ53で用いられて、各学習補正
係数KBLRCφ、KBLRC1,KBLRC2の修正
度合いを決定するものである。
Incidentally, the coefficients X, XI, and X2 are calculated in step 26.
Step 50. It is used in step 53 to determine the degree of modification of each learning correction coefficient KBLRCφ, KBLRC1, and KBLRC2.

第10図のフローチャートに示すプログラムは、機関1
回転毎に実行されるようになっており、ステップ141
では、ΔTpに応じて係数X、XI。
The program shown in the flowchart of FIG.
It is executed every rotation, and step 141
Then, coefficients X and XI according to ΔTp.

X2をそれぞれ記憶したマツプから、実際に求められた
ΔTpに基づき係数X、X1.X2を参照して求める。
Based on the map in which X2 is stored, coefficients X, X1 . Obtain with reference to X2.

ここで、ΔTpか大きいときほど、前記係数X。Here, the coefficient X increases as ΔTp increases.

Xl、X2は、セロに近い小さな値に設定されるように
してあり、逆に、ΔTpかゼロに近つくと前記X、X1
.X2は1.0に近い値に設定される。
Xl and X2 are set to small values close to zero, and conversely, when ΔTp approaches zero, the
.. X2 is set to a value close to 1.0.

従って、定常運転時でΔTpかゼロに近いときには、学
習進行速度を速めることかでき、逆に、過渡運転時で△
Tpか大きいときには、学習進行速度を遅くして、過渡
による空燃比ずれか誤学習されることを抑止できるもの
である。
Therefore, when ΔTp is close to zero during steady operation, the learning progress speed can be accelerated, and conversely, during transient operation, △
When Tp is large, the learning progress speed is slowed down to prevent erroneous learning of air-fuel ratio deviations due to transients.

特に、本実施例のように、運転領域を区分する単位領域
を大小複数として、より細かく運転領域を区分する学習
マツプと比較的大きく運転領域を区分する学習マツプと
を備える構成では、過渡時の空燃比ずれを細かい学習マ
ツプか誤学習し易くなるため、上記のように空燃比フィ
ードバック補正係数り、MDの偏差又は機関の加減速度
合いに応じて学習進行速度を可変とすることによる誤学
習の回避の効果か大きい。
In particular, in a configuration like this embodiment, in which the unit area for dividing the operating area is set to multiple sizes, and is provided with a learning map that divides the operating area more finely and a learning map that divides the operating area relatively broadly, Since it is easy to incorrectly learn air-fuel ratio deviations using a detailed learning map, it is possible to prevent incorrect learning by varying the learning progress speed according to the air-fuel ratio feedback correction coefficient, MD deviation, or engine acceleration/deceleration as described above. The effect of evasion is large.

尚、上記の場合には、機関の加減速度合いを示すパラメ
ータとして、基本燃料噴射量Tpの変化量ΔTpを用い
たが、この他、スロットル弁の開度変化や機関回転速度
の変化を検出して、これに基づいて前記係数X、X1.
X2を可変設定させるようにしても良い。
In the above case, the amount of change ΔTp in the basic fuel injection amount Tp was used as a parameter indicating the degree of acceleration/deceleration of the engine, but in addition to this, changes in the opening degree of the throttle valve and changes in the engine rotation speed were also detected. Based on this, the coefficients X, X1.
X2 may be set variably.

〈発明の効果〉 以上説明したように本発明によると、機関の加減速度合
い又は空燃比フィードバック補正値の偏差に基づいて、
空燃比学習補正値の修正度合いを変化させ、以て、学習
進行速度を機関の加減速度合いに応じて変化させるよう
にしたので、過渡運転時の空燃比ずれが誤学習されるこ
とを抑止でき、加速時(減速時)に誤学習されたものが
減速時(加速時)に用いられたり、定常時に用いられた
りして、大きな空燃比段差が発生することを防止できる
という効果がある。
<Effects of the Invention> As explained above, according to the present invention, based on the acceleration/deceleration degree of the engine or the deviation of the air-fuel ratio feedback correction value,
By changing the degree of correction of the air-fuel ratio learning correction value, and thereby changing the learning progress speed according to the acceleration/deceleration degree of the engine, it is possible to prevent air-fuel ratio deviations from being erroneously learned during transient operation. This has the effect of preventing large air-fuel ratio differences from occurring due to erroneous learning during acceleration (deceleration) being used during deceleration (acceleration) or during steady state.

特に、同一運転領域を相互に大きさの異なる単位運転領
域に基づきそれぞれ区分した複数種の学習マツプを備え
、該複数の学習マツプそれぞれの区分された運転領域毎
に空燃比学習補正値を書き換え可能に記憶するよう構成
される場合には、細かく運転領域を区分した学習マツプ
で、過渡運転時の空燃比ずれが誤学習され易いので、本
発明にかかる学習進行速度の可変制御を適用することて
、区分運転領域を大小異ならせた学習マツプを複数備え
ることによる学習速度の向上と運転領域毎の細かな補正
精度とを確保した上で、過渡時の誤学習による空燃比段
差の発生を防止できるようになる。
In particular, it is equipped with multiple types of learning maps in which the same operating region is divided into unit operating regions of different sizes, and the air-fuel ratio learning correction value can be rewritten for each divided operating region of each of the plurality of learning maps. In this case, the air-fuel ratio deviation during transient operation is likely to be erroneously learned using a learning map that finely divides the operating range. By providing multiple learning maps with different sizes of segmented operating regions, it is possible to improve the learning speed and ensure fine correction accuracy for each operating region, while preventing the occurrence of air-fuel ratio differences due to erroneous learning during transient periods. It becomes like this.

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

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

Claims (3)

【特許請求の範囲】[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; an acceleration/deceleration degree detection means for detecting the degree of acceleration/deceleration of the engine; and an engine acceleration detected by the acceleration/deceleration degree detection means. Learning speed changing means based on the degree of acceleration/deceleration that changes the learning progress speed according to the degree of acceleration/deceleration of the engine by changing the degree of correction of the air-fuel ratio learning correction value by the air-fuel ratio learning correction value correction means based on the degree of deceleration operation. An air-fuel ratio learning control device for an internal combustion engine, comprising: and.
(2)前記加減速運転度合い検出手段及び加減速度合い
による学習速度変更手段に代えて、 前記空燃比フィードバック補正値の平均値の偏差に基づ
いて前記空燃比学習補正値修正手段による空燃比学習補
正値の修正度合いを変化させることにより学習進行速度
を前記偏差に応じて変化させる偏差による学習速度変更
手段を設けたことを特徴とする請求項1記載の内燃機関
の空燃比学習制御装置。
(2) Instead of the acceleration/deceleration driving degree detecting means and the learning speed changing means based on the degree of acceleration/deceleration, the air-fuel ratio learning correction is performed by the air-fuel ratio learning correction value correcting means based on the deviation of the average value of the air-fuel ratio feedback correction value. 2. The air-fuel ratio learning control device for an internal combustion engine according to claim 1, further comprising deviation-based learning speed changing means for changing the learning progress speed according to the deviation by changing the degree of correction of the value.
(3)前記空燃比学習補正値記憶手段が、同一運転領域
を相互に大きさの異なる単位運転領域に基づきそれぞれ
区分した複数種の学習マップを備え、該複数の学習マッ
プそれぞれの区分された運転領域毎に空燃比学習補正値
を書き換え可能に記憶するよう構成されたことを特徴と
する請求項1又は2のいずれかに記載の内燃機関の空燃
比学習制御装置。
(3) The air-fuel ratio learning correction value storage means includes a plurality of types of learning maps in which the same operating region is divided based on unit operating regions of mutually different sizes, and the plurality of learning maps each have a divided operation. 3. The air-fuel ratio learning control device for an internal combustion engine according to claim 1, wherein the air-fuel ratio learning control device is configured to rewritably store the air-fuel ratio learning correction value for each region.
JP29907390A 1990-11-06 1990-11-06 Air-fuel ratio learning controller for internal combustion engine Pending JPH04175434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29907390A JPH04175434A (en) 1990-11-06 1990-11-06 Air-fuel ratio learning controller for internal combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29907390A JPH04175434A (en) 1990-11-06 1990-11-06 Air-fuel ratio learning controller for internal combustion engine

Publications (1)

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

Family

ID=17867848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29907390A Pending JPH04175434A (en) 1990-11-06 1990-11-06 Air-fuel ratio learning controller for internal combustion engine

Country Status (1)

Country Link
JP (1) JPH04175434A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014002189A1 (en) 2012-06-26 2014-01-03 トヨタ自動車株式会社 Internal combustion engine control device
US20150051814A1 (en) * 2013-08-13 2015-02-19 GM Global Technology Operations LLC Method of controlling a fuel injection

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014002189A1 (en) 2012-06-26 2014-01-03 トヨタ自動車株式会社 Internal combustion engine control device
US9567930B2 (en) 2012-06-26 2017-02-14 Toyota Jidosha Kabushiki Kaisha Internal combustion engine control device
US20150051814A1 (en) * 2013-08-13 2015-02-19 GM Global Technology Operations LLC Method of controlling a fuel injection
US9644565B2 (en) * 2013-08-13 2017-05-09 GM Global Technology Operations LLC Method of controlling a fuel injection

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
JPH03179147A (en) Air-fuel learning controller for internal combustion engine
JPH0689690B2 (en) Air-fuel ratio learning controller for internal combustion engine
JPH04175434A (en) Air-fuel ratio learning controller for internal combustion engine
JP2640566B2 (en) Air-fuel ratio learning control device for internal combustion engine
JPH04175435A (en) Air-fuel ratio learning controller for internal combustion engine
JPH04241756A (en) Air-fuel ratio study control device for internal combustion engine
JPH0979072A (en) Air-fuel ratio learning control device for internal combustion engine
JPH04237847A (en) Air-fuel ratio learning controller for internal combustion engine
JPH04255544A (en) Air-fuel ratio study control device for internal combustion engine
JP2631579B2 (en) Air-fuel ratio learning control device for internal combustion engine
JPH0515552Y2 (en)
JPH066213Y2 (en) Air-fuel ratio learning controller for internal combustion engine
JPH08232726A (en) Control device for internal combustion engine
JPH04269347A (en) Air-fuel ratio learing control device for internal combustion engine
JPH04255545A (en) Air-fuel ratio study control device for internal combustion engine
JPH0455236Y2 (en)
JPH04318246A (en) Air-fuel ratio study control device for internal combustion engine
JPH04318247A (en) Air-fuel ratio study control device for internal combustion engine
JPH01106954A (en) Control device for learning of internal combustion engine
JPH04321741A (en) Air-fuel ratio learning control device for internal combustion engine
JPH01106945A (en) Control device for learning of internal combustion engine
JPS6270641A (en) Learning control device for internal combustion engine
JPH04219440A (en) Air-fuel ratio learning controller of internal combustion engine