JP2502500B2 - Engine controller - Google Patents

Engine controller

Info

Publication number
JP2502500B2
JP2502500B2 JP60024658A JP2465885A JP2502500B2 JP 2502500 B2 JP2502500 B2 JP 2502500B2 JP 60024658 A JP60024658 A JP 60024658A JP 2465885 A JP2465885 A JP 2465885A JP 2502500 B2 JP2502500 B2 JP 2502500B2
Authority
JP
Japan
Prior art keywords
output
value
throttle sensor
opening
throttle
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 - Lifetime
Application number
JP60024658A
Other languages
Japanese (ja)
Other versions
JPS61185649A (en
Inventor
徹郎 高羽
知嗣 力武
良隆 田原
学 有馬
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.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP60024658A priority Critical patent/JP2502500B2/en
Publication of JPS61185649A publication Critical patent/JPS61185649A/en
Application granted granted Critical
Publication of JP2502500B2 publication Critical patent/JP2502500B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy
    • Y02E10/52PV systems with concentrators

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、エンジンの制御装置に関するものであ
る。
Description: TECHNICAL FIELD The present invention relates to an engine control device.

〔従来技術〕[Prior art]

この発明に係るエンジンの制御装置には、燃料噴射量
制御装置,点火時期制御装置あるいはEGR量制御装置
等、種々のものがあるが、以下では説明の便宜上、燃料
噴射量制御装置を例に取って説明する。
The engine control device according to the present invention includes various devices such as a fuel injection amount control device, an ignition timing control device, an EGR amount control device, and the like. However, for convenience of description, the fuel injection amount control device will be taken as an example below. Explain.

最近、車両用エンジンにおいては、運転性改善や燃費
改善の観点等から、燃料供給装置として従来の気化器に
代えて燃料噴射弁が広く使用される傾向にあり、この燃
料噴射弁を備えたエンジンでは、エンジンの運転状態に
応じて燃料噴射パルスを作成し、これを燃料噴射弁に加
えて燃料噴射量を制御するようにしている。
2. Description of the Related Art Recently, in vehicular engines, fuel injection valves tend to be widely used as fuel supply devices in place of conventional carburetors from the viewpoint of improving drivability and fuel efficiency. Then, a fuel injection pulse is created according to the operating state of the engine, and this is added to the fuel injection valve to control the fuel injection amount.

そしてこのようなエンジンの制御装置の1例として
は、従来、エアフローセンサでエンジンの運転状態のパ
ラメータである吸入空気量を検出し、あるいは負圧セン
サでこれもエンジンの運転状態のパラメータである吸気
管負圧を検出し、該エアフローセンサ出力あるいは負圧
センサ出力に基づいて燃料噴射量を制御するようにした
ものがあるが、前者のエアフローセンサを用いる場合に
はこれが吸気抵抗となってエンジン出力の低下を招来
し、一方後者の負圧センサを用いる場合には一般にエン
ジンの運転状態の変化に対する吸気管負圧の変化に遅れ
があることから、噴射量制御に遅れが生ずるという問題
がある。
As an example of such an engine control device, conventionally, an air flow sensor detects an intake air amount which is a parameter of an engine operating state, or a negative pressure sensor also detects an intake air amount which is a parameter of an engine operating state. There is a system in which the pipe negative pressure is detected and the fuel injection amount is controlled based on the output of the air flow sensor or the output of the negative pressure sensor. However, when the former air flow sensor is used, this becomes intake resistance and becomes the engine output. On the other hand, when the latter negative pressure sensor is used, the change in the intake pipe negative pressure with respect to the change in the operating state of the engine is generally delayed, which causes a problem in that the injection amount control is delayed.

またこの種の他のエンジンの制御装置として、従来、
例えば特開昭49-61519号公報に示されるように、スロッ
トルセンサでこれもエンジンの運転状態のパラメータで
あるスロットル弁開度を検出し、該スロットルセンサ出
力に基づいて燃料噴射量を制御するようにしたものがあ
り、該装置では、スロットルセンサが上述のエアフロー
センサのように吸気抵抗になるということがなく、又ス
ロットル弁開度の変化が吸気管負圧の変化に比し、エン
ジンの運転状態の変化に対する追従性がよいことから、
エンジン出力の低下や噴射量制御の遅れ等の問題が生ず
ることがないものである。
In addition, as a control device for other engines of this type, conventionally,
For example, as disclosed in Japanese Patent Laid-Open No. 49-61519, a throttle sensor detects the throttle valve opening, which is also a parameter of the operating state of the engine, and controls the fuel injection amount based on the output of the throttle sensor. In this device, the throttle sensor does not become an intake resistance unlike the above-mentioned air flow sensor, and the change of the throttle valve opening is compared with the change of the intake pipe negative pressure, and Since it has good followability to changes in state,
There is no problem such as a decrease in engine output or a delay in injection amount control.

しかるに上記従来公報記載の装置では、スロットルセ
ンサの出力値に応じて燃料噴射パルス、即ち燃料噴射量
の制御量を決定しているので、センサの取付誤差,セン
サ特性の個体差に起因して制御精度が低下するという問
題がある。
However, in the device disclosed in the above-mentioned conventional publication, the control amount of the fuel injection pulse, that is, the fuel injection amount is determined according to the output value of the throttle sensor. Therefore, the control is caused due to the mounting error of the sensor and the individual difference of the sensor characteristics. There is a problem that the accuracy is reduced.

そしてこのような問題を解決する方法としては、スロ
ットル弁の全閉開度と全開開度とに対応するスロットル
センサ出力、即ち最小出力値及び最大出力値を学習し、
この2つのセンサ出力値から任意のスロットルセンサ出
力に対応するスロットル弁の開度率を演算してこれに基
づいて燃料噴射量の制御量を決定する方法が考えられ
る。この方法では、同一のスロットル弁開度に対するス
ロットルセンサ出力がセンサの取付誤差,センサ特性の
個体差に起因して変化しても該センサ出力から求められ
るスロットル弁の開度率は一定であることから、制御精
度低下の問題は生じないものである。
And as a method for solving such a problem, the throttle sensor output corresponding to the fully closed opening and the fully opened opening of the throttle valve, that is, learning the minimum output value and the maximum output value,
A method is conceivable in which the opening ratio of the throttle valve corresponding to an arbitrary throttle sensor output is calculated from these two sensor output values and the control amount of the fuel injection amount is determined based on this. In this method, even if the throttle sensor output for the same throttle valve opening changes due to sensor installation error and individual differences in sensor characteristics, the throttle valve opening ratio obtained from the sensor output must be constant. Therefore, the problem of deterioration of control accuracy does not occur.

しかしながらこの方法では、スロットルセンサの最小
出力値及び最大出力値が学習されている際に、何らかの
原因、例えばノイズ等によってスロットルセンサに誤検
出が生じると、本来のスロットル弁全閉あるいは全開に
対応するスロットルセンサ出力値より大きくずれた出力
値が学習され、その結果スロットル弁開度率に差が生じ
て空燃比が目標値からずれるおそれがある。
However, in this method, when the throttle sensor is erroneously detected due to some cause, such as noise, while the minimum output value and the maximum output value of the throttle sensor are being learned, the original throttle valve is fully closed or fully opened. An output value that deviates significantly from the throttle sensor output value is learned, and as a result, a difference occurs in the throttle valve opening rate, which may cause the air-fuel ratio to deviate from the target value.

〔発明の目的〕[Object of the Invention]

この発明は、かかる問題点に鑑み、ノイズ等によって
誤動作をすることなく、センサの取付誤差やセンサ特性
の個体差に起因して制御精度が低下するを防止できるエ
ンジンの制御装置を提供せんとするものである。
In view of such a problem, the present invention provides a control device for an engine that can prevent a decrease in control accuracy due to a sensor mounting error or an individual difference in sensor characteristics without causing a malfunction due to noise or the like. It is a thing.

〔発明の構成〕[Structure of Invention]

そこでこの発明は、スロットルセンサ出力の最小値と
最大値とを学習し、この間を等分することによってスロ
ットル弁の開度率を検出し、これに基づいてエンジンを
制御する一方、最小又は最大出力値が単位時間当たり所
定値以上変化した時は学習を中止するようにしたもので
ある。
Therefore, the present invention learns the minimum value and the maximum value of the throttle sensor output, detects the opening ratio of the throttle valve by equally dividing the interval, and controls the engine based on this to detect the minimum or maximum output. When the value changes by a predetermined value or more per unit time, learning is stopped.

即ち、この発明は、第1図の機能ブロック図に示され
るように、スロットルセンサ23でエンジンのスロットル
弁開度を検出し、最小値記憶手段24でスロットルセンサ
23の出力を受けて最小出力値を検出記憶するとともに、
最小値記憶手段25でスロットルセンサ23の出力を受けて
最大出力値を検出記憶し、開度演算手段26で最小値記憶
手段24及び最大値記憶手段25の出力を受け該両出力値を
スロットル弁の全閉及び全開開度に対応したスロットル
センサ23の出力値と判別し、該2つの出力値からスロッ
トルセンサ23の任意の出力値に対応したスロットル弁開
度を演算し、各種制御手段27で開度演算手段26の出力を
受け該出力に応じてエンジンを制御し、その際スロット
ルセンサ23の最小出力値又は最大出力値の単位時間当た
りの変化が所定値以上の時、停止手段28が最小値記憶手
段24又は最大値記憶手段25の記憶動作を停止させるよう
にしたものである。
That is, according to the present invention, as shown in the functional block diagram of FIG. 1, the throttle sensor 23 detects the throttle valve opening of the engine, and the minimum value storage means 24 detects the throttle sensor.
Receives the output of 23, detects and stores the minimum output value,
The minimum value storage means 25 receives the output of the throttle sensor 23 to detect and store the maximum output value, and the opening degree calculation means 26 receives the outputs of the minimum value storage means 24 and the maximum value storage means 25 and outputs both output values to the throttle valve. Is determined as the output value of the throttle sensor 23 corresponding to the fully closed and fully opened positions of the throttle sensor 23, the throttle valve opening corresponding to an arbitrary output value of the throttle sensor 23 is calculated from the two output values, and various control means 27 are used. When the output of the opening degree calculation means 26 is received and the engine is controlled according to the output, when the change in the minimum output value or the maximum output value of the throttle sensor 23 per unit time is a predetermined value or more, the stop means 28 is set to the minimum. The storage operation of the value storage means 24 or the maximum value storage means 25 is stopped.

〔実施例〕〔Example〕

以下、本発明の実施例を図について説明する。 Embodiments of the present invention will be described below with reference to the drawings.

第2図ないし第7図は本発明の一実施例によるエンジ
ンの制御装置を示す。第2図において、1はエンジン
で、該エンジン1の吸気通路2の途中にはスロットル弁
3が設けられ、該スロットル弁3下流側の吸気通路2に
は燃料噴射弁4が配設されている。またエンジン1には
燃焼室5に対面して点火プラグ6が取付けられ、一方エ
ンジン1のクランクシャフト7にはこれと同期回転する
ディストリビュータ8が設けられ、該ディストリビュー
タ8はイグナイタ9の作動により点火コイル10に発生し
た高電圧を点火プラグ6に印加するようになっている。
2 to 7 show an engine controller according to an embodiment of the present invention. In FIG. 2, reference numeral 1 denotes an engine, a throttle valve 3 is provided in the intake passage 2 of the engine 1, and a fuel injection valve 4 is provided in the intake passage 2 downstream of the throttle valve 3. . A spark plug 6 is attached to the engine 1 so as to face the combustion chamber 5, while a crankshaft 7 of the engine 1 is provided with a distributor 8 that rotates in synchronization with the crankshaft 7. The distributor 8 operates by an igniter 9 to activate an ignition coil. The high voltage generated at 10 is applied to the spark plug 6.

また図中、11はスロットル弁3の開度を検出するスロ
ットルセンサ、12はクランクシャフト7の回転角を検出
するクランク角センサ、13は上記各種センサの出力を受
けて燃料噴射量の制御を行うコントロールユニットであ
る。
In the figure, 11 is a throttle sensor that detects the opening of the throttle valve 3, 12 is a crank angle sensor that detects the rotation angle of the crankshaft 7, and 13 is the output of the various sensors described above, and controls the fuel injection amount. It is a control unit.

また第3図は上記コントロールユニット13のより詳細
な構成を示す。図において、第2図と同一符号は同図と
同一のものを示し、14,15はスロットルセンサ11及びク
ランク角センサ12の出力が入力される入力回路、16はス
ロットルセンサ11の出力をA/D変換するA/D変換器、17は
カウンタ、18はタイマ、19はタイマ18の設定時間に応じ
て燃料噴射弁4を駆動する駆動回路、20は所定の演算処
理を行うCPU、21はCPU20の演算処理のプログラム(第4
図,第5図参照)等が格納されたROM、22はバッテリバ
ックアップされ、入力情報やCPU20の演算結果等を格納
するRAMである。
Further, FIG. 3 shows a more detailed structure of the control unit 13. In the figure, the same reference numerals as those in FIG. 2 indicate the same elements as in the same figure, 14 and 15 are input circuits into which the outputs of the throttle sensor 11 and the crank angle sensor 12 are input, and 16 is the output of the throttle sensor 11 A / D converter for D conversion, 17 is a counter, 18 is a timer, 19 is a drive circuit that drives the fuel injection valve 4 according to the set time of the timer 18, 20 is a CPU that performs predetermined arithmetic processing, and 21 is a CPU 20. Program for arithmetic processing (4th
(See FIG. 5, FIG. 5) and the like are stored in the ROM, and 22 is a RAM that is backed up by a battery and stores input information and the calculation result of the CPU 20.

そして上記CPU20は、スロットルセンサ11の最小出力
値と最大出力値とを学習して該2つの出力値からスロッ
トルセンサ11の任意の出力値に対応するスロットル弁開
度率を計算し、これとエンジン回転数とに応じて燃料噴
射量を演算してそれをタイマ18に与えることにより燃料
噴射弁4にエンジンの運転状態に応じた量の燃料を噴射
供給させるという燃料噴射量の制御を行い、又その際、
スロットルセンサ11の最小出力値及び最大出力値の学習
時においては、該出力値としてアイドル開度付近の所定
開度以下の値及び全開開度付近の所定開度以上の値が出
力されるようにし、又最小出力値及び最大出力値の修正
量が所定値以上の時には修正を中止するという学習を行
う。
Then, the CPU 20 learns the minimum output value and the maximum output value of the throttle sensor 11 and calculates the throttle valve opening ratio corresponding to an arbitrary output value of the throttle sensor 11 from the two output values. The fuel injection amount is controlled according to the number of revolutions and is supplied to the timer 18 so that the fuel injection valve 4 is supplied with an amount of fuel corresponding to the operating state of the engine. that time,
At the time of learning the minimum output value and the maximum output value of the throttle sensor 11, the output value should be a value equal to or smaller than a predetermined opening near the idle opening or a value equal to or larger than a predetermined opening near the fully open opening. Also, when the correction amount of the minimum output value and the maximum output value is equal to or larger than a predetermined value, the learning is stopped.

なお以上のような構成において、上記タイマ18、駆動
回路19及びCPU20が第1図に示す各種制御手段27となっ
ており、又上記CPU20が第1図に示す最小値記憶手段24,
最大値記憶手段25,開度演算手段26及び停止手段28の機
能を実現するものとなっている。
In the above structure, the timer 18, the drive circuit 19 and the CPU 20 serve as various control means 27 shown in FIG. 1, and the CPU 20 has the minimum value storage means 24 shown in FIG.
The functions of the maximum value storage means 25, the opening degree calculation means 26, and the stop means 28 are realized.

次に第4図ないし第7図を用いて動作について説明す
る。ここで第4図はCPU20のバックグラウンドルーチン
のフローチャートを、第5図はCPU20のインターラプト
ルーチンのフローチャートを、第6図はスロットル弁開
度率とエンジン回転数とをパラメータとする燃料噴射パ
ルスのパルス幅マップを、第7図はスロットル弁開度と
スロットルセンサ出力との関係を各々示す。
Next, the operation will be described with reference to FIGS. 4 to 7. Here, FIG. 4 is a flowchart of the background routine of the CPU 20, FIG. 5 is a flowchart of the interrupt routine of the CPU 20, and FIG. 6 is a flowchart of the fuel injection pulse with the throttle valve opening rate and the engine speed as parameters. FIG. 7 shows a pulse width map, and FIG. 7 shows the relationship between the throttle valve opening and the throttle sensor output.

エンジンが始動すると、CPU20はバックグラウンドル
ーチンの処理を実行し、まず全閉開度レジスタθidlに
アイドル開度付近の所定開度に対応する初期値Iθidl
(第7図参照)を設定するとともに、全開開度レジスタ
θwotに全開開度付近の所定開度に対応する初期値Iθw
ot(第7図参照)を設定した後(ステップ30)、スロッ
トルセンサ11のA/D変換出力θthr(第7図参照)を読み
込んでこれが全閉開度レジスタθidlの値より小さいか
否かを判定する(ステップ31,32)。そしてエンジンの
アイドル時においては、スロットルセンサ出力θthrは
全閉開度レジスタθidlの値より小さいことから、この
スロットルセンサ出力θthrと全閉開度レジスタθidlの
値との差が設定値θnoisより小さいか否かを判定した後
(ステップ33)、スロットルセンサ出力θthrが全閉開
度の下限値θmin(第7図参照)より大きいか否かを判
定し(ステップ34)、大きい場合は全閉開度レジスタθ
idlの値を現在のスロットルセンサ出力θthrでもって書
き換え(ステップ35)、全閉開度レジスタθidl及び全
開開度レジスタθwotの値を用いてスロットルセンサ出
力θthrに対応するスロットル弁開度率θ(=(θthr−
θidl)/(θwot−θidl)×100)を計算し(ステップ
36)、エンジン回転数Neを読み込んでこのエンジン回転
数Neとスロットル弁開度率θとに応じた燃料噴射量TOU
Tをマップ(第6図参照)より求め、こうして全閉開度
レジスタθidlの値を次々と学習更新していくこととな
る。また全閉開度レジスタθidlを更新している際に、
何らかの原因でスロットルセンサ出力θthrが全閉開度
下限値θminより小さくなると、スロットルセンサ出力
θthrとしてこの下限値θminを発生し(ステップ39)、
後は上述のステップ35〜38の処理を実行する。またアイ
ドル時において、スロットルセンサ出力θthrが全閉開
度レジスタθidlの値より大きくずれた場合(θidl−θ
thr≧θnois)には、ノイズ等によるスロットルセンサ1
1の誤検出と判断してスロットルセンサ出力θthrとして
全閉開度レジスタθidlの値を発生し(ステップ40)、
上述のステップ36〜38の処理を実行する。
When the engine is started, the CPU 20 executes the processing of the background routine, and first, the initial value Iθidl corresponding to the predetermined opening degree near the idle opening degree is stored in the fully closed opening degree register θidl.
(See FIG. 7) is set, and the initial value Iθw corresponding to the predetermined opening near the full opening is registered in the full opening register θwot.
After setting ot (see FIG. 7) (step 30), read the A / D conversion output θthr (see FIG. 7) of the throttle sensor 11 and determine whether this is smaller than the value of the fully closed opening register θidl. The judgment is made (steps 31, 32). Since the throttle sensor output θthr is smaller than the value of the fully closed opening register θidl when the engine is idle, is the difference between the throttle sensor output θthr and the value of the fully closed opening register θidl smaller than the set value θnois? After determining whether or not (step 33), it is determined whether or not the throttle sensor output θthr is larger than the lower limit value θmin (see FIG. 7) of the fully closed opening (step 34). Register θ
The value of idl is rewritten with the current throttle sensor output θthr (step 35), and the throttle valve opening rate θ (= (=) corresponding to the throttle sensor output θthr is calculated using the values of the fully closed opening register θidl and the fully opened opening register θwot. (Θthr−
θidl) / (θwot−θidl) × 100) is calculated (step
36), the engine speed Ne is read, and the fuel injection amount TOU according to the engine speed Ne and the throttle valve opening ratio θ
T is obtained from the map (see FIG. 6), and thus the value of the fully closed opening degree register θidl is learned and updated one after another. Also, while updating the fully closed position register θidl,
When the throttle sensor output θthr becomes smaller than the fully closed opening lower limit value θmin for some reason, this lower limit value θmin is generated as the throttle sensor output θthr (step 39),
After that, the processes of steps 35 to 38 described above are executed. When the throttle sensor output θthr deviates from the value of the fully closed opening register θidl during idling (θidl-θ
thr ≥ θnois), throttle sensor 1 due to noise etc.
Judging that it is an erroneous detection of 1, the value of the fully closed opening register θidl is generated as the throttle sensor output θthr (step 40),
The processing of steps 36 to 38 described above is executed.

次にエンジンが通常運転状態になると、CPU20はスロ
ットルセンサ出力θthrが全開開度レジスタθwotの値よ
り大きいか否かを判定し(ステップ41)、スロットル弁
3の全開開度になるまでは(θthr≧θwot)ステップ4
1,36〜38の処理を実行し、スロットル弁全開開度時にな
ると、スロットルセンサ出力θthrと全開開度レジスタ
θwotとの差が設定値θnoisより小さいか否かを判定し
た後(ステップ42)、スロットルセンサ出力θthrが全
開開度の上限値θmax(第7図参照)より小さいか否か
を判定し(ステップ43)、小さい場合は全開開度レジス
タθwotの値を現在のスロットルセンサ出力θthrでもっ
て書き換え(ステップ44)、上述のステップ36〜38の処
理を実行し、こうして全開開度レジスタθwotの値を次
々と更新していくこととなる。また全開開度レジスタθ
wotの値を更新している際に、何らかの原因でスロット
ルセンサ出力θthrが全開開度上限値θmax以上になると
スロットルセンサ出力としてθthrの上限値θmaxを発生
し(ステップ45)、後は上述のステップ44,36〜38の処
理を実行する。またスロットル弁全開開度時においてス
ロットルセンサ出力θthrが全開開度レジスタθwotの値
より大きくずれた場合(θthr−θwot≧θnois)には、
ノイズ等によるスロットルセンサ11の誤検出と判断して
スロットルセンサ出力θthrとして全開開度レジスタθw
otの値を発生し(ステップ46)、上述のステップ36〜38
の処理を実行することとなる。
Next, when the engine is in the normal operating state, the CPU 20 determines whether or not the throttle sensor output θthr is larger than the value of the full opening degree register θwot (step 41), and until the full opening degree of the throttle valve 3 is reached (θthr ≧ θ wot) Step 4
After executing the processing of 1,36 to 38, and when the throttle valve fully open opening time is reached, after determining whether the difference between the throttle sensor output θthr and the fully open opening register θwot is smaller than the set value θnois (step 42), It is judged whether or not the throttle sensor output θthr is smaller than the upper limit value θmax (see FIG. 7) of the full opening degree (step 43). If it is smaller, the value of the full opening degree register θwot is used as the current throttle sensor output θthr. Rewriting (step 44), the processes of steps 36 to 38 described above are executed, and thus the value of the full opening degree register θwot is updated one after another. In addition, the full opening register θ
While the wot value is being updated, if for some reason the throttle sensor output θthr becomes equal to or greater than the fully open opening upper limit value θmax, the upper limit value θmax of θthr is generated as the throttle sensor output (step 45). Perform the processing of 44, 36-38. Further, when the throttle sensor output θthr deviates greatly from the value of the full opening degree register θwot at the time of the throttle valve fully opening degree (θthr−θwot ≧ θnois),
The throttle sensor output θthr is judged to be the false detection of the throttle sensor 11 due to noise, etc.
The value of ot is generated (step 46) and the above steps 36-38 are performed.
Will be executed.

またこのようにしてバックグラウンドルーチンの処理
を実行している際に、エンジンの回転角がTDCになる
と、CPU20は第5図に示すインターラプトルーチンの処
理を実行し、カウンタ17の値Cを読み込んでこれと前回
割込み時のカウンタ値Cbefとの差から割込み周期を求
めてエンジン回転数Neを計算するとともに(ステップ4
7,48)、前回割込み時のカウンタ値Cbefを今回のカウ
ンタ値Cでもって書き換えた後(ステップ49)、バック
グラウンドルーチンで求めた燃料噴射量TOUTをタイマ1
8にセットして(ステップ50)、バックグラウンドルー
チンの処理に戻り、これにより駆動回路19はエンジンの
TDC信号に同期して燃料噴射弁4を駆動し、エンジンに
はエンジン回転数Neとスロットル弁開度率θとに応じた
量の燃料が噴射供給され、混合気の空燃比は目標空燃比
に制御されることとなる。
When the engine rotation angle becomes TDC while executing the background routine processing in this way, the CPU 20 executes the interrupt routine processing shown in FIG. 5 and reads the value C of the counter 17. Then, the interrupt cycle is obtained from the difference between this and the counter value Cbef at the time of the previous interrupt, and the engine speed Ne is calculated (step 4
7, 48), after rewriting the counter value Cbef at the time of the previous interruption with the current counter value C (step 49), the fuel injection amount TOUT obtained in the background routine is set to the timer 1
Set it to 8 (step 50) and return to the background routine processing, which causes the drive circuit 19 to
The fuel injection valve 4 is driven in synchronization with the TDC signal, fuel is injected and supplied to the engine in an amount according to the engine speed Ne and the throttle valve opening ratio θ, and the air-fuel ratio of the air-fuel mixture becomes the target air-fuel ratio. Will be controlled.

以上のような本実施例の装置では、スロットルセンサ
の最小出力値と最大出力値を学習して該2つの出力値か
らスロットル弁開度率を求め、このスロットル弁開度率
に応じて燃料噴射量を決定するようにしたので、センサ
の取付誤差やセンサ特性の個体差に影響されることな
く、精度よく燃料噴射量を制御でき、目標空燃比を得る
ことができる。
In the apparatus of the present embodiment as described above, the minimum output value and the maximum output value of the throttle sensor are learned, the throttle valve opening rate is calculated from the two output values, and the fuel injection is performed according to this throttle valve opening rate. Since the amount is determined, the fuel injection amount can be accurately controlled and the target air-fuel ratio can be obtained without being affected by the mounting error of the sensor and the individual difference in the sensor characteristics.

また本装置では、全閉開度及び全開開度の修正時にお
いてその修正量(スロットルセンサ出力と全閉又は全開
開度レジスタの値との差)は大きいときには修正を行わ
ないようにしたので、ノイズ等によるスロットルセンサ
の誤検出に起因するスロットル弁開度率の狂いを防止で
き、空燃比のずれを抑制できる。
Further, in this device, when the fully closed opening and the fully opened opening are corrected, the correction is not performed when the correction amount (difference between the throttle sensor output and the fully closed or fully opened opening register) is large. It is possible to prevent deviation of the throttle valve opening ratio due to erroneous detection of the throttle sensor due to noise or the like, and suppress deviation of the air-fuel ratio.

さらに本装置では、スロットルセンサ出力を学習する
際に最小出力値及び最大出力値の上限及び下限(全閉開
度初期値及び全開開度初期値)を設けたので、エンジン
の運転状態によってスロットル弁開度率が大幅に狂うこ
とがなく、空燃比の大幅なずれが生ずることもない。
Furthermore, in this device, when learning the throttle sensor output, the upper and lower limits of the minimum output value and the maximum output value (initial value of the fully closed opening and initial value of the fully opened opening) are set. The degree of opening does not significantly change, and the air-fuel ratio does not significantly change.

なお上記実施例では燃料噴射量を制御する場合につい
て説明したが、本発明は勿論点火時期あるいはERG量等
を制御する場合についても適用できる。また上記実施例
ではスロットルセンサ出力がアイドル時で最小、全開時
に最大になる場合について説明したが、これはアイドル
時に最大、全開時に最小となるようにしてもよい。
In the above embodiment, the case where the fuel injection amount is controlled has been described, but the present invention can be applied to the case where the ignition timing, the ERG amount, etc. are controlled. Further, in the above embodiment, the case where the throttle sensor output is minimum at idle and maximum at full open has been described, but it may be maximum at idle and minimum at full open.

〔発明の効果〕〔The invention's effect〕

以上のように、本発明に係るエンジンの制御装置によ
れば、スロットルセンサ出力の最小値と最大値とを学習
し、この間を等分することによってスロットル弁の開度
率を検出し、これに基づいてエンジンを制御する一方、
最小又は最大出力値が単位時間当たり所定値以上変化し
た時は学習を中止するようにしたので、ノイズ等によっ
て誤動作することなく、エンジンの制御精度を向上でき
る効果がある。
As described above, according to the engine control device of the present invention, the minimum value and the maximum value of the throttle sensor output are learned, and the opening ratio of the throttle valve is detected by equally dividing the interval, and While controlling the engine based on
Since learning is stopped when the minimum or maximum output value changes by a predetermined value or more per unit time, there is an effect that the engine control accuracy can be improved without malfunctioning due to noise or the like.

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

第1図は本発明の構成を示す機能ブロック図、第2図は
本発明の一実施例によるエンジンの制御装置の概略構成
図、第3図は上記装置におけるコントロールユニット13
のより詳細な構成図、第4図及び第5図は各々上記コン
トロールユニット13内のCPU20のバックグラウンドルー
チン及びインターラプトルーチンのフローチヤートを示
す図、第6図はエンジン回転数とスロットル弁開度率と
をパラメータとする燃料噴射量のマップを示す図、第7
図は上記CPU20の動作を説明するためのスロットル弁開
度・スロットルセンサ出力の特性を示す図である。 23……スロットルセンサ、24……最小値記憶手段、25…
…最大値記憶手段、26……開度演算手段、27……各種制
御手段、28……停止手段、1……エンジン、11……スロ
ットルセンサ、18……タイマ、19……駆動回路、20……
CPU。
FIG. 1 is a functional block diagram showing the configuration of the present invention, FIG. 2 is a schematic configuration diagram of an engine control device according to an embodiment of the present invention, and FIG. 3 is a control unit 13 in the above device.
Fig. 4 and Fig. 5 are flow charts showing the background routine and interrupt routine of the CPU 20 in the control unit 13, respectively. Fig. 6 shows the engine speed and throttle valve opening. FIG. 7 is a diagram showing a map of the fuel injection amount using the
The figure is a diagram showing the characteristics of the throttle valve opening and throttle sensor output for explaining the operation of the CPU 20. 23 ... Throttle sensor, 24 ... Minimum value storage means, 25 ...
... maximum value storage means, 26 ... opening degree calculation means, 27 ... various control means, 28 ... stop means, 1 ... engine, 11 ... throttle sensor, 18 ... timer, 19 ... driving circuit, 20 ......
CPU.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 有馬 学 安芸郡府中村新地3番1号 マツダ株式 会社内 (56)参考文献 特開 昭55−138101(JP,A) 特開 昭56−107926(JP,A) 特開 昭58−10131(JP,A) 特開 昭58−170839(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Manabu Arima No. 3 Shinchi Fuchu-mura, Aki-gun Mazda Stock Company (56) References JP-A-55-138101 (JP, A) JP-A-56-107926 ( JP, A) JP 58-10131 (JP, A) JP 58-170839 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】エンジンのスロットル弁開度を検出するス
ロットルセンサと、該スロットルセンサの出力を受け最
小出力値を検出記憶する最小値記憶手段と、上記スロッ
トルセンサの出力を受け最大出力値を検出記憶する最大
値記憶手段と、上記最小値記憶手段及び最大値記憶手段
の出力を受け該両出力値をスロットル弁の全閉及び全開
開度に対応したスロットルセンサの出力値と判別し該2
つの出力値からスロットルセンサの任意の出力値に対応
するスロットル弁開度を演算する開度演算手段と、該開
度演算手段の出力を受け該出力に応じてエンジンを制御
する各種制御手段と、上記スロットルセンサの最小出力
値又は最大出力値の単位時間当たりの変化が所定値以上
の時上記最小値記憶手段又は最大値記憶手段の記憶動作
を停止させる停止手段とを備えたことを特徴とするエン
ジンの制御装置。
1. A throttle sensor for detecting an opening of a throttle valve of an engine, a minimum value storage means for detecting and storing a minimum output value by receiving an output of the throttle sensor, and a maximum output value by receiving an output of the throttle sensor. The maximum value storage means to be stored and the outputs of the minimum value storage means and the maximum value storage means are received, and both output values are discriminated as output values of the throttle sensor corresponding to the fully closed and fully opened positions of the throttle valve.
An opening calculation means for calculating a throttle valve opening corresponding to an arbitrary output value of the throttle sensor from one output value, and various control means for receiving an output of the opening calculation means and controlling an engine according to the output. And a stop means for stopping the storage operation of the minimum value storage means or the maximum value storage means when the change in the minimum output value or the maximum output value of the throttle sensor per unit time is equal to or more than a predetermined value. Engine control unit.
JP60024658A 1985-02-12 1985-02-12 Engine controller Expired - Lifetime JP2502500B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60024658A JP2502500B2 (en) 1985-02-12 1985-02-12 Engine controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60024658A JP2502500B2 (en) 1985-02-12 1985-02-12 Engine controller

Publications (2)

Publication Number Publication Date
JPS61185649A JPS61185649A (en) 1986-08-19
JP2502500B2 true JP2502500B2 (en) 1996-05-29

Family

ID=12144244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60024658A Expired - Lifetime JP2502500B2 (en) 1985-02-12 1985-02-12 Engine controller

Country Status (1)

Country Link
JP (1) JP2502500B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63223356A (en) * 1987-03-13 1988-09-16 Japan Electronic Control Syst Co Ltd Throttle valve opening sensing device for internal-combustion engine
JP5783185B2 (en) * 2013-01-18 2015-09-24 株式会社デンソー Sensor output setting method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55138101A (en) * 1979-04-13 1980-10-28 Hitachi Ltd Engine controller
JPS56107926A (en) * 1980-01-31 1981-08-27 Nissan Motor Co Ltd Device for detecting entire closing of throttle valve of internal conbustion engine
JPS5810131A (en) * 1981-07-13 1983-01-20 Toyota Motor Corp Detector for opening of throttle valve
JPS58170839A (en) * 1982-03-31 1983-10-07 Toyota Motor Corp Method for controlling idling speed

Also Published As

Publication number Publication date
JPS61185649A (en) 1986-08-19

Similar Documents

Publication Publication Date Title
US4348727A (en) Air-fuel ratio control apparatus
US5213081A (en) Misfire sensing apparatus for an internal combustion engine
JPS6212382B2 (en)
US4800857A (en) Apparatus for learn-controlling air-fuel ratio for internal combustion engine
US5554801A (en) Diagnosis apparatus and method for a cylinder pressure sensor
JP2825710B2 (en) Engine control device
JP2502500B2 (en) Engine controller
JP2001123879A (en) Combustion state detecting device for internal combustion engine
JPH0684741B2 (en) Air flow meter deterioration detection device
JP3892188B2 (en) Method for prohibiting determination of fuel control abnormality in internal combustion engine
JPH0246777B2 (en)
JP3187534B2 (en) Air-fuel ratio correction method for internal combustion engine
JPH0346659B2 (en)
JP2503055Y2 (en) Electronically controlled fuel injection device for internal combustion engine
JP2519817Y2 (en) Engine protector
JP2520608B2 (en) Electronically controlled fuel injection device for internal combustion engine
JP2527321Y2 (en) Electronically controlled fuel injection device for internal combustion engine
JP3376201B2 (en) Air-fuel ratio control device for internal combustion engine
JPH0745862B2 (en) Engine controller
JP2514442B2 (en) Knock detection device for internal combustion engine
JPH03107561A (en) Throttle valve opening minimum value learning method
JP2750777B2 (en) Electronic control fuel supply device for internal combustion engine
JP2589193B2 (en) Ignition timing control device for internal combustion engine
JPH0686831B2 (en) Air-fuel ratio learning controller for internal combustion engine
JPH0828318A (en) Control device for engine

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term