JPH0443838A - Air-fuel ratio control device for internal combustion engine - Google Patents

Air-fuel ratio control device for internal combustion engine

Info

Publication number
JPH0443838A
JPH0443838A JP15149190A JP15149190A JPH0443838A JP H0443838 A JPH0443838 A JP H0443838A JP 15149190 A JP15149190 A JP 15149190A JP 15149190 A JP15149190 A JP 15149190A JP H0443838 A JPH0443838 A JP H0443838A
Authority
JP
Japan
Prior art keywords
learning
value
fuel ratio
air
learning 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.)
Ceased
Application number
JP15149190A
Other languages
Japanese (ja)
Inventor
Hiromichi Miwa
博通 三輪
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor 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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP15149190A priority Critical patent/JPH0443838A/en
Publication of JPH0443838A publication Critical patent/JPH0443838A/en
Ceased legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To raise estimation learning accuracy to improve reliability by estimating learning values in many territories from learning values in a few territories. CONSTITUTION:In the learning territory decided by a learning territory deciding means (e), when learning value acquired frequency in at least two learning territories having nearly equal product of engine load and engine speed is over a prescribed value, an estimation error detecting means (k) is provided for estimating error between actual air-fuel ratio and target air-fuel ratio in the engine load direction in the above-stated learning territory based on the learning values memorized in the two learning territories. In the learning territory decided by the learning territory deciding means (e), when learning value acquired frequency in learning territories having nearly equal product of engine load and engine speed is under a prescribed value, an estimation learning value renewal means (l) is provided for renewing the learning value stored in the territory corresponding to the learning value memory means (g) by the learning value estimatedly computed based on the estimation error from the estimation error detecting means (k).

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は内燃機関の空燃比制御装置に関し、特に運転領
域を小分割した領域毎に空燃比を学習する学習機能を有
するものの改良に関する。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an air-fuel ratio control device for an internal combustion engine, and more particularly to an improvement of an air-fuel ratio control device having a learning function for learning the air-fuel ratio for each region in which an operating region is subdivided.

〈従来の技術〉 空燃比制御装置に上記学習機能を付与した装置が提案さ
れている(特開昭60−145443号公報参照)。こ
れは、L−ジェトロニック方式の燃料噴射機関に対する
空燃比制御に適用させたもので、基本パルス幅T p 
(=に−o*−+×Q−/ N、但し、K c o t
 g tは定数、Q、は吸入空気流量、Nは回転数)を
フィードバック補正量(補正係数)αと学習値(学習補
正係数)Kとて補正した式%式% にて噴射弁に出力すべき燃料噴射パルス幅Tiが求めら
れる。ここにTiは1点火サイクル当たりに必要となる
燃料噴射量に相当するパルス幅、Tpは一定の基本燃料
噴射量に相当するパルス幅である。しかし、基本燃料噴
射量は設定値にしかすぎず実際には実空燃比と目標空燃
比との間にずれを生じ得る。このずれは、雨空燃比の偏
差に基づいて計算されるαにより解消される。Coef
は特定の運転条件を改善するための各種補正係数の総和
、Tsは無効パルス幅である。
<Prior Art> An air-fuel ratio control device provided with the above-mentioned learning function has been proposed (see Japanese Patent Laid-Open No. 145443/1983). This is applied to air-fuel ratio control for an L-jetronic type fuel injection engine, and the basic pulse width T p
(=to −o*−+×Q−/N, however, K co t
g t is a constant, Q is the intake air flow rate, and N is the rotation speed) is corrected using the feedback correction amount (correction coefficient) α and the learning value (learning correction coefficient) K. The desired fuel injection pulse width Ti is determined. Here, Ti is a pulse width corresponding to the fuel injection amount required per one ignition cycle, and Tp is a pulse width corresponding to a constant basic fuel injection amount. However, the basic fuel injection amount is only a set value, and in reality, a deviation may occur between the actual air-fuel ratio and the target air-fuel ratio. This deviation is eliminated by α, which is calculated based on the deviation of the rain air-fuel ratio. Coef
is the sum of various correction coefficients for improving specific operating conditions, and Ts is the invalid pulse width.

