JPS5939973A - Control of knocking of internal-combustion engine - Google Patents

Control of knocking of internal-combustion engine

Info

Publication number
JPS5939973A
JPS5939973A JP57150097A JP15009782A JPS5939973A JP S5939973 A JPS5939973 A JP S5939973A JP 57150097 A JP57150097 A JP 57150097A JP 15009782 A JP15009782 A JP 15009782A JP S5939973 A JPS5939973 A JP S5939973A
Authority
JP
Japan
Prior art keywords
knocking
output
signal
value
circuit
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
JP57150097A
Other languages
Japanese (ja)
Inventor
Toshio Suematsu
末松 敏男
Yuji Takeda
武田 勇二
Yoshiyasu Ito
嘉康 伊藤
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 JP57150097A priority Critical patent/JPS5939973A/en
Publication of JPS5939973A publication Critical patent/JPS5939973A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02PIGNITION, OTHER THAN COMPRESSION IGNITION, FOR INTERNAL-COMBUSTION ENGINES; TESTING OF IGNITION TIMING IN COMPRESSION-IGNITION ENGINES
    • F02P5/00Advancing or retarding ignition; Control therefor
    • F02P5/04Advancing or retarding ignition; Control therefor automatically, as a function of the working conditions of the engine or vehicle or of the atmospheric conditions
    • F02P5/145Advancing or retarding ignition; Control therefor automatically, as a function of the working conditions of the engine or vehicle or of the atmospheric conditions using electrical means
    • F02P5/15Digital data processing
    • F02P5/152Digital data processing dependent on pinking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Testing Of Engines (AREA)
  • Electrical Control Of Ignition Timing (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Abstract

PURPOSE:To simplify the construction of a standard-value taking-in circuit by carrying-out sampling for the standard values when the max. value of knocking signal is detected, in an apparatus for detecting knocking by comparing the max. value signal of knocking output with the standard value. CONSTITUTION:The output signal of a knocking sensor 12 is transmitted into a peak-hold circuit 50 and a rectifying circuit 51 through a circuit 48 consisting of a buffer for impedance change and a band-path filter having the frequency band which is intrinsic to knocking as pass band. Said peak-hold circuit 50 takes-in the output of the knocking sensor 12 only when the signal in 1-level is applied from a microcomputer through a line 52 and an input and output port 46. The rectifying circuit 51 rectifies the signal of the knocking sensor 12 and inputs said signal into an integration circuit 55. The output of said integration circuit becomes the standard value for judging knocking. Sampling for the output of said integration circuit 55 is carried-out when the peak value is detected. Thus, the construction of the standard-value taking-in circuit can be simplified.

Description

【発明の詳細な説明】 本発明はノックセンサの出力に応じてノッキング発生の
有無を検出し、ノッキング制御を行う方法に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for detecting the occurrence of knocking in accordance with the output of a knock sensor and controlling knocking.

機関の異常燃焼に伴って発生するノッキングをノックセ
ンサと称する振動検出素子あるいは音響検出素子等によ
って検出する場合、ノックセンサから出力される電気信
号の振幅を比較基準値と比較することKよシ、その検出
した振動がはたしてノッキングによるものなのか否かを
判別することが行われる。
When knocking that occurs due to abnormal combustion in an engine is detected by a vibration detection element or an acoustic detection element called a knock sensor, the amplitude of the electric signal output from the knock sensor is compared with a comparison reference value. It is then determined whether the detected vibration is actually caused by knocking.

この場合、比較基準値を一定値に固定することなく、ノ
ックセンサのノッキングに無関係と考えられる出力信号
(パックグランド信号)に応じてこの比較基準値を変化
させることにより、ノックセンサのバラツキ及び経時変
化等を補償することが可能となる。パックグランド信号
の値をbとすると、比較基準値は、通常、K−bで与え
られる。
In this case, without fixing the comparison reference value to a constant value, by changing the comparison reference value according to the output signal (pack ground signal) that is considered to be unrelated to the knocking of the knock sensor, it is possible to reduce the variation in the knock sensor over time. It becomes possible to compensate for changes, etc. If the value of the pack ground signal is b, the comparison reference value is usually given by K-b.

ただし、Kは定数である。パックグランド信号は、通常
、ノックセンサ出力の平均値を表わす信号であるが、こ
のパックグランド信号を安定化するには、ノッキングが
発生する直前せでのノ、り七ンサ出力の平均値を検出す
ることが最も望ましい。
However, K is a constant. The pack ground signal is normally a signal that represents the average value of the knock sensor output, but in order to stabilize this pack ground signal, it is necessary to detect the average value of the knock sensor output just before knocking occurs. It is most desirable to do so.

従って、マイクロコンピュータを用いたノッキング制御
システムにおいては、ノックセンサの出力の平均値を積
分回路等で継続的に検出させておき、ノッキングが発生
する直前のタイミングでその積分回路出力を〜[F]変
換させてマイクロコンピュータに取シ込むことが行われ
る。
Therefore, in a knocking control system using a microcomputer, the average value of the output of the knock sensor is continuously detected by an integrating circuit, etc., and the output of the integrating circuit is calculated at a timing immediately before knocking occurs. The data is converted and input into a microcomputer.

また、パルプ打音等のノイズがノックセンサ出力に混入
して誤ってノッキング発生有りと検出してしまうことを
防止するため、ノッキングの起り得る所定期間内のノッ
クセンサ出力の最大値を検出しこれをノッキング信号と
して前述の比較基準値と比較することが通常行われる。
In addition, in order to prevent noise such as pulp hitting noise from entering the knock sensor output and erroneously detecting that knocking has occurred, the maximum value of the knock sensor output within a predetermined period in which knocking may occur is detected. Normally, the knocking signal is compared with the above-mentioned comparison reference value.

上述の所定期間、即ち、ノッキング信号取シ込み期間(
以下この期間をノックゲートがオンの期間と称する)は
各気筒のTDC付近からATDC60’CA付近までが
通常選ばれる。
The above-mentioned predetermined period, that is, the knocking signal acquisition period (
This period (hereinafter referred to as the period in which the knock gate is on) is usually selected from around TDC of each cylinder to around ATDC 60'CA.

上述したように、従来のノッキング制御方法によると、
ノッキング信号取り込み期間(ノックダートオン期間)
設定用のタイミング及びノ9ツクグランド信号取シ込み
用のタイミング等の種々のタイミングを設定する必要が
あり、そのため、タイミング回路の構成等がどうしても
複雑となってしまう問題があった。
As mentioned above, according to the conventional knocking control method,
Knocking signal acquisition period (knock dirt on period)
It is necessary to set various timings such as a timing for setting and a timing for taking in a ground signal, which causes the problem that the configuration of the timing circuit inevitably becomes complicated.

従って本発明は、従来技術の上述の問題を解消するもの
であり、本発明の目的は、ノックセンサからの信号取シ
込みのためのタイミング信号の数を減少せしめることが
できるノッキング制御方法を提供することにある。
Therefore, the present invention solves the above-mentioned problems of the prior art, and an object of the present invention is to provide a knocking control method that can reduce the number of timing signals for signal acquisition from a knock sensor. It's about doing.

上述した目的を達成する本発明の特徴は、点火後の所定
期間におけるノックセンサの出力の最大値を検出し、一
方、該ノックセンサ出力の平均値を検出し、前記検出し
た最大値と該検出した平均値に応じて定められる比較基
準値とを比較してノ、キング発生の有無を検出し、該検
出結果に応じてノッキング発生が低減するように制御す
るノッキング制御方法において、前記ノックセンサ出力
の平均値の取シ込み時期を前記最大値検出期間の開始時
期に同期せしめることにある。
A feature of the present invention that achieves the above-mentioned object is to detect the maximum value of the output of the knock sensor during a predetermined period after ignition, detect the average value of the output of the knock sensor, and compare the detected maximum value with the detected value. In the knocking control method, the knocking control method detects the occurrence of knocking by comparing the average value with a comparison reference value determined according to the average value, and controls the knocking so as to reduce the occurrence of knocking according to the detection result. The purpose of the present invention is to synchronize the timing of taking in the average value with the start timing of the maximum value detection period.

以下図面を用いて本発明の詳細な説明する。The present invention will be described in detail below using the drawings.

第1図は本発明の一実施例の全体の構成を概略的に表わ
している。同図において、lOは4サイクル6気筒内燃
機関のシリンダブロック、12はシリンダプロ、りlO
に取シ付けられたノックセンサである。ノックセンサ1
2は、例えば圧電素子あるいは電磁素子等から構成され
、機械的振動を電気的な振幅変動に変換する周知のもの
である。
FIG. 1 schematically shows the overall configuration of an embodiment of the present invention. In the same figure, lO is a cylinder block of a 4-cycle 6-cylinder internal combustion engine, 12 is a cylinder pro, and lO
This is a knock sensor installed in the. Knock sensor 1
Reference numeral 2 is a well-known device that is composed of, for example, a piezoelectric element or an electromagnetic element, and converts mechanical vibrations into electrical amplitude fluctuations.

第1図において、さらに、14はディストリビュータを
示しておシ、このディストリビュータ14にはクランク
角センサ16及び18が設けられている。クランク角セ
ンサ16は、気筒判別用であり、この機関が6気筒であ
るとすると、ディストリビュータ軸が1回転する毎、即
ちクランク軸が2回転する毎(720°CA毎)に1つ
のノ9ルスを発生する。その発生位置は、例えば、第1
気筒の上死点の若干手前の位置の如く設定される。クラ
ンク角センサ18は、ディストリビュータ軸が1回転す
る毎に24個のパルス、従ってクランク角306毎のパ
ルスを発生する。
In FIG. 1, 14 further indicates a distributor, and this distributor 14 is provided with crank angle sensors 16 and 18. The crank angle sensor 16 is for cylinder discrimination, and if this engine has 6 cylinders, one no. occurs. The occurrence position is, for example, the first
It is set at a position slightly before the top dead center of the cylinder. The crank angle sensor 18 generates 24 pulses for each revolution of the distributor shaft, and therefore for every crank angle 306.

ノックセンサ12、クランク角センサ16及び18から
の電気信号は、制御回路20に送υ込まれる。制御回路
20には、さらに機関の吸気通路22に設けられたエア
フローセンサ24からの吸入空気流量を表わす信号が送
り込まれる。一方、制御回路20からは、イグナイタ2
6に点火信号が出力され、イグナイタ26によって形成
されたスパーク電流は、ディストリビュータ14を介し
て各気筒の点火グ2グ28に分配される。
Electric signals from the knock sensor 12 and crank angle sensors 16 and 18 are sent to a control circuit 20. The control circuit 20 is further fed with a signal representing the intake air flow rate from an air flow sensor 24 provided in the intake passage 22 of the engine. On the other hand, from the control circuit 20, the igniter 2
An ignition signal is output to the igniter 26, and the spark current generated by the igniter 26 is distributed to the ignition pins 28 of each cylinder via the distributor 14.

機関には、通常、運転状態パラメータを検出するその他
の種々のセンサが設けられ、筺た、制御回路20は、燃
料噴射弁29等の制御をも行うが、これらは本発明とは
直接関係しないため、以下の説明では、これらを全て省
略する。
The engine is usually provided with various other sensors that detect operating state parameters, and the control circuit 20 also controls the fuel injection valve 29, etc., but these are not directly related to the present invention. Therefore, all of these will be omitted in the following explanation.

第2図は、第1図の制御回路20の一構成例を表わすプ
ロ、り図である。エアフローセンサ24からの電圧信号
は、パ、ファ30を介してアナログマルチグレク?32
に送シ込まれマイクロコンピュータからの指示に応じて
選択されてN生変換器34に印加され、2過信号に変換
された後、入出力ポート36を介してマイクロコンピュ
ータ内に取シ込まれる。
FIG. 2 is a schematic diagram showing an example of the configuration of the control circuit 20 shown in FIG. The voltage signal from the airflow sensor 24 is converted into an analog multi-signal signal via the filter 30. 32
The signal is selected according to an instruction from the microcomputer and applied to the N-signal converter 34, where it is converted into a 2-pass signal and then input into the microcomputer via the input/output port 36.

クランク角センサ16からのクランク角720’毎のパ
ルス、クランク角センサ18からのクランク角306毎
のパルスはそれぞれパ、ファ38゜42を介し、入出力
ポート46を介してマイクロコンピュータに送シ込まれ
る。
Pulses for every 720' crank angle from the crank angle sensor 16 and pulses for every 306 crank angle from the crank angle sensor 18 are sent to the microcomputer via the input/output port 46 via the input/output port 46, respectively. It will be done.

ノックセンサ12の出力信号はインピーダンス変換用の
パ、ファ及びノッキング個有の周波数帯域(7〜8KH
z )が通過帯域であるバンド/?スフィルタから成る
回路48を介してピークホールド回路50及び整流回路
51に送シ込まれる。ピークホールド回路50は、線5
2及び入出力ポート46を介して11#レベルの信号が
マイクロコンピュータから印加されている際にのみ、ノ
ックセンサ12からの出力信号を取シ込み、その最大振
幅のホールド動作を行う。ピークホールド回路50の出
力は、アナログマルチプレクサ53に送シ込まれマイク
ロコンピュータからの指示に応じて選択されてN生変換
器54に印加され、2通信号に変換された後、入出力ポ
ート46を介してマイクロコンピュータ内に取り込まれ
る。整流回路51は、ノックセンサ12からの出力信号
を全波整流もしくは半波整流する。整流された信号は積
分回路55に送り込まれて時間に関して積分される。
The output signal of the knock sensor 12 is in a frequency band (7 to 8 KH) specific to impedance conversion and knocking.
z) is the passband/? The signal is sent to a peak hold circuit 50 and a rectifier circuit 51 via a circuit 48 consisting of a filter. The peak hold circuit 50
Only when a signal of level 11# is applied from the microcomputer through the input/output port 46, the output signal from the knock sensor 12 is received and the maximum amplitude is held. The output of the peak hold circuit 50 is sent to the analog multiplexer 53, selected according to instructions from the microcomputer, and applied to the N raw converter 54, where it is converted into two communication signals and then sent to the input/output port 46. is taken into the microcomputer via the The rectifier circuit 51 performs full-wave rectification or half-wave rectification of the output signal from the knock sensor 12. The rectified signal is sent to an integration circuit 55 and integrated with respect to time.

従って、積分回路55の出力はノックセンサ12の出力
信号の振幅を平均化した値となる。積分回路55の出力
はアナログマルチプレクサ53に送り込まれて、選択的
にい変換器54に印加され2通信号に変換された後、マ
イクロコンピュータ内に取シ込まれる。ただし、い変換
器54のルΦ変換開始は、入出力ポート46及び線56
を介してマイクロコンピータから印加されるN生変換起
動信号によって行われる。また、N生変換が終了すると
、N生変換器54は、線58及び入出力ポート46を介
してマイクロコンピュータにヤ勺変換完了通知を行う。
Therefore, the output of the integrating circuit 55 is a value obtained by averaging the amplitudes of the output signals of the knock sensor 12. The output of the integrating circuit 55 is sent to an analog multiplexer 53, selectively applied to a converter 54, converted into two signals, and then input into the microcomputer. However, the input/output port 46 and the line 56
This is performed by an N raw conversion activation signal applied from a microcomputer via a microcomputer. Further, when the N raw conversion is completed, the N raw converter 54 notifies the microcomputer of the completion of the raw conversion via the line 58 and the input/output port 46.

一方、マイクロコンピュータから、入出力ポート46を
介して駆動回路60に点火信号が出力されると、これが
駆動信号に変換されてイグナイタ26が付勢され、その
点火信号の持続時間及び持続時期に応じた点火制御が行
われる。
On the other hand, when an ignition signal is output from the microcomputer to the drive circuit 60 via the input/output port 46, this is converted into a drive signal and the igniter 26 is energized, depending on the duration and duration of the ignition signal. ignition control is performed.

マイクロコンピュータは、前述の入出力ポート36及び
46と、マイクロプロセッサ(MPU )62、ランダ
ムアクセスメモリ(RAM ) 64 、リードオンメ
モリ(ROM)66、図示しないクロック発生回路、メ
モリ制御回路、及びこれらを接続するバス68等から主
として構成されておp、ROM66内に格納されている
制御プログラムに従って種々の処理を実行する。
The microcomputer includes the aforementioned input/output ports 36 and 46, a microprocessor (MPU) 62, a random access memory (RAM) 64, a read-on memory (ROM) 66, a clock generation circuit (not shown), a memory control circuit, and the like. It mainly consists of a connected bus 68 and the like, and executes various processes according to control programs stored in the ROM 66.

次にフローチャートを用いて、マイクロコンピュータの
動作を説明する。
Next, the operation of the microcomputer will be explained using a flowchart.

83図は、イニシャル処理ルーチン及びメイン処理ルー
チンの一部を表わしている。機関のイグニッションスイ
ッチがオンとなると、MPU624d、ステップ101
及び102のイニシャル処理をまず実行し、以後、ステ
、グ103〜107にその一部を示すメイン処理を繰シ
返して実行する。
FIG. 83 shows a part of the initial processing routine and the main processing routine. When the engine ignition switch is turned on, the MPU 624d performs step 101.
The initial processing steps 102 and 102 are first executed, and then the main processing steps 103 to 107, some of which are shown in steps 103 to 107, are repeatedly executed.

ステップ101では、入出力ポート36及び46を初期
状態ヘセットし、ステ、グ102では、RAM 64を
クリアして初期データをセットする。
In step 101, the input/output ports 36 and 46 are set to the initial state, and in step 102, the RAM 64 is cleared and initial data is set.

次のステ、プ103では、例えばA/b変換のタイミン
グ周期の設定を行うなどして入出力カウンタのクロック
定義を行う。次のステ、グ104では、グログラムカウ
ンタ、レジスタの内密を割シ込み発生時に退避させる先
のアドレス指定を行う。ステ、グ105では、割シ込み
受付けの処理を行う。
In the next step, Step 103, the clock of the input/output counter is defined by, for example, setting the timing cycle of A/b conversion. In the next step 104, an address is specified where the secrets of the program counter and register are to be saved when an interrupt occurs. In step 105, interrupt reception processing is performed.

次のステップ106では、N生変換器34を介してエア
フローセンサ24から送り込まれ、RAM64内に格納
されている吸入空気流量データQ及び第4図の割シ込み
処理ルーチンで算出されRAM 64内に格納される機
関の回転速度データNeを取り込み、Q/Neを計算す
る。次いでステップ107ではQ/Na及びNoから基
本進角マツプを用いて基本進角θIIA8aCを求める
。ROM 66内には、Q / Ne及びNoに対する
基本進角マツプがあらかじめ格納されておシ、ステップ
107では補間計算等を用いてθBAgleが求められ
る。ステ、グ107の処理が終了すると、メイン処理ル
ーチン中の他の処理を実行した後、再びステ、グ103
から同様の処理が繰シ返して行われる。
In the next step 106, the intake air flow rate data Q sent from the air flow sensor 24 via the N raw converter 34 and stored in the RAM 64 and calculated by the interrupt processing routine of FIG. 4 are stored in the RAM 64. The stored engine rotational speed data Ne is taken in and Q/Ne is calculated. Next, in step 107, the basic advance angle θIIA8aC is determined from Q/Na and No using the basic advance angle map. A basic advance angle map for Q/Ne and No is stored in advance in the ROM 66, and in step 107, θBAgle is determined using interpolation calculation or the like. When the processing in step 107 is completed, other processing in the main processing routine is executed, and then step 103 is executed again.
Similar processing is repeated from then on.

第4図は、クランク角30″毎に実行される割込み処理
ルーチンを示している。この割込み処理ルーチンは、ク
ランク角センサ18からクランク角30°毎のパルスが
印加されると実行されるもので、回転速度Neの算出、
点火の行われた気筒の判別TDC、60°CA−BTD
C、30°CA −BTDCのそれぞれの位置検出及び
各位置で必要とされる演算処理を行うものである。
FIG. 4 shows an interrupt processing routine that is executed every 30" of crank angle. This interrupt processing routine is executed when a pulse is applied from the crank angle sensor 18 every 30 degrees of crank angle. , calculation of rotational speed Ne,
Discrimination of cylinder in which ignition occurred TDC, 60° CA-BTD
It detects the positions of C and 30° CA-BTDC and performs the arithmetic processing required at each position.

割込みが生じると、まずステ、グ201で機関の回転速
度Neが算出される。これは、前回の割込み時と今回の
割込み時のフリーランカウンタの値の差から演算される
When an interrupt occurs, the engine rotational speed Ne is first calculated in step 201. This is calculated from the difference between the free run counter values at the time of the previous interrupt and the time of the current interrupt.

次のステ、グ202では、第5図のステ、グ301で′
1”にセットされるフラグFGが11#であるか否かを
チェックする。
In the next step 202, in step 301 of FIG.
It is checked whether the flag FG set to 1'' is 11#.

″NO# と判別された場合、即ちフラグFGがFG=
Oの場合、プログラムはステff7”203へ進み、3
0’CA割シ込み回数ωを1だけインクリメントする。
``NO#'', that is, the flag FG is set to FG=
In the case of O, the program advances to step ff7”203, and
0' Increment the CA interrupt count ω by 1.

即ちω←ω+1の処理を行う。That is, the process ω←ω+1 is performed.

一方、ステ、グ202で“YES″′と判別された場合
、即ちFG=1の場合、ステップ204でFG←0とフ
ラグFGがリセットされ、次のステ、f205で30°
CA割シ込み回数ωが′″O″にクリアされる。
On the other hand, if the determination in step 202 is "YES"', that is, if FG=1, the flag FG is reset to FG←0 in step 204, and the next step, f205, is 30°.
The number of CA interrupts ω is cleared to ``O''.

このように、ステラf202ないし205では、クラン
ク角センサ16からの720°、CA毎の基準位置を始
点としての30″CA割シ込み回数ωが算出される。
In this manner, in Stella f202 to 205, the number of 30'' CA interruptions ω is calculated from the reference position of each CA at 720 degrees from the crank angle sensor 16 as the starting point.

ステップ206では、30°CA割り込み回数ωを定数
“4”で除算し、その算出値ω/4の整数部を気筒判別
番号nとして設定する。この気筒判別番号nは本発明に
おいては使用されない。渉*零妻′      のステ
ラ グ207では、除算した値ω/4の小数部を、クランク
角度位置の指示値n′として設定する。ここで指示値n
′カn′二〇の場合はTDCSn’= 0.5の場合は
60’ CA−BTDC、n’= 0.75 (7)場
合は30’CA。
In step 206, the number of 30° CA interruptions ω is divided by a constant “4”, and the integer part of the calculated value ω/4 is set as the cylinder discrimination number n. This cylinder discrimination number n is not used in the present invention. In the sterag 207 of Wataru*Zume', the decimal part of the divided value ω/4 is set as the indicated value n' of the crank angle position. Here, the indicated value n
If 'kan' is 20, TDCS is 60' CA-BTDC if n' = 0.5, and if n' = 0.75 (7), it is 30' CA.

BTDCのクランク角位置をそれぞれ表わすことになる
Each represents the crank angle position of BTDC.

ステップ208では、上述の指示値n′が0″であるか
否かを判別する。n′=0の場合、即ち、現在の30’
 CA割シ込みか圧縮行程のTDCに一致している場合
、ステ、グ209へ進み、ノックr−トのオン時刻t1
を算出し、次のステップ210においてこの時刻t1に
相当する値を時刻一致割シ込み起動用のコンベアレジス
タAにセ、トスる。
In step 208, it is determined whether the above-mentioned instruction value n' is 0''. If n'=0, that is, the current 30'
If the CA interrupt matches the TDC of the compression stroke, the process advances to step 209 and the knock r-t on time t1 is determined.
is calculated, and in the next step 210, a value corresponding to this time t1 is set and tossed into the conveyor register A for starting the time coincidence interrupt.

々お、MPU 62内には、このコンベアレジスタAと
、後述するコンベアレジスタBとが設けられておシ、そ
れぞれ時刻一致割シ込み起動用に用いられる。
Furthermore, the MPU 62 is provided with this conveyor register A and a conveyor register B, which will be described later, and are used for starting a time coincidence interrupt.

なお、前にも述べたように、ノックゲートとは、ノック
センサ12の出力からノッキング信号を検出するために
開かれるダート手段であシ、本実施例では、ピークホー
ルド回路50のホールド動作期間がノックr−)オンの
期間その他の期間がノ、クグートのオフ期間となる。
As mentioned above, the knock gate is a dirt means that is opened to detect a knocking signal from the output of the knock sensor 12. In this embodiment, the hold operation period of the peak hold circuit 50 is The knock r-) on period and other periods are the knock r-) off periods.

次いで、プログラムはステ、グ211へ進み、第9図で
詳細に述べる点火時期の計算処理を実行するO ステップ208でNo”と判別されるかあるいはステッ
プ209乃至211の処理の実行後、プログラムはステ
、グ212へ進み、指示値n′が”()、5”であるか
否かを判別する。n’=0.5の場合、即ち、現在の3
0°C八割り込みが60°CA−BTDCに対応してい
る場合ステ、f213−へ進む。
Next, the program proceeds to step 211 and executes the ignition timing calculation process detailed in FIG. Proceeding to Step 212, it is determined whether the indicated value n' is "(), 5".If n' = 0.5, that is, the current 3
If the 0°C8 interrupt corresponds to the 60°CA-BTDC, proceed to step f213-.

ステ、グ213では、第9図のステ二ッグ710でイグ
ナイタのオン時刻と共に算出されたイグナイタ26のオ
フ時刻即ち点火が行われる時刻を時刻一致割り込み起動
用のコンにアレジスタBにセ、トする。
In step 213, the off time of the igniter 26, that is, the time at which ignition is to be performed, calculated together with the igniter on time in step 710 in FIG. do.

ステ、7″212で’NO”と判別されるかあるいはス
テ、グ213の実行後、プログラムはステップ214へ
進む。ステ、グ214では指示値n′か“0.75#で
あるか否かを判別するgn′=0.75の場合、即ち3
0°CA −BTDCの場合、プログラムはステ、プ2
15へ進み、ノックゲートをオフとする。
After the determination in step 7'' 212 is ``NO'' or after the execution of step 213, the program proceeds to step 214. Step 214 determines whether the indicated value n' is "0.75#".If gn'=0.75, that is, 3
In the case of 0°CA-BTDC, the program is
Proceed to step 15 and turn off the knock gate.

次いでステ、グ216において、ピークホールド回路5
0のチャネルの〜0変換開始が指案される。
Next, in step 216, the peak hold circuit 5
The start of ~0 conversion of the 0 channel is indicated.

これによってん小麦換器54は、ピークホールド回路5
0の出力、従ってノックセンサ12の出力のうちのノッ
キング成分aのN生変換を開始する。
As a result, the wheat exchanger 54 operates as the peak hold circuit 5.
Therefore, N raw conversion of the knocking component a of the output of the knock sensor 12 is started.

ステ、グ214で’No’と判別されるかあるいはステ
、グ215及び216の実行後、プログラムは第3図の
メイン処理ルーチンに復帰する。
After the determination in step 214 is ``No'' or steps 215 and 216 are executed, the program returns to the main processing routine shown in FIG.

コンベアレジスタAにセ、トシた時刻、即ち、第4図の
ステ、プ209で計算したノックゲートのオン時刻t1
が到来すると、MPU 62は、第6図に示す時刻Aの
一致割込み処理を実行する。
The time when the conveyor register A is turned on, that is, the on-time t1 of the knock gate calculated in step 209 of FIG.
When the time A arrives, the MPU 62 executes the coincidence interrupt processing at time A shown in FIG.

即ち、ステ、グ401において、ノックゲートをオンと
し、ピークホールド動作を開始させる。ノックゲートを
オンすることは、入出力ポート46及び線52を介して
ピークホールド回路50に印加される信号を“l”に反
転させることを意味し、前述したように、“l”レベル
の信号期間中ピークホールド動作が行われる。次いでス
テ、グ402で積分回路55のチャネルのヤ[F]変換
開始が指示される。これによってN小麦換器54は、積
分回路55の出力、従ってノックセンサ12の出力のう
ちのバックグランド成分すのNΦ変換を開始する。
That is, in step 401, the knock gate is turned on and the peak hold operation is started. Turning on the knock gate means inverting the signal applied to the peak hold circuit 50 via the input/output port 46 and the line 52 to "L", and as described above, the signal at the "L" level Peak hold operation is performed during this period. Next, in step 402, the start of Y[F] conversion of the channel of the integrating circuit 55 is instructed. As a result, the N wheat converter 54 starts NΦ conversion of the background component of the output of the integrating circuit 55, and thus the output of the knock sensor 12.

