JPH0345224B2 - - Google Patents

Info

Publication number
JPH0345224B2
JPH0345224B2 JP58172242A JP17224283A JPH0345224B2 JP H0345224 B2 JPH0345224 B2 JP H0345224B2 JP 58172242 A JP58172242 A JP 58172242A JP 17224283 A JP17224283 A JP 17224283A JP H0345224 B2 JPH0345224 B2 JP H0345224B2
Authority
JP
Japan
Prior art keywords
control
storage
engine
data
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.)
Expired - Lifetime
Application number
JP58172242A
Other languages
Japanese (ja)
Other versions
JPS6065254A (en
Inventor
Masahide Sakamoto
Masami Shida
Hiroatsu Tokuda
Matsuo Amano
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP17224283A priority Critical patent/JPS6065254A/en
Publication of JPS6065254A publication Critical patent/JPS6065254A/en
Publication of JPH0345224B2 publication Critical patent/JPH0345224B2/ja
Granted legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2487Methods for rewriting
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2451Methods of calibrating or learning characterised by what is learned or calibrated
    • F02D41/2454Learning of the air-fuel ratio control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D41/00Electrical control of supply of combustible mixture or its constituents
    • F02D41/24Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means
    • F02D41/2406Electrical control of supply of combustible mixture or its constituents characterised by the use of digital means using essentially read only memories
    • F02D41/2425Particular ways of programming the data
    • F02D41/2429Methods of calibrating or learning
    • F02D41/2441Methods of calibrating or learning characterised by the learning conditions
    • F02D41/2445Methods of calibrating or learning characterised by the learning conditions characterised by a plurality of learning conditions or ranges

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、自動車用内燃機関の制御装置に係
り、特に学習機能を備え、常に最適な制御パラメ
ータのもとで制御動作が行なえるようにした電子
式の制御装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a control device for an internal combustion engine for an automobile, and in particular has a learning function so that control operations can always be performed under optimal control parameters. It relates to an electronic control device.

〔発明の背景〕[Background of the invention]

内燃機関のノツキング制御や空燃比の制御に
は、従来からフイードバツク制御が用いられてい
るが、近年、このようなフイードバツク制御の応
答性を改善するため、このようなフイードバツク
の制御値の基準値からの偏差データを、そのとき
のエンジンの運転状態に対応したメモリのマツプ
内の区分に書き込んで記憶させておき、次にエン
ジンが同じ運転状態になつたときにこの記憶して
おいたデータを用いて制御を補正することによ
り、制御値をすみやかに最適値に制御するように
した、いわゆる学習制御方式が注目されるように
なり、その基本的な考え方としては、例えば特開
昭54−20231号公報や特開昭54−57029号公報など
に開示されている。
Feedback control has traditionally been used for knocking control and air-fuel ratio control in internal combustion engines, but in recent years, in order to improve the responsiveness of such feedback control, the control value of such feedback has been changed from the reference value. Write and store the deviation data in the section in the memory map that corresponds to the operating state of the engine at that time, and use this stored data the next time the engine is in the same operating state. The so-called learning control method, which quickly controls the control value to the optimum value by correcting the control based on the It is disclosed in the official gazette and Japanese Patent Application Laid-open No. 54-57029.

このような学習制御方式によるエンジン制御シ
ステムの一例を第1図に示す。
An example of an engine control system using such a learning control method is shown in FIG.

この第1図はエンジンの空燃比フイードバツク
システムにおける例で、1はエンジン、2は吸入
空気流量センサ、3は制御回路、4はインジエク
タ(燃料噴射弁)、5はO2センサである。
This FIG. 1 shows an example of an engine air-fuel ratio feedback system, where 1 is an engine, 2 is an intake air flow rate sensor, 3 is a control circuit, 4 is an injector (fuel injection valve), and 5 is an O 2 sensor.

制御回路3はマイクロコンピユータ(マイコン
という)を含み、エンジン1の吸入空気流量QA
を吸入空気流量センサ2で検出して取り込み、そ
れに応じて燃料噴射量を決定し、インジエクタ4
を駆動信号Piで駆動してエンジン1に所定量の燃
料を供給する。
The control circuit 3 includes a microcomputer (referred to as a microcomputer), and controls the intake air flow rate Q A of the engine 1.
is detected and taken in by the intake air flow rate sensor 2, the fuel injection amount is determined accordingly, and the injector 4
is driven by the drive signal P i to supply a predetermined amount of fuel to the engine 1.

エンジン1の排ガスからはO2センサ5によつ
て濃合気濃度が検出され、濃度信号O2が制御回
路3に入力される。これにより制御回路3はイン
ジエクタ4の駆動にフイードバツク制御をかけ、
吸入混合気の空燃比が最適な状態に保たれるよう
にする。このときの駆動信号Piのパルス幅Tiは、
次の(1)式で定められている。
The rich air vapor concentration is detected from the exhaust gas of the engine 1 by the O 2 sensor 5, and a concentration signal O 2 is input to the control circuit 3. As a result, the control circuit 3 applies feedback control to the drive of the injector 4,
To maintain the air-fuel ratio of the intake air-fuel mixture in an optimal state. The pulse width T i of the drive signal P i at this time is
It is determined by the following equation (1).

Ti=(K1・QA/N・K2・α)+TS ……(1) ここで、K1はインジエクタの特性などで決定
される定数、QAは吸入空気量、Nはエンジン回
転数、K2はエンジン温度などによる補正係数、
αは空燃比制御係数、TSはバツテリ電圧による
補正量である。
T i = (K 1 · Q A /N · K 2 · α) + T S ... (1) Here, K 1 is a constant determined by the characteristics of the injector, Q A is the intake air amount, and N is the engine Rotation speed, K 2 is a correction coefficient depending on engine temperature, etc.
α is an air-fuel ratio control coefficient, and T S is a correction amount based on battery voltage.

O2センサ5の信号O2によるフイードバツク制
御は、上記の制御係数αを第2図に示すように変
化させて行ない、信号O2がリツチ(空燃比が理
論空燃比より濃い状態)と、リーン(同じく理論
空燃比より薄い状態)とを周期的に繰り返えすよ
うに上記のαを変化させて燃料供給量を制御し、
空燃比の平均値が理論空燃比(約14.7)に収斂す
るような制御を得ようとするものであり、制御の
ベースとなる空燃比が正しい状態にある理想的な
状態では、αの値は1.0を中心にして振れ、空燃
比の平均値は理論空燃比に一致している。
Feedback control using the signal O 2 from the O 2 sensor 5 is performed by changing the control coefficient α as shown in FIG. (also a state where the air-fuel ratio is leaner than the stoichiometric air-fuel ratio) is changed periodically to control the fuel supply amount by changing the above α.
The aim is to obtain control such that the average value of the air-fuel ratio converges to the stoichiometric air-fuel ratio (approximately 14.7), and in an ideal state where the air-fuel ratio that is the basis of control is correct, the value of α is It oscillates around 1.0, and the average value of the air-fuel ratio matches the stoichiometric air-fuel ratio.

そして、何らかの理由により空燃比が理論空燃
比からずれると、O2フイードバツク制御により
制御係数αの中心値はそれを補正する方向にずら
される。例えば、空燃比が10%濃くなつたとすれ
ば、それを補正するため、制御係数αは0.9を中
心にして振れるようにされ、反対に空燃比が10%
薄くなつたとすれば、制御係数αは1.1を中心に
して振れるようにされる。そして、この結果、空
燃比の平均値は再び理論空燃比に一致するように
され、空燃比フイードバツク制御が得られること
になる。
If the air-fuel ratio deviates from the stoichiometric air-fuel ratio for some reason, the center value of the control coefficient α is shifted in the direction to correct it by O 2 feedback control. For example, if the air-fuel ratio becomes 10% richer, in order to compensate for this, the control coefficient α is made to swing around 0.9;
If it becomes thinner, the control coefficient α is allowed to swing around 1.1. As a result, the average value of the air-fuel ratio is made to match the stoichiometric air-fuel ratio again, and air-fuel ratio feedback control is obtained.

ところで、このような空燃比のずれは、エンジ
ンの運転状態の変化によつて生じることが多く、
この結果、上記したO2フイードバツク制御では、
エンジンの運転状態が或る領域にあるときには、
制御係数αは1.1を中心として振れている状態に
あるが、他の領域では0.9を中心として振れるよ
うになるという具合に、エンジンの運転状態が変
化すると制御係数αも変化する場合がある。
By the way, such air-fuel ratio deviations often occur due to changes in engine operating conditions.
As a result, in the O 2 feedback control described above,
When the engine operating condition is in a certain range,
The control coefficient α is in a state where it fluctuates around 1.1, but in other areas it starts to fluctuate around 0.9. When the operating condition of the engine changes, the control coefficient α may also change.

しかして、このようなフイードバツク制御には
不可避的に制御遅れ時間があり、そのため、上記
したようにエンジンの運転状態が或る領域から他
の領域に移り、これにより空燃比が論理値からず
れ、それを補正するためのフイードバツクが掛か
つた場合でも、上記の制御係数αが一方の領域に
対応した値から新たな領域に対応した値に移行し
て空燃比を理論値に戻すまでには多少の時間を要
し、この間、空燃比が理論値から外れたままの状
態でエンジンが運転されてしまうことになる。
However, such feedback control inevitably involves a control delay time, and as a result, as described above, the engine operating state shifts from one region to another, causing the air-fuel ratio to deviate from the logical value. Even if feedback is applied to correct it, it will take some time before the above control coefficient α shifts from the value corresponding to one region to the value corresponding to the new region and returns the air-fuel ratio to the theoretical value. During this time, the engine is operated with the air-fuel ratio deviating from the theoretical value.

そこで、この難点を除くため、エンジンの運転
状態をその負荷の大きさや回転数などに応じて多
数の領域に区分し、それぞれの領域ごとにその領
域での制御係数αの基準値(α=1.0)からの偏
差を求め、それを非破壊メモリに記憶しておき、
その後、同じ運転領域に入るごとにその偏差を用
いて制御を行なうことにより、常に制御係数αが
1.0を中心にして振れている状態での制御を可能
にしている。
Therefore, in order to eliminate this difficulty, the operating state of the engine is divided into many regions according to the load size, rotation speed, etc., and for each region, the standard value of the control coefficient α (α = 1.0 ) and store it in non-destructive memory.
Thereafter, by performing control using the deviation each time the same operating region is entered, the control coefficient α is always maintained.
This makes it possible to control even when it is swinging around 1.0.

このときのインジエクタ4に対する駆動信号Pi
のパルス幅Tiは次の(2)式のようにして定める。
Drive signal P i for injector 4 at this time
The pulse width T i of is determined by the following equation (2).

Ti:{K1・QA/N・K2・α・(1.0−Kl)} +TS ……(2) ここで、Klはそのときの制御係数αの基準値
1.0からの偏差値で、次の(3)式のようになる。
T i : {K 1・Q A /N・K 2・α・(1.0−K l )} +T S ……(2) Here, K l is the reference value of the control coefficient α at that time
The deviation value from 1.0 is expressed as the following equation (3).

Kl=α−1.0 ……(3) そして、この学習制御方式によるエンジン制御
システムでは、上記した偏差データKlをエンジン
運転中の学習により順次、電源バツクアツプ
RAMなどからなる非破壊メモリのマツプ内の区
分に書き込み補充し、或いは書き替え修正してゆ
くようにしてある。
K l = α−1.0 ...(3) In the engine control system using this learning control method, the above deviation data K l is sequentially backed up from the power supply by learning while the engine is running.
It is designed to replenish or rewrite sections in a map of non-destructive memory such as RAM.

この学習制御方式によれば、最初に独立したそ
れぞれの偏差データKlをメモリに書き込んで用意
しておく必要がなく、しかも、エンジンや制御用
の各種のアクチユエータの特性に変化を生じて
も、それに応じて偏差データKlが自己修正されて
ゆくから、常に正しい制御が期待でき、過渡状態
も含めてエンジンの制御状態を正しく保つことが
できる。
According to this learning control method, there is no need to first write and prepare each independent deviation data K l in memory, and even if the characteristics of the engine or various control actuators change, Since the deviation data Kl is self-corrected accordingly, correct control can always be expected, and the engine control state can be maintained correctly even in transient states.

しかしながら、この学習制御方式における上記
偏差値データの書き込みには、一定の条件が設け
られ、エンジンの運転状態が同一運転領域区分に
所定の時間以上保たれ、充分に安定した状態での
偏差値データが得られたときにだけ書き込みが行
なわれるようになつている。そして、これは、正
しいデータによる適正な制御のために必要な要求
であり、この条件をなくすことはほとんど不可能
に近い。
However, certain conditions are set for writing the above-mentioned deviation value data in this learning control method. Writing is performed only when . This is a necessary requirement for proper control using correct data, and it is almost impossible to eliminate this condition.

従つて、この学習制御方式のシステムでは、エ
ンジンの運転状態領域のうち、実際の運転状態で
は過渡的にしか現われない運転領域や、ほとんど
現われることのない運転領域に対応した偏差値デ
ータについては、いつまでたつてもメモリのマツ
プ内に対する偏差値データの新たな書き込みが行
なわれず、初期設定したデータのままに保たれて
しまうことになり、このため、第3図に示すよう
に、偏差値データの書き込み記憶が完了している
運転領域区分Aから、まだ記憶が完了していない
区分Bに移つたとき、或いはこの区分Bから記憶
が完了している区分Cに移つたときなどに制御係
数αの移行の遅れを生じ、その間、制御が不適切
な状態に保たれ、空燃比が理論値から外れて排ガ
スが悪化したり、ノツキングを生じてエンジンに
悪影響を及ぼしてしまうという欠点があつた。
Therefore, in this learning control system, the deviation value data corresponding to the operating region of the engine that only appears transiently or rarely appears in the actual operating state is No matter how much time passes, no new deviation value data will be written into the memory map, and the initially set data will remain as it is. As a result, as shown in Figure 3, the deviation value data The control coefficient α is changed when moving from operating area section A for which writing and storage has been completed to section B for which storage has not yet been completed, or when moving from this section B to section C for which storage has been completed. This has the drawback of causing a delay in the transition, during which the control is kept in an inappropriate state, causing the air-fuel ratio to deviate from the stoichiometric value, worsening exhaust gases, and causing knocking, which has an adverse effect on the engine.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、このような従来技術の欠点を
除き、学習制御方式のエンジン制御システムにお
けるメモリのマツプ内に記憶未了領域がほとんど
残らず、常に適切な制御を行なわせることができ
るようにしたエンジン制御装置を提供するにあ
る。
An object of the present invention is to eliminate such drawbacks of the prior art, and to provide an engine control system using a learning control method, in which almost no unstored area remains in the memory map, and appropriate control can be performed at all times. The aim is to provide a new engine control system.

〔発明の概要〕[Summary of the invention]

この目的を達成するため、本発明は、学習制御
方式のシステムにおいて、制御用のデータを記憶
するメモリの領域区分全体に対するデータの書き
込み区分数が所定値に達したときには、残りのデ
ータ書き込み未了区分に対して、その近傍の書き
込み完了区分にあるデータを書き込むようにした
点を特徴とするものであり、これを、特許請求の
範囲の欄に記載されている発明に対応してブロツ
ク図で示すと第7図のようになる。
In order to achieve this object, the present invention provides a learning control system in which when the number of data write sections for all memory area sections storing control data reaches a predetermined value, remaining data is not yet written. This is characterized in that the data in the writing completion section in the vicinity of the section is written to the section, and this is shown in the block diagram in accordance with the invention described in the claims column. The diagram is shown in Fig. 7.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明による電子式内燃機関制御装置
を、図面の実施例を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An electronic internal combustion engine control device according to the present invention will be described in detail below with reference to embodiments of the drawings.

本発明の一実施例においても、その主要部分の
構成は第1図に示した従来の学習制御方式による
システムと同じで、異なる点は第4図a,bのフ
ローチヤートに示した処理が制御回路3に含まれ
ているマイコンによつて遂行されるように構成し
てある点だけである。
In one embodiment of the present invention, the configuration of the main parts is the same as the conventional learning control system shown in FIG. The only point is that it is configured to be executed by the microcomputer included in the circuit 3.

この第4図にしたがつた処理は、インジエクタ
4に対する制御動作を適切に行なうのに充分なひ
ん度で周期的に実行されるもので、この処理に入
ると、まず、ステツプS1(以下、ステツプを省略
して単にS1、S2……と記す)とS2で順次、エン
ジンの吸入空気量QAと回転数Nを求め、ついで
S3ではこれらのデータQA、NからデータTPの計
算を行なう。なお、このデータTPはエンジンの
運転状態を領域に区分するためのパラメータとし
て用いるためのものである。
The process shown in FIG. 4 is periodically executed with sufficient frequency to appropriately control the injector 4. When this process starts, step S1 (hereinafter referred to as step S1) is executed. (omitted and simply written as S1, S2...) and S2 to find the intake air amount Q A and rotational speed N of the engine, and then
In S3, data T P is calculated from these data Q A and N. Note that this data T P is used as a parameter for dividing the operating state of the engine into regions.

次にS4でO2センサ5から信号O2を取り込み、
続くS5、S7でこの信号O2を順次調べ、S5では信
号O2がリツチからリーンに変つたところか否か、
つまり第2図の点P1か否かを判別し、結果が
YESのときにはS6を通つてこのときのαの値を
αnioとして格納してからS9に向い、NOとなつた
らS7で信号O2がリーンからリツチに変つたとこ
ろか否か、つまり第2図の点P2か否かを判別し、
結果がYESのときにはS8を通つてこのときのα
の値をαnaxとして格納してからS9に向う。そし
て、S5とS7の結果がいずれもNO、つまりαの値
が第2図の最大値αnaxと最少値αnioの間にあると
判断されたときにはS29からS24ないしS28に向
い、通常のインジエクタ4のための信号Tiの計算
処理を行なつてこのフローに従つた処理を終る。
Next, in S4, the signal O 2 is acquired from the O 2 sensor 5,
In the following S5 and S7, this signal O 2 is sequentially checked, and in S5, it is determined whether the signal O 2 has changed from rich to lean.
In other words, it is determined whether point P in Figure 2 is 1 or not, and the result is
If YES, the value of α at this time is stored as α nio through S6, and then it goes to S9. If it becomes NO, it checks whether the signal O2 has changed from lean to rich in S7, that is, as shown in Figure 2. Determine whether point P 2 or not,
If the result is YES, α at this time is passed through S8.
After storing the value of as α nax , proceed to S9. Then, when the results of S5 and S7 are both NO, that is, the value of α is determined to be between the maximum value α nax and the minimum value α nio in FIG. 4, and the processing according to this flow is completed.

さて、S5又はS7のいずれかで結果がYESにな
つてS9に進んだら、このS9ではαの平均値αneao
を計算し、ついでS10ではデータTPとNからその
ときのエンジンの運転状態がどの区分にあるのか
を判別し、この区分をAとする。
Now, if the result is YES in either S5 or S7 and you proceed to S9, in this S9 the average value of α α neao
is calculated, and then in S10 it is determined from the data T P and N which category the engine operating state is in at that time, and this category is set as A.

次にS11では、いまS10で判別した区分Aの番
号と、いまより1回前にこのS10の処理により判
別されS14(後述)の処理により格納されていた
区分Aの番号AOLDとを比較し、両者が一致してい
たときにはS12を通り、用意してあるカウンタの
インクリメントを行ない、一致していなかつたと
きにはS13を通つてこのカウンタをクリアする。
Next, in S11, the number of section A that was just determined in S10 is compared with the number A OLD of section A that was determined in the process of S10 one time before and stored in the process of S14 (described later). , if they match, the process goes to S12 and a prepared counter is incremented, and if they do not match, the process goes to S13 and clears this counter.

その後、S14を通つて上述したデータAのAOLD
への格納を行なつてからS15に進み、上述のカウ
ンタのカウント値を調べ、それが3以上になつて
いるか否かを判別する。そして、このS15での結
果がNOの間はそのままS24以降S28に進む。
After that, A OLD of the data A mentioned above is passed through S14.
After the storage is performed, the process proceeds to S15, where the count value of the above-mentioned counter is checked and it is determined whether or not it is 3 or more. If the result in S15 is NO, the process directly advances to S24 and subsequent S28.

一方、S15での結果がYESになつたら、S16に
進み、S9で計算しておいたデータαneaoによりデ
ータKlを求め、電源バツクアツプRAMなどの非
破壊のメモリの区分AにこのデータKlを書き込
む。
On the other hand, if the result in S15 is YES, proceed to S16, obtain data K l using the data α neao calculated in S9, and store this data K l in section A of non-destructive memory such as power backup RAM. Write.

ここで、S15での結果がYESになつたことの意
味について説明する。
Here, the meaning of the result of S15 being YES will be explained.

まず、このS15での結果がYESになるために
は、S11での結果が少くとも3回、連続してYES
にならなければならない。これは、エンジンの運
転状態が同じ領域区分にあるときに連続して3回
以上、S11までの処理が行なわれたことを意味す
る。
First, in order for the result in S15 to be YES, the result in S11 must be YES at least three times in a row.
must become. This means that the processes up to S11 have been performed three or more times in a row when the engine operating state is in the same region classification.

一方、このS11までの処理が行なわれるのは、
S5又はS7のいずれかで結果がYESになつたとき、
つまり、制御係数αによるエンジンの制御が第2
図のP1点、又はP2点で丁度行なわれていたとき
である。
On the other hand, the processing up to S11 is performed as follows:
When the result is YES in either S5 or S7,
In other words, the engine control using the control coefficient α is the second
This is when the test was carried out exactly at point P1 or point P2 in the figure.

従つて、このS15での結果がYESになるのは、
エンジンの運転状態が同一の領域区分にとどまつ
たままで、第2図に示した制御係数αの振れによ
るエンジンのフイードバツク制御が、連続して少
くとも3回、行なわれたことを意味する。
Therefore, the result of S15 is YES because
This means that the engine feedback control based on the fluctuation of the control coefficient α shown in FIG. 2 was performed at least three times in a row while the engine operating state remained in the same range.

ところで、こうしてS15での結果がYESになつ
たらS16での処理が行なわれるのであるから、結
局、この実施例では、学習制御方式における学習
データの書き込み条件が、エンジンが同一運転状
態領域に保たれたままで、第2図に示した制御係
数αの振れによるフイードバツク制御が少くとも
3回以上行なわれたことによつて満されるように
なつていることが判る。なお、この書き込み条件
がどのようなときに満されたものとするかは、必
要に応じて任意に定めればよい。
By the way, if the result in S15 becomes YES, the process in S16 is performed, so in the end, in this embodiment, the learning data writing conditions in the learning control method are such that the engine is kept in the same operating state region. It can be seen that the condition is satisfied by performing the feedback control based on the fluctuation of the control coefficient α shown in FIG. 2 at least three times. Note that when this write condition is satisfied may be arbitrarily determined as necessary.

さて、S16での処理を終つたらS17に進み、メ
モリのマツプ内の区分に対してS16の処理によつ
てデータの書き込みが行なわれた区分の数を調
べ、それをCとする。なお、このためには、この
システムの稼働開始前に上記メモリのマツプ内の
全ての区分に“0”を書き込んでおき、このS17
の処理でこのマツプの区分を順次、全部読み出
し、そのうち“0”が読み出されてこなかつた区
分の数をカウントして上記のCとしてもよく、或
いは、非破壊メモリの中に用意した特定のメモリ
領域を用いてソフトカウンタを構成し、S16の処
理が行なわれるごとにこのソフトカウンタをイン
クリメントしておき、このカウンタのデータを
S17で調べて上記のCを得るようにしてもよい。
After completing the process in S16, the process proceeds to S17, where the number of sections in the map of the memory to which data has been written by the process in S16 is checked, and this number is set as C. In order to do this, before starting the operation of this system, write "0" to all sections in the above memory map, and then
It is also possible to sequentially read out all the sections of this map in the process of , count the number of sections for which "0" has not been read out, and use it as C above. Configure a soft counter using the memory area, increment this soft counter every time the process of S16 is performed, and store the data of this counter.
The above C may be obtained by checking in S17.

こうしてCを求めたら、それを次のS18で所定
数、例えば25と比較し、Cが25以上あるか否かを
判別する。そして、結果がNOとなつている間
は、S24以降の処理に進み、S19〜S23の処理はス
キツプする。
Once C is obtained in this way, it is compared with a predetermined number, for example 25, in the next step S18, and it is determined whether or not C is 25 or more. While the result is NO, the process proceeds to S24 and subsequent steps, and the processes of S19 to S23 are skipped.

一方、S18での結果がYES、つまり、メモリ・
マツプの全ての区分のうち、25の区分に対して学
習によるデータの書き込みがなされたと判断され
たときには、まず、S19において区分番号xを1
にする。
On the other hand, if the result in S18 is YES, that is, the memory
When it is determined that data has been written by learning to 25 of all the sections of the map, first, in S19, the section number x is set to 1.
Make it.

ここで、この実施例におけるメモリ・マツプの
実施例を第5図に示す。
Here, an example of the memory map in this embodiment is shown in FIG.

この第5図の実施例は、メモリのマツプを行方
向と列方向にそれぞれ8分割し、64の区分を設け
たもので、このとき、行方向をエンジンの負荷を
表わす変数TPで分割し、列方向をエンジンの回
転数Nで分割したものである。そして、区分番号
xは、第1行、第1列を0番とし、第8行、第8
列が63番となるように順次、列方向から行方向に
定めてある。なお、この区分番号xはカツコを付
してそれぞれの区分内の一部に記載してある。
In the example shown in FIG. 5, the memory map is divided into 8 sections in the row direction and 8 in the column direction, creating 64 divisions.At this time, the row direction is divided by a variable T P representing the engine load. , the column direction is divided by the engine rotation speed N. Then, the division number x is numbered 0 in the first row and first column, and
They are determined sequentially from the column direction to the row direction so that the column is numbered 63. Note that this division number x is written in a part of each division with a bracket.

S20ではメモリ・マツプの番号がxの区分から
データを読み出し、それが“0”であるか否かを
判別する。そして、結果がNOの間は次のS21を
スキツプし、結果がYESになつたときだけS21の
処理を行ない、区分番号(x−1)のマツプ区分
からデータを読み出し、それをxの区分に書き込
む。
In S20, data is read from the section of the memory map whose number is x, and it is determined whether or not it is "0". Then, while the result is NO, the next S21 is skipped, and only when the result is YES, S21 is executed, data is read from the map section with section number (x-1), and it is placed in the section x. Write.

S22では区分番号xをインクリメント、つまり
xを順次、1づつ増加させる処理を行ない、続く
S23でこのインクリメントされた区分番号xを調
べ、それがメモリ・マツプの全区分数である63以
下にあるか否かを判別し、結果がYESの間はS20
に戻り、S20〜S22の処理を繰り返す。
In S22, the division number x is incremented, that is, x is sequentially increased by 1, and the process continues.
In S23, this incremented partition number x is checked to determine whether it is less than or equal to 63, which is the total number of partitions in the memory map.
Return to , and repeat the processing of S20 to S22.

この結果、メモリ・マツプの全区分に対して所
定の割合の区分、つまり、この実施例では64の区
分のうち25の区分に対して学習制御によるデータ
の書き込みが完了した時点で、既に書き込みが完
了している区分のデータに基づいて、まだ書き込
みが行なわれていない区分に対するデータの書き
込みが行なわれ、メモリ・マツプのほとんどの区
分に、学習結果に近似したデータの書き込みが第
6図に示すように完了することになる。
As a result, by the time data has been written to a predetermined proportion of all the sections of the memory map, that is, 25 out of 64 sections in this embodiment, data has already been written. Data is written to the sections that have not yet been written based on the data of the completed sections, and data that approximates the learning result is written to most sections of the memory map as shown in Figure 6. It will be completed as follows.

S24からS28までの処理は、インジエクタ4の
制御に必要な部分で、まず、S24ではメモリ・マ
ツプの区分AからデータKlを読み出す。このとき
の区分Aは、S10又はS29で判定したもので、現
在のエンジンの運転状態領域を表わすものであ
る。続くS25、S26で順次、係数K2,TSの計算を
行ない、その後でS27に進み、制御係数αとデー
タKl、それに変数TPなどからインジエクタ4の
駆動信号Piに必要なパルス幅を表わすデータTi
算出し、これを次のS28の処理で所定のインジエ
クタ制御用のレジスタにセツタしてこのフローに
したがつた処理を終る。
The processing from S24 to S28 is necessary for controlling the injector 4. First, in S24, data Kl is read from section A of the memory map. Classification A at this time is determined in S10 or S29 and represents the current engine operating state range. In the following S25 and S26, the coefficients K 2 and T S are calculated in sequence, and then the process proceeds to S27, where the pulse width required for the drive signal P i of the injector 4 is calculated from the control coefficient α, data K l , variable T P , etc. Data T i representing this is calculated and set in a predetermined injector control register in the next process of S28, and the process according to this flow ends.

従つて、この実施例によれば、インジエクタ4
に対する制御を学習制御方式によつて応答性良く
行なわせることができる上、メモリ・マツプに対
するデータの書き込みが所定の区分数に達した時
点で、残りのほとんどの区分に対しても近似的な
データの書き込みが行なわれるため、データの書
き込み未了区分の存在による空燃比制御の遅れを
効果的になくし、排ガスの状態悪化を充分に防止
することができる。
Therefore, according to this embodiment, the injector 4
control can be performed with good responsiveness using a learning control method, and when the data written to the memory map reaches a predetermined number of sections, approximate data can be written to most of the remaining sections. Therefore, it is possible to effectively eliminate delays in air-fuel ratio control due to the existence of sections for which data has not been written, and to sufficiently prevent deterioration of the exhaust gas condition.

ところで、上記実施例では、メモリ・マツプの
区分数、つまり制御のためのエンジン運転状態領
域区分数を64に設定し、かつ、この区分に対する
学習制御データの書き込み区分数が25に達したら
残りの区分にも近似データを書き込むようにして
いるが、このときの区分数の設定は64に限らず任
意に定めればよく、また、上記の区分数25も、任
に定め得るものであることはいうまでもない。
By the way, in the above embodiment, the number of sections in the memory map, that is, the number of engine operating state area sections for control, is set to 64, and when the number of sections in which learning control data is written to this section reaches 25, the remaining sections are Approximate data is also written in the sections, but the number of sections at this time can be set arbitrarily, not limited to 64, and the number of sections mentioned above, 25, can also be set arbitrarily. Needless to say.

また、このときの近似データの書き込み方法に
ついても、上記実施例では、S18〜S23の処理に
より、それぞれのデータ書き込み未了区分に書き
込まれるべき近似データが、その区分の番号より
小さい番号の区分にさかのぼつてゆき、最初に学
習制御データが書き込まれている区分に達したと
きのその区分のデータとなるようにしているが、
本発明はこれに限らず、実施可能で、例えば、学
習制御データが書き込まれている2つの区分の間
に存在する書き込み未了区分に対しては、これら
2つの区分のデータを平均したデータが書き込ま
れるようにしてもよく、さらに、このデータの平
均化を列方向と行方向の双方で行なうようにして
もよい。
Also, regarding the method of writing approximate data at this time, in the above embodiment, the approximate data to be written to each unfinished data writing section is transferred to a section with a smaller number than the number of that section by the processing of S18 to S23. Going backwards, when the first section where learning control data is written is reached, the data is set to that section.
The present invention is not limited to this, and can be implemented. For example, for a write-unfinished section that exists between two sections in which learning control data has been written, data that is the average of the data of these two sections is Furthermore, this data may be averaged both in the column direction and in the row direction.

なお、以上の実施例は、本発明を空燃比制御シ
ステムに適用した例について説明したが、本発明
はこれに限らず、学習制御方式のシステムならど
のような制御システムにも適用可能なことはいう
までもなく、例えば、ノツク制御システムに適用
してもよい。
Although the above embodiment describes an example in which the present invention is applied to an air-fuel ratio control system, the present invention is not limited to this, and can be applied to any control system as long as it is a learning control system. Needless to say, the present invention may be applied to, for example, a knock control system.

さらに、上記実施例では、メモリ・マツプの書
き込み未了区分に対する近似データの書き込み
が、この発明を適用した制御システムが稼働を開
始してからメモリ・マツプの区分の所定数に学習
制御データが最初に書き込まれたときに行なわれ
るようになつているが、本発明はこれに限らず、
例えば、上記の近似データの書き込みが行なわれ
たあと、さらに学習制御データによるメモリ・マ
ツプ区分の書き替えが進み、この書き替えた区分
の数が所定数に達したときには再び上記の近似デ
ータの書き込みと同じ動作が行なわれ、データの
書き替え未了区分に対する近似データの書き替え
が行なわれるようにしてもよい。
Furthermore, in the above embodiment, writing of the approximate data to the unwritten sections of the memory map is performed for the first time after the control system to which this invention is applied starts operating, and the learning control data is written to a predetermined number of sections of the memory map. However, the present invention is not limited to this.
For example, after the above approximate data is written, the memory map sections are further rewritten using learning control data, and when the number of rewritten sections reaches a predetermined number, the above approximate data is written again. The same operation as above may be performed, and approximate data may be rewritten for the unrewritten data section.

なお、このためには、例えば、第4図bのS17
において説明したソフトカウンタを、S23の処理
に続いてクリアしてやるようにすればよい。
For this purpose, for example, S17 in Fig. 4b
The soft counter described in 1 may be cleared following the process of S23.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、学習制
御方式のエンジン制御システムにおけるメモリ・
マツプ内にデータ書き込み未了区分が生じるのを
最小限度に抑えることができるから、従来技術の
欠点を除き、フイードバツク制御による遅れを常
に充分に補償することができ、過渡状態でも充分
に適正な制御を行なつて排ガスの状態などを常に
良好に保つことができる電子式内燃機関の制御装
置を容易に提供することができる。
As explained above, according to the present invention, memory and
Since it is possible to minimize the occurrence of unfinished data writing sections in the map, it is possible to eliminate the shortcomings of the conventional technology, to always sufficiently compensate for delays caused by feedback control, and to ensure adequate control even in transient conditions. Thus, it is possible to easily provide an electronic internal combustion engine control device that can maintain a good exhaust gas condition at all times.

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

第1図は学習制御方式のエンジン制御システム
の一例を示すブロツク図、第2図は空燃比制御シ
ステムにおけるフイードバツク制御動作を説明す
るためのタイムチヤート、第3図は同じく領域区
分変更時での動作を説明するためのタイムチヤー
ト、第4図a,bは本発明による電子式内燃機関
制御装置の一実施例の動作を説明するフローチヤ
ート、第5図及び第6図はメモリ・マツプの概念
図、第7図は本発明の基本的構成例を示すブロツ
ク図である。 1……エンジン、2……吸入空気流量センサ、
3……制御回路、4……インジエクタ、5……
O2センサ。
Fig. 1 is a block diagram showing an example of an engine control system using the learning control method, Fig. 2 is a time chart for explaining the feedback control operation in the air-fuel ratio control system, and Fig. 3 is the same operation when changing the region classification. 4a and 4b are flowcharts illustrating the operation of an embodiment of the electronic internal combustion engine control device according to the present invention, and FIGS. 5 and 6 are conceptual diagrams of memory maps. , FIG. 7 is a block diagram showing an example of the basic configuration of the present invention. 1...Engine, 2...Intake air flow rate sensor,
3... Control circuit, 4... Injector, 5...
O2 sensor.

Claims (1)

【特許請求の範囲】[Claims] 1 エンジンの作動状態を検出する検出手段と、
エンジンの制御に使用する状態制御量を記憶する
ための複数に区画された記憶区分を有する記憶手
段と、少なくともこの記憶手段に格納されている
状態制御量に基づいてエンジンの制御に使用する
制御値を算定する演算手段と、この制御値に基づ
いてエンジンを制御する制御手段とを備えた内燃
機関の制御装置において、エンジンの作動状態に
基づいて上記記憶手段に記憶すべき状態制御量を
演算する記憶値演算手段と、上記記憶手段の記憶
区分を決定する記憶区分決定手段と、上記記憶値
演算手段により演算された状態制御量を上記記憶
区分手段により決定された上記記憶手段の記憶区
分に書き込む第1の書き込み手段と、この記憶手
段の記憶区分に対する状態制御量の書き込み区分
数を算定する計数手段と、この計数手段により算
定された書き込み区分数が所定値を越えたことを
検知して出力を発生する比較手段と、この比較手
段の出力に基づいて上記記憶手段の書込完了区分
に記憶してある状態制御量から算定した補正値を
上記記憶手段の書込未了区分に書き込む第2の書
き込み手段とを設けたことを特徴とする電子式内
燃機関制御装置。
1 detection means for detecting the operating state of the engine;
A storage means having a plurality of storage sections for storing a state control amount used to control the engine, and a control value used for controlling the engine based on at least the state control amount stored in the storage means. A control device for an internal combustion engine comprising a calculation means for calculating the control value and a control means for controlling the engine based on the control value, which calculates a state control amount to be stored in the storage means based on the operating state of the engine. storage value calculation means; storage classification determination means for determining a storage classification of the storage means; and writing the state control amount calculated by the storage value calculation means into the storage classification of the storage means determined by the storage classification means. a first writing means; a counting means for calculating the number of write sections of the state control amount for the storage section of the storage means; and output upon detecting that the number of write sections calculated by the counting means exceeds a predetermined value. and a second comparator for writing a correction value calculated from the state control amount stored in the write completion section of the storage means into the write incomplete section of the storage means based on the output of the comparison means. What is claimed is: 1. An electronic internal combustion engine control device comprising: writing means.
JP17224283A 1983-09-20 1983-09-20 Electronic controller for internal-combustion engine Granted JPS6065254A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17224283A JPS6065254A (en) 1983-09-20 1983-09-20 Electronic controller for internal-combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17224283A JPS6065254A (en) 1983-09-20 1983-09-20 Electronic controller for internal-combustion engine

Publications (2)

Publication Number Publication Date
JPS6065254A JPS6065254A (en) 1985-04-15
JPH0345224B2 true JPH0345224B2 (en) 1991-07-10

Family

ID=15938249

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17224283A Granted JPS6065254A (en) 1983-09-20 1983-09-20 Electronic controller for internal-combustion engine

Country Status (1)

Country Link
JP (1) JPS6065254A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60153446A (en) * 1984-01-24 1985-08-12 Japan Electronic Control Syst Co Ltd Learning controller for air-fuel ratio in electronically- controlled fuel injection type internal-combustion engine
JPS60153445A (en) * 1984-01-24 1985-08-12 Japan Electronic Control Syst Co Ltd Learning controller for air-fuel ratio in electronically- controlled fuel injection type internal-combustion engine
JP2515494B2 (en) * 1985-06-11 1996-07-10 本田技研工業株式会社 Internal combustion engine speed control method
US4991102A (en) * 1987-07-09 1991-02-05 Hitachi, Ltd. Engine control system using learning control

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5654936A (en) * 1979-10-10 1981-05-15 Nippon Denso Co Ltd Control method for air-fuel ratio
JPS56106040A (en) * 1980-01-29 1981-08-24 Nippon Denso Co Ltd Engine controlling method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5654936A (en) * 1979-10-10 1981-05-15 Nippon Denso Co Ltd Control method for air-fuel ratio
JPS56106040A (en) * 1980-01-29 1981-08-24 Nippon Denso Co Ltd Engine controlling method

Also Published As

Publication number Publication date
JPS6065254A (en) 1985-04-15

Similar Documents

Publication Publication Date Title
JP2697251B2 (en) Engine air-fuel ratio control device
KR890002866B1 (en) Electronic control apparatus for internal combustion engine
JPH08158918A (en) Air fuel ratio learning control device for internal combustion engine
JPH0345224B2 (en)
JPH0949451A (en) Engine control device
US4862855A (en) Control apparatus for internal combustion engine
JPH0452384B2 (en)
JP2577211B2 (en) Basic fuel injection amount setting device for internal combustion engine
JPH066217Y2 (en) Alcohol sensor failure diagnosis device in internal combustion engine
JP2602509B2 (en) Engine air-fuel ratio control device
JP4291492B2 (en) Air-fuel ratio control device for internal combustion engine
JP3680501B2 (en) Air-fuel ratio control device for internal combustion engine
JPS62195439A (en) Control device for engine
JPS6342103B2 (en)
JPH0515906B2 (en)
JPH0550587B2 (en)
JP2757064B2 (en) Air-fuel ratio control device for internal combustion engine
JP2631585B2 (en) Air-fuel ratio learning control device for internal combustion engine
JP2500946Y2 (en) Electronically controlled fuel supply system for internal combustion engine
JPH0510195A (en) Learning controller
JPH0744748Y2 (en) Electronically controlled fuel injection device for internal combustion engine
JP2912475B2 (en) Air-fuel ratio control method for internal combustion engine
JPH0744747Y2 (en) Electronically controlled fuel injection device for internal combustion engine
JPS6232339B2 (en)
JPH06272604A (en) Controller of engine