一方、Kの記憶される学習領域は、運転変数の代表値(
TpとN)を庫標軸として小領域(この小領域を以下「
エリア」と称す。)に分割されており、各エリア毎に個
別に学習値の更新(学習)か行われる。例えば、Tpと
Nか同一エリア内にあり、所定の条件(フィードバック
制御中でフィードバック信号か数周期サンプリングされ
ること等)か成立したとき(学習条件が成立したとき)
に学習か行われる。この場合、学習値は空燃比センサか
ら得られる値′LIYU(数周期サンプリングされる間
のαの最大と最小の中間値)とそのエリアに現在まで入
っていた学習値(K(旧))とを変数とする数式にて計
算される値であり、計算された値(K(新))か改めて
同一エリアに格納される。
On the other hand, the learning area where K is stored is the representative value of the operating variable (
A small area (this small area is hereinafter referred to as "
area. ), and the learning value is updated (learning) individually for each area. For example, when Tp and N are in the same area and a predetermined condition (such as the feedback signal being sampled several cycles during feedback control) is met (when a learning condition is met)
learning takes place. In this case, the learned value is the value 'LIYU' obtained from the air-fuel ratio sensor (the intermediate value between the maximum and minimum α during several sampling cycles) and the learned value (K (old)) that has been in that area until now. This is a value calculated using a formula with K as a variable, and the calculated value (K (new)) is stored in the same area again.

またS A E Paper 860594に示される
ように、あるエリアの学習値獲得回数か所定値以上とな
った時には、当該エリアの学習値を、機関負荷と回転数
の積が一定のエリア(等吸入空気流量上のエリア)の内
、学習値獲得回数か所定値以上となっていたエリアまで
のエリア、または末端のエリアまでのエリアに記憶させ
る推定学習方法か提案されている。この推定学習は、各
エリアか各運転状態に応して前回の学習補正係数をベー
スに今回との差を加味して学習に係る演算を行って、を
同値として記憶している。そしてそれらか瞬時に行われ
るため、補正の応答性か非常に良くなっている。
Furthermore, as shown in S A E Paper 860594, when the number of times a learned value is acquired for a certain area exceeds a predetermined value, the learned value for that area is transferred to an area where the product of engine load and rotation speed is constant (equal intake air An estimation learning method has been proposed in which the learning value is stored in the area up to the area where the number of times the learning value has been acquired exceeds a predetermined value, or in the area up to the end area. In this estimation learning, calculations related to learning are performed based on the previous learning correction coefficient in accordance with each area or each driving state, taking into account the difference from this time, and are stored as the same value. And since all of this is done instantly, the responsiveness of the correction is very good.

〈発明か解決しようとする課題〉 ところで従来の推定学習にあっては、前記のように学習
値獲得回数か所定値以上となった時に、当該エリアの学
習値をそのまま学習値獲得回数か所定値未満のエリアに
記憶させる構成となっていた。このため、前記LMDに
より補正(空燃比フィードバック制御)か為されない状
! (LMD=1)における実空燃比と目標空燃比との
間に、機関負荷方向の誤差か存在する場合は、学習獲得
回数か所定値未満のエリアにあっては、それまでの学習
結果に関わらず、学習値獲得回数か所定値以上となった
エリアの学習値か当該エリアを含む等吸入空気流量上の
エリアにおける推定値として更新、記憶されるため、上
記機関負荷方向の誤差を補正することは不可能であった
。
<Problem to be solved by the invention> By the way, in conventional estimation learning, when the number of learning value acquisitions exceeds a predetermined value as described above, the learning value of the area is directly converted to the number of learning value acquisitions or a predetermined value. It was configured to be stored in an area of less than For this reason, no correction (air-fuel ratio feedback control) is performed by the LMD! If there is an error in the engine load direction between the actual air-fuel ratio and the target air-fuel ratio at (LMD=1), in the area where the number of learning acquisitions is less than a predetermined value, regardless of the learning results up to that point. First, the learned value for the area where the learned value is acquired is the number of times the learned value is equal to or greater than the predetermined value, or is updated and stored as the estimated value for the area on the equal intake air flow rate that includes the area, so it is possible to correct the error in the engine load direction. was impossible.

即ち、前記機関負荷方向の誤差を学習値によって吸収す
るためには、全エリアの内、かなり多く(少なくとも各
以上)のエリアの学習値獲得回数が所定値以上となる必
要がある。このため学習があまり進行していない状況に
おいては、前記機関負荷方向の誤差か吸収できないため
推定学習制御の効果が充分に発揮されず、過渡時等にフ
ィードバック制御遅れが発生し、制御遅れに伴うエミッ
ション、運転性の悪化が発生することがあった。
That is, in order to absorb the error in the engine load direction by the learned value, it is necessary that the number of times the learned value is acquired in a considerably large number of areas (at least in each area) out of all the areas is equal to or greater than a predetermined value. For this reason, in situations where learning has not progressed much, the effect of estimated learning control is not fully demonstrated because only the error in the direction of the engine load can be absorbed, and feedback control delays occur during transient times, etc. Emissions and drivability may deteriorate.

即ち、これらの問題は新車状態よりむしろ車両の劣化が
進み且つバッテリ交換を行った後等に大きな問題となる
ものである。
In other words, these problems become more serious when the vehicle is deteriorated and the battery has been replaced, rather than when the vehicle is new.

本発明は少ない領域の学習値から多くの領域の学習値を
推定することにより、推定学習精度を高めて信頼性を向
上し、以上説明した従来の問題点を解決することを目的
とする。
It is an object of the present invention to estimate learned values for many areas from learned values for a small number of areas, thereby increasing estimation learning accuracy and improving reliability, thereby solving the conventional problems described above.

〈課題を解決するための手段〉 このため、本発明は第1図に示すように、機関吸入空気
流量(Qa)と回転数(N)の検出値に応じて基本燃料
噴射量(Tp)を演算する基本燃料噴射量演算手段aと
、 実空燃比を検出する実空燃比検出手段すと、空燃比のフ
ィードバック制御域であるかどうかを判定する空燃比フ
ィードバック制御域判定手段Cと、 前記フィードバック制御域であることが判定された場合
に前記実空燃比と目標空燃比との偏差に基づいて空燃比
のフィードバック補正量(LMD)を演算するフィード
バック補正量演算手段dと、機関負荷(例えばTp)と
回転数(N)をパラメータとして空燃比を学習すべき学
習領域を決定する学習領域決定手段eと、 前記フィードバック補正量(LMD)に基づいて空燃比
偏差の平均値(TXrf)を演算する空燃比偏差演算手
段fと、 機関負荷(Tp)と回転数(N)をパラメータとして分
割された学習領域毎に学習値を記憶する学習値記憶手段
gと、 前記空燃比偏差の平均値(77丁)に基づいて前記学習
領域の学習値を演算し、該学習値で前記学習値記憶手段
gの対応する領域に記憶された学習値を更新する学習値
更新手段りと、 そのときの運転条件信号に応じて当該運転条件の属する
学習領域の学習値を読み出す学習値読出し手段iと、 前記演算されたフィードバック補正量(LMD)と前記
読み出された学習値に基づいて前記基本燃料噴射量(T
p)を補正して燃料噴射量(Ti)を演算する燃料噴射
量演算手段jと、 を備える内燃機関の空燃比制御装置において、学習領域
決定手段eにより決定された学習領域に対し、機関負荷
と機関回転数の積が略等しい(即ち吸入空気流量か略等
しい(等Qa))少なくとも2つの学習領域における学
習値獲得回数か所定値以上となった場合に、当該2つの
学習領域に記憶された学習値に基づいて前記学習領域に
対して機関負荷方向の実空燃比と目標空燃比との誤差を
推定する推定誤差検出手段にと、 学習領域決定手段eにより決定された学習領域に対して
機関負荷と機関回転数の積が略等しい学習領域における
学習値獲得回数か所定値未満の場合の学習値を、前記推
定誤差検出手段により推定された推定誤差に基づき推定
演算し、該推定演算された学習値で前記学習値記憶手段
の対応する領域に記憶された学習値を更新する推定学習
値更新手段lと、 を有する構成とする。
<Means for Solving the Problems> For this reason, the present invention, as shown in FIG. Basic fuel injection amount calculating means a for calculating; actual air-fuel ratio detecting means for detecting the actual air-fuel ratio; and air-fuel ratio feedback control range determining means C for determining whether the air-fuel ratio is in the feedback control range; Feedback correction amount calculating means d calculates a feedback correction amount (LMD) of the air-fuel ratio based on the deviation between the actual air-fuel ratio and the target air-fuel ratio when it is determined that the air-fuel ratio is within the control range; ) and rotation speed (N) as parameters to determine a learning area in which the air-fuel ratio should be learned; and calculating an average value of air-fuel ratio deviation (TXrf) based on the feedback correction amount (LMD). an air-fuel ratio deviation calculation means f; a learning value storage means g for storing learning values for each learning area divided using engine load (Tp) and rotational speed (N) as parameters; and an average value (77 learning value updating means for calculating a learning value in the learning area based on the learning value and updating the learning value stored in the corresponding area of the learning value storage means g with the learning value; and the operating conditions at that time. learning value reading means i for reading out a learning value of a learning area to which the operating condition belongs in accordance with a signal; T
In an air-fuel ratio control device for an internal combustion engine, the air-fuel ratio control device for an internal combustion engine includes a fuel injection amount calculation means j that calculates a fuel injection amount (Ti) by correcting the fuel injection amount (Ti), and When the product of and the engine speed is approximately equal (that is, the intake air flow rate is approximately equal (equal Qa)), and the number of times the learning value is acquired in at least two learning areas exceeds a predetermined value, the information is stored in the two learning areas. an estimated error detection means for estimating the error between the actual air-fuel ratio in the engine load direction and the target air-fuel ratio for the learning region based on the learning value determined by the learning region determining means e; Estimating the learned value when the number of times the learned value is acquired in a learning region where the product of the engine load and the engine speed is approximately equal is less than a predetermined value based on the estimation error estimated by the estimation error detection means, and an estimated learning value updating means l for updating the learning value stored in the corresponding area of the learning value storage means with the learned value obtained by the learning method.

〈作用〉 本発明においては、等Qa上の少なくとも2つの学習領
域における学習値獲得回数か所定値以上となった場合に
、当該2つの学習領域に記憶された学習値に基づいて機
関負荷方向の誤差を推定し、当該誤差に基つき、等Qa
上の他のエリアにおける学習値獲得回数か所定値未満の
場合の学習値を推定補正する。
<Operation> In the present invention, when the number of learning values acquired in at least two learning areas on the equal Qa exceeds a predetermined value, the engine load direction is calculated based on the learning values stored in the two learning areas. Estimate the error, and based on the error, equal Qa
The learning value is estimated and corrected when the number of learning value acquisitions in the other areas above is less than a predetermined value.

ここで原理を第2図に示す学習マツプを参照しつつ説明
する。
The principle will now be explained with reference to the learning map shown in FIG.

ここで、燃料噴射パルス巾T1について、学習値Kかな
い状態における演算式を記述すると、Ti=Kc、、、
、、、xQa/NXCoefXLMD十Ts 一方、LMDによって吸収されるへき誤差(K、。、、
、 Q a、 Coef、 T sに対応する誤差)か
全て補正されている状態のTiの演算式を記述すると下
式のようになる。
Here, regarding the fuel injection pulse width T1, if we write an arithmetic expression in a state where there is no learned value K, Ti=Kc,...
,,,xQa/NXCoefXLMD+Ts On the other hand, the error absorbed by LMD (K, . . .
, Q a , Coef , T s ) are all corrected, and the equation for Ti is written as shown below.

T i =Ke、fig+’ xQ a’/Nx Co
ef’ +T 5(Kco−−+’、Q a’、Coe
f”、T s ’は誤差の補正かなされた値である) 即ち、 Kc6.、+XQa/NXCoefxLMD十Ts=に
、、、t’XQa’/NXCoef’+Tsここで、上
式をLMDについて整理すると、LMD= (Ke、、
、+’xQa’/NxCoef’+ (Ts’−Ts)
) / (Kc、、、+XQa/NxCoef)=bXcX
d +a/ (Kc、、、+XQa/NXCoef)=bx
cxd+a/ (TpxCoef)但し、a=Ts  
−Ts b ” K e 6 ++ $ 1 ’ / K e 
Ofi $ 1C=Qa’/Qa d = Coef’ / Coef ここで等Qa線上で考えると、少なくともb(Kの値)
及びc(QaO値)は同一の値となるため、等Qa線上
での学習値をLMDI及びLMD2(第2図参照)とす
ると、 LMD 1−LMD 2 =bXCX (d 1−d 2) 十 尚、di、d2、Tpl、Tp2、Coefl及びCo
ef2はLMDI及びLMD2に対応した領域における
d、’rp及びCoefである。
T i =Ke, fig+' xQ a'/Nx Co
ef' +T 5(Kco--+', Q a', Coe
f'', T s ' is the value corrected for the error), that is, Kc6., + ,LMD=(Ke,,
, +'xQa'/NxCoef'+ (Ts'-Ts)
) / (Kc, , +XQa/NxCoef) = bXcX
d +a/ (Kc, , +XQa/NXCoef)=bx
cxd+a/ (TpxCoef) However, a=Ts
-Ts b ” K e 6 ++ $ 1 ' / K e
Ofi $ 1C = Qa' / Qad = Coef' / Coef Here, considering on the isoQa line, at least b (value of K)
and c (QaO value) are the same value, so if the learning values on the iso-Qa line are LMDI and LMD2 (see Figure 2), LMD 1 - LMD 2 = bXCX (d 1 - d 2) , di, d2, Tpl, Tp2, Coefl and Co
ef2 is d, 'rp, and Coef in the area corresponding to LMDI and LMD2.

