JPH08151950A - Knocking control device for internal combustion engine - Google Patents

Knocking control device for internal combustion engine

Info

Publication number
JPH08151950A
JPH08151950A JP29529594A JP29529594A JPH08151950A JP H08151950 A JPH08151950 A JP H08151950A JP 29529594 A JP29529594 A JP 29529594A JP 29529594 A JP29529594 A JP 29529594A JP H08151950 A JPH08151950 A JP H08151950A
Authority
JP
Japan
Prior art keywords
value
knocking
ecu
engine
correction value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP29529594A
Other languages
Japanese (ja)
Inventor
Daisuke Yamada
大輔 山田
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP29529594A priority Critical patent/JPH08151950A/en
Publication of JPH08151950A publication Critical patent/JPH08151950A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To attain improving fuel consumption and output torque while suppressing the occurrence of knocking at transient operation time regardless of characteristic dispersion of an engine and a knocking sensor and aged deterioration thereof. CONSTITUTION: In an electronic control unit(ECU) 41, based on a value of processing a detection value averaged of a knocking sensor 36, a knocking decision level is calculated. In the ECU41, by comparing its decision level with the detection value of the knocking sensor 36, the occurrence of knocking is decided for whether it is provided or not. In the ECU41, when placing an engine 1 in a steady operation condition is judged, based on the detection value of the knocking sensor 36, a degree of the occurrence of knocking is calculated. In the ECU41, when the engine 1 is judged in a transient operation condition, in order to correct a delay of calculating the knocking decision level, a correction value is added/subtracted to/from this decision level, also to change a level of this correction value in accordance with a level of a calculated value in a degree of the occurrence of knocking.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は内燃機関で生じるノッ
キングを制御するノッキング制御装置に係る。詳しく
は、ノックセンサ等の検出値とノッキング判定レベルと
を比較することによりノッキングの発生の有無を判定
し、その判定結果に基づいてノッキングの発生を制御す
るようにした内燃機関のノッキング制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a knocking control device for controlling knocking generated in an internal combustion engine. More specifically, the present invention relates to a knocking control device for an internal combustion engine, which determines whether knocking has occurred by comparing a knocking determination level with a detection value of a knock sensor or the like, and controls the occurrence of knocking based on the determination result. .

【0002】[0002]

【従来の技術】従来、内燃機関、特にガソリンエンジン
において、燃焼室内で混合気が異常燃焼すると、燃焼室
内の圧力上昇は正常なときのそれに比べて非常に速くな
る。このため、燃焼室で燃焼が起きる度にノッキングが
繰り返し生じる。ここで、許容範囲内の軽微なノッキン
グの発生状況下における燃焼は、エンジンの燃費や出力
トルクの向上等の観点から好ましい。しかし、ノッキン
グの発生頻度や大きさ等が許容範囲を超えた場合には、
エンジンにとって好ましくない。
2. Description of the Related Art Conventionally, in an internal combustion engine, especially a gasoline engine, when the air-fuel mixture in the combustion chamber abnormally burns, the pressure in the combustion chamber rises much faster than it normally would. Therefore, knocking occurs repeatedly each time combustion occurs in the combustion chamber. Here, combustion under the condition of occurrence of slight knocking within the allowable range is preferable from the viewpoint of improving fuel efficiency and output torque of the engine. However, if the frequency or size of knocking exceeds the allowable range,
Not good for the engine.

【0003】そこで、ノックセンサ等によりノッキング
の発生頻度や大きさを検出し、その検出値に基づいて点
火時期を遅角又は進角させて点火時期を制御することに
より、ノッキングの発生を制御するものがある。特開平
2−210228号公報は上記制御に関連する装置の一
例を開示する。即ち、この装置で、制御ユニット(コン
ピュータ)はクランク角センサの検出値(エンジン回転
速度)に応じて設定される時定数を用いてノックセンサ
の検出値をなまし処理、即ち平均化処理することによ
り、ノイズレベルを算出する。更に、コンピュータは算
出されたノイズレベルに基づきノッキングの発生の有無
の判定基準となるノッキング判定レベルを算出する。そ
して、コンピュータは算出されたノッキング判定レベル
とノックセンサの検出値とを比較することにより、ノッ
キングの発生の有無を判定する。この判定に際して、ノ
ックセンサの検出値がなまし処理されることから、その
検出値に多少のノイズが含まれていても、判定からノイ
ズの影響を排除することが可能となる。
Therefore, the occurrence frequency of knocking is detected by a knock sensor or the like, and the ignition timing is controlled by retarding or advancing the ignition timing based on the detected value to control the occurrence of knocking. There is something. Japanese Patent Laid-Open No. 210210/1990 discloses an example of a device related to the above control. That is, in this device, the control unit (computer) uses the time constant set according to the detected value of the crank angle sensor (engine speed) to smooth the knocked sensor values, that is, to average them. The noise level is calculated by Further, the computer calculates a knocking determination level which is a criterion for determining whether knocking has occurred, based on the calculated noise level. Then, the computer determines whether or not knocking has occurred by comparing the calculated knocking determination level with the detection value of the knock sensor. In this determination, since the detected value of the knock sensor is smoothed, it is possible to eliminate the influence of noise from the determination even if the detected value includes some noise.

【0004】しかし、従前の装置では、エンジンの過渡
運転時、例えば加速時に、ノックセンサから出力される
信号の増加に対してノイズレベルの算出が遅れ、延いて
はノッキング判定レベルの算出が遅れる。その結果、ノ
ッキング判定レベルが必要以上に低くなり、コンピュー
タがノッキング発生を誤って判定することになる。
However, in the conventional device, during transient operation of the engine, for example, during acceleration, the noise level calculation is delayed with respect to the increase in the signal output from the knock sensor, and thus the knocking determination level is delayed. As a result, the knocking determination level becomes unnecessarily low, and the computer erroneously determines that knocking has occurred.

【0005】そこで、この誤判定を防止するために、上
記公報の装置では、コンピュータはエンジンの過渡運転
時にその過渡運転状態に応じた補正値を算出し、その補
正値に基づきノイズレベルを補正する。具体的には、コ
ンピュータはスロットルセンサの検出値に基づき加速程
度に相当するスロットル開度の変化分を算出する。そし
て、コンピュータはその算出値に応じてノッキング判定
レベルを所定値だけ嵩上げすることにより、定常運転時
とは別のノッキング判定レベルを算出する。これによ
り、コンピュータはノイズレベルの算出遅れによるノッ
キング判定レベルの不足分を補正する。
Therefore, in order to prevent this erroneous determination, in the device of the above publication, the computer calculates a correction value according to the transient operating state of the engine during transient operation, and corrects the noise level based on the correction value. . Specifically, the computer calculates the amount of change in the throttle opening corresponding to the degree of acceleration based on the detection value of the throttle sensor. Then, the computer raises the knocking determination level by a predetermined value in accordance with the calculated value to calculate a knocking determination level different from that during steady operation. As a result, the computer corrects the shortage of the knocking determination level due to the delay in calculation of the noise level.

【0006】[0006]

【発明が解決しようとする課題】ところが、前記公報の
装置では、コンピュータは同一の加速程度に対して同じ
値の嵩上げ値を設定する。そのため、エンジンやノック
センサ等に特性上のバラツキやその経時変化があって
も、これらの変動要因を嵩上げ値に反映させることがで
きない。従って、これらの変動要因を見込んだ最適なノ
ッキング判定レベルを算出することができない。その結
果、エンジンの過渡運転時には、コンピュータがノッキ
ングの発生の有無を誤って判定してしまうおそれがあ
る。即ち、実際には許容レベルを超えた大きさのノッキ
ングが発生していても、コンピュータがそのことを判定
できなかったり、或いは許容レベルを超えたノッキング
が発生していないにも拘らず、コンピュータがノッキン
グの発生を判定したりするおそれがある。
However, in the apparatus disclosed in the above publication, the computer sets the same padding value for the same degree of acceleration. Therefore, even if there are variations in the characteristics of the engine, the knock sensor, etc., or their changes over time, these fluctuation factors cannot be reflected in the raised value. Therefore, it is not possible to calculate an optimal knocking determination level that takes these fluctuation factors into account. As a result, during transient operation of the engine, the computer may erroneously determine whether knocking has occurred. In other words, even if knocking that exceeds the allowable level has actually occurred, the computer cannot determine that, or even if knocking that exceeds the allowable level has not occurred, the computer There is a risk of determining the occurrence of knocking.

【0007】この発明は前述した事情に鑑みてなされた
ものであって、その目的は、内燃機関やノックセンサ等
の特性上のバラツキやその経時変化等に拘らず、ノッキ
ングの発生頻度や大きさに応じて最適なノッキング判定
レベルを算出することにより、過渡運転時におけるノッ
キングの発生を最小限に抑えながら内燃機関の燃費や出
力トルクを最大限に向上させることを可能にした内燃機
関のノッキング制御装置を提供することにある。
The present invention has been made in view of the above-mentioned circumstances, and an object thereof is the occurrence frequency and magnitude of knocking, regardless of variations in characteristics of the internal combustion engine, knock sensor, etc. and changes over time. A knocking control of the internal combustion engine that can maximize the fuel consumption and output torque of the internal combustion engine while minimizing the occurrence of knocking during transient operation by calculating the optimal knocking determination level according to To provide a device.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めに、この発明においては、図1に示すように、内燃機
関M1で発生するノッキングの大きさをノック検出手段
M2により検出し、その検出値をノッキング判定レベル
と比較することによりノッキングの発生の有無を判定
し、その判定結果に基づいてノッキング調整手段M3を
制御することによりノッキングの発生を制御するように
したノッキング制御装置であって、ノック検出手段M2
の検出値をなまし処理することにより求められる値に基
づいてノッキング判定レベルを算出するための判定レベ
ル算出手段M4と、その判定レベル算出手段M4により
算出されたノッキング判定レベルとノック検出手段M2
の検出値とを比較することによりノッキングの発生の有
無を判定するためのノッキング判定手段M5と、ノッキ
ングの発生を制御するために、ノッキング判定手段M5
の判定結果に基づいてノッキング調整手段M3を制御す
るための制御手段M6と、内燃機関M1の運転状態を検
出するための運転状態検出手段M7と、その運転状態検
出手段M7の検出値に基づき、内燃機関M1が過渡運転
状態であるか定常運転状態であるかを判断するための運
転状態判断手段M8と、その運転状態判断手段M8の判
断結果が過渡運転状態であるときに、ノッキング判定レ
ベルの算出遅れを補正するために判定レベル算出手段M
4により算出されるノッキング判定レベルに補正値を加
減するための判定レベル補正手段M9と、運転状態判断
手段M8の判断結果が定常運転状態であるときに、ノッ
ク検出手段M2の検出値に基づきノッキングの発生度合
を算出するための発生度合算出手段M10と、その発生
度合算出手段M10の算出値に基づき判定レベル補正手
段M9における補正値を変更するための補正値変更手段
M11とを備えたことを趣旨とする。
In order to achieve the above object, in the present invention, as shown in FIG. 1, the magnitude of knocking generated in the internal combustion engine M1 is detected by knock detecting means M2, and A knocking control device configured to determine the presence or absence of knocking by comparing a detected value with a knocking determination level, and control the knocking adjustment means M3 based on the determination result to control the occurrence of knocking. , Knock detection means M2
Determination level calculating means M4 for calculating a knocking determination level based on a value obtained by smoothing the detected value of M, and the knocking determination level and knock detection means M2 calculated by the determination level calculating means M4.
Knocking determination means M5 for determining the presence or absence of knocking by comparing with the detection value of No., and knocking determination means M5 for controlling the occurrence of knocking.
Based on the detection value of the control means M6 for controlling the knocking adjustment means M3 based on the determination result, the operation state detection means M7 for detecting the operation state of the internal combustion engine M1, and the detection value of the operation state detection means M7, When the internal combustion engine M1 is in a transient operating state or in a steady operating state, an operating state determining means M8 and a determination result of the operating state determining means M8 is in a transient operating state Determination level calculating means M for correcting the calculation delay
When the determination result of the determination level correction means M9 for adding or subtracting the correction value to the knocking determination level calculated by 4 and the operation state determination means M8 is the steady operation state, knocking is performed based on the detection value of the knock detection means M2. And a correction value changing means M11 for changing the correction value in the determination level correcting means M9 based on the calculated value of the occurrence degree calculating means M10. The purpose is.

【0009】[0009]

【作用】図1に示す構成の作用を説明する。ノッキング
判定手段M5は判定レベル算出手段M4にてなまし処理
により算出されたノッキング判定レベルとノック検出手
段M2により検出される実際のノッキングの大きさとを
比較することにより、ノッキングの発生の有無を判定す
る。そして、制御手段M6はそのノッキングの判定結果
に基づいてノッキング調整手段M3を制御することによ
り、内燃機関M1でのノッキングの発生を制御する。
The operation of the structure shown in FIG. 1 will be described. The knocking determination means M5 determines whether knocking has occurred by comparing the knocking determination level calculated by the smoothing processing by the determination level calculation means M4 with the actual magnitude of knocking detected by the knock detection means M2. To do. Then, the control unit M6 controls the knocking adjustment unit M3 based on the knocking determination result to control the occurrence of knocking in the internal combustion engine M1.

【0010】ここで、内燃機関M1が定常運転状態、即
ち定速運転状態等であると運転状態判断手段M8が判断
したとき、発生度合算出手段M10はノッキングの発生
度合を算出する。そして、内燃機関M1が過渡運転状
態、即ち加速運転又は減速運転の状態となって運転状態
判断手段M8がそれを判断したとき、判定レベル補正手
段M9は、なまし処理に起因して過渡運転時に生じる算
出遅れを補正するために、判定レベル算出手段M4にて
算出されるノッキング判定レベルに補正値を加減する。
更に、補正値変更手段M11は、発生度合算出手段M1
0にて算出されるノッキングの発生度合に基づいて判定
レベル補正手段M9における補正値を変更する。
When the operating condition judging means M8 judges that the internal combustion engine M1 is in a steady operating condition, that is, a constant speed operating condition, the occurrence degree calculating means M10 calculates the degree of knocking occurrence. When the internal combustion engine M1 is in a transient operating state, that is, in an accelerating or decelerating state and the operating state determining means M8 determines it, the determination level correcting means M9 is in a transient operating state due to the smoothing process. In order to correct the calculation delay that occurs, a correction value is added to or subtracted from the knocking determination level calculated by the determination level calculating means M4.
Further, the correction value changing means M11 is provided with the occurrence degree calculating means M1.
The correction value in the determination level correction means M9 is changed based on the degree of knocking occurrence calculated at 0.

【0011】従って、内燃機関M1の過渡運転時には、
ノッキング判定レベルが補正値の加減によって補正され
ることから、なまし処理に起因した算出遅れに拘らず、
同判定レベルが適正化する。更に、上記の補正値には、
内燃機関M1及びノック検出手段M2等の特性上のバラ
ツキやその経時変化等の変動要因が反映されることか
ら、過渡運転時に補正されるノッキング判定レベルにも
上記の変動要因が反映されることになる。
Therefore, during transient operation of the internal combustion engine M1,
Since the knocking determination level is corrected by adjusting the correction value, regardless of the calculation delay caused by the smoothing process,
The judgment level is optimized. Furthermore, the above correction values include
Since variation factors such as variations in the characteristics of the internal combustion engine M1 and the knock detection means M2 and their changes over time are reflected, the variation factors described above are also reflected in the knocking determination level corrected during transient operation. Become.

【0012】[0012]

【実施例】【Example】

(第1実施例)以下、この発明に係る内燃機関のノッキ
ング制御装置を自動車に具体化した第1実施例を図2〜
図10を参照して詳細に説明する。
(First Embodiment) Hereinafter, a first embodiment in which a knocking control device for an internal combustion engine according to the present invention is embodied in an automobile will be described with reference to FIGS.
This will be described in detail with reference to FIG.

