JP2894624B2 - Engine ignition timing control device - Google Patents

Engine ignition timing control device

Info

Publication number
JP2894624B2
JP2894624B2 JP11300290A JP11300290A JP2894624B2 JP 2894624 B2 JP2894624 B2 JP 2894624B2 JP 11300290 A JP11300290 A JP 11300290A JP 11300290 A JP11300290 A JP 11300290A JP 2894624 B2 JP2894624 B2 JP 2894624B2
Authority
JP
Japan
Prior art keywords
learning
ignition timing
knock
feedback control
completed
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 - Fee Related
Application number
JP11300290A
Other languages
Japanese (ja)
Other versions
JPH0412172A (en
Inventor
浩哉 大雲
秀司 三山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Subaru Corp
Original Assignee
Fuji Jukogyo KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Jukogyo KK filed Critical Fuji Jukogyo KK
Priority to JP11300290A priority Critical patent/JP2894624B2/en
Publication of JPH0412172A publication Critical patent/JPH0412172A/en
Application granted granted Critical
Publication of JP2894624B2 publication Critical patent/JP2894624B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、ノック検出の困難な運転領域でのノック発
生を防止するエンジンの点火時期制御装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ignition timing control device for an engine that prevents knock from occurring in an operating region where knock detection is difficult.

[従来の技術] 最近では、エンジンの異常燃焼による初期ノックを検
出し、点火時期を最適に制御する技術が広く採用されて
いる。
[Related Art] In recent years, a technology for detecting an initial knock due to abnormal combustion of an engine and optimally controlling an ignition timing has been widely adopted.

この場合、エンジンのノックは、混合気の異常燃焼に
よる圧力振動を、シリンダヘッドあるいはシリンダブロ
ックに取付けた加速度センサなどにより機械的振動とし
て検出するものが多く、エンジン高回転時にはノックに
よる振動成分とエンジン自体の振動成分との区別が困難
となる。
In this case, the engine knock often detects pressure vibration due to abnormal combustion of the air-fuel mixture as mechanical vibration using an acceleration sensor or the like attached to a cylinder head or a cylinder block. It is difficult to distinguish the vibration component from the vibration component itself.

従って、エンジン高回転領域ではノック検出を中止
し、ノック検出の可能な運転領域で学習した学習値によ
り点火時期の補正を行なうようにしており、例えば、特
開昭61−164076号公報には、実際の点火時期と基本点火
時期との偏差に応じた補正値を記憶し、所定の運転域で
ノックフィードバック制御を停止したとき、記憶した前
記補正値により前記基本点火時期を補正する技術が開示
されている。
Therefore, knock detection is stopped in the high engine speed region, and the ignition timing is corrected based on a learning value learned in an operation region where knock detection is possible.For example, Japanese Patent Application Laid-Open No. 61-164076 discloses that A technique is disclosed in which a correction value corresponding to a deviation between an actual ignition timing and a basic ignition timing is stored, and when the knock feedback control is stopped in a predetermined operation range, the basic ignition timing is corrected by the stored correction value. ing.

[発明が解決しようとする課題] しかしながら、ノックの発生は燃料のオクタン価と密
接な相関があり、例えば、給油などによって低オクタン
価の燃料が補給され、燃料全体のオクタン価が低下した
まま新たな学習が実行される前に高速運転をすると、そ
れまでの学習結果が記憶保持されているため以前の学習
結果に基づいて点火時期が補正されてしまい、点火時期
が過進角となってノックが頻発し、エンジンに損傷を与
えるおそれがある。
[Problems to be Solved by the Invention] However, the occurrence of knock has a close correlation with the octane number of the fuel. For example, new learning is performed while the octane number of the entire fuel is reduced by supplying low octane fuel by refueling or the like. If high-speed operation is performed before execution, the ignition result is corrected based on the previous learning result because the previous learning result is stored and retained, and the ignition timing becomes excessively advanced and knocks frequently occur May damage the engine.

これに対処するには、例えば、イグニッションスイッ
チをOFFする度に学習値をクリアし、白紙の状態からそ
の都度学習を実行する技術、あるいは、燃料のオクタン
価を検出するセンサ、燃料の給油を検知する手段などを
付加する技術が考えられるが、前者においては学習の効
果が半減してエンジン出力性能の向上、燃費改善が期待
できず、また、後者においては、コスト上昇を招くなど
の問題がある。
To cope with this, for example, the learning value is cleared each time the ignition switch is turned off, and the learning is executed each time from a blank state, or a sensor that detects the octane number of the fuel, or detects the fuel supply. Techniques for adding means and the like are conceivable, but in the former, there is a problem that the learning effect is reduced by half, so that improvement in engine output performance and fuel efficiency cannot be expected, and in the latter, the cost increases.

[発明の目的] 本発明は、上記事情に鑑みてなされたもので、ノック
検出の困難な運転領域においても、燃料のオクタン価の
変化によるノック発生を特別な検出手段を付加すること
なく防止することのできるエンジンの点火時期制御装置
を提供することを目的としている。
[Object of the Invention] The present invention has been made in view of the above circumstances, and even in an operation region where knock detection is difficult, it is possible to prevent knock generation due to a change in octane number of fuel without adding a special detection means. It is an object of the present invention to provide an ignition timing control device for an engine that can perform the following.

[課題を解決するための手段] 上記目的を達成するため本発明によるエンジンの点火
時期制御装置は、運転状態パラメータに基づいて点火時
期を設定し、この点火時期をノック発生を検出してフィ
ードバック補正するとともに学習値により補正するエン
ジンの点火時期制御装置において、第1図に示すよう
に、ノックフィードバック制御領域における点火時期の
学習が完了したか否かを判定する学習完了判定手段M1
と、所定の運転領域で点火時期のノックフィードバック
制御を停止するノックフィードバック制御停止手段M2
と、上記ノックフィードバック制御停止手段M2により点
火時期のノックフィードバック制御を停止した場合、上
記学習完了判定手段M1における判定結果が学習完了のと
き、上記ノックフィードバック制御領域における点火時
期学習値に基づいてノックフィードバック制御領域外で
の点火時期を補正し、上記学習完了判定手段M1における
判定結果が学習未完了のとき、上記ノックフィードバッ
ク制御領域外での点火時期を学習完了時よりも遅角側に
補正するノックフィードバック制御領域外点火時期補正
手段M3とを備えたものである。
Means for Solving the Problems To achieve the above object, an engine ignition timing control device according to the present invention sets an ignition timing based on an operating state parameter, and detects the occurrence of knocking of the ignition timing to perform feedback correction. In addition, in the ignition timing control device for the engine that corrects with the learning value, as shown in FIG. 1, learning completion determination means M1 for determining whether or not learning of the ignition timing in the knock feedback control region has been completed.
Knock feedback control stopping means M2 for stopping knock feedback control of the ignition timing in a predetermined operation region.
When the knock feedback control of the ignition timing is stopped by the knock feedback control stopping means M2, and when the learning result of the learning completion determining means M1 indicates that learning is completed, knocking is performed based on the ignition timing learning value in the knock feedback control area. The ignition timing outside the feedback control region is corrected, and when the result of the learning by the learning completion determination unit M1 is not learned, the ignition timing outside the knock feedback control region is corrected to be more retarded than when the learning is completed. And an ignition timing correction means M3 outside the knock feedback control region.

また、上記学習完了判定手段M1は、上記ノックフィー
ドバック制御領域における点火時期学習値の変化量が予
め設定した範囲内にあるとき学習完了と判定し、上記ノ
ックフィードバック制御領域における点火時期学習値の
変化量が予め設定した範囲内にないとき学習未完了と判
定するものであり、また、上記ノックフィードバック制
御領域におけるノック発生頻度が予め設定した頻度以下
のとき学習完了と判定し、上記ノックフィードバック制
御領域におけるノック発生頻度が予め設定した頻度を越
えたとき学習未完了と判定するものである。
Further, the learning completion determination means M1 determines that learning has been completed when the change amount of the ignition timing learning value in the knock feedback control region is within a preset range, and determines that the ignition timing learning value has changed in the knock feedback control region. When the amount is not within a preset range, it is determined that learning is not completed. When the knock occurrence frequency in the knock feedback control area is equal to or less than a preset frequency, it is determined that learning is completed, and the knock feedback control area is determined. When the knocking occurrence frequency exceeds a preset frequency, it is determined that learning is not completed.

[作 用] 上記構成によるエンジンの点火時期制御装置では、学
習完了判定手段M1によりノックフィードバック制御領域
における点火時期の学習が完了したか否かが判定され、
ノックフィードバック制御停止手段M2により所定の運転
領域で点火時期のノックフィードバック制御が停止され
ると、上記学習完了判定手段M1による学習完了の判定結
果に応じてノックフィードバック制御領域外の点火時期
がノックフィードバック制御領域外点火時期補正手段M3
により補正される。
[Operation] In the engine ignition timing control device having the above configuration, the learning completion determination means M1 determines whether learning of the ignition timing in the knock feedback control region has been completed,
When the knock feedback control stopping means M2 stops the knock feedback control of the ignition timing in a predetermined operation region, the ignition timing outside the knock feedback control area is changed to knock feedback in accordance with the result of the learning completion determination by the learning completion determining means M1. Out of control area ignition timing correction means M3
Is corrected by

すなわち、ノックフィードバック制御が停止される運
転領域では、上記ノックフィードバック制御領域で学習
が完了されているときには、上記ノックフィードバック
制御領域における点火時期学習値に基づいて点火時期が
補正され、上記ノックフィードバック制御領域で学習未
完了のときには、学習完了時よりも遅角側に補正され
る。
That is, in the operation region where the knock feedback control is stopped, when the learning is completed in the knock feedback control region, the ignition timing is corrected based on the ignition timing learning value in the knock feedback control region, and the knock feedback control is performed. When learning is not completed in the region, the correction is made to be more retarded than when learning is completed.

また、上記学習完了判定手段M1では、上記ノックフィ
ードバック制御領域における点火時期学習値の変化量に
より学習が完了したか否かが判定され、上記点火時期学
習値の変化量が予め設定した範囲内にあるとき学習完
了、上記点火時期学習値の変化量が予め設定した範囲内
にないとき学習未完了と判定される。
Further, in the learning completion determination means M1, it is determined whether learning has been completed based on the amount of change in the ignition timing learning value in the knock feedback control region, and the amount of change in the ignition timing learning value falls within a preset range. It is determined that the learning is completed when there is a certain time, and that the learning is not completed when the amount of change in the ignition timing learning value is not within a preset range.

または、上記学習完了判定手段M1では、上記ノックフ
ィードバック制御領域におけるノック発生頻度により学
習が完了したか否かが判定され、ノック発生頻度が予め
設定した頻度以下のとき学習完了、ノック発生頻度が予
め設定した頻度を越えたとき学習未完了と判定される。
Alternatively, the learning completion determination means M1 determines whether or not learning has been completed based on a knock occurrence frequency in the knock feedback control region.When the knock occurrence frequency is equal to or less than a preset frequency, learning completion and knock occurrence frequency are determined in advance. When the set frequency is exceeded, it is determined that learning is not completed.

[発明の実施例] 以下、図面を参照して本発明の実施例を説明する。Hereinafter, embodiments of the present invention will be described with reference to the drawings.

第2図〜第6図は本発明の第1実施例を示し、第2図
はエンジン制御系の概略図、第3図は点火時期制御手順
を示すフローチャート、第4図は学習値更新手順を示す
フローチャート、第5図はノックフィードバック補正値
算出手順を示すフローチャート、第6図は学習完了判定
手順を示すフローチャートである。
2 to 6 show a first embodiment of the present invention, FIG. 2 is a schematic diagram of an engine control system, FIG. 3 is a flowchart showing an ignition timing control procedure, and FIG. FIG. 5 is a flowchart showing a knock feedback correction value calculating procedure, and FIG. 6 is a flowchart showing a learning completion determining procedure.

(エンジン制御系の構成) 第2図において、図中、符号1はエンジン本体であ
り、このエンジン本体1のシリンダヘッド2に形成され
た吸気ポート2aと排気ポート2bに吸気管3、排気管4が
連通され、さらに、上記シリンダヘッド2には、その発
火部を燃焼室1aに露呈する点火プラグ5が装着されてい
る。
(Configuration of Engine Control System) In FIG. 2, reference numeral 1 denotes an engine body, and an intake pipe 3 and an exhaust pipe 4 are provided at an intake port 2a and an exhaust port 2b formed in a cylinder head 2 of the engine body 1. The cylinder head 2 is further provided with an ignition plug 5 that exposes its ignition portion to the combustion chamber 1a.

上記吸気管3の上流側にはエアクリーナ6が連通さ
れ、このエアクリーナ6の直下流に吸入空気量センサ
(図においては、ホットワイヤ式エアフローメータ)7
が介装されている。
An air cleaner 6 communicates with the upstream side of the intake pipe 3, and an intake air amount sensor (hot wire air flow meter in the figure) 7 is provided immediately downstream of the air cleaner 6.
Is interposed.

また、上記吸気管3の中途にスロットルバルブ8が介
装され、このスロットルバルブ8にスロットル開度セン
サ9が連設されており、さらに、上記吸気管3の上記ス
ロットルバルブ8下流に、圧力センサ10が臨まされてい
る。
A throttle valve 8 is interposed in the middle of the intake pipe 3, a throttle opening sensor 9 is connected to the throttle valve 8, and a pressure sensor is provided downstream of the throttle valve 8 of the intake pipe 3. Ten are coming.

また、上記燃焼室1Aに連通する吸気ポート2aの直上流
にインジェクタ11が臨まされ、上記排気管4の中途に介
装された触媒コンバータ12の直上流に、O2センサ13が臨
まされている。
An injector 11 is located immediately upstream of the intake port 2a communicating with the combustion chamber 1A, and an O2 sensor 13 is located immediately upstream of a catalytic converter 12 provided in the middle of the exhaust pipe 4.

また、上記エンジン本体1のシリンダブロック1bに形
成された冷却水通路1cに冷却水温センサ14が臨まされ、
さらに、上記シリンダブロック1b側壁にノックセンサ15
が取付けられている。
Further, a cooling water temperature sensor 14 faces a cooling water passage 1c formed in the cylinder block 1b of the engine body 1,
Further, a knock sensor 15 is provided on the side wall of the cylinder block 1b.
Is installed.

また、上記エンジン本体1のクランクシャフト1dにク
ランクロータ16が固設され、このクランクロータ16の外
周にクランク角センサ17が対設されている。
A crank rotor 16 is fixed to a crankshaft 1d of the engine body 1, and a crank angle sensor 17 is provided on an outer periphery of the crank rotor 16 in a pair.

(制御手段の回路構成) 一方、符号20はマイクロコンピュータなどからなる制
御装置(ECU)で、このECU20のCPU(中央演算処理装
置)21、ROM22、RAM23、バックアップRAM23a、及び、I/
Oインターフェース24がバスライン25を介して互いに接
続され、運転状態パラメータに基づいて点火時期を設定
し、この点火時期をノック発生を検出してフィードバッ
ク補正するとともに学習値により補正する点火時期制御
の機能が実現され、また、燃料噴射制御などの他の機能
が実現される。
(Circuit Configuration of Control Means) On the other hand, reference numeral 20 denotes a control device (ECU) including a microcomputer or the like, and a CPU (central processing unit) 21, a ROM 22, a RAM 23, a backup RAM 23a, and an I / O
The O interface 24 is connected to each other via a bus line 25, sets the ignition timing based on the operating state parameter, detects the occurrence of knock, performs feedback correction, and corrects the ignition timing based on a learned value. Is realized, and other functions such as fuel injection control are realized.

上記I/Oインターフェース24の入力ポートには、上記
各センサ7,9,10,13,14,15,17が接続され、さらに、上記
I/Oインターフェース24の出力ポートには、上記インジ
ェクタ11が駆動回路26を介して接続されるとともに、イ
グナイタ27が接続されている。
The input ports of the I / O interface 24 are connected to the sensors 7, 9, 10, 13, 14, 15, and 17, respectively.
The injector 11 is connected to an output port of the I / O interface 24 via a drive circuit 26, and an igniter 27 is connected to the output port.

上記イグナイタ27には点火コイル28が接続され、この
点火コイル28に上記点火プラグ5がディストリビュータ
29を介して接続されている。
An ignition coil 28 is connected to the igniter 27, and the ignition plug 5 is connected to the ignition coil 28 by a distributor.
Connected via 29.

上記ROM22には制御プログラム、及び、後述する基本
点火時期マップMPBSE、最適点火時期マップMPMBTなどの
固定データが記憶されており、上記バックアップRAM23a
には学習マップMPIGLRNが形成されてイグニッションス
イッチ(図示せず)OFF後にもデータが記憶保持される
ようになっている。さらに、上記RAM23には、上記各セ
ンサからのデータ、上記CPU21による処理データ、及
び、各種フラグ類などが格納される。
The ROM 22 stores a control program and fixed data such as a basic ignition timing map MPBSE and an optimum ignition timing map MPMBT, which will be described later.
Is formed with a learning map MPIGLRN, and data is stored and held even after an ignition switch (not shown) is turned off. Further, the RAM 23 stores data from the sensors, data processed by the CPU 21, various flags, and the like.

上記ECU20では、イグニッションスイッチ(図示せ
ず)がONされると、まず、上記CPU21にてイニシャライ
ズが実行され、各種フラグ類などがクリアされる。そし
て、エンジンが稼働すると、上記CPU21では、上記ROM22
に記憶されている制御プログラムに従い、上記RAM23に
記憶されている各種データに基づき燃料噴射量Ti及び点
火時期θIGなどを演算する。
In the ECU 20, when an ignition switch (not shown) is turned on, first, the CPU 21 executes initialization, and clears various flags and the like. When the engine operates, the CPU 21 stores the ROM 22
In accordance with the control program stored in the RAM 23, the fuel injection amount Ti and the ignition timing θIG are calculated based on the various data stored in the RAM 23.

そして、制御タイミング設定用のカウンタ、タイマ類
に燃料噴射時刻、点火時刻をセットし、演算した燃料噴
射量Tiに相応するインジェクタ11の駆動パルス幅信号、
イグナイタ27に対する点火信号を最適なタイミングで出
力する。
Then, a fuel injection time and an ignition time are set in a counter and a timer for control timing setting, and a drive pulse width signal of the injector 11 corresponding to the calculated fuel injection amount Ti,
An ignition signal to the igniter 27 is output at an optimal timing.

(動 作) 次に、上記構成による実施例の動作を第3図〜第6図
のフローチャートに基づいて説明する。
(Operation) Next, the operation of the embodiment having the above configuration will be described based on the flowcharts of FIGS.

(点火時期制御手順) 第3図に示すフローチャートは、所定時間毎に繰返さ
れる点火時期制御のプログラムであり、まず、ステップ
S101でクランク角センサ17の出力信号間隔からエンジン
回転数Nを算出し、ステップS102で圧力センサ10の出力
信号から吸気管圧力PMを算出してステップS103へ進
む。
(Ignition Timing Control Procedure) The flowchart shown in FIG. 3 is a program for ignition timing control that is repeated at predetermined time intervals.
In step S101, the engine speed N is calculated from the output signal interval of the crank angle sensor 17, and in step S102, the intake pipe pressure PM is calculated from the output signal of the pressure sensor 10, and the process proceeds to step S103.

ステップS103では冷却水温センサ14の出力信号から冷
却水温TWを算出し、ステップS104ではノックセンサ15
の出力信号からノック発生の有無を判定し、ノック有り
の場合には、ノック発生を識別するためノック発生判別
フラグFLAG1をセットする。
In step S103, the coolant temperature TW is calculated from the output signal of the coolant temperature sensor 14, and in step S104, the knock sensor 15 is calculated.
The presence / absence of knock occurrence is determined based on the output signal of (1). If knock is present, a knock occurrence determination flag FLAG1 is set to identify knock occurrence.

次いで、上記ステップS101で算出したエンジン回転数
Nと上記ステップS102で算出した吸気管圧力PMとをパ
ラメータとして、ステップS105で最適点火時期マップMP
MBTを検索し、エンジンに対して使用が設定された燃
料、例えばプレミアムガソリンのオクタン価でのノック
限界の最大許容進角量を与える最適点火時期MBTを算出
するとともに、ステップS106で基本点火時期マップMPBS
Eを検索し、現在の運転状態での基本点火時期IGBSEを算
出する。
Next, using the engine speed N calculated in step S101 and the intake pipe pressure PM calculated in step S102 as parameters, in step S105 the optimal ignition timing map MP
The MBT is searched to calculate the optimum ignition timing MBT that gives the maximum allowable advance of the knock limit at the octane number of the fuel set to be used for the engine, for example, premium gasoline, and the basic ignition timing map MPBS in step S106
Search for E and calculate the basic ignition timing IGBSE in the current operating state.

次に、ステップS107,S108,S109で現在の運転状態が学
習を実施する条件を満足しているか否かをチェックす
る。すなわち、ステップS107では、エンジン回転数Nが
学習下限回転数NLOW(例えば、500rpm)と学習上限回
転数NUPPER(例えば、5000rpm)の範囲内にあるか否か
を調べ、ステップS108で吸気管圧力PMと設定値PSET
(例えば、エンジンが過給されている場合900mmHg)と
を比較してPM>PSETの条件が満足されるか否かを調べ
る。
Next, in steps S107, S108, and S109, it is checked whether or not the current operating state satisfies the conditions for performing learning. That is, in step S107, it is determined whether or not the engine speed N is within a range between a learning lower limit speed NLOW (for example, 500 rpm) and a learning upper limit speed NUPPER (for example, 5000 rpm). In step S108, the intake pipe pressure PM is determined. And set value PSET
(For example, 900 mmHg when the engine is supercharged) to check whether the condition of PM> PSET is satisfied.

また、ステップS109では冷却水温TWと設定値TWSET
(例えば、70℃)とを比較し、TW>TWSETの条件が満
足されるか否かを調べ、そして、上記ステップS107,S10
8,S109の全ての条件が満足された場合、ステップS110で
学習値更新のためのサブルーチンがコールされ、学習値
が更新されてステップS111へ進み、一方、上記ステップ
S107,S108,S109にて条件が満足されないステップが1ス
テップでもあると、上記ステップS110はジャンプされ、
学習値更新が実行されずにステップS111へと進む。
In step S109, the cooling water temperature TW and the set value TWSET
(For example, 70 ° C.) to check whether or not the condition of TW> TWSET is satisfied.
If all the conditions of S8 and S109 are satisfied, a subroutine for updating the learning value is called in step S110, the learning value is updated, and the process proceeds to step S111.
If there is even one step in which the conditions are not satisfied in S107, S108, S109, the above step S110 is jumped,
The process proceeds to step S111 without performing the learning value update.

ステップS111では、エンジン回転数Nと学習上限回転
数NUPPERとを比較し、N≦NUPPERの場合、ステップS1
12へ進んで、全領域で点火時期を全体的に補正するため
の全体学習値ATOTに、部分的な領域で点火時期を補正
するための領域別学習値APRTを加算した値と、上記ス
テップS105で算出した最適点火時期MBTとを比較する。
In step S111, the engine speed N is compared with the learning upper limit speed NUPPER, and if N ≦ NUPPER, step S1
Proceeding to 12, the value obtained by adding the region-specific learning value APRT for correcting the ignition timing in a partial region to the overall learning value ATOT for correcting the ignition timing in the entire region, and the above-described step S105 Is compared with the optimum ignition timing MBT calculated in the above.

そして、上記ステップS112でMBT≦ATOT+APRTの場
合には、上記ステップS112からステップS113へ進んで、
上記ステップS105で算出した最適点火時期MBTを学習点
火補正値IGLRNとして(IGLRN←MBT)実際の点火時期が
最適点火時期MBTよりも進角しないようにする。
If MBT ≦ ATOT + APRT in step S112, the process proceeds from step S112 to step S113,
The optimal ignition timing MBT calculated in step S105 is set as the learned ignition correction value IGLRN (IGLRN ← MBT) so that the actual ignition timing does not advance beyond the optimal ignition timing MBT.

一方、上記ステップS112でMBT>ATOT+APRTの場合
には、上記ステップS112からステップS114へ進で、全体
学習値ATOTと領域別学習値APRTとを加算した値を学習
点火補正値IGLRNとし(IGLRN←ATOT+APRT)、ステッ
プS122へ進む。
On the other hand, if MBT> ATOT + APRT in step S112, the process proceeds from step S112 to step S114, and the value obtained by adding the overall learning value ATOT and the learning value APRT for each area is set as the learning ignition correction value IGLRN (IGLRN ← ATOT + APRT). ), And proceed to step S122.