N生変換器54よりい変換完了の通知を受けると、MP
U 62は第8図の割り込み処理を実行し、ノッキング
信号値aもしくはパックグランド値号値bf1%/T)
変換器54から取り込んで部、M64に格納する。まず
ステップ601において、今回の割シ込みがピークホー
ルド回路のtヤネルのん小麦換完了による割り込みか否
かを判別する。δ電S″の場合は、ステップ602へ進
んでその時のん小麦検値をピークボールド信号値aとす
る。“No”の場合はステップ603へ進んでその時の
N生変換値をノッキング信号値l)とする。
Upon receiving the notification of conversion completion from the N raw converter 54, the MP
U62 executes the interrupt processing shown in Fig. 8, and obtains the knocking signal value a or the pack ground value bf1%/T).
The data is taken in from the converter 54 and stored in the M64. First, in step 601, it is determined whether the current interrupt is an interrupt caused by the completion of replacing wheat in the peak hold circuit. If δelectric S'', the process advances to step 602, and the wheat test value at that time is set as the peak bold signal value a.If "No", the process advances to step 603, and the current N raw conversion value is used as the knocking signal value l. ).

コンベアレジスタBにセットした時刻が到来すると、M
PU 62は、第7図に示す時JIIBの一致割り込み
処理を実行する。まずステップ501では、イグナイタ
オン時刻に関する割シ込みであるか否かを判別する。″
No”の場合、即ち第4図のステップ213で計算した
イグナイタ26のオフ時刻に関する割シ込みである場合
、ステ、グ502へ進んで点火信号がオンからオフに反
転せしめられる。この点火信号は、前に述べたように、
入出力ポート46を介して駆動回路60に送り込まれる
もので、オンからオフに反転すると、その時点で図示し
ない点火コイルへの通電が止まシ点火プラグから点火ス
/4’−りが発生するように構成されている。
When the time set in conveyor register B arrives, M
The PU 62 executes the JIIB match interrupt processing as shown in FIG. First, in step 501, it is determined whether or not the interrupt is related to the igniter on time. ″
If the answer is "No", that is, if the interrupt is related to the off time of the igniter 26 calculated in step 213 of FIG. ,As I mentioned before,
It is sent to the drive circuit 60 via the input/output port 46, and when it is reversed from on to off, the current to the ignition coil (not shown) stops at that point, and ignition spark occurs from the ignition plug. It is composed of

