Movatterモバイル変換


[0]ホーム

URL:


JPS60114737A - Knocking controller - Google Patents

Knocking controller

Info

Publication number
JPS60114737A
JPS60114737AJP22366683AJP22366683AJPS60114737AJP S60114737 AJPS60114737 AJP S60114737AJP 22366683 AJP22366683 AJP 22366683AJP 22366683 AJP22366683 AJP 22366683AJP S60114737 AJPS60114737 AJP S60114737A
Authority
JP
Japan
Prior art keywords
knocking
shift register
interrupt
output
knock
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
JP22366683A
Other languages
Japanese (ja)
Other versions
JPH0327057B2 (en
Inventor
Ichiro Maki
槇 一郎
Tsuneo Hikokubo
彦久保 恒雄
Shinichiro Tanaka
伸一郎 田中
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
Panasonic Holdings Corp
Original Assignee
Toyota Motor Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp, Matsushita Electric Industrial Co LtdfiledCriticalToyota Motor Corp
Priority to JP22366683ApriorityCriticalpatent/JPS60114737A/en
Publication of JPS60114737ApublicationCriticalpatent/JPS60114737A/en
Publication of JPH0327057B2publicationCriticalpatent/JPH0327057B2/ja
Grantedlegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

PURPOSE:To smooth the proceeding of a main routine with a lessened occurrence of the interrupt subroutine by operating a shift register with a knocking pulse to generate internal interrupt by a resulting overflow signal for knocking decision processing. CONSTITUTION:Each time eight knocking pulses are inputted into a shift register 26, an overflow signal is outputted from a shift register 27. An interrupt is generated by this overflow signal and shifted to an interrupt subroutine. Then, counts of a counting means 27 are multiplied eight times by a multiplying means 28 and the results of the multiplication of the multiplying means 28 is added to a hold value of the shift register 26 by an addition means 29. Then, the results of the addition by the addition means 29 provides knocking pulse number outputted from a comparator 6 during the period between ignitions. Thus, the results of addition of the addition means 29 are inputted into a knocking decision means 22 to enable the decision on the presence and degree of knocking.

Description

Translated fromJapanese

【発明の詳細な説明】産業上の利用分野本発明は、内燃機関のノッキングを検出し、ノンキング
を回避するノッキング制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a knocking control device that detects knocking in an internal combustion engine and avoids non-king.

従来例の構成とその問題点自動車等のエンジンがノッキングを起すと、ノッキング
特有の振動が発生する。このエンジンの振動をノッキン
グセンサで検出し、ノッキングセンサの出力信号を観測
することによりエンジンのノッキングを検知できる。ノ
ッキング制御装置は、ノッキングの有無、程度を検知し
、点火のタイミングを変えてノッキングを回避するだめ
の装置である。
Conventional configuration and its problems When the engine of an automobile or the like causes knocking, vibrations peculiar to knocking occur. Engine knocking can be detected by detecting this engine vibration with a knocking sensor and observing the output signal of the knocking sensor. A knocking control device is a device that detects the presence and extent of knocking and changes the ignition timing to avoid knocking.

ノッキングは、一定のクランク角範囲(以下ノックゲー
トと称する)で発生し、このノックゲートで得たノンク
センサ信号レベル(Vk)と、ノッキングが発生しにく
い一定のクランク角範囲(以下ノイズゲートと称する)
で得た信号を基にして得たノック判定レベル(vth)
とを比較し、■に′> Vth ・・・・・・・・・・
・印・・・・・・・ (11であれば、ノッキングであ
ると判定できる。
Knocking occurs within a certain crank angle range (hereinafter referred to as knock gate), and the non-knock sensor signal level (Vk) obtained at this knock gate and a certain crank angle range in which knocking is less likely to occur (hereinafter referred to as noise gate)
Knock judgment level (vth) obtained based on the signal obtained from
Compare with, and find that ■'>Vth ・・・・・・・・・・・・
- Mark... (If it is 11, it can be determined that it is knocking.

第1図は従来のノッキング制御装置の構成を示している
。第1図において、1はエンジンブロック等に取付けら
れたノッキングセンサであシ、このノッキングセンサ1
はエンジンの振動を電気信号に変換する。第3図(b)
の実線Blはノッキングセンサ1の出力信号を示してい
る。2は帯域フィルタであり、この帯域フィルタ2はノ
ッキングセンサ1の出力信号中より雑音成分を除去し、
ノンキングの特徴周波数近傍の周波数成分を抽出する。
FIG. 1 shows the configuration of a conventional knocking control device. In Fig. 1, 1 is a knocking sensor installed on the engine block, etc., and this knocking sensor 1
converts engine vibrations into electrical signals. Figure 3(b)
A solid line Bl indicates the output signal of the knocking sensor 1. 2 is a bandpass filter, and this bandpass filter 2 removes noise components from the output signal of the knocking sensor 1;
Extract frequency components near the non-king characteristic frequency.

3は帯域フィルタ2の出力を整流する整流器、4は整流
器3の出力を積分する積分器であり、帯域フィルタ2の
出力は上記整流器3、積分器4を介して整流・積分され
て平均化される。第3図(b)の破線B2は積分器4よ
り出力される平均化出力を示している。5はアナログス
イッチ5A、5Bからなるアナログスイッチ回路であり
、アナログスイッチ5A、5Bはマイクロコンピュータ
9よシ出力されるノックゲート信号、ノイズゲート信号
によりオン“、オフ制御される。6は比較器、7はディ
ジタル・アナログ(D/A ’)変換器で6り、D/A
変換器7はマイクロコンピュータ9より出力されるディ
ジタル信号をアナログ信号に変換して比較器6の一方の
入力端子に印加する。比較器6の他方の入力端子にはア
ナログスイッチ5Aを介して帯域フィルタ2の出力、又
はアナログスイッチ5Bを介して積分器4の出力が印加
され、D/A変換器7の出力と比較される。比較器7か
らは、第3図(e)に示すように、ノイズゲート信号(
第3図(C1における”HI+の期間)において、帯域
フィルタ2の出力(第3図(blのBl)がD/A変換
器7より出力されるノック判定レベルよシ大きくなる毎
にノックパルスを発生する。8はカウンタであり、この
カウンタ8は点火から次の点火までの期間における比較
器7の出力パルス数を計数する。カウンタ8で計数され
た計数値はマイクロコンピュータ9に入力され、この計
数値に基づいてノンキングの有無、程度が判定される。
3 is a rectifier that rectifies the output of the bandpass filter 2, and 4 is an integrator that integrates the output of the rectifier 3.The output of the bandpass filter 2 is rectified and integrated through the rectifier 3 and the integrator 4, and then averaged. Ru. A broken line B2 in FIG. 3(b) indicates the averaged output output from the integrator 4. 5 is an analog switch circuit consisting of analog switches 5A and 5B, and the analog switches 5A and 5B are controlled to be turned on and off by a knock gate signal and a noise gate signal output from the microcomputer 9. 6 is a comparator; 7 is a digital to analog (D/A') converter;
The converter 7 converts the digital signal output from the microcomputer 9 into an analog signal and applies it to one input terminal of the comparator 6. The output of the bandpass filter 2 via the analog switch 5A or the output of the integrator 4 via the analog switch 5B is applied to the other input terminal of the comparator 6, and is compared with the output of the D/A converter 7. . From the comparator 7, as shown in FIG. 3(e), the noise gate signal (
In FIG. 3 ("HI+ period in C1"), a knock pulse is generated every time the output of the bandpass filter 2 (Bl in FIG. 3 (bl) becomes larger than the knock judgment level output from the D/A converter 7). 8 is a counter, and this counter 8 counts the number of output pulses of the comparator 7 during the period from ignition to the next ignition.The count value counted by the counter 8 is input to the microcomputer 9, The presence or absence and degree of non-king is determined based on the counted value.

また比較器6の出力もマイクロコンピータ9に入力され
、ノッキング判定レベルが算出される。上記マイクロコ
ンピュータ9は入出力ポート101中央処理装置(CP
U)11、ランダムアクセスメモリ(RAM)12. 
リードオンリーメモリ(ROM)13等から構成されて
いる。
The output of the comparator 6 is also input to the microcomputer 9, and a knocking determination level is calculated. The microcomputer 9 has an input/output port 101 central processing unit (CP).
U) 11, Random Access Memory (RAM) 12.
It is composed of a read only memory (ROM) 13 and the like.

14はディストリビュータ内に設けられたピックアップ
コイルでアシ、このピックアップコイル14からは、エ
ンジンの各気筒の特定クランク角に対応した信号が出力
される。15はピックアップコイル14の出力を波形整
形して第3図(a)に示す矩形状の点火タイミング信号
を出力する波形整形回路である。なお第3図(alにお
ける矢印は点火タイミングを示す。16はノンキングの
有無、程度に応じて点火タイミング信号を遅角した信号
を増幅する増幅器、17はイグナイタである。
Reference numeral 14 denotes a pickup coil provided in the distributor. This pickup coil 14 outputs a signal corresponding to a specific crank angle of each cylinder of the engine. 15 is a waveform shaping circuit that shapes the waveform of the output of the pickup coil 14 and outputs a rectangular ignition timing signal shown in FIG. 3(a). Note that the arrow in FIG. 3 (al) indicates the ignition timing. 16 is an amplifier that amplifies a signal obtained by retarding the ignition timing signal depending on the presence or absence of non-king, and the degree of non-king, and 17 is an igniter.

第七図は第1図におけるマイクロコンピータ9の機能を
ブロックで示している。
FIG. 7 shows the functions of the microcomputer 9 in FIG. 1 in blocks.

第2図において、18はノッキング判定手段であシ、こ
のノッキング判定手段18はカウンタ8で計数された一
点火中のノックパルス数に基づいて、ノンキングの有無
、程度が判定される。19はノッキング判定レベル算出
手段であり、このノッキング判定レベル算出手段19は
、ノイズゲート信号(第2図(d))のH11の期間に
おける積分器4の出力を、例えば遂次比較法によりA/
D変換し、とのA/D変換された値Vadを、例えば次
式によシなまし計算することによって平均化して平均レ
ベルVmをめる。
In FIG. 2, reference numeral 18 denotes knocking determination means, which determines the presence or absence and degree of non-king based on the number of knock pulses during one ignition counted by the counter 8. Reference numeral 19 denotes a knocking judgment level calculating means, and this knocking judgment level calculating means 19 converts the output of the integrator 4 in the period H11 of the noise gate signal (FIG. 2(d)) into A/
The A/D converted value Vad is averaged to obtain an average level Vm by, for example, annealing the following equation.

Vmi −Vm(i−1)+(Vad−Vm(i−1)
)/W −・12)ここで、Vmiは今回の演算結果、
Vm(1t)は前回の演算結果、Wはなまじ係数である
。さらに、ノッキング判定レベル算出手段19では、演
算結果Vmiを用いて、次式によりノッキング判定レベ
ルvthを算出する。
Vmi - Vm (i-1) + (Vad - Vm (i-1)
)/W −・12) Here, Vmi is the current calculation result,
Vm(1t) is the previous calculation result, and W is the rough coefficient. Furthermore, the knocking determination level calculation means 19 uses the calculation result Vmi to calculate the knocking determination level vth according to the following equation.

Vth = Vmi X K + 08 ・・・・・・
・・・・・・・・・・・・・・(3)ここで、に、O8
はそれぞれ定数である。このノッキング判定レベル算出
手段19でめられたノッキング判定レベルがD/A変換
器7でアナログ信号に変換され、比較器6に入力される
ものである。
Vth = Vmi x K + 08...
・・・・・・・・・・・・・・・(3) Here, O8
are constants. The knocking determination level determined by the knocking determination level calculating means 19 is converted into an analog signal by the D/A converter 7 and input to the comparator 6.

20は周期演算手段であり、この周期演算手段20は、
波形整形回路15の出力信号(点火タイミング信号)に
基づいて、点火から次の点火までの周期が算出される。
20 is a period calculation means, and this period calculation means 20 is
Based on the output signal (ignition timing signal) of the waveform shaping circuit 15, the period from one ignition to the next ignition is calculated.

この周期演算手段20は、クロックパルス発生器と点火
タイミング信号の立上りタイミングでリセットされるカ
ウンタとから構成され、点火から次の点火までの間にク
ロックパルス発生器から出力されるクロックパルス数を
カウンタで計数するものである。21は周期演算手段2
0でめられた周期を基にして単位クランク角度(例えば
1°CA、)当りの時間を算出する単位クランク角度時
間演算手段である。
This period calculation means 20 is composed of a clock pulse generator and a counter that is reset at the rising timing of the ignition timing signal, and counts the number of clock pulses output from the clock pulse generator between one ignition and the next ignition. It is counted by . 21 is period calculation means 2
This unit crank angle time calculation means calculates the time per unit crank angle (for example, 1° CA) based on the period determined by 0.

22.23はそれぞれノックゲート信号発生手段、ノイ
ズゲート信号発生手段であり、ノックゲート信号発生手
段22からは、点火タイミングより予め設定された開始
クランク角度(例えば10゜CA)に相当する時間経過
後に立上り、点火タイミングよシ予め設定された終了ク
ランク角度(例えば70°CA)に相当する時間経過後
に立下るノックゲート信号(第3図(C))を発生する
。このノックゲート信号はアナログスイッチ5Aの制御
端子に印加される。一方、ノイズゲート信号発生手段2
3からは、点火タイミングより予め設定された開始クラ
ンク角度(例えば90°CA)に相当する時間経過後に
立上り、点火タイミングより予め設定された終了クラン
ク角度(例えば1.500CA)に相当する時間経過後
に立下るノイズゲート信号(第3図(d))を発生する
。このノイズゲート信号はアナログスイッチ5Bの制御
端子に印加される。
22 and 23 are a knock gate signal generating means and a noise gate signal generating means, respectively, and the knock gate signal generating means 22 generates a signal after a time corresponding to a preset starting crank angle (for example, 10° CA) has elapsed from the ignition timing. A knock gate signal (FIG. 3(C)) that rises and falls after a time period corresponding to a preset end crank angle (for example, 70° CA) of the ignition timing is generated. This knock gate signal is applied to the control terminal of analog switch 5A. On the other hand, the noise gate signal generating means 2
From No. 3, the engine rises after a time corresponding to a preset starting crank angle (for example, 90° CA) from the ignition timing has elapsed, and after a time corresponding to a preset ending crank angle (for example, 1.500 CA) from the ignition timing has elapsed. A falling noise gate signal (FIG. 3(d)) is generated. This noise gate signal is applied to the control terminal of analog switch 5B.

24は遅角制御手段であり、との遅角制御手段24はノ
ンキング判定手段18の判定結果に応じたクランク角度
だけ点火タイミング信号(第3図(a))を遅角する。
24 is a retard control means, and the retard control means 24 retards the ignition timing signal (FIG. 3(a)) by the crank angle according to the determination result of the non-king determination means 18.

このように、上記従来例ではカウンター8の計数値に基
づき、ノッキングの有無、程度を判定し、この判定結果
に基づいて点火タイミング信号を遅角してノッキングを
回避するものである。
In this manner, in the conventional example described above, the existence and degree of knocking is determined based on the count value of the counter 8, and the ignition timing signal is retarded based on the result of this determination to avoid knocking.

しかしながら、上記従来例においては、ノックパルスヲ
計数するカウンタ8をマイクロコンピ−タ9の外部に設
けるため、コストアンプになる欠点があった。
However, in the above conventional example, since the counter 8 for counting knock pulses is provided outside the microcomputer 9, there is a drawback that it becomes a cost amplifier.

第4図は第2の従来例を示し、また第5図は第2の従来
例のマイクロコンピュータ9の機能をブロックで示して
いる。
FIG. 4 shows a second conventional example, and FIG. 5 shows the functions of the microcomputer 9 of the second conventional example in blocks.

第2の従来例は第1図、第2図に示す第10従来例に対
してカウンタ8を除去した構成である。
The second conventional example has a configuration in which the counter 8 is removed from the tenth conventional example shown in FIGS. 1 and 2.

第2の従来例では、比較器6より出力されるノックパル
スを、マイクロコンピュータ9の割込端子25に印加し
、ノックパルスが印加される毎にメインルーチンから割
込みサブルーチンに移行し、この割込みサブルーチンに
おいてRAM12の所定領域に「1」を加算して第1の
従来例におけるカウンタ8の機能を達成している。
In the second conventional example, a knock pulse output from a comparator 6 is applied to an interrupt terminal 25 of a microcomputer 9, and each time a knock pulse is applied, a transition is made from a main routine to an interrupt subroutine. The function of the counter 8 in the first conventional example is achieved by adding "1" to a predetermined area of the RAM 12.

第6図はマイクロコンピュータ9の処理7o−の概略を
示している。第6図(a)はメインルーチン、第6図(
b)は割込みサブルーチンを示している。
FIG. 6 shows an outline of the processing 7o- of the microcomputer 9. Figure 6(a) shows the main routine; Figure 6(a) shows the main routine;
b) shows an interrupt subroutine.

第6図において、601はRAM12をクリアするステ
ップ、602はRAM12に初期値を設定するステップ
、603は回転数演算ステップ、604は点火時期演算
ステップ、6o5は割込許可ステップであシ、ここで比
較器6よジノツクパルスが発生していると、第6図(b
)に示す割込みサブルーチン°に移行する。割込みザブ
ルーチンでは、各種レジスタの内容をRAM12に退避
させ(ステップ606)、、RAM12の所定領域の内
容に「1」を加算しくステップ607)、レジスタを復
帰させ(ステップ608)、リターンステップ609を
経てメインルーチンに戻る。610は割込禁止ステップ
、611はノック判定ステップである。
In FIG. 6, 601 is a step for clearing the RAM 12, 602 is a step for setting an initial value in the RAM 12, 603 is a rotation speed calculation step, 604 is an ignition timing calculation step, and 6o5 is an interrupt permission step. If the comparator 6 generates a voltage pulse, the signal shown in Fig. 6 (b
) The process moves to the interrupt subroutine ° shown in ). In the interrupt subroutine, the contents of various registers are saved to the RAM 12 (step 606), ``1'' is added to the contents of a predetermined area of the RAM 12 (step 607), the registers are restored (step 608), and the process goes through the return step 609. Return to main routine. 610 is an interrupt prohibition step, and 611 is a knock determination step.

このように、第2の従来例ではノックパルス発生毎に割
込みサブルーチンに移行するものであった〇一般に、ノックパルスの周波数は6〜8KHzでされる
。またマイクロコンピータ9の一命令処理時間は一般に
2〜4μ(8)で金り、ノックパルスの周期125〜1
70μ方は決して長くない。したがって、第2の従来例
のように、ノックパルス発生毎に割込みサブルーチンを
実行する場合、マイクロコンピュータ9のメインプログ
ラムの進行が円滑に行なわれない欠点がある。
As described above, in the second conventional example, the interrupt subroutine is entered every time a knock pulse occurs.Generally, the frequency of the knock pulse is 6 to 8 KHz. In addition, the processing time for one command of the microcomputer 9 is generally 2 to 4 μ(8), and the period of the knock pulse is 125 to 1.
70μ is not long at all. Therefore, when the interrupt subroutine is executed every time a knock pulse occurs as in the second conventional example, there is a drawback that the main program of the microcomputer 9 cannot proceed smoothly.

発明の目的本発明は、上記第1の従来例のようにマイクロコンピー
タ外にカウンタを設ける必要がなく、かつ第2の従来例
のように、割込みサブルーチンの発生頻度が少なくメイ
ンルーチンの進行を円滑に行うことができるノッキング
制御装置を提供することを目的とするものである。
Purpose of the Invention The present invention eliminates the need to provide a counter outside the microcomputer as in the first conventional example, and reduces the frequency of occurrence of interrupt subroutines as in the second conventional example, allowing the main routine to proceed smoothly. The object of the present invention is to provide a knocking control device that can perform the following steps.

発明の構成本発明は上記目的を達成するために、マイクロコンピー
タに内蔵されたシフトレジスタを用い、・ノックパルス
によってこのシフトレジスタを動作させ、シフトレジス
タのオーバーフロー信号によって内部割込みを発生させ
て、ノッキング判定処理を実行するものである。
Structure of the Invention In order to achieve the above object, the present invention uses a shift register built into a microcomputer, operates the shift register by a knock pulse, and generates an internal interrupt by an overflow signal of the shift register to prevent knocking. This is for executing determination processing.

実施例の説明以下に本発明の一実施例について第7図、第8図ととも
に説明する。
DESCRIPTION OF EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. 7 and 8.

第7図において、9はマイクロコンピータ(松下電子工
業株式会社製、品番MN−1544)、26はマイクロ
コンピュータ9に内蔵された8ビツトのシフトレジスタ
であり、このシフトレジスタ26には、比較器6より出
力されるノックパルスが印加され、このノックパルスに
より順次シフトされるものである。
In FIG. 7, 9 is a microcomputer (manufactured by Matsushita Electronics Co., Ltd., product number MN-1544), 26 is an 8-bit shift register built into the microcomputer 9, and this shift register 26 includes a comparator 6. A knock pulse outputted from the knock pulse is applied, and the knock pulse is sequentially shifted by the knock pulse.

第8図は第7図のマイクロコンピュータの機能をブロッ
クで示している。第8図において、27は計数手段であ
り、この計数手段27はシフ)L/レジスタ6よシ出力
されるオーバーフロー信号を計数する。すなわち、ノッ
クパルスがシフトレジスタ26に8個入力される毎にシ
フトレジスタ27よジオ−バーフロー信号が出力される
。このオーバーフロー信号によシ割込みが発生し、割込
みサブルーチンに移行する。28は計数手段27の計数
値を8倍する乗算手段、29は乗算手段280乗算結果
と、シフトレジスタ26の保持値とを加算する加算手段
であり、この加算手段29による加算結果は、点火から
次の点火までの期間において比較器6よシ出力されたノ
ックパルス数となる。加算手段29の加算結果がノッキ
ング判定手段22に入力されてノッキングの有無、程度
が判定される。
FIG. 8 shows the functions of the microcomputer shown in FIG. 7 in blocks. In FIG. 8, reference numeral 27 denotes a counting means, and this counting means 27 counts the overflow signal output from the shift/L/register 6. That is, every time eight knock pulses are input to the shift register 26, the shift register 27 outputs a geobar flow signal. This overflow signal generates an interrupt, and the process moves to an interrupt subroutine. 28 is a multiplication means for multiplying the count value of the counting means 27 by 8; 29 is an addition means for adding the multiplication result of the multiplication means 280 and the value held in the shift register 26; the addition result by this addition means 29 is This is the number of knock pulses output by the comparator 6 during the period until the next ignition. The addition result of the addition means 29 is input to the knocking determination means 22, and the presence or absence and degree of knocking is determined.

第9図(a)、 (b)は上記実施例におけるマイクロ
コンピュータ9の処理フローの概略を示している。
FIGS. 9(a) and 9(b) schematically show the processing flow of the microcomputer 9 in the above embodiment.

なお、第9図(a)はメインルーチン、第9図(b)は
割込みサブルーチンを示している。
Note that FIG. 9(a) shows the main routine, and FIG. 9(b) shows the interrupt subroutine.

第9図において、901はRAMクリアステップ902
は初期値設定ステップ、903は回転数演算ステップ、
904は点火時期演算ステップ、905はシフトレジス
タ26をリセットするステップ、906は割込許可ステ
ップであシ、このステップ906よシ割込みサブルーチ
ンに移行する。すなわち、本実施例では、シフトレジス
タ26にノックパルスが8個入力されて、初めて割込み
サブル−チンに移行する。割込みサブルーチンでは、レ
ジスタ退避ステップ907を経過した後に、計数手段2
7に「1」を加算しくステップ908)、レジスタ復帰
ステップ909、リターンステップ910 を経スタ2
6の内容をRAM12の所定領域に記憶するステップ、
913は計数手段27の計数値を8倍し、さラニシフト
レジスタ26の保持値を加算するステップ、914はノ
ッキング判定ステップである。加算手段29の加算結果
がノッキング判定手段18に入力され、加算結果に応じ
てノッキングの有無、程度が判定さ′れる。
In FIG. 9, 901 is a RAM clear step 902
903 is an initial value setting step, 903 is a rotation speed calculation step,
904 is an ignition timing calculation step, 905 is a step for resetting the shift register 26, and 906 is an interrupt permission step. After step 906, the program proceeds to an interrupt subroutine. That is, in this embodiment, the interrupt subroutine is entered only after eight knock pulses are input to the shift register 26. In the interrupt subroutine, after the register saving step 907, the counting means 2
Add "1" to 7 (step 908), register return step 909, return step 910
storing the contents of 6 in a predetermined area of the RAM 12;
913 is a step of multiplying the count value of the counting means 27 by 8 and adding the value held in the Sarani shift register 26, and 914 is a knocking determination step. The addition result of the addition means 29 is input to the knocking determination means 18, and the presence or absence and degree of knocking is determined according to the addition result.

