[go: up one dir, main page]

JPH049265B2 - - Google Patents

Info

Publication number
JPH049265B2
JPH049265B2 JP10213783A JP10213783A JPH049265B2 JP H049265 B2 JPH049265 B2 JP H049265B2 JP 10213783 A JP10213783 A JP 10213783A JP 10213783 A JP10213783 A JP 10213783A JP H049265 B2 JPH049265 B2 JP H049265B2
Authority
JP
Japan
Prior art keywords
engine
required time
speed
storage means
stored
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.)
Expired
Application number
JP10213783A
Other languages
Japanese (ja)
Other versions
JPS59226870A (en
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 filed Critical
Priority to JP10213783A priority Critical patent/JPS59226870A/en
Publication of JPS59226870A publication Critical patent/JPS59226870A/en
Publication of JPH049265B2 publication Critical patent/JPH049265B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed
    • G01P3/48Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
    • G01P3/481Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage of pulse signals
    • G01P3/489Digital circuits therefor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M15/00Testing of engines
    • G01M15/04Testing internal-combustion engines
    • G01M15/042Testing internal-combustion engines by monitoring a single specific parameter not covered by groups G01M15/06 - G01M15/12
    • G01M15/046Testing internal-combustion engines by monitoring a single specific parameter not covered by groups G01M15/06 - G01M15/12 by monitoring revolutions
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02DCONTROLLING COMBUSTION ENGINES
    • F02D2200/00Input parameters for engine control
    • F02D2200/02Input parameters for engine control the parameters being related to the engine
    • F02D2200/10Parameters related to the engine output, e.g. engine torque or engine speed
    • F02D2200/1015Engines misfires

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Combustion & Propulsion (AREA)
  • Linear Or Angular Velocity Measurement And Their Indicating Devices (AREA)
  • Testing Of Engines (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、エンジン回転数の検出方法、詳しく
はエンジンの点火時期制御、空燃比制御等のエン
ジン制御用のエンジン回転数を検出する方法に関
するものである。
[Detailed Description of the Invention] [Technical Field] The present invention relates to a method for detecting engine rotation speed, and more particularly, to a method for detecting engine rotation speed for engine control such as engine ignition timing control and air-fuel ratio control. .

〔従来技術〕[Prior art]

従来、エンジンの各種制御、例えば点火時期の
制御には、その時点のエンジン回転数を知る必要
があり、デイストリビユータ等に備えられクラン
ク軸の回転に周期して等クランク角毎にパルス信
号を出力するクランク角センサの信号に基づいて
パルス間隔よりエンジン回転数を計算して検出し
ていた。しかし等クランク角毎に出力されるパル
ス信号は、センサ回転部分のバツクラツシユ等も
あつて必ずしも完全な等クランク角毎の信号とな
つていず、パルス間隔が若干ずれることもある。
また単に等クランク角信号のパルス間隔のみから
エンジン回転数を算出する場合、僅かな間隔のず
れ等からエンジンの高速回転時では検出した回転
数が大きく変動し、正確な点火時期制御が行えな
い。
Conventionally, various types of engine control, such as ignition timing control, require knowing the engine speed at that point in time. The engine rotation speed was calculated and detected from the pulse interval based on the output signal of the crank angle sensor. However, the pulse signals output at every equal crank angle are not necessarily perfect signals at every equal crank angle due to backlash in the rotation part of the sensor, and the pulse intervals may be slightly shifted.
Furthermore, if the engine speed is simply calculated from the pulse intervals of the constant crank angle signal, the detected speed will vary greatly when the engine is rotating at high speeds due to slight deviations in the intervals, making it impossible to perform accurate ignition timing control.

この様な問題を解決する方法として、第1図に
示すフローチヤートの如き処理を行うエンジン回
転数の検出方法が提案されている。
As a method for solving such problems, an engine rotation speed detection method has been proposed that performs processing as shown in the flowchart shown in FIG.

即ち、第1図に示す処理は、回転角センサより
出力される30゜毎のクランク角信号に基づき実行
される処理を表わしている。
That is, the process shown in FIG. 1 represents the process executed based on the crank angle signal every 30 degrees output from the rotation angle sensor.

まず、処理が開始されると、ステツプ100に
おいては、今回のクランク角信号より4つ前のク
ランク角信号が出力されたときの時刻と今回の時
刻までに要した所要時間、即ち、クランク軸が
120゜回転に要する所要時間が計測される。
First, when the process starts, in step 100, the time required for outputting the four crank angle signals before the current crank angle signal and the time required up to the current time, that is, the crankshaft
The time required for a 120° rotation is measured.

続くステツプ101においては、前ステツプ1
00にて計測された計測値(所要時間)が所定の
第1記憶手段に記憶され、次ステツプ102の処
理に移行する。
In the following step 101, the previous step 1
The measured value (required time) measured at 00 is stored in a predetermined first storage means, and the process moves to the next step 102.

ステツプ102においては、第1記憶手段に記
憶された所要時間に基づき、いわゆる「なまし処
理」が行われる。即ち「なまし処理」とはエンジ
ン回転変動を表わす所要時間の変動を、そのまま
エンジン回転数に換算せずに、一旦、当該変動を
平均化することにより、エンジン回転数の変動を
少なく抑えて検出するための一種の平均化処理を
言い、例えば、それまでに計測された所要時間に
基づいて演算された所要時間の重みつき平均値
T120M′(第2記憶手段内に記憶されている)と
今回計測された所要時間T120との重みつき平均
を求め、求めた重みつき平均値を新たな所要時間
の重みつき平均値T120Mとしている。この処理
を数式に表わすと以下の如くになる。
In step 102, a so-called "smoothing process" is performed based on the required time stored in the first storage means. In other words, "smoothing" means that the fluctuations in the required time, which represent engine speed fluctuations, are not directly converted to engine speed, but are averaged, thereby suppressing and detecting the fluctuations in engine speed. For example, a weighted average value of the required time calculated based on the required time measured up to that point.
A weighted average of T120M' (stored in the second storage means) and the currently measured required time T120 is determined, and the determined weighted average value is set as a new weighted average value of the required time T120M. This process can be expressed numerically as follows.

T120M=T120−T120M′/K+T120M′ (Kは定数) 続くステツプ103においては、前ステツプ1
02で算出された所要時間の重みつき平均値
T120Mを新たな所要時間の重みつき平均値とし
て第2記憶手段の記憶更新の処理を行う。
T120M=T120-T120M'/K+T120M' (K is a constant) In the following step 103, the previous step 1
Weighted average value of required time calculated in 02
The process of updating the memory of the second storage means is performed using T120M as a new weighted average value of the required time.

そして必要に応じて図示せぬ他の処理を行い、
ステツプ104においては、前記ステツプ103
にて第2記憶手段内に記憶された新たな所要時間
の重みつき平均値に基づいて点火時期の進角計算
処理が行われ、更に必要に応じて他の処理を行つ
た後、本フローチヤートに示す処理を終了する。
Then, perform other processing not shown as necessary,
In step 104, the step 103
The ignition timing advance calculation process is performed based on the new weighted average value of the required time stored in the second storage means, and other processes are performed as necessary. The process shown in is ended.

この様な処理により、計測されたエンジン回転
数の変動がなまされ(平均化され)、エンジン回
転数を制御パラメータとする点火時期制御におい
て、高速回転域でクランク角信号のズレ等による
点火時期の乱れが抑制され得る。
Through such processing, fluctuations in the measured engine speed are smoothed (averaged), and in ignition timing control using the engine speed as a control parameter, the ignition timing is adjusted due to deviations in the crank angle signal in the high speed range. turbulence can be suppressed.

しかしながら、この様な処理を行つた場合、別
の新たな問題、即ち、高速回転域での点火時期の
乱れは改善されるものの、逆に過渡時あるいは低
速回転域での追従遅れが増大すると言つた問題が
生ずることとなつた。
However, when such processing is performed, another new problem arises: although the disturbance of ignition timing in the high speed range is improved, on the contrary, the follow-up delay during transient periods or in the low speed range increases. A problem arose.

その原因は、前述の「なまし処理」が30゜毎の
クランク角信号に同期して実行されるため、「な
まし処理」にて平均化される回転変動の周波数成
分(カツトオフ周波数ωc以上の周波数成分)が
変化し、例えばエンジン回転数が600rpm〜
6000rpmの範囲で変化する場合は、カツトオフ周
波数ωcは、 ωc=1/kτ (K:定数、τ:実行周期) で表わされることから、K=4とした時、第2図
に示す如く、30rad/sec〜300rad/secの範囲で
変化する。
The reason for this is that the above-mentioned "smoothing process" is executed in synchronization with the crank angle signal every 30 degrees, so the frequency components of rotational fluctuations averaged by the "smoothing process" (above the cutoff frequency ωc) For example, the engine speed changes from 600 rpm
When changing in the range of 6000 rpm, the cutoff frequency ωc is expressed as ωc = 1/kτ (K: constant, τ: execution period), so when K = 4, the cutoff frequency ωc is 30rad as shown in Figure 2. It varies in the range of /sec to 300rad/sec.

従つて、センサのバツクラツシユ等が回転変動
にさほど影響を及ぼさない低速回転域であつても
回転変動の周波数成分を平均化するため、本来、
検出して制御に用いるべき回転変動をも正確に検
出できなくなる。
Therefore, in order to average out the frequency components of rotational fluctuations even in the low-speed rotation range where sensor bumps and the like do not have much of an effect on rotational fluctuations,
It also becomes impossible to accurately detect rotational fluctuations that should be detected and used for control.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、点火時期制御や燃料噴射量制
御に用いられる制御パラメータとしてのエンジン
回転数を、実際に計測した回転数より制御に悪影
響を及ぼす回転変動成分をその時の回転域に合わ
せて適宜取り除く処理を行つて求めることによ
り、低速回転域から高速回転域に至るまで安定
し、追従性の良いエンジン制御を可能にするエン
ジン回転数の検出方法を提供することにある。
An object of the present invention is to adjust the engine speed, which is a control parameter used for ignition timing control and fuel injection amount control, from the actually measured engine speed by adjusting the engine speed fluctuation component that has an adverse effect on control according to the current speed range. It is an object of the present invention to provide a method for detecting the engine rotation speed, which is stable from a low speed rotation range to a high speed rotation range, and enables engine control with good followability by performing processing to remove the engine speed.

〔発明の構成〕[Structure of the invention]

かかる目的を達成するために、本発明は、第3
図のフローチヤートに示す如く、 (P1)エンジンのクランク軸の回転に同期し
て等クランク角毎に出力されるクランク角信号に
基づき、クランク軸の所定クランク角回転毎に、
当該回転に要する所要時間を計測し、計測した所
要時間に基づき第1の記憶手段内に記憶されてい
る所要時間の記憶更新処理を行うと共に、 (P2)所定時間間隔毎に、前記第1の記憶手
段内に記憶された所要時間と、第2の記憶手段内
に記憶されているそれまでの所要時間の平均化処
理値とに基づき新たに平均化処理を行い、当該処
理結果を新たな所要時間の平均化処理値として第
2の記憶手段の記憶更新処理を行い、 (P3)前記第2の記憶手段内に記憶されてい
る所要時間の平均化処理値に基づきエンジン回転
数を算出することを特徴とするエンジン回転数の
検出方法を要旨としている。
In order to achieve such an objective, the present invention provides the third
As shown in the flowchart in the figure, (P1) Every predetermined crank angle rotation of the crankshaft, based on the crank angle signal that is output at every equal crank angle in synchronization with the rotation of the engine crankshaft.
The time required for the rotation is measured, and the required time stored in the first storage means is updated based on the measured time, and (P2) at predetermined time intervals, the first A new averaging process is performed based on the required time stored in the storage means and the averaged value of the previously required time stored in the second storage means, and the processing result is used to calculate the new required time. Performing a memory update process in a second storage means as an averaged value of the time, and (P3) calculating the engine rotation speed based on the averaged value of the required time stored in the second storage means. The gist of this paper is a method for detecting engine speed, which is characterized by:

〔実施例〕〔Example〕

以下に本発明を、実施例を挙げて図面と共に説
明する。
The present invention will be described below with reference to examples and drawings.

まず、第4図は本発明方法が適用される実施例
の四サイクル四気筒内燃機関(エンジン)及びそ
の周辺装置を表わす概略系統図である。
First, FIG. 4 is a schematic system diagram showing a four-stroke, four-cylinder internal combustion engine and its peripheral equipment in an embodiment to which the method of the present invention is applied.

1はエンジン、2はピストン、3は点火プラ
グ、4は排気マニホールド、5は排気マニホール
ド4に備えられ、排ガス中の残存酸素濃度を検出
する酸素センサ、6は各気筒に対してそれぞれ設
けられ燃料を噴射する燃料噴射弁、7は吸気マニ
ホールド、7aは吸気マニホールド7の接続され
る吸気ポート、7bは吸気バルブ、8は吸気マニ
ホールド7に備えられ、エンジン本体1に送られ
る吸入空気の温度を検出する吸気温センサ、9は
エンジンの冷却水温を検出する水温センサ、10
はスロツトルバルブ、11はスロツトルバルブ1
0に連動し、スロツトルバルブ10の開度に応じ
た信号を出力するスロツトルポジシヨンセンサ、
12はスロツトルバルブ10を迂回する空気通路
であるバイパス路、13はバイパス路12の開口
面積を制御してアイドル回転数を制御するアイド
ルスピードコントロールバルブ(ISCV)、14は
吸入空気量を測定するエアフロメータ、15は吸
入空気を浄化するエアクリーナをそれぞれ表わし
ている。
1 is an engine, 2 is a piston, 3 is a spark plug, 4 is an exhaust manifold, 5 is an oxygen sensor provided in the exhaust manifold 4 and detects the residual oxygen concentration in the exhaust gas, 6 is provided for each cylinder and indicates a fuel 7 is an intake manifold, 7a is an intake port to which the intake manifold 7 is connected, 7b is an intake valve, 8 is provided in the intake manifold 7, and detects the temperature of intake air sent to the engine body 1 9 is a water temperature sensor that detects the engine cooling water temperature; 10 is a water temperature sensor that detects the engine cooling water temperature;
is the throttle valve, 11 is the throttle valve 1
a throttle position sensor that outputs a signal according to the opening degree of the throttle valve 10;
12 is a bypass passage that is an air passage that bypasses the throttle valve 10; 13 is an idle speed control valve (ISCV) that controls the opening area of the bypass passage 12 to control the idle rotation speed; and 14 measures the amount of intake air. Air flow meters 15 each represent an air cleaner that purifies intake air.

また、16は点火コイルを備え点火に必要な高
電圧を出力するイグナイタ、17は図示していな
いクランク軸に連動し上記イグナイタ16で発生
した高電圧を各気筒の点火プラグ3に分配供給す
るデイストリビユータ、18はデイストリビユー
タ17内に取り付けられ、デイストリビユータ1
7の1回転、即ちクランク軸2回転に24発のパル
ス信号(クランク角信号)を出力する回転角セン
サ、19はデイストリビユータ17の1回転に1
発のパルス信号を出力する気筒判別センサ、20
は電子制御回路をそれぞれ表わしている。
Further, 16 is an igniter that is equipped with an ignition coil and outputs the high voltage necessary for ignition, and 17 is a device that is linked to a crankshaft (not shown) and distributes the high voltage generated by the igniter 16 to the spark plugs 3 of each cylinder. A triviewer 18 is installed within the distributor 17, and the distributor 1
A rotation angle sensor 19 outputs 24 pulse signals (crank angle signals) per one revolution of the distributor 17, that is, two revolutions of the crankshaft.
a cylinder discrimination sensor 20 that outputs a pulse signal;
represent electronic control circuits, respectively.

更に21はエンジン冷間時に、スロツトルバル
ブを迂回して流れる空気の通路、即ちフアースト
アイドル用バイパス路を示している。そして22
はフアーストアイドル用バイパス路21を通る空
気量を制御するエアバルブを示している。尚エア
バルブ22はエンジン冷間時に暖気運転に必要な
エンジン回転数を確保するためにフアーストアイ
ドル用バイパス路21を開くように作動する。
Further, 21 indicates a passage through which air flows bypassing the throttle valve when the engine is cold, that is, a first idle bypass passage. And 22
indicates an air valve that controls the amount of air passing through the first idle bypass passage 21. Note that the air valve 22 operates to open the first idle bypass passage 21 in order to secure the engine rotational speed necessary for warm-up operation when the engine is cold.

次に第5図は電子制御回路20のブロツク図を
表わしている。
Next, FIG. 5 shows a block diagram of the electronic control circuit 20.

30は各センサより出力されるデータを制御プ
ログラムに従つて入力及び演算すると共に、燃料
噴射弁6、イグナイタ16等の各種装置を作動制
御等するための処理を行うセントラルプロセシン
グユニツト(以下、単にCPUと呼ぶ)、31は前
記制御プログラムや燃料噴射量演算のためのマツ
プ等のデータが格納されるリードオンリメモリ
(以下、単にROMと呼ぶ)、32は電子制御回路
20に入力されるデータや演算制御に必要なデー
タが一時的に読み書きされるランダムアクセスメ
モリ(以下、単にRAMと呼ぶ)、33は図示せ
ぬキースイツチがオフされても以後のエンジン作
動に必要な学習値データ等を保持するよう、バツ
テリによつてバツクアツプされたバツクアツプラ
ンダムアクセスメモリ(以下、単にバツクアツプ
RAMと呼ぶ)、34は図示していない入力ポー
トや必要に応じて設けられる波形整形回路、各セ
ンサの出力信号をCPU30に選択的に出力する
マルチプレクサ、アナログ信号をデジタル信号に
変換するA/D変換器、等が備えられた入力部を
それぞれ表わしている。35は図示していない入
力ポート等の他に出力ポートが設けられその他必
要に応じて燃料噴射弁6、イグナイタ16等を
CPU30の制御信号に従つて駆動するに駆動回
路等が備えられた入・出力部、36は、CPU3
0、ROM31等の各素子及び入力部34入・出
力部35を結び各データが送られるバスラインを
それぞれ表わしている。
30 is a central processing unit (hereinafter simply referred to as CPU) which inputs and calculates data output from each sensor according to a control program, and performs processing to control the operation of various devices such as the fuel injection valve 6 and the igniter 16. 31 is a read-only memory (hereinafter simply referred to as ROM) in which data such as the control program and a map for fuel injection amount calculation is stored; 32 is data input to the electronic control circuit 20 and calculations; A random access memory (hereinafter simply referred to as RAM) 33 is used to temporarily read and write data necessary for control, and is designed to retain learning value data necessary for subsequent engine operation even if a key switch (not shown) is turned off. , backup random access memory backed up by battery (hereinafter simply referred to as backup
34 is an input port (not shown), a waveform shaping circuit provided as necessary, a multiplexer that selectively outputs the output signal of each sensor to the CPU 30, and an A/D that converts analog signals into digital signals. Inputs equipped with transducers, etc. are each represented. 35 is provided with an output port in addition to an input port (not shown), and is also provided with a fuel injection valve 6, an igniter 16, etc. as necessary.
An input/output section 36 is provided with a drive circuit etc. to drive according to a control signal from the CPU 30.
0, ROM 31, and other elements, and the input section 34 and the input/output section 35, each represents a bus line through which each data is sent.

上記CPU30による点火時期の制御は、エン
ジン回転数や、必要に応じてエンジン負荷等に基
づき演算された点火タイミングでパルス信号をイ
グナイタ16に出力することにより実行される。
The control of the ignition timing by the CPU 30 is performed by outputting a pulse signal to the igniter 16 at an ignition timing calculated based on the engine rotation speed and, if necessary, the engine load.

次に、本実施例のエンジン回転数検出の為の制
御プログラムを第6図、第7図のフローチヤート
に示す。
Next, the control program for detecting the engine rotational speed of this embodiment is shown in the flowcharts of FIGS. 6 and 7.

以下、本実施例の制御プログラムに示す処理に
ついて説明する。
The processing shown in the control program of this embodiment will be described below.

まず第6図の「クランク角30゜割込」処理ルー
チンについて説明する。本ルーチンは、クランク
軸が30°回転する毎に、即ち回転角センサ18の
信号に同期して処理の行なわれるサブルーチンを
示し、処理が開始されると、ステツプ51にてク
ランク軸120°だけ回転するのに要した時間(所用
時間)T120が計測される。この計測は、例えば
今回本ルーチンの処理が開始された時点の時刻と
4回前の本ルーチンの処理が開始された時点の時
刻とから計算によつて求められる。
First, the "crank angle 30° interrupt" processing routine shown in FIG. 6 will be explained. This routine is a subroutine that performs processing every time the crankshaft rotates 30 degrees, that is, in synchronization with the signal from the rotation angle sensor 18. When the process starts, in step 51, the crankshaft rotates 120 degrees. The time required to do so (required time) T120 is measured. This measurement is obtained, for example, by calculation from the time when the process of this routine started this time and the time when the process of this routine started four times ago.

続くステツプ51においては、前ステツプで計
測された所用時間T120をRAM32内の所定のレ
ジスタ(以下、Aレジスタと呼ぶ)に、既に前回
の処理にてAレジスタに記憶されている所用時間
T120に代えて記憶(更新)し、次ステツプ52
の処理に移する。
In the following step 51, the required time T120 measured in the previous step is stored in a predetermined register (hereinafter referred to as the A register) in the RAM 32, and the required time already stored in the A register in the previous process is stored.
Store (update) in place of T120 and proceed to the next step 52
Move on to processing.

ステツプ52においては、後述する第7図フロ
ーチヤートのステツプ62にて所定のレジスタ
(以下、Bレジスタと呼ぶ)に格納された平均化
処理値T120Mを用いて公知の点火時期の進角計
算処理が行なわれ、本ルーチンの処理は終了す
る。尚、本ルーチンにおいては必要に応じて点火
時期の進角計算の代りに他の処理、例えば燃料噴
射量計算処理や、それらの処理に加えて他の処理
を行なつても良い。
In step 52, a known ignition timing advance angle calculation process is performed using the averaged value T120M stored in a predetermined register (hereinafter referred to as B register) in step 62 of the flowchart of FIG. 7, which will be described later. The processing of this routine is then completed. In this routine, other processing may be performed in place of the ignition timing advance angle calculation, for example, fuel injection amount calculation processing, or other processing in addition to these processings, if necessary.

次に第7図に示す「タイマ割込」処理ルーチン
について説明する。本ルーチンはプログラム処理
によつて計時されるソフトタイマ、あるいは図示
せぬ電子部品によつて構成されるハードタイマ等
のタイマ信号により所定の時間間隔(例えば1〜
5msec)で処理が開始され、まずステツプ60に
おいては、前述ステツプ51においてAレジスタ
に記憶されている最新の所要時間T120を読み出
す。
Next, the "timer interrupt" processing routine shown in FIG. 7 will be explained. This routine is executed at predetermined time intervals (for example, from 1 to
5 msec), and first, in step 60, the latest required time T120 stored in the A register in step 51 is read out.

続くステツプ61においては、それまでの本ル
ーチンの処理にて演算されBレジスタに記憶され
ている所要時間の平均化処理値T120Mと、前ス
テツプにて読み出された最新の所要時間T120と
の平均化処理、即ち次式に示す如き重みつき平均
値Fの演算を実行し、結果を、新たな平均化処理
値T120Mとする。
In the following step 61, the average processing value T120M of the required time calculated in the processing of this routine up to that point and stored in the B register is averaged with the latest required time T120 read out in the previous step. The weighted average value F is computed as shown in the following equation, and the result is set as a new averaged value T120M.

F=T120−T120M/K1+T120M (K1;定数) 次ステツプ62においては、Bレジスタに、前
回の本ルーチンの処理にて既に記憶されている平
均化処理値に代えて、新たに前ステツプにて求め
た所要時間の平均化処理値を記憶して記憶の更新
を行ない、本ルーチンの処理を終了する。
F=T120−T120M/K 1 +T120M (K 1 ; constant) In the next step 62, a new value from the previous step is stored in the B register in place of the averaged value already stored in the previous processing of this routine. The averaged processing value of the required time obtained in is stored and updated, and the processing of this routine is completed.

本ルーチンの処理においても必要に応じて他の
処理を行つても良い。
Other processing may be performed in this routine as necessary.

以上の処理を行なうことにより、例えば、ステ
ツプ61で示した定数K1=4とし、「タイマ割
込」処理の行なわれる所定の時間間隔を1msecと
すれば、平均化の処理を行なう実行周期がエンジ
ン回転数に関係なく一定となり、カツトオフ周波
数ωcはエンジン回転数にかかわりなく第8図に
示す如く一定の周波数(250rad/sec)となる。
したがつて本実施例によつて高速回転域において
は、エンジン回転数の変動を平均化したエンジン
回転数を検出することができると共に、低速回転
域ではエンジン回転数の変動を必要以上に平均化
されることのないエンジン回転数を検出すること
が可能となる。
By performing the above processing, for example, if the constant K 1 shown in step 61 is set to 4 and the predetermined time interval at which the "timer interrupt" processing is performed is 1 msec, the execution cycle for performing the averaging processing is The cutoff frequency ωc is constant regardless of the engine speed, and the cutoff frequency ωc is a constant frequency (250 rad/sec) as shown in FIG. 8, regardless of the engine speed.
Therefore, according to this embodiment, in the high speed rotation range, it is possible to detect the engine rotation speed that averages out the fluctuations in the engine rotation speed, and in the low speed rotation range, it is possible to detect the engine rotation speed that averages out the fluctuations in the engine rotation speed more than necessary. This makes it possible to detect engine speeds that would otherwise not be detected.

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

以上詳述したように本発明方法は、エンジン回
転数とはかかわりなく、一定の時間間隔でエンジ
ン回転数の平均化処理を行なつている。この為、
本発明によれば、エンジン回転数の変動の平均化
を、特に必要な高速回転域において、確実に行な
うと共に、しかもさほど当該平均化を行なう必要
のない低速回転域での平均化処理による影響を少
なくすることが可能となる。したがつて、低速回
転域から高速回転域に至る全ての回転域で、エン
ジン回転数を制御パラメータとする制御に適切な
エンジン回転数を検出することが可能となり、こ
の結果、高速回転域における制御の乱れを無く
し、低中速回転域での追従性向上を図ることがで
きると云う効果が得られる。
As described in detail above, the method of the present invention performs the averaging process of the engine speed at regular time intervals, regardless of the engine speed. For this reason,
According to the present invention, fluctuations in engine speed are reliably averaged, especially in the required high speed rotation range, and the effects of averaging processing in the low speed rotation range where such averaging is not so necessary are avoided. It becomes possible to reduce the amount. Therefore, it is possible to detect an appropriate engine speed for control using the engine speed as a control parameter in all speed ranges from low speed to high speed, and as a result, control in the high speed range The effect is that it is possible to eliminate turbulence and improve followability in the low and medium speed rotation range.

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

第1図は従来の平均化処理を示すフローチヤー
ト、第2図は同じく平均化処理によるエンジン回
転数の変動分のカツトオフ周波数の変化を示すグ
ラフ、第3図は本発明方法の構成を表わすフロー
チヤート、第4図は本発明方法の適用される実施
例のエンジン及びその周辺装置を表わす概略系統
図、第5図はその電子制御回路を表わすブロツク
図、第6図及び第7図は実施例制御プログラムを
表わすフローチヤート、第8図は実施例の作用を
表わすグラフである。 1…エンジン、3…点火プラグ、18…回転角
センサ、20…電子制御回路、30…CPU、3
1…ROM、32…RAM。
FIG. 1 is a flowchart showing conventional averaging processing, FIG. 2 is a graph showing changes in cut-off frequency corresponding to fluctuations in engine speed due to averaging processing, and FIG. 3 is a flowchart showing the configuration of the method of the present invention. 4 is a schematic system diagram showing an engine and its peripheral equipment in an embodiment to which the method of the present invention is applied, FIG. 5 is a block diagram showing its electronic control circuit, and FIGS. 6 and 7 are examples of the embodiment. FIG. 8 is a flowchart showing the control program and a graph showing the operation of the embodiment. 1...Engine, 3...Spark plug, 18...Rotation angle sensor, 20...Electronic control circuit, 30...CPU, 3
1...ROM, 32...RAM.

Claims (1)

【特許請求の範囲】 1 エンジンのクランク軸の回転に同期して等ク
ランク角毎に出力されるクランク角信号に基づ
き、クランク軸の所定クランク角回転毎に、当該
回転に要する所要時間を計測し、計測した所要時
間に基づき第1の記憶手段内に記憶されている所
要時間の記憶更新処理を行うと共に、 所定時間間隔毎に、前記第1の記憶手段内に記
憶された所要時間と、第2の記憶手段内に記憶さ
れているそれまでの所要時間の平均化処理値とに
基づき新たに平均化処理を行い、当該処理結果を
新たな所要時間の平均化処理値として第2の記憶
手段の記憶更新処理を行い、 前記第2の記憶手段内に記憶されている所要時
間の平均化処理値に基づきエンジン回転数を算出
することを特徴とするエンジン回転数の検出方
法。
[Claims] 1. Based on a crank angle signal that is output at every equal crank angle in synchronization with the rotation of the crankshaft of the engine, the time required for each rotation of the crankshaft at a predetermined crank angle is measured. , performs a memory update process for the required time stored in the first storage means based on the measured required time, and updates the required time stored in the first storage means and the first storage means at predetermined time intervals. A new averaging process is performed based on the previously averaged value of the required time stored in the second storage means, and the processing result is used as the new averaged value of the required time to be stored in the second storage unit. A method for detecting engine rotation speed, characterized in that the engine rotation speed is calculated based on an averaged value of the required time stored in the second storage means.
JP10213783A 1983-06-08 1983-06-08 Detecting method of number of revolution of engine Granted JPS59226870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10213783A JPS59226870A (en) 1983-06-08 1983-06-08 Detecting method of number of revolution of engine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10213783A JPS59226870A (en) 1983-06-08 1983-06-08 Detecting method of number of revolution of engine

Publications (2)

Publication Number Publication Date
JPS59226870A JPS59226870A (en) 1984-12-20
JPH049265B2 true JPH049265B2 (en) 1992-02-19

Family

ID=14319374

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10213783A Granted JPS59226870A (en) 1983-06-08 1983-06-08 Detecting method of number of revolution of engine

Country Status (1)

Country Link
JP (1) JPS59226870A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07116962B2 (en) * 1986-03-17 1995-12-18 トヨタ自動車株式会社 Air-fuel ratio controller for internal combustion engine
JPH0833139B2 (en) * 1990-11-15 1996-03-29 富士重工業株式会社 Engine idle speed control method
JP2000008939A (en) * 1998-06-26 2000-01-11 Keihin Corp Engine speed calculation device

Also Published As

Publication number Publication date
JPS59226870A (en) 1984-12-20

Similar Documents

Publication Publication Date Title
JPS639093B2 (en)
JPS6347893B2 (en)
JPH0243902B2 (en)
EP0378814B1 (en) Method of controlling air-fuel ratio
JPS6246690B2 (en)
JPH049265B2 (en)
JPH0627516B2 (en) Engine controller
JPS5963330A (en) Method of controlling electrically controlled internal- combustion engine
JPS58176470A (en) Control of revolution number of engine upon idling
JPS61116051A (en) Method for processing engine control signal
JPH0316498B2 (en)
JPH04103857A (en) Engine load parameter calculation device and engine control device
JPH0480226B2 (en)
JPH0559263B2 (en)
JPH0524342B2 (en)
JP2623660B2 (en) Control device for internal combustion engine
JP2590941B2 (en) Fuel injection amount learning control device for internal combustion engine
JPS6032974A (en) Ignition timing control method
JPS6027784A (en) Method of controlling ignition timing of internal- combustion engine
JPH0587664B2 (en)
JPS62139943A (en) Air-fuel ratio control method for internal combustion engine
JPS6125930A (en) Control of fuel injection amount of internal-combustion engine
JPS61126338A (en) Fuel injection amount control device for internal combustion engines
JPS61123727A (en) Fuel injection quantity controller for internal-combusion engine
JPS5827846A (en) Method for controlling fuel supply amount for internal combustion engine