JPH01219352A - Ignition timing controller for engine - Google Patents

Ignition timing controller for engine

Info

Publication number
JPH01219352A
JPH01219352A JP4823788A JP4823788A JPH01219352A JP H01219352 A JPH01219352 A JP H01219352A JP 4823788 A JP4823788 A JP 4823788A JP 4823788 A JP4823788 A JP 4823788A JP H01219352 A JPH01219352 A JP H01219352A
Authority
JP
Japan
Prior art keywords
ignition timing
engine
load
output
time
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
JP4823788A
Other languages
Japanese (ja)
Inventor
Yoshiaki Sugano
菅野 佳明
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4823788A priority Critical patent/JPH01219352A/en
Publication of JPH01219352A publication Critical patent/JPH01219352A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make proper ignition timing settable to any vibration in load by performing no compensation for the ignition timing as long as the specified time since a load change has been detected. CONSTITUTION:A controller 30 compensates ignition timing from a deviation between mean speed and momentary speed of an engine 1 at idling state when an idle switch 12A is turned to ON. Here a microcomputer 32 erects a flag in response to a signal read from an air-conditioning switch 19 via a driver 40, and judges of whether load of the engine 1 is changed or not by comparison between both states of the last and this time flags. If the load changed, lag time is set to a timer 38, and the ignition timing is made so as not to be compensated even if it is at the time of the idling state. With this constitution, since a speed upping rate is not checked by timing delay compensation, the engine is reachable to the required speed so quickly.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、エンジンの負荷及び回転数に基づいてエン
ジンの点火時期を制御するエンジンの点火時期制御装置
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an engine ignition timing control device that controls the ignition timing of an engine based on the load and rotational speed of the engine.

〔従来の技術〕[Conventional technology]

従来のこの種の装置は、エンジンの回転数に応じた回転
信号を発生する回転信号発生手段とこの回転信号を入力
し、瞬時回転数及び平均回転数を計算する回転数演算手
段と上記エンジンの負荷を検出する負荷検出手段と上記
エンジンの負荷及び回転数に基づいて上記エンジンの点
火時期を制御する点火時期制御手段と上記平均回転数と
瞬時回転数との偏差により上記点火時期を補正する補正
手段とを備え、例えばアイドル時の回転数を上記補正手
段による上記点火時期の補正により安定化させていた。
A conventional device of this type includes a rotation signal generating means for generating a rotation signal corresponding to the engine rotation speed, a rotation speed calculation means for inputting this rotation signal and calculating an instantaneous rotation speed and an average rotation speed, and a rotation speed calculation means for inputting this rotation signal and calculating an instantaneous rotation speed and an average rotation speed of the engine. load detection means for detecting a load; ignition timing control means for controlling the ignition timing of the engine based on the load and rotational speed of the engine; and correction for correcting the ignition timing based on the deviation between the average rotational speed and the instantaneous rotational speed. For example, the rotational speed during idling is stabilized by correcting the ignition timing by the correcting means.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のエンジンの点火時期制御装置は以上のように構成
されているので、例えばターラアイドルアップ等により
上記エンジンの回転数を上昇方向に制御する場合瞬時回
転数の上昇変化に対して平均回転数の追従が遅れるため
に上記補正手段により上記点火時期を補正すると点火時
期を遅角方向に制御してしまい、回転数の上昇率を低下
させる方向に制御するので負荷変動に対応して適当な点
火時期に設定できなく素早く所要の回転数に制御するこ
とができない等の課題があった。
Since the conventional engine ignition timing control device is configured as described above, when controlling the engine speed in the upward direction by, for example, increasing the idle speed, the average speed changes in response to an increase in the instantaneous speed. If the ignition timing is corrected by the correction means due to the delay in tracking, the ignition timing will be controlled in a retarded direction, and the rate of increase in rotational speed will be controlled in a direction that reduces the ignition timing, so that an appropriate ignition timing can be adjusted in response to load fluctuations. There were problems such as being unable to set the rotation speed quickly and controlling the rotation speed to the required speed.

この発明は上記のような課題を解決するためになされた
もので、負荷が変化した時から所定時間は点火時期の補
正をしないようにして適当な点火時期を設定することが
できるエンジンの点火時期制御装置を得ることを目的と
する。
This invention was made in order to solve the above-mentioned problems, and provides an engine ignition timing that can set an appropriate ignition timing by not correcting the ignition timing for a predetermined period of time after the load changes. The purpose is to obtain a control device.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るエンジンの点火時期制御装置は、平均回
転数と瞬時回転数との偏差により点火時期を補正する補
正手段を備えた装置において、エンジンの負荷が変化し
たことを検出する負荷変化検出手段を設け、補正手段は
負荷変化検出時から所定時間点火時期の補正を行わない
ようにしたものである。
An engine ignition timing control device according to the present invention is a device equipped with a correction means for correcting ignition timing based on a deviation between an average rotation speed and an instantaneous rotation speed, and a load change detection means for detecting a change in engine load. The correcting means does not correct the ignition timing for a predetermined period of time after detecting the load change.