ここてCoef及びCoefの誤差分dはK c o 
n g I、Qa及びTsの誤差が補正されれば無視で
きるものとすると、 LMD 1−LMD 2 a X (1/Tp 1−1/Tp 2)となり、Ts
の誤差は として表せる。即ち、等Qa線上での2つのエリアのT
sの誤差としては、 a=Ts  −Ts (LMD 1−LMD2) (1/Tp 1−1/Tp2) として求められる。
Here, Coef and the error d of Coef are K co
n g Assuming that the errors in I, Qa and Ts can be ignored if they are corrected, LMD 1-LMD 2 a X (1/Tp 1-1/Tp 2), and Ts
The error can be expressed as. That is, T of the two areas on the isoQa line
The error in s is determined as a=Ts-Ts (LMD 1-LMD2) (1/Tp 1-1/Tp2).

従って、等Qa線上でのLMDXは LMDX=aX (1/Tp 1−1/TpX)+LM
D1 として推定可能である。
Therefore, LMDX on the isoQa line is LMDX=aX (1/Tp 1-1/TpX)+LM
It can be estimated as D1.

即ち、等Qa上での2つのエリアの学習値から他のエリ
アの学習値を推定できることになる。
That is, it is possible to estimate the learning value of another area from the learning value of two areas on equal Qa.

〈実施例〉 以下、本発明に係る実施例を図に基づいて説明する。<Example> Hereinafter, embodiments according to the present invention will be described based on the drawings.

尚、第3図に示す実施例は、吸入空気流量Qaと機関回
転数Nとに基づいて燃料噴射量を設定する所謂Lジェト
ロニック方式の電子制御燃料噴射式内燃機関の空燃比制
御装置に適用したものである。
The embodiment shown in FIG. 3 is applied to an air-fuel ratio control device for an electronically controlled fuel injection internal combustion engine of the so-called L-jetronic system, which sets the fuel injection amount based on the intake air flow rate Qa and the engine speed N. This is what I did.

図において、空気量Qaを検出するエアフローセンサ(
例えばフラップ式やホットワイヤ式等)24、クランク
角の単位角度及び基準位置を検出するセンサ(クランク
角センサ)25、実空燃比を検出する実空燃比検出手段
としてのセンサ(酸素センサ)26か機関各部に設けら
れる。ここに、酸素センサ26は理論空燃比を境にリッ
チからリーンへあるいはその逆へと急変する特性を有し
ている。
In the figure, the air flow sensor (
For example, a flap type, a hot wire type, etc.) 24, a sensor (crank angle sensor) 25 that detects the unit angle of the crank angle and the reference position, and a sensor (oxygen sensor) 26 that detects the actual air-fuel ratio as an actual air-fuel ratio detection means. Set up in each engine department. Here, the oxygen sensor 26 has a characteristic that the air-fuel ratio suddenly changes from rich to lean or vice versa after reaching the stoichiometric air-fuel ratio.

27は冷却水温度Twを検出するセンサ、28は絞り弁
開度センサ、29はノックセンサ、30はバッテリ、3
1は車速センサ、32はキースイッチである。
27 is a sensor that detects the cooling water temperature Tw, 28 is a throttle valve opening sensor, 29 is a knock sensor, 30 is a battery, 3
1 is a vehicle speed sensor, and 32 is a key switch.

これらセンサ類からの信号はすへてコントロールユニッ
ト40に入力され、該ユニット40ては各種運転変数に
基つき燃料噴射弁35からの燃料量を増減することによ
り目標空燃比(例えは理論空燃比)か得られるように制
御か行われる。尚、コントロールユニット40では点火
時期制御とスワールコントロールバルブ(SCV)37
の開度制御も同時に行われる。
Signals from these sensors are then input to a control unit 40, which increases or decreases the amount of fuel from the fuel injector 35 based on various operating variables to achieve a target air-fuel ratio (for example, a stoichiometric air-fuel ratio). ) or controlled as obtained. Furthermore, the control unit 40 controls the ignition timing and the swirl control valve (SCV) 37.
Opening control is also performed at the same time.

第4図はコントロールユニット40をマイクロコンピュ
ータで構成した場合のブロック構成図で、インターフェ
イス(Ilo)41.CPU42.ROM43.RAM
44及びイグニッションキーをオフしても記憶情報を保
持できる学習値記憶手段gとしてのRAM (BURA
M)45の他、各種信号のうちアナログ信号をデジタル
信号に変換するA/Dコンバータ(ADC)46が付属
されている。
FIG. 4 is a block configuration diagram when the control unit 40 is configured with a microcomputer, and shows an interface (Ilo) 41. CPU42. ROM43. RAM
44 and a RAM (BURA
In addition to M) 45, an A/D converter (ADC) 46 for converting analog signals among various signals into digital signals is attached.

第5図はCPU42内で実行される燃料噴射パルス幅T
iの計算ルーチンで、該制御は一定周期または回転同期
で実行される。同図に示すように、Tiは基本パルス幅
’rp (=Kco++g+xQa/N)をフィードバ
ック補正量LMDと学習値に等とで補正した式 %式% にて噴射弁35に出力すべき燃料噴射パルス幅Tiが演
算される(ステップ51〜55)。ここに、各種補正量
は別途サブルーチンにて求められる。尚開式の記号が意
味するところは、αの代わりにLMDを用いている点を
除けば、L−ジェトロニック方式において使用される記
号の意味と同じである。
FIG. 5 shows the fuel injection pulse width T executed within the CPU 42.
In the calculation routine of i, the control is executed at a constant cycle or rotationally synchronous. As shown in the figure, Ti is the fuel injection pulse to be output to the injector 35 using the formula %, which is the basic pulse width 'rp (=Kco++g+xQa/N) corrected by the feedback correction amount LMD, the learned value, etc. The width Ti is calculated (steps 51 to 55). Here, various correction amounts are obtained in separate subroutines. The meanings of the symbols in the open system are the same as those used in the L-getronic system, except that LMD is used instead of α.

即ち、燃料噴射パルス幅Tiの計算ルーチンにおけるス
テップ51が基本燃料噴射量演算手段a、ステップ54
が学習値読出し手段i及びステップ55が燃料噴射量演
算手段jの機能を夫々奏する。
That is, step 51 in the calculation routine of the fuel injection pulse width Ti is the basic fuel injection amount calculation means a, and step 54
The learning value reading means i and step 55 perform the functions of the fuel injection amount calculating means j, respectively.

尚、第6図では所定時間の間に入力するクランク角の単
位角度信号をカウントすることにより回転数Nが求めら
れている。
In FIG. 6, the rotational speed N is determined by counting the unit angle signals of the crank angle input during a predetermined period of time.

第7図はLMDの計算とLMDに基づく学習を示すルー
チンで、ステップ71でフィードバック制御域であるこ
とが判定されてから開始される。
FIG. 7 shows a routine showing LMD calculation and learning based on the LMD, which is started after it is determined in step 71 that the feedback control area is reached.

即ち、ステップ71はフィードバック制御域判別手段C
の機能を奏する。
That is, in step 71, the feedback control area determining means C
It performs the functions of

ここには、LMDが第8図のように周期的に変化する比
例積分制御の例を示し、当該制御では1周期が下記の4
つの場合から構成される。
Here, an example of proportional-integral control in which the LMD changes periodically as shown in Figure 8 is shown, and in this control, one cycle is the following 4
It consists of two cases.