上記ステップS113あるいは上記ステップS114からステ
ップS122へ進むと、ノックフィードバック補正値算出の
サブルーチンをコールしてノックフィードバック補正値
AKNKを求め、ステップS123で、上記ステップS106にて
算出した基本点火時期IGBSEに上記ステップS113あるい
は上記ステップS114でセットした学習点火補正値IGLRN
を加算するとともに、上記ステップS122で求めたノック
フィードバック補正値AKNKを加算して最終的な点火時
期IGTを算出し(IGT←IGBSE+IGLRN+AKNK)、ルーチ
ンを抜ける。
When the process proceeds from step S113 or step S114 to step S122, a knock feedback correction value calculation subroutine is called to obtain a knock feedback correction value AKNK, and in step S123, the above-described basic ignition timing IGBSE calculated in step S106 is calculated. The learned ignition correction value IGLRN set in step S113 or step S114.
Is added and the knock feedback correction value AKNK obtained in step S122 is added to calculate a final ignition timing IGT (IGT ← IGBSE + IGLRN + AKNK), and the routine exits.

一方、上記ステップS111でN>NUPPERの場合には、
上記ステップS111からステップS115へ進み、領域別学習
値APRTの最小値、すなわち全領域の最小学習値APRTmi
nを求め、ステップS116で後述する学習完了判定のサブ
ルーチンによってセットされる学習完了フラグFLAG3の
値を調べ、学習が完了しているか否かを判別する。
On the other hand, if N> NUPPER in the above step S111,
Proceeding from step S111 to step S115, the minimum value of the learning value APRT for each region, that is, the minimum learning value APRTmi of all regions
In step S116, the value of a learning completion flag FLAG3 set by a learning completion determination subroutine described later is checked to determine whether learning is completed.

上記ステップS116で学習が完了していると判別された
場合、ステップS117へ進んで、全体学習値ATOTに上記
ステップS115で求めた最小学習値APRTminを加算した
後、第1の設定値ART1を減算してノックフィードバッ
ク制御領域外となるエンジン高回転時の学習値ALRNを
設定し(ALRN←ATOT+APRTmin−ART1)、学習が未
完了の場合には、ステップS118へ進んで、全体学習値A
TOTに上記ステップS115で求めた最小学習値APRTminを
加算した後、上記第1の設定値ART1よりも大きい値の
第2の設定値ART2(ART1>ART2)を減算してエンジ
ン高回転時の学習値ALRNを設定する(ALRN←ATOT+
APRTmin−ART2)。
If it is determined in step S116 that the learning has been completed, the process proceeds to step S117, where the minimum learning value APRTmin obtained in step S115 is added to the overall learning value ATOT, and then the first set value ART1 is subtracted. Then, a learning value ALRN at the time of high engine rotation which is outside the knock feedback control region is set (ALRN ← ATOT + APRTmin−ART1). If the learning is not completed, the process proceeds to step S118, where the overall learning value A is set.
After adding the minimum learning value APRTmin obtained in step S115 to TOT, a second set value ART2 (ART1> ART2) larger than the first set value ART1 is subtracted to perform learning at high engine speed. Set the value ALRN (ALRN ← ATOT +
APRTmin-ART2).