一方、ステ、プ501で“YES ”と判別された場合
、即ち、後述する第9図の処理ルーチンのステップ71
0で計算したイグナイタ260オン時刻に関する割シ込
みである場合、ステ、−グ503へ進んで点火信号がオ
フからオンに反転せしめられる。これによって点火コイ
ルへの通電が開始される。
On the other hand, if "YES" is determined in step 501, that is, step 71 of the processing routine of FIG. 9, which will be described later.
If the interrupt is related to the igniter 260 on time calculated in step 0, the process proceeds to step 503 where the ignition signal is reversed from off to on. This starts energizing the ignition coil.

第9図は、第4図の割り込み処理ルーチン中のステップ
211を詳細に示すものである。
FIG. 9 shows step 211 in the interrupt processing routine of FIG. 4 in detail.

まずステップ701において、第8図の紗変換児了割シ
込み処理ルーチンで得たノッキング値aがパックグラン
ド値に所定の定数Kを乗算して成るに、b以上であるか
否かを判別する。” YES ”の場合、即ち、a≧に
−bである場合は、ノッキング発生有シと判別してステ
、f702へ進み、″NO#の場合はノッキング発生無
しとしてステップ705へ進む。
First, in step 701, it is determined whether the knocking value a obtained in the gauze conversion interrupt processing routine of FIG. . If ``YES'', that is, if a≧-b, it is determined that knocking has occurred and the process proceeds to Step 702; if ``NO#'', it is determined that knocking has not occurred and the process proceeds to Step 705.