【0013】図2はガソリンエンジンシステムを示す概
略構成図である。内燃機関としてのガソリンエンジン
(以下単に「エンジン」と書き表す)1はシリンダブロ
ック1a及びシリンダヘッド1bを含み、シリンダブロ
ック1aは燃焼室1cを含む気筒を複数備える。各気筒
に対応する吸気ポート2には、エアクリーナ3から吸気
通路4に吸入される外気が流れる。各気筒毎に設けられ
たインジェクタ5は、各吸気ポート2へ燃料を噴射す
る。そして、それら外気と燃料との混合気は、各気筒毎
に設けられた吸気バルブ6により吸気ポート2が開かれ
るときに、燃焼室1cに導入される。更に、各気筒毎に
設けられた点火プラグ7が作動することにより、燃焼室
1cにて混合気が爆発・燃焼してピストン8が作動し、
エンジン1の駆動力が得られる。その後、各気筒毎に設
けられた排気バルブ9により排気ポート10が開かれる
ときに、既燃焼ガスが排気ガスとして燃焼室1cから排
気通路11に導出され、更に触媒12により浄化されて
外部へ排出される。
FIG. 2 is a schematic configuration diagram showing a gasoline engine system. A gasoline engine (hereinafter simply referred to as “engine”) 1 as an internal combustion engine includes a cylinder block 1a and a cylinder head 1b, and the cylinder block 1a includes a plurality of cylinders including a combustion chamber 1c. The outside air drawn from the air cleaner 3 into the intake passage 4 flows through the intake port 2 corresponding to each cylinder. The injector 5 provided for each cylinder injects fuel into each intake port 2. Then, the mixture of the outside air and the fuel is introduced into the combustion chamber 1c when the intake port 2 is opened by the intake valve 6 provided for each cylinder. Further, by operating the ignition plug 7 provided for each cylinder, the air-fuel mixture explodes and burns in the combustion chamber 1c, and the piston 8 operates,
The driving force of the engine 1 can be obtained. Then, when the exhaust port 10 is opened by the exhaust valve 9 provided for each cylinder, the burned gas is led out from the combustion chamber 1c to the exhaust passage 11 as exhaust gas, further purified by the catalyst 12 and discharged to the outside. To be done.

【0014】吸気通路4の途中に設けられたスロットル
バルブ13は、アクセルペダル(図示しない)の操作に
連動して作動し、吸気通路4を開閉する。このスロット
ルバルブ13の作動により、吸気通路4に対する吸入空
気量Qが調節される。
A throttle valve 13 provided in the middle of the intake passage 4 operates in conjunction with the operation of an accelerator pedal (not shown) to open and close the intake passage 4. The operation of the throttle valve 13 adjusts the intake air amount Q to the intake passage 4.

【0015】エアクリーナ3の近傍に設けられた吸気温
センサ31は、吸気通路4に吸入される空気の温度(吸
入空気温度)THAを検出し、その温度に応じた信号を
出力する。エアクリーナ3の近傍に設けられたエアフロ
ーメータ32は、吸気通路4における吸入空気量Qを検
出し、その量に応じた信号を出力する。スロットルバル
ブ13の近傍に設けられたスロットルセンサ33は、同
バルブ13の開度(スロットル開度)TAを検出し、そ
の開度に応じた信号を出力する。このセンサ33は、ス
ロットルバルブ13が全閉となったことも検出する。
An intake air temperature sensor 31 provided in the vicinity of the air cleaner 3 detects the temperature (intake air temperature) THA of the air drawn into the intake passage 4 and outputs a signal corresponding to the temperature. The air flow meter 32 provided in the vicinity of the air cleaner 3 detects the intake air amount Q in the intake passage 4 and outputs a signal corresponding to the amount. A throttle sensor 33 provided in the vicinity of the throttle valve 13 detects the opening (throttle opening) TA of the valve 13 and outputs a signal corresponding to the opening. The sensor 33 also detects that the throttle valve 13 is fully closed.

【0016】一方、排気通路11の途中に設けられた酸
素センサ34は、排気ガス中に残存する酸素濃度Oxを
検出し、その濃度に応じた信号を出力する。シリンダブ
ロック1aに設けられた水温センサ35は、同ブロック
1aを冷却するために流れる冷却水の温度(冷却水温
度)THWを検出し、その温度に応じた信号を出力す
る。更に、シリンダブロック1aに設けられた本発明に
おけるノック検出手段としてのノックセンサ36は、エ
ンジン1で発生するノッキングを含む振動を検出し、そ
の振動の大きさに応じたノック信号KCSを出力する。
On the other hand, the oxygen sensor 34 provided in the middle of the exhaust passage 11 detects the oxygen concentration Ox remaining in the exhaust gas and outputs a signal according to the concentration. The water temperature sensor 35 provided in the cylinder block 1a detects the temperature (cooling water temperature) THW of the cooling water flowing to cool the block 1a, and outputs a signal according to the temperature. Further, the knock sensor 36 provided in the cylinder block 1a as the knock detecting means in the present invention detects a vibration including knocking generated in the engine 1, and outputs a knock signal KCS according to the magnitude of the vibration.

【0017】ディストリビュータ14は各点火プラグ7
に印加されるべき点火信号を分配する。イグナイタ15
はエンジン1のクランク角度の変化に同期してディスト
リビュータ14へ高電圧を出力する。各点火プラグ7の
点火タイミングはイグナイタ15における高電圧の出力
タイミングにより決定される。この実施例では、各点火
プラグ7及びイグナイタ15が本発明におけるノッキン
グ調整手段を構成する。
The distributor 14 is for each spark plug 7
Distributes the ignition signal to be applied to. Igniter 15
Outputs a high voltage to the distributor 14 in synchronization with a change in the crank angle of the engine 1. The ignition timing of each spark plug 7 is determined by the high voltage output timing of the igniter 15. In this embodiment, each spark plug 7 and the igniter 15 constitute the knocking adjusting means in the present invention.

【0018】ディストリビュータ14に設けられた回転
速度センサ37は、ディストリビュータ14に内蔵され
るロータ(図示しない)の回転に基づいてエンジン1の
回転速度(エンジン回転速度)NEを検出し、その速度
に応じた信号を出力する。同じくディストリビュータ1
4に設けられた気筒判別センサ38は、ロータの回転に
基づきエンジン1のクランク角度の変化を所定の割合で
検出し、その変化に応じた信号出力する。
The rotation speed sensor 37 provided in the distributor 14 detects the rotation speed (engine rotation speed) NE of the engine 1 based on the rotation of a rotor (not shown) incorporated in the distributor 14 and responds to the detected speed. Output signal. Similarly distributor 1
The cylinder discrimination sensor 38 provided in No. 4 detects a change in the crank angle of the engine 1 at a predetermined rate based on the rotation of the rotor, and outputs a signal according to the change.

【0019】そして、この実施例では、各種センサ等3
1〜38がエンジン1の運転状態を検出するための本発
明における運転状態検出手段を構成する。ここで、電子
制御装置(ECU)41は本発明における判定レベル算
出手段、ノッキング判定手段、制御手段、運転状態判断
手段、判定レベル補正手段、発生度合算出手段及び補正
値変更手段を構成する。このECU41は前述した各種
センサ等31〜38から出力される信号を入力する。E
CU41はこれらの入力信号に基づき、各インジェクタ
5及びイグナイタ15を制御する。
In this embodiment, various sensors and the like 3
1 to 38 constitute an operating state detecting means in the present invention for detecting the operating state of the engine 1. Here, the electronic control unit (ECU) 41 constitutes the judgment level calculation means, the knocking judgment means, the control means, the operating state judgment means, the judgment level correction means, the generation degree calculation means, and the correction value change means in the present invention. The ECU 41 inputs signals output from the various sensors 31 to 38 described above. E
The CU 41 controls each injector 5 and igniter 15 based on these input signals.

【0020】図3のブロック図に示すように、ECU4
1は中央処理装置(CPU)42、読み出し専用メモリ
(ROM)43、ランダムアクセスメモリ(RAM)4
4及びバックアップRAM45及びタイマカウンタ46
等を備える。ECU41はこれら各部42〜46と、外
部入力回路47と、外部出力回路48等とをバス49に
より接続してなる論理演算回路を構成する。ここで、R
OM43は所定の制御プログラム等を予め記憶する。R
AM44はCPU42の演算結果等を一時記憶する。バ
ックアップRAM45は予め記憶したデータを保存す
る。タイマカウンタ46は、同時に複数のカウント動作
を行うことができる。外部入力回路47はバッファ、波
形整形回路及びA/D変換器等を含む。外部出力回路4
8は駆動回路等を含む。各種センサ等31〜38は外部
入力回路47につながる。各部材5,15は外部出力回
路48につながる。
As shown in the block diagram of FIG. 3, the ECU 4
1 is a central processing unit (CPU) 42, a read only memory (ROM) 43, a random access memory (RAM) 4
4 and backup RAM 45 and timer counter 46
Etc. are provided. The ECU 41 constitutes a logical operation circuit in which these units 42 to 46, an external input circuit 47, an external output circuit 48 and the like are connected by a bus 49. Where R
The OM 43 stores a predetermined control program and the like in advance. R
The AM 44 temporarily stores the calculation result of the CPU 42 and the like. The backup RAM 45 stores previously stored data. The timer counter 46 can simultaneously perform a plurality of counting operations. The external input circuit 47 includes a buffer, a waveform shaping circuit, an A / D converter, and the like. External output circuit 4
Reference numeral 8 includes a drive circuit and the like. The various sensors 31 to 38 are connected to the external input circuit 47. Each member 5, 15 is connected to the external output circuit 48.

【0021】CPU42は外部入力回路47を介して入
力する各種センサ等31〜38からの信号を入力値とし
て読み込む。CPU42はそれら入力値に基づき、空燃
比制御を含む燃料噴射量制御及びノッキング制御を含む
点火時期制御等を実行するために、各部材5,15等を
制御する。ECU41には車両に搭載されたバッテリ
(図示しない)が接続されている。CPU42が行う各
部材5,15等の制御はバッテリから各部材5,15等
に対する通電を制御することを含む。
The CPU 42 reads the signals from the various sensors 31 to 38 input via the external input circuit 47 as input values. Based on these input values, the CPU 42 controls each member 5, 15 and the like in order to execute fuel injection amount control including air-fuel ratio control and ignition timing control including knocking control. A battery (not shown) mounted on the vehicle is connected to the ECU 41. The control of each member 5, 15 and the like performed by the CPU 42 includes controlling the energization of each member 5, 15 and the like from the battery.

【0022】ここで、燃料噴射量制御とは、エンジン1
の運転状態に応じて各インジェクタ5から噴射される燃
料量を制御することである。空燃比制御とは、少なくと
も酸素センサ34の検出値に基づき、エンジン1におけ
る空燃比A/Fを制御することである。点火時期制御と
は、エンジン1の運転状態に応じてイグナイタ15を制
御することにより、各点火プラグ7を作動させて各燃焼
室1cにおける混合気の点火時期を制御することであ
る。更に、ノッキング制御とは、ノックセンサ36の検
出値に基づいてノッキングの発生の有無を判定し、その
判定結果に基づいて点火時期を制御することにより、ノ
ッキングの発生を制御することである。
Here, the fuel injection amount control means the engine 1
That is, the amount of fuel injected from each injector 5 is controlled according to the operating state. The air-fuel ratio control is to control the air-fuel ratio A / F in the engine 1 based on at least the detection value of the oxygen sensor 34. The ignition timing control is to control the igniter 15 according to the operating state of the engine 1 to operate each spark plug 7 and control the ignition timing of the air-fuel mixture in each combustion chamber 1c. Further, the knocking control is to control the occurrence of knocking by determining the presence or absence of knocking based on the detection value of the knock sensor 36 and controlling the ignition timing based on the determination result.

【0023】次に、前述したECU41により実行され
る各種制御のうち、点火時期制御を含むノッキング制御
の処理内容について図4〜図10の各種フローチャート
等を参照して説明する。後述する各種ルーチンに関する
制御プログラム及び関数データ等はROM43が予め記
憶している。
Next, of the various controls executed by the ECU 41 described above, the content of the knocking control process including the ignition timing control will be described with reference to the various flowcharts of FIGS. 4 to 10. The ROM 43 stores in advance control programs, function data, and the like relating to various routines described below.

【0024】図4はノッキング制御を含む点火時期制御
のための「点火時期制御ルーチン」を示し、ECU41
はこのルーチンを所定時間毎に周期的に実行する。EC
U41はこのルーチンへ移行すると、ステップ100に
おいて、各センサ等32,35,37の検出信号に基づ
き吸入空気量Q、冷却水温度THW及びエンジン回転速
度NEの値をそれぞれ読み込む。
FIG. 4 shows an "ignition timing control routine" for ignition timing control including knocking control.
Executes this routine periodically at predetermined time intervals. EC
When the U41 shifts to this routine, in step 100, the values of the intake air amount Q, the cooling water temperature THW and the engine rotation speed NE are read based on the detection signals of the sensors 32, 35, 37, respectively.

【0025】ステップ110において、ECU41は今
回読み込まれた吸入空気量Q及びエンジン回転速度NE
の値に基づき、エンジン1の運転負荷Q/NE及びエン
ジン回転速度の値に応じた基本点火時期ITbの値を算
出する。
In step 110, the ECU 41 reads the intake air amount Q and the engine speed NE read this time.
A value of the basic ignition timing ITb corresponding to the values of the operating load Q / NE of the engine 1 and the engine rotation speed is calculated based on the value of.

【0026】ステップ120において、ECU41は今
回にノッキング制御の実行条件が成立しているか否かを
判断する。ここで、ECU41は、冷却水温THWの値
が所定値以上で、しかも運転負荷Q/NEの値が所定値
以上であるときに上記実行条件が成立しているものと判
断する。上記実行条件が成立していない場合には、EC
U41は処理をそのままステップ150へ移行する。上
記実行条件が成立している場合には、ECU41は処理
をステップ130へ移行する。
In step 120, the ECU 41 determines whether or not the condition for executing knocking control is satisfied this time. Here, the ECU 41 determines that the execution condition is satisfied when the value of the cooling water temperature THW is equal to or higher than the predetermined value and the value of the operating load Q / NE is equal to or higher than the predetermined value. If the above execution conditions are not satisfied, EC
U41 shifts the processing to step 150 as it is. When the execution condition is satisfied, the ECU 41 shifts the processing to step 130.

【0027】ステップ130において、ECU41は後
述する図5の「ノッキング判定処理ルーチン」に従って
算出されるノッキング発生度合に相当するノッキング強
度KCMの値をRAM44から読み込む。次いで、ステ
ップ140において、ECU41は読み込まれたノッキ
ング強度KCMに応じて、即ちノッキングの発生度合に
応じて点火時期を遅角補正するためのノッキング補正値
KCCを算出する。この実施例では、上記各ステップ1
30,140を実行するECU41が、本発明における
ノッキング判定手段に相当する。
In step 130, the ECU 41 reads from the RAM 44 the value of the knocking intensity KCM corresponding to the degree of knocking occurrence calculated according to the "knocking determination processing routine" shown in FIG. Next, at step 140, the ECU 41 calculates a knocking correction value KCC for retarding the ignition timing according to the read knocking intensity KCM, that is, according to the degree of knocking occurrence. In this embodiment, the above step 1
The ECU 41 that executes steps 30 and 140 corresponds to the knocking determination means in the present invention.

【0028】そして、ステップ120,140から移行
してステップ150において、ECU41はノッキング
の発生以外の要因に応じて点火時期を補正するための他
の補正値C1を算出する。周知のように、点火時期制御
では、冷却水温THWの大きさに応じて点火時期を進角
又は遅角させたり、エンジン1のアイドリング時にエン
ジン回転速度NEの目標値に対する偏差に応じて点火時
期を進角させたりする。このステップ150では、EC
U41がそのような点火時期制御のために必要な補正値
C1を各種パラメータTHW,NE等に基づいて算出す
る。
Then, in step 150 after shifting from steps 120 and 140, the ECU 41 calculates another correction value C1 for correcting the ignition timing according to factors other than the occurrence of knocking. As is well known, in the ignition timing control, the ignition timing is advanced or retarded according to the magnitude of the cooling water temperature THW, or the ignition timing is adjusted according to the deviation of the engine speed NE from the target value when the engine 1 is idling. To advance. In this step 150, EC
U41 calculates a correction value C1 required for such ignition timing control based on various parameters THW, NE and the like.

【0029】そして、ステップ160において、ECU
41は点火時期制御のために最終的に使われるべき目標
点火時期TIを算出する。即ち、ECU41は上記各種
補正値KCC,C1に基づき基本点火時期TIbを補正
することにより目標点火時期ITを算出する。
Then, in step 160, the ECU
41 calculates a target ignition timing TI that should be finally used for ignition timing control. That is, the ECU 41 calculates the target ignition timing IT by correcting the basic ignition timing TIb based on the various correction values KCC and C1.