(作 用) この発明におけるエンジンの点火時期制御装置は、クー
ラアイドルアップ等により負荷が変化した時に補正手段
がその時から所定時間点火時期を遅角方向に補正しない
ために回転上昇率を抑制することなく素早く所要の回転
数に到達させることができる。
(Function) The engine ignition timing control device of the present invention suppresses the rotational increase rate when the load changes due to cooler idle up, etc., so that the correction means does not retard the ignition timing for a predetermined period of time from that time. The required rotation speed can be reached quickly without any problems.

〔実施例〕〔Example〕

以下、この発明の一実施例を図面と共に説明する。第1
図はこの発明の一実施例によるエンジンの点火時期制御
装置の構成を示し、lは例えば自動車等に搭載される周
知のエンジン、1oは後述のカルマン渦式エアフローセ
ンサ(以下、AFSと称す、)13の上流側に配設され
たエアクリーナ、11はサージタンク、12はスロット
ルバルブ、12Aはアイドル時のスロットルバルブ12
の位置を検出するアイドルスイッチ、13は吸気量を検
出するAFS、14はインジェクタ、15は吸気管、1
6は排気管である。AFS 13はエンジン1に吸入さ
れる空気量に応じた周波数のパルスを出力し、クランク
角センサ17はエンジン1の回転に応じてクランク角信
号としてのパルス(例えばパルスの立上りから次の立上
りまでクランク角で180°とする。)と例えばクラン
ク角l°毎の1°信号を出力する。18はエンジン1の
冷却水温を検出する水温センサ、19は自動車のクーラ
等の空調機に接続され、オン時にその空調機をエンジン
1に連結して作動させるための空調スイッチである。2
0はAN検出手段で、AFS13の出力とクランク角セ
ンサ17の出力とにより、エンジン1の所定クランク角
度間に入るAFS13の出力パルス数を計数する。21
は制御手段で、アイドルスイッチ12Aの出力、エンジ
ン1の所定のクランク角を検出するクランク角センサ1
7の出力、水温センサ18の出力、空調スイッチ19の
出力及びAN検出手段20の出力を入力され、エンジン
1の所定のクランク角区間の吸気量に対応してインジェ
クタ14の駆動時間を制御し且つその吸気量と回転数に
対応して点火コイル22の通電を制御し、又、アイドル
状態時に平均回転数と瞬時回転数との偏差から点火時期
を補正し、これによってエンジン1に供給する燃料量及
び点火時期を制御する。又、この制御手段21は例えば
空調スイッチ19がオンされてエンジン1の負荷が変化
した時から所定時間内ではアイドルスイッチ12Aがオ
ン時のアイドル状態時であっても、算出したエンジン1
の平均回転数と瞬時回転数との偏差から点火時期を補正
することをしないように構成されている。又、点火コイ
ル22はその出力電圧を配電器23を介して点火プラグ
24に供給して点火を行う。
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure shows the configuration of an engine ignition timing control device according to an embodiment of the present invention, where 1 is a well-known engine installed in, for example, an automobile, and 1o is a Karman vortex air flow sensor (hereinafter referred to as AFS), which will be described later. 11 is a surge tank, 12 is a throttle valve, 12A is a throttle valve 12 at idle.
13 is an AFS that detects the intake air amount, 14 is an injector, 15 is an intake pipe, 1
6 is an exhaust pipe. The AFS 13 outputs a pulse with a frequency corresponding to the amount of air taken into the engine 1, and the crank angle sensor 17 outputs a pulse as a crank angle signal according to the rotation of the engine 1 (for example, a crank angle signal from one pulse rise to the next rise). For example, a 1° signal is output for every l° of crank angle. 18 is a water temperature sensor that detects the cooling water temperature of the engine 1, and 19 is an air conditioning switch that is connected to an air conditioner such as a cooler of an automobile, and connects the air conditioner to the engine 1 and operates it when turned on. 2
0 is an AN detection means that counts the number of output pulses of the AFS 13 that fall between a predetermined crank angle of the engine 1 based on the output of the AFS 13 and the output of the crank angle sensor 17. 21
is a control means, which includes a crank angle sensor 1 that detects the output of the idle switch 12A and a predetermined crank angle of the engine 1;
7, the output of the water temperature sensor 18, the output of the air conditioning switch 19, and the output of the AN detection means 20, and controls the driving time of the injector 14 in accordance with the intake air amount in a predetermined crank angle section of the engine 1. The energization of the ignition coil 22 is controlled according to the intake air amount and the rotation speed, and the ignition timing is corrected based on the deviation between the average rotation speed and the instantaneous rotation speed during the idle state, thereby the amount of fuel supplied to the engine 1. and control ignition timing. Further, the control means 21 controls the calculated engine 1 even if the idle switch 12A is in the idle state when the idle switch 12A is turned on within a predetermined period of time after the air conditioning switch 19 is turned on and the load on the engine 1 changes.
The ignition timing is not corrected based on the deviation between the average rotational speed and the instantaneous rotational speed. Further, the ignition coil 22 supplies its output voltage to the ignition plug 24 via the power distributor 23 to ignite the spark plug 24 .

第2図はこの実施例のより具体的構成を示し、30はア
イドルスイッチ12A、AFS 13.水温センサ18
.空調スイッチ19及びクランク角センサ17の出力を
入力され、エンジン1の各気筒毎に設けられた4つのイ
ンジェクタ14及び点火コイル22を制御する制御装置
であり、制御装置30は第1図のAN検出手段2o及び
制御手段21に相当し、CPυ31A、第3図と第5図
と第6図のフローをプログラムで格納していると共に各
種判定用や演算用のデータを予め格納しているROM3
1 B、ワークメモリとしてのRAM31C等を有する
マイクロコンピュータ(以下、マイコンと称す。)32
等により構成される。又、アイドルスイッチ12Aはマ
イコン32の入力端子P1に接続されている。AFS 
13の出力端子はカウンタ33及びマイコン32の入力
端子P3に接続される。34は水温センサ18とA/D
コンバータ35との間に接続されたインタフェースで、
A/Dコンバータ35の出力はマイコン32に入力され
るように構成されている。36は波形整形回路で、クラ
ンク角センサ17の出力が入力され、その出力はマイコ
ン32の割込入力端子P4及びカウンタ37に入力され
る。カウンタ37の出力もマイコン32に入力されるよ
うに接続されている。又、38はマイコン32の割込入
力端子P5に接続されたタイマ、39はバッテリ電圧v
1をA/D変換し、マイコン32に入力するA/Dコン
バータ、40は空調スイッチ19とマイコン32との間
に接続されたドライバである。43はマイコン32とド
ライバ44との間に設けられたタイマで、ドライバ44
の出力は各インジェクタ14に接続される。45はクラ
ンク角センサ17の出力を入力されるインタフェースで
、クランク角の第2のパルスである10信号をタイマ4
6゜47に入力する。タイマ47は波形整形回路36の
出力及びマイコン32の出力も入力され、その出力はタ
イマ46及びD−F/F4Bのリセット端子に入力し、
タイマ46はマイコン32の出力も入力されてその出力
はD−F/F 4 Bのセット端子に入力する。D−F
/F48の出力はドライバ49を介して点火コイル22
に入力される。
FIG. 2 shows a more specific configuration of this embodiment, where 30 indicates an idle switch 12A, an AFS 13. Water temperature sensor 18
.. The control device receives the outputs of the air conditioning switch 19 and the crank angle sensor 17, and controls the four injectors 14 and ignition coils 22 provided for each cylinder of the engine 1. A ROM 3 which corresponds to the means 2o and the control means 21, stores the flowcharts of CPυ31A, FIGS. 3, 5, and 6 as a program, and also stores data for various judgments and calculations in advance.
1 B, a microcomputer (hereinafter referred to as a microcomputer) 32 having RAM 31C as a work memory, etc.
It is composed of etc. Further, the idle switch 12A is connected to the input terminal P1 of the microcomputer 32. AFS
The output terminal 13 is connected to the counter 33 and the input terminal P3 of the microcomputer 32. 34 is the water temperature sensor 18 and A/D
An interface connected to the converter 35,
The output of the A/D converter 35 is configured to be input to the microcomputer 32. 36 is a waveform shaping circuit to which the output of the crank angle sensor 17 is input, and its output is input to the interrupt input terminal P4 of the microcomputer 32 and the counter 37. The output of the counter 37 is also connected to be input to the microcomputer 32. Further, 38 is a timer connected to the interrupt input terminal P5 of the microcomputer 32, and 39 is the battery voltage v.
1 is an A/D converter which converts the signal into digital data and inputs it to the microcomputer 32; 40 is a driver connected between the air conditioning switch 19 and the microcomputer 32; 43 is a timer provided between the microcomputer 32 and the driver 44;
The output of is connected to each injector 14. 45 is an interface to which the output of the crank angle sensor 17 is input, and the 10 signal which is the second pulse of the crank angle is sent to the timer 4.
Enter 6°47. The output of the waveform shaping circuit 36 and the output of the microcomputer 32 are also input to the timer 47, and the output is input to the reset terminal of the timer 46 and the D-F/F4B.
The output of the microcomputer 32 is also input to the timer 46, and the output is input to the set terminal of DF/F4B. D-F
The output of /F48 is sent to the ignition coil 22 via the driver 49.
is input.

次に、上記構゛成の動作を説明する。アイドルスイッチ
12Aの出力はマイコン32の入力端子PLに入力され
る。AFS13の出力はカウンタ33に入力され、カウ
ンタ33はAFS13の出力の立上りエツジ間の周期を
測定する。マイコン32はAFS 13の出力の立上り
を割込入力端子P3に入力され、AFS 13の出力パ
ルス周期毎に割込処理を行い、カウンタ33により計測
された周期を測定する。又、水温センサ18の出力はイ
ンタフェース34により電圧に変換され、A/Dコンバ
ータ35により所定時間毎にデジタル値に変換されてマ
イコン32に取込まれる。クランク角センサ17の出力
は波形整形回路36を介してマイコン32の割込入力端
子P4.タイマ47及びカウンタ37に入力される。マ
イコン32はクランク角センサ17の出力の立上り毎に
割込処理を行い、この立上り間の周期をカウンタ37の
出力から検出する。タイマ38は所定時間毎にマイコン
32の割込入力端子P5へ割込信号を発生する。
Next, the operation of the above configuration will be explained. The output of the idle switch 12A is input to the input terminal PL of the microcomputer 32. The output of AFS 13 is input to a counter 33, which measures the period between rising edges of the output of AFS 13. The microcomputer 32 receives the rising edge of the output of the AFS 13 at an interrupt input terminal P3, performs interrupt processing every output pulse period of the AFS 13, and measures the period measured by the counter 33. Further, the output of the water temperature sensor 18 is converted into a voltage by an interface 34, converted into a digital value by an A/D converter 35 at predetermined time intervals, and is input to the microcomputer 32. The output of the crank angle sensor 17 is sent to the interrupt input terminal P4 of the microcomputer 32 via the waveform shaping circuit 36. It is input to the timer 47 and counter 37. The microcomputer 32 performs an interrupt process every time the output of the crank angle sensor 17 rises, and detects the period between these rises from the output of the counter 37. The timer 38 generates an interrupt signal to the interrupt input terminal P5 of the microcomputer 32 at predetermined intervals.

A/Dコンバータ39はバフテリ電圧■、をA/D変換
し、マイコン32は所定時間毎にこのバッテリ電圧のデ
ータを取込む、空調スイッチ190オン・オフ信号はド
ライバ40を介してマイコン32に入力される。タイマ
43はマイコン32によりプリセットされ、マイコン3
2の出カポ−)P2よりトリガされて所定幅のパルスを
出力し、この出力がドライバ44を介してインジェクタ
14を駆動する。又、マイコン32はタイマ46に通電
角T′、を設定するとともにタイマ47に点火時期Aを
設定する。
The A/D converter 39 A/D converts the battery voltage ■, and the microcomputer 32 takes in data on this battery voltage at predetermined time intervals.The air conditioning switch 190 on/off signal is input to the microcomputer 32 via the driver 40. be done. The timer 43 is preset by the microcomputer 32, and
The output capacitor P2 outputs a pulse of a predetermined width, and this output drives the injector 14 via the driver 44. Further, the microcomputer 32 sets the energization angle T' in the timer 46 and sets the ignition timing A in the timer 47.

第1O図において、(a)はクランク角センサ17のク
ランク角信号、(ハ)はクランク角センサ17の1°信
号、(C)はタイマ47の動作状態、(ロ)はタイマ4
6の動作状態、(e)はD−F/F48のQ出力、(f
)は点火コイル22の通電電流を夫々示す、第10図に
示すように、タイマ46.47はクランク角センサ17
から出力される1°信号をカウントし、0になった時D
−F/F48へ信号を出力する。
In FIG. 1O, (a) is the crank angle signal of the crank angle sensor 17, (c) is the 1° signal of the crank angle sensor 17, (C) is the operating state of the timer 47, and (b) is the timer 4.
6 operating state, (e) is the Q output of DF/F48, (f
) respectively indicate the current flowing through the ignition coil 22.As shown in FIG.
Count the 1° signal output from D and when it reaches 0
-Output a signal to F/F48.

タイマ47はクランク角信号の立上りでカウントを開始
し、OになるとD−F/F4Bをリセットし、点火コイ
ル22の電流を遮断する。タイマ46はタイマ47が0
になワたときに1′″信号によりカウントダウンを開始
し、0になるとD−F/F48をセットし、点火コイル
22に通電する。
The timer 47 starts counting at the rising edge of the crank angle signal, and when it reaches O, resets the DF/F4B and cuts off the current to the ignition coil 22. Timer 46 is 0 when timer 47 is 0.
When the engine is in the wrong position, a countdown is started by a 1'' signal, and when it reaches 0, the D-F/F 48 is set and the ignition coil 22 is energized.

次に、マイコン32内のCPU31Aの動作を第3図〜
第8図により説明する。第3図はCPU31Aのメイン
プログラムを示し、CPU31Aにリセット信号が入力
されると、ステップ100でRAM31C1入出力ポー
ト等をイニシャライズし、ステップ101で水温センサ
18の出力をA/D変換し、RAM31 CにWTとし
て記憶する。ステップ102ではバッテリ電圧V、をA
/D変換してRAM31 CへVBとして記憶する。ス
テップ103ではクランク角センサ17の周期T8より
30/Tえの計算を行い、回転数Neを算出する。ステ
ップ104では後述の負荷データANと回転数Neより
AN−Ne/30の計算を行い、AFS13の出力周波
数Faを計算する。ステップ105では出力周波数Fa
より第4図に示すようにFaに対して設定されたflよ
り基本駆動時間変換係数に7を計算する。ステップ10
6では変換係数に2を水温データWTにより補正し、駆
動時間変換係数に1 としてRAM31 Cに記憶する
。ステップ107ではバッテリ電圧データVBより予め
ROM31 Bに記憶されたデータテーブルf3をマツ
ピングし、ムダ時間T、を計算してRAM31 Cに記
憶する。ステップ108では回転数Neで点火コイル2
2の通電角T、@を計算し、ステップ109でT’ o
−= 180− T ohを計算し、ステップ110で
タイマ46へT’ DHを設定する。
Next, the operation of the CPU 31A in the microcomputer 32 is shown in FIG.
This will be explained with reference to FIG. FIG. 3 shows the main program of the CPU 31A. When a reset signal is input to the CPU 31A, the RAM 31C1 input/output port etc. are initialized in step 100, the output of the water temperature sensor 18 is A/D converted, and the RAM 31C is is stored as WT. In step 102, the battery voltage V, is set to A
/D conversion and storage in RAM31C as VB. In step 103, 30/T is calculated from the cycle T8 of the crank angle sensor 17 to calculate the rotational speed Ne. In step 104, AN-Ne/30 is calculated from the load data AN and the rotational speed Ne, which will be described later, and the output frequency Fa of the AFS 13 is calculated. In step 105, the output frequency Fa
Therefore, as shown in FIG. 4, a basic driving time conversion coefficient of 7 is calculated from fl set for Fa. Step 10
In step 6, the conversion coefficient is corrected by 2 using the water temperature data WT, and the driving time conversion coefficient is set to 1 and stored in the RAM 31C. In step 107, the data table f3 stored in advance in the ROM 31B is mapped from the battery voltage data VB, and the wasted time T is calculated and stored in the RAM 31C. In step 108, the ignition coil 2 is turned on at the rotational speed Ne.
Calculate the conduction angle T, @ of 2, and in step 109 T' o
-=180- T oh is calculated, and T' DH is set in the timer 46 in step 110.

ステップ110の処理後は再びステップ101の処理を
くり返す。
After the process in step 110, the process in step 101 is repeated again.

第5図は割込入力端子P3への割込入力即ちAFS13
の出力信号に対する割込処理を示す。
Figure 5 shows the interrupt input to the interrupt input terminal P3, that is, AFS13.
The interrupt processing for the output signal of is shown.

ステップ201ではカウンタ33の出力Tvを検出し、
カウンタ33をクリアする。このT1はAFS13の出
力の立上り間の周期である。ステップ202では周期T
FをAFS13の出力パルス周期TAとしてRAM31
 Cに記憶し、ステップ203では積算パルスデータP
7に残りパルスデータP、を加算し、新しい積算パルス
データP11とする。この積算パルスデータP1はクラ
ンク角センサ17の立上り間に出力されるAFS 13
の出力パルス数を積算するものであり、AFS13の1
パルスに対し処理の都合上156倍して扱っている。ス
テップ204では残りパルスデータP。
In step 201, the output Tv of the counter 33 is detected,
Clear counter 33. This T1 is the period between the rises of the output of the AFS13. In step 202, the period T
RAM31 where F is the output pulse period TA of AFS13.
In step 203, the integrated pulse data P
The remaining pulse data P is added to 7 to obtain new integrated pulse data P11. This integrated pulse data P1 is output from the AFS 13 during the rising edge of the crank angle sensor 17.
This is to integrate the number of output pulses of 1 of AFS13.
For convenience of processing, the pulse is multiplied by 156. In step 204, the remaining pulse data P.

に156を設定して割込処理を終了する。is set to 156, and the interrupt processing ends.

第6図(A)及び第6図(B)はクランク角センサ17
の出力によりマイコン32の割込入力端子P4に割込信
号が発生した場合のCPU31Aの割込処理を示す、ス
テップ300ではクランク角センサ17のクランク角信
号の立上り間の周期をカウンタ37より読み込み、周期
T、lとしてRAM31Cに記憶し、カウンタ37をク
リヤする。ステップ301Aで周期積算値TTっに周期
T1を加算してTi8を更新してRAM31Cに記憶す
る。
FIG. 6(A) and FIG. 6(B) show the crank angle sensor 17.
In step 300, the period between the rises of the crank angle signal of the crank angle sensor 17 is read from the counter 37, and It is stored in the RAM 31C as periods T and l, and the counter 37 is cleared. At step 301A, the cycle T1 is added to the cycle integrated value TT to update Ti8 and store it in the RAM 31C.

ステップ301Bで周期積算回数N、に1を加算してN
1を更新してRAM31 Cに記憶する。ステップ30
2で周期T1内にAFS13の出力パルスがある場合は
、ステップ303でその直前のAFS13の出力パルス
の時刻t。lとクランク角センサ17の今回の割込時刻
taxの時間差Δt−tow−to+を計算し、これを
周期T、とし、周期Tつ内にAFS13の出力パルスが
無い場合は、ステップ304で周期T1を周期T、とす
る。ステップ305では156 X T s/ T a
の計算より、時間差ΔtをAFS13の出力パルスデー
タΔPに変換する。即ち、前回のAFS 13の出力パ
ルス周期と今回のAFS13の出力パルス周期が同一と
仮定してパルスデータΔPを計算する。ステップ306
ではパルスデータΔPが156以下ならばステップ30
8へ、大きければステップ307でΔPを156にクリ
ップする。ステップ308では残りパルスデータPIl
からパルスデータΔPを減算し、新しい残りパルスデー
タPDとする。
In step 301B, 1 is added to the number of cycle accumulations N, and N
1 is updated and stored in the RAM 31C. Step 30
2, if there is an output pulse of the AFS 13 within the period T1, the time t of the immediately preceding output pulse of the AFS 13 is determined in step 303. The time difference Δt-tow-to+ between l and the current interrupt time tax of the crank angle sensor 17 is calculated, and this is set as the period T. If there is no output pulse of the AFS 13 within the period T, the period T1 is calculated in step 304. Let be period T. In step 305, 156 X T s/Ta
By calculating the time difference Δt, the time difference Δt is converted into the output pulse data ΔP of the AFS 13. That is, the pulse data ΔP is calculated assuming that the previous output pulse period of the AFS 13 and the current output pulse period of the AFS 13 are the same. Step 306
Then, if the pulse data ΔP is 156 or less, step 30
8, and if it is larger, ΔP is clipped to 156 in step 307. In step 308, the remaining pulse data PIl
The pulse data ΔP is subtracted from the pulse data ΔP to obtain new remaining pulse data PD.

ステップ309では残りパルスデータPDが0以上であ
ればステップ313へ、他の場合にはパルスデータΔP
の計算値がAFS13の出力パルスよりも大きすぎるの
でステップ310でパルスデータΔPをP、と同じにし
、ステップ312で残りパルスデータP、をゼロにする
。ステップ313では積算パルスデータPいにパルスデ
ータΔPを加算し、新しい積算パルスデータP、lとす
る。このデータPIが、今回のクランク角センサ17の
立上り間にAFS 13が出力したと考えられるパルス
数に相当する。ステップ314ではクランク角センサ1
7の前回の立上りまでに計算された負荷データANと積
算パルスデータPa とフィルタ定数に+ 、ki と
より、kl、AN+に2・P、の計算を行い、結果を今
回の新しい負荷データANとする、ステップ315では
この負荷データANが所定値αより大きければステップ
316でαにクリップし、エンジン1の全開時において
も負荷データANが実際の値よりも大きくなりすぎない
ようにし、そうでなければステップ317に進む。
In step 309, if the remaining pulse data PD is 0 or more, the process goes to step 313; otherwise, the pulse data ΔP
Since the calculated value of is larger than the output pulse of the AFS 13, the pulse data ΔP is made equal to P in step 310, and the remaining pulse data P is made zero in step 312. In step 313, the pulse data ΔP is added to the integrated pulse data P to obtain new integrated pulse data P, l. This data PI corresponds to the number of pulses that the AFS 13 is thought to have output during the current rise of the crank angle sensor 17. In step 314, the crank angle sensor 1
From the load data AN calculated up to the previous rise of 7, the integrated pulse data Pa, and the filter constants + and ki, calculate kl and 2·P for AN+, and use the results as the new load data AN. In step 315, if this load data AN is larger than a predetermined value α, it is clipped to α in step 316 to prevent the load data AN from becoming too large than the actual value even when the engine 1 is fully open. If so, proceed to step 317.

ステップ317で積算パルスデータpHをクリヤする。In step 317, the integrated pulse data pH is cleared.

ステップ318では負荷データANと駆動時間変換係数
に+ 、ムダ時間Tllより駆動時間データT+−AN
、に++Toの計算を行い、ステップ319で駆動時間
データT、をタイマ43に設定し、ステップ320でタ
イマ43をトリガすることによりデータT、に応じてイ
ンジェクタ14が4本同時に駆動される。ステップ32
1では上記したT8より回転数N、を計算し、ステップ
322ではANとN、より点火時期Aを予めROM31
Bに記憶された第7図に示すデータテーブルfsよリマ
ッピングして求めてRAM31 Gに記憶する。
In step 318, + is added to the load data AN and the driving time conversion coefficient, and driving time data T+-AN is calculated from the dead time Tll.
, ++To is calculated, drive time data T, is set in the timer 43 in step 319, and the timer 43 is triggered in step 320, so that four injectors 14 are simultaneously driven in accordance with the data T. Step 32
In step 1, the rotation speed N is calculated from T8 mentioned above, and in step 322, the ignition timing A is preliminarily stored in the ROM 31 based on AN and N.
It is obtained by remapping from the data table fs shown in FIG. 7 stored in B and stored in the RAM 31G.

ステップ323では上記した周期積算回数Nmが64に
なったか否かを判定し、64になっていなければステッ
プ326に進み、64になっていればステップ324に
て上記した周期積算値T□をmmいてN−a= 30 
/ (Ty*/ 64 )の演算を行って平均回転数N
、Aを算出してRAM31 Cに記憶する。ステップ3
25にてTt*−0、Nm−Q  にリセットしてステ
ップ326に進む、ステップ326ではエンジン1の負
荷が変化したか否かを判定する。この判定は、例えば空
調スイッチ19からの信号をドライバ40を介して読込
んでその信号に対応してフラグを立て前回と今回のフラ
グの状態の比較により前回オフから今回オンに変化した
か否かを行う、負荷が変化すればステップ327にて遅
れ時間T、■に1秒を設定する。但し、この遅れ時間T
DL、tは例えばタイマ38によって所定時間毎に割込
みがかけられ割込処理される毎にその所定時間分減算さ
れる。ステップ328ではアイドルスイッチ12Aがオ
ンかオフかを判定し、オフならばステップ331に進み
、オンならばステップ329にて遅れ時間T mLVが
0になったか否かを判定し、0でないならばステップ3
31に進み、Oならばステップ330に進む、ステップ
330では平均回転数N、1と瞬時回転数N、と補正ゲ
インGAと先に求めた点火時期AとからA十GAX(N
、A−N、)の演算を行ってその演算値を補正した新た
な点火時期Aとする。なお、偏差ΔN=N、、−N、と
アイドル時点火時期補正量Ga x(N、、−N、)の
関係は第8図に示した関係となる。
In step 323, it is determined whether or not the above-mentioned period accumulation number Nm has reached 64. If it has not reached 64, the process proceeds to step 326, and if it has reached 64, in step 324, the above-mentioned period accumulation value T□ is set to mm. N-a = 30
/ (Ty * / 64) and calculate the average rotation speed N
, A are calculated and stored in the RAM 31C. Step 3
At step 25, Tt*-0 and Nm-Q are reset, and the process proceeds to step 326. At step 326, it is determined whether or not the load on the engine 1 has changed. This determination is made by, for example, reading a signal from the air conditioning switch 19 via the driver 40, setting a flag in response to the signal, and comparing the previous and current flag states to determine whether the state has changed from off last time to on this time. If the load changes, step 327 sets the delay time T, 1 second. However, this delay time T
For example, DL and t are subtracted by the predetermined time each time an interrupt is generated and processed by the timer 38 at predetermined time intervals. In step 328, it is determined whether the idle switch 12A is on or off. If it is off, the process proceeds to step 331. If it is on, it is determined in step 329 whether the delay time T mLV has become 0. If it is not 0, the process proceeds to step 331. 3
31, and if O, proceed to step 330. In step 330, A+GAX(N
, AN, ) and the calculated value is set as a new ignition timing A that is corrected. The relationship between the deviation ΔN=N, , -N and the idle ignition timing correction amount Ga x (N, , -N,) is as shown in FIG.

ステップ331では点火時期Aをタイマ47に設定して
割込処理を終了する。
In step 331, the ignition timing A is set in the timer 47, and the interrupt processing is ended.

第9図は第3図及び第5図〜第6図の処理のタイミング
を示したものであり、(萄はAFS13の出力を示し、
[有])はクランク角センサ17のクランク角信号を示
し、(C)は残りパルスデータP、を示し、AFS13
の出力の立上り毎に156に設定され、クランク角セン
サ17の出力の立上り毎に例えばP□= P D  1
56 X T s / T aの計算結果に変更される
。(イ)は積算パルスデータP、の変化を示し、AFS
13の出力の立上り毎に、残りパ、ルスデータPDが積
算される様子を示している。
FIG. 9 shows the timing of the processing in FIG. 3 and FIGS.
[Yes]) indicates the crank angle signal of the crank angle sensor 17, (C) indicates the remaining pulse data P, and AFS13
For example, P□=P D 1 is set to 156 every time the output of the crank angle sensor 17 rises.
The calculation result is changed to 56 X T s / Ta. (A) shows the change in the integrated pulse data P, and the AFS
13 shows how the remaining pulse data PD is integrated every time the output of No. 13 rises.

尚、上記実施例では、クランク角センサ17の立上り間
のAFS13の出力パルスをカウントしたが、これは立
下り間でも良(、又クランク角センサ17の数周期間の
AFS13の出力パルス数をカウントしても良い、又、
AFS13の出力パルスをカウントしたが、出力パルス
数にAFS13の出力周波数に対応した定数を乗じたも
のを計数しても良い。
In the above embodiment, the output pulses of the AFS 13 during the rising edge of the crank angle sensor 17 were counted, but this may also be done during the falling edge (or, the number of output pulses of the AFS 13 during several cycles of the crank angle sensor 17 may be counted). You can also
Although the output pulses of the AFS 13 are counted, the number of output pulses multiplied by a constant corresponding to the output frequency of the AFS 13 may be counted.

又、第8図の関係をマツプにしてROM31Bに格納し
ておき、偏差ΔN(−N。−N、)を用いてマツピング
することによりアイドル時点火時期補正量を算出して点
火時期Aを求めてもよい。
In addition, the relationships shown in Fig. 8 are mapped and stored in the ROM 31B, and the ignition timing correction amount at idle is calculated by mapping using the deviation ΔN (-N.-N,), and the ignition timing A is obtained. You can.

さらに、負荷が変化したか否かを判定する場合、負荷デ
ータANの変化を検出してもよ(、又、自動変速機のニ
ュートラルセーフティ信号等を検出してもよい、又、遅
れ時間T 11 L vの計測についてはマイコン32
の外部に専用のタイマを設けてもよいし、そのタイマを
マイコン32に内蔵させといてもよい。
Furthermore, when determining whether or not the load has changed, a change in the load data AN may be detected (or a neutral safety signal of an automatic transmission may be detected, or a delay time T11 may be detected). Microcomputer 32 is used to measure Lv.
A dedicated timer may be provided externally, or the timer may be built into the microcomputer 32.

〔発明の効果〕〔Effect of the invention〕

以上のようにこの発明によれば、エンジンの負荷変動が
あった時には所定時間だけ平均回転数と瞬時回転数との
偏差から点火時期を補正するこ・とをしないように構成
したので、エンジンの負荷変動に対応して適当な点火時
期を設定することができ、素早(所要の回転数にするこ
とができる効果がある。
As described above, according to the present invention, when there is a change in the engine load, the ignition timing is not corrected based on the deviation between the average rotation speed and the instantaneous rotation speed for a predetermined period of time. Appropriate ignition timing can be set in response to load fluctuations, and the effect is that the desired rotation speed can be achieved quickly.

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

第1図はこの発明の一実施例に係るエンジンの点火時期
制御装置の構成図、第2図は同エンジンの点火時期制御
装置の具体例としての一実施例を示す構成図、第3図は
この発明の一実施例による上記装置のメインルーチンを
示すフロー図、第4図はAFS出力周波数に対する基本
駆動時間変換係数の関係を示す図、第5図、第6図(A
)及び第6図CB) はこの発明の一実施例によるエン
ジンの点火時期制御装置の動作の割込処理ルーチンを示
すフロー図、第7図はROMに記憶された点火時期マツ
プを示す図、第8図は点火時期補正量特性図、第9図は
第5図及び第6図のフローのタイミングを示すタイミン
グ図、第10図は点火コイルのオン・オフ動作を示すタ
イミング図である。 図中、1・・・エンジン、12・・・スロットルバルブ
、13・・・AFS、17・・・クランク角センサ、1
9・・・空調スイッチ、20・・・AN検出手段、21
・・・制御手段、22・・・点火コイル。 なお、図中同一符号は同一、又は相当部分を示す。
FIG. 1 is a block diagram of an ignition timing control device for an engine according to an embodiment of the present invention, FIG. 2 is a block diagram showing a specific embodiment of the ignition timing control device for the same engine, and FIG. A flowchart showing the main routine of the above device according to an embodiment of the present invention; FIG. 4 is a diagram showing the relationship between the basic drive time conversion coefficient and the AFS output frequency; FIGS.
) and FIG. 6CB) are flowcharts showing an interrupt processing routine for the operation of an engine ignition timing control device according to an embodiment of the present invention, FIG. 7 is a diagram showing an ignition timing map stored in a ROM, and FIG. FIG. 8 is an ignition timing correction amount characteristic diagram, FIG. 9 is a timing diagram showing the timing of the flows in FIGS. 5 and 6, and FIG. 10 is a timing diagram showing the on/off operation of the ignition coil. In the figure, 1...engine, 12...throttle valve, 13...AFS, 17...crank angle sensor, 1
9... Air conditioning switch, 20... AN detection means, 21
...Control means, 22...Ignition coil. Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] エンジンの回転数に応じた回転信号を発生する回転信号
発生手段、上記回転信号を入力し瞬時回転数及び平均回
転数を計算する回転数演算手段、上記エンジンの負荷を
検出する負荷検出手段、上記エンジンの負荷及び瞬時回
転数に基づいて上記エンジンの点火時期を制御する点火
時期制御手段及び上記平均回転数と瞬時回転数との偏差
により上記点火時期を補正する補正手段とを備えたエン
ジンの点火時期制御装置において、上記エンジンの負荷
が変化したことを検出する負荷変化検出手段を設け、上
記補正手段は上記負荷変化検出手段による検出時から所
定時間、上記点火時期の補正を行わない事を特徴とする
エンジンの点火時期制御装置。
a rotation signal generating means for generating a rotation signal according to the rotation speed of the engine; a rotation speed calculation means for inputting the rotation signal and calculating an instantaneous rotation speed and an average rotation speed; a load detection means for detecting the load of the engine; Ignition timing control means for controlling the ignition timing of the engine based on the engine load and instantaneous rotational speed; and correction means for correcting the ignition timing based on the deviation between the average rotational speed and the instantaneous rotational speed. The timing control device is characterized in that a load change detection means for detecting a change in the load of the engine is provided, and the correction means does not correct the ignition timing for a predetermined period of time from the time of detection by the load change detection means. Ignition timing control device for engines.
JP4823788A 1988-02-29 1988-02-29 Ignition timing controller for engine Pending JPH01219352A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4823788A JPH01219352A (en) 1988-02-29 1988-02-29 Ignition timing controller for engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4823788A JPH01219352A (en) 1988-02-29 1988-02-29 Ignition timing controller for engine

Publications (1)

Publication Number Publication Date
JPH01219352A true JPH01219352A (en) 1989-09-01

Family

ID=12797836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4823788A Pending JPH01219352A (en) 1988-02-29 1988-02-29 Ignition timing controller for engine

Country Status (1)

Country Link
JP (1) JPH01219352A (en)

Similar Documents

Publication Publication Date Title
US4646697A (en) Method and apparatus for controlling the operating characteristic quantities of an internal combustion engine
US5213080A (en) Ignition timing control
US5445014A (en) Electronic engine load and revolution sensing device
JP3187886B2 (en) Air-fuel ratio control method
US5003955A (en) Method of controlling air-fuel ratio
US4681075A (en) Idling speed feedback control method for internal combustion engines
JPH0751926B2 (en) Ignition timing control device for internal combustion engine
EP0245117B1 (en) Fuel control apparatus for a fuel injection system of an internal combustion engine
JPH01219352A (en) Ignition timing controller for engine
JPH0535259B2 (en)
JPH03246333A (en) Device for controlling engine
US4777919A (en) Ignition timing control apparatus for an internal combustion engine
JPH01219353A (en) Ignition timing controller for engine
EP0245120B1 (en) Ignition timing control apparatus for an internal combustion engine
JPH07116966B2 (en) Fuel control device for internal combustion engine
JPH0239619B2 (en)
JPS6338535B2 (en)
JPS61169642A (en) Control device for number of idle revolutions of engine
JPH0239618B2 (en)
JP2605371B2 (en) Control device for internal combustion engine
JPH0244040Y2 (en)
JPS60162066A (en) Control device for internal-combustion engine
KR940004472Y1 (en) Engine controller
JPH0450447Y2 (en)
JPH0299735A (en) Fuel control device for internal combustion engine