以上のように本実施例では、マイクロコンピュータ内蔵
のシフトレジスタを利用し、ノックパルスが8個入力さ
れて初めて割込みサブルーチンに移行するものであシ、
上記第2の従来例に比較して割込みサブルーチンに移行
する頻度が少なくなシ、メインルーチンが円滑に行なわ
れる利点がある。まだ、本実施例ではマイクロコンピー
タ外にカウンタを必要としないため、安価な装置が提供
できるものである。
As described above, in this embodiment, a shift register built into the microcomputer is used, and the transition to the interrupt subroutine is made only after eight knock pulses are input.
Compared to the second conventional example, there is an advantage that the frequency of transition to the interrupt subroutine is lower and the main routine is executed more smoothly. However, since this embodiment does not require a counter outside the microcomputer, an inexpensive device can be provided.

発明の効果(a)マイクロコンピュータ外にカウンタを必要としな
いため、安価に製造できる○(b) 内部割込みの頻度が少なくなるため、メインプ
ログラムの進行が円滑に行なえる0
Effects of the invention (a) No counter is required outside the microcomputer, so it can be manufactured at low cost. (b) The frequency of internal interrupts is reduced, so the main program can run smoothly.

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

第1図は従来のノッキング制御装置のブロック図、第2
図は第1図におけるマイクロコンビ一タを機能ブロック
で示す図、第3図は同装置の動作説明図、第4図は従来
の他のノッキング制御装置のブロック図、第5図は第4
図におけるマイクロコンビーータを機能ブロックで示す
図、第6図(a)、 (b)は同装置の処理フローの概
略を示す図、第7図は本発明の一実施例におけるノッキ
ング制御装置のブロック図、第8図は第7図におけるマ
イクロコンビーータを機能ブロックで示す図、第9図(
a)、 (b)は同装置の処理フローの概略を示す図で
ある。1・・・ノンキングセンサ、2・・・帯域フィルタ1.
3・・・整流器、4・・・積分器、5・・・アナログス
イッチ回路、6・・・比較器、7・・ディジタルアナロ
グ変換器、9・・・マイクロコンビーータ、10・・・
入出力ポート、11・・・中央処理装置(CPU)、1
2・・・ランダムアクセスメモリ(RAM)、13・・
・リードオンリーメモリ(FLOM)、14・・・ピッ
クアップコイル、15:・・波形整形回路、16・・・
増幅器、17・・・イグナイタ、18・・・ノッキング
判定手段、19・・・ノッキング判定レベル算出手段、
20・・・周期演算手段、21・・・単位クランク角度
時間演算手段、22・・・ノックゲート信号発生手段、
23・・・ノイズゲート信号発生手段、24・・・遅角
制御手段、26・・・シフトレジスタ、27・・・計数
手段、28・・・乗算手段、29・・加算手段。代理人の氏名 弁理士 中 尾 敏 男 ほか1名第6
図(DJ)(炉第9図(Ill、)
Figure 1 is a block diagram of a conventional knocking control device, Figure 2 is a block diagram of a conventional knocking control device.
The figure is a functional block diagram of the microcombinator shown in Fig. 1, Fig. 3 is an explanatory diagram of the operation of the same device, Fig. 4 is a block diagram of another conventional knocking control device, and Fig.
6(a) and 6(b) are diagrams showing an outline of the processing flow of the device, and FIG. 7 is a diagram showing a knocking control device according to an embodiment of the present invention. The block diagram, Fig. 8, is a functional block diagram of the microconbeater in Fig. 7, and Fig. 9 (
Figures a) and (b) are diagrams schematically showing the processing flow of the device. 1... Non-king sensor, 2... Bandpass filter 1.
3... Rectifier, 4... Integrator, 5... Analog switch circuit, 6... Comparator, 7... Digital to analog converter, 9... Micro combeater, 10...
Input/output port, 11...Central processing unit (CPU), 1
2... Random access memory (RAM), 13...
・Read-only memory (FLOM), 14:... Pickup coil, 15:... Waveform shaping circuit, 16...
amplifier, 17... igniter, 18... knocking determination means, 19... knocking determination level calculation means,
20... Period calculating means, 21... Unit crank angle time calculating means, 22... Knock gate signal generating means,
23... Noise gate signal generating means, 24... Retard control means, 26... Shift register, 27... Counting means, 28... Multiplying means, 29... Adding means. Name of agent: Patent attorney Toshio Nakao and 1 other person No. 6
Figure (DJ) (Furnace Figure 9 (Ill,)

Claims (1)

Translated fromJapanese
【特許請求の範囲】[Claims]ノッキングセンサの出力とノッキング判定レベルとを比
較し、ノッキングセンサ出力がノッキング判定レベルよ
り大きい場合にノックパルスを発生する比較器と、上記
ノックパルスによってシフトされるマイクロコンピュー
タ内蔵のシフトレジスタと、このシフトレジスタよシ出
力されるオーバーフロー信号を計数する計数手段と、こ
の計数手段による計数値に所定値を乗算する乗算手段と
、上記シフトレジスタに保持された数と上記乗算手段に
よる乗算結果とを加算する加算手段と、この加算手段の
加算結果に応じてノッキングの有無、程度を判定するノ
ンキング判定手段とからなるノンキング制御装置。
A comparator that compares the output of the knocking sensor with a knocking judgment level and generates a knocking pulse when the knocking sensor output is larger than the knocking judgment level, a shift register with a built-in microcomputer that is shifted by the knocking pulse, and this shift register. A counting means for counting the overflow signal outputted from the register, a multiplication means for multiplying the count value by the counting means by a predetermined value, and adding the number held in the shift register and the multiplication result by the multiplication means. A non-king control device comprising an adding means and a non-king determining means for determining the presence or absence and degree of knocking according to the addition result of the adding means.
JP22366683A1983-11-281983-11-28Knocking controllerGrantedJPS60114737A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP22366683AJPS60114737A (en)1983-11-281983-11-28Knocking controller

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP22366683AJPS60114737A (en)1983-11-281983-11-28Knocking controller

Publications (2)

Publication NumberPublication Date
JPS60114737Atrue JPS60114737A (en)1985-06-21
JPH0327057B2 JPH0327057B2 (en)1991-04-12

Family

ID=16801744

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP22366683AGrantedJPS60114737A (en)1983-11-281983-11-28Knocking controller

Country Status (1)

CountryLink
JP (1)JPS60114737A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5202702A (en)*1985-04-081993-04-13Canon Kabushiki KaishaInk jet recording apparatus and a method of cleaning a recording head used in the apparatus
US5552811A (en)*1992-06-261996-09-03Canon Kabushiki KaishaLiquid discharging apparatus and printing method using such an apparatus
US6082846A (en)*1985-04-082000-07-04Canon Kabushiki KaishaInk jet recording with recovery operation and associated test printing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5202702A (en)*1985-04-081993-04-13Canon Kabushiki KaishaInk jet recording apparatus and a method of cleaning a recording head used in the apparatus
US6082846A (en)*1985-04-082000-07-04Canon Kabushiki KaishaInk jet recording with recovery operation and associated test printing
US5552811A (en)*1992-06-261996-09-03Canon Kabushiki KaishaLiquid discharging apparatus and printing method using such an apparatus

Also Published As

Publication numberPublication date
JPH0327057B2 (en)1991-04-12

Similar Documents

PublicationPublication DateTitle
JPS6337336B2 (en)
US4676212A (en)Ignition timing control apparatus for an internal combustion engine having a plurality of cylinders
JPS628737B2 (en)
US5038735A (en)Knock suppression apparatus and method for a multi-cylinder internal combustion engine
US4539957A (en)Ignition timing control system for internal combustion engines
JPH03134266A (en)Knocking control device for engine
US4445479A (en)Ignition timing control apparatus with knock sensor
US4428344A (en)Engine knock anticipation
JPS60114737A (en)Knocking controller
US4452206A (en)Ignition timing control system for internal combustion engines
JPS60249654A (en)Knocking controller
JP2639184B2 (en) Sensor fail detection method for knock control device
JP2639183B2 (en) Sensor fail detection method for knock control device
JPS61108873A (en)Knocking control device
JPS60116865A (en)Apparatus for controlling engine knocking
JPS5896174A (en)Ignition timing controller for internal-combustion engine
JPS60247058A (en)Knocking controller
JPS635169A (en)Knocking control device for internal combustion engine
JP2639181B2 (en) Sensor fail detection method for knock control device
JPH0460156A (en)Sensor fail detecting method for knocking control device
JPS6019964A (en)Trouble discriminating method in knocking controller
JP2696453B2 (en) Knocking control device
JPS61200379A (en) Internal combustion engine ignition timing control device
JP2507515B2 (en) Control device for internal combustion engine
JPH05321746A (en)Knocking control device

[8]ページ先頭

©2009-2025 Movatter.jp