JPH0370844A - Knocking control device of internal combustion engine - Google Patents

Knocking control device of internal combustion engine

Info

Publication number
JPH0370844A
JPH0370844A JP20725189A JP20725189A JPH0370844A JP H0370844 A JPH0370844 A JP H0370844A JP 20725189 A JP20725189 A JP 20725189A JP 20725189 A JP20725189 A JP 20725189A JP H0370844 A JPH0370844 A JP H0370844A
Authority
JP
Japan
Prior art keywords
knock
value
frequent point
point
knocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP20725189A
Other languages
Japanese (ja)
Other versions
JPH0663482B2 (en
Inventor
Yuji Takeda
武田 勇二
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 JP20725189A priority Critical patent/JPH0663482B2/en
Priority to US07/565,580 priority patent/US5062402A/en
Publication of JPH0370844A publication Critical patent/JPH0370844A/en
Publication of JPH0663482B2 publication Critical patent/JPH0663482B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To increase the reliability of a knocking control device and effectively control knocking by providing a maximum frequent point subtraction updating means for subtracting a determined value from a maximum frequent point and updating when the maximum value of knock signals detected by a knock signal detecting means is within a determined range lower than the most frequent point. CONSTITUTION:The mechanical vibration of the engine body of an internal combustion engine M1 is detected by a knock signal detecting means M2 to output a knock signal, and the most frequent point of the knock signal maximum value in the knock detecting period is determined by a most frequent point calculating means M3. On the basis of the most frequent point of the knock signal maximum value, knock judging level is determined by a knock judging means M4. The knocking is judged by use of this knock judging level. When the knock signal maximum value is within a determined range over the most frequent point, a determined value is added to the maximum frequent point for updating in a most frequent point addition updating means M5. In the converse case, a determined value is subtracted from the maximum frequent point for updating in a subtraction updating means M6.

Description

【発明の詳細な説明】 及主1と匡的 [産業上の利用分野] 本発明(上 ノッキングの判定レベルを補正し、有効に
ノッキングを検出する内燃機関のノッキング制御装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention (part 1) relates to a knocking control device for an internal combustion engine that corrects a knocking determination level and effectively detects knocking.

[従来の技術] 内燃機関の異常燃焼に伴って機関に発生する機械的振動
を電気信号として検出し、この電気信号の振幅が所牽の
判定レベル(ノック判定レベル)を上回ったときに、ノ
ッキング発生と判定する技術が知られている。
[Prior art] Mechanical vibrations that occur in the engine due to abnormal combustion in the internal combustion engine are detected as electrical signals, and when the amplitude of this electrical signal exceeds the target determination level (knock determination level), knocking is detected. Techniques for determining occurrence are known.

このノッキングの検出1表 運転状態によって変化する
微妙なノック信号に基づいて行われるため、上記ノック
判定レベルの設定が極めて重要であり、従来より好適な
ノック判定レベル□設定する各種の技術が提案されてい
る。例え(ヱ (1) 予め定められた少なくとも1つの気筒の点火後
の所定クランク角度範囲(ノック検出期間)における電
気信号の振幅値の最大値(ピーク)を用い、その最大値
の複数の点火サイクルにおける平均値を算出し、該平均
値に基づいたノック判定レベルとノック検出期間におけ
る電気信号の振幅値との大小を比較することによりノッ
キングの発生を検出する「内燃機関のノッキング検出方
法」(特開昭58−28645号公報)。
This knock detection is performed based on a subtle knock signal that changes depending on the driving condition, so setting the knock detection level described above is extremely important, and various techniques have been proposed to set a more suitable knock detection level ing. Example (1) Using the maximum value (peak) of the amplitude value of the electric signal in a predetermined crank angle range (knock detection period) after ignition of at least one predetermined cylinder, a plurality of ignition cycles of the maximum value A ``knocking detection method for internal combustion engines'' (special) that detects the occurrence of knocking by calculating the average value of , and comparing the knock judgment level based on the average value with the amplitude value of the electric signal during the knock detection period Publication No. 58-28645).

また、この(1)の方法で(よ 運転状態によってはノ
ック判定レベルを適切に設定できないことがあるので、
近年では下記の技術が開発されている。すなわち、 (2) 第13図に示すように、ノック信号のノック検
出期間における振幅値の最大値を所定回数求め、その発
生度数の分布から最多頻度点Aを求め、該最大頻度点に
係数kをかけてノック判定レベルAXkを算出し、この
ノック判定レベルA×kを用いてノッキング制御の制御
量を設定する「エンジンのノッキング制御装置」 (特
開昭63−253155号公報)。
Also, depending on the driving conditions, it may not be possible to set the knock detection level appropriately using method (1).
In recent years, the following technologies have been developed. That is, (2) As shown in FIG. 13, the maximum value of the amplitude value of the knock signal during the knock detection period is determined a predetermined number of times, the most frequent point A is determined from the distribution of the frequency of occurrence, and the coefficient k is set at the most frequent point. ``An engine knocking control device'' (Japanese Patent Application Laid-Open No. 63-253155) that calculates a knocking determination level AXk by multiplying by

(3) 第13図に示すように、上記ノック信号の最大
値の発生度数の分布から、発生頻度の平均値である頻度
平均値Bを求め、該頻度平均値Bに係数Kをかけてノッ
ク判定レベルBXKを算出し、このノック判定レベル8
XKを用いてノッキングの検出を行う「内燃機関のノッ
キング検出装置」 (特願昭63−115133号)。
(3) As shown in FIG. 13, from the distribution of the frequency of occurrence of the maximum value of the knock signal, find the frequency average value B, which is the average value of the occurrence frequency, and multiply the frequency average value B by the coefficient K. Calculate the judgment level BXK and set this knock judgment level 8.
"Knocking detection device for internal combustion engine" that detects knocking using XK (Japanese Patent Application No. 115133/1983).

[発明が解決しようとする課題] しかし、従来技術には下記のような問題があり、未だ充
分ではなかった すなわち、 (1) 電気信号の振幅値の複数の点火サイクルにおけ
る平均値と、検出した電気信号の振幅値とを大小比較す
ることによりノッキング発生を検出する構成で(よ 電
気信号の振幅値の大きい値が加算されると、ノッキング
発生時の平均値(よ ノッキング非発生時の平均値より
大きい側に移行する傾向がある。従って、平均値の増加
に起因して、ノック判定レベルも累積増加し、より大き
な振幅値の電気信号が入力されないとノッキング発生の
判定ができなくなり、ノッキング検出精度が悪化すると
いう問題があった (2) また、ノック信号の振幅値の最大値の最大頻度
点Aに基づいてノック判定レベルAXkを算出し、この
ノック判定レベルAXkを用いてノッキングの検出を行
う構成で1志 上記平均値を用いた例と比べてノック判
定レベルAXkが大きく変動しないので、ノック多発時
における精度が低下しないという利点がある。しかしな
がら、最多頻度点Aを用いるもの1.t、所定期間にわ
たってノック信号を検出して統計的処理を行う必要があ
るので、記憶するデータ数が多くRAMに大きな負担と
なり、また演算時間もかかるという問題があった (3) さらに、ノック信号の振幅値の最大値の頻度平
均値Bを求め、その頻度平均値Bに基づいてノック判定
レベルBXKを設定する構成で1.t。
[Problems to be solved by the invention] However, the prior art has the following problems and is still not sufficient: (1) The average value of the amplitude value of the electric signal over multiple ignition cycles and the detected This is a configuration that detects the occurrence of knocking by comparing the magnitude of the amplitude value of the electrical signal. When the large amplitude value of the electrical signal is added, the average value when knocking occurs (the average value when knocking does not occur) Therefore, due to the increase in the average value, the knock detection level also cumulatively increases, and unless an electrical signal with a larger amplitude value is input, it becomes impossible to judge whether knocking has occurred, and knocking detection There was a problem that the accuracy deteriorated (2) In addition, the knock detection level AXk was calculated based on the maximum frequency point A of the maximum amplitude value of the knock signal, and the knock detection level AXk was used to detect knocking. Compared to the above example using the average value, the knock judgment level AXk does not vary greatly, so there is an advantage that the accuracy does not decrease when knocks occur frequently. However, the method using the most frequent point A 1.t Since it is necessary to detect the knock signal over a predetermined period of time and perform statistical processing, there is a problem that the amount of data to be stored is large, placing a heavy burden on the RAM, and also requiring a long calculation time (3). 1.t with a configuration in which the frequency average value B of the maximum value of the amplitude value is determined and the knock determination level BXK is set based on the frequency average value B.

上記(1)の平均値を用いたものよりはノック判定レベ
ルBXKの変動は少ないが、それでもノッキングの発生
が多くなるにつれてノック判定レベルBXKも大きくな
っていた 特に ノッキングが多発する場合には、 第
13図(110に示すように、上記(2)の最多頻度点
Aに基づくノック判定レベルAXkより大きくなって、
ノッキングの検出が困難になることがあっら 本発明(よ 簡単な構成で最多頻度点を求め、それに基
づいてノッキングの正確な検出を実現する内燃機関のノ
ッキング制御装置の提供を目的とする。
Although the fluctuation of the knock detection level BXK is smaller than when using the average value in (1) above, the knock detection level BXK still increases as the occurrence of knocking increases.Especially when knocking occurs frequently, As shown in FIG. 13 (110), the knock determination level AXk is higher than the knock determination level AXk based on the most frequent point A in (2) above,
If detection of knocking becomes difficult, the present invention aims to provide a knocking control device for an internal combustion engine that obtains the most frequent point with a simple configuration and realizes accurate detection of knocking based on the most frequent point.

盈Bfioυ色感 [課題を解決するための手段] 上記目的を達成するためになされた本発明(よ第1図に
例示するように 内燃機関M]の機関本体の機械的振動を検出してノック
信号を出力するノック信号検出手段M2と、 該ノック信号検出手段M2の出力したノック信号のノッ
ク検出期間における最大値の最多頻度点を求める最多頻
度点算出手段M3と、 該最多頻度点算出手段M3によって求めた最多頻度点に
基づいてノック判定レベルを求め、該ノック判定レベル
を用いてノッキング発生の判定を行うノック判定手段M
4と、 を備えた内燃機関のノッキング制御装置において、 上記ノック信号検出手段M2によって検出したノック信
号の最大値が、上記最多頻度点を上回る所定の範囲にあ
る場合に1.t、該最大頻度点に所定値を加算して更新
する最多頻度点加算更新手段M5 と、 上記ノック信号検出手段M2によって検出したノック信
号の最大値が、上記最多頻度点を下回る所定の範囲にあ
る場合には、 該最大頻度点から所定値を減算して更新
する最多頻度点減算更新手段M6と、 を備えたことを特徴とする内燃機関のノッキング制御装
置を要旨とするものである。
[Means for solving the problem] The present invention, which has been made to achieve the above object, detects mechanical vibrations of the engine body of an internal combustion engine M as exemplified in FIG. Knock signal detection means M2 that outputs a signal; Most frequency point calculation means M3 that calculates the most frequent point of the maximum value in the knock detection period of the knock signal outputted by the knock signal detection means M2; The most frequent point calculation means M3 Knock determination means M that determines a knock determination level based on the most frequent points determined by and uses the knock determination level to determine the occurrence of knocking.
4. In the knocking control device for an internal combustion engine, the knocking control device comprises: 1. When the maximum value of the knock signal detected by the knock signal detection means M2 is within a predetermined range exceeding the most frequent point; t, most frequency point addition and updating means M5 for updating the maximum frequency point by adding a predetermined value; and a maximum value of the knock signal detected by the knock signal detection means M2 falling within a predetermined range below the most frequency point. In some cases, the gist of the present invention is to provide a knocking control device for an internal combustion engine, comprising: a most frequently occurring point subtracting and updating means M6 that updates the most frequently occurring point by subtracting a predetermined value from the most frequently occurring point.

[作用] 本発明の内燃機関のノッキング制御装置(よ 第1図に
例示するように、内燃機関M]の機関本体の機械的振動
をノック信号検出手段M2によって検出してノック信号
を出力し、最多頻度点算出手段M3によってノック信号
のノック検出期間における最大値の最多頻度点を求め、
更に、ノック判定手段M4によって、ノック信号の最大
値の最多頻度点(こ基づいてノック判定レベルを求め、
このノック判定レベルを用いてノッキング発生の判定を
行う。そして、ノック信号の最大値が最多頻度点を上回
る所定の範囲にある場合には、 最多頻度点加算更新手
段M5によって最大頻度点に所定値を加算して更新する
。一方、ノック信号の最大値が最多頻度点を下回る所定
の範囲にある場合には、最多頻度点減算更新手段M6に
よって、最大頻度点から所定値を減算して更新する。
[Operation] The knocking control device for an internal combustion engine of the present invention (as illustrated in FIG. 1, internal combustion engine M) detects mechanical vibrations of the engine body by the knock signal detection means M2 and outputs a knock signal, Find the most frequent point of the maximum value of the knock signal in the knock detection period by the most frequent point calculation means M3,
Furthermore, the knock determination means M4 determines the most frequent point of the maximum value of the knock signal (based on this, determines the knock determination level,
The occurrence of knocking is determined using this knock determination level. When the maximum value of the knock signal is within a predetermined range exceeding the most frequent point, the most frequent point addition/updating means M5 updates the maximum frequency point by adding a predetermined value. On the other hand, when the maximum value of the knock signal is within a predetermined range below the most frequent point, the most frequent point subtracting and updating means M6 subtracts a predetermined value from the most frequent point and updates it.

つまり、上述した構成(よ ノック検出期間に検出した
ノック信号の最大値に応じ、最多頻度点を増加或は減少
補正することによって、迅速に好適な最多頻度点を求め
るものである。
In other words, according to the above-mentioned configuration, a suitable maximum frequency point is quickly determined by increasing or decreasing the maximum frequency point according to the maximum value of the knock signal detected during the knock detection period.

次に 本発明の原理について、第2図に基づいて詳細に
説明する。
Next, the principle of the present invention will be explained in detail based on FIG.

ここでf表 複数のノック検出期間(二わたって検出し
たノック信号の最大値の分布が、例えば統計的に第2図
に示すグラフになる場合を考える。図において■、■、
■は各々前回までに求めたノック信号の最大値の最多頻
度点AI、  A2.  A3であり、それらの左右に
広がる斜線の領域イ1ロ、イ′口′、イ”1口”の領域
は各最多頻度点A1−A3を更新する領域を示している
。尚、領域イ、イ。
Here, let us consider the case where the distribution of the maximum value of knock signals detected over multiple knock detection periods (two) statistically becomes the graph shown in Fig. 2. In the figure, ■, ■,
■ is the most frequent point AI of the maximum value of the knock signal obtained up to the previous time, A2. A3, and the diagonally shaded areas A1RO, A'guchi', and A'1guchi that extend to the left and right of these indicate the areas where each of the most frequent points A1 to A3 are updated. Furthermore, areas A and B.

イ6”が減少補正する領域であり、領域ロ2ロ′口”が
増加補正する領域である。
A6'' is an area for decreasing correction, and area B2 and B'6'' is an area for increasing correction.

ここで、例えば前回の最多頻度点A1が■である場合、
次の測定でノック信号の最大値が領域イにあると判定さ
れたときに(上 ■がグラフ左側(こ移動するように最
多頻度点A1を減少補正し、一方、ノック信号の最大値
が領域口にあると判定されたときに(上 ■がグラフ右
側に移動するように最多頻度点A1ヲ増加補正する。
Here, for example, if the previous most frequent point A1 is ■,
In the next measurement, when it is determined that the maximum value of the knock signal is in area A, the most frequent point A1 is corrected to decrease so that the upper When it is determined that it is in the mouth, the most frequent point A1 is corrected by increasing so that (upper part 2) moves to the right side of the graph.

すなわち、ノック信号の最大値(よ 統計的にこのグラ
フの最大頻度点Aの近傍に出現する確率が高いので、測
定されるノック信号の最大値は領域イより領域口にある
ことが多く、よって上記更新の処理を繰り返すと最多頻
度点AI(上  グラフの最多頻度点Aに近づくことに
なる。このことは他の最多頻度点A2.A3の■、■に
ついても同様であり、更新を繰り返す度にグラフの最多
頻度点Aに近づくことになる。
In other words, the maximum value of the knock signal (1) is statistically more likely to appear near the maximum frequency point A in this graph, so the maximum value of the measured knock signal is more likely to be at the area entrance than area A; If the above update process is repeated, the most frequent point AI (the most frequent point A in the graph above) will get closer. This is also true for the other most frequent points A2 and A3, ■ and ■, and each time the update is repeated will approach the most frequent point A on the graph.

尚、ノック信号の最大値の発生する確率は頻度平均値B
の両側で同一であるので、更新する領域を限定しないと
、算出した最多頻度点A1−A3はグラフの最多頻度点
Aに収束せずに、頻度平均値Bに収束してしまう。その
ため、最多頻度点Aの両側に所定幅の更新領域を設定し
である。
In addition, the probability that the maximum value of the knock signal occurs is the frequency average value B
is the same on both sides of the graph, so unless the area to be updated is limited, the calculated most frequent points A1-A3 will not converge to the most frequent point A of the graph, but will converge to the frequency average value B. Therefore, an update area of a predetermined width is set on both sides of the most frequent point A.

この様に 順次ノック信号の最大値と最多頻度点A1−
A3とを比較し、最新のノック信号に基づいて次々と最
多頻度点A1−A3を更新してゆくことによって、迅速
にグラフの最多頻度点Aに近い望ましい最多頻度点A1
−A3を求めることができる。よってこの最多頻度点A
1−A3に係数kをかけてノック判定レベルを求め、こ
のノック判定レベルに基づいてノッキングを的確に捉え
ることが可能となる。
In this way, the maximum value of the knock signal and the most frequent point A1-
A3, and by updating the most frequent points A1-A3 one after another based on the latest knock signal, the desired most frequent point A1, which is close to the most frequent point A on the graph, can be quickly found.
−A3 can be obtained. Therefore, this most frequent point A
A knock determination level is obtained by multiplying 1-A3 by a coefficient k, and it becomes possible to accurately detect knocking based on this knock determination level.

以上のように本発明の各構成要素が作用することにより
、本発明の技術的課題が解決される。
The technical problems of the present invention are solved by each component of the present invention acting as described above.

[実施例] 次に本発明の好適な実施例を図面に基づいて詳細に説明
する。本発明の第1実施例であるエンジンのノッキング
制御装置のシステム構成を第3図に示す。
[Example] Next, a preferred example of the present invention will be described in detail based on the drawings. FIG. 3 shows a system configuration of an engine knocking control device according to a first embodiment of the present invention.

同図に示すよう(ミ エンジンのノッキング制御装置1
(よ 4気筒のエンジン2およびこれを制御する電子制
御装置(以下、単にECUと呼7久)3から構成されて
いる。
As shown in the figure (mi engine knocking control device 1)
It consists of a four-cylinder engine 2 and an electronic control unit (hereinafter simply referred to as ECU) 3 that controls the engine.

エンジン2(よ 第1気筒(#1)11、第2気筒(#
2)12、第3気筒(#3)13、第4気筒(#4)1
4を備え、各気筒11. 12. 13゜141=(志
 点火プラグ15. 16. 17. 18が配設され
ている。これらの点火プラグ15,16゜17.18に
(、t、イグニッションコイルを備えたイグナイタ]9
で発生した点火に必要な高電圧が、図示しないクランク
軸と連動するカムシャフトを備えたディストリビュータ
20を介して、分配供給される。
Engine 2 (first cylinder (#1) 11, second cylinder (#1)
2) 12, 3rd cylinder (#3) 13, 4th cylinder (#4) 1
4, each cylinder 11. 12. 13゜141 = (Spark plugs 15, 16, 17, 18 are arranged. On these spark plugs 15, 16゜17.18 (, t, igniter with ignition coil] 9
The high voltage necessary for ignition generated in is distributed and supplied via a distributor 20 equipped with a camshaft that interlocks with a crankshaft (not shown).

エンジンのノッキング制御装置1は検出器として、エン
ジン2のシリンダブロックに配設されて機械的振動を電
気的なノック信号として出力する共振型のノックセンサ
3L ディストリビュータ20に内蔵されてディストリ
ビュータ20のカムシャフトの174回転毎に、すなわ
ち、クランク角180[’]毎に気筒判別信号(G信号
)を発生する気筒判別センサ32、ディストリビュータ
20のカムシャフトの1/24回転毎1:、すなわち、
クランク角30[’]毎に回転角信号(Ne信号)を発
生する回転速度センサを兼ねた回転角センサ33、吸気
マニホールド内部の吸気管圧力を計測する吸気管圧力セ
ンサ34、エンジン2の冷却水温度から機関温度を測定
する水温センサ35を備える。これら各センサの検出信
号1iEcU3に入力さi  ECU3はエンジン2を
制御すECU3ft、  MPU3a、   ROM3
b、  RAM3 c、  バックアップRA M 3
 d、  タイマ3eを中心に論理演算回路として構成
さ札 コモンバス3fを介して入出力部3g、3hに接
続されて外部との入出力を行なう。
The engine knock control device 1 includes a resonant knock sensor 3L that is installed in the cylinder block of the engine 2 and outputs mechanical vibration as an electrical knock signal, and a resonant knock sensor 3L that is built in the distributor 20 and installed on the camshaft of the distributor 20. The cylinder discrimination sensor 32 generates a cylinder discrimination signal (G signal) every 174 rotations of the camshaft of the distributor 20, that is, every 180 ['] of the crank angle, and every 1/24 rotation of the camshaft of the distributor 20.
A rotation angle sensor 33 that also serves as a rotation speed sensor that generates a rotation angle signal (Ne signal) every 30 ['] of crank angle, an intake pipe pressure sensor 34 that measures the intake pipe pressure inside the intake manifold, and a cooling water for the engine 2. A water temperature sensor 35 is provided to measure the engine temperature from the temperature. Detection signals from each of these sensors 1i are input to EcU3. ECU3 controls engine 2, MPU3a, and ROM3.
b, RAM3 c, Backup RAM 3
d. Constructed as a logic operation circuit centering around a timer 3e. It is connected to input/output sections 3g and 3h via a common bus 3f to perform input/output with the outside.

ノックセンサ3]の出力するノック信号(よ インピー
ダンス変換作用を有し、ノッキング固有の周波数帯域(
7〜8 [K日Z])を通過帯域とするバンドパスフィ
ルタ回路3i  MPU3aの制御信号に従ってバンド
パスフィルタ回路3Iを通過したノック信号の最大振幅
のホールド動作を行なうピークホールド回路3j、MP
U3aの制御信号に従ってピークホールド回路3ノの出
力をA/D変換すると共にA/D変換終了割込信号をM
PU3aに出力するA/D変換器3k、入出力ポート3
gを介してMPU3aに入力される。気筒判別センサ3
2の検出した気筒判別信号(G信号)1社 バッファ3
四 割込要求信号形成回路3nを、また、回転角センサ
33の検出した回転角信号(Ne信号)(ヨ  バッフ
ァ3p、割込要求信号形成回路3nおよび速度信号形成
回路3qを、各々介して入出力ポート3hから割込信号
および回転速度信号としてMPU3 aに入力される。
The knock signal output by the knock sensor 3 has an impedance conversion effect and has a frequency band specific to knocking (
7-8 [K day Z]) as a pass band Peak hold circuit 3j, MP that performs a holding operation of the maximum amplitude of the knock signal that has passed through the band pass filter circuit 3I according to the control signal of the MPU 3a
According to the control signal of U3a, the output of peak hold circuit 3 is A/D converted, and the A/D conversion end interrupt signal is sent to M.
A/D converter 3k, input/output port 3 outputting to PU3a
The signal is input to the MPU 3a via g. Cylinder discrimination sensor 3
2 detected cylinder discrimination signal (G signal) 1 company Buffer 3
4) The rotation angle signal (Ne signal) detected by the rotation angle sensor 33 is inputted to the interrupt request signal forming circuit 3n via the buffer 3p, the interrupt request signal forming circuit 3n, and the speed signal forming circuit 3q, respectively. The signal is input from the output port 3h to the MPU 3a as an interrupt signal and a rotational speed signal.

さらに、吸気管圧力センサ34の検出信号はバッファ3
rに、水温センサ35の検出信号はバッファ3sに、各
々入力し、MPLJ3aの制御信号に従って作動するマ
ルチプレクサ3t、A/D変換器3uを介して入出力ポ
ート3hからMPU3aに入力される。一方、MPtJ
3a+友 入出力ポート3gを介して駆動回路3vに制
御信号を出力し、イグナイタ]9を駆動して点火時期を
制御する。
Furthermore, the detection signal of the intake pipe pressure sensor 34 is
Detection signals from the water temperature sensor 35 are input to the buffer 3s, and are input from the input/output port 3h to the MPU 3a via the multiplexer 3t and A/D converter 3u, which operate according to the control signal from the MPLJ 3a. On the other hand, MPtJ
3a+A control signal is output to the drive circuit 3v via the input/output port 3g to drive the igniter 9 and control the ignition timing.

次に、ECU3が実行するノッキング検出開始時刻算出
処理を第4図に、ノッキング検出終了時刻算出処理を第
5図1n、A/D変換開始処理を第6図に、ノッキング
検出処理を第7図1:、各々基づいて説明する。
Next, FIG. 4 shows the knocking detection start time calculation process executed by the ECU 3, FIG. 5 1n shows the knocking detection end time calculation process, FIG. 6 shows the A/D conversion start process, and FIG. 7 shows the knocking detection process. 1: will be explained based on each.

まず、ノッキング検出開始時刻算出処理を第4図に示す
フローチャートに基づいて説明する。本ノッキング検出
開始時刻算出処理(よ 予め定められた特定クランク角
度(本実施例では上死点(TDC))毎に発生する割込
信号に伴って実行される。
First, the knocking detection start time calculation process will be explained based on the flowchart shown in FIG. This knocking detection start time calculation process is executed in response to an interrupt signal generated at each predetermined specific crank angle (top dead center (TDC) in this embodiment).

まず、ステップ100で1上 各種のデータを読み込む
処理が行われる。続くステップ110で(よノッキング
検出開始時刻t1を算出する処理が行われる。ここで、
ノッキング検出開始時刻t 1 f1予め定められたノ
ッキング検出期間の開始クランク角度(本実施例で(社
 例え(′L ATDCIO〜20 [” CA] )
、検出された現在のクランク角度Cθ[’CA]、タイ
マ3eの現在の計時値TMに基づいて算出される。次に
ステップ120に進み、ステップ110で算出されたノ
ッキング検出開始時刻t1をMPU3a内部のレジスタ
にセットする処理を行った後、−旦 本処理を終了する
。以後、本処理1上 特定クランク角度毎にステップ1
00〜?20を繰り返して実行する。
First, in step 100, a process of reading various data is performed. In the following step 110, a process of calculating the knocking detection start time t1 is performed.
Knocking detection start time t1 f1 Start crank angle of predetermined knocking detection period (in this embodiment ('L ATDCIO ~ 20 [''CA])
, the detected current crank angle Cθ['CA], and the current clock value TM of the timer 3e. Next, the process proceeds to step 120, where the knocking detection start time t1 calculated in step 110 is set in the register inside the MPU 3a, and then this process ends. From then on, step 1 for each specific crank angle of this process 1
00~? Repeat step 20.

次(二 ノッキング検出終了時刻算出処理を第5図に示
すフローチャートに基づいて説明する。本ノッキング検
出終了時刻算出処理1よ 上述したノッキング検出開始
時刻算出処理で算出された時刻tlに発生する割込信号
(二伴って実行される。
Next (2) The knocking detection end time calculation process will be explained based on the flowchart shown in FIG. Signal (2) is carried out.

まず、ステップ200で1よ ピークホールド回路3」
1;ハイレベル(”1“)の制御信号を出力する処理が
行われる。本ステップ200の処理により、ピークホー
ルド回路3j[;L  ノック信号のピークホールド動
作を開始する。続くステップ210で(友 各種のデー
タを読み込む処理が行われる。次にステップ220に進
み、ノッキング検出終了時刻t2を算出する処理が行わ
れる。ここで、ノッキング検出終了時刻t2[t、  
予め定められたノッキング検出期間の開始時期から終了
時期に亘るクランク角度(本実施例で(よ 例え116
0〜90 [’ cA] )、検出された現在のクラン
ク角度Cθ[’CA]、タイマ3eの現在の計時値TM
に基づいて算出される。続くステップ230に進み、ス
テップ220で算出されたノッキング検出終了時刻t2
をMPU3a内部のレジスタにセットする処理を行った
後、−旦、本処理を終了する。以後、本処理(よ 割込
信号発生毎にステップ200〜230を繰り返して実行
する。
First, step 200 is 1, peak hold circuit 3.”
1: A process of outputting a high level (“1”) control signal is performed. Through the process of step 200, the peak hold circuit 3j[;L starts the peak hold operation of the knock signal. In the following step 210, a process of reading various data is performed.Next, the process proceeds to step 220, and a process of calculating a knocking detection end time t2 is performed.Here, the knocking detection end time t2[t,
The crank angle from the start time to the end time of the predetermined knocking detection period (in this embodiment (for example,
0 to 90 ['cA]), detected current crank angle Cθ['CA], current time value TM of timer 3e
Calculated based on. Proceeding to subsequent step 230, the knocking detection end time t2 calculated in step 220 is determined.
After performing the process of setting the value in the register inside the MPU 3a, the present process ends. Thereafter, this process (steps 200 to 230 are repeated every time an interrupt signal is generated).

次1m、A/D変換開始処理を第6図のフローチャート
に基づいて説明する。本A/D変換開始処理(よ 上述
したノッキング検出終了時刻算出処理で算出された時刻
t2に発生する割込信号に伴って実行される。
Next, the A/D conversion start process for 1 m will be explained based on the flowchart of FIG. This A/D conversion start process is executed in response to an interrupt signal generated at time t2 calculated in the knocking detection end time calculation process described above.

まず、ステップ300で(よ A/D変換回路3kにハ
イレベル(”1”)の制御信号を出力する処理が行われ
る。本ステップ300の処理により、A/D変換回路3
k(友 ノック信号のA/D変換を開始する。本ステッ
プ300の処理を行った後、−旦 本処理を終了する。
First, in step 300, a process of outputting a high level ("1") control signal to the A/D conversion circuit 3k is performed.
k (Friend) Starts A/D conversion of the knock signal. After performing the process of step 300, -1 the process ends.

以後、本処理(よ 割込信号発生毎にステップ300を
繰り返して実行する。
Thereafter, this process (step 300) is repeated every time an interrupt signal is generated.

次1:、ノッキング検出に使用される最多頻度点更新処
理を第7図のフローチャートに基づいて説明する。本最
多頻度点更新処理で(飄 ノッキングの検出処理(ステ
ップ400〜440)と、引き続いて行われる本実施例
の主要部である最多頻度点の更新処理(ステップ445
〜470)とを共に説明する。尚、本処理11A/D変
換器3にの出力するA/D変換終了割込信号(本実施例
で(よ例えl;!、A/D変換開始後、10 [m5e
c]経過時に発生)に伴って起動される。
Next 1: The most frequent point update process used for knocking detection will be explained based on the flowchart of FIG. In this most frequent point update process (knocking detection process (steps 400 to 440)) and the most frequent point update process (step 445), which is the main part of this embodiment,
to 470) will be explained together. In this process 11, the A/D conversion end interrupt signal outputted to the A/D converter 3 (in this embodiment, 10 [m5e
c] Occurs during elapsed time).

まず、ステップ400で(友 各種のデータを読み込む
処理が行われる。続くステップ405では、A/D変換
値A/Dを、ノックセンサ出力信号振幅値(ノック信号
振幅値)aに設定する処理が行われる。次にステップ4
10に進み、ピークホールド回路3ノにピークホールド
終了制御信号を出力する処理が行われる。すなわち、M
 P U 3 a Lt。
First, in step 400, a process of reading various data is performed.In subsequent step 405, a process of setting the A/D conversion value A/D to the knock sensor output signal amplitude value (knock signal amplitude value) a is performed. then step 4
Proceeding to step 10, processing is performed to output a peak hold end control signal to the peak hold circuit 3. That is, M
P U 3 a Lt.

ピークホールド回路3Jにロウレベル(”O”)の制御
信号を出力する。
A low level ("O") control signal is output to the peak hold circuit 3J.

続くステップ415で(よ ノック信号振幅値aがノッ
キング発生を判定するノック判定レベルに×A以下であ
るか否か、即ちノッキングが発生したか否か判定して、
発生していないと判断されるとステップ420に進み、
一方、発生したと判断されるとステップ425に進む。
In the following step 415, it is determined whether the knock signal amplitude value a is less than or equal to the knock determination level xA for determining the occurrence of knocking, that is, whether or not knocking has occurred.
If it is determined that this has not occurred, the process proceeds to step 420,
On the other hand, if it is determined that this has occurred, the process proceeds to step 425.

ここで、値には係数(本実施例で(よ 例え1ik=2
)であり、値Aはノック信号振幅値aの最大頻度点であ
って逐次更新される。
Here, the value is a coefficient (in this example (for example, 1ik=2
), and the value A is the maximum frequency point of the knock signal amplitude value a, and is updated sequentially.

上記ステップ420で(上 ノッキングの無い状態の連
続回数を計数するカウンタnの計数値が値10以上か否
かを判定し、肯定判断されるとステップ430に進み、
一方、否定判断されるとステップ435に進む。
In the above step 420, it is determined whether the count value of the counter n that counts the number of consecutive times of no knocking is greater than or equal to the value 10, and if an affirmative determination is made, the process proceeds to step 430,
On the other hand, if the determination is negative, the process advances to step 435.

ノッキングの無い状態が、連続する点火周期10回未満
の場合に実行されるステップ435で(上カウンタnの
計数値に値1を加算する処理を行った後、ステップ44
5に進む。
In step 435, which is executed when the knocking-free state is less than 10 consecutive ignition cycles (after performing the process of adding 1 to the count value of the upper counter n, step 44
Proceed to step 5.

一方、ノッキングの無い状態が、連続する点火周期10
回以上の場合に実行されるステップ430で1上 点火
時期の進角補正値θをクランク角度Yだけ進角する処理
が行われる。この進角補正値θ(志 所定クランク角度
毎に実行される周知の点火時期算出処理で使用される値
である。すなわち、点火時期算出処理で(飄 エンジン
2の吸気管圧力PMおよび回転速度Neに基づき、予め
定められてROM3 bに記憶されているマツプに従い
基本点火時期θOを算出し、この基本点火時期θOを進
角補正値θにより補正して目標点火時期θ・を算出する
。従って、ステップ430の処理により目標点火時期θ
・(上 クランク角度Yだけ進角される。
On the other hand, if the state without knocking is 10 consecutive ignition cycles
In step 430, which is executed when the ignition timing is greater than or equal to 1, the ignition timing advance correction value θ is advanced by the crank angle Y. This advance angle correction value θ is a value used in the well-known ignition timing calculation process that is executed at every predetermined crank angle. Based on this, the basic ignition timing θO is calculated according to a map determined in advance and stored in the ROM 3b, and the basic ignition timing θO is corrected by the advance angle correction value θ to calculate the target ignition timing θ. The target ignition timing θ is determined by the process in step 430.
・(Top) The crank angle is advanced by Y.

続くステップ440で(よ カウンタnを値Oにリセッ
トする処理を行った後、ステップ445に進む。
In the subsequent step 440, the counter n is reset to the value O, and then the process proceeds to step 445.

また、ノッキングが発生したときに実行される上記ステ
ップ425で(上 点火時期の進角補正値θをクランク
角度Xだけ遅角する処理が行われる。
Furthermore, in step 425, which is executed when knocking occurs, the ignition timing advance correction value θ is retarded by the crank angle X.

この処理により目標点火時期θ′(上  クランク角度
Xだけ遅角さね ノッキングの発生が抑制される。
This process retards the target ignition timing θ' (upward by the crank angle X) and suppresses the occurrence of knocking.

その後、ステップ440を経由してステップ445に進
む。
Thereafter, the process proceeds to step 445 via step 440.

続くステップ445で(社 ノック信号振幅値aが、最
多頻度点Aと係数klとの積以下であるか否かを判定し
、肯定判断されるとステップ450に進む。ここで、係
数kl(例えばkl=1. 2)tよノック信号振幅値
aが、最多頻度点Aを越える所定の範囲内(例えば第2
図のロ9ロ°1口”の領域)にあるか否かを判定するた
めの値である。尚、ノック信号振幅値aが上記範囲を上
回る場合には、最多頻度点Aの更新を行わない。
In the following step 445, it is determined whether the knock signal amplitude value a is less than or equal to the product of the most frequent point A and the coefficient kl, and if an affirmative determination is made, the process proceeds to step 450. kl=1. 2) The knock signal amplitude value a at t is within a predetermined range exceeding the most frequent point A (for example, within the second
This value is used to determine whether or not the knock signal amplitude value a is in the region of 9° 1 mouth" in the figure. If the knock signal amplitude value a exceeds the above range, the most frequent point A is updated. do not have.

続くステップ450で(友 上記ステップ445とは逆
に、ノック信号振幅値aが、最多頻度点Aと係数に2と
の積場上であるか否かを判定し、肯定判断されるとステ
ップ455に進む。ここで、係数に2(例えばに2=0
. 8)t;i、  ノック信号振幅値aが、最多頻度
点Aを下回る所定の範囲内(例えば第2図のイ、イ“、
イ”の領域)にあるか否かを判定するものであり、この
範囲を下回る場合には最多頻度点Aの更新を行わない。
In the following step 450, contrary to step 445 above, it is determined whether the knock signal amplitude value a is on the loading dock with the most frequent point A and the coefficient 2, and if an affirmative determination is made, step 455 Proceed to .Here, set the coefficient to 2 (for example, 2=0
.. 8) t;i, the knock signal amplitude value a is within a predetermined range below the most frequent point A (for example,
The most frequent point A is not updated if it is below this range.

つまり上記ステップ445及び450の処理(上検出し
たノック信号振幅値aが、最多頻度点Aを含む一定の更
新領域にあるか否かを判定するための処理であり、この
範囲にある場合のみ下記ステップ455等で最多頻度点
Aの更新を行うものである。
In other words, the processing in steps 445 and 450 above (the processing for determining whether the knock signal amplitude value a detected above is in a certain update area including the most frequent point A, and only when it is in this range, the following The most frequent point A is updated in step 455 and the like.

そしてステップ455で(戴 最多頻度点Aの更新を行
うために、ノック信号振幅値aが、最多頻度点Aを上回
るか否かを判定し、肯定判断されるとステップ460に
進み、一方、否定判断されるとステップ465に進む。
Then, in step 455 (Dai), in order to update the most frequent point A, it is determined whether the knock signal amplitude value a exceeds the most frequent point A. If an affirmative determination is made, the process proceeds to step 460; If determined, the process advances to step 465.

上記ステップ460で(よ 最多頻度点Aに値1を加算
して増加補正する処理を行った後、ステップ470に進
む。一方、ステップ465で(よ 最多頻度点Aから値
1を減算して減少補正する処理を行った後、ステップ4
70に進む。
In the step 460 described above, after performing the process of increasing the correction by adding the value 1 to the most frequent point A, the process proceeds to step 470. On the other hand, in the step 465, the value 1 is subtracted from the most frequent point A to decrease the After performing the correction process, step 4
Proceed to 70.

ステップ470で【社 算瓜 もしく(ヨ  更新され
た各種のデータをRAM3c、或はバックアツプRAM
3dに記憶する処理を行った後、−旦、本処理を終了す
る。
In step 470, various updated data are stored in RAM 3c or backup RAM.
After performing the process of storing data in 3d, this process ends on -1.

以上説明したように本第1実施例によれ(L ノックセ
ンサ31の出力信号のピークホールド値をA/D変換し
て得られるノック信号振幅値aが、最多頻度点Aを上回
る所定範囲にあるときは最多頻度点Aに値1を加算して
増加補正し、一方、ノック信号振幅値aが、最多頻度点
Aを下回る所定範囲にあるときは最多頻度点Aから値1
を減算して減少補正している。その結果、逐次最多頻度
点Aを補正することになるので、運転状態に応じた最適
な最多頻度点Aを迅速かつ好適に設定することができ、
この最多頻度点Aを用いて的確にノッキングの検出を行
うことが可能になる。更に、最多頻度点への算出のため
に、多くのデータを記憶して統計的に処理する必要がな
いので、データを記憶するRAM3c等の使用領域を小
さくすることができ、その上 MPU3aの統計処理の
演算の負担を軽減できるという利点がある。
As explained above, according to the first embodiment, the knock signal amplitude value a obtained by A/D converting the peak hold value of the output signal of the knock sensor 31 is within a predetermined range exceeding the most frequent point A. When the knock signal amplitude value a is within a predetermined range below the most frequent point A, the value 1 is added to the most frequent point A to correct the increase.
The decrease is corrected by subtracting . As a result, the most frequent point A is successively corrected, so it is possible to quickly and suitably set the optimum most frequent point A according to the driving condition.
Using this most frequent point A, it becomes possible to accurately detect knocking. Furthermore, since there is no need to store and statistically process a large amount of data in order to calculate the most frequent points, the area used for storing data such as the RAM 3c can be reduced, and the statistics of the MPU 3a can be reduced. This has the advantage of reducing the computational burden of processing.

また、ノック判定レベルの算出に最多頻度点Aを使用す
るので、ノッキングの発生が多くなっても、頻度平均値
Bを使用した場合と比較してノック判定レベルの変動量
が小さく、安定したノッキング発生の判定を行うことが
できる。
In addition, since the most frequent point A is used to calculate the knock detection level, even if knocking occurs frequently, the amount of variation in the knock detection level is smaller than when the frequency average value B is used, resulting in stable knocking. Occurrence can be determined.

次に 本発明第2実施例を図面に基づいて詳細に説明す
る。この第2実施例と第1実施例との主な相違点(友 
本実施例が最多頻度点Aだけではなく頻度分布の面積平
均値(頻度平均値)Bも使用し、ノッキング発生の増減
に応じてノック判定レベルを最多頻度点Aに基づいたも
の或は頻度平均値Bに基づいたものに切り換えて使用す
ることにある。その他の装置構成は第1実施例と同一で
あるため、同一部分は同一符号で表記し、説明を省略す
る。
Next, a second embodiment of the present invention will be described in detail based on the drawings. Main differences between this second embodiment and the first embodiment (friends)
This embodiment uses not only the most frequent point A but also the area average value (frequency average value) B of the frequency distribution, and depending on the increase or decrease in the occurrence of knocking, the knock judgment level is set based on the most frequent point A or the frequency average. The purpose is to switch to one based on value B and use it. Since the other device configurations are the same as those of the first embodiment, the same parts are denoted by the same reference numerals and the explanation will be omitted.

本第2実施例で実行される最多頻度点更新処理を、第8
図のフローチャートに基づいて説明する。
The most frequent point update process executed in the second embodiment is
This will be explained based on the flowchart shown in the figure.

本処理(よ 第1実施例と同様にノッキングの検出処理
(ステップ500〜520)と、最多頻度点の更新処理
(ステップ522〜544)とから構成されている。
This process (like the first embodiment) consists of a knocking detection process (steps 500 to 520) and a most frequent point updating process (steps 522 to 544).

まず、ステップ500では、各種のデータを読み込む処
理が行われる。続くステップ502では、A/D変換値
A/Dを、ノック信号振幅値aに設定する処理が行われ
る。次にステップ504に進み、ピークホールド回路3
jにピークホールド終了制御信号を出力する処理が行わ
れる。
First, in step 500, a process of reading various data is performed. In the subsequent step 502, processing is performed to set the A/D conversion value A/D to the knock signal amplitude value a. Next, the process proceeds to step 504, where the peak hold circuit 3
Processing is performed to output a peak hold end control signal to j.

続くステップ506で(上 頻度平均値Bに基づいたノ
ック判定しベルKXBが、最多頻度点Aに基づいたノッ
ク判定レベルに’ XBXMを上回るか否かを判定し、
肯定判断されるとステップ508に進み、一方、否定判
断されるとステップ5]Oに進む。ここで係数にと(よ
 頻度平均値Bをノック判定レベルに変換する係数であ
り、係数に′とは上記第1実施例の係数により若干大き
な値に設定された係数であり、更に係数Mとは前回設定
された最多頻度点A及び頻度平均値Bを使用して計算さ
、れた値A/Bである。
In the following step 506, it is determined whether the knock determination bell KXB based on the frequency average value B exceeds the knock determination level 'XBXM based on the most frequent frequency point A,
If the determination is affirmative, the process proceeds to step 508, while if the determination is negative, the process proceeds to step 5]O. Here, the coefficient (Y) is a coefficient that converts the frequency average value B into a knock judgment level, and the coefficient '' is a coefficient set to a slightly larger value than the coefficient of the first embodiment, and the coefficient M and is the value A/B calculated using the most frequent point A and the frequency average value B set last time.

このステップ506の判定(よ 上述した第13図に示
したよう1:、ノッキングの発生状況によってノック判
定レベルも変化するので、頻度平均値Bに基づくノック
判定レベルKXBと、最多頻度点Aに基づくノック判定
レベルに’ XBXMとを比較して、ノッキングの検出
に最適なノック判定レベルを選択するための処理である
。つまり、 ノッキングの発生が多い場合にl;l:、
ステップ508こ進み、ノッキングの多発によっても変
動が少ない最多頻度点Aに基づくノック判定レベルに’
 XBXMを使用する。一方、ノッキングの発生が少な
い場合に(上 ステップ510に進み、過渡応答性に優
れた頻度平均値Bに基づくノック判定レベルKXBを使
用する。
The determination in step 506 (1) As shown in FIG. This process compares the knock detection level with 'XBXM and selects the knock detection level that is most suitable for detecting knocking.
Proceeding to step 508, the knock judgment level is set based on the most frequent point A, which has little fluctuation even when knocking occurs frequently.
Use XBXM. On the other hand, when the occurrence of knocking is small (above), the process proceeds to step 510 and uses the knock determination level KXB based on the frequency average value B, which has excellent transient response.

上記ステップ508で(上 ノック信号振幅値aが、最
多頻度点Aに基づくノック判定レベルに′XBXM以下
であるか否かを判定してノッキング発生を判断し、ノッ
キングが発生していないと判断されるとステップ512
に進み、一方、ノッキングが発生したと判断されるとス
テップ514に進む。
In the above step 508, it is determined whether the knock signal amplitude value a is less than or equal to the knock determination level 'XBXM based on the most frequent point A to determine whether knocking has occurred, and it is determined that knocking has not occurred. and step 512
On the other hand, if it is determined that knocking has occurred, the process advances to step 514.

上記ステップ512で【よ ノッキングの無い状態の連
続回数を計数するカウンタnの計数値が値10以上か否
かを判定し、肯定判断されるとステップ516に進み、
一方、否定判断されるとステップ518に進む。
In the above step 512, it is determined whether the count value of the counter n that counts the number of consecutive times in which there is no knocking is greater than or equal to the value 10, and if an affirmative determination is made, the process proceeds to step 516,
On the other hand, if the determination is negative, the process advances to step 518.

そして、ノッキングの無い状態が、連続する点火周期1
0回未満の場合に実行されるステップ518で(社 カ
ウンタnの計数値に値1を加算する処理を行った後、ス
テップ522に進む。
Then, the state without knocking is continuous ignition cycle 1.
In step 518, which is executed when the number of times is less than 0, the process of adding 1 to the count value of the counter n is performed, and then the process proceeds to step 522.

一方、ノッキングの無い状態が連続する点火周期10回
以上の場合に実行されるステップ516で(五 点火時
期の進角補正値θをクランク角度Yだけ進角する処理が
行われる。従って、ステップ516の処理により目標点
火時期θ°(ヨ  クランク角度Yだけ進角される。続
くステップ520で(よりウンタnを値Oにリセットす
る処理を行った後、ステップ522に進む。
On the other hand, in step 516, which is executed when there are 10 or more consecutive ignition cycles without knocking, the ignition timing advance correction value θ is advanced by the crank angle Y. Therefore, in step 516 As a result of the process, the target ignition timing θ° (y) is advanced by the crank angle Y. In the following step 520, after the counter n is reset to the value O, the process proceeds to step 522.

また、ノッキングが発生したときに実行されるステップ
514で(よ 点火時期の進角補正値θをクランク角度
Xだけ遅角する処理が行われる。この処理により目標点
火時期θ°(上  クランク角度Xだけ遅角さ札 ノッ
キングの発生が抑制される。
Furthermore, in step 514, which is executed when knocking occurs, processing is performed to retard the ignition timing advance correction value θ by the crank angle The occurrence of knocking is suppressed only when the timing is retarded.

その後、ステップ520を経由してステップ522に進
む。
Thereafter, the process proceeds to step 522 via step 520.

次に このステップ522にて、頻度平均値Bがノック
信号振幅値a以上であるか否かを判定し、肯定判断され
るとステップ524に進み、一方、否定判断されるとス
テップ526に進む。
Next, in step 522, it is determined whether or not the frequency average value B is greater than or equal to the knock signal amplitude value a.If the determination is affirmative, the process proceeds to step 524, while if the determination is negative, the process proceeds to step 526.

そして、頻度平均値Bがノック信号振幅値a以上である
場合には、 ステップ524にて頻度平均値Bがノック
信号振幅値aと等しいか否かを判定し、等しい場合には
そのままステップ530に進み、等しくない場合にはス
テップ528にて頻度平均値Bから値1を減算して減少
補正し、ステップ530に進む。
If the frequency average value B is greater than or equal to the knock signal amplitude value a, it is determined in step 524 whether or not the frequency average value B is equal to the knock signal amplitude value a, and if the frequency average value B is equal, the process directly proceeds to step 530. If they are not equal, the value 1 is subtracted from the frequency average value B in step 528 to correct the decrease, and the process proceeds to step 530.

一方、頻度平均値Bがノック信号振幅値a以上でない場
合に1社 ステップ526で頻度平均値Bに値1を加算
して増加補正し、ステップ530に進む。
On the other hand, if the frequency average value B is not equal to or greater than the knock signal amplitude value a, one company adds the value 1 to the frequency average value B in step 526 to perform an increase correction, and the process proceeds to step 530.

つまり、上記ステップ522及び524で、頻度平均値
Bが今回測定したノック信号振幅値aを上回ると判定さ
れる場合と(上 頻度平均値Bがノック信号振幅値aの
大きな方に偏っていることを示すことになるので、ステ
ップ528にてこの今回のデータを加味して、頻度平均
値Bを減少補正するものである。また、これとは逆に、
頻度平均値Bがノック信号振幅値aを下回る場合と(よ
 頻度平均値Bがノック信号振幅値aの小さな方に偏っ
ていることを示すことになるので、ステップ526にて
増加補正するものである。
In other words, in the above steps 522 and 524, it is determined that the frequency average value B exceeds the currently measured knock signal amplitude value a (1) The frequency average value B is biased towards the larger knock signal amplitude value a Therefore, in step 528, the frequency average value B is corrected to decrease by taking this current data into account.
If the frequency average value B is lower than the knock signal amplitude value a (this indicates that the frequency average value B is biased toward the smaller side of the knock signal amplitude value a), an increase is corrected in step 526. be.

続くステップ530で(よ 頻度平均値Bに上記係数M
を乗じた値を仮の最多頻度点すとして設定する処理を行
う。つまり、この係数Mの値A/Bを上記減少或は増加
補正された今回の頻度平均値Bに乗することによって、
仮の最多頻度点すを設定する。
In the following step 530, the above coefficient M is added to the frequency average value B.
Processing is performed to set the value multiplied by the value as the provisional most frequent point. In other words, by multiplying the value A/B of this coefficient M by the current frequency average value B that has been corrected to decrease or increase,
Set a temporary most frequent point.

続くステップ532で(よ ノック信号振幅値aが、仮
の最多頻度点すと係数に3(例えばに3=1゜2)との
積重下であるか否かを判定し、肯定判断されるとステッ
プ534に進む。そして、ステップ534で【友 上記
ステップ532とは逆1:、ノック信号振幅値aが、最
多頻度点Aと係数に4(例えばに4:o、8)との精塩
上であるか否かを判定し、肯定判断されるとステップ5
36に進む。
In the following step 532, it is determined whether or not the knock signal amplitude value a is multiplied by a coefficient of 3 (for example, 3=1°2), and an affirmative determination is made. Then, in step 534, the knock signal amplitude value a is the same as the most frequent point A and the coefficient is 4 (for example, 4:o, 8). It is determined whether or not the above is the same, and if it is determined in the affirmative, step 5
Proceed to step 36.

つまり、このステップ532及び534の処理(よ 上
記第1実施例と同種間 ノック信号振幅値aが最多頻度
点Aを更新する範囲にあるか否かを判定する処理である
In other words, the processes in steps 532 and 534 (similar to the first embodiment) are processes for determining whether or not the knock signal amplitude value a is within the range for updating the most frequent point A.

ステップ536で(よ ノック信号振幅値aが、仮の最
多頻度点すを上回るか否かを判定し、肯定判断されると
ステップ538に進み、一方、否定判断されるとステッ
プ540に進む。
In step 536, it is determined whether or not the knock signal amplitude value a exceeds the provisional most frequent frequency point, and if the determination is affirmative, the process proceeds to step 538, while if the determination is negative, the process proceeds to step 540.

そしてノック信号振幅値aが、仮の最多頻度点すより大
きい側にあるときに実行されるステップ538で1上 
係数Mに値0.01を加算して増加補正する処理を行っ
た後、ステップ542に進む。
Then, in step 538, which is executed when the knock signal amplitude value a is on the larger side than the tentative highest frequency point
After performing an increase correction process by adding a value of 0.01 to the coefficient M, the process proceeds to step 542.

一方、ノック信号振幅値aが、仮の最多頻度点すより小
さい側にあるときに実行されるステップ540で(上 
係数Mから値0.01を減算して減少補正する処理を行
った後、ステップ542に進む。
On the other hand, in step 540 (upper
After performing a process of subtracting the value 0.01 from the coefficient M to perform a reduction correction, the process proceeds to step 542.

つまり、上記ステップ538及び540の処理(よ ス
テップ536の最新のノック信号振幅値aに基づく判定
に応じて、最多頻度点Aを更新する係数Mを減少或は増
加補正するものである。
In other words, the coefficient M for updating the most frequent point A is corrected to decrease or increase in accordance with the determination based on the latest knock signal amplitude value a in step 536.

続くステップ542で(よ 頻度平均値Bに補正した係
数Mを乗じ、その値を最多頻度点Aとして設定し、続く
ステップ544で、その値及び各種のデータをRAM3
c、或はバックアツプRAM3dに記憶する処理を行っ
た後、−見 本処理を終了する。
In the following step 542, the frequency average value B is multiplied by the corrected coefficient M, and that value is set as the most frequent point A. In the following step 544, the value and various data are stored in the RAM 3.
c, or after performing the process of storing it in the backup RAM 3d, the sample process ends.

以上説明したように本第2実施例によれIf、  上述
した第1実施例の効果に加えて、次の様な特有の効果を
奏する。
As explained above, according to the second embodiment, in addition to the effects of the first embodiment described above, the following unique effects are achieved.

本第2実施例では、最多頻度点Aを最多頻度点Aと頻度
平均値Bとの比である係数Mを用いて求めているので、
エンジン2の回転上昇時等(:、ノック信号振幅値aが
大きくなって、その頻度分布全体が出力の大きい方に変
化した場合にも十分対応できる。つまり、全てのノック
信号振幅値aの最大値を用いて更新する頻度平均値Bが
、運転状態に応じて変化する頻度分布に対応して応答す
るので、最多頻度点Aも一緒に変化し、過渡に対して好
適に追従できる。
In the second embodiment, the most frequent point A is determined using the coefficient M, which is the ratio of the most frequent point A and the frequency average value B.
It can also be used when the rotation of the engine 2 increases (:, the knock signal amplitude value a increases and the entire frequency distribution changes to the side with a larger output. In other words, the maximum of all the knock signal amplitude values a) Since the frequency average value B that is updated using the value responds in accordance with the frequency distribution that changes depending on the driving state, the most frequent point A also changes together, making it possible to suitably follow transients.

更に、ノッキングの発生が多くなった場合には、変化に
対して安定な最多頻度点Aに基づくノック判定レベルを
使用し、一方、ノッキングの発生が少なくなった場合に
(上 過渡応答(二優れた頻度平均値Bに基づくノック
判定レベルを使用するので、ノッキングの発生状況に応
じて好適にノック判定レベルを切り換えて、的確にノッ
キングの発生を検出することができる。
Furthermore, when the occurrence of knocking increases, the knock judgment level based on the most frequent point A, which is stable against changes, is used; on the other hand, when the occurrence of knocking decreases (transient response Since the knock determination level based on the frequency average value B is used, the knock determination level can be suitably switched depending on the occurrence status of knocking, and the occurrence of knocking can be accurately detected.

尚、上記第1実施例における最多頻度点Aを更新する処
理(ステップ445〜470)として、第2実施例にお
ける最多頻度点Aを更新する処理(ステップ522〜5
44)を採用してもよく、また、逆に、上記第2実施例
における最多頻度点Aを更新する処理(ステップ522
〜544)として、第1実施例における最多頻度点Aを
更新する処理(ステップ445〜470)を採用しても
よい。つまり、第1実施例における最多頻度点Aの更新
処理は計算が簡単であるという利点があり、第2実施例
における最多頻度点Aの更新処理は過渡時の応答性に優
れている゛という利点があるので、どちらかの特長を選
択することができる。
Note that as the process of updating the most frequent point A in the first embodiment (steps 445 to 470), the process of updating the most frequent point A in the second embodiment (steps 522 to 5)
44) may be adopted, or conversely, the process of updating the most frequent point A in the second embodiment (step 522) may be adopted.
~544), the process of updating the most frequent point A in the first embodiment (steps 445~470) may be adopted. In other words, the process of updating the most frequent point A in the first embodiment has the advantage of easy calculation, and the process of updating the most frequently occurring point A in the second embodiment has the advantage of excellent responsiveness during transient times. There are two types, so you can choose the features of either one.

次に、第3実施例及び第4実施例について説明する。本
第3実施例及び第4実施例が、上記第1実施例又は第2
実施例と大きく異なる点1上 最多頻度点Aを増加補正
する領域と減少補正する領域とに分けるとともに 各領
域を各々大きな補正を行う領域と小さな補正を行う領域
とに区分したことである。
Next, a third example and a fourth example will be described. The third embodiment and the fourth embodiment are different from the first embodiment or the second embodiment.
Significant difference from the embodiment 1. The most frequent point A is divided into an area for increasing correction and an area for decreasing correction, and each area is divided into an area for large correction and an area for small correction.

まず第3実施例の最多頻度点更新処理について、第9図
のフローチャートに基づいて説明する。
First, the most frequent point update process of the third embodiment will be explained based on the flowchart of FIG. 9.

ステップ600で(上 各種のデータを読み込む処理が
行われる。続くステップ605でt&A/D変換値A/
Dを、ノック信号振幅値aに設定する処理が行われる。
In step 600 (above), processing to read various data is performed.In subsequent step 605, the t&A/D conversion value A/
A process is performed to set D to the knock signal amplitude value a.

次にステップ610に進み、ピークホールド回路3Jに
ピークホールド終了制御信号を出力する処理が行われる
Next, the process proceeds to step 610, where a process of outputting a peak hold end control signal to the peak hold circuit 3J is performed.

続くステップ615で(上 前回までに求められた最多
頻度点Aがノック信号振幅値a以上であるか否かを判定
し、肯定判断されるとステップ620に進み、一方、否
定判断されるとステップ625に進む。ステップ620
で【飄 最多頻度点Aがノック信号振幅値aと等しいか
否かを判定し、等しい場合にはステップ655に進み、
一方、等しくない場合にはステップ630に進む。
In the following step 615, it is determined whether or not the most frequent point A obtained up to the previous time is greater than or equal to the knock signal amplitude value a, and if an affirmative determination is made, the process proceeds to step 620, whereas if a negative determination is made, the process proceeds to step 620. Proceed to 625. Step 620
[飄] It is determined whether the most frequent point A is equal to the knock signal amplitude value a, and if they are equal, the process proceeds to step 655;
On the other hand, if they are not equal, the process proceeds to step 630.

このステップ630で(上 ノック信号振幅値aが最多
頻度点Aと係数に5(例えばに、5=0. 8)との積
を下回る否かを判定し、肯定判断されるとステップ63
5に進み、一方、否定判断されるとステップ640に進
む。このステップ635で(友最多頻度点Aから値1を
減算して減少補正する処理を行った後、ステップ655
に進む。一方、ステップ640で(よ 最多頻度点Aか
ら値2を減算して減少補正する処理を行った後、ステッ
プ655に進む。
In this step 630, it is determined whether the knock signal amplitude value a is less than the product of the most frequent point A and a coefficient of 5 (for example, 5=0.8), and if an affirmative determination is made, step 63
If the determination is negative, the process advances to step 640. In this step 635, after performing the process of subtracting the value 1 from the friend most frequent point A to correct the decrease, step 655
Proceed to. On the other hand, in step 640, the value 2 is subtracted from the most frequent point A to correct the decrease, and then the process proceeds to step 655.

また、上記ステップ625で(友 ノック信号振幅値a
が最多頻度点Aと係数に6(例えばに6=1゜2)との
積を上回るか否かを判定し、肯定判断されるとステップ
645に進み、一方、否定判断されるとステップ650
に進む。このステップ645で1上 最多頻度点Aに値
1を加算して増加補正する処理を行った後、ステップ6
55に進む。
Also, in step 625 above (friend knock signal amplitude value a
It is determined whether or not exceeds the product of the most frequent point A and the coefficient 6 (for example, 6=1°2), and if the affirmative determination is made, the process proceeds to step 645, while if the negative determination is made, the process proceeds to step 650.
Proceed to. In this step 645, the value 1 is added to the most frequent point A to correct the increase, and then step 6
Proceed to step 55.

方、ステップ650で(よ 最多頻度点Aに値2を加算
して増加補正する処理を行った後、ステップ655に進
む。
On the other hand, in step 650, a value 2 is added to the most frequent point A to perform an increase correction process, and then the process proceeds to step 655.

ここで、上記ステップ615〜650の処理(よ第10
図に示すよう(:、まずノック信号振幅値aが前回まで
に求めた最多頻度点Aの左右どちらの領域にあるかを判
定しで、減少補正するか或は増加補正するかを判断する
。続いてノック信号振幅値aが、第10図の斜線で示す
所定の範囲(図の)\ 二)にあるか否かを判定して、
その範囲内では最多頻度点Aの更新量を2と大きくし、
その領域からはみ出した外側の領域(図のホ、へ)の場
合には、 更新量を1と小さく設定するものである。
Here, the processing of steps 615 to 650 (the 10th
As shown in the figure (:, first, it is determined whether the knock signal amplitude value a is in the left or right region of the most frequent frequency point A obtained up to the previous time, and it is determined whether to perform a decreasing correction or an increasing correction. Next, it is determined whether or not the knock signal amplitude value a is within a predetermined range shown by diagonal lines in FIG.
Within that range, the update amount of the most frequent point A is increased to 2,
In the case of an outer area that protrudes from that area (see E and F in the figure), the update amount is set to a small value of 1.

続くステップ655で(よ ノック信号振幅値aが、ノ
ッキング発生を判定するノック判定レベルkXA以下で
あるか否かを判定し、肯定判断されるとステップ660
に進み、一方、否定判断されるとステップ665に進む
In the following step 655, it is determined whether the knock signal amplitude value a is equal to or lower than the knock determination level kXA for determining the occurrence of knocking, and if an affirmative determination is made, step 660
On the other hand, if the determination is negative, the process advances to step 665.

ノッキングが発生していないときに実行されるステップ
660で(よ ノッキングの無い状態の連続回数を計数
するカウンタnの計数値が値10以上か否かを判定し、
肯定判断されるとステップ670に進み、一方、否定判
断されるとステップ675に進む。
In step 660, which is executed when no knocking occurs, it is determined whether the count value of a counter n that counts the number of consecutive times in which no knocking occurs is greater than or equal to the value 10,
If the determination is affirmative, the process proceeds to step 670, while if the determination is negative, the process proceeds to step 675.

ノッキングの無い状態が、連続する点火周期10回未満
の場合に実行されるステップ675で(よりウンタnの
計数値に値1を加算する処理を行った後、ステップ68
5に進む。
In step 675, which is executed when the knock-free state is less than 10 consecutive ignition cycles (after performing the process of adding the value 1 to the count value of counter n, step 68
Proceed to step 5.

一方、ノッキングの無い状態が連続する点火周期10回
以上の場合に実行されるステップ670で(戴 点火時
期の進角補正値θをクランク角度Yだけ進角する処理が
行われる。
On the other hand, in step 670, which is executed when there are 10 or more consecutive ignition cycles without knocking, a process is performed in which the ignition timing advance correction value θ is advanced by the crank angle Y.

続くステップ680では カウンタnを値Oにリセット
する処理を行った後、ステップ685 ]:進む。また
、ノッキングが発生したときに実行されるステップ66
5で(よ ノッキングを抑制するために点火時期の進角
補正値θをクランク角度Xだけ遅角する処理が行われる
。その後、ステップ680を経由してステップ685に
進む。
In the following step 680, the counter n is reset to the value O, and then the process proceeds to step 685. Also, step 66 is executed when knocking occurs.
In step 5, a process is performed to retard the ignition timing advance angle correction value θ by the crank angle X in order to suppress knocking. Thereafter, the process proceeds to step 685 via step 680.

このステップ685で(よ 算忠 もしくは、更新され
た各種のデータをRAM3c、或はバックアツプRAM
3dに記憶する処理を行った後、旦、本処理を終了する
In this step 685, the updated data can be stored in RAM 3c or backup RAM.
After performing the process of storing data in 3d, this process is immediately terminated.

以上説明したように本第3実施例によれ(ヱ 最多頻度
点Aを増加補正する領域及び減少補正する領域を、各々
2つの領域に区分し、最多頻度点Aに近い方の領域にお
ける更新量を遠い領域の更新量より大きく (2倍に)
設定している。この様に、異なる更新量を設定すること
によって、過渡時に大きくノック信号振幅値aが変動し
た場合にも、運転状態の変化に応じて迅速に最多頻度点
Aを更新し、それによってノック判定レベルを変更して
、好適にノッキングの発生を検出することができる。
As explained above, according to the third embodiment, the area where the most frequent point A is corrected to increase and the area where the most frequent point A is corrected to decrease are each divided into two areas, and the amount of update in the area closer to the most frequent point A is divided into two areas. is larger than the amount of updates in the distant area (twice as much)
It is set. In this way, by setting different update amounts, even if the knock signal amplitude value a fluctuates greatly during a transient period, the most frequent point A can be quickly updated in accordance with changes in the operating condition, thereby increasing the knock judgment level. The occurrence of knocking can be suitably detected by changing.

つまり、本実施例で(上 一部の領域だけではなく全域
で更新するので、最多頻度点Aが迅速に更新され追従性
に優れているという特長がある。更に、最多頻度点Aに
近い領域の更新量を大きくしているので最多頻度点Aが
過度に変動することを防止し収束性に優れているという
利点がある。
In other words, in this embodiment, since the update is performed not only in a part of the area but in the entire area, the most frequent point A has the advantage of being quickly updated and has excellent followability. Since the update amount of is increased, there is an advantage that the most frequent point A is prevented from fluctuating excessively and convergence is excellent.

更に 上述した係数Mを使用する場合には、 運転状態
が急変すると、統計分布も大きく変化するため、場合に
よってはガードがかかつて、再度初めから最多頻度点A
の計算等をやり直さなければならないことがあるが、本
実施例で(よ 最多頻度点Aを全域で迅速に変更するの
で、ガードにかかる可能性が低下し、計算が簡易化され
るという効果がある。
Furthermore, when using the coefficient M mentioned above, if the operating condition suddenly changes, the statistical distribution will also change significantly, so in some cases the guard may be tightened and the most frequent point A may be reset from the beginning again.
However, in this embodiment, the most frequent point A is quickly changed over the entire area, which reduces the possibility of guarding and simplifies the calculation. be.

次]:、第4実施例について、第11図及び第12図に
基づいて説明する。
[Next]: A fourth embodiment will be described based on FIGS. 11 and 12.

本第4実施例が上記第3実施例と大きく異なる点(よ 
エンジン回転数の変化に応じて、最多頻度点Aの更新量
を変化させることである。そしてこの変化量があまり大
きくならないようにガードをかけている。
This fourth embodiment differs greatly from the third embodiment described above.
The purpose is to change the update amount of the most frequent point A in accordance with changes in the engine speed. A guard is applied to prevent this amount of change from becoming too large.

まず、本実施例におけるガード値更新処理について、第
11図のフローチャートに基づ・いて説明する。本処理
は200 m5ec毎の割込みによって実行される。
First, the guard value update process in this embodiment will be explained based on the flowchart of FIG. 11. This process is executed by an interrupt every 200 m5ec.

ステップ700で(よ 回転速度センサ33からの信号
に基づいて求めた前回のエンジン回転数No1dから今
回のエンジン回転数Nnewを引き、その差の1150
の絶対値を補正値dに設定する。ここで50で割ってい
るの(よ 単にエンジン回転数の差を用いると更新量が
大きくなりすぎて、好適に最多頻度点Aが得られないた
めである。
In step 700, subtract the current engine speed Nnew from the previous engine speed No1d determined based on the signal from the rotational speed sensor 33, and the difference is 1150.
The absolute value of is set as the correction value d. The reason for dividing by 50 here is that simply using the difference in engine speed would result in too large an update amount, making it impossible to obtain the most frequent point A in a suitable manner.

次1:、ステップ710で(よ 今回のエンジン回転数
Nnewを前回のエンジン回転数No1dに設定する。
Next 1: In step 710, the current engine speed Nnew is set to the previous engine speed No1d.

続くステップ720で(よ 補正値dtチエツクするガ
ード値Cの更新のために、補正値dが前回設定したガー
ド値C以上か否か、つまりエンジン回転数の変化が大き
いか否かを判定して、肯定判断されるとステップ730
に進み、一方、否定判断されるとステップ740に進む
。そして、ステップ730で1友 エンジン回転数の変
化が増大していると見なして補正値dをガード値Cに設
定し、一方、ステップ740で(よ エンジン回転数の
変化が収束していると見なしてガード値Cをその1/2
)二修正する。
In the following step 720, in order to update the guard value C that checks the correction value dt, it is determined whether the correction value d is greater than or equal to the previously set guard value C, that is, whether the change in engine speed is large. , if a positive determination is made, step 730
On the other hand, if the determination is negative, the process advances to step 740. Then, in step 730, it is assumed that the change in the engine speed is increasing, and the correction value d is set to the guard value C. On the other hand, in step 740, it is assumed that the change in the engine speed is converging. and set the guard value C to 1/2 of that
) Second correction.

つまり、本処理(よ エンジン回転数の変化量が大きく
なった場合には、 ガード値Cも大きくするが、変化量
が小さい場合にはガード値Cを小さくしてゆくものであ
る。尚、本実施例で(よ エンジン回転数の変化が5 
Orpm/ 200 m5ec以下ではdく]になり、
桁落ちによってd=OとなるためC=0となる。従って
、回転変化が無いときの算出した最多頻度点Aは統計上
の最多頻度点Aに収束する。
In other words, if the amount of change in engine speed becomes large, the guard value C is also increased, but if the amount of change is small, the guard value C is decreased. In the example (the change in engine speed is 5
Orpm/ 200 m5ec or less becomes d],
Since d=O due to digit loss, C=0. Therefore, the calculated most frequent point A when there is no rotational change converges to the statistical most frequent point A.

次に、本実施例における最多頻度点更新処理について第
12図のフローチャートに基づいて説明する。
Next, the most frequent point update process in this embodiment will be explained based on the flowchart of FIG. 12.

ステップ800で(上 各種のデータを読み込む処理が
行われる。続くステップ805で+tA/D変換値A/
Dを、ノック信号振幅値aに設定する処理が行われる。
In step 800 (above), processing to read various data is performed.In subsequent step 805, +tA/D conversion value A/
A process is performed to set D to the knock signal amplitude value a.

次にステップ810に進み、ピークホールド回路3)に
ピークホールド終了制御信号を出力する処理が行われる
Next, the process proceeds to step 810, where processing is performed to output a peak hold end control signal to the peak hold circuit 3).

続くステップ815で(上 最多頻度点Aとノック信号
振幅値aの差の1/4の絶対値を補正値dに設定する処
理を行う。これ(よ いわゆる1/4なまし処理であり
、ノック信号振幅値aが小さい場合には不必要に最多頻
度点Aを更新しないためである。
In the following step 815, processing is performed to set the absolute value of 1/4 of the difference between the most frequent point A and the knock signal amplitude value a as the correction value d. This is to prevent the most frequent point A from being updated unnecessarily when the signal amplitude value a is small.

ステップ820では補正値dがガード値C以下であるか
否かを判定し、ここで肯定判断されるとステップ830
に進み、一方、否定判断されるとステップ825に進ん
でガード値Cの値を補正値dとして設定する。つまり、
ステップ820で補正値dがガード値C以下ではないと
判断されると、上述した第11図の処理で求めたガード
値Cを使用して、補正値dを設定するものである。
In step 820, it is determined whether the correction value d is less than or equal to the guard value C, and if an affirmative determination is made here, step 830
On the other hand, if a negative determination is made, the process proceeds to step 825, where the value of the guard value C is set as the correction value d. In other words,
If it is determined in step 820 that the correction value d is not less than the guard value C, the correction value d is set using the guard value C obtained in the process shown in FIG. 11 described above.

続くステップ830で(友 前回までに求められた最多
頻度点Aがノック信号振幅値a以上であるか否かを判定
し、肯定判断されるとステップ835に進み、一方、否
定判断されるとステップ840に進む。ステップ835
で(よ 最多頻度点Aがノック信号振幅値aと等しいか
否かを判定し、等しい場合にはステップ870に進み、
一方、等しくない場合にはステップ845に進む。
In the following step 830, it is determined whether or not the most frequent point A obtained up to the previous time is greater than or equal to the knock signal amplitude value a, and if an affirmative determination is made, the process proceeds to step 835, whereas if a negative determination is made, the process proceeds to step 835. Proceed to 840. Step 835
(Y) It is determined whether the most frequent point A is equal to the knock signal amplitude value a, and if they are equal, the process proceeds to step 870;
On the other hand, if they are not equal, the process advances to step 845.

このステップ845で1社 ノック信号振幅値aが最多
頻度点Aと係数に7(例えばに7=0. 8)との積を
下回る否かを判定し、肯定判断されるとステップ855
に進み、一方否定判断されるとステップ850に進む。
In this step 845, it is determined whether the knock signal amplitude value a of one company is less than the product of the most frequent point A and a coefficient of 7 (for example, 7=0.8), and if an affirmative determination is made, step 855 is performed.
If the determination is negative, the process advances to step 850.

そしてステップ850で(上最多頻度点Aから値1を減
算して減少補正する処理を行った後、ステップ855に
進む。
Then, in step 850, after performing a process of subtracting the value 1 from the upper most frequent point A to correct the decrease, the process proceeds to step 855.

このステップ855で(よ 最多頻度点Aから補正値d
を減算した値を最多頻度点Aとして設定する。すなわち
、ステップ845〜855で(よ ノック信号振幅値a
が最多頻度点Aから遠い所定の範囲(例えば第10図の
ホの領域)で(よ 最多頻度点Aを補正値dだけ減少補
正するのみであるが、ノック信号振幅値aが最多頻度点
Aに近い所定の範囲(例えば第10図のハの領域)で(
、t、最多頻度点Aをから値]と補正値dとを減算する
大きな減少補正を行うことになる。
In this step 855 (from the most frequent point A to the correction value d
The value obtained by subtracting is set as the most frequent point A. That is, in steps 845 to 855, the knock signal amplitude value a
In a predetermined range far from the most frequent point A (for example, the area E in Fig. 10), the most frequent point A is only reduced by the correction value d, but the knock signal amplitude value a is far from the most frequent point A. In a predetermined range close to (for example, the area C in Fig. 10) (
, t, the value from the most frequent point A] and the correction value d.

また、上記ステップ840で(よ ノック信号振幅値a
が最多頻度点Aと係数kg(例えばに8=1゜2)との
積を上回るか否かを判定し、肯定判断されるとステップ
865に進み、一方否定判断されるとステップ850に
進む。このステップ860で(よ 最多頻度点Aに値1
を加算して増加補正する処理を行った後、ステップ86
5に進む。ステップ865で(上 最多頻度点Aから補
正値dを減算した値を最多頻度点Aとして設定する。即
ち、ステップ840,860,865で(飄 上記ステ
ップ845〜855とは逆に、ノック信号振幅値aが最
多頻度点Aから遠い所定の範囲(例えば第10図のへの
領域)で(よ 最多頻度点Aを補正値dだけ増加補正す
るのみであるが、ノック信号振幅値aが最多頻度点Aに
近い所定の範囲(例えば第10図の二の領域)で(ヱ 
最多頻度点Aに値1及び補正値dを加算する大きな増加
補正を行うことになる。
Also, in step 840 above, the knock signal amplitude value a
It is determined whether or not exceeds the product of the most frequent point A and the coefficient kg (for example, 8=1°2). If the determination is affirmative, the process proceeds to step 865, while if the determination is negative, the process proceeds to step 850. In this step 860, the most frequent point A has a value of 1.
After performing the process of adding and correcting the increase, step 86
Proceed to step 5. In step 865, the value obtained by subtracting the correction value d from the most frequent point A is set as the most frequent point A. That is, in steps 840, 860, and 865, the knock signal amplitude is In a predetermined range where the value a is far from the most frequent point A (for example, the area shown in FIG. In a predetermined range near point A (for example, area 2 in Fig. 10),
A large incremental correction is performed by adding the value 1 and the correction value d to the most frequent point A.

続くステップ870で(よ データをRAM30等に記
憶する処理を行った後に一旦本処理を終了する。
In the following step 870, the data is stored in the RAM 30, etc., and then the process is temporarily terminated.

以上説明したように本第4実施例によれfi  上記第
3実施例の様に最多頻度点への収束性に優れているとい
う効果に加えて、エンジン回転数に応じて、最多頻度点
Aの補正値dを変更しているので、過渡時における追従
性に優れている。更1:。
As explained above, according to the fourth embodiment, in addition to the effect of excellent convergence to the most frequent point as in the third embodiment, the most frequent point A can be adjusted according to the engine speed. Since the correction value d is changed, the followability during transition is excellent. Further 1:.

エンジン回転数に応じて〃−ド値Cを変更して設定して
いるので、過渡時における好適なガード値Cを設定でき
る。それによって、最多頻度点Aを好適に調節し、大ノ
ックの発生式は誤遅角の発生等を防止することができる
Since the guard value C is changed and set according to the engine speed, it is possible to set a suitable guard value C during a transient period. Thereby, the most frequent point A can be suitably adjusted, and the large knock generation formula can prevent the occurrence of false retardation and the like.

以上本発明のいくつかの実施例について説明したが、本
発明はこのような実施例に何等限定されるものではなく
、本発明の要旨を逸脱しない範囲内において種々なる態
様で実施し得ることは勿論である。
Although several embodiments of the present invention have been described above, the present invention is not limited to these embodiments in any way, and can be implemented in various ways without departing from the gist of the present invention. Of course.

発明の効果 以上詳記したように本発明の内燃機関のノッキング制御
装置(友 ノック信号の最大値が最多頻度点を上回る所
定の範囲にある場合に(表 最大頻度点に所定値を加算
し、しかもノック信号の最大値が最多頻度点を下回る所
定の範囲にある場合には、最大頻度点から所定値を減算
して更新する構成である。このため、最多頻度点の更新
の計算が簡単で処理装置にかかる負担が軽減されるとい
う優れた効果を奏する。つまり、大規模な記憶容量や高
速演算処理能力を必ずしも必要としないので、比較的簡
単な装置構成で実現でき、汎用性および車両搭載性を改
善できる。
Effects of the Invention As described in detail above, when the maximum value of the knock signal is within a predetermined range exceeding the most frequent point (Table 1), the knocking control device for an internal combustion engine of the present invention Moreover, when the maximum value of the knock signal is within a predetermined range below the most frequent point, the configuration is such that the predetermined value is subtracted from the most frequent point and updated.Therefore, the calculation for updating the most frequent point is easy. This has the excellent effect of reducing the burden placed on the processing device.In other words, it does not necessarily require large-scale storage capacity or high-speed processing power, so it can be realized with a relatively simple device configuration, and is highly versatile and easy to install in vehicles. Can improve sex.

また、ノッキング発生時と非発生時との最多頻度点の差
が比較的小さく、ノッキング発生を検出するノック判定
レベルも大きく変動しないので、ノッキング制御装置の
信頼性が高まり、その検出結果に基づいて有効1ニノツ
キング抑制制御を実行すると、内燃機関の耐久性も高ま
るという効果を奏する。
In addition, the difference in the most frequent points between when knocking occurs and when knocking does not occur is relatively small, and the knock judgment level for detecting knocking does not vary greatly, increasing the reliability of the knocking control device and Execution of effective one-knocking suppression control has the effect of increasing the durability of the internal combustion engine.

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

第1図は本発明の内容を概念的に例示した基本的構成は
 第2図は本発明の詳細な説明するグラフ、第3図は第
1実施例のシステム構成は 第4諷 第5は 第6図及
び第7図は同じくその制御を示すフローチャート、第8
図は第2実施例の制御を示すフローチャート、第9図は
第3実施例の制御を示すフローチャート、第10図はそ
のノック信号振幅値と発生頻度との関係を示すグラフ、
第11図は第4実施例のガード値更新処理を示すフロー
チャート、第12図はその最多頻度点更新処理を示すフ
ローチャート、第13図は従来技術を説明するグラフで
ある。 3 4 5 6 a 1 最大頻度点算出手段 ノック判定手段 最大頻度点加算更新手段 最大頻度点減算更新手段 エンジンのノッキング制御装置 エンジン 電子制御装置(ECU) PU ノックセンサ
Fig. 1 shows the basic configuration conceptually illustrating the content of the present invention, Fig. 2 is a graph explaining the invention in detail, and Fig. 3 shows the system configuration of the first embodiment. 6 and 7 are flow charts showing the same control, and FIG.
FIG. 9 is a flowchart showing the control of the second embodiment, FIG. 9 is a flowchart showing the control of the third embodiment, and FIG. 10 is a graph showing the relationship between the knock signal amplitude value and the frequency of occurrence.
FIG. 11 is a flowchart showing the guard value update process of the fourth embodiment, FIG. 12 is a flowchart showing the most frequent point update process, and FIG. 13 is a graph explaining the prior art. 3 4 5 6 a 1 Maximum frequency point calculation means Knock determination means Maximum frequency point addition and updating means Maximum frequency point subtraction updating means Engine knocking control device Engine electronic control unit (ECU) PU knock sensor

Claims (1)

【特許請求の範囲】 1 内燃機関の機関本体の機械的振動を検出してノック
信号を出力するノック信号検出手段と、該ノック信号検
出手段の出力したノック信号のノック検出期間における
最大値の最多頻度点を求める最多頻度点算出手段と、 該最多頻度点算出手段によつて求めた最多頻度点に基づ
いてノック判定レベルを算出し、該ノック判定レベルを
用いてノッキング発生の判定を行うノック判定手段と、 を備えた内燃機関のノッキング制御装置において、 上記ノック信号検出手段によって検出したノック信号の
最大値が、上記最多頻度点を上回る所定の範囲にある場
合には、該最大頻度点に所定値を加算して更新する最多
頻度点加算更新手段と、上記ノック信号検出手段によつ
て検出したノック信号の最大値が、上記最多頻度点を下
回る所定の範囲にある場合には、該最大頻度点から所定
値を減算して更新する最大頻度点減算更新手段と、を備
えたことを特徴とする内燃機関のノッキング制御装置。
[Scope of Claims] 1. Knock signal detection means for detecting mechanical vibrations of the engine body of an internal combustion engine and outputting a knock signal, and a maximum value of the knock signal outputted by the knock signal detection means during a knock detection period. a most frequent point calculation means for calculating a frequency point; a knock determination method that calculates a knock determination level based on the most frequent point calculated by the most frequent point calculation means, and uses the knock determination level to determine whether knocking has occurred; In the knocking control device for an internal combustion engine, if the maximum value of the knock signal detected by the knock signal detection means is within a predetermined range exceeding the most frequent point, If the maximum value of the knock signal detected by the most frequent point addition update means that adds and updates the values and the knock signal detection means is within a predetermined range below the most frequent point, the maximum frequency 1. A knocking control device for an internal combustion engine, comprising: maximum frequency point subtraction updating means for subtracting and updating a predetermined value from a point.
JP20725189A 1989-08-10 1989-08-10 Knocking control device for internal combustion engine Expired - Fee Related JPH0663482B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP20725189A JPH0663482B2 (en) 1989-08-10 1989-08-10 Knocking control device for internal combustion engine
US07/565,580 US5062402A (en) 1989-08-10 1990-08-09 Knocking control apparatus of internal combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20725189A JPH0663482B2 (en) 1989-08-10 1989-08-10 Knocking control device for internal combustion engine

Publications (2)

Publication Number Publication Date
JPH0370844A true JPH0370844A (en) 1991-03-26
JPH0663482B2 JPH0663482B2 (en) 1994-08-22

Family

ID=16536714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20725189A Expired - Fee Related JPH0663482B2 (en) 1989-08-10 1989-08-10 Knocking control device for internal combustion engine

Country Status (1)

Country Link
JP (1) JPH0663482B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0396641A (en) * 1989-09-08 1991-04-22 Nippondenso Co Ltd Knocking controller
JP2007255239A (en) * 2006-03-22 2007-10-04 Honda Motor Co Ltd Control device of internal combustion engine
JP2009121278A (en) * 2007-11-13 2009-06-04 Toyota Motor Corp Ignition timing control device and method for internal combustion engine
JP2009138625A (en) * 2007-12-06 2009-06-25 Toyota Motor Corp Ignition timing control method and ignition timing control device for internal combustion engine
JP2011185093A (en) * 2010-03-04 2011-09-22 Mitsubishi Electric Corp Knock sensor device
JP2013064409A (en) * 2013-01-11 2013-04-11 Honda Motor Co Ltd Knock control device for 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

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0396641A (en) * 1989-09-08 1991-04-22 Nippondenso Co Ltd Knocking controller
JP2007255239A (en) * 2006-03-22 2007-10-04 Honda Motor Co Ltd Control device of internal combustion engine
JP4705866B2 (en) * 2006-03-22 2011-06-22 本田技研工業株式会社 Control device for internal combustion engine
JP2009121278A (en) * 2007-11-13 2009-06-04 Toyota Motor Corp Ignition timing control device and method for internal combustion engine
JP4680248B2 (en) * 2007-11-13 2011-05-11 トヨタ自動車株式会社 Ignition timing control device and ignition timing control method for internal combustion engine
US7963269B2 (en) 2007-11-13 2011-06-21 Toyota Jidosha Kabushiki Kaisha Ignition timing controlling apparatus and ignition timing controlling method for internal combustion engine
JP2009138625A (en) * 2007-12-06 2009-06-25 Toyota Motor Corp Ignition timing control method and ignition timing control device for internal combustion engine
JP2011185093A (en) * 2010-03-04 2011-09-22 Mitsubishi Electric Corp Knock sensor device
JP2013189919A (en) * 2012-03-14 2013-09-26 Mitsubishi Electric Corp Internal combustion engine knock controlling apparatus
JP2013064409A (en) * 2013-01-11 2013-04-11 Honda Motor Co Ltd Knock control device for engine
JP2013064410A (en) * 2013-01-11 2013-04-11 Honda Motor Co Ltd Knock control device for engine

Also Published As

Publication number Publication date
JPH0663482B2 (en) 1994-08-22

Similar Documents

Publication Publication Date Title
US4744244A (en) Cylinder pressure sensor output compensation method for internal combustion engine
JPS6291660A (en) Control device for internal combustion engine
US6845312B1 (en) Method for detecting engine knock
JPH0370844A (en) Knocking control device of internal combustion engine
US5060615A (en) Knock sensing apparatus for an internal combustion engine
US4541382A (en) Method and apparatus for ignition timing control of internal combustion engine
JP4799645B2 (en) Control device for internal combustion engine
US4711213A (en) Knock control system for internal combustion engines
JP2715513B2 (en) Knock detection device for internal combustion engine
JPS6255462A (en) Controlling device for internal combustion engine
JP3167766B2 (en) Knocking control device for internal combustion engine
JP2536243B2 (en) Ignition timing control device for internal combustion engine
JPH0579440A (en) Ignition timing control device
JPS6278480A (en) Ignition timing control of internal combustion engine
JP2611328B2 (en) Knock detection device for internal combustion engine
JPH0579441A (en) Ignition timing control device for internal combustion engine
JPH056028B2 (en)
JPS62195464A (en) Control method for internal combustion engine when it is transient
JPS63106365A (en) Method of controlling ignition timing of internal combustion engine
US5062402A (en) Knocking control apparatus of internal combustion engine
JPS63117171A (en) Ignition timing controller for internal combustion engine
JPH0385353A (en) Abnormality detector of internal combustion engine
JPH0367064A (en) Ignition timing control device of engine
JP2570303B2 (en) Knocking control device for internal combustion engine
JPS6113125A (en) Knocking detector for internal-combustion engine

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees