JPH0412172A - Control device for ignition timing of engine - Google Patents

Control device for ignition timing of engine

Info

Publication number
JPH0412172A
JPH0412172A JP11300290A JP11300290A JPH0412172A JP H0412172 A JPH0412172 A JP H0412172A JP 11300290 A JP11300290 A JP 11300290A JP 11300290 A JP11300290 A JP 11300290A JP H0412172 A JPH0412172 A JP H0412172A
Authority
JP
Japan
Prior art keywords
learning
ignition timing
knock
feedback control
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.)
Granted
Application number
JP11300290A
Other languages
Japanese (ja)
Other versions
JP2894624B2 (en
Inventor
Hiroya Ookumo
大雲 浩哉
Hideji Miyama
秀司 三山
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 Heavy Industries 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 Fuji Heavy Industries Ltd filed Critical Fuji Heavy Industries Ltd
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

Landscapes

  • Electrical Control Of Ignition Timing (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To surely prevent generation of knock in the operating territory in which knock feedback control is stopped by correcting an ignition timing based on a learning value of ignition timing in a feedback control territory, and correcting it on the delay angle side at incomplete learning in the control territory. CONSTITUTION:In the device in which an ignition timing instituted based on a parameter of operating condition is corrected by feedback of detection of knock generation and a learning value, a learning completion judging means M1 is provided for judging whether learning of ignition timing in a knock feedback control territory (a) is completed or not. When knock feedback control of ignition timing is stopped by a knock feedback control stopping means M2 in a prescribed operating territory (b), ignition timing outside the knock feedback control territory is corrected based on the ignition timing learning value in the knock feedback control territory at judging completion of learning. Meanwhile, an ignition timing correcting means M3 by which at judging incompletion of learning an ignition timing outside the knock feedback control territory is corrected on the delay angle side of that at completion of learning.

Description

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

[従来の技術] 最近では、エンジンの異常燃焼による初期ノックを検出
し、点火時期を最適に制御する技術が広く採用されてい
る。
[Prior Art] Recently, a technology that detects initial knock caused by abnormal engine combustion and optimally controls ignition timing has been widely adopted.

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

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

[発明が解決しようとする課題] しかしながら、ノックの発生は燃料のオクタン価と密接
な相関があり、例えば、給油などによって低オクタン価
の燃料が補給され、燃料全体のオクタン価が低下したま
ま新たな学習が実行される前に高速運転をすると、それ
までの学習結果が記憶保持されているため以前の学習結
果に基づいて点火時期が補正されてしまい、点火時期が
過進角となってノックが頻発し、エンジンに損傷を与え
るおそれがある。
[Problem to be solved by the invention] However, the occurrence of knocking is closely correlated with the octane number of the fuel. For example, when fuel with a low octane number is refilled during refueling, new learning may occur while the octane number of the entire fuel decreases. If you drive at high speed before the engine is executed, the ignition timing will be corrected based on the previous learning results because the learning results up to that point will be stored and the ignition timing will be over-advanced and knocking will occur frequently. , may cause damage to the engine.

これに対処するには、例えば、イグニッションスイッチ
をOFFする度に学習値をクリアし、白紙の状態からそ
の都度学習を実行する技術、あるいは、燃料のオクタン
価を検出するセンサ、燃料の給油を検知する手段などを
付加する技術が考えられるが、前者においては学習の効
果が半減してエンジン出力性能の向上、燃費改簿が期待
できず、また、後者においては、コスト上昇を招くなど
の問題がある。
To deal with this, for example, a technology that clears the learning value every time the ignition switch is turned off and performs learning from a blank slate each time, or a sensor that detects the octane number of the fuel or a sensor that detects the refueling of the fuel can be used. Techniques that add methods are conceivable, but in the former, the learning effect is halved and improvements in engine output performance and fuel efficiency cannot be expected, while in the latter, there are problems such as increased costs. .

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

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

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

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

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

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

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

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

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

(エンジン制御系の構成) 第2図において、図中、符号1はエンジン本体であり、
このエンジン本体1のシリンダヘッド2に形成された吸
気ボーJ−2aと排気ボー1〜2bに吸気管3、排気管
4が連通され、さらに、上記シリンダヘッド2には、そ
の発火部を燃焼室1aに露呈する点火プラグ5が装着さ
れている。
(Configuration of engine control system) In Fig. 2, reference numeral 1 is the engine body;
An intake pipe 3 and an exhaust pipe 4 are connected to the intake bow J-2a and the exhaust bows 1 to 2b formed in the cylinder head 2 of the engine main body 1, and the cylinder head 2 has its ignition part connected to the combustion chamber. A spark plug 5 exposed at 1a is attached.

上記吸気管3の上流側にはエアクリーナ6が連通され、
このエアクリーナ6の直下流に吸入空気1センサ(図に
おいては、ホッI〜ワイヤ式エアフローメータ)7が介
装されている。
An air cleaner 6 is connected to the upstream side of the intake pipe 3,
Immediately downstream of this air cleaner 6, an intake air 1 sensor (in the figure, a wire air flow meter) 7 is installed.

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

また、上記燃焼室1aに連通ずる吸気ボート2aの直上
流にインジェクタ11か臨まされ、上記排気管4の中途
に介装された触媒コンバータ12の直上流に、02セン
サ13が臨まされている。
Further, an injector 11 faces directly upstream of the intake boat 2a communicating with the combustion chamber 1a, and an 02 sensor 13 faces directly upstream of the catalytic converter 12 interposed midway in the exhaust pipe 4.

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

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

(制御手段の回路構成) 一方、符号20はマイクロコンピュータなどからなる制
御装置(ECTJ)で、このE CU 2.0のCPU
 (中央演算処理装置ン21.ROM22、RA、M2
S、バックアップRAM23a、及び、I10インター
フェース24がパスライン25を介して互いに接続され
、運転状態パラメータに基づいて点火時期を設定し、こ
の点火時期をノック発生を検出してフィードバック補圧
するとともに学習値により補正する点火時期制御の機能
が実現され、また、燃料噴射制御などの他の機能が実現
される。
(Circuit configuration of control means) On the other hand, reference numeral 20 is a control device (ECTJ) consisting of a microcomputer, etc., and the CPU of this ECU 2.0
(Central processing unit 21, ROM22, RA, M2
The S, backup RAM 23a, and I10 interface 24 are connected to each other via a pass line 25, and set the ignition timing based on the operating state parameters, detect the occurrence of knock, perform feedback compensation on the ignition timing, and adjust the ignition timing based on the learned value. The function of correcting ignition timing control is realized, and other functions such as fuel injection control are also realized.

上記I10インターフェース24の入力ボートには、上
記各センサ7.9,10.13.1415.17が接続
され、さらに、上記I10インターフェース24の出力
ボートには、上記インジェクタ11が駆動回路26を介
して接続されるとともに、イグナイタ27が接続されて
いる。
Each of the sensors 7.9, 10.13.1415.17 is connected to the input port of the I10 interface 24, and the injector 11 is connected to the output port of the I10 interface 24 via the drive circuit 26. At the same time, the igniter 27 is also connected.

上記イグナイタ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 via a distributor 29.

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

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

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

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

(点火時期制御手順) 第3図に示すフローチャー1・は、所定時間毎に繰返さ
れる点火時期制御のプログラムであり、まず、ステップ
5101でクランク角センサ17の出力信号間隔からエ
ンジン回転数Nを算出し、ステップ5102で圧力セン
サ10の出力信号から吸気管圧力PMを算出してステッ
プ5103へ進む。
(Ignition timing control procedure) Flowchart 1 shown in FIG. In step 5102, the intake pipe pressure PM is calculated from the output signal of the pressure sensor 10, and the process proceeds to step 5103.

ステップ5103では冷却水温センサ14の出力信号か
ら冷却水温T−を算出し、ステップ5104ではノック
センサ15の出力信号からノック発生の有無を判定し、
ノック有りの場合には、ノック発生を識別するためノッ
ク発生判別フラグFLAG1をセットする。
In step 5103, the cooling water temperature T- is calculated from the output signal of the cooling water temperature sensor 14, and in step 5104, the presence or absence of knocking is determined from the output signal of the knock sensor 15.
If there is knocking, a knocking determination flag FLAG1 is set to identify the occurrence of knocking.

次いで、上記ステップ5101で算出したエンジン回転
数Nと上記ステップ5102で算出した吸気管圧力PM
とをパラメータとして、ステップ5105で最適点火時
期マツプM P HBTを検索し、エンジンに対して使
用が設定された燃料、例えばプレミアムガソリンのオク
タン価てのノック限界の最大許容進角差を与える最適点
火時期MBTを算出するとともに、ステップS+06で
基本点火時期マツプMPBSEを検索し、現在の運転状
態での基本点火時期IGBSEを算出する。
Next, the engine speed N calculated in step 5101 above and the intake pipe pressure PM calculated in step 5102 above.
In step 5105, the optimum ignition timing map M P HBT is searched using the parameter , and the optimum ignition timing is determined to give the maximum allowable advance difference in the knock limit of the octane number of the fuel set to be used in the engine, for example, premium gasoline. While calculating MBT, the basic ignition timing map MPBSE is searched in step S+06 to calculate the basic ignition timing IGBSE in the current operating state.

次に、ステップ5i07.3108. S+09で現在
の運転状態が学習を実施する条件を満足しているか否か
をチエツクする。すなわち、ステップ5107では、エ
ンジン回転数Nが学習下限回転数N1.OW(例えば、
500 rpm)と学習上限回転数N tlPPER(
例えば、5000 rpm)の範囲内にあるか否かを調
べ、ステップ8108で吸気管圧力PMと設定値P 5
ET(例えば、エンジンが過給されている場合900 
mmh)とを比較してPH>PSE王の条件が満足され
るか否かを調べる。
Next, step 5i07.3108. At S+09, it is checked whether the current operating state satisfies the conditions for performing learning. That is, in step 5107, the engine rotation speed N reaches the learning lower limit rotation speed N1. OW (for example,
500 rpm) and learning upper limit rotation speed N tlPPER (
For example, the intake pipe pressure PM and the set value P5 are checked in step 8108.
ET (e.g. 900 if the engine is supercharged)
mmh) to check whether the condition of PH>PSE is satisfied.

また、ステップ5109では冷却水温T−と設定値TW
SET(例えば、70°C)とを比較し、T誓〉TWS
ETの条件が満足されるが否がを調べ、そして、上記ス
テップ5107.5i08.5109の全ての条件が満
足された場合、ステップ3110で学習値更新のための
サブルーチンがコールされ、学習値が更新されてステッ
プ5111へ進み、一方、上記ステップ3107.51
08、3109にて条件が満足されないステップが1ス
テツプでもあると、上記ステップ5110はジャンプさ
れ、学習値更新か実行されずにステップ5111へと進
む。
Also, in step 5109, the cooling water temperature T- and the set value TW
SET (e.g. 70°C) and TWS
It is checked whether the ET conditions are satisfied or not, and if all the conditions in step 5107.5i08.5109 are satisfied, the subroutine for updating the learning value is called in step 3110, and the learning value is updated. The process proceeds to step 5111, while the above step 3107.51
If there is even one step in which the conditions are not satisfied in 08 and 3109, step 5110 is jumped and the process proceeds to step 5111 without updating the learning value.

ステップ5111では、エンジン回転数Nと学習上限回
転数N UPPERとを比較し、N ≦N IIPPE
R(7)場合、ステップ5112へ進んで、全領域で点
火時期を全体的に補正するための全体学習値A、TOT
に、部分的な領域で点火時期を補正するための領域別学
習値A PRTを加算した値と、上記ステップ5105
で算出した最適点火時期MBTとを比較する。
In step 5111, the engine speed N and the learning upper limit speed NUPPER are compared, and N≦N IIPPE is determined.
If R(7), the process proceeds to step 5112, where the overall learning value A, TOT, is used to globally correct the ignition timing in all regions.
, the region-specific learning value A PRT for correcting the ignition timing in a partial region, and the value obtained by adding the region-specific learning value A PRT to the step 5105 described above.
Compare with the optimum ignition timing MBT calculated in .

そして、上記ステップ5112でMBT≦ATOT+A
 PRTの場合には、上記ステップ5112からステッ
プ5113へ進んで、上記ステップ5105で算出した
最適点火時期MBTを学習点火補正値IGLRNとして
(I GLRN−MBT>実際の点火時期が最適点火時
期MBTよりも進角しないようにする。
Then, in step 5112 above, MBT≦ATOT+A
In the case of PRT, the process proceeds from step 5112 to step 5113, where the optimum ignition timing MBT calculated in step 5105 is set as the learning ignition correction value IGLRN (I GLRN-MBT>actual ignition timing is less than the optimum ignition timing MBT). Avoid advancing.

一方、上記ステップ5112でM BT>A、TOT 
+−APRTの場合には、上記ステップ5112からス
テップ5114へ進んで、全体学習値A、TOTと領域
別学習値APRTとを加算した値を学習点火補正値IG
LRNとしく I GLRN −ATOT +APRT
 ) 、ステップ5122へ進む。
On the other hand, in step 5112 above, M BT>A, TOT
In the case of +-APRT, the process proceeds from step 5112 to step 5114, where the sum of the overall learning value A, TOT, and the area-specific learning value APRT is determined as the learning ignition correction value IG.
As LRN I GLRN -ATOT +APRT
), proceed to step 5122.

上記ステップ5113あるいは上記ステップ5114か
らステップ5122へ進むと、ノックフィードバック補
正値算出のサブルーチンをコールしてノックフィードバ
ック補正値AKNにを求め、ステップ5123で、上記
ステップ5106にて算出した基本点火時期IGBSE
に上記ステップ5113あるいは上記ステップ5114
でセットした学習点火補正値IGI−RNを加算すると
ともに、上記ステップ5122で求めたノックフィード
バック補正値A、KNKを加算して最終的な点火時期I
GTを算出しくIGT←IGBSE+IGLRN+AK
Nに)、lレーチンを抜ける。
When the process proceeds from step 5113 or step 5114 to step 5122, a knock feedback correction value calculation subroutine is called to obtain the knock feedback correction value AKN, and in step 5123, the basic ignition timing IGBSE calculated in step 5106 is
The above step 5113 or the above step 5114
The learned ignition correction value IGI-RN set in step 5122 is added, and the knock feedback correction values A and KNK obtained in step 5122 are added to determine the final ignition timing I.
Calculate GT IGT←IGBSE+IGLRN+AK
N), exit lretin.

一方、上記ステップ5111でN > N UPPER
の場合には、上記ステップ5111からステップ511
5へ進み、領域別学習値A PRTの最小値、すなわち
全領域の最小学習値APRTminを求め、ステップ5
116で後述する学習完了判定のサブルーチンによって
セットされる学習完了フラグFLAG3の値を調べ、学
習が完了しているか否かを判別する。
On the other hand, in step 5111 above, N > N UPPER
In this case, steps 5111 to 511 above are performed.
Proceed to Step 5, find the minimum value of the learning value A PRT for each area, that is, the minimum learning value APRTmin for all areas, and proceed to Step 5.
At step 116, the value of a learning completion flag FLAG3 set by a subroutine for determining completion of learning, which will be described later, is checked to determine whether or not learning has been completed.

上記ステップ8116で学習が完了していると判別され
た場合、ステップ5117へ進んで、全体学習値A、T
OTに上記ステップ5115で求めた最小学習値APR
Tminを加算した後、第1の設定値AR口を減算して
ノックフィードバック制御領域外となるエンジン高回転
時の学習値A LRNを設定しく A LRN←A T
OT +A PRTmin −A RTl > 、学習
が未完了の場合には、ステップ8118へ進んで、全体
学習値ATOTに上記ステップ5115で求めた最小学
習値A PRTmOを加算した後、上記第1の設定値A
 RTlよりも大きい値の第2の設定値ART2  (
A、RTl <ART2 >を減算してエンジン高回転
時の学習値A LRNを設定する (ALRN ←AT
OT +APRT sin −ART2)。
If it is determined in step 8116 that learning has been completed, the process proceeds to step 5117, where the overall learning values A, T
The minimum learning value APR obtained in step 5115 above is applied to OT.
After adding Tmin, subtract the first set value AR to set the learned value A LRN at high engine speeds that are outside the knock feedback control area. A LRN←A T
OT +A PRTmin -A RTl >, if the learning is not completed, proceed to step 8118, add the minimum learning value A PRTmO obtained in step 5115 to the overall learning value ATOT, and then add the minimum learning value A PRTmO obtained in step 5115 above to the above first set value. A
A second setting value ART2 (
Subtract A, RTl <ART2> and set the learning value A LRN at high engine speed (ALRN ←AT
OT +APRT sin -ART2).

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

尚、この場合、全体学習値A TOTに最小学習値AP
RTminを加算した値に対し、第1のイ系数に1と第
2の係数に2とを(K2<Kl<1)学習完了判定結果
に応じて切換えて乗算するようにしても良い。
In this case, the minimum learning value AP is added to the total learning value A TOT.
The value obtained by adding RTmin may be multiplied by 1 for the first I series coefficient and 2 for the second coefficient (K2<Kl<1), switching between them depending on the learning completion determination result.

そして、ステップ5119で、上記ステップ5117あ
るいは上記ステップ8118で設定した学習値A LR
Nと最適点火時期MBTとを比較し、At−RN≧MB
Tの場合、ステップ5120で学習点火補正値IGI−
RNに最適点火時期MBTをセットして(I G LR
N←MBT)ステップ5122へ進み、一方、ALRN
<MBTの場合には、ステップ5121で学習点火補正
値IGLRNに学習値A LRNをセラ1〜しく I 
G LRN←ALRN)、同様に、ステップ5122へ
進む。
Then, in step 5119, the learning value ALR set in step 5117 or step 8118 is determined.
Compare N with the optimum ignition timing MBT and find that At-RN≧MB
In the case of T, in step 5120, the learned ignition correction value IGI-
Set the optimum ignition timing MBT to RN (I G LR
N←MBT) Proceeds to step 5122, while ALRN
In the case of <MBT, in step 5121, set the learned value A LRN to the learned ignition correction value IGLRN.
GLRN←ALRN), the process similarly proceeds to step 5122.

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

(学習値更新手順) 次に、第4図のフローチャー1〜に基づいて学習値更新
のプログラムについて説明する。
(Learned Value Update Procedure) Next, a learned value update program will be described based on flowcharts 1 to 1 in FIG. 4.

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

この学習値更新のサブルーチンでは、バックアップRA
M23aの学習マツプM P [GLRNに対して、全
領域の点火時期の値を補正する全体学習を実行して早期
に運転状態に適合させるための学習を完了させ、次いで
、部分的な領域別学習を実行することによって、ノック
の発生頻度を早期に減少させるようにしている。
In this learning value update subroutine, the backup RA
Learning map of M23a MP By implementing this, the frequency of knock occurrences is reduced at an early stage.

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

次いで、ステップ5204でノック発生判別フラグFL
AG1によりノックの有無を調べ、ノック無しの場合、
ステップ5205へ進んで全体学習値A TOTに領域
別学習値A PRTを加算した値と最適点火時期MBT
とを比較する。
Next, in step 5204, the knock occurrence determination flag FL
AG1 checks whether there is knocking, and if there is no knocking,
Proceed to step 5205 and calculate the value obtained by adding the area-specific learning value A PRT to the overall learning value A TOT and the optimum ignition timing MBT.
Compare with.

上記ステップ5205で、MBT≦A TOT +A 
PRTのときには、学習値を更新せずにステップ521
3ヘジヤンブし、MBT>ATOT +APRTのとき
には、上記ステップ5205からステップ8206へ進
んでタイマ■旧から計時T1を読出し、ノック無しの状
態の継続時間をチエツクする。
In step 5205 above, MBT≦A TOT +A
At the time of PRT, step 521 is performed without updating the learning value.
3, and when MBT>ATOT+APRT, the process proceeds from step 5205 to step 8206, where timer T1 is read from timer 2 and the duration of the no-knock state is checked.

そして、上記タイマTH1における計時T1が一定時間
TSET1(例えば、1 sec >以下のときには、
同様に、学習値を更新せずにステップ5213ヘジヤン
ブし、上記タイマTHIの計時T1が一定時間TSET
1よりも長いとき、すなわち、一定時間ノックが発生し
ないときには、上記ステップ8206からステップ32
07へ進んで、ノックフィードバック補正値AKNKの
値をチエツクする。
Then, when the timer T1 in the timer TH1 is less than or equal to a certain time TSET1 (for example, 1 sec >
Similarly, step 5213 jumps without updating the learned value, and the timer T1 clocks T1 for a certain period of time TSET.
1, that is, when no knock occurs for a certain period of time, steps 8206 to 32 are performed.
Proceeding to step 07, the value of the knock feedback correction value AKNK is checked.

上記ステップ5207では、AKNに≠Oのとき同様に
ステップ5213ヘジヤンブし、A、KNK=Oのとき
には、ステップ5208でレジスタXによって指定され
るメモリの内容、すなわち、ステップ5202あるいは
ステップ5203でセーブされたアドレスのメモリに格
納されている学習値(X)に、一定の進角量A ADV
を加算しテ((X) ←(X) 十AADV )進角側
に更新し、ステップ5209でノック無しの状態を計時
するタイマTH1をクリアしてステップ5213へ進む
In the above step 5207, when AKN≠O, similarly jump to step 5213, and when A,KNK=O, in step 5208, the contents of the memory specified by register X, that is, the contents saved in step 5202 or step 5203 The learning value (X) stored in the memory of the address is given a certain advance angle amount A ADV
is added and updated to the advance side ((X) ← (X) 10AADV), and in step 5209, the timer TH1 that measures the no-knock state is cleared, and the process proceeds to step 5213.

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

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

次いて、ステップ5211で」−記タイマTH1及び後
述するタイマTH2をクリアし、ステップ$212て・
カウンタCTIをインクリメントしてノック発生回数の
計数を行ない、ステップ5213へと進む。
Next, in step 5211, a timer TH1 and a timer TH2, which will be described later, are cleared, and in step 212,
The counter CTI is incremented to count the number of knock occurrences, and the process advances to step 5213.

次に、ステップ5213以降へ進むと、全体学習の終了
条件をチエツクし、まず、ステップ5213で全体学習
中か否かをチエツクする。そして、全体学習が終了して
いる場合は、そのままリターンして領域別学習に移行し
、全体学習が終了していない場合には、上記ステップ5
213から5214へ進んで全体学習値A TOTが予
め定めた定数A HAXに達したか否かを判定する。
Next, when the process advances to step 5213 and subsequent steps, the conditions for ending the overall learning are checked, and first, in step 5213, it is checked whether or not the overall learning is in progress. Then, if the overall learning is completed, return as is and move on to area-specific learning; if the overall learning is not completed, step 5 above.
The process proceeds from 213 to 5214 to determine whether the overall learning value A TOT has reached a predetermined constant A HAX.

上記ステップ5214で全体学習値A TOTが予め定
めた最大進角A WAXに達せずA 丁Or < A 
HAXの場合、ステップ5215へ進んで全体学習値A
 TOTが上記最大進角AHAX以上の状態での累積時
間を計時するためタイマ042をクリアし、ステップ5
217でカウンタCT1の計数値C1、すなわちノック
発生回数を読出し、このノック発生回数C1と所定の設
定回数C3ET1(例えば、5回)とを比較する。
In step 5214, the overall learning value A TOT does not reach the predetermined maximum advance angle A WAX.
In the case of HAX, proceed to step 5215 and obtain the overall learning value A.
Clear timer 042 to measure the cumulative time when TOT is greater than or equal to the maximum advance angle AHAX, and step 5
At step 217, the count value C1 of the counter CT1, that is, the number of knock occurrences is read out, and this number of knock occurrences C1 is compared with a predetermined set number of times C3ET1 (for example, 5 times).

上記ステップ5217では、CI <C3ET1、ずな
わちノック発生回数01が設定回数C5ETIに達して
いないときにはルーチンを抜けてリターンし、C1≧C
5ET1、すなわちノックが設定回数、例えば5回置上
発生したときには全体学習終了と判定する。そして、ス
テップ8218で全体学習終了フラグFLAG2をセラ
1〜し、ルーチンを抜けてリターンし、領域別学習に移
行する。
In step 5217, if CI < C3ET1, that is, the number of knock occurrences 01 has not reached the set number of times C5ETI, the routine is exited and returned, and C1≧C
5ET1, that is, when knocking occurs a set number of times, for example, 5 times, it is determined that the entire learning is completed. Then, in step 8218, the overall learning end flag FLAG2 is set to 1~, exits the routine, returns, and shifts to area-specific learning.

一方、上記ステップ5214で全体学習値A TOTが
上記最大進角A HAXに達し、ATOT ≧AHAX
 ノ場合には、上記ステップ5214からステップ82
16へ進んで全体学習値A TOTが上記最大進角A 
HAX以上の状態である累積時間を計時するタイマTH
2の値を読出して累積時間T2と設定時間TSET2(
例えば、3SEC)とを比較し、T2 <TSET2の
とき、上述のステップ5217へ進んでカウンタCTの
計数値からノック発生回数を調べ、T2≧TSETのと
きには、ステップ8218へ進んで全体学習終了フラグ
F 1. A F 2をセットしてリターンし、領域別
学習に移行する。
On the other hand, in step 5214, the overall learning value A TOT reaches the maximum advance angle A HAX, and ATOT ≧ A HAX.
If no, steps 5214 to 82 above are performed.
Proceed to step 16 and the overall learning value A TOT is the maximum advance angle A above.
Timer TH that measures cumulative time in a state equal to or higher than HAX
Read the value of 2 and enter the cumulative time T2 and set time TSET2 (
For example, when T2<TSET2, the process proceeds to step 5217 to check the number of knock occurrences from the count value of the counter CT, and when T2≧TSET, the process proceeds to step 8218 to set the overall learning end flag F. 1. Set AF 2, return, and move on to area-based learning.

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

上記ステップ5301で、N > N IJPPERの
ときには、ステップ5302へ進んでノックフィードバ
ック補正値AKNKをOにクリアする( A KNK←
0)ことによりノックフィードバック制御を停止してリ
ターンし、N≦N UPPERのときには、ステップ5
303へ進み、ノック発生の有無を調べる。
In step 5301 above, when N>N IJPPER, the process proceeds to step 5302 and clears the knock feedback correction value AKNK to O (A KNK←
0), the knock feedback control is stopped and the process returns, and when N≦N UPPER, step 5 is executed.
Proceed to step 303 to check whether knocking has occurred.

上記ステップ5303でノック発生無しの場合、ステッ
プ5304へ進んで上述のタイマTH1同様ノック無し
の状態の継続時間を計時するタイマTH3から計時T3
を読出し、T3≦T 5ETIのとき、そのままル−チ
ンを抜けてリターンし、T3>TSE丁1のとき、すな
わち、一定時間ノックが発生しないときには、上記ステ
ップ5304からステップ5305へ進んでノックフィ
ードバック補正値A KNKにノックフィードバンク進
角量A ADVlを加算して更新しくAKNK (−A
、KNK +AADV1) 、ステップ5307でタイ
マTH3をクリアしてリターンする。
If no knock occurs in step 5303, the process proceeds to step 5304, where timer TH3 measures the duration of the no-knock state in the same way as timer TH1 described above.
When T3≦T5ETI, exit the routine and return. When T3>TSE1, that is, when no knock occurs for a certain period of time, proceed from step 5304 to step 5305 to perform knock feedback correction. AKNK (-A
, KNK +AADV1), the timer TH3 is cleared in step 5307, and the process returns.

一方、上記ステップ5303でノック発生有りの場合に
は、上記ステップ5303からステップ8306へ進み
、ノックフィードバック補正値AKNKからノ・ンクフ
ィードバック遅角量A RETlを減算して更新しくA
KNK −AKNK −ARETl)−ステップ530
7でタイマTl43をクリアしてリターンする。
On the other hand, if it is determined in step 5303 that knock has occurred, the process proceeds from step 5303 to step 8306, where the knock feedback retard amount A RETl is subtracted from the knock feedback correction value AKNK and updated.
KNK - AKNK - ARETl) - Step 530
At 7, the timer Tl43 is cleared and the process returns.

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

そして、ノック発生がなくなると、まず、フィードバッ
ク補正値AKNKが進角方向に更新され、フィードバッ
ク補正値A KNKが0まで進角されるとそれ以上は進
角せず、次に、学習点火補正値■G LRNが進角方向
に更新される。
Then, when knocking stops occurring, the feedback correction value AKNK is first updated in the advance direction, and when the feedback correction value AKNK is advanced to 0, it does not advance any further, and then the learned ignition correction value ■GLRN is updated in the advance direction.

(学習完了判定手順) 一方、エンジンの運転状態が学習完了判定領域内にある
累積時間に対し、この累積時間か設定時間に達する毎に
学習完了の判定がなされ、学習完了とセ1定されると、
学習完了フラグFLAG3がセットされる。
(Learning Completion Judgment Procedure) On the other hand, for the cumulative time during which the engine operating state is within the learning completion determination area, learning completion is determined every time this cumulative time or a set time is reached, and learning is determined to have been completed. and,
A learning completion flag FLAG3 is set.

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

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

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

また、ステップ5402では、エンジン回転数Nが学習
完了判定のための下限回転数N1  (例えば、200
Orpm)と上限回転数N2  (例えば、4500r
pI)との設定範囲内にあるか否かを調べ、設定範囲内
のとき、ステップ5403へ進み、設定範囲外のときに
は同様にプログラムを抜けてリターンする。
Further, in step 5402, the engine rotation speed N is the lower limit rotation speed N1 (for example, 200
Orpm) and upper limit rotation speed N2 (for example, 4500r
If it is within the set range, the process advances to step 5403, and if it is outside the set range, the program exits and returns in the same way.

そして、現在の運転状態が学習完了の判定領域内にある
と判定されてステップ5403へ進むと、この判定領域
内にある累積時間を計時するタイマTH4がカウントア
ツプされ、ステップ5404で上記タイマTH4の計時
T4が読出されて設定時間TSET4(例えば10se
c)と比較される。
When it is determined that the current driving state is within the learning completion determination area and the process proceeds to step 5403, a timer TH4 that measures the cumulative time within this determination area is counted up, and in step 5404, the timer TH4 is counted up. The clock T4 is read out and the set time TSET4 (for example, 10 seconds) is read out.
c).

上記ステップ5404でT4≦T 5ET4のときには
そのままプログラムを抜け、T4 >TSET4のとき
、すなわち、判定領域内にある累積時間が設定時間をこ
えたときには、上記ステップ5404からステップ54
05へ進んで5その間の学習値の変化量ΔLが設定範囲
内(Ll〈ΔL<L2 ;例えば、−2゜くΔしく+3
°の範囲)にあるか否かが判別される。
If T4≦T5ET4 in step 5404, the program exits the program, and if T4>TSET4, that is, if the cumulative time within the determination area exceeds the set time, the program exits from step 5404 to step 54.
Proceed to 05, and the amount of change ΔL in the learned value during that period is within the setting range (Ll<ΔL<L2; For example, -2°
degree range).

上記ステップ5405では、学習値変化旦△Lが設定範
囲内にないときにはステップ5407ヘジヤンブし、一
方、上記学習値変化1ΔLが設定範囲内にあるときには
上記ステップ5405からステップ5406へ進んで学
習完了フラグFLAG3をセットし、ステップ5407
でタイマTH4をクリアしてプログラムを終了してリタ
ーンする。
In step 5405, when the learned value change ΔL is not within the set range, the process jumps to step 5407, while when the learned value change 1ΔL is within the set range, the process proceeds from step 5405 to step 5406, where the learning completion flag FLAG3 and step 5407
Clears timer TH4, ends the program, and returns.

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

すなわち、この学習完了判定の結果、学習完了と判定さ
れた場合には、ノックフィードバック制御領域での学習
結果が燃料のオクタン価を反映しており、ノック検出の
困難な運転領域においても、燃料補給などによる燃料の
オクタン価の変化に対してノック発生を防止することが
できる。
In other words, if it is determined that learning is complete as a result of this learning completion determination, the learning result in the knock feedback control area reflects the octane number of the fuel, and even in the driving area where knock detection is difficult, refueling etc. Knock can be prevented from occurring due to changes in the octane number of the fuel.

さらに、エンジンを停止して燃料を補給する際に、例え
ば、プレミアムガソリンを補給すべきところを誤ってレ
ギュラーカッリンを補給したり、あるいは、燃料事情の
悪い地域での粗悪ガソリンの混入などにより、燃料のオ
クタン価が低下したまま、いきなり高速運転をしても、
上記学習完了フラグFl−AG3がクリアされているた
め、学習未完了となり、バックアップRAM 23 a
にストアされている燃料のオクタン価が高い状態での学
習結果で点火時期が補正されることがなく、予め設定し
た値で点火時期を補正するためノック発生を防止するこ
とができる。
Furthermore, when stopping the engine and refueling, for example, if you mistakenly refill regular gasoline instead of premium gasoline, or if poor quality gasoline is mixed in in areas with poor fuel conditions, etc. Even if you suddenly start driving at high speeds while the octane number of the fuel is low,
Since the learning completion flag Fl-AG3 is cleared, learning is not completed and the backup RAM 23 a
The ignition timing is not corrected based on the learning result when the octane value of the fuel stored in the engine is high, and the ignition timing is corrected using a preset value, thereby preventing the occurrence of knocking.

(第2実施例) 次に、本発明の第2実施例について説明する。(Second example) Next, a second embodiment of the present invention will be described.

この第2実施例は、上述の第1実施例に対して学習完了
判定の手順のみが異なり、学習完了の判定をノック発生
頻度により行うものである。
This second embodiment differs from the first embodiment described above only in the procedure for determining completion of learning, and the determination of completion of learning is performed based on the frequency of knock occurrence.

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

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

また、ステップ5502では、エンジン回転数Nが学習
完了判定のための下限回転数Nl  (例えば、200
0rl)III)と上限回転数N2  (例えば、45
00rpIll)との設定範囲内にあるか否かを調べ設
定範囲内のとき、ステップ5503へ進み、設定範囲外
のときには同様にプログラムを抜けてリターンする。
Further, in step 5502, the engine rotation speed N is the lower limit rotation speed Nl (for example, 200
0rl) III) and upper limit rotation speed N2 (for example, 45
If it is within the set range, the process advances to step 5503, and if it is outside the set range, the program exits and returns in the same manner.

そして、現在の運転状態が学習完了の判定領域内にある
と判定されてステップ5503へ進むと、この判定領域
内にある累積時間を計時するタイマIH4がカウントア
ツプされ、ステップ5504でノックの有無が判別され
る。
When it is determined that the current driving state is within the learning completion determination area and the process proceeds to step 5503, a timer IH4 that measures the cumulative time within this determination area is counted up, and in step 5504 it is determined whether or not knocking has occurred. It is determined.

上記ステップ5504でノック無しの場合にはステツブ
5506ヘジヤンブし、ノック有りの場合には上記ステ
ップ5504からステップ5505へ進んでカウンタC
T2によりノックパルスをカランl〜し、その計数値C
2をカウントアツプしてステップ3506へ進む。
If there is no knock in the above step 5504, the process jumps to step 5506, and if there is a knock, the process proceeds from the above step 5504 to step 5505 and the counter C is
The knock pulse is caused by T2, and the count value C is
Count up 2 and proceed to step 3506.

ステップ8506では、上記タイマTH4の計時T4を
読出し、設定時間TSET4(例えば10sec)と比
較してT4≦T 5ET4のときにはそのままプログラ
ムを抜け、T4〉TS[T4のとき、すなわち、判定領
域内にある累積時間が設定時間をこえたときには、上記
ステップ3506からステップ3507へ進んで、上記
カウンタCT2の計数値C2を読出して設定回数C5E
T2 (例えば、4回)と比較する。
In step 8506, the time T4 of the timer TH4 is read, and compared with the set time TSET4 (for example, 10 seconds). If T4≦T5ET4, the program exits the program. When the cumulative time exceeds the set time, the process proceeds from step 3506 to step 3507, reads out the count value C2 of the counter CT2, and calculates the set number of times C5E.
Compare with T2 (eg, 4 times).

そして、上記カウンタCT2の計数値C2が、C2≦C
5ET2のときにはステップ5509ヘジヤンブし、一
方、C2>C3ET2のとき、すなわちノック発生回数
が設定回数よりも少ないときには、学習完了と判定して
ステップ3508へ進んで学習完了フラグFLAG3を
セ・ン1− L、ステップ5509でカウンタC丁2及
びタイマTH4をクリアしてプログラムを終了しリター
ンする。
Then, the count value C2 of the counter CT2 is C2≦C
If C2>C3ET2, that is, the number of knock occurrences is less than the set number, it is determined that learning is complete, and the process proceeds to step 3508, where the learning completion flag FLAG3 is set to 1-L. In step 5509, the counter C2 and timer TH4 are cleared, the program is ended, and the program returns.

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

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

さらに、上記学習完了判定手段では、上記ノンタフィ−
ドパツク制御領域における点火時期学習値の変化呈によ
り学習が完了しているか否かを判定し、または、上記ノ
ックフィードバック制御領域におけるノック発生頻度に
より学習が完了しているか否かを判定するため、学習完
了と判定したときには学習値が燃料のオクタン価を反映
しており、上記ノックフィードバック制御領域外での点
火時期に学習結果を効果的に取入れることができるなど
優れた効果が奏される。
Furthermore, the learning completion determination means
In order to determine whether learning has been completed based on the change in the ignition timing learned value in the knock feedback control region, or to determine whether learning has been completed based on the frequency of knock occurrence in the above-mentioned knock feedback control region, learning is performed. When it is determined that the process has been completed, the learned value reflects the octane number of the fuel, and excellent effects such as the ability to effectively incorporate the learned result into the ignition timing outside the knock feedback control area are achieved.

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

第1図は本発明の基本構成を示すブロック図、第2図〜
第6図は本発明の第1実施例を示し、第2図はエンジン
制御系の概略図、第3図は点火時期制御手順を示すフロ
ーチャート、第4図は学習値更新手順を示すフローチャ
ー1− 、第5図はノックフィーI・バック補正値算出
手順を示すフローチャー1− 、第6図は学習完了判定
手順を示すフローチャーl〜、第7図は本発明の第2実
施例を示し、学習完了判定手順を示ずフロ−チャードで
ある。 Ml・・・学習完了判定手段 M2 ノックフィードバック制御停止手段M3・・・ノ
ック検出領域外点火時期補正手段、r−し 第3図 第7図
Figure 1 is a block diagram showing the basic configuration of the present invention, Figures 2-
Fig. 6 shows the first embodiment of the present invention, Fig. 2 is a schematic diagram of the engine control system, Fig. 3 is a flowchart showing the ignition timing control procedure, and Fig. 4 is a flowchart 1 showing the learning value update procedure. -, Fig. 5 is a flowchart 1- showing a knock fee I/back correction value calculation procedure, Fig. 6 is a flowchart 1- showing a learning completion determination procedure, and Fig. 7 is a flowchart showing a second embodiment of the present invention. This is a flowchart without showing the learning completion determination procedure. Ml...Learning completion determination means M2 Knock feedback control stop means M3...Ignition timing correction means outside the knock detection area, r--Fig. 3, Fig. 7

Claims (3)

【特許請求の範囲】[Claims] (1)運転状態パラメータに基づいて点火時期を設定し
、この点火時期をノック発生を検出してフィードバック
補正するとともに学習値により補正するエンジンの点火
時期制御装置において、 ノックフィードバック制御領域における点火時期の学習
が完了したか否かを判定する学習完了判定手段と、 所定の運転領域で点火時期のノックフィードバック制御
を停止するノックフィードバック制御停止手段と、 上記ノックフィードバック制御停止手段により点火時期
のノックフィードバック制御を停止した場合、上記学習
完了判定手段における判定結果が学習完了のとき、上記
ノックフィードバック制御領域における点火時期学習値
に基づいてノックフィードバック制御領域外での点火時
期を補正し、上記学習完了判定手段における判定結果が
学習未完了のとき、上記ノックフィードバック制御領域
外での点火時期を学習完了時よりも遅角側に補正するノ
ックフィードバック制御領域外点火時期補正手段とを備
えたことを特徴とするエンジンの点火時期制御装置。
(1) In an engine ignition timing control device that sets the ignition timing based on operating state parameters, detects the occurrence of knock, performs feedback correction on the ignition timing, and corrects it using a learned value, the ignition timing in the knock feedback control region is adjusted. learning completion determining means for determining whether learning is completed; knock feedback control stopping means for stopping knock feedback control of ignition timing in a predetermined operating region; and knock feedback control of ignition timing by the knock feedback control stopping means. When the learning completion determination means determines that learning is complete, the learning completion determination means corrects the ignition timing outside the knock feedback control area based on the ignition timing learning value in the knock feedback control area. and a knock feedback control area outside ignition timing correcting means for correcting the ignition timing outside the knock feedback control area to a later side than when learning is completed when the determination result in is that learning is not completed. Engine ignition timing control device.
(2)上記学習完了判定手段は、上記ノックフィードバ
ック制御領域における点火時期学習値の変化量が予め設
定した範囲内にあるとき学習完了と判定し、上記ノック
フィードバック制御領域における点火時期学習値の変化
量が予め設定した範囲内にないとき学習未完了と判定す
るものであることを特徴とする請求項1記載のエンジン
の点火時期制御装置。
(2) The learning completion determining means determines that learning is complete when the amount of change in the ignition timing learning value in the knock feedback control region is within a preset range, and the learning completion determination means determines that learning is complete when the amount of change in the ignition timing learning value in the knock feedback control region changes. 2. The engine ignition timing control device according to claim 1, wherein when the amount is not within a preset range, it is determined that learning has not been completed.
(3)上記学習完了判定手段は、上記ノックフィードバ
ック制御領域におけるノック発生頻度が予め設定した頻
度以下のとき学習完了と判定し、上記ノックフィードバ
ック制御領域におけるノック発生頻度が予め設定した頻
度を越えたとき学習未完了と判定するものであることを
特徴とする請求項1記載のエンジンの点火時期制御装置
(3) The learning completion determination means determines that learning has been completed when the knock occurrence frequency in the knock feedback control region is less than or equal to a preset frequency, and when the knock occurrence frequency in the knock feedback control region exceeds the preset frequency. 2. The engine ignition timing control device according to claim 1, wherein the engine ignition timing control device determines that learning is incomplete when the learning is completed.
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 true JPH0412172A (en) 1992-01-16
JP2894624B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012097595A (en) * 2010-10-29 2012-05-24 Toyota Motor Corp Ignition timing control device of internal combustion engine
JP2013092117A (en) * 2011-10-26 2013-05-16 Toyota Motor Corp Control device of internal combustion engine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012097595A (en) * 2010-10-29 2012-05-24 Toyota Motor Corp Ignition timing control device of internal combustion engine
JP2013092117A (en) * 2011-10-26 2013-05-16 Toyota Motor Corp Control device of internal combustion engine

Also Published As

Publication number Publication date
JP2894624B2 (en) 1999-05-24

Similar Documents

Publication Publication Date Title
JP2910858B2 (en) Engine knock detection method
JPS58143169A (en) Method for controlling ignition timing
JP2715207B2 (en) Electronic control fuel supply device for internal combustion engine
JP2950848B2 (en) Ignition timing learning control method
JPS6296778A (en) Ignition timing control device
JPH0814271B2 (en) Ignition timing control device for internal combustion engine
JP3846191B2 (en) Ignition timing control device for internal combustion engine
JPH0412172A (en) Control device for ignition timing of engine
JPS6123868A (en) Ignition-timing controller
JP2832299B2 (en) Ignition timing learning control method
JP5086922B2 (en) Ignition timing control device for internal combustion engine
JPH0826838B2 (en) Ignition timing control method for internal combustion engine
JP2537622B2 (en) Engine knock control device
JPH0742926B2 (en) Engine ignition timing control device
JPS59136575A (en) Control of knocking in multi-cylinder engine
JP3055688B2 (en) Engine ignition timing learning control method
JP3882525B2 (en) Combustion control device for internal combustion engine
JPH03267577A (en) Knocking judgement for internal combustion engine
JPH02305369A (en) Method of ignition timing learning control
JPS63140866A (en) Knocking controller for internal combustion engine
JPH0689733B2 (en) Knotting control device for internal combustion engine
JPH0647984B2 (en) Engine ignition timing control device
JPH0564470U (en) Knocking control device for internal combustion engine
JPH06100146B2 (en) Engine controller
JPH0988785A (en) Method and device for detecting engine knocking, and method and device for controlling engine

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