【0030】その後、ステップ170において、ECU
41は今回算出された目標点火時期ITに基づき所要の
タイミングでイグナイタ15を制御することにより、燃
焼室1cにおける混合気の点火時期を実際に制御する。
その後、ECU41は処理を一旦終了し、次のタイミン
グでステップ100から処理を再開する。この実施例で
は、このステップ170の処理を実行するECU41
が、本発明における制御手段に相当する。
Then, in step 170, the ECU
Reference numeral 41 controls the igniter 15 at a required timing based on the target ignition timing IT calculated this time to actually control the ignition timing of the air-fuel mixture in the combustion chamber 1c.
After that, the ECU 41 ends the process once, and restarts the process from step 100 at the next timing. In this embodiment, the ECU 41 that executes the processing of step 170
Corresponds to the control means in the present invention.

【0031】上記のようにECU41は目標点火時期I
Tを算出し、その算出結果に基づいて通常の点火時期制
御を実行すると共に、ノッキング制御の実行条件が成立
している場合には、そのノッキング制御のための点火時
期制御を実行する。
As described above, the ECU 41 controls the target ignition timing I
When T is calculated, the normal ignition timing control is executed based on the calculated result, and when the knocking control execution condition is satisfied, the ignition timing control for the knocking control is executed.

【0032】ところで、ECU41は回転速度センサ3
7及び気筒判別センサ38の検出信号に基づきエンジン
1の各気筒における爆発行程時期を判断する。そして、
その判断の都度、各気筒でピストン8が上死点に達する
タイミングでノッキング判定処理を起動する。図5はそ
のための「ノッキング判定処理ルーチン」を示す。EC
U41はこのルーチンを各気筒が爆発行程に入る度に起
動する。ECU41はエンジン1で生じたノッキングの
強度を無・小・中・大の4つに分類して判定し、その判
定結果をRAM44に一旦記憶する。
By the way, the ECU 41 uses the rotation speed sensor 3
The explosion stroke timing in each cylinder of the engine 1 is determined based on the detection signals of the cylinder 7 and the cylinder discrimination sensor 38. And
Each time the determination is made, the knocking determination process is started at the timing when the piston 8 reaches the top dead center in each cylinder. FIG. 5 shows a "knocking determination processing routine" for that purpose. EC
U41 starts this routine each time each cylinder enters the explosion stroke. The ECU 41 classifies the knocking intensity generated in the engine 1 into four categories of none, small, medium, and large, and temporarily stores the determination result in the RAM 44.

【0033】ECU41はこのルーチンへ移行すると、
ステップ200において、各センサ等32,35,3
6,37の検出信号に基づき吸入空気量Q、冷却水温度
THW、ノック信号KCS及びエンジン回転速度NEの
値をそれぞれ読み込む。
When the ECU 41 shifts to this routine,
In step 200, each sensor, etc. 32, 35, 3
The values of the intake air amount Q, the cooling water temperature THW, the knock signal KCS, and the engine speed NE are read based on the detection signals of Nos. 6 and 37, respectively.

【0034】ステップ210において、ECU41は今
回にノッキング制御の実行条件が成立しているか否かを
判断する。ここでの実行条件の内容は、図4のステップ
120におけるそれと同じである。上記実行条件が成立
していない場合には、ECU41は処理をステップ27
0へ移行する。上記実行条件が成立している場合には、
ECU41は処理をステップ220へ移行する。
In step 210, the ECU 41 determines whether or not the knocking control execution condition is satisfied this time. The content of the execution condition here is the same as that in step 120 of FIG. If the execution condition is not satisfied, the ECU 41 executes the process in step 27.
Move to 0. If the above execution conditions are met,
The ECU 41 shifts the processing to step 220.

【0035】ステップ220において,ECU41はノ
ッキング判定レベルVLを算出する。この判定レベルV
Lは、今回に爆発行程にある気筒のノッキング強度KC
Mを判定するための基準となるものである。ECU41
はノッキング判定レベルVLを以下の計算式(1)に従
って算出する。
At step 220, the ECU 41 calculates the knocking determination level VL. This judgment level V
L is the knocking strength KC of the cylinder in the explosion stroke this time.
It is a standard for determining M. ECU 41
Calculates the knocking determination level VL according to the following calculation formula (1).

【0036】 VL=VM0*(K+ΔK)+VOS …(1) ここで、「VM0」は、前回に当該気筒に対してノッキ
ング判定処理を実行した際に求められたノック信号KC
Sをなまし処理、即ち平均化処理することにより求めら
れたなまし値である。「K」は、ノッキング判定レベル
VLを算出するためにエンジン回転速度NEに応じて設
定された基準値である。「ΔK」は、ノッキング音が一
定となるように所定期間毎に学習更新される補正値であ
り、この学習更新については後述する。更に、「VO
S」は、エンジン1の過渡運転時にノッキング判定レベ
ルVLを補正するために同判定レベルVLに対して加算
される嵩上げ値であり、エンジン1の定常運転時(定速
運転時等)におけるノッキングの発生度合、即ちノッキ
ングの発生し易さに応じて算出される。この嵩上げ値V
OSは、正又は負の値として算出される値であり、その
算出方法については後述する。ECU41は上記各種パ
ラメータVL,VM,ΔK,VOSをそれぞれ各気筒毎
に算出する。更に、ECU41は補正値ΔKを、エンジ
ン回転速度NEの大きさに応じて低速用の補正値ΔK
L、中速用の補正値ΔKM及び高速用の補正値ΔKHと
3種類に設定する。そして、ECU41はノッキング判
定レベルVLを算出する際に、3種類の補正値ΔKL,
ΔKM,ΔKHの中からエンジン回転速度NEに応じた
ものを選択して使う。この実施例において、上記ステッ
プ220の処理を実行するECU41は、本発明におけ
る判定レベル算出手段に相当する。
VL = VM0 * (K + ΔK) + VOS (1) Here, “VM0” is the knock signal KC obtained when the knocking determination process was executed for the cylinder last time.
It is a smoothed value obtained by smoothing S, that is, averaging. “K” is a reference value set according to the engine rotation speed NE in order to calculate the knocking determination level VL. “ΔK” is a correction value that is learned and updated every predetermined period so that the knocking sound is constant, and this learning and updating will be described later. Furthermore, "VO
“S” is a padding value that is added to the knocking determination level VL in order to correct the knocking determination level VL during transient operation of the engine 1, and the knocking value of the engine 1 during steady operation (such as constant speed operation) It is calculated according to the degree of occurrence, that is, the ease with which knocking occurs. This raised value V
OS is a value calculated as a positive or negative value, and the calculation method will be described later. The ECU 41 calculates the various parameters VL, VM, ΔK, and VOS for each cylinder. Further, the ECU 41 sets the correction value ΔK to the low speed correction value ΔK according to the magnitude of the engine rotation speed NE.
L, medium speed correction value ΔKM, and high speed correction value ΔKH are set to three types. Then, when calculating the knocking determination level VL, the ECU 41 calculates three types of correction values ΔKL,
The one corresponding to the engine speed NE is selected from ΔKM and ΔKH and used. In this embodiment, the ECU 41 that executes the processing of step 220 corresponds to the determination level calculating means in the present invention.

【0037】次に、ステップ230において、ECU4
1は今回読み込まれたノック信号KCSと、今回算出さ
れたノッキング判定レベルVLとに基づいてノッキング
強度KCMを判定すると共に、この判定区間内における
ノック信号KCSの最大値VPを算出する。このステッ
プ230に係る詳しい内容については、図6に従って後
述する。この実施例では、このステップ230の処理を
実行するECU41が、本発明におけるノッキング判定
手段を構成する。
Next, at step 230, the ECU 4
1 determines the knocking strength KCM based on the knock signal KCS read this time and the knocking determination level VL calculated this time, and calculates the maximum value VP of the knock signal KCS within this determination section. The details of this step 230 will be described later with reference to FIG. In this embodiment, the ECU 41 that executes the processing of step 230 constitutes the knocking determination means of the present invention.

【0038】ステップ240において、ECU41は判
定されたノッキング強度KCMと、算出された最大値V
PをそれぞれRAM44に一旦記憶する。そして、ステ
ップ250において、ECU41はノッキング判定レベ
ルVLを補正するための条件が成立しているか否かを判
断する。ここでの補正条件とは、エンジン1が定常運転
状態であることと、エンジン回転速度NEが所定範囲内
にあることとが両立する場合をいう。補正条件が成立し
ている場合には、ECU41は処理をステップ260へ
移行する。補正条件が成立していない場合には、ECU
41は処理をステップ270へ移行する。この実施例で
は、このステップ250の処理を実行するECU41
が、本発明における運転状態判断手段を構成する。
In step 240, the ECU 41 determines the determined knocking strength KCM and the calculated maximum value V.
Each P is temporarily stored in the RAM 44. Then, in step 250, the ECU 41 determines whether or not a condition for correcting the knocking determination level VL is satisfied. The correction condition here means a case where both the steady operation state of the engine 1 and the fact that the engine rotation speed NE is within a predetermined range are compatible. When the correction condition is satisfied, the ECU 41 shifts the processing to step 260. If the correction condition is not satisfied, the ECU
41 shifts the processing to step 270. In this embodiment, the ECU 41 that executes the processing of step 250
, Which constitutes the operating condition determining means in the present invention.

【0039】ステップ260において、ECU41はノ
ッキング音が一定となるようにノッキング判定レベルV
Lを補正するための補正値ΔKを学習更新する処理を実
行し、その後の処理を一旦終了する。ステップ260に
係る詳しい内容については、図7,8に従って後述す
る。この実施例では、このステップ260の処理を実行
するECU41が、本発明における発生度合算出手段に
相当する。
At step 260, the ECU 41 determines the knocking determination level V so that the knocking sound becomes constant.
A process of learning and updating the correction value ΔK for correcting L is executed, and the subsequent process is temporarily terminated. The details of step 260 will be described later with reference to FIGS. In this embodiment, the ECU 41 that executes the processing of step 260 corresponds to the occurrence degree calculating means in the present invention.

【0040】一方、ステップ210,250から移行し
てステップ270において、ECU41は補正値ΔKの
学習更新を実行する際に使う各種カウンタ等を初期化
し、その後の処理を一旦終了する。
On the other hand, after shifting from steps 210 and 250, in step 270, the ECU 41 initializes various counters and the like used when the learning update of the correction value ΔK is executed, and thereafter ends the processing once.

【0041】図6は上記ステップ230における最大値
VPを算出するための「最大値算出ルーチン」を示す。
先ずステップ300において、ECU41はエンジン回
転速度NEに基づき開始時刻tS及び終了時刻tEをそ
れぞれ設定する。ここでは、今回に爆発行程にある気筒
につき「10°CA/ATDC〜90°CA/ATD
C」の区間をノッキング判定区間として、現時点からの
判定区間の開始時刻tS及び終了時刻tEをECU41
は設定する。更に、ECU41はそれらの時刻tS,t
Eを計時するためのタイマをセットする。
FIG. 6 shows a "maximum value calculation routine" for calculating the maximum value VP in step 230.
First, in step 300, the ECU 41 sets the start time tS and the end time tE based on the engine rotation speed NE. Here, "10 ° CA / ATDC to 90 ° CA / ATD for each cylinder in the explosion stroke this time"
The section “C” is set as the knocking determination section, and the start time tS and the end time tE of the determination section from the present time are set to the ECU 41.
Set. Further, the ECU 41 determines that the times tS, t
Set a timer to time E.

【0042】次に、ステップ310において、ECU4
1はノッキング判定を開始するのを待つ。即ち、ECU
41はタイマの計時結果が開始時刻tSになるのを待
つ。そして、その開始時刻tSになると、ステップ32
0において、ECU41はノック信号KCSのA/D変
換値(以下「ノック信号レベル」と書き表す)VADを
読み込む。
Next, at step 310, the ECU 4
1 waits for the knocking determination to start. That is, the ECU
Reference numeral 41 waits until the time measurement result of the timer reaches the start time tS. When the start time tS is reached, step 32
At 0, the ECU 41 reads the A / D converted value (hereinafter referred to as “knock signal level”) VAD of the knock signal KCS.

【0043】続いて、ステップ330において、ECU
41は図5のステップ220で算出されたノッキング判
定レベルVLの値とノック信号レベルVADの値とを比
較する。そして、ノック信号レベルVADがノッキング
判定レベルVLよりも大きい場合には、エンジン1でノ
ッキングが発生しているものとして、ECU41は処理
をステップ340へ移行する。そして、ステップ340
において、ECU41はノッキング判定用の第1のカウ
ンタCxの値を「1」だけインクリメントし、ステップ
350へ移行する。つまり、ECU41はノック信号レ
ベルVADがノッキング判定レベルVLを超えた回数を
インクリメントするのである。ノック信号レベルVAD
がノッキング判定レベルVL未満である場合には、EC
U41は処理をそのままステップ350へ移行する。
Then, in step 330, the ECU
Reference numeral 41 compares the value of the knocking determination level VL calculated in step 220 of FIG. 5 with the value of the knock signal level VAD. If knock signal level VAD is higher than knocking determination level VL, ECU 41 determines that knocking has occurred in engine 1, and ECU 41 shifts the processing to step 340. And step 340
At 41, the ECU 41 increments the value of the first counter Cx for knocking determination by “1”, and proceeds to step 350. That is, the ECU 41 increments the number of times the knock signal level VAD exceeds the knocking determination level VL. Knock signal level VAD
Is below the knocking determination level VL, EC
U41 shifts the processing to step 350 as it is.

【0044】ステップ350において、ECU41はノ
ック信号KCSの平均値VMADを以下の計算式(2)
に従って算出する。 VMAD=(15*VMAD0+VAD)/16 …(2) ここで、VMAD0は前回算出された平均値VMADの
値である。
In step 350, the ECU 41 calculates the average value VMAD of the knock signal KCS by the following formula (2).
Calculate according to. VMAD = (15 * VMAD0 + VAD) / 16 (2) Here, VMAD0 is the value of the average value VMAD calculated last time.

【0045】更に、ステップ360において、ECU4
1はノック信号レベルVADの値が最大値VPを超えた
か否かを判断する。ノック信号レベルVADの値が最大
値VPを超えた場合には、ステップ370において、E
CU41はそのときのノック信号レベルVADを最大値
VPとして設定した後、処理をステップ380へ移行す
る。即ち、ECU41は最大値VPを更新するのであ
る。ノック信号レベルVADの値が最大値VP未満であ
る場合には、ECU41は処理をそのままステップ38
0へ移行する。
Further, in step 360, the ECU 4
1 determines whether the value of the knock signal level VAD exceeds the maximum value VP. If the value of the knock signal level VAD exceeds the maximum value VP, in step 370, E
The CU 41 sets the knock signal level VAD at that time as the maximum value VP, and then shifts the processing to step 380. That is, the ECU 41 updates the maximum value VP. If the value of the knock signal level VAD is less than the maximum value VP, the ECU 41 directly proceeds to step 38.
Move to 0.

【0046】ステップ380において、ECU41はノ
ッキング判定を終了するか否かを判断する。即ち、EC
U41はステップ300でセットされたタイマの計時結
果が終了時刻tEになったか否かを判断する。そして計
時結果が終了時刻tEに達していない場合には、ECU
41は処理をステップ320へ移行し、ステップ320
〜370の処理を再び実行する。計時結果が終了時刻t
Eに達した場合には、ECU41は処理をステップ39
0へ移行する。
At step 380, the ECU 41 determines whether or not the knocking determination is to be ended. That is, EC
U41 determines whether or not the timing result of the timer set in step 300 has reached the end time tE. If the time measurement result has not reached the end time tE, the ECU
41 shifts the processing to step 320, and step 320
The processes of ˜370 are executed again. Time measurement result is the end time t
If E is reached, the ECU 41 proceeds to step 39.
Move to 0.

【0047】ステップ390において、ECU41は次
回の処理でノッキング判定レベルVLを算出するために
用いるノック信号KCSのなまし値VMを以下の計算式
(3)に従って算出する。
In step 390, the ECU 41 calculates the smoothed value VM of the knock signal KCS used for calculating the knocking determination level VL in the next processing according to the following calculation formula (3).

【0048】 VM=(3*VM0+VMAD)/4 …(3) ここで、VM0は、前述したステップ220において既
にノッキング判定レベルVLを算出するのに用いられた
前回のなまし値である。
VM = (3 * VM0 + VMAD) / 4 (3) Here, VM0 is the previous smoothed value that was already used to calculate the knocking determination level VL in step 220 described above.