すなわち、ノックフィードバック制御領域外となるエ
ンジン高回転時の学習値ALRNを設定する際に、ノック
フィードバック制御領域における学習が完了しているか
否かによって点火時期補正量を切換え、学習未完了時に
は学習完了時よりも補正量を小さくして進角量を小さく
し、ノック発生を防止するのである。
That is, when setting the learning value ALRN at the time of high engine rotation outside the knock feedback control region, the ignition timing correction amount is switched depending on whether learning in the knock feedback control region has been completed, and learning is completed when learning is not completed. The amount of advance is made smaller by making the correction amount smaller than at the time, and knocking is prevented from occurring.

尚、この場合、全体学習値ATOTに最小学習値APRTmi
nを加算した値に対し、第1の係数K1と第2の係数K2と
を(K2<K1<1)学習完了判定結果に応じて切換えて乗
算するようにしても良い。
In this case, the minimum learning value APRTmi is added to the overall learning value ATOT.
The value obtained by adding n may be switched between the first coefficient K1 and the second coefficient K2 (K2 <K1 <1) according to the learning completion determination result and multiplied.

そして、ステップS119で、上記ステップS117あるいは
上記ステップS118で設定した学習値ALRNと最適点火時
期MBTとを比較し、ALRN≧MBTの場合、ステップS120で
学習点火補正値IGLRNに最適点火時期MBTをセットして
(IGLRN←MBT)ステップS122へ進み、一方、ALRN<MBT
の場合には、ステップS121で学習点火補正値IGLRNに学
習値ALRNをセットし(IGLRN←ALRN)、同様に、ステ
ップS122へ進む。
Then, in step S119, the learning value ALRN set in step S117 or step S118 is compared with the optimal ignition timing MBT. If ALRN ≧ MBT, the optimal ignition timing MBT is set in the learning ignition correction value IGLRN in step S120. (IGLRN ← MBT) and proceed to step S122, while ALRN <MBT
In step S121, the learning value ALRN is set to the learning ignition correction value IGLRN in step S121 (IGLRN ← ALRN), and similarly, the process proceeds to step S122.

そして、同様にノックフィードバック補正値算出のサ
ブルーチンをコールし、ステップS123で最終的な点火時
期IGTを算出してプログラムを抜ける。
Then, similarly, a subroutine for calculating a knock feedback correction value is called, and a final ignition timing IGT is calculated in step S123, and the program exits.

(学習値更新手順) 次に、第4図のフローチャートに基づいて学習値更新
のプログラムについて説明する。
(Learning Value Update Procedure) Next, a learning value updating program will be described based on the flowchart of FIG.

上述の点火時期制御のプログラムにおいて、ステップ
S107,S108,S109の全ての条件が満足され学習条件が成立
すると、学習値更新のサブルーチンが実行される。
In the above-described ignition timing control program, step
When all the conditions of S107, S108, and S109 are satisfied and the learning condition is satisfied, a learning value update subroutine is executed.

この学習値更新のサブルーチンでは、バックアップRA
M23aの学習マップMPIGLRNに対して、全領域の点火時期
の値を補正する全体学習を実行して早期に運転状態に適
合させるための学習を完了させ、次いで、部分的な領域
別学習を実行することによって、ノックの発生頻度を早
期に減少させるようにしている。
In this learning value update subroutine, the backup RA
For the learning map MPIGLRN of M23a, the entire learning for correcting the ignition timing values in all the regions is executed to complete the learning for adapting to the operating state at an early stage, and then the partial region-based learning is executed. By doing so, the knocking frequency is reduced early.

すなわち、ステップS201で全体学習が終了したか否か
を判定し、全体学習が終了していない場合には、ステッ
プS202で全体学習値ATOTのアドレスをレジスタXにセ
ーブし、全体学習が終了して領域別学習に移行している
場合には、ステップS203へ進んで領域別学習値APRTの
アドレスをレジスタXにセーブする。
That is, it is determined whether or not the overall learning has been completed in step S201. If the overall learning has not been completed, the address of the overall learning value ATOT is saved in the register X in step S202, and the overall learning is completed. If the process has shifted to the learning by region, the process proceeds to step S203, and the address of the learning value APRT by region is saved in the register X.

次いで、ステップS204でノック発生判別フラグFLAG1
によりノックの有無を調べ、ノック無しの場合、ステッ
プS205へ進んで全体学習値ATOTに領域別学習値APRTを
加算した値と最適点火時期MBTとを比較する。
Next, at step S204, knock occurrence determination flag FLAG1
In step S205, the process proceeds to step S205, where the value obtained by adding the region-specific learning value APRT to the overall learning value ATOT is compared with the optimum ignition timing MBT.