ステ、プ702では、点火時期補正値θ□を“l’cA
”だけ減少させ点火時期がl’ CA遅れるように処理
する。次のステップ703では、ノッキングが何回連続
して検出されなかったかを引数するためのカラ/りCの
内容を’10”に初期設定する。
Step 702 sets the ignition timing correction value θ□ to "l'cA".
The process is performed so that the ignition timing is delayed by l'CA.In the next step 703, the content of the color/rec, which is used as an argument for how many times knocking has not been detected, is initialized to '10'. Set.

次いでノログラムはステップ704へ進む。The nologram then proceeds to step 704.

一方、ノッキング発生無しとしてステ、 f 705へ
進むと、カウンタCの内容がパ0#となったか否かが判
別される。1NO”の場合は、ステップ706において
カウンタCが1つだけインクリメントされる。ηIS#
の場合、即ち、ノッキング発生無しが連続して10回続
くとノログラムはステップ707へ進み、点火時期補正
値θ□がl’c Aだけ増大せしめられる。次いでステ
ップ708においてカウンタCの内容が′10”に初期
設定された後ステップ709へ進む。このように、ノー
キング発生有りの場合はθ□がl’cAたけ減少ぜ(1
)られノッキング発生無しが10回続いた場合はθ□が
1’CAだけ増大せしめられる。ステップ709では、
第3図のメイン処理ルーチンのステップ107で=+n
した基本進角θR8゜と、上述の如くして求めた点火時
期補正値θにとから最終的な点火進角θをθ←θB11
1+θ□によって算出する。
On the other hand, when it is determined that no knocking has occurred and the process proceeds to Step 705, it is determined whether the content of the counter C has become 0#. 1NO”, the counter C is incremented by one in step 706. ηIS#
In this case, that is, when no knocking occurs ten times in a row, the nologram proceeds to step 707, where the ignition timing correction value θ□ is increased by l'cA. Next, in step 708, the contents of the counter C are initialized to '10', and then the process proceeds to step 709. In this way, if no king occurs, θ□ decreases by l'cA (1
) and no knocking continues 10 times, θ□ is increased by 1'CA. In step 709,
At step 107 of the main processing routine in FIG.
The final ignition advance angle θ is calculated from the basic advance angle θR8° and the ignition timing correction value θ obtained as described above.θ←θB11
Calculated by 1+θ□.

次のステ、f710では、ステップ709で求めた点火
進角θとそのときの回転速度Neとからイグナイタ26
のオフ時刻、換言すれば点火信号がオフとなる時刻即ち
点火が行われる時刻を求め、さらにそのイグナイタのオ
フ時刻からイグナイタのオン時刻、即ち点火コイルに通
電を開始する時刻を求め、その算出値を時刻一致割り込
み起動用のコンベアレジスタBにセットする。ステップ
710の処理が終ると、!ログラムは第4図のステップ
212へ進む。
In the next step, f710, the igniter 26 is
Find the off time of the igniter, in other words, the time when the ignition signal turns off, that is, the time when ignition is performed, and then find the on time of the igniter, that is, the time when the ignition coil starts to be energized, from the off time of the igniter, and calculate the calculated value. is set in conveyor register B for time match interrupt activation. When the process of step 710 is completed,! The program proceeds to step 212 of FIG.

第1O図は上述した実施例において、ノッキング信号及
びパックグランド信号の検出動作を説明するための信号
波形及びタイミングを表わす図である。
FIG. 1O is a diagram showing signal waveforms and timing for explaining the detection operation of the knocking signal and back ground signal in the above-described embodiment.

ノックセンサ12の出力は同図(B)に示す如く、ノッ
キングの有フ無しに応じてその振幅が大小に変化する。
As shown in FIG. 3B, the amplitude of the output of the knock sensor 12 changes depending on whether knocking occurs or not.

積分回路55はノックセンサ12の出力を常時積分して
おり、従ってその出力は同図C)に示す如くなる。ノッ
キング信号を検出するためのノックゲートは、同図の)
に示ず如く、各気筒のTDCよυ後の時刻t1において
オンとなり、次の気筒の30°CA−BTDCでオフと
なる。このノックゲートがオンの期間は、ノックセンサ
12の出力にノッキング発生に基づく振動が現れる期間
に設足される。ノ、りr−トオン期間中、ピークホール
ド回路50は、ノックセンサ12の出力のtr −クホ
ールド動作を行う。従ってピークホールド回路50の出
力は同図(E)に示す如くノッキング信号aを表わすこ
ととなる。ピークホールド回路50のチャネル即ち、ノ
ッキング信号のん小麦換開始は第4図のステ、グ216
で説明したように、ノ、クダートのオフと同じタイミン
グで行われる(第10図(G)参照)。さらに、本発明
においては、第10図C)に示す如く、ノ、りf−)の
オンと同じタイミングで積分回路55のチャネル、即ち
パックグランド信号の、H変換が開始せしめられる。
The integrating circuit 55 constantly integrates the output of the knock sensor 12, and therefore its output is as shown in FIG. The knock gate for detecting knocking signals is shown in the same figure)
As shown in , it turns on at time t1 after TDC of each cylinder, and turns off at 30° CA-BTDC of the next cylinder. This period in which the knock gate is on is set during a period in which vibrations based on the occurrence of knocking appear in the output of the knock sensor 12. During the r-tr-on period, the peak hold circuit 50 performs a tr-hold operation on the output of the knock sensor 12. Therefore, the output of the peak hold circuit 50 represents the knocking signal a as shown in FIG. The channel of the peak hold circuit 50, that is, the switching start of the knocking signal is performed at step 216 in FIG.
As explained above, this is done at the same timing as the turning off of Kudart (see Figure 10 (G)). Further, in the present invention, as shown in FIG. 10C), H conversion of the channel of the integrating circuit 55, that is, the pack ground signal, is started at the same timing as the ON of the signals F and F-).

このため、バックグ生変ド信号N勺変換開始のためのタ
イミング回路を省略することができる。また、第1θ図
(C)からも明らかのように、ノックゲートオンの時期
は、積分回路55の出力がノッキングの発生有無に係ら
ず最も安定している時期なのでアリ、従って、上述の如
きタイミングでパックグランド信号すを取フ込めば安定
した値が得られ、ノッキング制御の精度向上を図ること
ができる。
Therefore, a timing circuit for starting the conversion of the background signal can be omitted. Furthermore, as is clear from Fig. 1θ (C), the knock gate ON timing is the time when the output of the integrating circuit 55 is most stable regardless of whether knocking occurs or not. If the pack ground signal is removed from the ground, a stable value can be obtained and the accuracy of knocking control can be improved.

以上詳細に説明したように、本発明によれば、ノックセ
ンサ出力を取フ込むためのタイミング回路の簡略化する
ことができ、しかも、安定したパックグランド信号が得
られるためノッキング制御精度を向上することができる
という格別の効果が得られる。
As described in detail above, according to the present invention, the timing circuit for taking in the knock sensor output can be simplified, and a stable pack ground signal can be obtained, thereby improving knock control accuracy. You can get the special effect of being able to do this.

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

第1図は本発明の適用される内燃機関の一例を概略的に
表わす図、第2図は第1図の制御回路のプロ、り図、第
3図ないし第9図は、制御回路の各処理ルーチンのフロ
ーチャート、第1O図は上記処理ルーチンの動作を説明
するタイムチャートである。 10・・・シリンダブロック、12・・・ノックセンサ
、14・・・ディストリビュータ、16,18・・・ク
ランク角センサ、20・・・制御回路、26・・・イグ
ナイタ、28・・・点火グラブ、34,54・・・ψ変
換器、36.46・・・入出カポ−1−148・・・バ
ッファ及びフィルタ回路、50・・・ピークホールド回
路、51・・・整流回路、55・・・積分回路、62・
・・MPU 、 64・・・〜晶、66・・・ROM 
0 特許出願人 トヨタ自動車株式会社 特許出願代理人 弁理士 w 本   朗 弁理士西舘和之 弁理士 山 口 昭 之 第9図 ステップ212(第4図)へ 第10図 開始
FIG. 1 is a diagram schematically showing an example of an internal combustion engine to which the present invention is applied, FIG. 2 is a diagram showing a detailed diagram of the control circuit shown in FIG. Flowchart of the processing routine, FIG. 1O is a time chart illustrating the operation of the processing routine. DESCRIPTION OF SYMBOLS 10... Cylinder block, 12... Knock sensor, 14... Distributor, 16, 18... Crank angle sensor, 20... Control circuit, 26... Igniter, 28... Ignition glove, 34, 54... ψ converter, 36.46... Input/output capo-1-148... Buffer and filter circuit, 50... Peak hold circuit, 51... Rectifier circuit, 55... Integrator circuit, 62・
・・MPU、64...~Akira、66...ROM
0 Patent Applicant Toyota Motor Corporation Patent Application Representative Patent Attorney w Hon Patent Attorney Kazuyuki Nishidate Patent Attorney Akira Yamaguchi Go to Step 212 (Figure 4) in Figure 9 Start in Figure 10

Claims (1)

【特許請求の範囲】[Claims] 1、点火後の所定期間におけるノックセンサの出力の最
大値を検出し、一方、誼ノックセンサ出力の平均値を検
出し、前記検出した最大値と該検出した平均値に応じて
定められる比較基準値とを比較してノッキング発生の有
無を検出し、該検出結果に応じてノッキング発生が低減
するように制御するノッキング制御方法において、前記
ノックセンサ出力の平均値の取り込み時期を前記最大値
検出期間の開始時期に同期せしめることを特徴とする内
燃機関の7ツキング制御方法。
1. Detecting the maximum value of the output of the knock sensor during a predetermined period after ignition, and detecting the average value of the output of the knock sensor, and a comparison standard determined according to the detected maximum value and the detected average value. In the knocking control method, the knocking control method detects whether or not knocking has occurred by comparing the knocking sensor output with the knocking sensor output value, and controls the knocking so as to reduce the knocking occurrence according to the detection result. 7. A method for controlling an internal combustion engine, characterized by synchronizing the start timing of the engine.
JP57150097A 1982-08-31 1982-08-31 Control of knocking of internal-combustion engine Pending JPS5939973A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57150097A JPS5939973A (en) 1982-08-31 1982-08-31 Control of knocking of internal-combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57150097A JPS5939973A (en) 1982-08-31 1982-08-31 Control of knocking of internal-combustion engine

Publications (1)

Publication Number Publication Date
JPS5939973A true JPS5939973A (en) 1984-03-05

Family

ID=15489442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57150097A Pending JPS5939973A (en) 1982-08-31 1982-08-31 Control of knocking of internal-combustion engine

Country Status (1)

Country Link
JP (1) JPS5939973A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56115164A (en) * 1980-02-18 1981-09-10 Nishishiba Denki Kk Fault locating device of rotary rectifier of brushless synchronous machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56115164A (en) * 1980-02-18 1981-09-10 Nishishiba Denki Kk Fault locating device of rotary rectifier of brushless synchronous machine

Similar Documents

Publication Publication Date Title
JP2948828B2 (en) Engine knock detection device
US4489691A (en) Method and apparatus for controlling the ignition timing of an internal combustion engine
US4612902A (en) Knocking control method and apparatus for internal combustion engine
US4699106A (en) Knock control system for internal combustion engines
US4541382A (en) Method and apparatus for ignition timing control of internal combustion engine
JPH0320592B2 (en)
JPS5939973A (en) Control of knocking of internal-combustion engine
JPH0379548B2 (en)
JPS5941666A (en) Ignition timing control method of internal-combustion engine
US5092160A (en) System and method for detecting engine knock in internal combustion engines
JPH0445655B2 (en)
JPS5830477A (en) Ignition timing adjusting method for vehicle's internal combustion engine
JPS63117170A (en) Ignition timing controller for internal combustion engine
JPS58172467A (en) Control of ignition timing for internal-combustion engine
JPS60263830A (en) Knocking detecting method of internal-combustion engine
JPH0343418Y2 (en)
JPH0320589B2 (en)
JPH06331501A (en) Knock detector for internal combustion engine
JPS58174162A (en) Method of controlling ignition timing for internal combustion engine
JPS6187943A (en) Fuel injection controller for internal-combusion engine
JPS5943969A (en) Ignition timing control method for internal-combustion engine
JP2507515B2 (en) Control device for internal combustion engine
JPS5853675A (en) Ignition timing control method of multi-cylinder internal-combustion engine
JPS62203021A (en) Method for detecting abnormality of knocking detector
JPS59107237A (en) Knocking discriminating method of multicylinder engine