【0049】ステップ400において、ECU41は開
始時刻tSから終了時刻tEまでのノッキング判定区間
において、ステップ340でインクリメントされたカウ
ンタCxの値に応じてノッキング強度KCMを判定す
る。ここで、ECU41は上記カウンタCxの値が「1
以下」である場合にはノッキングが無いものと判定し、
同値が「2〜5」である場合にはノッキング強度KCM
が小さいものと判定する。更に、ECU41は、同値が
「6〜9」である場合にはノッキング強度KCMが中程
度であるものと判定し、同値が「10以上」である場合
にはノッキング強度KCMが大きいものと判定する。そ
の後、ステップ410において、ECU41は第1のカ
ンウタCxの値を「0」に初期化する。
In step 400, the ECU 41 determines the knocking strength KCM according to the value of the counter Cx incremented in step 340 in the knocking determination section from the start time tS to the end time tE. Here, the ECU 41 determines that the value of the counter Cx is “1.
If it is "or less", it is determined that there is no knocking,
If the same value is "2 to 5", knocking strength KCM
Is determined to be small. Further, the ECU 41 determines that the knocking strength KCM is medium when the same value is “6 to 9”, and determines that the knocking strength KCM is large when the same value is “10 or more”. . Then, in step 410, the ECU 41 initializes the value of the first counter Cx to “0”.

【0050】更に、ステップ420において、ECU4
1はノッキングが発生したか否か、即ちステップ400
におけるノッキング強度KCMの判定結果が「大・中・
小」の何れかであるか否かを判断する。そして、ノッキ
ングが発生している場合には、ノッキング制御による点
火時期の遅角制御を実行するものとして、ステップ43
0において、ECU41は第2のカウンタCKを「1」
だけインクリメントし、その後の処理を一旦終了する。
ノッキングが発生していない場合には、ノッキング制御
による点火時期の遅角制御を実行しないものとして、そ
のままその後の処理を一旦終了する。
Further, in step 420, the ECU 4
1 indicates whether knocking has occurred, that is, step 400
The determination result of the knocking strength KCM in "is large / medium /
It is determined whether or not it is "small". Then, if knocking has occurred, it is determined that the ignition timing retard control by the knocking control is executed, and step 43
At 0, the ECU 41 sets the second counter CK to "1".
Only, and the subsequent processing is once ended.
If knocking has not occurred, it is assumed that the ignition timing retard control by knocking control is not executed, and the subsequent processing is temporarily terminated.

【0051】図7,8は上記ステップ260において補
正値ΔKを学習更新するために実行される「補正値学習
更新ルーチン」を示す。先ずステップ500において、
ECU41は各気筒毎に本ルーチンの実行回数をカウン
トするための第3のカウンタCPの値を「1」だけイン
クリメントする。
7 and 8 show a "correction value learning update routine" executed to learn and update the correction value ΔK in step 260. First, in step 500,
The ECU 41 increments the value of the third counter CP for counting the number of executions of this routine for each cylinder by "1".

【0052】次に、ステップ510において、今回算出
されたノック信号KCSの最大値VPが各気筒毎に算出
されている中央値V50よりも大きいか否かを判断す
る。この中央値V50は最大値VPの度数分布における
50%の点に対応する値である。ここで、最大値VPが
中央値V50よりも大きい場合には、ECU41は処理
をステップ520へ移行し、最大値VPが中央値V50
未満である場合には、ECU41は処理をステップ54
0へ移行する。
Next, at step 510, it is judged if the maximum value VP of the knock signal KCS calculated this time is larger than the median value V50 calculated for each cylinder. This median value V50 is a value corresponding to the 50% point in the frequency distribution of the maximum value VP. Here, when the maximum value VP is larger than the median value V50, the ECU 41 shifts the processing to step 520, and the maximum value VP is the median value V50.
If less, the ECU 41 proceeds to step 54
Move to 0.

【0053】ステップ520において、ECU41は中
央値V50に後述する所定の設定値ΔV50を加算する
ことにより中央値V50を更新した後、処理をステップ
530へ移行する。
In step 520, the ECU 41 updates the median value V50 by adding a predetermined set value ΔV50 described later to the median value V50, and then shifts the processing to step 530.

【0054】一方、ステップ540において、ECU4
1は最大値VPが算出されている中央値V50よりも小
さいか否かを判断する。最大値VPが中央値V50より
も小さい場合には、ECU41はステップ550におい
て、中央値V50から設定値ΔV50を減算することに
より中央値V50を更新し、処理をステップ530へ移
行する。最大値VPが中央値V50よりも小さくない場
合には、ECU41は処理をそのままステップ530へ
移行する。
On the other hand, in step 540, the ECU 4
1 determines whether the maximum value VP is smaller than the calculated median value V50. When the maximum value VP is smaller than the median value V50, the ECU 41 updates the median value V50 by subtracting the set value ΔV50 from the median value V50 in step 550, and shifts the processing to step 530. If the maximum value VP is not smaller than the median value V50, the ECU 41 proceeds with the process to step 530.

【0055】ステップ530において、ECU41は次
回に中央値V50を更新するために使われるべき設定値
Δ50を以下の計算式(4)に従って算出する。 ΔV50=|VP−V50|/16 …(4) 上記ステップ510〜550では、最大値VPが中央値
V50よりも大きい場合には、中央値V50が設定値Δ
V50だけ増加し、最大値VPが中央値V50より小さ
い場合には、中央値V50が設定値ΔV50だけ減少す
る。これにより、中央値V50は常に最大値VPの累積
値に対して50%の大きさとなる。
In step 530, the ECU 41 calculates the set value Δ50 to be used next time to update the median value V50 according to the following calculation formula (4). ΔV50 = | VP−V50 | / 16 (4) In steps 510 to 550, when the maximum value VP is larger than the median value V50, the median value V50 is the set value Δ.
When the maximum value VP is increased by V50 and is smaller than the median value V50, the median value V50 is decreased by the set value ΔV50. As a result, the median value V50 is always 50% of the cumulative value of the maximum value VP.

【0056】次に、ステップ560において、ECU4
1はエンジン回転速度NEの値に基づいてノッキング音
調整用の目標係数Dを算出する。更に、ステップ570
において、ECU41は各気筒毎における最大値VPの
上限値VH及び下限値VLを以下の計算式(5),
(6)に従ってそれぞれ算出する。
Next, in step 560, the ECU 4
1 calculates a target coefficient D for knocking sound adjustment based on the value of the engine speed NE. Further, step 570
In the above, the ECU 41 calculates the upper limit value VH and the lower limit value VL of the maximum value VP for each cylinder by the following formula (5),
Calculate according to (6).

【0057】VH=(A+D)*V50 …(5) VL=V50/A …(6) ここで、「A」は、上限値VH及び下限値VLを設定す
るために使用される変数である。ECU41は変数Aを
後述する処理により所定時間毎に更新する。
VH = (A + D) * V50 (5) VL = V50 / A (6) Here, "A" is a variable used to set the upper limit value VH and the lower limit value VL. The ECU 41 updates the variable A every predetermined time by the process described later.

【0058】その後、ステップ580において、ECU
41は最大値VPが下限値VLを下回ったか否かを判断
する。そして、ECU41は、最大値VPが下限値VL
を下回っている場合に処理をステップ590へ移行し、
最大値VPが下限値VLを下回っていない場合に処理を
ステップ620へ移行する。
Then, in step 580, the ECU
41 determines whether the maximum value VP has fallen below the lower limit value VL. Then, the ECU 41 determines that the maximum value VP is the lower limit value VL.
If it is less than, the process proceeds to step 590,
If the maximum value VP is not below the lower limit value VL, the process proceeds to step 620.

【0059】ステップ590において、ECU41は最
大値VPの対数変化値の分布形状判定のために各気筒毎
に設定された第4のカウンタCHLの値を「1」だけデ
クリメントする。更に、ステップ600において、EC
U41は最大値VPが下限値VLを下回った回数をカウ
ントするために各気筒毎に設定された第5のカウンタC
Lの値を「1」だけインクリメントし、処理をステップ
610へ移行する。
In step 590, the ECU 41 decrements the value of the fourth counter CHL set for each cylinder by "1" for determining the distribution shape of the logarithmic change value of the maximum value VP. Further, in step 600, the EC
U41 is a fifth counter C set for each cylinder in order to count the number of times that the maximum value VP falls below the lower limit value VL.
The value of L is incremented by "1", and the process proceeds to step 610.

【0060】一方、ステップ620におい、ECU41
は最大値VPが上限値VHを超えたか否かを判断する。
そして、最大値VPが上限値VHを超えている場合に
は、ステップ630において、ECU41はカウンタC
HLの値を「1」だけインクリメントし、処理をステッ
プ610へ移行する。最大値VPが上限値VHを超えて
いない場合には、ECU41は処理をそのままステップ
610へ移行する。
On the other hand, in step 620, the ECU 41
Determines whether the maximum value VP exceeds the upper limit value VH.
If the maximum value VP exceeds the upper limit value VH, the ECU 41 determines in step 630 that the counter C
The value of HL is incremented by "1", and the process proceeds to step 610. If the maximum value VP does not exceed the upper limit value VH, the ECU 41 proceeds with the process to step 610.

【0061】ステップ610において、ECU41は次
回のノッキング判定区間において新たな最大値VPを算
出するために最大値VPを「0」に初期化する。続い
て、ステップ615において、ECU41は前回に補正
値ΔKを学習更新してから所定時間(例えば「0.7
秒」)だけ経過したか否かを判断する。所定時間経過し
ていない場合には、ECU41はそのままその後の処理
を一旦終了する。所定時間経過している場合には、EC
U41は処理をステップ640へ移行する。
In step 610, the ECU 41 initializes the maximum value VP to "0" in order to calculate a new maximum value VP in the next knocking determination section. Then, in step 615, the ECU 41 learns and updates the correction value ΔK the previous time, and then the ECU 41 receives a predetermined time (eg, “0.7
Seconds ”) has elapsed. If the predetermined time has not elapsed, the ECU 41 once ends the subsequent processing. If the specified time has passed, EC
U41 transfers the processing to step 640.

【0062】ステップ640において、ECU41はそ
の経過時間内にステップ500でインクリメントされる
第3のカウンタCPの値が所定値(例えば「16」)よ
りも大きいか否かを判断する。ここで、所定時間経過す
る間にECU41が上記ステップ500〜630を実行
した回数が少ないと、第4のカウンタCHLの値に基づ
いて最大値VPの対数変化値の分布形状を正確に判断す
ることができない。その結果、次のステップ650以降
の処理で補正値ΔKを誤った値に学習更新してしまうお
それがある。ステップ640はこのような場合に補正値
ΔKの学習更新を禁止するための処理である。従って、
このステップ640で第3のカウンタCPの値が所定値
未満である場合には、ECU41は処理をそのままステ
ップ740へ移行する。一方、ステップ640で第3の
カウンタCPの値が所定値よりも大きい場合には、EC
U41は処理をステップ650へ移行する。
At step 640, the ECU 41 determines whether or not the value of the third counter CP incremented at step 500 is greater than a predetermined value (for example, "16") within the elapsed time. Here, if the number of times that the ECU 41 executes the above steps 500 to 630 is small during the elapse of the predetermined time, the distribution shape of the logarithmic change value of the maximum value VP should be accurately determined based on the value of the fourth counter CHL. I can't. As a result, there is a risk that the correction value ΔK will be learned and updated to an erroneous value in the processing of step 650 and subsequent steps. Step 640 is a process for prohibiting the learning update of the correction value ΔK in such a case. Therefore,
When the value of the third counter CP is less than the predetermined value in this step 640, the ECU 41 directly shifts the processing to step 740. On the other hand, if the value of the third counter CP is larger than the predetermined value in step 640, EC
U41 shifts the processing to step 650.

【0063】ステップ650において、ECU41は第
4のカウンタCHLの値が正の値であるか否かを判断す
る。ここで、第4のカウンタCHLの値が正の値である
場合(即ち、最大値VPが上限値VHを超えた回数が下
限値VLを下回った回数よりも大きい場合)には、ノッ
キングの発生頻度が目標値よりも大きいものとして、E
CU41は処理をステップ660へ移行する。
In step 650, the ECU 41 determines whether or not the value of the fourth counter CHL is a positive value. Here, when the value of the fourth counter CHL is a positive value (that is, when the number of times the maximum value VP exceeds the upper limit value VH is greater than the number of times the lower limit value VL is below), knocking occurs. If the frequency is higher than the target value, E
The CU 41 shifts the processing to step 660.

【0064】ステップ660において、ECU41は第
2のカウンタCKの値が「1」以下であるか否かを判断
する。ここで、第2のカウンタCKの値が「1」以下で
ある場合には、ステップ670において、ECU41は
補正値ΔKから所定値βを減算することにより補正値Δ
Kを更新する。その後、ECU41は処理をステップ6
80へ移行する。第2のカウンタCKの値が「1」より
小さい場合には、ECU41はそのまま処理をステップ
680へ移行する。
In step 660, the ECU 41 determines whether or not the value of the second counter CK is "1" or less. Here, when the value of the second counter CK is equal to or less than “1”, in step 670, the ECU 41 subtracts the predetermined value β from the correction value ΔK to obtain the correction value Δ.
Update K. After that, the ECU 41 proceeds to step 6
Move to 80. When the value of the second counter CK is smaller than “1”, the ECU 41 directly shifts the processing to step 680.

【0065】つまり、ノッキングの発生頻度が目標値よ
りも大きいにも拘らず、第2のカウンタCKの値が
「1」以下で、所定時間経過する間にノッキング制御に
よる点火時期の遅角制御の実行回数が1回以下である場
合に、ノッキク判定レベルVLが過大であるものとし
て、ECU41は補正値ΔKを小さくするのである。
In other words, although the frequency of knocking is higher than the target value, the value of the second counter CK is "1" or less and the ignition timing retard control by the knocking control is performed during a predetermined time. When the number of times of execution is one or less, the ECU 41 decreases the correction value ΔK, assuming that the knock determination level VL is excessively large.

【0066】一方、ステップ650において、第4のカ
ウンタCHLの値が正の値でない場合には、ステップ6
90において、ECU41は第4のカウンタCHLの値
が負の値であるか否かを判断する。そして、第4のカウ
ンタCHLの値が負の値でない場合には、ECU41は
処理をそのままステップ680へ移行する。第4のカウ
ンタCHLの値が負の値である場合(即ち、最大値VP
が下限値VLを下回った回数が上限値VHを超えた回数
よりも大きい場合)には、ノッキングの発生頻度が目標
値よりも小さいものとして、ECU41は処理をステッ
プ700へ移行する。
On the other hand, in step 650, when the value of the fourth counter CHL is not a positive value, step 6
At 90, the ECU 41 determines whether or not the value of the fourth counter CHL is a negative value. Then, when the value of the fourth counter CHL is not a negative value, the ECU 41 directly shifts the processing to step 680. When the value of the fourth counter CHL is a negative value (that is, the maximum value VP
Is lower than the lower limit value VL and is higher than the upper limit value VH), it is determined that the knocking occurrence frequency is lower than the target value, and the ECU 41 shifts the processing to step 700.

【0067】ステップ700において、ECU41は第
2のカウンタCKの値が「1」を超えたか否かを判断す
る。ここで、第2のカウンタCKの値が「1」を超えた
場合には、ステップ710において、ECU41は補正
値ΔKに所定値βを加算することにより補正値ΔKを更
新する。その後、ECU41は処理をステップ680へ
移行する。第2のカウンタCKの値が「1」未満である
場合には、ECU41は処理をそのままステップ680
へ移行する。
At step 700, the ECU 41 determines whether or not the value of the second counter CK exceeds "1". Here, when the value of the second counter CK exceeds “1”, in step 710, the ECU 41 updates the correction value ΔK by adding the predetermined value β to the correction value ΔK. After that, the ECU 41 shifts the processing to step 680. If the value of the second counter CK is less than “1”, the ECU 41 directly proceeds to step 680.
Move to.

【0068】つまり、ノッキングの発生頻度が目標値よ
りも小さいにも拘らず、第2のカウンタCKの値が
「1」を超え、所定時間経過する間にノッキング制御に
よる点火時期の遅角制御が複数回実行されるような場合
には、ノッキング判定レベルVが過少であるものとし
て、ECU41は補正値ΔKを大きくするのである。
That is, although the frequency of knocking is lower than the target value, the ignition timing retard control by knocking control is performed while the value of the second counter CK exceeds "1" and a predetermined time elapses. When it is executed a plurality of times, the ECU 41 increases the correction value ΔK, assuming that the knocking determination level V is too low.

【0069】上記ステップ650〜710のルーチン
は、ノッキング判定レベルVLを算出するために使われ
る補正値ΔKを、最大値VPの分布形状が所望の形状に
なるように逐次更新するものであり、ノッキング判定レ
ベルVLをノッキング音が一定となるように補正するた
めのものである。
The routine of steps 650 to 710 is to successively update the correction value ΔK used for calculating the knocking determination level VL so that the distribution shape of the maximum value VP becomes a desired shape. This is for correcting the determination level VL so that the knocking sound becomes constant.