上記ステップS205で、MBT≦ATOT+APRTのときに
は、学習値を更新せずにステップS213へジャンプし、MB
T>ATOT+APRTのときには、上記ステップS205からス
テップS206へ進んでタイマTM1から計時T1を読出し、ノ
ック無しの状態の継続時間をチェックする。
In step S205, when MBT ≦ ATOT + APRT, the process jumps to step S213 without updating the learning value, and
If T> ATOT + APRT, the process proceeds from step S205 to step S206 to read the time T1 from the timer TM1 and check the duration of the knock-free state.

そして、上記タイマTM1における計時T1が一定時間TS
ET1(例えば、1sec)以下のときには、同様に、学習値
を更新せずにステップS213へジャンプし、上記タイマTM
1の計時T1が一定時間TSET1よりも長いとき、すなわ
ち、一定時間ノックが発生しないときには、上記ステッ
プS206からステップS207へ進んで、ノックフィードバッ
ク補正値AKNKの値をチェックする。
The time T1 measured by the timer TM1 is equal to a predetermined time Ts.
When the time is equal to or shorter than ET1 (for example, 1 sec), the process similarly jumps to step S213 without updating the learning value, and sets the timer TM
When the time T1 of 1 is longer than the fixed time TSET1, that is, when knock does not occur for a fixed time, the process proceeds from step S206 to step S207 to check the value of the knock feedback correction value AKNK.

上記ステップS207では、AKNK≠0のとき同様にステ
ップS213へジャンプし、AKNK=0のときには、ステッ
プS208でレジスタXによって指定されるメモリの内容、
すなわち、ステップS202あるいはステップS203でセーブ
されたアドレスのメモリに格納されている学習値(X)
に、一定の進角量AADVを加算して((X)←(X)+
AADV)進角側に更新し、ステップS209でノック無しの
状態を計時するタイマTM1をクリアしてステップS213へ
進む。
In step S207, the process jumps to step S213 when AKNK ≠ 0, and when AKNK = 0, the content of the memory designated by the register X in step S208;
That is, the learning value (X) stored in the memory at the address saved in step S202 or step S203.
And a constant advance amount AADV is added to ((X) ← (X) +
(AADV) The advance is updated to the advance side, and in step S209, the timer TM1 for counting the state without knock is cleared, and the process proceeds to step S213.

これにより、学習条件が成立し、且つノック発生が無
いときには、上記ステップ205〜S207の条件がすべてYES
のとき、一定時間毎に一定の進角量AADVが加算されて
学習値が進角方向に更新される。
As a result, when the learning condition is satisfied and there is no knock, all of the conditions in steps 205 to S207 are YES.
At this time, the constant advance amount AADV is added at regular intervals, and the learning value is updated in the advance direction.

一方、上位ステップS204でノック有りのときには、上
記ステップS204からステップS210へ進んでレジスタXに
よって指定されるメモリの内容(X)から一定の遅角量
ARETを減算し((X)←(X)−ARET)、ノック1回
につき学習値を一定量遅角側に更新する。
On the other hand, if there is a knock in upper step S204, the process proceeds from step S204 to step S210 to subtract a constant retard amount ARET from the content (X) of the memory specified by register X ((X) ← (X)). -ARET), the learning value is updated to the retard side by a fixed amount for each knock.

次いで、ステップS211で上記タイマTM1及び後述する
タイマTM2をクリアし、ステップS212でカウンタCT1をイ
ンクリメントしてノック発生回数の計数を行ない、ステ
ップS213へと進む。
Next, in step S211, the timer TM1 and a timer TM2 described later are cleared, and in step S212, the counter CT1 is incremented to count the number of knocks, and the process proceeds to step S213.

次に、ステップS213以降へ進むと、全体学習の終了条
件をチェックし、まず、ステップS213で全体学習中か否
かをチェックする。そして、全体学習が終了している場
合は、そのままリターンして領域別学習に移行し、全体
学習が終了していない場合には、上記ステップS213から
S214へ進んで全体学習値ATOTが予め定めた定数AMAXに
達したか否かを判定する。
Next, when proceeding to step S213 and thereafter, the end condition of the overall learning is checked, and first, in step S213, it is checked whether or not the overall learning is being performed. If the overall learning has been completed, the process returns to step S 213, and if the overall learning has not been completed, the process returns from step S 213.
Proceeding to S214, it is determined whether or not the overall learning value ATOT has reached a predetermined constant AMAX.

上記ステップS214で全体学習値ATOTが予め定めた最
大進角AMAXに達せずATOT<AMAXの場合、ステップS21
5へ進んで全体学習値ATOTが上記最大進角AMAX以上の
状態での蓄積時間を計時するためタイマTM2をクリア
し、ステップS217でカウンタCT1の計数値C1、すなわち
ノック発生回数を読出し、このノック発生回数C1と所定
の設定回数CSET1(例えば、5回)とを比較する。
If the overall learning value ATOT does not reach the predetermined maximum advance angle AMAX in step S214 and if ATOT <AMAX, then step S21
Proceeding to 5, the timer TM2 is cleared to measure the accumulation time when the overall learning value ATOT is equal to or greater than the maximum advance angle AMAX, and in step S217, the count value C1 of the counter CT1, that is, the number of knock occurrences, is read out. The number of occurrences C1 is compared with a predetermined set number of times CSET1 (for example, five times).

上記ステップS217では、C1<CSET1、すなわちノック
発生回数C1が設定回数CSET1に達していないときにはル
ーチンを抜けてリターンし、C1≧CSET1、すなわちノッ
クが設定回数、例えば5回以上発生したときには全体学
習終了と判定する。そして、ステップS218で全体学習終
了フラグFLAG2をセットし、ルーチンを抜けてリターン
し、領域別学習に移行する。
In step S217, when C1 <CSET1, that is, when the number of knock occurrences C1 has not reached the set number of times CSET1, the routine exits from the routine and returns. Is determined. Then, in step S218, the overall learning end flag FLAG2 is set, the process exits the routine, returns, and shifts to learning by region.

一方、上記ステップS214で全体学習値ATOTが上記最
大進角AMAXに達し、ATOT≧AMAXの場合には、上記ス
テップS214からステップS216へ進んで全体学習値ATOT
が上記最大進角AMAX以上の状態である累積時間を計時
するタイマTM2の値を読出して累積時間T2と設定時間TS
ET2(例えば、3SEC)とを比較して、T2<TSET2のと
き、上述のステップS217へ進んでカウンタCTの計数値か
らノック発生回路を調べ、T2≧TSETのときには、ステ
ップS218へ進んで全体学習終了フラグFLAF2をセットし
てリターンし、領域別学習に移行する。
On the other hand, if the overall learning value ATOT has reached the maximum advance angle AMAX in step S214, and if ATOT ≧ AMAX, the process proceeds from step S214 to step S216, and the overall learning value ATOT
Reads the value of the timer TM2 that measures the accumulated time during which the current is greater than or equal to the maximum advance angle AMAX, and accumulates the accumulated time T2 and the set time TS.
ET2 (for example, 3SEC), and when T2 <TSET2, the process proceeds to step S217 to check the knock generation circuit from the count value of the counter CT. When T2 ≧ TSET, the process proceeds to step S218 to perform overall learning. The process returns by setting the end flag FLAF2, and shifts to learning by region.

(ノックフィードバック補正値算出手段) 第5図はノックフィードバック補正値算出手順を示す
フローチャートであり、上述の点火時期制御プログラム
のステップS122において、このサブルーチンがコールさ
れると、まず、ステップS301でエンジン回転数Nが学習
上限回転数NUPPERより高いか否かを判定する。
(Knock Feedback Correction Value Calculation Means) FIG. 5 is a flowchart showing a knock feedback correction value calculation procedure. When this subroutine is called in step S122 of the above-described ignition timing control program, first, in step S301, the engine rotation is started. It is determined whether or not the number N is higher than the learning upper limit rotational speed NUPPER.

