[go: up one dir, main page]

JPH02136549A - Controller for internal combustion engine - Google Patents

Controller for internal combustion engine

Info

Publication number
JPH02136549A
JPH02136549A JP28708288A JP28708288A JPH02136549A JP H02136549 A JPH02136549 A JP H02136549A JP 28708288 A JP28708288 A JP 28708288A JP 28708288 A JP28708288 A JP 28708288A JP H02136549 A JPH02136549 A JP H02136549A
Authority
JP
Japan
Prior art keywords
rotation speed
value
rotational speed
internal combustion
combustion engine
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
JP28708288A
Other languages
Japanese (ja)
Inventor
Hiroyuki Horibe
浩之 堀部
Hideki Yugawa
湯川 秀樹
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.)
Mahle Electric Drive Systems Co Ltd
Original Assignee
Kokusan Denki 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 Kokusan Denki Co Ltd filed Critical Kokusan Denki Co Ltd
Priority to JP28708288A priority Critical patent/JPH02136549A/en
Publication of JPH02136549A publication Critical patent/JPH02136549A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent the control delay by correcting the detection value of the revolution speed in acceleration to the value larger than the average revolution speed and correcting the detection value of the revolution speed in deceleration to the value smaller than the average revolution speed. CONSTITUTION:In a revolution speed detecting means 2 for detecting the engine revolution speed data which is used in the case when an internal combustion engine 1 is controlled by a control means 4, a comparison judging means 6 which compares the average revolution speed Nv which is calculated 5 from the count value of a counter 13 for counting the time necessary for the revolution of the internal combustion engine 1 with the revolution speed detection value Nc' detected in the preceding time. An acceleration revolution speed correction value N1 is calculated 8 by dividing the deflection value Nd1 by a constant X, when Nc'<=Nv. While, in case of Nc'>Nv, the deceleration revolution speed correction value N2 is calculated 11 by dividing the deflection Nd2 by the constant X, and the acceleration revolution speed data Nc2 is calculated 12 by subtracting N2 from Nc.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、内燃機関の回転数[rom]に応じて内燃機
関用点火装置、内燃機関の排気タイミングを制御するバ
ルブ、内燃機関のマフラの共振周波数を制御するバルブ
、内燃機関への燃料供給船を調節するバルブ等を制御す
る内燃機関用制御装置に関するものである。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to an ignition device for an internal combustion engine, a valve that controls exhaust timing of an internal combustion engine, and a muffler for an internal combustion engine according to the rotational speed [ROM] of the internal combustion engine. The present invention relates to an internal combustion engine control device that controls a valve that controls a resonance frequency, a valve that adjusts a fuel supply vessel to an internal combustion engine, and the like.