【0070】又、この実施例でECU41は、補正値Δ
Kをエンジン回転速度NEに応じて低速用、中速用及び
高速用の3種類の補正値ΔKL,ΔKM,ΔKHに設定
する。そのため、ステップ670又はステップ710で
は、ECU41は補正値ΔKを更新する際に3種類の補
正値ΔKL,ΔKM,ΔKHの中からエンジン回転速度
NEに応じた補正値ΔKを選択し、その値を更新する。
Further, in this embodiment, the ECU 41 determines that the correction value Δ
K is set to three types of correction values ΔKL, ΔKM, and ΔKH for low speed, medium speed, and high speed according to the engine rotation speed NE. Therefore, in step 670 or step 710, when updating the correction value ΔK, the ECU 41 selects the correction value ΔK according to the engine rotation speed NE from the three types of correction values ΔKL, ΔKM, ΔKH and updates the value. To do.

【0071】そして、ステップ680において、ECU
41はステップ600で最大値VPが下限値VLを下回
ったときにインクリメントされた第5のカウンタCLの
値が「0」か否かを判断する。そして、第5のカンウタ
CLの値が「0」である場合には、ステップ720にお
いて,ECU41は上限値VHを設定するために使われ
る変数Aから所定値γを減算することによりその変数A
を更新し、処理をステップ740へ移行する。第5のカ
ウンタCLの値が「0」でない場合には、ステップ73
0において、ECU41は変数Aに所定値γを加算する
ことによりその変数Aを更新し、処理をステップ740
へ移行する。
Then, in step 680, the ECU
Step 41 determines whether or not the value of the fifth counter CL incremented when the maximum value VP falls below the lower limit value VL in step 600 is "0". If the value of the fifth counter CL is "0", the ECU 41 subtracts the predetermined value γ from the variable A used to set the upper limit value VH in step 720.
Is updated, and the process proceeds to step 740. If the value of the fifth counter CL is not “0”, step 73
At 0, the ECU 41 updates the variable A by adding a predetermined value γ to the variable A, and the process proceeds to step 740.
Move to.

【0072】この処理により、変数Aの値は最大値VP
が下限値VLを下回る回数が「1」以下となるように逐
次更新される。そして、ステップ740において、EC
U41は所定時間が経過した後に、上記ステップ650
〜730において補正値ΔKを更新可能とするために、
その更新のために使われる各種カウンタCP,CHL,
CL,CKの値をそれぞれ「0」に初期化する。上記の
ようにノッキング判定レベルVLを補正するために使わ
れる補正値ΔK(ΔKL,ΔKM,ΔKH)が、エンジ
ン1の定常運転時に学習更新される。この実施例では、
最大値VPが上限値VHを超えた回数と下限値VLを下
回った回数との偏差(即ち第4のカウンタCHLの値)
に基づき、最大値VPの対数変換値の分布形状が所定形
状となるように、補正値ΔKが所定時間毎に更新され
る。そして、このように学習更新される補正値ΔKに
は、エンジン1及びノックセンサ36等の特性上のバラ
ツキやその経時変化等の変動要因が反映されることにな
る。
By this processing, the value of the variable A is the maximum value VP.
Is sequentially updated so that the number of times that is lower than the lower limit value VL is “1” or less. Then, in step 740, the EC
U41 performs the above step 650 after the predetermined time has elapsed.
In order to make it possible to update the correction value ΔK in ~ 730,
Various counters CP, CHL, used for updating
The values of CL and CK are initialized to "0". As described above, the correction value ΔK (ΔKL, ΔKM, ΔKH) used to correct the knocking determination level VL is learned and updated when the engine 1 is in steady operation. In this example,
Deviation between the number of times the maximum value VP exceeds the upper limit value VH and the number of times it falls below the lower limit value VL (that is, the value of the fourth counter CHL)
Based on the above, the correction value ΔK is updated every predetermined time so that the distribution shape of the logarithmic conversion value of the maximum value VP becomes a predetermined shape. Then, the correction value ΔK learned and updated in this manner reflects a variation factor such as a variation in the characteristics of the engine 1 and the knock sensor 36, its variation with time, and the like.

【0073】図9は前述した嵩上げ値VOSの算出を許
可又は禁止するフラグを設定するための「嵩上げフラグ
設定ルーチン」を示す。ECU41はこのルーチンを所
定時間毎に実行する。
FIG. 9 shows a "pad-up flag setting routine" for setting a flag for permitting or prohibiting the above-mentioned pad-up value VOS to be calculated. The ECU 41 executes this routine every predetermined time.

【0074】ECU41はこのルーチンを開始すると、
ステップ800において、各種センサ35,37の検出
信号に基づき各種パラメータTHW,NEの値をそれぞ
れ読み込む。併せて、ECU41はフェイルセーフのた
めの実行フラグXKFを読み込む。ECU41はこの実
行フラグXKFを別途の処理ルーチン(図示しない)に
従い設定する。即ち、ECU41は実行フラグXKF
を、ノックセンサ36に故障等がある場合に「1」に、
故障等がない場合に「0」に設定する。
When the ECU 41 starts this routine,
In step 800, the values of various parameters THW and NE are read based on the detection signals of the various sensors 35 and 37, respectively. At the same time, the ECU 41 reads the execution flag XKF for fail safe. The ECU 41 sets the execution flag XKF according to a separate processing routine (not shown). That is, the ECU 41 determines that the execution flag XKF
Is set to "1" when the knock sensor 36 has a failure,
Set to "0" when there is no failure.

【0075】次に、ステップ810において、ECU4
1はエンジン回転速度NEに係る前回の値と今回の値と
の間の変化値DNEの値を算出する。そして、ステップ
815において、ECU41はその変化値DNEの絶対
値が所定の基準値N1よりも大きいか否か、即ちエンジ
ン1が過渡運転状態にあるか否かを判断する。そして、
変化値DNEの絶対値が基準値N1未満である場合に
は、エンジン1が過渡運転状態にはないものとして、E
CU41は処理をステップ870へ移行する。変化値D
NEの絶対値が基準値N1よりも大きい場合には、エン
ジン1が過渡運転状態にあるものとして、ECU41は
処理をステップ820へ移行する。この実施例では、上
記ステップ810,815の処理を実行するECU41
が、本発明における運転状態判断手段を構成する。
Next, at step 810, the ECU 4
1 calculates the value of the change value DNE between the previous value and the current value of the engine speed NE. Then, in step 815, the ECU 41 determines whether or not the absolute value of the change value DNE is larger than a predetermined reference value N1, that is, whether or not the engine 1 is in a transient operation state. And
When the absolute value of the change value DNE is less than the reference value N1, it is determined that the engine 1 is not in the transient operation state, and E
The CU 41 shifts the processing to step 870. Change value D
When the absolute value of NE is larger than the reference value N1, it is determined that the engine 1 is in the transient operation state, and the ECU 41 shifts the processing to step 820. In this embodiment, the ECU 41 that executes the processing of steps 810 and 815 described above.
, Which constitutes the operating condition determining means in the present invention.

【0076】ステップ820において、ECU41は冷
却水温THWの値が所定の基準値(例えば「60℃」)
よりも大きいか否、即ちエンジン1が暖機状態にあるか
否かをかを判断する。そして、冷却水温THWの値が基
準値未満である場合には、エンジン1が暖機状態でない
ものとして、ECU41は処理をステップ870へ移行
する。冷却水温THWの値が基準値よりも大きい場合に
は、エンジン1が暖機状態にあるものとして、ECU4
1は処理をステップ830へ移行する。
In step 820, the ECU 41 determines that the value of the cooling water temperature THW is a predetermined reference value (eg, "60 ° C").
It is determined whether or not it is larger than that, that is, whether or not the engine 1 is in a warm-up state. Then, if the value of the cooling water temperature THW is less than the reference value, it is determined that the engine 1 is not in the warm-up state, and the ECU 41 shifts the processing to step 870. When the value of the cooling water temperature THW is larger than the reference value, it is determined that the engine 1 is warmed up, and the ECU 4
1 shifts the processing to step 830.

【0077】ステップ830において、ECU41は今
回の実行フラグXKFが「0」であるか否かを判断す
る。そして、同フラグXKFが「1」である場合、即ち
ノックセンサ36に故障等が有る場合には、ECU41
は処理をステップ870へ移行する。実行フラグXKF
が「0」である場合、即ちノックセンサ36に故障等が
無い場合には、ECU41は処理をステップ840へ移
行する。
At step 830, the ECU 41 determines whether or not the execution flag XKF this time is "0". When the flag XKF is "1", that is, when the knock sensor 36 has a failure or the like, the ECU 41
Shifts the processing to step 870. Execution flag XKF
Is 0, that is, when the knock sensor 36 has no failure or the like, the ECU 41 shifts the processing to step 840.

【0078】ステップ840において、ECU41は第
6のカウンタCKCを「1」だけインクリメントし、処
理をステップ850へ移行する。一方、ステップ81
5,820,830から移行してステップ870におい
て、ECU41はそのカウンタCKCを「0」に初期化
し、処理をステップ880へ移行する。
At step 840, the ECU 41 increments the sixth counter CKC by "1" and shifts the processing to step 850. On the other hand, step 81
In step 870 after shifting from 5, 820 and 830, the ECU 41 initializes the counter CKC to “0”, and shifts the processing to step 880.

【0079】つまり、上記ステップ815〜830に係
る全ての条件が成立している場合に、ECU41は第6
のカウンタCKCをインクリメントし、全ての条件が成
立していいない場合には、ECU41は同カウンタCK
Cを初期化するのである。
That is, when all the conditions relating to the above steps 815 to 830 are satisfied, the ECU 41 determines that the sixth
If the counter CKC is incremented and all the conditions are not satisfied, the ECU 41 determines that the counter CKC
Initialize C.

【0080】ステップ850において、ECU41は第
6のカウンタCKCの値が所定の基準値T1(例えば
「48ms」)以上であるか否かを判断する。そして、
第6のカウンタCKCの値が基準値T1よりも小さい場
合には、ECU41は処理をステップ880へ移行す
る。第6のカウンタCKCの値が基準値T1以上である
場合には、上記ステップ815〜830に係る全条件が
成立して基準値T1だけ時間が経過したか否かを判断す
る。そして、第6のカウンタCKCの値が基準値T1以
上である場合には、ステップ860において、ECU4
1は嵩上げ値VOSの算出を許可するために嵩上げフラ
グXKCを「1」に設定してRAM44に記憶し、その
後の処理を一旦終了する。第6のカウンタCKCの値が
基準値T1よりも小さい場合には、ECU41は処理を
ステップ880へ移行する。
In step 850, the ECU 41 determines whether or not the value of the sixth counter CKC is greater than or equal to a predetermined reference value T1 (eg "48 ms"). And
When the value of the sixth counter CKC is smaller than the reference value T1, the ECU 41 shifts the processing to step 880. When the value of the sixth counter CKC is greater than or equal to the reference value T1, it is determined whether all the conditions relating to steps 815 to 830 are satisfied and the reference value T1 has elapsed. Then, when the value of the sixth counter CKC is equal to or greater than the reference value T1, in step 860, the ECU 4
In the case of 1, the padding flag XKC is set to "1" to allow the padding value VOS to be calculated and stored in the RAM 44, and the subsequent processing is temporarily terminated. When the value of the sixth counter CKC is smaller than the reference value T1, the ECU 41 shifts the processing to step 880.

【0081】ステップ870,850から移行してステ
ップ880において、ECU41は嵩上げ値VOSの算
出を禁止するために、嵩上げフラグXKCを「0」に設
定してRAM44に記憶し、その後の処理を一旦終了す
る。
In step 880 after shifting from steps 870 and 850, the ECU 41 sets the padding flag XKC to "0" and stores it in the RAM 44 in order to prohibit the calculation of the padding value VOS, and thereafter ends the processing once. To do.

【0082】従って、このルーチンによれば、エンジン
1の過渡運転時で、エンジン1の暖機完了後であり、且
つノックセンサ36に故障等がない場合にのみ、ECU
41は嵩上げ値VOSの算出を許可するために嵩上げフ
ラグXKCを「1」に設定するのである。
Therefore, according to this routine, the ECU is executed only when the engine 1 is in the transient operation, after the engine 1 has been warmed up, and when the knock sensor 36 has no failure.
Reference numeral 41 sets the padding flag XKC to "1" in order to allow the padding value VOS to be calculated.

【0083】図10は上記の嵩上げフラグXKCを使っ
て実行される「嵩上げ値算出ルーチン」を示す。ECU
41はこのルーチンを所定時間毎に実行する。ECU4
1はこのルーチンを開始すると、ステップ900におい
て、設定済みの嵩上げフラグXKCの値をRAM44か
ら読み込む。次いで、ステップ905において、ECU
41はその嵩上げフラグXKCが「1」であるか否かを
判断する。
FIG. 10 shows a "padding value calculation routine" executed by using the padding flag XKC. ECU
41 executes this routine every predetermined time. ECU4
When the routine 1 starts this routine, in step 900, the value of the set padding flag XKC is read from the RAM 44. Then, in step 905, the ECU
41 determines whether or not the padding flag XKC is "1".

【0084】ステップ905において、嵩上げフラグX
KCが「0」である場合、即ち嵩上げ値VOSの算出が
禁止されている場合には、ECU41は処理をステップ
990へ移行する。ステップ990において、ECU4
1は嵩上げ値VOSを「0」に設定してその値をRAM
44に記憶した後、その後の処理を一旦終了する。
At step 905, the padding flag X is set.
When KC is “0”, that is, when the calculation of the padding value VOS is prohibited, the ECU 41 shifts the processing to step 990. In step 990, the ECU 4
1 sets the padding value VOS to "0" and sets the value in RAM
After storing in 44, the subsequent processing is once ended.

【0085】一方、ステップ905において、嵩上げフ
ラグXKCが「1」である場合、即ち嵩上げ値VOSの
算出が許可されている場合には、ECU41は処理をス
テップ910へ移行する。そして、ステップ910にお
いて、ECU41は図7,8のルーチンで既に学習更新
された各種補正値ΔKL,ΔKM,ΔKHをRAM44
からそれぞれ読み込む。
On the other hand, in step 905, when the padding flag XKC is "1", that is, when the padding value VOS is permitted to be calculated, the ECU 41 shifts the processing to step 910. Then, in step 910, the ECU 41 uses the RAM 44 to store the various correction values ΔKL, ΔKM, and ΔKH that have already been learned and updated in the routines of FIGS.
Read from each.

【0086】続いて、ステップ920において、ECU
41は低速用の補正値ΔKLが基準値Kpよりも大きい
か否かを判断する。ここで、補正値ΔKLが基準値Kp
未満である場合には、ECU41は処理をステップ95
0へ移行する。補正値ΔKLが基準値Kpよりも大きい
場合には、ECU41は処理をステップ930へ移行す
る。
Subsequently, in step 920, the ECU
Reference numeral 41 determines whether or not the correction value ΔKL for low speed is larger than the reference value Kp. Here, the correction value ΔKL is the reference value Kp
If less, the ECU 41 proceeds to step 95.
Move to 0. When the correction value ΔKL is larger than the reference value Kp, the ECU 41 shifts the processing to step 930.

【0087】ステップ930において、ECU41は中
速用の補正値ΔKMが基準値Kpよりも大きいか否かを
判断する。ここで、補正値ΔKMが基準値Kp未満であ
る場合には、ECU41は処理をステップ945へ移行
する。補正値ΔKMが基準値Kpよりも大きい場合に
は、ECU41は処理をステップ935へ移行する。
In step 930, the ECU 41 determines whether or not the medium speed correction value ΔKM is larger than the reference value Kp. Here, when the correction value ΔKM is less than the reference value Kp, the ECU 41 shifts the processing to step 945. When the correction value ΔKM is larger than the reference value Kp, the ECU 41 shifts the processing to step 935.

【0088】ステップ935において、ECU41は高
速用の補正値ΔKHが基準値Kpよりも大きいか否かを
判断する。ここで、補正値ΔKHが基準値Kp未満であ
る場合には、ECU41は処理をステップ945へ移行
する。補正値ΔKMが基準値Kpよりも大きい場合、即
ち全ての補正値ΔKL,ΔKM,ΔKHが基準値Kpよ
りも大きい場合には、エンジン1でノッキングの発生度
合が大きいことから、ECU41は処理をステップ94
0へ移行する。
At step 935, the ECU 41 determines whether or not the correction value ΔKH for high speed is larger than the reference value Kp. Here, when the correction value ΔKH is less than the reference value Kp, the ECU 41 shifts the processing to step 945. When the correction value ΔKM is larger than the reference value Kp, that is, when all the correction values ΔKL, ΔKM, and ΔKH are larger than the reference value Kp, the degree of knocking occurrence in the engine 1 is large, and the ECU 41 executes the process. 94
Move to 0.

【0089】そして、ステップ940において、ECU
41は所定の嵩上げ基準値VOSbに所定値VOSpを
加算することにより嵩上げ値VOSを算出し、その算出
結果をRAM44に記憶する。即ち、このステップ94
0でECU41は嵩上げ値VOSを増加させる。その
後、ECU41は処理を一旦終了する。
Then, in step 940, the ECU
Reference numeral 41 calculates the padding value VOS by adding the predetermined value VOSp to the predetermined padding reference value VOSb, and stores the calculation result in the RAM 44. That is, this step 94
At 0, the ECU 41 increases the padding value VOS. After that, the ECU 41 once ends the process.

【0090】ステップ930,935から移行してステ
ップ945において、ECU41は嵩上げ基準値VOS
bをそのまま嵩上げ値VOSとして設定し、その値をR
AM44に記憶する。その後、ECU41は処理を一旦
終了する。
At step 945 after shifting from steps 930 and 935, the ECU 41 determines the padding reference value VOS.
b is set as the raised value VOS as it is, and the value is set to R
Store in AM44. After that, the ECU 41 once ends the process.

【0091】一方、ステップ920からステップ950
へ移行した場合には、ECU41はステップ950〜9
70の判断を実行する。即ち、各ステップ950〜97
0において、ECU41は各補正値ΔKL,ΔKM,Δ
KHのそれぞれが所定の基準値Km(≠Kp)よりも小
さいか否かを判断する。
On the other hand, steps 920 to 950
When the process shifts to, the ECU 41 executes steps 950-9.
The judgment of 70 is executed. That is, each step 950-97
At 0, the ECU 41 determines that the correction values ΔKL, ΔKM, Δ
It is determined whether or not each KH is smaller than a predetermined reference value Km (≠ Kp).

【0092】そして、全てのステップ950〜970に
おいて、各補正値ΔKL,ΔKM,ΔKHが基準値Km
よりも小さい場合には、エンジン1でのノッキングの発
生度合が小さいことから、ECU41は処理をステップ
980へ移行する。そして、ステップ980において、
ECU41は所定の嵩上げ基準値VOSbから所定値V
OSmを減算することにより嵩上げ値VOSを算出し、
その算出結果をRAM44に記憶する。即ち、このステ
ップ980で、ECU41は嵩上げ値VOSを減少させ
る。その後、ECU41は処理を一旦終了する。
Then, in all steps 950 to 970, the correction values ΔKL, ΔKM, and ΔKH are set to the reference value Km.
If it is smaller than the above, the degree of occurrence of knocking in the engine 1 is small, so the ECU 41 shifts the processing to step 980. Then, in step 980,
The ECU 41 uses a predetermined reference value VOSb for raising the predetermined value V
Calculate the padding value VOS by subtracting OSm,
The calculation result is stored in the RAM 44. That is, in this step 980, the ECU 41 decreases the padding value VOS. After that, the ECU 41 once ends the process.

【0093】各ステップ950〜970において、各補
正値ΔKL,ΔKM,ΔKHが基準値Km以上である場
合には、ECU41は嵩上げ基準値VOSbをそのまま
嵩上げ値VOSとして設定し、その値をRAM44に記
憶する。その後、ECU41は処理を一旦終了する。
In each of steps 950 to 970, when the correction values ΔKL, ΔKM, ΔKH are equal to or larger than the reference value Km, the ECU 41 sets the raised reference value VOSb as the raised value VOS and stores the value in the RAM 44. To do. After that, the ECU 41 once ends the process.

【0094】従って、ECU41が上記のルーチンを実
行することにより、エンジン1の定常運転時に算出され
た各種補正値ΔKL,ΔKM,ΔKHに応じた嵩上げ値
VOSが求められる。この嵩上げ値VOSは正又は負の
値として求められる。そして、ECU41はこの嵩上げ
値VOSを、図5の「ノック判定処理ルーチン」でノッ
キング判定レベルVLを補正するために使う。この実施
例において、上記の「嵩上げ値算出ルーチン」を実行す
るECU41が本発明における補正値変更手段に相当す
る。
Therefore, the ECU 41 executes the above routine to obtain the padding value VOS corresponding to the various correction values ΔKL, ΔKM, ΔKH calculated during the steady operation of the engine 1. This raised value VOS is obtained as a positive or negative value. Then, the ECU 41 uses this raised value VOS to correct the knocking determination level VL in the "knock determination processing routine" of FIG. In this embodiment, the ECU 41 that executes the above-mentioned "paddling value calculation routine" corresponds to the correction value changing means in the present invention.

【0095】以上説明したように、この実施例のノッキ
ング制御装置によれば、ECU41はノックセンサ36
で検出されるノック信号KCSのA/D変換値、即ちノ
ック信号レベルVADをなまし処理(平均化処理)する
ことにより、なまし値VMを算出する。ECU41はエ
ンジン1の運転状態が定常運転状態(定速運転状態等)
であると判断したときに、ノッキング音を一定とするた
めに使用される補正値ΔKを学習更新する。この補正値
ΔKはノッキングの発生度合を反映したものである。更
に、ECU41はなまし値VM及び補正値ΔK等に基づ
いてノッキング判定レベルVLを算出する。ECU41
はそのノッキング判定レベルVLとノック信号レベルV
ADとを比較することにより、ノッキングの発生の有
無、即ちノッキング強度KCMを判定する。ECU41
はそのノッキング強度KCMに基づいてノッキング制御
のための補正値KCCを算出し、その補正値KCCに基
づいて目標点火時期ITを算出する。ECU41はその
目標点火時期ITに基づいてイグナイタ15を所要のタ
イミングで制御することにより、点火時期を遅角補正
し、ノッキングの発生を制御する。その意味で、ノッキ
ングの発生頻度や大きさを最小限に抑えながらエンジン
1の燃費や出力トルクを最大限に向上させることができ
る。
As described above, according to the knocking control device of this embodiment, the ECU 41 controls the knock sensor 36.
The A / D-converted value of the knock signal KCS detected in step 1, that is, the knock signal level VAD is smoothed (averaged) to calculate the smoothed value VM. The ECU 41 indicates that the operating state of the engine 1 is a steady operating state (such as a constant speed operating state)
When it is determined that, the correction value ΔK used for keeping the knocking sound constant is learned and updated. The correction value ΔK reflects the degree of knocking occurrence. Further, the ECU 41 calculates the knocking determination level VL based on the smoothed value VM and the correction value ΔK. ECU 41
Is the knocking determination level VL and the knock signal level V
The presence or absence of knocking, that is, the knocking strength KCM is determined by comparing with AD. ECU 41
Calculates a correction value KCC for knocking control based on the knocking strength KCM, and calculates a target ignition timing IT based on the correction value KCC. The ECU 41 retards the ignition timing by controlling the igniter 15 at a required timing based on the target ignition timing IT, and controls the occurrence of knocking. In that sense, the fuel consumption and output torque of the engine 1 can be maximized while minimizing the frequency and magnitude of knocking.

【0096】この実施例では、ノック信号レベルVAD
をなまし処理していることから、ノック信号KCSに多
少のノイズが含まれていてもそのノイズの影響をノッキ
ング強度KCMの判定から排除することができる。この
利点は、エンジン1の定常運転時に特に有効である。
In this embodiment, the knock signal level VAD
Therefore, even if the knock signal KCS contains some noise, the influence of the noise can be excluded from the determination of the knocking intensity KCM. This advantage is particularly effective during steady operation of the engine 1.

【0097】しかし、ノック信号レベルVADをなまし
処理することは、エンジン1の過渡運転時、即ち加速運
転時又は減速運転時に、ノッキング判定レベルVL等の
算出遅れ、延いてはノッキング強度KCMの判定遅れを
招くおそれがある。
However, the knock signal level VAD is smoothed by determining the knocking determination level VL and the like when the engine 1 is in transient operation, that is, during acceleration operation or deceleration operation. May cause delays.

【0098】そこで、この実施例では、上記のなまし処
理に起因したノッキング判定レベルVL等の算出遅れを
補正する。即ち、ECU41はエンジン1が過渡運転状
態であると判断したときに、ノッキング判定レベルVL
に所要量の嵩上げ値VOSを加算する。しかも、ECU
41はその嵩上げ値VOSの大きさを、エンジン1の定
常運転時に学習更新され、ノッキングの発生度合を反映
した補正値ΔKに基づき変更する。この嵩上げ値VOS
には、エンジン1及びノックセンサ36等の特性上のバ
ラツキやその経時変化等の変動要因が反映されることに
なる。そのため、過渡運転時に補正されるノッキング判
定レベルVLにも上記の変動要因が反映されることにな
る。
Therefore, in this embodiment, the delay in calculation of the knocking determination level VL and the like caused by the above-described smoothing processing is corrected. That is, when the ECU 41 determines that the engine 1 is in the transient operation state, the ECU 41 determines the knocking determination level VL.
Is added to the required amount of padding value VOS. Moreover, the ECU
Reference numeral 41 changes the magnitude of the padding value VOS based on the correction value ΔK which is learned and updated during the steady operation of the engine 1 and reflects the degree of knocking occurrence. This raised value VOS
In this case, variation factors such as variations in the characteristics of the engine 1 and the knock sensor 36 and changes with time thereof are reflected. Therefore, the above-described variation factor is also reflected in the knocking determination level VL corrected during the transient operation.

【0099】従って、この実施例では、エンジン1の過
渡運転時にノッキング判定レベルVLに係る過不足が嵩
上げ値VOSにより補正されることから、ノック信号レ
ベルVADのなまし処理に起因した算出遅れに拘らず、
同判定レベルVLが適正に求められる。更に、上記嵩上
げ値VOSがエンジン1及びノックセンサ36等の変動
要因を反映して変更されることから、過渡運転時にはノ
ッキング判定レベルVLにも上記変動要因の違いが適正
に反映されることになる。その結果、エンジン1の過渡
運転時にも、ノッキングの発生頻度や大きさを最小限に
抑えながらエンジン1の燃費や出力トルクを最大限に向
上させることができ、そのことをエンジン1やノックセ
ンサ36等の特性上のバラツキやその経時変化等の変動
要因に拘らず達成することができる。
Therefore, in this embodiment, since the excess or deficiency related to the knocking determination level VL is corrected by the padding value VOS during the transient operation of the engine 1, the calculation delay due to the moderation process of the knock signal level VAD is concerned. No
The determination level VL is properly obtained. Further, since the padding value VOS is changed by reflecting the variation factors such as the engine 1 and the knock sensor 36, the difference in the variation factors is properly reflected in the knocking determination level VL during the transient operation. . As a result, even during transient operation of the engine 1, it is possible to maximize the fuel consumption and output torque of the engine 1 while minimizing the frequency and magnitude of knocking. It can be achieved regardless of variation factors such as variations in characteristics and changes over time.

【0100】特に、この実施例では、定常運転時に学習
更新される補正値ΔKを、エンジン1やノックセンサ3
6等の変動要因を反映したノッキングの発生のし易さ示
すパラメータとして使っている。そのため、同様のパラ
メータを過渡運転時に求めて使用するような場合と比べ
て、この実施例では、エンジン1やノックセンサ36等
の特性上のバラツキやその経時変化を、嵩上げ値VO
S、延いてはノッキング判定レベルVLに対して適正に
反映させることができる。その意味で、過渡運転時にお
けるノッキング制御をより最適なものにすることができ
る。
Particularly, in this embodiment, the correction value ΔK learned and updated during the steady operation is set to the engine 1 and the knock sensor 3.
It is used as a parameter indicating the ease of occurrence of knocking reflecting factors such as 6. Therefore, as compared with the case where similar parameters are obtained and used during transient operation, in this embodiment, variations in the characteristics of the engine 1, the knock sensor 36, and the like and their changes over time are increased.
S, and by extension, can be reflected appropriately on the knocking determination level VL. In that sense, the knocking control during the transient operation can be optimized.

【0101】又、この実施例では、エンジン1の過渡運
転時のみならず定常運転時にも、ノッキング制御のため
に使われるノッキング判定レベルVLが、補正値ΔKに
より補正される。このため、ノッキング判定レベルVL
を目標のノッキング発生頻度に応じて設定することがで
きる。その結果、ノッキング制御をエンジン1やノック
センサ36等の特性上のバラツキやその経時変化に拘ら
ず、常に安定して実行することができる。
Further, in this embodiment, the knocking determination level VL used for knocking control is corrected by the correction value ΔK not only during transient operation of the engine 1 but also during steady operation. Therefore, the knocking determination level VL
Can be set according to the target knocking occurrence frequency. As a result, the knocking control can always be stably executed regardless of variations in the characteristics of the engine 1, the knock sensor 36, and the like and changes over time.

【0102】更に、この実施例では、上限値VH及び下
限値VLを設定するために使われる変数Aが、所定時間
内において最大値VPが下限値VLを下回る回数が所定
回数(本実施例では「1」以下)となるように所定時間
毎に更新される。更に、上限値VHを設定するための目
標ノッキング音調整用の係数Dは、エンジン回転速度N
Eが高くなるほど小さい値に設定される。このため、補
正値ΔK、延いてはノッキング判定レベルVLをエンジ
ン回転速度NEが高くなるほど小さくなるように設定し
て、人間が感じるノッキング音をエンジン回転速度NE
の大きさに拘らず常に一定に制御することができる。
Further, in this embodiment, the variable A used for setting the upper limit value VH and the lower limit value VL is the predetermined number of times (in the present embodiment, the maximum value VP falls below the lower limit value VL) within a predetermined time. It is updated every predetermined time so that it becomes "1" or less). Further, the coefficient D for adjusting the target knocking sound for setting the upper limit value VH is the engine speed N
The higher E is, the smaller the value is set. Therefore, the correction value ΔK, and further the knocking determination level VL, are set to be smaller as the engine speed NE becomes higher, and the knocking sound felt by a human is changed to the engine speed NE.
It is possible to control it constantly regardless of the size of the.

【0103】(第2実施例)次に、この発明における内
燃機関のノッキング制御装置を自動車に具体化した第2
実施例を図11〜図14に従って説明する。尚、この実
施例において、前記第1実施例と同一の構成については
同一の符号を付して説明を省略し、異なった点を中心に
説明する。
(Second Embodiment) Next, a second embodiment in which the knocking control device for an internal combustion engine according to the present invention is embodied in an automobile.
An embodiment will be described with reference to FIGS. In this embodiment, the same components as those in the first embodiment will be designated by the same reference numerals and the description thereof will be omitted. Differences will be mainly described.

【0104】この実施例では「嵩上げ値算出ルーチン」
の処理内容の点で前記第1実施例のそれと異なり、それ
以外の点では同じである。図11,12はこの実施例に
おける「嵩上げ値算出ルーチン」を示し、ECU41は
このルーチンを所定時間毎に実行する。
In this embodiment, the "padding value calculation routine"
The processing contents of No. 1 are different from those of the first embodiment, and the other points are the same. 11 and 12 show a "paddling value calculation routine" in this embodiment, and the ECU 41 executes this routine at predetermined time intervals.

【0105】ECU41はこのルーチンを開始すると、
ステップ1000において、設定済みの嵩上げフラグX
KCの値をRAM44から読み込む。次いで、ステップ
1010において、ECU41はその嵩上げフラグXK
Cが「1」であるか否かを判断する。
When the ECU 41 starts this routine,
In step 1000, the set padding flag X has been set.
The value of KC is read from the RAM 44. Next, at step 1010, the ECU 41 sets the padding flag XK.
It is determined whether C is "1".

【0106】ステップ1010において、嵩上げフラグ
XKCが「0」である場合、即ち嵩上げ値VOSの算出
が禁止されている場合には、ECU41は処理をステッ
プ1300へ移行する。そして、ステップ1300にお
いて、ECU41は嵩上げ値VOSを「0」に設定して
その値をRAM44に記憶した後、その後の処理を一旦
終了する。
At step 1010, if the padding flag XKC is "0", that is, if the padding value VOS is prohibited from being calculated, the ECU 41 shifts the processing to step 1300. Then, in step 1300, the ECU 41 sets the padding value VOS to "0", stores the value in the RAM 44, and then temporarily terminates the subsequent processing.