上記ステップS301で、N>NUPPERのときには、ステ
ップS302へ進んでノックフィードバック補正値AKNKを
0にクリアする(AKNK←0)ことによりノックフィー
ドバック制御を停止してリターンし、N≦NUPPERのと
きには、ステップS303へ進み、ノック発生の有無を調べ
る。
If N> NUPPER in step S301, the process proceeds to step S302 to clear the knock feedback correction value AKNK to 0 (AKNK ← 0) to stop the knock feedback control and return. If N ≦ NUPPER, the process returns to step S302. Proceed to S303 to check for occurrence of knock.

上記ステップS303でノック発生無しの場合、ステップ
S304へ進んで上述のタイマTM1同様ノック無しの状態の
継続時間を計時するタイマTM3から計時T3を読出し、T3
≦TSET1のとき、そのままルーチンを抜けてリターン
し、T3>TSET1のとき、すなわち、一定時間ノックが発
生しないときには、上記ステップS304からステップS305
へ進んでノックフィードバック補正値AKNKにノックフ
ィードバック進角量AADV1を加算して更新し(AKNK←
AKNK+AADV1)、ステップS307でタイマTM3をクリアし
てリターンする。
If there is no knock in step S303, step
Proceed to S304 and read time T3 from timer TM3 which counts the duration of no knock state as in timer TM1 described above, and read T3
When ≤TSET1, the routine exits the routine and returns. When T3> TSET1, that is, when knock does not occur for a certain period of time, steps S304 to S305 are performed.
Then, the knock feedback correction value AKNK is added with the knock feedback advance amount AADV1 and updated (AKNK ←
(AKNK + AADV1), the timer TM3 is cleared in step S307, and the routine returns.

一方、上記ステップS303でノック発生有りの場合に
は、上記ステップS303からステップS306へ進み、ノック
フィードバック補正値AKNKからノックフィードバック
遅角量ARET1を減算して更新し(AKNK←AKNK−ARET
1)、ステップS307でタイマTM3をクリアしてリターンす
る。
On the other hand, if knock has occurred in step S303, the process proceeds from step S303 to step S306, in which the knock feedback delay amount ARET1 is subtracted from the knock feedback correction value AKNK and updated (AKNK ← AKNK−ARET).
1) In step S307, the timer TM3 is cleared and the routine returns.

このときのノックフィードバック補正値AKNKは、0
を上限としてカウントされ、学習値更新ルーチンとノッ
クフィードバック補正値算出ルーチンとにより、ノック
が発生したときには、学習点火補正値IGLRNとノックフ
ィードバック補正値AKNKとが同時に遅角方向に更新さ
れる。
The knock feedback correction value AKNK at this time is 0
When the knock occurs, the learned ignition correction value IGLRN and the knock feedback correction value AKNK are simultaneously updated in the retard direction by the learning value update routine and the knock feedback correction value calculation routine.

そして、ノック発生がなくなると、まず、フィードバ
ック補正値AKNKが進角方向に更新され、ノックフィー
ドバック補正値AKNKが0まで進角されるとそれ以上は
進角せず、次に、学習点火補正値IGLRNが進角方向に更
新される。
Then, when knocking is eliminated, first, the feedback correction value AKNK is updated in the advance direction. When the knock feedback correction value AKNK is advanced to 0, no further advance is made. IGLRN is updated in the advance direction.

(学習完了判定手順) 一方、エンジンの運転状態が学習完了判定領域内にあ
る累積時間に対し、この累積時間が設定時間に達する毎
に学習完了の判定がなされ、学習完了と判定されると、
学習完了フラグFLAG3がセットされる。
(Learning Completion Determining Procedure) On the other hand, learning completion is determined each time the accumulated time reaches the set time for the accumulated time in which the operating state of the engine is within the learning completion determination area.
The learning completion flag FLAG3 is set.

この学習完了フラグFLAG3はRAM23の所定アドレスにス
トアされてエンジン運転中保持されるが、エンジン始動
の際にはイシニャライズされてクリアされる。
The learning completion flag FLAG3 is stored at a predetermined address in the RAM 23 and held during the operation of the engine, but is initialized and cleared when the engine is started.

以下、学習完了判定の手順について第6図に示すフロ
ーチャートに基づいて説明する。
Hereinafter, the procedure of the learning completion determination will be described based on the flowchart shown in FIG.

まず、ステップS401,S402で吸気管圧力PMとエンジン
回転数Nとから、現在の運転状態が学習完了の判定領域
内にあるか否かを調べ、ステップS401でPM>PSETの条
件が成立したときステップS402へ進み、条件不成立のと
きにはプログラムを抜けてリターンする。
First, in steps S401 and S402, it is checked from the intake pipe pressure PM and the engine speed N whether or not the current operating state is within the learning completion determination region. If the condition of PM> PSET is satisfied in step S401, Proceeding to step S402, if the condition is not satisfied, exit the program and return.

また、ステップS402では、エンジン回転数Nが学習完
了判定のための下限回転数N1(例えば、2000rpm)と上
限回転数N2(例えば、4500rpm)との設定範囲内にある
か否かを調べ、設定範囲内のとき、ステップS403へ進
み、設定範囲外のときには同様にプログラムを抜けてリ
ターンする。
In step S402, it is determined whether or not the engine speed N is within a set range between a lower limit speed N1 (for example, 2000 rpm) and an upper limit speed N2 (for example, 4500 rpm) for learning completion determination. If it is within the range, the process proceeds to step S403, and if it is outside the set range, the program similarly exits and returns.

そして、現在の運転状態が学習完了の判定領域内にあ
ると判定されてステップS403へ進むと、この判定領域内
にある累積時間を計時するタイマTM4がカウントアップ
され、ステップS404で上記タイマTM4の計時4が読出さ
れて設定時間TSET4(例えば10sec)と比較される。
Then, when it is determined that the current driving state is within the learning completion determination region and the process proceeds to step S403, the timer TM4 that counts the accumulated time within this determination region is counted up, and the timer TM4 is counted up at step S404. The clock 4 is read and compared with the set time TSET4 (for example, 10 sec).

上記のステップS404でT4≦TSET4のときにはそのまま
プログラムを抜け、T4>TSET4のとき、すなわち、判定
領域内にある累積時間が設定時間をこえたときには、上
記ステップS404からステップS405へ進んで、その間の学
習値の変化量ΔLが設定範囲内(L1<ΔL<L2;例え
ば、−2゜<ΔL<+3゜の範囲)にあるか否かが判別
される。
When T4 ≦ TSET4 in the above step S404, the program exits the program as it is. When T4> TSET4, that is, when the accumulated time in the determination area exceeds the set time, the process proceeds from the above step S404 to step S405. It is determined whether or not the learning value change amount ΔL is within the set range (L1 <ΔL <L2; for example, −2 範 囲 <ΔL <+3 <).

上記ステップS405では、学習値変化量ΔLが設定範囲
内にないときにはステップS407へジャンプし、一方、上
記学習値変化量ΔLが設定範囲内にあるときには上記ス
テップS405からステップS406へ進んで学習完了フラグFL
AG3をセットし、ステップS407でタイマTM4をクリアして
プログラムを終了してリターンする。
In step S405, when the learning value change amount ΔL is not within the set range, the process jumps to step S407. On the other hand, when the learning value change amount ΔL is in the set range, the process proceeds from step S405 to step S406 to set the learning completion flag. FL
AG3 is set, the timer TM4 is cleared in step S407, the program ends, and the routine returns.

尚、上記学習完了の判定ルーチンは、学習値が所定回
数更新される毎に実行しても良い。
The learning completion determination routine may be executed each time the learning value is updated a predetermined number of times.

すなわち、この学習完了判定の結果、学習完了と判定
された場合には、ノックフィードバック制御領域での学
習結果が燃料のオクタン価を反映しており、ノック検出
の困難な運転領域においても、燃料補給などによる燃料
のオタン価の変化に対してノック発生を防止することが
できる。
That is, as a result of the learning completion determination, when it is determined that the learning is completed, the learning result in the knock feedback control area reflects the octane value of the fuel. Knock can be prevented from being caused by a change in the fuel oil's oil number.