[従来の技術1 一般にマイクロコンピュータを用いて内燃機関を回転数
に応じて制御する内燃機関用制御装置においては、内燃
機関の回転数(回転速度)を所定の周期で繰返し検出す
る回転数検出手段と、回転数検出手段から1!?られる
回転数検出値を記憶する回転数検出値記憶手段と、該記
憶手段に記憶されている回転数検出値に応じて内燃機関
を制御する制御手段とが設けられる。またこの秤の制御
装置では、機関の1回転当りN(Nは2以上の整数)個
の制御パルスを等角度間隔(360/N度の間隔で)発
生するパル+1(信号発電機)を設けて、このパルサが
出力する制御信号から回転数情報と機関の回転角度位置
情報とを得ている。制御手段は回転数情報に基いて種々
の制御を行わせる。
[Prior art 1] Generally, in an internal combustion engine control device that uses a microcomputer to control an internal combustion engine according to the rotational speed, a rotational speed detection means that repeatedly detects the rotational speed (rotational speed) of the internal combustion engine at a predetermined cycle is used. 1 from the rotation speed detection means! ? A rotation speed detection value storage means for storing a rotation speed detection value stored in the storage means, and a control means for controlling the internal combustion engine according to the rotation speed detection value stored in the storage means are provided. In addition, the control device for this scale is equipped with a pulse +1 (signal generator) that generates N (N is an integer greater than or equal to 2) control pulses at equal angular intervals (at intervals of 360/N degrees) per engine revolution. The rotational speed information and the rotational angle position information of the engine are obtained from the control signal output by this pulser. The control means performs various controls based on the rotation speed information.

例えば機関の点火時期を制御する場合には、上記回転数
情報に阜いて各回転数における点火時期を演算し、パル
サから得られる制御信号から1!′7だ回転角度位置の
情報と演算された点火時期とから実際の点火時期を求め
て、該点火時期に内燃機関用点火装置に点火信号(トリ
ガ信号)を与える。
For example, when controlling the ignition timing of an engine, the ignition timing at each rotation speed is calculated based on the above rotation speed information, and 1! '7) The actual ignition timing is determined from the rotation angle position information and the calculated ignition timing, and an ignition signal (trigger signal) is given to the internal combustion engine ignition device at the ignition timing.

また内燃機関の回転数が設定値を超えないように制御す
る場合には、演算された回転数を設定値と比較して、回
転数が設定値以下のときには内燃機関用点火装置の動作
モードを点火モードとして点火動作を許容し、回転数が
設定値を超えたとき−には動作モードを失火モードとし
て、点火動作を停止さける。
In addition, when controlling the internal combustion engine's rotation speed so that it does not exceed a set value, the calculated rotation speed is compared with the set value, and if the rotation speed is less than the set value, the operating mode of the internal combustion engine ignition system is changed. The ignition mode is set to allow ignition operation, and when the rotation speed exceeds a set value, the operation mode is set to misfire mode to avoid stopping the ignition operation.

更に回転数に応じて各種のバルブを制御する場合には、
各回転数におけるバルブの目標位置またはバルブを操作
するアクチュエータの目標位置を演→し、バルブまたは
アクチュエータの位置を検出する位置検出器から得られ
る信号と目標位置を示づ一信号とを一致させるために必
要な操作量を演をンし−にの操作量に相当する駆動信号
をアクチュエータにうえる。
Furthermore, when controlling various valves according to the rotation speed,
To calculate the target position of the valve or the target position of the actuator that operates the valve at each rotation speed, and to match the signal obtained from the position detector that detects the position of the valve or actuator with the signal indicating the target position. A drive signal corresponding to the amount of operation necessary for the operation is expressed to the actuator.

いずれの制御を行う場合でも、マイクロコンピュータに
より内燃(層間の1回転当りの回転数を検出する回転数
検出手段を実現する必要がある。従来の内燃門関用制す
11装置における回転数検出手段では、パルサから得ら
れる制御信号によりカウンタを起動させて機関の1回転
に要する時間を81測し、この計測値から1回転の間の
平均回転数を演算して、該平均回転数を別間の回転数情
報としていた。
In either case, it is necessary to realize a rotation speed detection means for detecting the rotation speed per revolution between the internal combustion layers using a microcomputer.The rotation speed detection means in the conventional internal combustion gate control device , a counter is started by the control signal obtained from the pulsar to measure the time required for one rotation of the engine, and from this measurement value the average rotational speed during one rotation is calculated, and the average rotational speed is calculated from the other rotational speeds. It was used as rotation speed information.

[発明が解決しようとする課題] マイクロコンピュータを用いた内燃機関用制御装置では
、回転数及び点火時期の演算等をプログラムのメインル
ーチンにより行い、回転数と設定値との比較判断や点火
モード指令、失火モード指令の発生等はパルサから得ら
れる制御信号を発生したときに実行される割込みルーチ
ンにより行う。
[Problems to be Solved by the Invention] In an internal combustion engine control device using a microcomputer, calculations of rotation speed and ignition timing, etc. are performed by a main routine of a program, and comparison judgments between rotation speed and set values and ignition mode commands are performed. , generation of misfire mode commands, etc. are performed by an interrupt routine executed when a control signal obtained from the pulsar is generated.

プログラムの実行には必ず一定の時間Tを必要とする。Execution of a program always requires a certain amount of time T.

機関の回転数が低い間は、この実行時間Tが大きな問題
になることはないが、回転数が上界していくと実行時間
Tが1回転の期間に占めるυ1合いが大きくなっていさ
、ついには1回転毎に回転数を演算することが困難にな
る。従って高速領域では回転数情報を適確に得ることが
できなくなり、制御が遅れる傾向になるという問題かぁ
−)だ。
As long as the engine speed is low, this execution time T is not a big problem, but as the engine speed increases, the amount of υ1 that the execution time T occupies in one revolution increases. Eventually, it becomes difficult to calculate the number of rotations for each rotation. Therefore, the problem is that it becomes impossible to obtain accurate rotation speed information in high-speed regions, and control tends to be delayed.

例えば、機関の回転数Nが設定値Ns以下のときに点火
装置の動作モードを点火モードどして点火動作を許容し
、回転数Nが設定1直Nsを超えたときに失火モードと
して機関を失火させることにより機関の過回転を制御す
る内燃機関用制御装置にJ3いて、第6図に示すように
機関が急加速及び急減速する場合を考える。この場合回
転数の設定値(制御回転数)をNSとすると、加速時に
は本来であれば図示のA点で点火モードから失火モード
に移行して点火動作を停止させる必要がある。
For example, when the engine speed N is below the set value Ns, the operating mode of the ignition system is set to ignition mode to allow ignition operation, and when the engine speed N exceeds the set value Ns, the engine is set to misfire mode. Consider a case where the internal combustion engine control device J3 controls engine overspeed by misfiring the engine, and the engine suddenly accelerates and decelerates as shown in FIG. In this case, if the set value of the rotation speed (control rotation speed) is set to NS, during acceleration, it would normally be necessary to shift from the ignition mode to the misfire mode at point A shown in the figure and stop the ignition operation.

ところが、B点で回転数の演算が終了した後次の回転数
の演算が終了するまでの時間(プログラムの実行時間)
をTとすると、実際には0点に至ら41いと回転数Nが
設定値NSを超えたことの検出を行うことができない。
However, the time (program execution time) from the end of the rotation speed calculation at point B to the end of the next rotation speed calculation is
Assuming that T is 41, it is actually impossible to detect that the rotational speed N exceeds the set value NS.

そのため制御が遅れることばなり、実際の設定値よりも
高い回転数で制御が行われることになる。
Therefore, the control will be delayed, and the control will be performed at a higher rotation speed than the actual set value.

また減速時には本来であれば図示のD点で失火Xニード
から点火モードに移(うさせる必要があるが、この場合
1点で回転数の演算が終了した後プログラムの実行[)
間Tを経過した1点で回転数の演算が終了づるものとす
ると、点火モードへの復帰がUlれることになる。
Also, during deceleration, it would normally be necessary to shift from the misfire
If it is assumed that the calculation of the rotational speed ends at one point after the interval T has elapsed, the return to the ignition mode will be completed.

本発明の目的は、回転数検出情報を適i″Eなものとし
て制す口の遅れを防止できるようにした内燃機関用i1
i制御装置を提供することにある。
An object of the present invention is to provide an i1 for an internal combustion engine that can prevent a delay in controlling the rotation speed detection information by appropriate i''E information.
The purpose of this invention is to provide an i-control device.

[課題を解決するための手段] 本発明は、第1図に示したように、内燃機関10回転数
を所定の周期で繰返し検出する回転数検出手段2と、こ
の回転数検出手段から得られる回転数検出値を記憶する
回転数検出値記憶手段3と、該記憶手段に記憶されてい
る回転数検出値に応じて内燃機関を制御する制御手段4
とを備えた内燃機関用制御装置に係わるしのである。
[Means for Solving the Problems] As shown in FIG. 1, the present invention provides a rotation speed detection means 2 that repeatedly detects 10 rotations of an internal combustion engine at a predetermined period, and a rotation speed detection means obtained from this rotation speed detection means. A rotation speed detection value storage means 3 for storing a rotation speed detection value, and a control means 4 for controlling the internal combustion engine according to the rotation speed detection value stored in the storage means.
This paper relates to an internal combustion engine control device comprising:

第1図に示()たように、本発明においては、上記回転
数検出手段2が、平均回転数演算手段5と、比較判定1
段6と、第1の回転数減算1段7と、加速時回転数補正
値演算手段8と、加速時回転数データ演算手段9と、第
2の回転数検出手段10と、減速時間転数補正値演算手
段11と、減速時回転数データ演笥手段12を(4^え
ている。
As shown in FIG.
stage 6, first rotation speed subtraction stage 7, acceleration rotation speed correction value calculation means 8, acceleration rotation speed data calculation means 9, second rotation speed detection means 10, and deceleration time rotation speed. A correction value calculation means 11 and a rotation speed data manipulation means 12 during deceleration are provided (4).

平均回転数演算手段5は、内燃機関の1回転に要する時
間を計数するカウンタ13の泪数値から内燃機関の平均
回転rilNVを演算する。カウンタ13は例えば機関
に取付けられたパル1)(信号発電機)14から得られ
る制御信号により制御されて、機関が1回転する間に与
えられるクロックパルスを計数することにより1回転に
要する時間を計測する。演算された平均回転数は記憶手
段3に記憶させておく。第1図に示した例では、記憶手
段3が第1の記憶手段N rpmlと第2の記憶手段N
rpm2とからなり、第1の記憶手段N rpmlは前
回得られただ回転数検出値NC’を、また第2の記憶手
段N rpm2は今回演算された平均回転数NV及び今
回(1られた回転数の検出値Ncをそれぞれ記憶する。
The average rotational speed calculating means 5 calculates the average rotational speed rilNV of the internal combustion engine from the value of the counter 13 that counts the time required for one rotation of the internal combustion engine. The counter 13 is controlled by a control signal obtained from, for example, a pulse generator (signal generator) 14 attached to the engine, and measures the time required for one revolution by counting the clock pulses given during one revolution of the engine. measure. The calculated average rotational speed is stored in the storage means 3. In the example shown in FIG.
rpm2, the first storage means Nrpml stores the previously obtained rotational speed detection value NC', and the second storage means Nrpm2 stores the average rotational speed NV calculated this time and the rotational speed calculated this time (1). Detected values Nc are stored respectively.

比較判定手段6は平均回転数の演算が終了したff:′
IQで今回洟のされた平均回転数NVを前回検出された
回転数検出値Nc’と比較して大小関係を判定する。
The comparison/judgment means 6 selects ff:' after the calculation of the average rotational speed has been completed.
The current average rotational speed NV determined by the IQ is compared with the previously detected rotational speed detection value Nc' to determine the magnitude relationship.

4二足比較t11定手段により今回演算された平均回転
数Nvが前回検出された回転数検出値Nc’より大きい
と判定されたときには、第1の回転数域t)手段7が今
回演算された平均回転数NVから前回検出された回転数
検出値NC’を減t3する。
4 Two-leg comparison t11 When it is determined that the average rotation speed Nv calculated this time by the constant means is larger than the rotation speed detection value Nc' detected last time, the first rotation speed range t) means 7 is calculated this time. The previously detected rotational speed detection value NC' is subtracted t3 from the average rotational speed NV.

加速時回転数補正値演算手段8は、第1の回転数減算手
段7から得られる演算結果Nd1(=NvNc’)を定
数Xで除して加速時回転数補正値ΔN1を演算する。
The rotational speed correction value calculation means 8 during acceleration divides the calculation result Nd1 (=NvNc') obtained from the first rotational speed subtraction means 7 by a constant X to calculate the rotational speed correction value ΔN1 during acceleration.

加速時回転数データ演の手段9は、今回演算された平均
回転数NVと加速時回転数補正値ΔN1とを加Ωして加
速時回転数データNc1を演算する。
The acceleration rotation speed data calculating means 9 calculates the acceleration rotation speed data Nc1 by adding the currently calculated average rotation speed NV and the acceleration rotation speed correction value ΔN1.

この加速時回転数データNCIは記憶手段(この例では
第2の記憶手段Nrpm2)に今回の回転数検出値NC
として記憶される。
This acceleration rotational speed data NCI is stored in the storage means (in this example, the second storage means Nrpm2) as the current rotational speed detection value NC.
is stored as.

また比較判定手段6により今回演算された平均回転数N
Vが前回検出された回転数検出値Nc’よりも小さいと
判定されたときには、第2の回転数減算手段10が前回
検出された回転数検出値NCから今回演算された平均回
転数NVを減算する。
In addition, the average rotational speed N calculated this time by the comparison and determination means 6
When it is determined that V is smaller than the previously detected rotational speed detection value Nc', the second rotational speed subtraction means 10 subtracts the currently calculated average rotational speed NV from the previously detected rotational speed detection value NC. do.

減速時間転数補正値演算手段11は、第2の回転数減算
手段から得られる演算結果Nd2(=NC’−Nv)を
定数Xで除して減速時回転数補正値を演算する。
The deceleration time rotation speed correction value calculation means 11 divides the calculation result Nd2 (=NC'-Nv) obtained from the second rotation speed subtraction means by a constant X to calculate a deceleration rotation speed correction value.

減速時回転数データ演算手段12は、今回演算された平
均回転数NVから減速時回転数補正値ΔN2を減算して
減速時回転数データNc2を演算する。このデータNc
2は今回の回転数検出値NCとして記憶手段(この例で
は第2の記憶手段N rpm2)に記憶される。
The deceleration rotation speed data calculation means 12 calculates the deceleration rotation speed data Nc2 by subtracting the deceleration rotation speed correction value ΔN2 from the currently calculated average rotation speed NV. This data Nc
2 is stored in the storage means (in this example, the second storage means N rpm2) as the current detected rotational speed value NC.

尚定数Xは、実際の内燃機関の速度の急加速時の立上り
時間と急減速時の立下り時間と、平均回転数の演算が終
了してから次の平均回転数の演算が終了するまでに要す
る時間(プログラムの実行時間T)とにより適値に設定
する。この定数×は、例えば、加速時に回転数が設定値
を超える時刻tnよりも実行時間TだU前の時刻t n
−1において演算された平均回転数の値を設定回転数以
上の値に罷工するために必要な補正値ΔN1を得、減速
時に回転数が設定値未満になる時刻tmよりも実行時間
Tだけ前の時刻t m−1において演tiされた平均回
転数の値を設定回転数未満の値に修正するために必要な
補正値ΔN2を得るように定数Xの値を設定しておく。
The constant X is determined by the rise time during sudden acceleration and fall time during sudden deceleration of the actual internal combustion engine speed, and the time from when the calculation of the average rotation speed is completed until the calculation of the next average rotation speed is completed. Set to an appropriate value depending on the required time (program execution time T). This constant x is, for example, a time tn that is an execution time T before the time tn when the rotational speed exceeds the set value during acceleration.
Obtain the correction value ΔN1 necessary to make the average rotation speed calculated in -1 a value equal to or higher than the set rotation speed, and execute the execution time T before the time tm when the rotation speed becomes less than the set value during deceleration. The value of the constant X is set so as to obtain a correction value ΔN2 necessary for correcting the value of the average rotational speed calculated at time tm-1 to a value less than the set rotational speed.

第6図の例でいえば、B′点く時刻tn−1)で演等が
完了した平均回転数の大きさを設定値NS以上の値にす
るために必要な補正値ΔN1を得、E−点(時刻tm−
1)で演算が完了した平均回転数の大きさを設定値NS
未満の値にするために必要な補正値ΔN2を1qるよう
にXの値を設定する。
In the example of FIG. 6, we obtain the correction value ΔN1 necessary to make the average rotational speed at which the performance is completed at the time tn-1) when B' lights up to a value greater than or equal to the set value NS. - point (time tm -
The size of the average rotation speed calculated in 1) is set as the set value NS.
The value of

尚加速時と減速時とで定数Xの値を異ならせることがで
きる。
Note that the value of the constant X can be made different during acceleration and deceleration.

第1図に示した例では、記憶手段3が第1及び第2の記
憶手段からなっていて、第2の記憶手段に今回演算され
た平均回転数Nvと回転数検出値(平均回転数に修正を
加えたもの)Ncとを記憶させるようにしているが、更
に記憶手段を設()て、前回の回転数検出値NC”と今
回演算された平均回転数NVと今回の回転数検出(ir
iNcとをそれぞれ別個の記憶手段に記憶させるように
してもよい。
In the example shown in FIG. 1, the storage means 3 consists of first and second storage means, and the average rotation speed Nv calculated this time and the rotation speed detection value (the average rotation speed) are stored in the second storage means. In addition, a storage means () is provided to store the previous rotation speed detection value NC'', the average rotation speed NV calculated this time, and the current rotation speed detection ( ir
iNc may be stored in separate storage means.

[作 用コ 上記のように構成づ”ると、加速時には回転数の検出値
が演算された平均回転数よりも人さい値に修正される。
[Operation] When configured as described above, during acceleration, the detected value of the rotational speed is corrected to a value that is smaller than the calculated average rotational speed.

従って例えば第5図において8点で平均回転数の演算が
終了した時点で回転数の検出値を設定値以上の大きさに
することができ、制御の遅れを防止することができる。
Therefore, for example, when the calculation of the average rotational speed is completed at 8 points in FIG. 5, the detected value of the rotational speed can be made greater than the set value, and delays in control can be prevented.

また減速時には回転数の検出値が演算された平均回転数
よりも小さい値に修正されるため、例えば第5図のE点
で平均回転数の演算が終了した時点で回転数の検出値を
設定値未満の大きさにすることができ、制御の遅れを防
止することができる。
Also, during deceleration, the detected value of the rotational speed is corrected to a value smaller than the calculated average rotational speed, so for example, when the calculation of the average rotational speed is completed at point E in Figure 5, the detected value of the rotational speed is set. This can be made smaller than the specified value, and control delays can be prevented.

[実施例] 以下添附図面を参照して本発明の詳細な説明する。[Example] The present invention will be described in detail below with reference to the accompanying drawings.

第4図は4気筒内燃機関に本発明を適用した実施例の仝
体向な構成を示したもので、この実施例では、機関の過
回転を防止するため、回転数が設定(ぽl以下のときに
点火装置の動作モードを点火モードとして点火動作を許
容し、回転数が設定値を超えたときに動作モードを失火
モードとして点火動作を停止させるものとする。
Figure 4 shows the general configuration of an embodiment in which the present invention is applied to a four-cylinder internal combustion engine. At this time, the operation mode of the ignition device is set to ignition mode and ignition operation is permitted, and when the rotation speed exceeds a set value, the operation mode is set to misfire mode and ignition operation is stopped.

第4図において21はパルサ14の出力を波形整形する
パルサ波形整形回路、22はマイクロコンビコータのC
PU、23△及び23Bはそれぞれマイクロコンピュー
タのRAM (ランダムアクセスメモリ)及びROM(
リードオンリーメモリ)であり、波形整形回路21の出
力はCPLIの入カポ−1−22aに与えられている。
In FIG. 4, 21 is a pulser waveform shaping circuit that shapes the waveform of the output of the pulser 14, and 22 is a C of a micro combi coater.
PU, 23△ and 23B are RAM (Random Access Memory) and ROM (ROM) of the microcomputer, respectively.
The output of the waveform shaping circuit 21 is given to the input capo-1-22a of the CPLI.

24は内燃機関用点火装置で、この点火装置は、点火コ
イル25A及び25[3と点火駆動回路26とからなり
、マイクロコンピュータの出力ポート22A及び22B
から点火駆動回路26に点火信号が与えられるようにな
っている。
24 is an ignition device for an internal combustion engine, and this ignition device consists of ignition coils 25A and 25[3 and an ignition drive circuit 26, and output ports 22A and 22B of the microcomputer.
An ignition signal is supplied to the ignition drive circuit 26 from the ignition drive circuit 26.

点火コイル25Δ及び25Bは同時発火コイルからなり
、点火コイル25Aの2次コイルには第1及び第4の気
筒の点火プラグ27a及び27dが、また点火コイル2
5Bの2次コイルには第2及び第3の気筒の点火プラグ
27b及び27cがそれぞれ接続されている。
The ignition coils 25Δ and 25B are simultaneous ignition coils, and the secondary coil of the ignition coil 25A includes spark plugs 27a and 27d of the first and fourth cylinders, and the ignition coil 2
Spark plugs 27b and 27c of the second and third cylinders are connected to the secondary coil 5B, respectively.

点火駆動回路26は、点火コイル25Δ及び25Bのそ
れぞれの1次電流をオンオフ制御Jるスイッチ手段(例
えばトランジスタ)を備え、該スイッチ手段を導通状態
から遮断状態にすることにより点火コイル25△及び2
5Bの2次コイルに点火用の高電圧を誘起させる。
The ignition drive circuit 26 includes a switch means (for example, a transistor) that controls on/off the primary current of each of the ignition coils 25Δ and 25B.
A high voltage for ignition is induced in the 5B secondary coil.

CPUは第1及び第4の気筒の点火位置よりも位相が進
んだ位置で出カポ−1へ22Aに通電信号を出力し、第
2及び第3の気筒の点火位置よりも位相が進んだ位置で
出力ポート22Bに通電信号を出力する。CPtJの出
力ポート22Aから通電信号が出力されると、点火駆動
回路26は図示しないバッテリから点火コイル25Aの
1次コイルに電流を流す。同様に、出力ポート22Bか
ら通電信号が出力されると、点火駆動回路26が点火コ
イル25Bの1次コイルに電流を流す。
The CPU outputs an energization signal to 22A to output capo-1 at a position where the phase is more advanced than the ignition positions of the first and fourth cylinders, and the CPU outputs an energization signal to 22A at a position where the phase is more advanced than the ignition positions of the second and third cylinders. An energizing signal is output to the output port 22B. When the energization signal is output from the output port 22A of the CPtJ, the ignition drive circuit 26 causes current to flow from a battery (not shown) to the primary coil of the ignition coil 25A. Similarly, when the energization signal is output from the output port 22B, the ignition drive circuit 26 causes current to flow through the primary coil of the ignition coil 25B.

CP Uはまた第1及び第4の気筒の点火位置で出力ポ
ート22Aから出力していた通電信号を零にし、点火コ
イル25Aの1次電流をしゃ断する。
The CPU also sets the energization signal outputted from the output port 22A to zero at the ignition positions of the first and fourth cylinders, and cuts off the primary current of the ignition coil 25A.

これにより点火コイル25Aの2次コイルに高電圧を誘
起させ、点火プラグ27a及び27dに火花を牛じさせ
て機関の第1の気筒及び第4の気筒を点火する。
As a result, a high voltage is induced in the secondary coil of the ignition coil 25A, causing sparks to be generated in the ignition plugs 27a and 27d, thereby igniting the first cylinder and the fourth cylinder of the engine.

CP Uはまた第2及び第3の気筒の点火位置で出力ポ
ート22Bから出力していた通電信号を零にし、点火コ
イル25Bの1次電流を遮断して点火コイル25Bの2
次コイルに高電圧を誘起させる。これにより点火プラグ
27b及び27cに火花を生じさせ、第2及び第3の気
筒を点火する。
The CPU also sets the energization signal outputted from the output port 22B to zero at the ignition position of the second and third cylinders, cuts off the primary current of the ignition coil 25B, and
Next, induce a high voltage in the coil. This causes spark plugs 27b and 27c to generate sparks, igniting the second and third cylinders.

これらの説明から明らかなように、本実施例では、通電
信号の零への立下りが点火信号となる。
As is clear from these descriptions, in this embodiment, the fall of the energization signal to zero becomes the ignition signal.

パルサ14は6個のリラクタrOないしr5を有する回
転子14aと、パル昏ナコイル14bを有する信号発電
子とからなる公知の誘導子回転形の信号発電機である。
The pulser 14 is a known inductor rotation type signal generator consisting of a rotor 14a having six reluctors rO to r5 and a signal generator having a pulser column 14b.

リラクタr1ないしr5は全て等しい幅を有し、リラク
タroは他のリラクタよりも幅が広く形成されている。
The reluctors r1 to r5 all have the same width, and the reluctor ro is formed wider than the other reluctors.

信号発電子はパルサコイル14bに磁束を流す磁石を備
えており、回転子14aの回転に伴ってリラクタrOな
いしr5が信号発電子の磁極に対向する毎にパルサコイ
ル14bに鎖交する磁束に変化が生じて、パルサコイル
14bにパルス状の電圧が誘起する。
The signal generator is equipped with a magnet that causes magnetic flux to flow through the pulser coil 14b, and as the rotor 14a rotates, the magnetic flux interlinking with the pulser coil 14b changes every time the reluctors rO to r5 oppose the magnetic poles of the signal generator. As a result, a pulsed voltage is induced in the pulser coil 14b.

回転子14aは内燃機関の出力軸等に取付【ノられて内
燃機関の回転に同期して第5図(A)に示すようなパル
ス状の電圧を誘起する。本実施例では、パルサコイル1
4bから得られる正負のパルスpo 、 po’、 p
i 、 pio、・・・P5 、 P5′の内、60度
毎に発生する正のパルス(各リラクタの前端部が信号発
電子の磁極に対向する際に発生するパルス)PO,Pl
、P2.・・・P5を制御パルスとして用いる。これら
の制御パルスの発生位置はそれぞれ機関の出力軸の所定
の回転角度位置に対応しており、制御パルスが発生した
ときにその制御パルスが何番目のi、II allパル
スであるかを知ることにより、その時の機関の回転角度
を知ることができる。
The rotor 14a is attached to the output shaft or the like of the internal combustion engine and induces a pulse-like voltage as shown in FIG. 5(A) in synchronization with the rotation of the internal combustion engine. In this embodiment, the pulsar coil 1
Positive and negative pulses po, po', p obtained from 4b
i, pio,...P5, P5', positive pulses generated every 60 degrees (pulses generated when the front end of each reluctor faces the magnetic pole of the signal generator) PO, Pl
, P2. ...P5 is used as a control pulse. The generation positions of these control pulses each correspond to a predetermined rotation angle position of the output shaft of the engine, and when a control pulse is generated, it is necessary to know which number i, II all pulse the control pulse is. This allows us to know the rotation angle of the engine at that time.

制御パルスを識別するため、各制御パルスには番号が付
けられCおり、本明細書では、このパルス番号を制衛1
パルスを示す符号po 、 pi 、・・・の添字とし
て用いている。マイクロコンビコータ内にはパルス′&
号記憶手段を設けてあり、新たな制御パルスが発生する
毎に新たに発生した制御パルスの番号でこの記憶手段の
内容を更新することにより、最も最近に発生した制御パ
ルスの番号を知り得るようになっている。
To identify the control pulses, each control pulse is numbered, and this pulse number is referred to herein as control pulse number C.
It is used as a subscript of the symbols po, pi, . . . indicating pulses. There are pulses in the micro combi coater.
By updating the contents of this storage means with the number of the newly generated control pulse each time a new control pulse is generated, it is possible to know the number of the most recently generated control pulse. It has become.

波形整形回路21は、バルナの出力パルスを入力として
第5図(B)に示すような矩形波信号■qを出力する。
The waveform shaping circuit 21 inputs the output pulse of the varna and outputs a rectangular wave signal q as shown in FIG. 5(B).

この例では矩形波信号の各立下り位置が制御パルスの発
生位置に対応しており、立上り位置が負のパルスPO’
、 PIo、・・・の発生位置に対応している。第5図
(B)においては、矩形波信号の各立下り位置に、対応
する制御パルスの番号を付しである。
In this example, each falling position of the rectangular wave signal corresponds to the generation position of a control pulse, and the rising position of the negative pulse PO'
, PIo, . . . In FIG. 5(B), each falling position of the rectangular wave signal is labeled with a corresponding control pulse number.

この例では、0番の制御パルスを基準制御パルスとして
、この制御パルスの発生位置を機関の低速時における第
1及び第4の気筒の点火位置に一致させ、0番の制御パ
ルスの発生位置から180度離れた3番の制御パルスの
発生位置を第2及び第3の気筒の点火位置に一致させる
ように、パルサの回転子を取付けである。
In this example, the control pulse No. 0 is used as the reference control pulse, and the generation position of this control pulse is made to match the ignition position of the first and fourth cylinders when the engine is at low speed. The rotor of the pulsar is installed so that the generation position of the third control pulse, which is 180 degrees apart, coincides with the ignition position of the second and third cylinders.

第5図(D)は機関の低速時にマイクロコンピュータか
ら点火駆動回路26に与えられる第1及び第4の気筒用
の点火信号を示し、同図(E)は機関の低速時にマイク
ロコンピュータから点火駆動回路26に与えられる第2
及び第3の気筒用の点火信号を示している。
FIG. 5(D) shows ignition signals for the first and fourth cylinders given from the microcomputer to the ignition drive circuit 26 when the engine is running at low speed, and FIG. The second
and the ignition signal for the third cylinder.

本実施例では、リラクタrOの幅が他のリラクタの幅よ
りも広いため、矩形波信号Vqの0番の立下がりに続い
て生じる零期間Tが、1番ないし5番の立下りに続いて
生じる零期間T′よりも長くなっている。マイクロコン
ピュータはこの長い零期間下を検出して、該零期間Tの
開始時に与えられたLll titパルスが0番のli
l制御パルスであることを識別し、この基準制御パルス
の発生位置を基準にして各気筒の点火位置を求める。
In this embodiment, since the width of the reluctor rO is wider than the width of the other reluctors, the zero period T that occurs following the fall of No. 0 of the rectangular wave signal Vq is equal to the period T that occurs following the fall of No. 1 to No. 5 of the rectangular wave signal Vq. It is longer than the zero period T' that occurs. The microcomputer detects the bottom of this long zero period, and the Lll tit pulse given at the start of the zero period T is 0.
1 control pulse is identified, and the ignition position of each cylinder is determined based on the generation position of this reference control pulse.

マイクロコンビコータ内には、ROMに記憶されたプロ
グラムにより、第1図に示した各手段が実現される。
Inside the micro combi coater, each means shown in FIG. 1 is realized by a program stored in a ROM.

回転数検出手段2は、点火位置を決定する手段等ととも
に第2図に示すメインルーチンにより実現される。キー
スイッチが投入され、メインルーチンが開始されると、
先ずRAM、CPUのI10インタフェース、タイマ手
段等の初期設定を行う。次いで制御パルスが発生する毎
に割込みルーチンを実行することを許可した後、機関の
回転数を検出する。この回転数の検出を行うステップに
より回転数検出手段が実現される。
The rotation speed detection means 2 is realized by the main routine shown in FIG. 2 together with means for determining the ignition position. When the key switch is turned on and the main routine starts,
First, the RAM, CPU I10 interface, timer means, etc. are initialized. Next, after allowing the interrupt routine to be executed every time a control pulse occurs, the engine speed is detected. This step of detecting the rotational speed realizes a rotational speed detection means.

メインルーチンではまた検出された回転数における進角
廓(i関の上死点から点火位置までの角度)と、通電角
(点火コイルの1次コイルに電流を流す角度)とを演算
し、これらの演粋結宋をRAMに記憶する。進角度を演
算するステップ及び通電角を演算するステップにより点
火位置決定手段が実現される。
The main routine also calculates the advance angle (the angle from the top dead center of the i valve to the ignition position) and the conduction angle (the angle at which current flows through the primary coil of the ignition coil) at the detected rotational speed. The performance of Song is stored in RAM. The ignition position determining means is realized by the step of calculating the advance angle and the step of calculating the energization angle.

本実施例において回転数検出手段2は、第2図に示した
プログラムにより実現される。この例では、第1及び第
2の記憶手段N rpml及びNrpm2が設けられ、
第1の記憶手段N rpmlには前回の回転数検出値が
、また第2の記憶手段N ppm2には今回演算される
平均回転数と回転数検出値とが記憶される。
In this embodiment, the rotation speed detection means 2 is realized by the program shown in FIG. In this example, first and second storage means N rpml and N rpm2 are provided,
The first storage means N rpml stores the previous rotational speed detection value, and the second storage means N ppm2 stores the currently calculated average rotational speed and rotational speed detection value.

回転数を検出するステップが開始されると、先ず第2の
記憶手段N ppm2に記憶されている前回の回転数検
出値NC’を第1の記憶手段N rpmlに移1−0次
いでカウンタ13の計数値から360度の区間を回転す
るのに要する時間tを求め、1回転当りの平均回転数N
Vを演算式Nv =60/lにJ、って求める。この平
均回転数を演算するステップにより平均回転数滴n手段
5が実現される。
When the step of detecting the rotational speed is started, first, the previous rotational speed detection value NC' stored in the second storage means N ppm2 is transferred to the first storage means N rpml, and then the counter 13 is stored as 1-0. Find the time t required to rotate a 360 degree section from the count value, and calculate the average number of rotations per rotation N.
Find V using the equation Nv = 60/l. This step of calculating the average rotational speed realizes the average rotational speed droplet n means 5.

演算された平均回転数は第2の記憶手段N ppm2に
格納−リ゛る。次いで第1の記憶手段N rp!111
の内容(前回の回転数検出値Nc’)と第2の記憶手段
Nrpm2の内容(今回演算された平均回転数NV)と
を比較する。このステップにより比較判定手段6が実現
される。この判定の結果、今回演算された平均回転数N
Vが前回の回転数検出値NC’以上であると判定された
ときには、第2の記憶手段Nrpm2の内容(Nv )
から第1の記憶手段N rpmlの内容(Nc’)を減
筒する。このステップにより第1の回転数減口手段7が
実現される。
The calculated average rotational speed is stored in the second storage means Nppm2. Then the first storage means N rp! 111
(previous rotational speed detection value Nc') and the contents of the second storage means Nrpm2 (currently calculated average rotational speed NV) are compared. This step realizes the comparison/judgment means 6. As a result of this judgment, the average rotation speed N calculated this time
When it is determined that V is greater than or equal to the previous rotational speed detection value NC', the contents (Nv) of the second storage means Nrpm2 are
The contents (Nc') of the first storage means N rpml are decremented from there. This step realizes the first rotational speed reducing means 7.

次いで上記の減算結果Nd1を定数Xで割ることにより
、補正値ΔN1を演算する。このステップにより加速時
回転数補正値演算手段8が実現される。次にこの補正値
ΔN1を今回演算された平均回転数NVに加口し、加速
時回転数データNC1を演算する。この加σのステップ
により加速時回転数データ演算手段9が実現される。
Next, by dividing the above subtraction result Nd1 by a constant X, a correction value ΔN1 is calculated. This step realizes the rotational speed correction value calculation means 8 during acceleration. Next, this correction value ΔN1 is added to the currently calculated average rotational speed NV to calculate rotational speed data during acceleration NC1. The rotation speed data calculation means 9 during acceleration is realized by this step of addition σ.

この加速時回転数データNc1は今回の回転数検出値N
cとして第2の記憶手段N ppm2に記憶される。
This acceleration rotation speed data Nc1 is the current rotation speed detection value N
c is stored in the second storage means N ppm2.

比較判定手段7による判定の結果、今回演算された平均
回転数NVが前回の回転数検出値Nc’未満であると判
定されたときには、第1の記憶手段N rpmlの内容
(Nc’)から第2の記憶手段N ppm2の内容(N
v )を減算する。このステップにより第2の回転数減
算手段10が実現される。
As a result of the determination by the comparison determination means 7, when it is determined that the average rotation speed NV calculated this time is less than the previous rotation speed detection value Nc', the 2 storage means N ppm2 contents (N
v) is subtracted. This step realizes the second rotational speed subtraction means 10.

次いでこの減算結果Nd2を定数Xで割ることにより、
補正値ΔN2を演算する。このステップにより減速時回
転数補正舶演算手段11が実現される。次に今回演算さ
れた平均回転数NVから補正値ΔN2を減口し、減速時
回転数データNC2を演算する。この減算のステップに
より減速時回転数データ演算手段12が実現される。
Next, by dividing this subtraction result Nd2 by the constant X,
A correction value ΔN2 is calculated. This step realizes the deceleration rotational speed correcting vessel calculation means 11. Next, a correction value ΔN2 is subtracted from the average rotation speed NV calculated this time, and rotation speed data during deceleration NC2 is calculated. This subtraction step implements the rotation speed data calculation means 12 during deceleration.

この減速時回転数データNc2は今回の回転数検出値N
cとして第2の記憶手段N ppm2に記憶される。
This rotation speed data Nc2 during deceleration is the current rotation speed detection value N
c is stored in the second storage means N ppm2.

制御パルスが発生すると、割込みルーチンが実行される
。第5図(C)に示した時間taはこの割込みルーチン
が実行される時間を示し、tbはメインルーチンが実行
される時間を示している。
When a control pulse occurs, an interrupt routine is executed. Time ta shown in FIG. 5(C) indicates the time when this interrupt routine is executed, and tb indicates the time when the main routine is executed.

この割込みルーチンにおいては、先ずパルス番号記憶手
段に記憶されているパルス番号を今回与えられた制御パ
ルスの番号に更新する。
In this interrupt routine, first, the pulse number stored in the pulse number storage means is updated to the number of the control pulse given this time.

割込みルーチンにおいてはまた、パルス番号から点火さ
せるべき気筒の判別を行い、それぞれの気筒の通電開始
位置く回転数により異なる。)で、点火駆動回路26に
所定の通電信号を与える。
In the interrupt routine, the cylinder to be ignited is also determined from the pulse number, and the energization start position of each cylinder differs depending on the rotation speed. ), a predetermined energization signal is given to the ignition drive circuit 26.

また各気筒に対して予め定められた制御パルスが発生し
たときにメインルーチンで演算された進角度の点火位置
で点火動作を行わせるために必要な計数値を進角度カウ
ンタにセットして該カウンタを起動させ、該カウンタに
クロックパルスの計数をさせる。そしてこのカウンタの
計数が終了した時に通電信号を零にする。この通電信号
の零への立下りが点火信号となり、該点火信号が与えら
れた時点で点火動作が行われる。
In addition, when a predetermined control pulse is generated for each cylinder, a count value necessary for ignition operation to be performed at the ignition position of the advance angle calculated in the main routine is set in the advance angle counter. , and causes the counter to count clock pulses. Then, when the count of this counter is completed, the energization signal is set to zero. The fall of this energization signal to zero becomes an ignition signal, and the ignition operation is performed when the ignition signal is given.

本実施例では、制御パルスP5が発生したときに、第1
及び第4の気筒用の進角度カウンタを起動させ、制御パ
ルスP2が発生したときに、第2及び第3の気筒用の進
角度カウンタを起動させる。
In this embodiment, when the control pulse P5 is generated, the first
and the advance angle counter for the fourth cylinder, and when the control pulse P2 is generated, the advance angle counters for the second and third cylinders are started.

通電信号を与える位置はメインルーチンで演算された通
電角に応じて決定する。本実施例では、通電開始位置を
いずれかの制御パルスの発生位置とし、回転数が所定の
大きさだけ上昇する毎に通電を開始させる位置を定める
制御パルスの番号を小さくして通電角を60度ずつ増大
さけるようにしている。
The position at which the energization signal is applied is determined according to the energization angle calculated in the main routine. In this example, the energization start position is set to the generation position of one of the control pulses, and each time the rotational speed increases by a predetermined amount, the number of the control pulse that determines the position at which energization is started is decreased to increase the energization angle to 60. I try to avoid increasing it step by step.

第5図(D)は第1及び第4の気筒用の通電信号Vb1
を示し、同図(E)は第2及び第3の気筒用の通電信号
Vb2を示している。これらの通電信号の立下りが点火
信@ ’J f 1及びV[2となる。この例では、機
関の低速度に通電信号Vb1及びVb2がそれぞれ図に
実線で示したように制御パルスP5の発生位置及び制御
パルスP2の発生位置で立上がり、回転数の上かに伴っ
て、各通電信号の立上り位置が図に破線で示したように
60度ずつ進んでいく。
FIG. 5(D) shows the energization signal Vb1 for the first and fourth cylinders.
(E) shows the energization signal Vb2 for the second and third cylinders. The falling edges of these energization signals become the ignition signals @'J f 1 and V[2. In this example, when the engine speed is low, the energization signals Vb1 and Vb2 rise at the generation positions of control pulse P5 and control pulse P2, respectively, as shown by solid lines in the figure, and as the engine speed increases, each The rising position of the energization signal advances by 60 degrees as shown by the broken line in the figure.

上記進角度カウンタと該カウンタを制御するプログラム
とにより、点火信号供給手段が実現される。
An ignition signal supply means is realized by the advance angle counter and a program for controlling the counter.

各制御パルスが与えられる毎に実行される割込みルーチ
ンではまた、内燃機関の回転数を所定の範囲に保つよう
に制御するために、或いは回転速度が設定速疫を超えな
いように制御するために、点火装置の動作モードを点火
モードとするかまたは失火モードとづ−るかを決定する
。この点火装置の動作上−ドを決定するプログラムによ
り制御手段4が実現される。このプログラムにおいては
、第2の記憶手段N rpm2に記憶されている今回の
回転数検出値Ncを、設定値NSと比較し、回転数検出
値Ncが設定値Ns未満のときには点火装置の動作モー
ドを点火モードとし、点火装置24への信号の供給を許
容して点火動作を行わせろ。また回転数検出値NCが設
定値NSを超えたときには、点火装置の動作上−ドを失
火モードとし、点火装置24への信号の供給を阻止して
、点火動作を停止させる。
The interrupt routine executed each time a control pulse is given also controls the internal combustion engine to maintain its rotational speed within a predetermined range or to prevent the rotational speed from exceeding a set speed. , it is determined whether the operating mode of the ignition device is the ignition mode or the misfire mode. The control means 4 is realized by a program that determines the operational mode of the ignition device. In this program, the current detected rotational speed value Nc stored in the second storage means Nrpm2 is compared with the set value NS, and when the detected rotational speed value Nc is less than the set value Ns, the operating mode of the ignition system is set. Set the ignition mode to the ignition mode and allow a signal to be supplied to the ignition device 24 to perform an ignition operation. Further, when the rotational speed detection value NC exceeds the set value NS, the ignition device is put into a misfire mode, and the supply of a signal to the ignition device 24 is blocked to stop the ignition operation.

上記のように構成すると、加速時には回転数の検出値が
演算された平均回転数よりも大きい値に修正され、減速
時には回転数検出値が小さい値に修正される。
With the above configuration, the detected rotational speed value is corrected to a value larger than the calculated average rotational speed during acceleration, and the detected rotational speed value is corrected to a smaller value during deceleration.

例えば、第7図において加速時のH点における回転数検
出flff N CがN1で、次に1点において演t)
された平均回転数NVがN2である場合には、1点での
回転数検出値をN2 + ((N2−Nl)/X)とす
る。
For example, in Fig. 7, the rotational speed detection flff N C at point H during acceleration is N1, and then at one point
When the average rotation speed NV is N2, the rotation speed detection value at one point is set to N2 + ((N2-Nl)/X).

また第7図において減速時の8点における回転数検出値
NCがN3であった場合、次にに点で演算された平均回
転数NVがN4であった場合には、K点での回転数検出
値を(N4−(N3−N4)/X)どする。
In addition, in Fig. 7, if the rotational speed detection value NC at 8 points during deceleration is N3, then if the average rotational speed NV calculated at the next point is N4, then the rotational speed at point K The detected value is (N4-(N3-N4)/X).

回転数の変動がないときには、補正値ΔN1及びΔN2
が零になるため、通常と変りない制御が行われる。
When there is no variation in the rotation speed, the correction values ΔN1 and ΔN2
becomes zero, so control is performed as usual.

従って加速時には、例えば第5図において8点で平均回
転数の演(1が終了した時点で回転数の検出値を設定値
以上の大きさにすることができ、制御の遅れを防止する
ことができる。また減速時には、例えば第5図のE点で
平均回転数の演算が終了した時点で回転数の検出値を設
定値未満の大きさにすることができ、制御の遅れを防止
することができる。
Therefore, during acceleration, the detected value of the rotational speed can be made larger than the set value at the point when the calculation (1) of the average rotational speed is completed at 8 points in FIG. 5, for example, and it is possible to prevent delays in control. Furthermore, during deceleration, the detected value of the rotation speed can be made smaller than the set value when the calculation of the average rotation speed is completed, for example at point E in Fig. 5, thereby preventing delays in control. can.

上記の例では、内燃機関用点火装置を制御する場合を例
にとったが、内燃機関への燃料の供給量を調節するバル
ブや内燃機関の排気タイミングを調節するバルブ制御す
る場合等にも本発明を適用することができる。
In the above example, we took the case of controlling an ignition system for an internal combustion engine, but this method can also be used when controlling a valve that adjusts the amount of fuel supplied to an internal combustion engine or a valve that adjusts the exhaust timing of an internal combustion engine. The invention can be applied.

[発明の効果] 以上のように、本発明によれば、加速時には回転数の検
出値を演算された平均回転数よりも大きい値に修正し、
減速時には回転数の検出値を演算された平均回転数より
も小さい値に修正するようにしたことにより、加速時に
は、回転数が設定値を超える直前で演算された平均回転
数を修正して回転数の検出値を設定値以上の大きさにし
、また減速時には、回転数が設定値を下回る直前で演算
された平均回転数を修正して回転数の検出値を設定値以
下の大きさにすることができるので、制御の遅れを防止
することができる。
[Effects of the Invention] As described above, according to the present invention, during acceleration, the detected value of the rotation speed is corrected to a value larger than the calculated average rotation speed,
During deceleration, the detected value of rotation speed is corrected to a value smaller than the calculated average rotation speed, and during acceleration, the average rotation speed calculated just before the rotation speed exceeds the set value is corrected. The detected value of the number of revolutions is made larger than the set value, and when decelerating, the average number of revolutions calculated just before the number of revolutions falls below the set value is corrected to make the detected value of the number of revolutions less than the set value. Therefore, delays in control can be prevented.

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

第1図は本発明の構成を示すブロック図、第2図は及び
第3図は本発明の実施例において各手段を実現するため
のプログラムを示すフローチャート、第4図は本発明の
実施例で用いる装置の構成を示すブロック図、第5図は
本発明の実施例の動作を説明するための信号波形図、第
6図は機関の回転数の時間に対する変化と制御動作との
関係を説明するための線図、第7図は回転数の時間的変
化と回転数検出値の演算結果との関係を説明づるための
線図である。 1・・・内燃1a関、2・・・回転数検出手段、3・・
・記憶手段、4・・・制御手段、5・・・平均回転数油
筒手段、6・・・比較判定手段、7・・・第1の回転数
域停手段、8・・・加速時回転数補正値演算手段、9・
・・加速時回転数データ演算手段、10・・・第2の回
転数域0手段、11・・・減速時回転数補正値演惇手段
、12・・・減速時回転数データ演算手段、N rpm
l・・・第1の記憶手段、N rpm2・・・第2の記
憶手段。 第 図 第3図
FIG. 1 is a block diagram showing the configuration of the present invention, FIGS. 2 and 3 are flowcharts showing programs for realizing each means in an embodiment of the present invention, and FIG. 4 is a block diagram showing the configuration of the present invention. FIG. 5 is a block diagram showing the configuration of the device used, FIG. 5 is a signal waveform diagram for explaining the operation of the embodiment of the present invention, and FIG. 6 is for explaining the relationship between the change in the engine rotation speed over time and the control operation. FIG. 7 is a diagram for explaining the relationship between the temporal change in rotation speed and the calculation result of the rotation speed detection value. DESCRIPTION OF SYMBOLS 1... Internal combustion 1a function, 2... Rotation speed detection means, 3...
・Storage means, 4: Control means, 5: Average rotational speed oil cylinder means, 6: Comparison/judgment means, 7: First rotational speed range stop means, 8: Rotation during acceleration Number correction value calculation means, 9.
. . . Rotation speed data calculation means during acceleration, 10 . . . Second rotation speed range 0 means, 11 . . . Rotation speed correction value calculation means during deceleration, 12 . . . Rotation speed data calculation means during deceleration, N. rpm
l...first storage means, N rpm2...second storage means. Figure Figure 3

Claims (1)

【特許請求の範囲】  内燃機関の回転数を所定の周期で繰返し検出する回転
数検出手段と、前記回転数検出手段から得られる回転数
検出値を記憶する回転数検出値記憶手段と、前記記憶手
段に記憶されている回転数検出値に応じて内燃機関を制
御する制御手段とを備えた内燃機関用制御装置において
、 前記回転数検出手段は、 前記内燃機関の1回転に要する時間を計数するカウンタ
の計数値から内燃機関の平均回転数を演算する平均回転
数演算手段と、 今回演算された平均回転数を前回検出された回転数検出
値と比較して大小関係を判定する比較判定手段と、 前記比較判定手段により今回演算された平均回転数が前
回検出された回転数検出値より大きいと判定されたとき
に今回演算された平均回転数から前回検出された回転数
検出値を減算する第1の回転数減算手段と、 前記第1の回転数減算手段から得られる演算結果を定数
で除して加速時回転数補正値を演算する加速時回転数補
正値演算手段と、 今回演算された平均回転数と前記加速時回転数補正値と
を加算して加速時回転数データを演算する加速時回転数
データ演算手段と、 前記比較判定手段により今回演算された平均回転数が前
回検出された回転数検出値よりも小さいと判定されたと
きに前回検出された回転数検出値から今回演算された平
均回転数を減算する第2の回転数減算手段と、 前記第2の回転数減算手段から得られる演算結果を定数
で除して減速時回転数補正値を演算する減速時回転数補
正値演算手段と、 今回演算された平均回転数から前記減速時回転数補正値
を減算して減速時回転数データを演算する減速時回転数
データ演算手段とを具備し、前記回転数検出値記憶手段
は前記加速時回転数データまたは減速時回転数データを
回転数検出値として記憶することを特徴とする内燃機関
用制御装置。
[Scope of Claims] A rotational speed detection means for repeatedly detecting the rotational speed of an internal combustion engine at a predetermined cycle, a rotational speed detection value storage means for storing a rotational speed detection value obtained from the rotational speed detection means, and the memory. A control device for an internal combustion engine, comprising: a control means for controlling the internal combustion engine according to a detected rotational speed value stored in the means, wherein the rotational speed detection means counts the time required for one rotation of the internal combustion engine. An average rotation speed calculation means for calculating the average rotation speed of the internal combustion engine from the counted value of the counter; and a comparison determination means for comparing the currently calculated average rotation speed with the previously detected rotation speed detection value to determine the magnitude relationship. , subtracting the previously detected rotational speed value from the currently calculated average rotational speed when the comparison determination means determines that the currently calculated average rotational speed is larger than the previously detected rotational speed detection value; a rotation speed correction value calculation means for calculating a rotation speed correction value during acceleration by dividing the calculation result obtained from the first rotation speed subtraction means by a constant; Acceleration rotation speed data calculation means for calculating rotation speed data during acceleration by adding the average rotation speed and the acceleration rotation speed correction value; a second rotation speed subtraction means for subtracting the currently calculated average rotation speed from the previously detected rotation speed detection value when it is determined to be smaller than the rotation speed detection value; and from the second rotation speed subtraction means. a rotation speed correction value during deceleration calculating means for calculating a rotation speed correction value during deceleration by dividing the obtained calculation result by a constant; and deceleration rotation speed data calculation means for calculating rotation speed data, and the rotation speed detection value storage means stores the acceleration rotation speed data or deceleration rotation speed data as the rotation speed detection value. A control device for internal combustion engines.
JP28708288A 1988-11-14 1988-11-14 Controller for internal combustion engine Pending JPH02136549A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28708288A JPH02136549A (en) 1988-11-14 1988-11-14 Controller for internal combustion engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28708288A JPH02136549A (en) 1988-11-14 1988-11-14 Controller for internal combustion engine

Publications (1)

Publication Number Publication Date
JPH02136549A true JPH02136549A (en) 1990-05-25

Family

ID=17712821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28708288A Pending JPH02136549A (en) 1988-11-14 1988-11-14 Controller for internal combustion engine

Country Status (1)

Country Link
JP (1) JPH02136549A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2656379A1 (en) * 1989-12-23 1991-06-28 Bosch Gmbh Robert DEVICE FOR CONTROLLING AND / OR REGULATING THE FUEL ASSAY AND / OR THE IGNITION ANGLE OF AN INTERNAL COMBUSTION ENGINE.

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59141750A (en) * 1983-01-19 1984-08-14 Diesel Kiki Co Ltd Apparatus for generating data relating to speed of rotation of internal-combustion engine
JPS60119345A (en) * 1983-12-01 1985-06-26 Nippon Soken Inc Control method of internal-combustion engine

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59141750A (en) * 1983-01-19 1984-08-14 Diesel Kiki Co Ltd Apparatus for generating data relating to speed of rotation of internal-combustion engine
JPS60119345A (en) * 1983-12-01 1985-06-26 Nippon Soken Inc Control method of internal-combustion engine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2656379A1 (en) * 1989-12-23 1991-06-28 Bosch Gmbh Robert DEVICE FOR CONTROLLING AND / OR REGULATING THE FUEL ASSAY AND / OR THE IGNITION ANGLE OF AN INTERNAL COMBUSTION ENGINE.

Similar Documents

Publication Publication Date Title
US4558417A (en) Computer based engine control with lower priority interrupt requests generated in selected higher priority interrupt routines
JP2648929B2 (en) Engine cylinder discriminator
JPH0143142B2 (en)
US4448171A (en) Method and apparatus for optimum control of internal combustion engines
JPS6248066B2 (en)
JPH02238172A (en) Ignition timing control method and device for internal combustion engine
JP2004324525A (en) Misfire determination device for internal combustion engine
JP6511102B2 (en) Control device for internal combustion engine
JPH02136549A (en) Controller for internal combustion engine
JPH0233873B2 (en)
JP2000009007A (en) Ignition timing control device for internal combustion engine
JP2725465B2 (en) Internal combustion engine control device
JPS5851155B2 (en) Electronic ignition control device for internal combustion engines
US5103788A (en) Internal combustion engine ignition timing device
JPS63314371A (en) Internal combustion engine ignition timing control device
JPS62150075A (en) Ignition control device for internal combustion engine
JPS623173A (en) Ignition timing controller for internal-combustion engine
JP3733619B2 (en) Control device for internal combustion engine
JPH0636301Y2 (en) Ignition timing control device for internal combustion engine
JP3052676B2 (en) Method of controlling rotation speed at start of internal combustion engine
JPH01125563A (en) Ignition timing controlling
JP2605038B2 (en) Method for controlling an electric device of an internal combustion engine
JPH09100741A (en) Controller of internal combustion engine
JP2887048B2 (en) Misfire detection method and apparatus for internal combustion engine
JP2002349408A (en) Ignition timing control apparatus for internal combustion engine