【0107】一方、ステップ1010において、嵩上げ
フラグXKCが「1」である場合、即ち嵩上げ値VOS
の算出が許可されている場合には、ECU41は処理を
ステップ1020へ移行する。そして、ステップ102
0において、ECU41は図7,8のルーチンで既に学
習更新された各種補正値ΔKL,ΔKM,ΔKをRAM
44からそれぞれ読み込む。
On the other hand, in step 1010, when the padding flag XKC is "1", that is, the padding value VOS.
If the calculation of is allowed, the ECU 41 shifts the processing to step 1020. And step 102
At 0, the ECU 41 RAMs the various correction values ΔKL, ΔKM, ΔK that have already been learned and updated in the routines of FIGS.
Each is read from 44.

【0108】続いて、ステップ1030において、EC
U41は低速用の補正値ΔKLが中速用の補正値ΔKM
よりも大きいか否かを判断する。補正値ΔKLが補正値
ΔKM未満である場合には、ECU41は処理をステッ
プ1040へ移行する。補正値ΔKLが補正値ΔKMよ
りも大きい場合には、ECU41は処理をステップ10
50へ移行する。
Subsequently, in step 1030, the EC
In U41, the correction value ΔKL for low speed is the correction value ΔKM for medium speed.
Is greater than or equal to. If the correction value ΔKL is less than the correction value ΔKM, the ECU 41 shifts the processing to step 1040. If the correction value ΔKL is larger than the correction value ΔKM, the ECU 41 executes the process in step 10.
Move to 50.

【0109】ステップ1040において、ECU41は
中速用の補正値ΔKMが高速用の補正値ΔKHよりも大
きいか否かを判断する。補正値ΔKMが補正値ΔKHよ
りも大きい場合には、ECU41はステップ1080に
おいて、中速用の補正値ΔKMを最大補正値ΔKmax
として設定し、処理をステップ1090へ移行する。補
正値ΔKMが補正値ΔKH未満である場合には、ECU
41は処理をステップ1070へ移行する。
In step 1040, the ECU 41 determines whether or not the medium speed correction value ΔKM is larger than the high speed correction value ΔKH. If the correction value ΔKM is larger than the correction value ΔKH, the ECU 41 determines in step 1080 that the correction value ΔKM for medium speed is the maximum correction value ΔKmax.
Then, the process proceeds to step 1090. If the correction value ΔKM is less than the correction value ΔKH, the ECU
41 shifts the processing to step 1070.

【0110】一方、ステップ1050において、ECU
41は低速用の補正値ΔKLが高速用の補正値ΔKHよ
りも大きいか否かを判断する。補正値ΔKLが補正値Δ
KHよりも大きい場合には、ECU41はステップ10
60において、低速用の補正値ΔKLを最大補正値ΔK
maxとして設定し、処理をステップ1090へ移行す
る。補正値ΔKMが補正値ΔKH未満である場合には、
ECU41は処理をステップ1070へ移行する。ステ
ップ1050又はステップ1040から移行してステッ
プ1070において、ECU41は高速用の補正値ΔK
Hを最大補正値ΔKmaxとして設定し、処理をステッ
プ1090へ移行する。
On the other hand, in step 1050, the ECU
Reference numeral 41 determines whether or not the correction value ΔKL for low speed is larger than the correction value ΔKH for high speed. The correction value ΔKL is the correction value Δ
If it is larger than KH, the ECU 41 executes step 10
At 60, the correction value ΔKL for low speed is set to the maximum correction value ΔK.
It is set as max, and the process proceeds to step 1090. If the correction value ΔKM is less than the correction value ΔKH,
The ECU 41 shifts the processing to step 1070. In step 1070 after shifting from step 1050 or step 1040, the ECU 41 controls the correction value ΔK for high speed.
H is set as the maximum correction value ΔKmax, and the process proceeds to step 1090.

【0111】即ち、上記ステップ1030〜1080の
ルーチンでは、各種補正値ΔKL,ΔKM,ΔKHの中
で最も大きい値を最大補正値ΔKmaxとして設定する
のである。
That is, in the routine of steps 1030 to 1080, the largest value among the various correction values ΔKL, ΔKM, and ΔKH is set as the maximum correction value ΔKmax.

【0112】ステップ1090において、ECU41は
低速用の補正値ΔKLが中速用の補正値ΔKMよりも小
さいか否かを判断する。補正値ΔKLが補正値ΔKM以
上である場合には、ECU41は処理をステップ110
0へ移行する。補正値ΔKLが補正値ΔKMよりも小さ
い場合には、ECU41は処理をステップ1110へ移
行する。
In step 1090, the ECU 41 determines whether the correction value ΔKL for low speed is smaller than the correction value ΔKM for medium speed. If the correction value ΔKL is greater than or equal to the correction value ΔKM, the ECU 41 proceeds to step 110.
Move to 0. When the correction value ΔKL is smaller than the correction value ΔKM, the ECU 41 shifts the processing to step 1110.

【0113】ステップ1100において、ECU41は
中速用の補正値ΔKMが高速用の補正値ΔKHよりも小
さいか否かを判断する。補正値ΔKMが補正値ΔKHよ
りも小さい場合には、ECU41はステップ1140に
おいて、中速用の補正値ΔKMを最小補正値ΔKmin
として設定し、処理をステップ1150へ移行する。補
正値ΔKMが補正値ΔKH以上である場合には、ECU
41は処理をステップ1130へ移行する。
In step 1100, the ECU 41 determines whether or not the medium speed correction value ΔKM is smaller than the high speed correction value ΔKH. When the correction value ΔKM is smaller than the correction value ΔKH, the ECU 41 determines in step 1140 that the correction value ΔKM for the medium speed is the minimum correction value ΔKmin.
Then, the process proceeds to step 1150. If the correction value ΔKM is greater than or equal to the correction value ΔKH, the ECU
41 shifts the processing to step 1130.

【0114】一方、ステップ1110において、ECU
41は低速用の補正値ΔKLが高速用の補正値ΔKHよ
りも小さいか否かを判断する。補正値ΔKLが補正値Δ
KHよりも小さい場合には、ECU41はステップ11
20において、低速用の補正値ΔKLを最小補正値ΔK
minとして設定し、処理をステップ1150へ移行す
る。補正値ΔKMが補正値ΔKH以上である場合には、
ECU41は処理をステップ1130へ移行する。ステ
ップ1110又はステップ1100から移行してステッ
プ1130において、ECU41は高速用の補正値ΔK
Hを最小補正値ΔKminとして設定し、処理をステッ
プ1150へ移行する。
On the other hand, in step 1110, the ECU
Reference numeral 41 determines whether or not the correction value ΔKL for low speed is smaller than the correction value ΔKH for high speed. The correction value ΔKL is the correction value Δ
If it is smaller than KH, the ECU 41 executes step 11
20, the correction value ΔKL for low speed is set to the minimum correction value ΔK.
It is set as min, and the process proceeds to step 1150. When the correction value ΔKM is greater than or equal to the correction value ΔKH,
The ECU 41 shifts the processing to step 1130. In step 1130 after shifting from step 1110 or step 1100, the ECU 41 determines the correction value ΔK for high speed.
H is set as the minimum correction value ΔKmin, and the process proceeds to step 1150.

【0115】即ち、上記ステップ1090〜1140の
ルーチンでは、各種補正値ΔKL,ΔKM,ΔKHの中
で最も小さい値を最小補正値ΔKminとして設定する
のである。
That is, in the routine of steps 1090 to 1140, the smallest value among the various correction values ΔKL, ΔKM and ΔKH is set as the minimum correction value ΔKmin.

【0116】そして、ステップ1150において、EC
U41は今回設定された最大補正値ΔKmaxが負の値
であるか否かを判断する。最大補正値ΔKmaxが負の
値である場合には、各補正値ΔKL,ΔKM,ΔKHは
全て負の値となることから、嵩上げ値VOSを小さく補
正する必要がある。そこで、この場合には、ステップ1
160において、ECU41は嵩上げ値VOSを算出す
るために使用される所定値VOSmを最大補正値ΔKm
axに基づいて算出する。ROM43は負の値の最大補
正値ΔKmaxに応じた負の値の所定値VOSmに係る
関数データを予め記憶している。その関数データを図1
3に示す。ECU41はこの関数データを用いることに
より、所定値VOSmを算出する。
Then, in step 1150, the EC
U41 determines whether or not the maximum correction value ΔKmax set this time is a negative value. When the maximum correction value ΔKmax is a negative value, the correction values ΔKL, ΔKM, and ΔKH are all negative values, so it is necessary to correct the padding value VOS to a small value. So, in this case, step 1
In 160, the ECU 41 sets the predetermined correction value VOSm used for calculating the padding value VOS to the maximum correction value ΔKm.
It is calculated based on ax. The ROM 43 stores in advance the function data relating to the predetermined negative value VOSm corresponding to the negative maximum correction value ΔKmax. Figure 1 shows the function data
3 shows. The ECU 41 calculates the predetermined value VOSm by using this function data.

【0117】その後、ステップ1170において、EC
U41は所定の嵩上げ基準値VOSbに負の値の所定値
VOSmを加算することにより嵩上げ値VOSを算出
し、その算出結果をRAM44に記憶する。即ち、この
ステップ1170でECU41は嵩上げ値VOSを減少
させる。その後、ECU41は処理を一旦終了する。
Then, in step 1170, the EC
U41 calculates the padding value VOS by adding a predetermined negative value VOSm to the padding reference value VOSb, and stores the calculation result in the RAM 44. That is, in this step 1170, the ECU 41 decreases the padding value VOS. After that, the ECU 41 once ends the process.

【0118】一方、ステップ1150において、最大補
正値ΔKmaxが負の値でない場合には、ECU41は
処理をステップ1180へ移行する。ステップ1180
において、ECU41は今回設定された最小補正値ΔK
minが正の値であるか否かを判断する。ここで、最小
補正値ΔKminが正の値である場合に、各補正値ΔK
L,ΔKM,ΔKHは全て正の値となることから、嵩上
げ値VOSを大きく補正する必要がある。そこで、この
場合には、ステップ1190において、ECU41は嵩
上げ値VOSを算出するために使用される所定値VOS
pを最小補正値ΔKminに基づいて算出する。ROM
43は正の値の最小補正値ΔKminに応じた正の値の
所定値VOSpに係る関数データを予め記憶している。
その関数データを図14に示す。ECU41はこの関数
データを用いることにより、所定値VOSpを算出す
る。
On the other hand, when the maximum correction value ΔKmax is not a negative value in step 1150, the ECU 41 shifts the processing to step 1180. Step 1180
In, the ECU 41 determines that the minimum correction value ΔK set this time
It is determined whether min is a positive value. Here, when the minimum correction value ΔKmin is a positive value, each correction value ΔK
Since L, ΔKM, and ΔKH are all positive values, it is necessary to largely correct the padding value VOS. Therefore, in this case, in step 1190, the ECU 41 determines the predetermined value VOS used to calculate the padding value VOS.
p is calculated based on the minimum correction value ΔKmin. ROM
Reference numeral 43 stores in advance the function data relating to the predetermined positive value VOSp corresponding to the positive minimum correction value ΔKmin.
The function data is shown in FIG. The ECU 41 calculates the predetermined value VOSp by using this function data.

【0119】その後、ステップ1200において、EC
U41は所定の嵩上げ基準値VOSbに正の値の所定値
VOSpを加算することにより嵩上げ値VOSを算出
し、その算出結果をRAM44に記憶する。即ち、この
ステップ1200でECU41は嵩上げ値VOSを増大
させる。その後、ECU41は処理を一旦終了する。
Then, in step 1200, the EC
The U41 calculates the padding value VOS by adding the positive padding value VOSp to the padding reference value VOSb, and stores the calculation result in the RAM 44. That is, in this step 1200, the ECU 41 increases the padding value VOS. After that, the ECU 41 once ends the process.

【0120】一方、ステップ1180において、最小補
正値ΔKminが正の値でない場合には、ECU41は
処理をステップ1210へ移行する。そして、ステップ
1210において、ECU41は所定の嵩上げ基準値V
OSbをそのまま嵩上げ値VOSとして設定してRAM
44に記憶し、その後の処理を一旦終了する。
On the other hand, when the minimum correction value ΔKmin is not a positive value in step 1180, the ECU 41 shifts the processing to step 1210. Then, in step 1210, the ECU 41 determines that the predetermined padding reference value V
RAM is set as OSb as the raised value VOS
The data is stored in 44, and the subsequent processing is once ended.

【0121】つまり、この実施例で、ECU41は嵩上
げ値VOSを補正値ΔK(ΔKL,ΔKM,ΔKH)の
大きさに応じて変更するために使用される所定値VOS
m,VOSpを、エンジン回転速度NEの大きさに応じ
た各補正値ΔKL,ΔKM,ΔKHの変動の程度に応じ
て変える。
That is, in this embodiment, the ECU 41 changes the padding value VOS according to the magnitude of the correction value ΔK (ΔKL, ΔKM, ΔKH), which is a predetermined value VOS.
m and VOSp are changed according to the degree of fluctuation of the correction values ΔKL, ΔKM, and ΔKH according to the magnitude of the engine speed NE.

【0122】従って、この実施例によれば、エンジン1
の運転に際して、ノッキングを発生させ易いエンジン回
転速度NEの領域、即ち低速域、中速域又は高速域に応
じた嵩上げ値VOSが得られる。そして、エンジン1の
過渡運転時には、その嵩上げ値VOSに基づいてノッキ
ング判定レベルVLが補正される。その結果、エンジン
1の過渡運転時には、その時点のエンジン回転速度NE
の大きさに合わせて、ノッキングの発生頻度や大きさを
最小限に抑えながらエンジン1の燃費や出力トルクを最
大限に向上させることができ、そのことをエンジン1や
ノックセンサ36等の特性上のバラツキやその経時変化
等の変動要因に拘らず達成することができる。
Therefore, according to this embodiment, the engine 1
At the time of driving, the padding value VOS corresponding to the region of the engine rotation speed NE where knocking is likely to occur, that is, the low speed region, the medium speed region, or the high speed region is obtained. Then, during the transient operation of the engine 1, the knocking determination level VL is corrected based on the raised value VOS. As a result, during transient operation of the engine 1, the engine speed NE at that time is
According to the characteristics of the engine 1, the knock sensor 36, etc., the fuel consumption and the output torque of the engine 1 can be maximized while minimizing the frequency and magnitude of knocking. Can be achieved regardless of fluctuation factors such as the variation of the above and its change with time.

【0123】尚、この発明は次の別の実施例に具体化す
ることもできる。以下の別の実施例でも、前記実施例と
同等の作用及び効果を得ることができる。 (1)前記各実施例では、エンジン回転速度NEに関す
る変化値DNEに基づいてエンジン1が過渡運転状態で
あるか否かを判断した。これに対し、スロットル開度T
Aの変化量や変化率、或いは吸入空気量Qの変化量や変
化率等に基づいてエンジン1が過渡運転状態であるか否
かを判断することもできる。
The present invention can be embodied in the following other embodiments. Also in the following other embodiments, the same operations and effects as the above-mentioned embodiments can be obtained. (1) In each of the above-described embodiments, it is determined whether or not the engine 1 is in the transient operation state based on the change value DNE regarding the engine rotation speed NE. On the other hand, the throttle opening T
It is also possible to determine whether or not the engine 1 is in the transient operation state based on the change amount and change rate of A or the change amount and change rate of the intake air amount Q.

【0124】(2)前記各実施例では、各点火プラグ7
及びイグナイタ15をノッキングを制御するためのノッ
キング調整手段として設けた。これに対し、過給圧を調
整するための過給機、EGR量を調整するためのEGR
装置等をノッキングを制御するためのノッキング調整手
段として設けることもできる。或いは、インジェクタを
ノッキング調整手段として設け、そのインジェクタより
噴射される燃料量を補正するようにしてもよい。
(2) In each of the above embodiments, each spark plug 7
Also, the igniter 15 is provided as a knocking adjustment means for controlling knocking. On the other hand, a supercharger for adjusting the supercharging pressure and an EGR for adjusting the EGR amount
A device or the like may be provided as knocking adjustment means for controlling knocking. Alternatively, an injector may be provided as the knocking adjustment means to correct the amount of fuel injected from the injector.

【0125】(3)前記各実施例では、エアフローメー
タ32により吸入空気量Qを検出して燃料噴射量制御を
実行するようにしたL−J方式のエンジンシステムに具
体化した。これに対し、吸気通路の圧力を圧力センサに
より検出して燃料噴射量を制御するようにしたD−J方
式のエンジンシステムに具体化することもできる。
(3) In each of the above embodiments, the LJ engine system is embodied in which the intake air amount Q is detected by the air flow meter 32 and the fuel injection amount control is executed. On the other hand, it is also possible to embody a DJ engine system in which the pressure in the intake passage is detected by a pressure sensor to control the fuel injection amount.

【0126】更に、上記各実施例には、特許請求の範囲
に記載した技術的思想に係る次のような各種の実施態様
が含まれることを以下にその効果と共に記載する。 (イ)請求項1に記載の発明において、前記発生度合算
出手段では機関回転速度の大きさ別にノッキングの発生
度合を算出し、補正値変更手段では、算出されたノッキ
ングの発生度合に基づいて機関回転速度の大きさ別に前
記補正値を変更するように構成した内燃機関のノッキン
グ制御装置。
Further, it will be described below together with the effect that each of the above-described embodiments includes the following various embodiments according to the technical idea described in the claims. (A) In the invention according to claim 1, the occurrence degree calculating means calculates the degree of knocking occurrence for each magnitude of the engine rotation speed, and the correction value changing means calculates the engine based on the calculated degree of knocking occurrence. A knocking control device for an internal combustion engine configured to change the correction value according to the magnitude of the rotation speed.

【0127】この構成によれば、内燃機関の過渡運転時
に、その時点の機関回転速度の大きさに合わせて、ノッ
キングの発生頻度や大きさを最小限に抑えながら内燃機
関の燃費や出力トルクを最大限に向上させることがで
き、そのことを内燃機関やノック検出手段等の特性上の
バラツキやその経時変化等の変動要因に拘らず達成する
ことができる。
According to this structure, during the transient operation of the internal combustion engine, the fuel consumption and output torque of the internal combustion engine are controlled in accordance with the magnitude of the engine rotation speed at that time while minimizing the occurrence frequency and magnitude of knocking. It can be improved to the maximum extent, and this can be achieved regardless of variation factors such as variations in characteristics of the internal combustion engine, knock detection means, etc., and changes with time.

【0128】尚、この明細書で発明の構成に係る用語等
を以下のように定義する。 (a)ノッキングとは、気筒内のエンドガスの自己着火
により発生した圧力波がシリンダ内で引き起こす気柱振
動を意味する。これに起因して「カリカリ」という音が
エンジンから聞こえる。点火時期を進角させたり、気筒
内の圧縮比を上げたり、過給機を備えたエンジンでは、
全負荷付近で気筒内の圧縮圧力が高くなり、ノッキング
が発生し易くなる。一般に、微弱なノッキング(トレー
スノック)はエンジンの燃費や出力を共に増大させる効
果がある。
In this specification, terms and the like relating to the constitution of the invention are defined as follows. (A) Knocking means air column vibration caused in a cylinder by a pressure wave generated by self-ignition of end gas in the cylinder. Due to this, a “crispy” sound is heard from the engine. In the engine equipped with a supercharger, which advances the ignition timing, raises the compression ratio in the cylinder,
The compression pressure in the cylinder becomes high near the full load, and knocking easily occurs. In general, weak knocking (trace knocking) has the effect of increasing both fuel consumption and output of the engine.

【0129】(b)ノッキング制御とは、ノックセンサ
等によりノッキングを検出し、微小なノッキング状態又
はノッキング発生の直前の状態でエンジンの運転を制御
することを意味する。一般的には、応答性の良い点火時
期制御が用いられ、ノッキングの発生を検出(判定)し
たときに点火時期を遅角させ、ノッキングの発生を検出
(判定)しないときに点火時期を進角させる。
(B) Knocking control means that knocking is detected by a knock sensor or the like and the engine operation is controlled in a minute knocking state or a state immediately before the occurrence of knocking. Generally, responsive ignition timing control is used to retard the ignition timing when the occurrence of knocking is detected (determined), and advance the ignition timing when the occurrence of knocking is not detected (determined). Let

【0130】[0130]

【発明の効果】請求項1に記載の発明によれば、ノック
検出手段の検出値をなまし処理した値に基づいてノッキ
ング判定レベルを算出し、その判定レベルとノック検出
手段の検出値とを比較することによりノッキングの発生
の有無を判定し、その判定結果に基づいてノッキングの
発生を制御するようにしたノッキング制御装置を前提と
する。そして、内燃機関が定常運転状態のときに、ノッ
ク検出手段の検出値に基づきノッキングの発生度合を算
出しておき、内燃機関が過渡運転状態となったときに、
ノッキング判定レベルの算出遅れを補正するために、ノ
ッキング判定レベルに補正値を加減すると共に、その補
正値をノッキングの発生度合の算出値に基づいて変更す
るようにしている。
According to the invention described in claim 1, the knocking determination level is calculated based on the value obtained by smoothing the detection value of the knock detecting means, and the determination level and the detection value of the knock detecting means are calculated. It is premised on a knocking control device that determines whether knocking occurs by comparison and controls the knocking based on the determination result. Then, when the internal combustion engine is in the steady operation state, the degree of occurrence of knocking is calculated based on the detection value of the knock detection means, and when the internal combustion engine is in the transient operation state,
In order to correct the calculation delay of the knocking determination level, the correction value is added to or subtracted from the knocking determination level, and the correction value is changed based on the calculated value of the degree of knocking occurrence.

【0131】従って、内燃機関の過渡運転時には、なま
し処理に起因した算出遅れに拘らず、ノッキング判定レ
ベルが補正値により補正されて適正化すると共に、この
ように補正されるノッキング判定レベルに内燃機関及び
ノック検出手段等の特性上のバラツキやその経時変化等
の変動要因が反映される。その結果、内燃機関やノック
センサ等の特性上のバラツキやその経時変化等の変動要
因に拘らず、ノッキングの発生頻度や大きさに応じて最
適なノッキング判定レベルを算出することができ、過渡
運転時におけるノッキングの発生を最小限に抑えながら
内燃機関の燃費や出力トルクを最大限に向上させること
ができるという効果を発揮する。
Therefore, during the transient operation of the internal combustion engine, the knocking determination level is corrected by the correction value to be optimized regardless of the calculation delay caused by the smoothing processing, and the internal combustion engine is brought to the knocking determination level thus corrected. Variation factors such as variations in the characteristics of the engine and the knock detection means and their changes over time are reflected. As a result, the optimal knock determination level can be calculated according to the occurrence frequency and magnitude of knocking regardless of fluctuation factors such as variations in characteristics of the internal combustion engine and knock sensor and changes over time, and transient operation This has the effect of maximizing the fuel efficiency and output torque of the internal combustion engine while minimizing the occurrence of knocking.

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

【図1】 本発明に係る基本概念構成図。FIG. 1 is a basic conceptual configuration diagram according to the present invention.

【図2】 ガソリンエンジンシステムの概略構成図。FIG. 2 is a schematic configuration diagram of a gasoline engine system.

【図3】 ECUのブロック構成図。FIG. 3 is a block configuration diagram of an ECU.

【図4】 「点火時期制御ルーチン」を示すフローチャ
ート。
FIG. 4 is a flowchart showing an “ignition timing control routine”.

【図5】 「ノッキング判定処理ルーチン」を示すフロ
ーチャート。
FIG. 5 is a flowchart showing a “knocking determination processing routine”.

【図6】 「最大値算出ルーチン」を示すフローチャー
ト。
FIG. 6 is a flowchart showing a “maximum value calculation routine”.

【図7】 「補正値学習更新ルーチン」を示すフローチ
ャート。
FIG. 7 is a flowchart showing a “correction value learning update routine”.

【図8】 図7のルーチンの続きを示すフローチャー
ト。
FIG. 8 is a flowchart showing a continuation of the routine shown in FIG.

【図9】 「嵩上げフラグ設定ルーチン」を示すフロー
チャート。
FIG. 9 is a flowchart showing a “patrol flag setting routine”.

【図10】 「嵩上げ値算出ルーチン」を示すフローチ
ャート。
FIG. 10 is a flowchart showing a “padding value calculation routine”.

【図11】 「嵩上げ値算出ルーチン」を示すフローチ
ャート。
FIG. 11 is a flowchart showing a “payment value calculation routine”.

【図12】 図11のルーチンの続きを示すフローチャ
ート。
FIG. 12 is a flowchart showing a continuation of the routine shown in FIG.

【図13】 最大補正値と所定値との関数データを示す
グラフ。
FIG. 13 is a graph showing function data of the maximum correction value and a predetermined value.

【図14】 最小補正値と所定値との関数データを示す
グラフ。
FIG. 14 is a graph showing function data of the minimum correction value and a predetermined value.

【符号の説明】[Explanation of symbols]

1…内燃機関としてのエンジン、7…点火プラグ、15
…イグナイタ(7,15はノッキング調整手段を構成す
る)、36…ノック検出手段としてのノックセンサ、3
2…エアフローメータ、33…スロットルセンサ、35
…水温センサ、37…回転速度センサ(32,33,3
5,37等は運転状態検出手段を構成する)、41…E
CU(41は判定レベル算出手段、ノッキング判定手
段、制御手段、運転状態判断手段、判定レベル算出手
段、発生度合算出手段及び補正値変更手段を構成す
る)。
1 ... Engine as internal combustion engine, 7 ... Spark plug, 15
... igniter (7 and 15 constitute knocking adjustment means), 36 ... knock sensor as knock detection means, 3
2 ... Air flow meter, 33 ... Throttle sensor, 35
... Water temperature sensor, 37 ... Rotation speed sensor (32, 33, 3
5, 37, etc. constitute an operating state detecting means), 41 ... E
CU (41 constitutes a judgment level calculation means, a knocking judgment means, a control means, an operating state judgment means, a judgment level calculation means, an occurrence degree calculation means, and a correction value change means).

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 内燃機関で発生するノッキングの大きさ
をノック検出手段により検出し、その検出値をノッキン
グ判定レベルと比較することによりノッキングの発生の
有無を判定し、その判定結果に基づいてノッキング調整
手段を制御することによりノッキングの発生を制御する
ようにしたノッキング制御装置であって、 前記ノック検出手段の検出値をなまし処理することによ
り求められる値に基づいてノッキング判定レベルを算出
するための判定レベル算出手段と、 前記判定レベル算出手段により算出されたノッキング判
定レベルと前記ノック検出手段の検出値とを比較するこ
とによりノッキングの発生の有無を判定するためのノッ
キング判定手段と、 ノッキングの発生を制御するために、前記ノッキング判
定手段の判定結果に基づいて前記ノッキング調整手段を
制御するための制御手段と、 前記内燃機関の運転状態を検出するための運転状態検出
手段と、 前記運転状態検出手段の検出値に基づき、前記内燃機関
が過渡運転状態であるか定常運転状態であるかを判断す
るための運転状態判断手段と、 前記運転状態判断手段の判断結果が過渡運転状態である
ときに、前記ノッキング判定レベルの算出遅れを補正す
るための前記判定レベル算出手段により算出されるノッ
キング判定レベルに補正値を加減するための判定レベル
補正手段と、 前記運転状態判断手段の判断結果が定常運転状態である
ときに、前記ノック検出手段の検出値に基づきノッキン
グの発生度合を算出するための発生度合算出手段と、 前記発生度合算出手段の算出値に基づき前記判定レベル
補正手段における前記補正値を変更するための補正値変
更手段とを備えたことを特徴とする内燃機関のノッキン
グ制御装置。
1. A knock detection means detects the magnitude of knocking generated in an internal combustion engine, compares the detected value with a knocking determination level, and determines whether knocking has occurred, and knocks based on the determination result. A knocking control device for controlling the occurrence of knocking by controlling the adjusting means, for calculating a knocking determination level based on a value obtained by smoothing the detection value of the knocking detection means. And a knocking determination means for determining the presence or absence of knocking by comparing the knocking determination level calculated by the determination level calculating means with the detection value of the knock detecting means, In order to control the occurrence of the Control means for controlling the knocking adjustment means, operating state detecting means for detecting the operating state of the internal combustion engine, based on the detection value of the operating state detecting means, the internal combustion engine is in a transient operating state Operating state determination means for determining whether it is a steady operating state, and the determination level for correcting the calculation delay of the knocking determination level when the determination result of the operating state determination means is a transient operating state Determination level correction means for adding or subtracting a correction value to the knocking determination level calculated by the calculation means, and knocking based on the detection value of the knock detection means when the determination result of the operation state determination means is a steady operation state. Occurrence degree calculation means for calculating the occurrence degree of, and the determination level correction means based on the calculated value of the occurrence degree calculation means. Knock control apparatus for an internal combustion engine, characterized in that a correction value changing means for changing the correction value.
JP29529594A 1994-11-29 1994-11-29 Knocking control device for internal combustion engine Pending JPH08151950A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29529594A JPH08151950A (en) 1994-11-29 1994-11-29 Knocking control device for internal combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29529594A JPH08151950A (en) 1994-11-29 1994-11-29 Knocking control device for internal combustion engine

Publications (1)

Publication Number Publication Date
JPH08151950A true JPH08151950A (en) 1996-06-11

Family

ID=17818761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29529594A Pending JPH08151950A (en) 1994-11-29 1994-11-29 Knocking control device for internal combustion engine

Country Status (1)

Country Link
JP (1) JPH08151950A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007182854A (en) * 2006-01-10 2007-07-19 Toyota Motor Corp Ignition timing control device for internal combustion engine
JP2007198313A (en) * 2006-01-27 2007-08-09 Toyota Motor Corp Ignition timing control device for internal combustion engine
US7588015B2 (en) 2006-01-27 2009-09-15 Toyota Jidosha Kabushiki Kaisha Device and method for controlling ignition timing of internal combustion engine
JP2013064410A (en) * 2013-01-11 2013-04-11 Honda Motor Co Ltd Knock control device for engine
JP2013189919A (en) * 2012-03-14 2013-09-26 Mitsubishi Electric Corp Internal combustion engine knock controlling apparatus
CN107084060A (en) * 2017-04-12 2017-08-22 潍柴西港新能源动力有限公司 A kind of natural gas engine knock control strategy

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007182854A (en) * 2006-01-10 2007-07-19 Toyota Motor Corp Ignition timing control device for internal combustion engine
JP2007198313A (en) * 2006-01-27 2007-08-09 Toyota Motor Corp Ignition timing control device for internal combustion engine
US7588015B2 (en) 2006-01-27 2009-09-15 Toyota Jidosha Kabushiki Kaisha Device and method for controlling ignition timing of internal combustion engine
JP4559977B2 (en) * 2006-01-27 2010-10-13 トヨタ自動車株式会社 Ignition timing control device for internal combustion engine
JP2013189919A (en) * 2012-03-14 2013-09-26 Mitsubishi Electric Corp Internal combustion engine knock controlling apparatus
JP2013064410A (en) * 2013-01-11 2013-04-11 Honda Motor Co Ltd Knock control device for engine
CN107084060A (en) * 2017-04-12 2017-08-22 潍柴西港新能源动力有限公司 A kind of natural gas engine knock control strategy
CN107084060B (en) * 2017-04-12 2019-04-19 潍柴西港新能源动力有限公司 A kind of natural gas engine knock control strategy

Similar Documents

Publication Publication Date Title
JPH0478836B2 (en)
JPH0388945A (en) Knocking sensing method for engine
JP3331789B2 (en) Ignition timing control device for internal combustion engine
US5927252A (en) Ignition timing control apparatus for internal combustion engine
JPH08151950A (en) Knocking control device for internal combustion engine
JPH0814271B2 (en) Ignition timing control device for internal combustion engine
US6371076B1 (en) Engine combustion control apparatus and method
JPH08151951A (en) Knocking control device for internal combustion engine
JP3092454B2 (en) Ignition timing control device for internal combustion engine
JPH081150B2 (en) Internal combustion engine knocking detection method
JP2929895B2 (en) Idle speed control device
JP2538626B2 (en) Control device for internal combustion engine
JP2929619B2 (en) Ignition timing control device for internal combustion engine
JPH08247014A (en) Knocking control device for internal combustion engine
JP3709595B2 (en) In-cylinder direct injection spark ignition engine controller
JP2625933B2 (en) Ignition timing control device for internal combustion engine
JPH11343914A (en) Starting controller of internal combustion engine
JPH05231285A (en) Control device for engine
JP2528168B2 (en) Ignition timing control device for internal combustion engine
JP2517605B2 (en) Combustion control device for internal combustion engine
JP2734202B2 (en) Air-fuel ratio control device for internal combustion engine with supercharger
JPH08177697A (en) Knocking control device for internal combustion engine
JPH0730734B2 (en) Control device for internal combustion engine
JPH0830461B2 (en) Ignition timing control device
JPH0633722B2 (en) Knotting control device for internal combustion engine