さらに、エンジンを停止して燃料を補給する際に、例
えば、プレミアムガソリンを補給すべきところを誤って
レギュラーガソリンを補給したり、あるいは、燃料事情
の悪い地域での粗悪ガソリンの混入などにより、燃料の
オクタン価が低下したまま、いきなり高速運転をして
も、上記学習完了フラグFLAG3がクリアされているた
め、学習未完了となり、バックアップRAM23aにストアさ
れている燃料のオクタン価が高い状態での学習結果で点
火時期が補正されることがなく、予め設定した値で点火
時期を補正するためノック発生を防止することができ
る。
In addition, when stopping the engine and refueling, for example, accidentally refilling regular gasoline where premium gasoline is to be replenished, or mixing poor gasoline in poor fuel conditions, etc. Even if high-speed operation is performed suddenly with the octane number of the fuel reduced, learning is not completed because the learning completion flag FLAG3 is cleared, and the learning result in a state where the octane number of the fuel stored in the backup RAM 23a is high. Since the ignition timing is not corrected and the ignition timing is corrected with a preset value, knocking can be prevented.

{第2実施例} 次に、本発明の第2実施例について説明する。この第
2実施例は、上述の第1実施例に対して学習完了判定の
手順のみが異なり、学習完了の判定をノック発生頻度に
より行うものである。
Second Embodiment Next, a second embodiment of the present invention will be described. The second embodiment differs from the above-described first embodiment only in the procedure of the learning completion determination, and determines the learning completion based on the knocking occurrence frequency.

(学習完了判定手順) エンジンのイグニッションスイッチ(図示せず)がON
されると、学習完了判定領域内での設定時間内毎にノッ
クパルス数により学習完了の判定がなされ、以下、その
手順について第7図に示すフローチャートに基づいて説
明する。
(Learning completion judgment procedure) The ignition switch (not shown) of the engine is turned on.
Then, learning completion is determined based on the number of knock pulses within each set time in the learning completion determination area, and the procedure will be described below with reference to the flowchart shown in FIG.

まず、ステップS501,S502で吸気管圧力PMとエンジン
回転数Nとから、現在の運転状態が学習完了の判定領域
内にあるか否かを調べ、ステップS501でPM>PSETの条
件が成立したときステップS502へ進み、条件不成立のと
きにはプログラムを抜けてリターンする。
First, in steps S501 and S502, it is checked whether or not the current operating state is within the learning completion determination region from the intake pipe pressure PM and the engine speed N. When the condition of PM> PSET is satisfied in step S501. The process proceeds to step S502, and if the condition is not satisfied, the process exits the program and returns.

また、ステップS502では、エンジン回転数Nが学習完
了判定のための下限回転数N1(例えば、2000rpm)と上
限回転数N2(例えば、4500rpm)との設定範囲内にある
か否かを調べ、設定範囲内のとき、ステップS503へ進
め、設定範囲外のときには同様にプログラムを抜けてリ
ターンする。
In step S502, it is determined whether or not the engine speed N is within a set range of a lower limit speed N1 (for example, 2000 rpm) and an upper limit speed N2 (for example, 4500 rpm) for learning completion determination. If it is within the range, the process proceeds to step S503, and if it is outside the set range, the program similarly exits and returns.

そして、現在の運転状態が学習完了の判定領域内にあ
ると判定されてステップS503へ進むと、この判定領域内
にある累積時間を計時するタイマTM4がカウントアップ
され、ステップS504でノックの有無が判別される。
Then, when it is determined that the current driving state is within the learning completion determination region and the process proceeds to step S503, the timer TM4 that counts the accumulated time within this determination region is counted up, and in step S504, the presence or absence of knock is determined. Is determined.

上記ステップS504でノック無しの場合にはステップS5
06へジャンプし、ノック有りの場合には上記ステップS5
04からステップS505へ進んでカウンタCT2によりノック
パルスをカウントし、その計数値C2をカウントアップし
てステップS506へ進む。
If there is no knock in step S504, step S5
Jump to 06, if there is knock, step S5 above
The process proceeds from step 04 to step S505, in which knock pulses are counted by the counter CT2, the count value C2 is counted up, and the process proceeds to step S506.

ステップS506では、上記タイマTM4の計時T4を読出
し、設定時間TSET4(例えば10sec)と比較してT4≦TS
ET4のときにはそのままプログラムを抜け、T4>TSET4
とき、すなわち、判定領域内にある累積時間が設定時間
をこえたときには、上記ステップS506からステップS507
へ進んで、上記カウンタCT2の計数値C2を読出して設定
回数CSET2(例えば、4回)と比較する。
In step S506, the time T4 of the timer TM4 is read, and compared with a set time TSET4 (for example, 10 seconds), T4 ≦ TS
In the case of ET4, exit the program as is, and T4> TSET4
In other words, when the accumulated time within the determination area exceeds the set time, the above-described steps S506 to S507
Then, the process proceeds to step S2, where the count value C2 of the counter CT2 is read and compared with a set number CSET2 (for example, four times).

そして、上記カウンタCT2の計数値C2が、C2≦CSET2
のときにはステップS509へジャンプし、一方、C2>CSE
T2のとき、すなわちノック発生回数が設定回数よりも少
ないときには、学習完了と判定してステップS508へ進ん
で学習完了フラグFLAG3をセットし、ステップS509でカ
ウンタCT2及びタイマTM4をクリアしてプログラムを終了
しリターンする。
Then, the count value C2 of the counter CT2 is C2 ≦ CSET2
Jumps to step S509, while C2> CSE
At T2, that is, when the number of knock occurrences is smaller than the set number, it is determined that learning is completed, the process proceeds to step S508, the learning completion flag FLAG3 is set, the counter CT2 and the timer TM4 are cleared at step S509, and the program ends. And return.

この第2実施例においても、第1実施例同様、学習値
が燃料のオクタン価を反映していると判定されたときに
のみ学習完了と判定されるため、ノックフィードバック
制御領域外でのノック発生を未然に防止することができ
る。
In the second embodiment, similarly to the first embodiment, it is determined that the learning is completed only when it is determined that the learning value reflects the octane value of the fuel. It can be prevented beforehand.

[発明の効果] 以上説明したように本発明によれば、学習完了判定手
段によりノックフィードバック制御領域における点火時
期の学習が完了したか否かを判定し、ノックフィードバ
ック制御停止手段により所定の運転領域で点火時期のノ
ックフィードバック制御を停止した場合、ノックフィー
ドバック制御領域外点火時期補正手段により上記学習完
了判定手段における判定結果が学習完了のとき、上記ノ
ックフィードバック制御領域における点火時期学習値に
基づいてノックフィードバック制御領域外での点火時期
を補正し、上記学習完了判定手段における判定結果が学
習未完了のとき、上記ノックフィードバック制御領域外
での点火時期を学習完了時よりも遅角側に補正するた
め、ノック検出の困難な運転領域においても、燃料補給
などによる燃料のオクタン価の変化に対してノック発生
を防止することができ、しかも特別な検出手段を付加す
ることなく安価に構成することができる。
[Effects of the Invention] As described above, according to the present invention, the learning completion determination means determines whether or not the learning of the ignition timing in the knock feedback control area has been completed, and the knock feedback control stopping means determines the predetermined operating area. When the knock feedback control of the ignition timing is stopped in the above, when the result of the learning completion determining means by the ignition timing correction means outside the knock feedback control area is the learning completion, the knocking based on the ignition timing learning value in the knock feedback control area is performed. In order to correct the ignition timing outside the feedback control region and to correct the ignition timing outside the knock feedback control region to a more retarded angle than when the learning is completed when the result of the learning by the learning completion determination means is not completed. , Even in the driving range where knock detection is difficult Thus, knock can be prevented from occurring due to a change in octane number of the fuel, and the fuel cell can be configured at low cost without adding any special detecting means.

さらに、上記学習完了判定手段では、上記ノックフィ
ードバック制御領域における点火時期学習値の変化量に
より学習が完了しているか否かを判定し、または、上記
ノックフィードバック制御領域におけるノック発生頻度
により学習が完了しているか否かを判定するため、学習
完了と判定したときには学習値が燃料のオクタン価を反
映しており、上記ノックフィードバック制御領域外での
点火時期に学習結果を効果的に取入れることができるな
ど優れた効果が奏される。
Further, the learning completion determination means determines whether or not learning has been completed based on the amount of change in the ignition timing learning value in the knock feedback control region, or has completed learning based on the knock occurrence frequency in the knock feedback control region. When it is determined that learning is completed, the learning value reflects the octane value of the fuel, and the learning result can be effectively incorporated into the ignition timing outside the knock feedback control region. Excellent effects are achieved.

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