(i)空燃比がリーンからリッチに切替わった場合には
ステップ的に比例分Pだけリーン側に変化させ、 (ii)その後は積分分Iにて徐々にリーン側に変化さ
せる。
(i) When the air-fuel ratio is switched from lean to rich, it is changed stepwise to the lean side by a proportional amount P, (ii) Thereafter, it is gradually changed to the lean side by an integral amount I.

(ii)空燃比がリッチからリーンに切替わった場合に
はステップ的に比例分Pだけリッチ側に変化させ、 (iv)その後は積分分■にて徐々にリッチ側に変化さ
せる。
(ii) When the air-fuel ratio switches from rich to lean, it is changed stepwise to the rich side by a proportional amount P, (iv) Thereafter, it is gradually changed to the rich side by an integral amount (■).

こうした変化をするLMDを一定周期で計算させるには
、前回の値を用いて今回の値を求める構成となるので、
前述の4つの場合に対応してLMDか下式のように数値
計算される(ステップ77゜78、80.81)。
In order to calculate LMD that changes like this at a constant cycle, the current value is calculated using the previous value, so
Corresponding to the above four cases, LMD is numerically calculated as shown in the following formula (steps 77, 78, 80, 81).

即ち、ステップ77、78.80.81はフィードバッ
ク補正量演算手段dの機能を奏する。
That is, steps 77, 78, 80, and 81 function as feedback correction amount calculation means d.

尚、開式において添え字「−1」は前回の値を示す。こ
の記号は後でも使用する。
In addition, in the opening ceremony, the subscript "-1" indicates the previous value. This symbol will be used later.

(i)   LMD=LMD−、−P (n )   L M D ” L M D −+ −
I(ui )   L M D = L M D −+
 + P(iv )    L M D = L M 
D −+ +1また、これら4つの場合の判定は、ステ
ップ73〜75で空燃比センサ26の出力値と基準レベ
ル(理論空燃比に対するセンサ出力値に相当する。)の
比較結果と前回の比較結果との場合分けにて行われる。
(i) LMD=LMD-, -P (n) LMD ” LMD −+ −
I(ui) LMD = LMD −+
+ P (iv) L M D = L M
D −+ +1 Furthermore, in steps 73 to 75, the determination in these four cases is based on the comparison result of the output value of the air-fuel ratio sensor 26 and the reference level (corresponding to the sensor output value for the stoichiometric air-fuel ratio) and the previous comparison result. This will be done on a case-by-case basis.

さて、この例ではLMDの半周期で得られるLMDの最
大値と最小値とを用いて半周期毎に学習値Kを決定する
。第8図で示す半周期では、aで示す値か最大値(LM
DI)、bて示す値か最小値(LMD2)となるので、
その平均値rMπを求める。
Now, in this example, the learning value K is determined every half cycle using the maximum value and minimum value of LMD obtained in the half cycle of LMD. In the half cycle shown in Fig. 8, the value indicated by a or the maximum value (LM
DI), the value shown by b or the minimum value (LMD2),
The average value rMπ is determined.

ここで(T’Mπ−1)か空燃比偏差に相当する値であ
る。
Here, (T'Mπ-1) is a value corresponding to the air-fuel ratio deviation.

これを第7図で行うには、LMDl、LMD2に対応す
るLMDの値は空燃比かリーンからリッチになった場合
においてLMDの前回の値、リッチからリーンになった
場合においてLMDの前回の値であるから、それぞれの
場合に今回のLMDの値を計算する前にLMDの前回の
値(LMD−、)をそれぞれ最大値LMDI、最小値L
MD2としてレジスタに格納する(ステップ73→74
→76.73→75→79)。そして、半周期経過した
時点でレジスタに格納した値(LMDlとLMD2)を
改めて読み出し、 丁vr= (LMD1+LMD2)/2にて平均値7M
丁を計算する(ステップ82)。
To do this in Figure 7, the values of LMD corresponding to LMDl and LMD2 are the air-fuel ratio, the previous value of LMD when the air-fuel ratio changes from lean to rich, and the previous value of LMD when the ratio changes from rich to lean. Therefore, in each case, before calculating the current value of LMD, the previous value of LMD (LMD-,) is set to the maximum value LMDI and the minimum value L, respectively.
Store it in the register as MD2 (step 73 → 74
→76.73→75→79). Then, when half a cycle has passed, the values stored in the registers (LMD1 and LMD2) are read out again, and the average value is 7M with Dvr= (LMD1+LMD2)/2.
Calculate D (step 82).

即ち、当該ステップ82が空燃比偏差演算手段fの機能
を奏する。
That is, step 82 functions as the air-fuel ratio deviation calculation means f.

一方、ステップ72と83て同じ半周期のTpとNの平
均値TVとNをそれぞれ計算し、TV七Nに対応する学
習領域(エリア)番号(NO)を決定する。ここに、格
子で分割された一区画が1つのエリアであり、すべての
エリアに対して予めNOか重複しないように割り振られ
ている。
On the other hand, in steps 72 and 83, the average values TV and N of Tp and N in the same half cycle are calculated, respectively, and the learning area number (NO) corresponding to TV7N is determined. Here, one section divided by a lattice is one area, and all areas are allocated in advance so as to be NO or non-overlapping.

そして、学習条件の成立を条件にしてNOに対応するエ
リアの学習値K (No)を K (No) = K (No) −] + R(77
丁1 )にて計算する(ステップ89)。尚、Rは学習
更新割合で、ハンチング等を回避するため1未満の適当
な値か選択される。
Then, on the condition that the learning condition is satisfied, the learning value K (No) of the area corresponding to NO is calculated as K (No) = K (No) -] + R (77
1) (step 89). Note that R is a learning update rate, and an appropriate value less than 1 is selected to avoid hunting and the like.

即ち、ステップ72と83か学習領域決定手段eの機能
を奏し、ステップ89か学習値更新手段りの機能を奏す
る。
That is, steps 72 and 83 function as learning area determining means e, and step 89 functions as learning value updating means.

さらにステップ90で第9図に示す推定演算を行う。Furthermore, in step 90, the estimation calculation shown in FIG. 9 is performed.

尚この場合のステップ88における学習条件とは、(a
)フィードバック制御中であること(b)センサ出力値
が劣化していない範囲にあること等を満足することをい
う。
In this case, the learning condition in step 88 is (a
) Feedback control is in progress; and (b) the sensor output value is within a range where no deterioration occurs.

また、半周期の始点と終点とが位置する2つのエリアが
余り離れては、学習値とこれに対応する運転条件との関
係か希薄となるので都合が悪い。
Furthermore, it is not convenient if the two areas where the start point and end point of a half cycle are located are too far apart because the relationship between the learned value and the corresponding operating condition will be weak.

従って、このような場合には学習が行われないようにす
る必要があるので、半周期間のTpとNの最大値(T 
p、、、、N、、、)と最小値(Tp、+、、。
Therefore, in such a case, it is necessary to prevent learning from occurring, so the maximum value of Tp and N (T
p, , , N, , ) and the minimum value (Tp, +, , .).

N、、、)を計算し、その差(T p 、、−T p−
+−)。
N, , ,) and the difference (T p , , -T p-
+-).

(N、、、、−N、、、)と所定値(TpX、NX)と
を比較させることにより、差か所定値を越える場合には
学習を行わせないようにしている(ステップ72.85
.86)。また、酸素センサ26の信号か上下に大きく
ドリフトしているときも学習を行わせないようにしてい
る(ステップ87)。
By comparing (N, , , -N, , ,) with the predetermined value (TpX, NX), learning is not performed if the difference exceeds the predetermined value (step 72.85).
.. 86). Furthermore, learning is not performed even when the signal from the oxygen sensor 26 has a large vertical drift (step 87).

尚、学習値の更新の場合は平均値nとNとをパラメータ
とするか、エリアから読み出す場合には、平均値ではな
く、そのときのTll>とNとをそのままパラメータと
して求めることはいうまでもない(第5図のステップ5
4)。
It goes without saying that when updating the learned value, the average values n and N are used as parameters, or when reading from the area, the Tll> and N at that time are used as parameters instead of the average value. (Step 5 in Figure 5)
4).

また、フィードバック制御は比例積分制御に限るもので
もない。
Further, feedback control is not limited to proportional-integral control.

次に第9図を参照しつつ、推定演算ルーチンについて説
明する。
Next, the estimation calculation routine will be explained with reference to FIG.

ステップ201において、学習値を更新したエリア(N
o)に対応した学習カウンタCT K (No)かイン
クリメントされ、ステップ202に進む。
In step 201, the area (N
The learning counter CT K (No) corresponding to o) is incremented, and the process proceeds to step 202.

ステップ202では、CT K (No)か所定値Aと
比較され、CT K (No)≧Aの場合にはステップ
203へ、逆の場合は本ルーチンを終了する。
In step 202, CT K (No) is compared with a predetermined value A, and if CT K (No)≧A, the process proceeds to step 203, and in the opposite case, the routine ends.

ステップ203では、NOかXに代入され、ステップ2
04の1jcalルーチンに進む。
In step 203, it is assigned to NO or X, and in step 2
Proceed to the 1jcal routine of 04.

1jcalルーチンについては、第1O図に示すように
、ステップ300てXを8て除した値をz(j分)、ま
たステップ301でy=X−8Xzとしてy(1分)を
求めている。尚、これは整数演算(小数点以下切捨て)
である。
Regarding the 1jcal routine, as shown in FIG. 1O, in step 300, the value obtained by dividing X by 8 is z (j minutes), and in step 301, y (1 minute) is determined as y=X-8Xz. Furthermore, this is an integer operation (rounded down to the decimal point)
It is.

また本演算はNoか0〜63(64個)てあり、Tp。In addition, this calculation has Nos. 0 to 63 (64 pieces), and Tp.

Nに対して各8格子ある場合の演算であり、1次元配列
番号であるNoを2次元配列番号とするものであり、N
に対する列かz(j分)、Tpに対する行かy(i分)
として出力するものである。このNOとy、Zの関係は
第11図に示しである。
This is an operation when there are 8 lattices each for N, and the one-dimensional array number No is the two-dimensional array number, and N
Column for z (j minutes), row y for Tp (i minutes)
This is what is output as. The relationship between NO, y, and Z is shown in FIG.

再び第9図に係る説明に戻るか、ステップ204て演算
された1分(y)はステップ205においてレジスタ(
reg i)に入力され、またj分はステップ206で
レジスタ(reg j)に入力される。
Returning to the explanation related to FIG. 9 again, the 1 minute (y) calculated in step 204 is stored in the register (
reg i) and the j portion is entered into the register (reg j) at step 206.

ステップ207てはreg i とreg j との加
算値か6以下か否かの判断か行われ、6以下の摺合はス
テップ208に進む。
In step 207, it is determined whether the sum of reg i and reg j is 6 or less, and if the sum is 6 or less, the process proceeds to step 208.

ステップ208ては((regi+reg j)x 8
 )の値かレジスタ(reg P)に入力される。この
値は、学習値を獲得するエリアの内で末端のエリアNo
の値に相当する(等Qa上てTpか最小)。
Step 208 is ((regi+reg j) x 8
) is input to the register (reg P). This value is the last area number in the area where the learning value is acquired.
(equivalent to Qa over Tp or the minimum).

このreg Pの値はさらにステップ209てMpに記
憶され、さらにステップ210てFLAGAかセットさ
れる。
This value of reg P is further stored in Mp in step 209, and FLAGA is further set in step 210.

さらにステップ211でreg Pの値がXに入力され
て、ステップ212の1jcalルーチンに進む。
Further, in step 211, the value of reg P is input to X, and the process proceeds to step 212, the 1jcal routine.

ステップ213aでFLAGZ Oがリセットされてい
るか否かの判定が行われ、リセットされていると判定さ
れると、ステップ213bに進む。
In step 213a, it is determined whether FLAGZ O has been reset. If it is determined that it has been reset, the process proceeds to step 213b.

ステップ213bでは2の値が0か否かの判定が行われ
z=0の場合にはステップ213cでFLAGZ Oが
セットされ、2≠0の場合にはスカップ213dでFL
AGZ Oがリセットされる。
In step 213b, it is determined whether or not the value of 2 is 0. If z=0, FLAGZ O is set in step 213c, and if 2≠0, FLAGZ is set in the scoop 213d.
AGZO is reset.

一方ステップ213aでFLAGZ Oがセットされて
いると判定されると、ステップ213e及びステップ2
13fにおいてFLAGZ O及びFLAGY 7がリ
セットされ、本ルーチンを終了する。
On the other hand, if it is determined in step 213a that FLAGZ O is set, step 213e and step 2
At 13f, FLAGZ O and FLAGY 7 are reset, and this routine ends.

またステップ214においてNoとreg Pの値との
比較が行われ、No≠reg Pの場合にはステップ2
15に進み、reg Pの配列Noに対応した学習カウ
ンタCT K (reg P)と所定値Aとの比較が行
われる。
Also, in step 214, a comparison is made between No and the value of reg P, and if No≠reg P, then step 2
In step 15, the learning counter CT K (reg P) corresponding to the array number of reg P is compared with a predetermined value A.

CTK(reg P) <Aの場合は、ステップ216
でregPから7を差引いた値を新たにreg Pとし
、ステップ211に戻り、またC T K (reg 
P)≧Aの場合は、ステップ217において後述する誤
差推定ルーチンに進む。
If CTK(reg P) <A, step 216
The value obtained by subtracting 7 from regP is set as a new reg P, the process returns to step 211, and C T K (reg
If P)≧A, the process proceeds to an error estimation routine described later in step 217.

一方、ステップ214においてNo=reg Pと判定
された場合には、ステップ215をジャンプしてステッ
プ216に進む。
On the other hand, if it is determined in step 214 that No=reg P, the process jumps to step 215 and proceeds to step 216.

一方ステップ207で(reg i十reg Dが6よ
り大と判断された場合はステップ218に進む。
On the other hand, if it is determined in step 207 that (reg i + reg D is greater than 6), the process proceeds to step 218.

ステップ218では((reg i+reg j −7
) +56)の値がレジスタ(reg P)に入力され
る。この値は、学習値を獲得するエリアの内で末端のエ
リアNOの値に相当する。
In step 218, ((reg i+reg j −7
) +56) is input into the register (reg P). This value corresponds to the value of the last area number among the areas where the learning value is acquired.

このreg Pの値はさらにステップ219でMpに記
憶され、さらにステップ220でFLAGAがリセット
される。
This value of reg P is further stored in Mp in step 219, and FLAGA is reset in step 220.

さらにステップ221でreg Pの値かXに入力され
て、ステップ222の1jcalルーチンに進む。
Further, in step 221, the value of reg P is input to X, and the process proceeds to step 222, the 1jcal routine.

ステップ223aでFLAGY7かリセットされている
か否かの判定が行われ、リセットされていると判定され
ると、ステップ223bに進む。
In step 223a, it is determined whether FLAGY7 has been reset, and if it is determined that it has been reset, the process proceeds to step 223b.

ステップ223bではyの値か0か否かの判定が行われ
y=Qの場合にはステップ223CでFLAGYがセッ
トされ、y≠0の場合にはステップ223dでFLAG
Yかリセットされる。
In step 223b, it is determined whether the value of y is 0 or not. If y=Q, FLAGY is set in step 223C, and if y≠0, FLAGY is set in step 223d.
Y is reset.

一方ステップ223aでFLAGY7かセットされてい
ると判定されると、ステップ213e及びステップ21
3fにおいてFLAGZ O及びFLAGY 7がリセ
ットされ、本ルーチンを終了する。
On the other hand, if it is determined in step 223a that FLAGY7 is set, step 213e and step 21
At 3f, FLAGZ O and FLAGY 7 are reset, and this routine ends.

またステップ224においてNoとreg Pの値との
比較か行われ、No≠reg Pの場合にはステップ2
25に進み、reg Pの配列Noに対応した学習カウ
ンタCT K (reg P)と所定値Aとの比較が行
われる。
Also, in step 224, a comparison is made between No and the value of reg P, and if No≠reg P, step 2
25, the learning counter CT K (reg P) corresponding to the array number of reg P is compared with a predetermined value A.

CTK(reg P) <Aの場合は、ステップ226
でreg Pから7を差引いた値を新たにreg Pと
し、ステップ221に戻り、またC T K (reg
 P)≧Aの場合は、ステップ217において後述する
誤差推定ルーチンに進む。
If CTK(reg P) <A, step 226
The value obtained by subtracting 7 from reg P is set as a new reg P, the process returns to step 221, and C T K (reg
If P)≧A, the process proceeds to an error estimation routine described later in step 217.

一方、ステップ224においてNo=reg Pと判定
された場合には、ステップ225をジャンプしてステッ
プ226に進む。
On the other hand, if it is determined in step 224 that No=reg P, the process jumps to step 225 and proceeds to step 226.

次に誤差推定ルーチンについて、第12図を参照しつつ
説明する。
Next, the error estimation routine will be explained with reference to FIG.

ステップ30AでNOかPに代入され、ステ・ニブ30
0及びステップ301で、P及び前記reg Pに対す
るTpの値をそれぞれTp工及びT p vとして求め
る。
It is assigned to NO or P in step 30A, and the ste nib 30
0 and step 301, the values of Tp for P and the reg P are determined as Tp and Tpv, respectively.

この演算を第13図に示すフローチャートに基づいて説
明する。
This calculation will be explained based on the flowchart shown in FIG.

ステップ400てはPまたはreg Pの値かXに入力
され、ステップ401の1jcalルーチンに進む。
At step 400, P or the value of reg P is input to X, and the process proceeds to step 401, the 1jcal routine.

1jcalルーチンの結果に基づきyはreg lに、
またy+1の値はreg 2に入力される・(ステップ
402゜ステップ403)。
Based on the result of the 1jcal routine, y is set to reg l,
Also, the value of y+1 is input to reg 2 (step 402 and step 403).

ステップ404において、T p XまたはT p y
か次式に従って求められる。
In step 404, T p X or T p y
It is calculated according to the following formula.

T p x、 T p Y=(L T p (reg2
)+LT、p(reg 1) ) / 2この式におけ
るL T p (reg 2)及びL T p (re
g 1)は、第14図に示す学習エリアのTp力方向格
子点を設定するものであり、本演算により学習エリアの
中心のTpか求められたことになる。
T p x, T p Y=(L T p (reg2
) + LT, p(reg 1) ) / 2 L T p (reg 2) and L T p (re
g1) is for setting the Tp force direction grid point of the learning area shown in FIG. 14, and this calculation means that Tp at the center of the learning area is found.

再び誤差推定ルーチンの説明に戻るか、ステップ302
ではGosaO値(Tsの誤差に相当する)が次式の如
く求められる。
Return to the explanation of the error estimation routine again or step 302
Then, the GosaO value (corresponding to the error in Ts) is obtained as shown in the following equation.

即ち、ステップ302が学習領域決定手段eにより決定
された学習領域Pに対し、略等Qa上の学習領域reg
 Pにおける学習値獲得回数CT K (No)=CT
K(P)、CTK(regP)が所定値以上となった場
合に、当該2つの学習領域に記憶された学習値K(P)
、 K(reg P)に基づいて誤差Gosaを推定す
る推定誤差検出手段kに相当する。
That is, step 302 sets the learning area reg on approximately equal Qa to the learning area P determined by the learning area determining means e.
Number of learning value acquisitions in P CT K (No) = CT
When K(P) and CTK(regP) exceed a predetermined value, the learning value K(P) stored in the two learning areas
, K(reg P) corresponds to an estimation error detection means k that estimates the error Gosa based on K(reg P).

ステップ303ではFLAGAがセットされているか否
かの判定か行われ、セットされていると判定されると、
ステップ304に進む。
In step 303, it is determined whether or not FLAGA is set, and if it is determined that it is set,
Proceed to step 304.

ステップ304ては、Mpかreg Pの値として記憶
され、さらにステップ305でreg PO値がXに入
力されて、ステップ306の1jcalルーチンに進む
。
In step 304, Mp is stored as the value of reg P, and in step 305, the reg PO value is input to X, and the process proceeds to step 306, the 1jcal routine.

該1jcalルーチンの結果、ステップ307aでFL
AGZOがリセットされているか否かの判定か行われ、
リセットされていると判定されると、ステップ307b
に進む。
As a result of the 1jcal routine, in step 307a, FL
A determination is made as to whether or not AGZO has been reset.
If it is determined that it has been reset, step 307b
Proceed to.

ステップ307bではZの値かOか否かの判定か行われ
2=0の場合にはステップ307CでFLAGZ Oが
セットされ、Z≠Oの場合にはステップ307dでFL
AGZ Oかリセットされる。
In step 307b, it is determined whether the value of Z is O or not. If 2=0, FLAGZ O is set in step 307C, and if Z≠O, FLAGZ is set in step 307d.
AGZ O will be reset.

一方ステップ307aでFLAGZ Oがセットされて
いると判定されると、ステップ307e及びステップ3
07fにおいてFLAGZ−0及びFLAGY 7がリ
セットされ、更にステップ314でFLAGAがリセッ
トされた後本ルーチンを終了する。
On the other hand, if it is determined in step 307a that FLAGZ O is set, step 307e and step 3
At step 07f, FLAGZ-0 and FLAGY 7 are reset, and at step 314, FLAG is reset, and then this routine ends.

ステップ308では前述のT p xまたはT p y
と同様に、前記reg Pに対するTpの値T p z
が次式に従って求められる。
In step 308, the above-mentioned T p x or T p y
Similarly, the value of Tp for the reg P is T p z
is obtained according to the following formula.

Tpz= (L Tp(reg 2)+LTp(reg
 1)) / 2この式におけるL T p (reg
 2)及びL T p (regl)は、第14図に示
す学習エリアのTp力方向格子点を設定するものである
。
Tpz= (L Tp(reg 2)+LTp(reg
1)) / 2 L T p (reg
2) and L T p (regl) are for setting the Tp force direction grid points of the learning area shown in FIG.

ステップ309ては、reg Pの配列NOに対応した
学習カウンタCT K (reg P)と所定値Aとの
比較か行われる。
In step 309, the learning counter CT K (reg P) corresponding to the array number of reg P is compared with a predetermined value A.

CTK(reg P) <Aの場合は、ステップ310
で前記学習カウンタCT K (reg P)か0であ
るか否かの判定か行われる。
If CTK(reg P) <A, step 310
Then, it is determined whether the learning counter CT K (reg P) is 0 or not.

そしてCTK(reg P) = 0である場合には、
ステップ311の推定Aルーチン(後述)に進み、該ル
ーチンを実行後、ステップ313ででreg Pがら7
を差引いた値を新たにreg Pとし、ステップ305
に戻る。
And if CTK(reg P) = 0, then
Proceed to the estimation A routine (described later) in step 311, and after executing this routine, in step 313, reg P is set to 7.
The value obtained by subtracting the value is set as a new reg P, and step 305
Return to

またステップ309でCT K (reg P)≧Aの
場合は、ステップ313にジャンプする。
Further, if CT K (reg P)≧A in step 309, the process jumps to step 313.

更に、ステップ310でCT K (reg P)≠0
である場合には、ステップ312の推定Bルーチン(後
述)に進み、該ルーチンを実行後、ステップ313てて
reg Pから7を差引いた値を新たにreg Pとし
、ステップ305に戻る。
Furthermore, in step 310, CT K (reg P)≠0
If so, the process proceeds to an estimation B routine (described later) in step 312, and after executing this routine, in step 313, the value obtained by subtracting 7 from reg P is set as a new reg P, and the process returns to step 305.

一方ステップ303てFLAGAがリセットされている
と判定されると、ステップ325に進む。
On the other hand, if it is determined in step 303 that FLAGA has been reset, the process proceeds to step 325.

ステップ325ては、Mpかreg Pの値として記憶
され、さらにステップ326でreg Pの値かXに入
力されて、ステップ327の1jcalルーチンに進む
。
At step 325, Mp is stored as the value of reg P, and at step 326, the value of reg P is input to X, and the process proceeds to step 327, the 1jcal routine.

該問catルーチンの結果、ステップ328aでFLA
GY7かリセットされているか否かの判定が行われ、リ
セットされていると判定されると、ステップ328bに
進む。
As a result of the query cat routine, the FLA
It is determined whether or not GY7 has been reset. If it is determined that GY7 has been reset, the process advances to step 328b.

ステップ328bではyの値か0か否かの判定か行われ
y=0の場合にはステップ328cてFLAGYかセッ
トされ、y≠0の場合にはステップ328dてFLAG
Yかリセットされる。
In step 328b, it is determined whether the value of y is 0 or not. If y=0, step 328c sets FLAGY, and if y≠0, step 328d sets FLAGY.
Y is reset.

一方ステップ328aてFLAGY 7かセットされて
いると判定されると、ステップ307e以降に進む。
On the other hand, if it is determined in step 328a that FLAGY 7 is set, the process proceeds to step 307e and subsequent steps.

ステップ329ては前述のT p zか次式のように求
められる。
In step 329, the above-mentioned T p z is determined by the following equation.

Tpz= (LTp(reg 2)+LTp(reg 
1)) / 2ステツプ330ては、reg Pの配列
Noに対応した学習カウンタCT K (reg P)
と所定値Aとの比較が行われる。
Tpz= (LTp(reg 2)+LTp(reg
1)) / 2 Step 330: Set the learning counter CT K (reg P) corresponding to the array number of reg P.
and a predetermined value A are compared.

CTK(reg P) <Aの場合は、ステップ331
て前記学習カウンタCT K (reg P)か0であ
るが否かの判定か行われる。
If CTK(reg P) <A, step 331
Then, it is determined whether the learning counter CT K (reg P) is 0 or not.

そしてCTK(reg P) = 0である場合には、
ステップ332の推定Aルーチン(後述)に進み、該ル
ーチンを実行後、ステップ334ででreg Pから7
を差引いた値を新たにreg Pとし、ステップ326
に戻る。
And if CTK(reg P) = 0, then
Proceed to the estimation A routine (described later) in step 332, and after executing this routine, in step 334, reg P to 7
The value obtained by subtracting the value is set as a new reg P, and step 326
Return to

またステップ330でCT K (reg P)≧Aの
場合は、ステップ334にジャンプする。
Further, if CT K (reg P)≧A in step 330, the process jumps to step 334.

更に、ステップ331でCT K (reg P)≠0
である場合には、ステップ333の推定Bルーチン(後
述)に進み、該ルーチンを実行後、ステップ334でで
reg Pから7を差引いた値を新たにreg Pとし
、ステップ326に戻る。
Furthermore, in step 331, CT K (reg P)≠0
If so, the process proceeds to an estimation B routine (described later) in step 333, and after executing this routine, the value obtained by subtracting 7 from reg P in step 334 is set as a new reg P, and the process returns to step 326.

次に第15図を参照しつつ、推定Aルーチンについて説
明する。
Next, the estimation A routine will be explained with reference to FIG.

当該ルーチンはCTK(reg P) = 0、即ち学
習値か1度も獲得されていないエリアの推定学習値を演
算するルーチンである。
This routine is a routine that calculates CTK(reg P) = 0, that is, an estimated learned value for areas in which a learned value has never been acquired.

ステップ500において、エリア番号regPに対応す
る推定学習値K(reg P)を次式に従って演算し、
該推定演算された学習値K(regP)で前記RAM中
の対応するエリアに記憶された学習値を更新する。
In step 500, the estimated learning value K (reg P) corresponding to the area number regP is calculated according to the following formula,
The learning value stored in the corresponding area in the RAM is updated with the estimated learning value K (regP).

K(reg P) = (Gosax (1/Tpx 
−1、/Tp z)+K(P) ) xG l  (G
osa)但し、G 1  (Gosa)は第17図に示
すような特性を有する推定学習値に対する更新割合を決
定する重みである。即ち、Gosaが大きい場合01の
値を小さくすることにより推定学習値の更新割合を制限
する。これは、推定値のハンチングを防止するためであ
る。
K(reg P) = (Gosax (1/Tpx
−1, /Tp z)+K(P) ) xG l (G
(osa) However, G 1 (Gosa) is a weight that determines the update rate for the estimated learning value having the characteristics shown in FIG. That is, when Gosa is large, the update rate of the estimated learned value is limited by reducing the value of 01. This is to prevent hunting of estimated values.

またGosaが小の場合もc i = i、とはしてい
ないが、これはGosaとしての演算値に対して影響を
及ぼすCoefに対する誤差分を吸収するためである。
Also, when Gosa is small, c i = i is not set, but this is to absorb the error for Coef that affects the calculated value of Gosa.

次に第16図を参照しつつ、推定Bルーチンについて説
明する。
Next, the estimation B routine will be explained with reference to FIG.

ここでは、ステップ600において、前記推定Aルーチ
ンにおけるステップ500と同一の演算を行い当該結果
をレジスタ(reg)にストアする。
Here, in step 600, the same calculation as in step 500 in the estimation A routine is performed and the result is stored in a register (reg).

そして、ステップ601において(reg)と(reg
 P)に対応するエリアの学習値K(reg P)の偏
差と、第18図に示すようなCT K (reg P)
の関数62の積により次式の如< K(reg P)を
推定補正して更新する。
Then, in step 601, (reg) and (reg
P) and the deviation of the learned value K (reg P) of the area corresponding to CT K (reg P) as shown in Figure 18.
K(reg P) is estimated and updated using the product of the function 62 as shown in the following equation.

K(reg P) =K(reg P)、++ (re
g −K(reg P)−+) xG 2これはCT 
K (reg P)の値か大きい程K(reg P)の
値の信頼性か高まるため、Gosaからの推定値の影響
割合を減少させるためである。
K (reg P) = K (reg P), ++ (re
g −K(reg P)−+) xG 2This is CT
This is to reduce the influence rate of the estimated value from Gosa because the larger the value of K (reg P), the higher the reliability of the value of K (reg P).

即ち、ステップ309.310.330及び331及び
推定Aルーチン及び推定Bルーチンか学習領域決定手段
eにより決定された学習領域Pに対し、略等Qa上の学
習領域reg Pにおける学習値獲得回数CTK(re
g P)か所定値未満の場合の学習値K(reg P)
を推定誤差Gosaに基づき推定演算し、該推定演算さ
れた学習値K (regP)で前記学習値記憶手段eの
対応する領域に記憶された学習値を更新する推定学習値
更新手段lの機能を奏する。
That is, for the learning area P determined by steps 309, 310, 330 and 331, the estimation A routine, and the estimation B routine or the learning area determining means e, the number of learning value acquisitions CTK( re
g P) or less than a predetermined value, the learned value K (reg P)
The function of the estimated learning value updating means l is to estimate and calculate based on the estimation error Gosa, and update the learning value stored in the corresponding area of the learning value storage means e with the estimated calculated learning value K (regP). play.

以上の説明で明らかなように、前記誤差Gosaか存在
する場合は、学習獲得回数か所定値未満のエリア(CT
K(reg P) <A) I:あッテハ、学習(if
獲得回数か所定値以上となったエリア(CT K (P
)≧A)の学習値と、該誤差Gosaとに基づいて推定
値として更新、記憶されるため、上記機関負荷方向の誤
差を補正することか可能となり、運転条件移行に伴うペ
ース空燃比と目標空燃比との誤差を吸収することか可能
となり、エミッション悪化等を防止することかできる。
As is clear from the above explanation, if the error Gosa exists, the area (CT
K(reg P) <A) I: Atteha, learning (if
Area (CT K (P
)≧A) Since it is updated and stored as an estimated value based on the learned value and the error Gosa, it is possible to correct the error in the engine load direction, and the pace air-fuel ratio and target as the operating conditions change. It becomes possible to absorb errors with the air-fuel ratio, and it is possible to prevent deterioration of emissions.

〈発明の効果〉 以上説明したように本発明によれば、等Qa領域上の2
つの領域の学習値により、同−等Qa上の他の学習値を
推定補正することができるため、少ない学習によって多
くの領域の学習値を精度良く推定することか可能となり
、学習の進行かあまり進んでいない状態から目標空燃比
と実空燃比との誤差か補正可能となる。
<Effects of the Invention> As explained above, according to the present invention, 2
Learning values in one area can be used to estimate and correct other learning values on the equivalent Qa, so it is possible to estimate the learning values in many areas with high accuracy with a small amount of learning, and the progress of learning can be greatly affected. It becomes possible to correct the error between the target air-fuel ratio and the actual air-fuel ratio from a state where the air-fuel ratio is not advanced.

このため、運転条件の移行に伴う空燃比フィードバック
補正係数のオーバーシュートやアンダーシュートを抑制
することかでき、目標空燃比への整定か早められる。こ
の結果、空燃比フィードバック制御精度を大幅に向上で
き、もって排気エミッション特性を良化でき燃費向上に
もつながる等すぐれた特徴を備えるものである。
Therefore, overshoot and undershoot of the air-fuel ratio feedback correction coefficient due to changes in operating conditions can be suppressed, and the air-fuel ratio can be settled to the target air-fuel ratio more quickly. As a result, the accuracy of air-fuel ratio feedback control can be greatly improved, thereby improving exhaust emission characteristics and leading to improved fuel efficiency.

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

第1図は本発明の構成を示すブロック図、第2図は本発
明の詳細な説明するだめのデータテーブル上の線図、第
3図は本発明の一実施例の構成を示す構成図、第4図は
同上実施例に係るコントロールユニットのブロック構成
図、第5図〜第7図。 第9図、第10図、第12図、第13図、第15図及び
第16図は同上実施例の各種制御ルーチンを示すフロー
チャート、第8図は同上実施例に係る学習制御方法を説
明するためのLMD特性を示す線図、第11図及び第1
4図は同上実施例に係るデータテープ24・・・エアフ
ローセンサ  25・・・クランク角センサ  26・
・・酸素センサ  40・・・コントロールユニット 
 41・・・インターフェイス  42・・・CPU特
許出願人  日産自動車株式会社 代理人 弁理士 笹 島  富二雄 第 図 第 図 第 図 第 図 第 図 第13 図 第16図 Tρ 第15図 第14図 第17図 第18図 CTに(regP) 大
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a line diagram on a data table for detailed explanation of the present invention, and FIG. 3 is a configuration diagram showing the configuration of an embodiment of the present invention. FIG. 4 is a block configuration diagram of a control unit according to the same embodiment, and FIGS. 5 to 7. 9, 10, 12, 13, 15, and 16 are flowcharts showing various control routines of the above embodiment, and FIG. 8 explains a learning control method according to the above embodiment. 11 and 1 are diagrams showing the LMD characteristics for
Figure 4 shows a data tape 24 according to the same embodiment as above.Air flow sensor 25.Crank angle sensor 26.
・・Oxygen sensor 40・・Control unit
41...Interface 42...CPU Patent Applicant Nissan Motor Co., Ltd. Agent Patent Attorney Fujio Sasashima Figure 18 CT (regP) large

Claims (1)

【特許請求の範囲】 機関吸入空気流量と回転数の検出値に応じて基本燃料噴
射量を演算する基本燃料噴射量演算手段と、 実空燃比を検出する実空燃比検出手段と、 空燃比のフィードバック制御域であるかどうかを判定す
る空燃比フィードバック制御域判定手段と、 前記フィードバック制御域であることが判定された場合
に前記実空燃比と目標空燃比との偏差に基づいて空燃比
のフィードバック補正量を演算するフィードバック補正
量演算手段と、 機関負荷と回転数をパラメータとして空燃比を学習すべ
き学習領域を決定する学習領域決定手段と、 前記フィードバック補正量に基づいて空燃比偏差の平均
値を演算する空燃比偏差演算手段と、機関負荷と回転数
をパラメータとして分割された学習領域毎に学習値を記
憶する学習値記憶手段と、 前記空燃比偏差の平均値に基づいて前記学習領域の学習
値を演算し、該学習値で前記学習値記憶手段の対応する
領域に記憶された学習値を更新する学習値更新手段と、 そのときの運転条件信号に応じて当該運転条件の属する
学習領域の学習値を読み出す学習値読出し手段と、 前記演算されたフィードバック補正量と前記読み出され
た学習値に基づいて前記基本燃料噴射量を補正して燃料
噴射量を演算する燃料噴射量演算手段と、 を備える内燃機関の空燃比制御装置において、学習領域
決定手段により決定された学習領域に対し、機関負荷と
機関回転数の積が略等しい少なくとも2つの学習領域に
おける学習値獲得回数が所定値以上となった場合に、当
該2つの学習領域に記憶された学習値に基づいて前記学
習領域に対して機関負荷方向の実空燃比と目標空燃比と
の誤差を推定する推定誤差検出手段と、 学習領域決定手段により決定された学習領域に対して機
関負荷と機関回転数の積が略等しい学習領域における学
習値獲得回数が所定値未満の場合の学習値を、前記推定
誤差検出手段により推定された推定誤差に基づき推定演
算し、該推定演算された学習値で前記学習値記憶手段の
対応する領域に記憶された学習値を更新する推定学習値
更新手段と、 を有することを特徴とする内燃機関の空燃比制御装置。
[Scope of Claims] Basic fuel injection amount calculation means for calculating a basic fuel injection amount according to detected values of engine intake air flow rate and rotational speed; actual air-fuel ratio detection means for detecting an actual air-fuel ratio; an air-fuel ratio feedback control area determining means for determining whether the air-fuel ratio is within the feedback control area; and when it is determined that the air-fuel ratio is within the feedback control area, feedback of the air-fuel ratio is performed based on the deviation between the actual air-fuel ratio and the target air-fuel ratio. a feedback correction amount calculating means for calculating a correction amount; a learning area determining means for determining a learning area in which the air-fuel ratio should be learned using engine load and rotation speed as parameters; and an average value of the air-fuel ratio deviation based on the feedback correction amount. an air-fuel ratio deviation calculation means for calculating a learning value, a learning value storage means for storing a learning value for each divided learning area using engine load and rotation speed as parameters, learning value updating means for calculating a learning value and updating the learning value stored in a corresponding area of the learning value storage means with the learning value; and a learning area to which the operating condition belongs according to the operating condition signal at that time. learning value reading means for reading out a learning value; and fuel injection amount calculation means for calculating a fuel injection amount by correcting the basic fuel injection amount based on the calculated feedback correction amount and the read learning value. In the air-fuel ratio control device for an internal combustion engine, the number of times learning values are acquired in at least two learning regions in which the product of engine load and engine speed is approximately equal to each other is equal to or greater than a predetermined value with respect to the learning region determined by the learning region determining means. an estimated error detection means for estimating an error between the actual air-fuel ratio in the engine load direction and the target air-fuel ratio for the learning area based on the learning values stored in the two learning areas when The learning value is estimated by the estimation error detection means when the number of learning value acquisitions in the learning region where the product of the engine load and the engine speed is approximately equal to the learning region determined by the region determining means is less than a predetermined value. An internal combustion engine characterized by comprising: an estimated learning value updating unit that performs an estimation calculation based on an estimation error and updates a learning value stored in a corresponding area of the learning value storage unit with the estimated calculation learning value. air-fuel ratio control device.
JP15149190A 1990-06-12 1990-06-12 Air-fuel ratio control device for internal combustion engine Ceased JPH0443838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15149190A JPH0443838A (en) 1990-06-12 1990-06-12 Air-fuel ratio control device for internal combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15149190A JPH0443838A (en) 1990-06-12 1990-06-12 Air-fuel ratio control device for internal combustion engine

Publications (1)

Publication Number Publication Date
JPH0443838A true JPH0443838A (en) 1992-02-13

Family

ID=15519660

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15149190A Ceased JPH0443838A (en) 1990-06-12 1990-06-12 Air-fuel ratio control device for internal combustion engine

Country Status (1)

Country Link
JP (1) JPH0443838A (en)

Similar Documents

Publication Publication Date Title
US8161944B2 (en) Control device of the internal combustion engine
US7356985B2 (en) Air-fuel ratio controller for internal combustion engine
JPH0826805B2 (en) Air-fuel ratio learning controller for internal combustion engine
EP1744031B1 (en) Method for correcting sensor signal
JP3960106B2 (en) Engine air-fuel ratio control device
JPS643248A (en) Air-fuel ratio control device for internal combustion engine
JPH09310636A (en) Air-fuel ratio control device for internal combustion engine
JPH0443837A (en) Air-fuel ratio control device for internal combustion engine
JPH0443836A (en) Air-fuel ratio control device for internal combustion engine
JP6636156B2 (en) Control device for fuel injection device
JP2526250B2 (en) Fuel control device for internal combustion engine
JP2914973B2 (en) Electronic engine control unit
JPH0615832B2 (en) Air-fuel ratio controller
JP3538874B2 (en) Internal combustion engine stability control device
JP2524359B2 (en) Fuel control device for internal combustion engine
JPH06257497A (en) Fuel injection control device for engine and its method
JPH0656120B2 (en) Internal combustion engine learning control device
JP2712798B2 (en) Fuel injection amount control device for internal combustion engine
WO2023181209A1 (en) Excess air ratio calculation device
JPH0656122B2 (en) Internal combustion engine learning control device
JPH04318244A (en) Self-diagnosis device for internal combustion engine fuel supply system
JPH01106937A (en) Internal combustion engine learning control device
JPH0656118B2 (en) Internal combustion engine learning control device
JPH04112939A (en) Air-fuel ratio control device for internal combustion engine
JPH01106954A (en) Control device for learning of internal combustion engine