第1図は本発明の基本構成を示すブロック図、第2図〜
第6図は本発明の第1実施例を示し、第2図はエンジン
制御系の概略図、第3図は点火時期制御手順を示すフロ
ーチャート、第4図は学習値更新手順を示すフローチャ
ート、第5図はノックフィードバック補正値算出手順を
示すフローチャート、第6図は学習完了判定手順を示す
フローチャート、第7図は本発明の第2実施例を示し、
学習完了判定手順を示すフローチャートである。 M1……学習完了判定手段 M2……ノックフィードバック制御停止手段 M3……ノック検出領域外点火時期補正手段
FIG. 1 is a block diagram showing a basic configuration of the present invention, and FIGS.
FIG. 6 shows a first embodiment of the present invention, FIG. 2 is a schematic diagram of an engine control system, FIG. 3 is a flowchart showing an ignition timing control procedure, FIG. FIG. 5 is a flowchart showing a knock feedback correction value calculation procedure, FIG. 6 is a flowchart showing a learning completion determination procedure, FIG. 7 shows a second embodiment of the present invention,
It is a flowchart which shows a learning completion determination procedure. M1: learning completion determination means M2: knock feedback control stopping means M3: ignition timing correction means outside knock detection area

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭59−138774(JP,A) 特開 昭63−80042(JP,A) 特開 昭63−219875(JP,A) 特開 昭56−113026(JP,A) 特開 昭63−120838(JP,A) 特公 平6−46023(JP,B2) (58)調査した分野(Int.Cl.6,DB名) F02P 5/145 - 5/155 F02D 43/00 - 45/00 ────────────────────────────────────────────────── (5) References JP-A-59-138774 (JP, A) JP-A-63-80042 (JP, A) JP-A-63-219875 (JP, A) JP-A Sho 56-138 113026 (JP, A) JP-A-63-120838 (JP, A) JP-B-6-46023 (JP, B2) (58) Fields investigated (Int. Cl. 6 , DB name) F02P 5 / 145-5 / 155 F02D 43/00-45/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】運転状態パラメータに基づいて点火時期を
設定し、この点火時期をノック発生を検出してフィード
バック補正するとともに学習値により補正するエンジン
の点火時期制御装置において、 ノックフィードバック制御領域における点火時期の学習
が完了したか否かを判定する学習完了判定手段と、 所定の運転領域で点火時期のノックフィードバック制御
を停止するノックフィードバック制御停止手段と、 上記ノックフィードバック制御停止手段により点火時期
のノックフィードバック制御を停止した場合、上記学習
完了判定手段における判定結果が学習完了のとき、上記
ノックフィードバック制御領域における点火時期学習値
に基づいてノックフィードバック制御領域外での点火時
期を補正し、 上記学習完了判定手段における判定結果が学習未完了の
とき、上記ノックフィードバック制御領域外での点火時
期を学習完了時よりも遅角側に補正するノックフィード
バック制御領域外点火時期補正手段とを備えたことを特
徴とするエンジンの点火時期制御装置。
An ignition timing control apparatus for an engine, wherein an ignition timing is set based on an operation state parameter, the ignition timing is detected by detecting knocking, and is feedback-corrected and corrected by a learning value. Learning completion determining means for determining whether or not learning of the timing has been completed; knock feedback control stopping means for stopping knock feedback control of the ignition timing in a predetermined operation region; and knocking of the ignition timing by the knock feedback control stopping means. When the feedback control is stopped, when the result of the learning by the learning completion determining means is learning completion, the ignition timing outside the knock feedback control area is corrected based on the ignition timing learning value in the knock feedback control area, and the learning completion is completed. Judgment by judgment means An ignition timing correction means outside the knock feedback control area for correcting the ignition timing outside the knock feedback control area to a more retarded side than when the learning is completed, when the result is not completed. Ignition timing control device.
【請求項2】上記学習完了判定手段は、上記ノックフィ
ードバック制御領域における点火時期学習値の変化量が
予め設定した範囲内にあるとき学習完了と判定し、上記
ノックフィードバック制御領域における点火時期学習値
の変化量が予め設定した範囲内にないとき学習未完了と
判定するものであることを特徴とする請求項1記載のエ
ンジンの点火時期制御装置。
2. The learning completion determining means determines that learning has been completed when the amount of change in the ignition timing learning value in the knock feedback control area is within a preset range, and determines the ignition timing learning value in the knock feedback control area. 2. The ignition timing control device for an engine according to claim 1, wherein it is determined that learning is not completed when the change amount of the engine is not within a preset range.
【請求項3】上記学習完了判定手段は、上記ノックフィ
ードバック制御領域におけるノック発生頻度が予め設定
した頻度以下のとき学習完了と判定し、上記ノックフィ
ードバック制御領域におけるノック発生頻度が予め設定
した頻度を越えたとき学習未完了と判定するものである
ことを特徴とする請求項1記載のエンジンの点火時期制
御装置。
3. The learning completion determining means determines that learning is completed when the knock occurrence frequency in the knock feedback control area is equal to or less than a predetermined frequency, and determines that the knock occurrence frequency in the knock feedback control area is a predetermined frequency. 2. The ignition timing control device for an engine according to claim 1, wherein it is determined that learning is not completed when the engine speed exceeds the threshold.
JP11300290A 1990-04-27 1990-04-27 Engine ignition timing control device Expired - Fee Related JP2894624B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11300290A JP2894624B2 (en) 1990-04-27 1990-04-27 Engine ignition timing control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11300290A JP2894624B2 (en) 1990-04-27 1990-04-27 Engine ignition timing control device

Publications (2)

Publication Number Publication Date
JPH0412172A JPH0412172A (en) 1992-01-16
JP2894624B2 true JP2894624B2 (en) 1999-05-24

Family

ID=14600982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11300290A Expired - Fee Related JP2894624B2 (en) 1990-04-27 1990-04-27 Engine ignition timing control device

Country Status (1)

Country Link
JP (1) JP2894624B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5494419B2 (en) * 2010-10-29 2014-05-14 トヨタ自動車株式会社 Ignition timing control device for internal combustion engine
JP5737135B2 (en) * 2011-10-26 2015-06-17 トヨタ自動車株式会社 Control device for internal combustion engine

Also Published As

Publication number Publication date
JPH0412172A (en) 1992-01-16

Similar Documents

Publication Publication Date Title
JP2910858B2 (en) Engine knock detection method
JP2950848B2 (en) Ignition timing learning control method
JP2899657B2 (en) Ignition timing learning control method
JP2784664B2 (en) Ignition timing learning control method
JP2894624B2 (en) Engine ignition timing control device
JPH04353233A (en) Programmed fuel injection device for internal combustion engine
JP2000205025A (en) Control apparatus for engine
JPS597777A (en) Knocking control device
JP2832299B2 (en) Ignition timing learning control method
JP2967588B2 (en) Engine ignition timing control device
JP2682651B2 (en) Engine ignition timing control device
JPS62255576A (en) Engine ignition timing control device
JP3564146B2 (en) Engine ignition timing learning control method
JP3050640B2 (en) Knock detection method for multi-cylinder engine
JP3324771B2 (en) Ignition timing control method for multi-cylinder engine
JPH09112395A (en) Ignition control device for engine
JP3324767B2 (en) Engine ignition timing control method
JP3055688B2 (en) Engine ignition timing learning control method
JPH07180643A (en) Ignition timing control device for internal combustion engine
JP3064531B2 (en) Engine air-fuel ratio control method
JPS6329059A (en) Ignition timing controller for internal combustion engine
JP3324795B2 (en) Engine misfire detection method
JPS59136575A (en) Control of knocking in multi-cylinder engine
JP2023169652A (en) Internal combustion engine control device
JPH06100151B2 (en) Engine controller

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees