JPS61160545A - Controller for internal-combustion engine - Google Patents

Controller for internal-combustion engine

Info

Publication number
JPS61160545A
JPS61160545A JP27992284A JP27992284A JPS61160545A JP S61160545 A JPS61160545 A JP S61160545A JP 27992284 A JP27992284 A JP 27992284A JP 27992284 A JP27992284 A JP 27992284A JP S61160545 A JPS61160545 A JP S61160545A
Authority
JP
Japan
Prior art keywords
counter
count value
combustion engine
value
internal combustion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP27992284A
Other languages
Japanese (ja)
Other versions
JPH0535264B2 (en
Inventor
Teruo Fukuda
福田 輝夫
Minoru Takahashi
稔 高橋
Toshiaki Isobe
磯部 敏明
Mamoru Kobashi
小橋 守
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.)
Denso Ten Ltd
Toyota Motor Corp
Original Assignee
Denso Ten Ltd
Toyota 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 Denso Ten Ltd, Toyota Motor Corp filed Critical Denso Ten Ltd
Priority to JP27992284A priority Critical patent/JPS61160545A/en
Priority to US06/776,864 priority patent/US4607523A/en
Priority to EP85306642A priority patent/EP0175576B1/en
Priority to DE8585306642T priority patent/DE3575180D1/en
Publication of JPS61160545A publication Critical patent/JPS61160545A/en
Publication of JPH0535264B2 publication Critical patent/JPH0535264B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To permit the smooth operation of an internal-combustion engine by installing an injection. ignition control means which carries-out fuel injection control and ignition control on the basis of the judging means which judges the count value of a counter and the application of a standard position signal. CONSTITUTION:The first judging means 3 for judging the count value of a counter 2 varies from the first set value to the initial value or not is installed. The second judging means 4 for judging if either of the first or the second standard position signal is applied from a turning-angle sensor 1 is installed. A control means 6 for setting the count value of the counter 2 as the initial value on condition that the first or the second standard position signal is generated. An injection ignition control means 7 which carries-out fuel injection control and ignition control on the basis of the count value of the counter 2 and the second judging means 4 is installed. Thus, the smooth operation of an internal- combustion engine is permitted.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は内燃機関の回転角位置に基づいて点火制御及び
燃料噴射制御を行なう内燃機関の制御装置に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a control device for an internal combustion engine that performs ignition control and fuel injection control based on the rotational angular position of the internal combustion engine.

従来の技術 内燃機関に於いてはその運転を円滑に行なうため、内燃
機関の回転角位置を検出し、その検出結果に基づいて点
火制御及び燃料噴射制御を行なうようにしている。そし
て、内燃機関の回転角位置の検出には構造が比較的簡単
なりランク角センサが用いられているのが一般的である
In order to operate a conventional internal combustion engine smoothly, the rotation angle position of the internal combustion engine is detected, and ignition control and fuel injection control are performed based on the detection results. To detect the rotational angular position of the internal combustion engine, a rank angle sensor is generally used because it has a relatively simple structure.

クランク角センサは例えば第5図(A)〜(C)に示す
ような回転角位置信号01〜C12と第1.第2の上死
点信号Gl、G2を出力するものであり、回転角位置信
号01〜C12は内燃機関(クランク軸)が一定角度(
この場合は30°C^)回転する毎に出力され、第1.
第2の上死点信号Gl、G2は内燃機関の一回転中の所
定位置(この場合は上死点)に於いて交互に出力される
ものである。
The crank angle sensor generates rotation angle position signals 01 to C12 as shown in FIGS. 5(A) to 5(C), for example, and 1. It outputs the second top dead center signals Gl and G2, and the rotation angle position signals 01 to C12 indicate that the internal combustion engine (crankshaft) is at a certain angle (
In this case, it is output every time it rotates (30°C^), and the first.
The second top dead center signals Gl and G2 are output alternately at a predetermined position (top dead center in this case) during one revolution of the internal combustion engine.

そして、従来はこのようなりランク角センサを用い、次
のようにして内燃機関の回転角位置を検出するようにし
ている。即ち、回転角位置信号C1〜C12が印加され
る毎にカウント値を+1し、上死点信号Gl、G2が加
えられた場合及びカウント値が「12」の時に回転角位
置信号01〜C12が印加された場合にカウント値を「
1」にプリセットするカウント値を設けると共に、カウ
ント値が「12」の時に第1或いは第2の上死点信号G
l、G2の内の何れが印加されたかを判断する判断手段
を設け、該判断手段の判断結果と前記カウンタのカウン
ト値とに基づいて内燃機関の回転角位置を検出するよう
にしている。例えば、第5図(A)〜(C)に示す信号
がクランク角センサから出力された場合、カウンタのカ
ウント値は同図(D)に示すように内燃機関の回転角位
置に対応して変化することになるので、前記カウンタの
カウント値に基づいて内燃機関の回転角位置を検出する
ことができる。
Conventionally, such a rank angle sensor is used to detect the rotational angular position of an internal combustion engine in the following manner. That is, the count value is incremented by 1 every time the rotation angle position signals C1 to C12 are applied, and when the top dead center signals Gl and G2 are added and the count value is "12", the rotation angle position signals 01 to C12 are When applied, the count value is
A count value is preset to ``1'', and when the count value is ``12'', the first or second top dead center signal G is set.
A determining means is provided for determining which of the signals L and G2 is applied, and the rotational angular position of the internal combustion engine is detected based on the determination result of the determining means and the count value of the counter. For example, when the signals shown in Fig. 5 (A) to (C) are output from the crank angle sensor, the count value of the counter changes in accordance with the rotational angular position of the internal combustion engine as shown in Fig. 5 (D). Therefore, the rotational angular position of the internal combustion engine can be detected based on the count value of the counter.

そして、前記カウンタのカウント値と前記判断手段の判
断結果とに基づいて燃料噴射制御及び点火制御を行なう
ものであり、例えば6気筒の内燃機関の燃料噴射制御を
行なう場合は、第1の上死点信号G1を検出した後カウ
ンタのカウント値が「2」となったタイミングで同図(
E)に実線で示すように第1.第5気筒に燃料を噴射し
、第1の上死点信号G1を検出した後カウンタのカウン
ト値が「10」となったタイミングで同図(F)に実線
で示すように第3.第6気筒に燃料を噴射し、第2の上
死点信号G2を検出した後カウンタのカウント値が「6
」となったタイミングで同図(G)に示すように第2.
第4気筒に燃料を噴射するものである。
Then, fuel injection control and ignition control are performed based on the count value of the counter and the judgment result of the judgment means. For example, when controlling the fuel injection of a 6-cylinder internal combustion engine, the first upper limit After detecting the point signal G1, when the count value of the counter reaches "2",
As shown by the solid line in E), the first. After fuel is injected into the fifth cylinder and the first top dead center signal G1 is detected, at the timing when the count value of the counter reaches "10", as shown by the solid line in FIG. After fuel is injected into the 6th cylinder and the second top dead center signal G2 is detected, the count value of the counter is "6".
”, as shown in the same figure (G), the second.
This injects fuel into the fourth cylinder.

従来は上述したようにして内燃機関の回転角位置を検出
し、燃料噴射制御2点火制御を行なって ゛いるが、次
のような問題点があった。即ち、第1或いは第2の上死
点信号Gl、G2にノイズが重畳された場合令、カウン
タのカウント値と内燃機関の回転角位置とが対応しない
ものとなり、カウンタのカウント値に基づいて点火制御
、燃料噴射制御を行なったのでは内燃機関の運転を円滑
に行なうことができない場合がある問題点があった。例
えば、第5図(C)に示すように上死点信号G2にノイ
ズ(イ)が重畳された場合、カウンタのカウント値は同
図(H)に示すようにノイズ(イ)の発生時に「1」と
なり、次に上死点信号G2が加えられるまでカウンタの
カウント値と内燃機関の回転角位置とが対応しないもの
となってしまう問題があった。
Conventionally, the rotation angle position of the internal combustion engine is detected as described above and fuel injection control and two-ignition control are performed, but there are the following problems. In other words, if noise is superimposed on the first or second top dead center signal Gl or G2, the count value of the counter and the rotational angular position of the internal combustion engine will not correspond, and the ignition will start based on the count value of the counter. There is a problem in that the internal combustion engine may not be able to operate smoothly even if the fuel injection control is performed. For example, when noise (A) is superimposed on the top dead center signal G2 as shown in FIG. 1'', and the count value of the counter does not correspond to the rotational angular position of the internal combustion engine until the top dead center signal G2 is applied next.

このような欠点を改善するため、第5図(A)に示す回
転角位置信号01〜C12が印加される毎にカウント値
を+1し、カウント値が置2」の時に回転角位置信号0
1〜C12が印加された場合及びカウント値が「12」
の時に上死点信号Gl、G2が印加された場合、カウン
ト値を「1」にプリセットするカウンタを設けると共に
、カウンタΦカウント値が「12」の時に第1或いは第
2の上死点信号Gl。
In order to improve such a drawback, the count value is incremented by 1 every time the rotation angle position signals 01 to C12 shown in FIG. 5(A) are applied, and when the count value is 2, the rotation angle position signal is
When 1 to C12 is applied and the count value is "12"
When the top dead center signals Gl and G2 are applied at the time of .

G2の内の何れが印加されたかを判断する判1折手段を
設け、該判断手段の判断結果と前記カウンタのカウント
値とに基づいて点火制御、燃料噴射制御を行なうものも
従来より提案されている。このよなうな構成とすること
により、第1或いは第2の上死点信号Gl、G2にノイ
ズが重畳されている場合に於いてもカウンタのカウント
値と内燃機関の回転角位置とを対応させることができる
。例えば、同図(C)に示す第2の上死点信号G2にノ
イズ(イ)が重畳されている場合に於いても、ノイズ発
生時に於けるカウンタのカウント値は「7」であり、ノ
イズ(イ)によってカウンタのカウント値が「1」にプ
リセントされることがないのでカウンタのカウント値と
内燃機関の回転角位置とは対応したものとなる。
It has also been proposed in the past to provide a judgment means for judging which of G2 is applied, and to perform ignition control and fuel injection control based on the judgment result of the judgment means and the count value of the counter. There is. With such a configuration, even when noise is superimposed on the first or second top dead center signal Gl or G2, the count value of the counter and the rotational angular position of the internal combustion engine can be made to correspond. be able to. For example, even when noise (A) is superimposed on the second top dead center signal G2 shown in FIG. Since the count value of the counter is not precented to "1" due to (a), the count value of the counter and the rotational angular position of the internal combustion engine correspond to each other.

しかし、上述した従来例にも次のような問題点がある。However, the conventional example described above also has the following problems.

即ち、回転角位置信号01〜C12にノイズが重畳され
た場合、半永久的にカウンタのカウント値と内燃機関の
回転角位置とが対応しないものとなるため、前記カウン
タのカウント値に基づいて点火制御、燃料噴射制御を行
なったのでは内燃機関の運転を円滑に行なうことができ
ない問題がある。例えば、第5図(A)に示すように回
転角位置信号01〜C12にノイズ(ロ)が重畳された
場合は、ノイズ(ロ)の発生タイミングに於いてカウン
タのカウント値は同図N)に示すように「6」から「7
」にカウントアツプされ、回転角位置信号C12が加え
られた時に「1」となるものであるから、カウンタのカ
ウント値と内燃機関の回転角位置とは半永久的に30 
’ C八ずれたものとなる問題がある。即ち、上死点信
号Gl、G2の発生時に於いてはカウンタのカウント値
は「1」であり、上死点信号Gl、G2は無視されるも
のであるから、カウンタのカウント値と内燃機関の回転
角位置とは半永久的に30°CAずれたものとなる問題
があった。
That is, if noise is superimposed on the rotational angular position signals 01 to C12, the count value of the counter and the rotational angular position of the internal combustion engine will semi-permanently not correspond to each other, so ignition control is performed based on the count value of the counter. However, if fuel injection control is performed, there is a problem that the internal combustion engine cannot be operated smoothly. For example, if noise (B) is superimposed on the rotation angle position signals 01 to C12 as shown in FIG. From “6” to “7” as shown in
", and becomes "1" when the rotational angular position signal C12 is added, so the count value of the counter and the rotational angular position of the internal combustion engine are semi-permanently equal to 30.
' There is a problem that the result is shifted by C8. That is, when the top dead center signals Gl and G2 are generated, the count value of the counter is "1" and the top dead center signals Gl and G2 are ignored, so the count value of the counter and the internal combustion engine are There was a problem that the rotation angle position was semi-permanently shifted by 30° CA.

また、更に上述した2つの従来例には次のような問題も
あった。即ち、接触不良等により第1及び第2の上死点
信号Gl、G2を検出できなくなった場合に回転角位置
信号にノイズが重畳されると、カウンタのカウント値と
内燃機関の回転角位置とは再び上死点信号Gl 、 G
2が検出できるようになるまで対応しないものとなって
しまうため、前記カウンタのカウント値に基づいて点火
制御、燃料噴射制御を行なったのでは円滑に内燃機関を
運転できない。
Moreover, the two conventional examples described above also have the following problems. In other words, if the first and second top dead center signals Gl and G2 cannot be detected due to poor contact, etc., and noise is superimposed on the rotational angular position signal, the count value of the counter and the rotational angular position of the internal combustion engine may differ. is the top dead center signal Gl, G again
Therefore, if the ignition control and fuel injection control are performed based on the count value of the counter, the internal combustion engine cannot be operated smoothly.

発明が解決しようとする問題点 本発明は前述の如き欠点を改善したものであり、その目
的は回転角位置信号及び第1.第2の上死点信号にノイ
ズが重畳された場合に於いても所定のタイミングで燃料
噴射制御2点火制御を行なうことができ、且つ第1.第
2の上死点信号が両方とも検出できなくなった場合に於
いても円滑に内燃機関の運転を行なうことができる内燃
機関の制御装置を提供することにある。
Problems to be Solved by the Invention The present invention improves the above-mentioned drawbacks, and its purpose is to improve the rotation angle position signal and the first . Even when noise is superimposed on the second top dead center signal, fuel injection control 2 ignition control can be performed at a predetermined timing, and the first. An object of the present invention is to provide a control device for an internal combustion engine that can smoothly operate the internal combustion engine even when both second top dead center signals cannot be detected.

問題点を解決するための手段 本発明は前述の如き問題点を解決するため、第1図に示
すように、内燃機関が一定角度回転する毎に回転角位置
信号を出力すると共に、前記内燃機関の一回転中の所定
位置に於いて第1及び第2の基準位置信号を交互に出力
する回転角センサ1と、該回転角センサlからの回転角
位置信号をカウントし、カウント値が第1の設定値にな
った場合カウント値を初期値にするカウンタ2と、前記
第1或いは第2の基準位置信号が発生する以前に前記カ
ウンタ2のカウント値が前記第1の設定値から初期値に
変化したか否かを判断する第1の判断手段3と、前記回
転角センサ1から第1或いは第2の基準位置信号の何れ
が印加されたかを判断する第2の判断手段4と、前記カ
ウンタ2のカウント値と前記回転角センサからの第1及
び第2の基準位置信号に基づいて前記第1及び第2の基
準位置信号が印加されなくなったことを検出する検出手
段5と、前記第1の判断手段3で前記第1或いは第2の
基準位置信号が発生する以前に前記カウンタ2のカウン
ト値が前記第1の設定値から初期値に変化していないと
判断された場合は、前記カウンタ2のカウント値が前記
第1の設定値であり、且つ前記第1或いは第2の基準位
置信号が発生したことを条件として前記カウンタ2のカ
ウント値を初期値とし、前記第1の判断手段3で前記第
1或いは第2の基準位置信号が発生する以前に前記カウ
ンタ2のカウント値が第1の設定値から初期値に変化し
たと判断された場合は、前記第1或いは第2の基準位置
信号の発生時に於いて前記カウンタ2のカウント値を初
期値とし、前記検出手段5で前記第1及び第2の基準位
置信号が両方とも印加されていないことを検出した場合
は前記カウンタ2のカウント値を第2の設定値とする制
御手段6と、前記カウンタ2のカウント値と前記第2の
判断手段4とに基づいて内燃機関の燃料噴射制御及び点
火制御を行なう噴射点火制御手段7とを設けたものであ
る。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention outputs a rotational angular position signal every time the internal combustion engine rotates by a certain angle, as shown in FIG. The rotation angle sensor 1 alternately outputs first and second reference position signals at a predetermined position during one rotation, and the rotation angle position signals from the rotation angle sensor l are counted. a counter 2 whose count value is set to an initial value when the set value is reached; and a counter 2 whose count value is changed from the first set value to the initial value before the first or second reference position signal is generated. a first determining means 3 for determining whether or not a change has occurred; a second determining means 4 for determining whether the first or second reference position signal is applied from the rotation angle sensor 1; and the counter. detection means 5 for detecting that the first and second reference position signals are no longer applied based on the count value of 2 and the first and second reference position signals from the rotation angle sensor; If the determining means 3 determines that the count value of the counter 2 has not changed from the first set value to the initial value before the first or second reference position signal is generated, the counter The count value of the counter 2 is the first setting value and the first or second reference position signal is generated, the count value of the counter 2 is set as an initial value, and the first determination means 3 If it is determined that the count value of the counter 2 has changed from the first set value to the initial value before the first or second reference position signal is generated, the first or second reference position When the signal is generated, the count value of the counter 2 is set as the initial value, and when the detection means 5 detects that both the first and second reference position signals are not applied, the count value of the counter 2 is set as the initial value. a control means 6 which sets the value as a second set value; and an injection ignition control means 7 which performs fuel injection control and ignition control of the internal combustion engine based on the count value of the counter 2 and the second determination means 4. It was established.

実施例 第2図は本発明の実施例のブロック線図であり、2】は
内燃機関、22はクランク角センサ、詔はスロットル弁
、24はスロットル弁23の下流と上流とをバイパスす
るバイパス通路、25はアイドルスピードコントロール
弁、26は吸入空気量を検出する空気量センサ、27は
吸入空気の温度を検出する温度センサ、28はスロット
ル弁230開度を検出する開度センサ、29は吸気管内
の圧力を検出する圧力センサ、30はインジェクタ、3
1は点火プラグ、32はQ2センサ、33は処理部、3
4は入力部、35はAD変換器、36は出力部、37は
メモリ、38はマイクロプロセッサである。尚、クラン
ク角センサ22は第3図(A)〜(C)に示す回転角位
置信号C1〜C12と第1.第2の上死点信号G1.G
2を出力するものであり、本実施例では回転角位置信号
01〜C12は内燃機関が30゛C^回転する毎に出力
され、第1゜第2の上死点信号Gl、G2は内燃機関の
上死点に於いて交互に出力されるもである。また、第4
図はマイクロプロセッサ38の処理内容の一部を示すフ
ローチャートであり、以下同図を参照して第2図の動作
を説明する。
Embodiment FIG. 2 is a block diagram of an embodiment of the present invention, in which 2] is an internal combustion engine, 22 is a crank angle sensor, 2 is a throttle valve, and 24 is a bypass passage that bypasses the downstream and upstream sides of the throttle valve 23. , 25 is an idle speed control valve, 26 is an air amount sensor that detects the amount of intake air, 27 is a temperature sensor that detects the temperature of the intake air, 28 is an opening sensor that detects the opening degree of the throttle valve 230, and 29 is an inside of the intake pipe. 30 is an injector, 3 is a pressure sensor that detects the pressure of
1 is a spark plug, 32 is a Q2 sensor, 33 is a processing unit, 3
4 is an input section, 35 is an AD converter, 36 is an output section, 37 is a memory, and 38 is a microprocessor. Incidentally, the crank angle sensor 22 receives the rotation angle position signals C1 to C12 shown in FIGS. 3(A) to 3(C) and the first . Second top dead center signal G1. G
In this embodiment, the rotational angular position signals 01 to C12 are output every time the internal combustion engine rotates by 30°C, and the 1st and 2nd top dead center signals Gl and G2 are output from the internal combustion engine. The signals are output alternately at the top dead center. Also, the fourth
The figure is a flowchart showing part of the processing contents of the microprocessor 38, and the operation of FIG. 2 will be explained below with reference to the same figure.

マイクロプロセッサ38はクランク角センサ22から回
転角位置信号01〜C12が印加される毎に第4図のフ
ローチャートに示す処理を行なうものであり、ステップ
S1ではマイクロプロセッサ38の内部にソフトウェア
的に設けられているカウンタ(内燃機関の運転開始時に
於いてカウント値CNTが「0」にプリセントされるも
のである)のカウント値CNTが「0」であるか否かを
判断する。そして、カウント値CNTが「0」でないと
判断した場合、即ち運転中であると判断した場合は、マ
イクロプロセッサ38はフラグF1が「1」であるか否
かを判断する(ステップ52)。尚、フラグF1は(麦
述するように、カウンタのカウント値CNTが「12」
の時に上死点信号Gl、G2が印加されなかった場合「
1」になるものであり、また上死点信号Gl。
The microprocessor 38 performs the processing shown in the flowchart of FIG. 4 every time the rotation angle position signals 01 to C12 are applied from the crank angle sensor 22. It is determined whether or not the count value CNT of a counter (the count value CNT is precented to "0" at the start of operation of the internal combustion engine) is "0". If it is determined that the count value CNT is not "0", that is, if it is determined that the vehicle is in operation, the microprocessor 38 determines whether the flag F1 is "1" (step 52). In addition, the flag F1 is (as mentioned above, the count value CNT of the counter is "12")
If top dead center signals Gl and G2 are not applied at the time of "
1'', and the top dead center signal Gl.

G2が印加された場合「0」になるものである。ここで
、カウンタのカウント値CNTが「12」の時に上死点
信号Gl、G2が印加されずフラグF1が「1」となる
場合としては、回転角位置信号C1〜C12にノイズが
重畳された場合及び接触不良等によりクランク角センサ
22からの上死点信号Gl、G2が処理部33に印加さ
れなくなった場合が挙げられる。
When G2 is applied, it becomes "0". Here, if the top dead center signals Gl and G2 are not applied and the flag F1 becomes "1" when the count value CNT of the counter is "12", noise is superimposed on the rotation angle position signals C1 to C12. For example, the top dead center signals Gl and G2 from the crank angle sensor 22 are no longer applied to the processing unit 33 due to a faulty connection or a contact failure.

そして、ステップS2の判断結果がNOの場合、即ち前
回カウンタのカウント値CNTが「12」になった時に
上死点信号Gl、G2が印加されている場合は、カウン
タのカウント値CNTがCNT≦11を満足させている
か否かを判断しくステップS3)、その判断結果がYE
Sの場合は、カウンタのカウント値CNTが「0」であ
るか否かを判断する(ステップS7)。そして、ステッ
プS7の判断結果がYESの場合は、マイクロプロセッ
サ38はカウンタのカウント値CNTに基づいて噴射タ
イミングになったか否かを判断しくステップ318)、
判断結果がYESの場合は噴射制御を行ない(ステップ
519)、判断結果がNOの場合は点火タイミングにな
ったか否かを判断しくステップ520)、その判断結果
がYESの場合は点火制御を行ない(ステップ521)
、判断結果がNOの場合は他の制御ステップS22に移
る。また、ステップS7の判断結果がNOの場合はカウ
ンタのカウント値CNTを+1しくステップS8)、次
いでカウンタのカウント値CNTがCNT≦12を満足
させているか否かを判断する(ステップS9)。ここで
、この場合はステップS3の判断結果がYESであるの
で、ステップS9の判断結果はYESとなり、マイクロ
プロセッサ38はステップ31Bの処理を行なうことに
なる。
Then, if the determination result in step S2 is NO, that is, if the top dead center signals Gl and G2 were applied when the count value CNT of the counter reached "12" last time, the count value CNT of the counter becomes CNT≦ 11 is satisfied or not (step S3), and the result of the determination is YE.
In the case of S, it is determined whether the count value CNT of the counter is "0" (step S7). If the determination result in step S7 is YES, the microprocessor 38 determines whether or not the injection timing has come based on the count value CNT of the counter (step 318).
If the determination result is YES, injection control is performed (step 519); if the determination result is NO, it is determined whether the ignition timing has arrived (step 520); if the determination result is YES, ignition control is performed (step 520); step 521)
If the determination result is NO, the process moves to another control step S22. Further, if the determination result in step S7 is NO, the count value CNT of the counter is incremented by 1 (step S8), and then it is determined whether the count value CNT of the counter satisfies CNT≦12 (step S9). In this case, since the determination result in step S3 is YES, the determination result in step S9 is YES, and the microprocessor 38 performs the process in step 31B.

また、ステップS2の判断結果がYESの場合及びステ
ップS3の判断結果がNOの場合は、マイクロプロセッ
サ38は上死点信号G1が印加されたか否かを判断しく
ステップS4)、その判断結果がNOの場合は上死点信
号G2が印加されたか否かを判断する(ステップS5)
。そして、上死点信号G1が印加されたと判断した場合
は、マイクロプロセッサ38はフラグF1を「1」とし
くステップ515)、次いでフラグF2を「1」としく
ステップ516)、次いでカウンタのカウント値CNT
を「1」としくステップ517)、この後ステップ31
Bに移る。面、フラグF2は上死点信号G1が発生して
から上死点信号G2が発生するまでの期間なのか、上死
点信号G2が発生してから上死点信号Glが発生するま
での期間なのかを示すものであり、フラグF2= r 
I Jは上死点信号G1が発生してから上死点信号G2
が発生するまでの期間に対応し、フラグF2=rOJは
上死点信号G2が発生してから上死点信号G1が発生す
るまでの期間に対応するものである。また、ステップS
5で上死点信号G2が印加されたと判断した場合は、マ
イクロプロセッサ38はフラグF1を「0」としくステ
ップS6)、次いでフラグF2を「0」としくステップ
514)、次いでカウンタのカウント値CNTを「1」
としくステップ517)、この後ステップ31Bの処理
を行なうものである。
Further, if the determination result in step S2 is YES and if the determination result in step S3 is NO, the microprocessor 38 determines whether or not the top dead center signal G1 is applied (step S4), and the determination result is NO. In this case, it is determined whether the top dead center signal G2 is applied (step S5).
. If it is determined that the top dead center signal G1 has been applied, the microprocessor 38 sets the flag F1 to "1" (step 515), then sets the flag F2 to "1" (step 516), and then sets the count value of the counter. C.N.T.
is set to "1" (step 517), and then step 31
Move to B. Is the flag F2 the period from the generation of the top dead center signal G1 until the generation of the top dead center signal G2, or the period from the generation of the top dead center signal G2 until the generation of the top dead center signal Gl? The flag F2= r
IJ is the top dead center signal G2 after the top dead center signal G1 is generated.
The flag F2=rOJ corresponds to the period from when the top dead center signal G2 is generated until the top dead center signal G1 is generated. Also, step S
If it is determined in step 5 that the top dead center signal G2 has been applied, the microprocessor 38 sets the flag F1 to "0" (step S6), then sets the flag F2 to "0" (step 514), and then sets the count value of the counter. CNT “1”
Then, step 517) is followed by step 31B.

また、ステップ34.35の判断結果が共にNOの場合
、即ち上死点信号Gl、G2が印加されなかった場合は
、マイクロプロセッサ38はカウンタのカウント値CN
Tが「0」であるか否かを判断しくステップS7)、そ
の判断結果がYESの場合はステップ518に移り、判
断結果がNOの場合はカウンタのカウント値CNTを+
1しくステップS8)、次いでカウント値CNTがCN
T≦12を満足させているか否かを判断する(ステップ
S9)。そして、ステップS9の判断結果がY[ESの
場合は、マイクロプロセッサ38はステップ318に移
り、判断結果がNOの場合はフラグF1が「0」である
か否かを判断する(ステップ510)。
Further, if the judgment results in steps 34 and 35 are both NO, that is, if the top dead center signals Gl and G2 are not applied, the microprocessor 38 outputs the count value CN of the counter.
It is determined whether T is "0" or not (step S7), and if the determination result is YES, the process moves to step 518, and if the determination result is NO, the count value CNT of the counter is +
Step S8), then the count value CNT becomes CN
It is determined whether T≦12 is satisfied (step S9). If the determination result in step S9 is Y[ES, the microprocessor 38 moves to step 318, and if the determination result is NO, it determines whether the flag F1 is "0" (step 510).

そして、ステップS10の判断結果がNOの場合はマイ
クロプロセッサ3日はカウント値CNTを「12」とし
くステップ512)、この後ステ・ノブS18の処理に
移り、判断結果がYESの場合はフラグF1を「1」と
しくステップ5ll)、次いでフラグF2が「0」であ
るか否かを判断しくステップ513)、判断結果がNO
の場合はフラグF2を「0」 (ステップ514)にし
た後、ステップS17の処理に移り、判断結果がYES
の場合はフラグF2を「1」 (ステップ516)にし
た後、ステップS17の処理を行なう。
Then, if the judgment result in step S10 is NO, the microprocessor sets the count value CNT to "12" on the third day (step 512), after which the process moves to step knob S18, and if the judgment result is YES, flag F1 is set. is set to "1" (step 513), and then it is determined whether the flag F2 is "0" (step 513), and the determination result is NO.
In this case, after setting the flag F2 to "0" (step 514), the process moves to step S17, and the judgment result is YES.
In this case, after setting the flag F2 to "1" (step 516), the process of step S17 is performed.

このように、本実施例はカウンタのカウント値CNTが
「12」の時に上死点信号Gl、G2が印加されたこと
を検出できなかった場合は、フラグF1を「1」とする
ものであり、また、フラグF1が「1」の場合は回転角
位置信号01〜C12が印加される毎に上死点信号Gl
、G2が印加されたか否かを判断しくステップS4.S
5)、上死点信号Gl、G2が印加されたと判断した場
合はカウンタのカウント値CNTを「1」にする(ステ
ップ517)ものであるから、例えば第3図(A)に示
すように回転角位置信号にノイズ(ハ)、(ニ)が重畳
された場合は、フラグF1は同図(D)に示すように回
転角位置信号C1lが加えられた時点で「1」となり、
上死点信号G2によって同図(E)に示すようにカウン
タのカウント値CNTが「1」にされるものであるから
、第5図(I)に示した従来例のようにカウンタのカウ
ント値CNTと内燃機関の回転角位置が半永久的にずれ
るというこ也はなくなる。また、同図(B)に点線で示
すように上死点信号G1にノイズ(ホ)が重畳されてい
る場合に於いても、ノイズ発生時には同図(D)に示す
ようにフラグF1が「0」となっているものであるから
、ノイズ(ホ)によってカウンタのカウント値CNTが
「1」となることはなく、従って第5図(H)に示した
従来例のように上死点信号Gl 、 G2に重畳された
ノイズによりカウンタのカウント値CNTと実際の内燃
機関の回転角位置がずれるということはなくなる。また
、本実施例はフラグF1が「1」の場合にカウンタのカ
ウント値CNTが「12」より大きくなった時はカウン
タのカウント値CNTを「12」に保持する(ステップ
S 9.10.12)ものであるから、例えば同図(B
)、  (C)に符号(へ)、(ト)を付した上死点信
号Gl、G2が接触不良等により欠落した場合は、フラ
グF1は同図(F)に示すように変化することとなり、
またカウンタのカウント値CNTは同図(G)に示すよ
うに再び上死点信号Gl、G2が印加されるまで「12
」に保持されることになる。即ち、第1.第2の上死点
信号Gl、G2が両方とも接触不良等により印加されな
くなった場合は、カウンタのカウント値CNTは「12
」に保持され、カウンタのカウント値CNTが燃料噴射
タイミング、点火タイミングに対応する値にならないの
で、燃料噴射及び点火は禁止されることになる。
As described above, in this embodiment, if the application of the top dead center signals Gl and G2 cannot be detected when the count value CNT of the counter is "12", the flag F1 is set to "1". , when the flag F1 is "1", the top dead center signal Gl is applied every time the rotation angle position signals 01 to C12 are applied.
, G2 is applied or not in step S4. S
5) If it is determined that the top dead center signals Gl and G2 have been applied, the count value CNT of the counter is set to "1" (step 517). When noise (C) and (D) are superimposed on the angular position signal, the flag F1 becomes "1" at the time when the rotational angular position signal C1l is added, as shown in (D) of the same figure.
Since the count value CNT of the counter is set to "1" by the top dead center signal G2 as shown in FIG. 5(E), the count value of the counter is set to "1" as shown in FIG. There is no longer a situation where the rotation angle positions of the CNT and the internal combustion engine are semi-permanently shifted. Furthermore, even when noise (E) is superimposed on the top dead center signal G1 as shown by the dotted line in the same figure (B), when noise occurs, the flag F1 is set to "0", the count value CNT of the counter will not become "1" due to noise (E), and therefore the top dead center signal will not change as in the conventional example shown in FIG. 5 (H). There is no possibility that the count value CNT of the counter and the actual rotational angular position of the internal combustion engine will deviate due to the noise superimposed on Gl and G2. Further, in this embodiment, when the flag F1 is "1" and the counter count value CNT becomes larger than "12", the counter count value CNT is held at "12" (step S9.10.12). ), for example, the same figure (B
), If the top dead center signals Gl and G2, which are marked with symbols (f) and (g) in (C), are missing due to poor contact, etc., the flag F1 will change as shown in (F) in the same figure. ,
Further, the count value CNT of the counter is "12" until the top dead center signals Gl and G2 are applied again, as shown in FIG.
” will be held. That is, 1st. If both the second top dead center signals Gl and G2 are no longer applied due to poor contact, etc., the count value CNT of the counter is "12".
'' and the count value CNT of the counter does not correspond to the fuel injection timing and ignition timing, so fuel injection and ignition are prohibited.

発明の詳細 な説明したように、本発明は第1或いは第2の基準位置
信号(実施例に於いては上死点信号Gl。
As described in detail, the present invention provides the first or second reference position signal (in the embodiment, the top dead center signal Gl).

G2)が発生する以前にカウンタのカウント値が第1の
設定値(実施例に於いてはr12J)から初期値(実施
例に於いては「1」)に変化した場合は、第1或いは第
2の基準位置信号の発生時にカウンタのカウント値を初
期値にするものであるから、回転角位置信号にノイズが
重畳された場合に於いてもカウンタのカウント値と実際
の回転角位置とにずれが生じる期間を内燃機関が一回転
する期間とすることができ、また第1或いは第2の基準
位置信号が発生する以前に力・ウンタのカウント値が第
1の設定値から初期値に変化しなかった場合は、カウン
タのカウント値が第1の設定値であり、且つ第1或いは
第2の基準位置信号が印加されたことを条件としてカウ
ンタのカウント値を初期値するものであるから、第1或
いは第2の基準位置信号に重畳されているノイズにより
カウント値と実際の内燃機関の回転角位置とがずれるこ
とがなくなり、従って前記カウント値に基づいて噴射制
御。
If the count value of the counter changes from the first set value (r12J in the embodiment) to the initial value (“1” in the embodiment) before G2) occurs, the first or second set value Since the count value of the counter is set to the initial value when the reference position signal in step 2 is generated, even if noise is superimposed on the rotation angle position signal, there will be no difference between the count value of the counter and the actual rotation angle position. The period in which this occurs can be defined as the period in which the internal combustion engine makes one revolution, and the count value of the force/counter changes from the first set value to the initial value before the first or second reference position signal is generated. If not, the count value of the counter is the first set value, and the count value of the counter is set to the initial value on the condition that the first or second reference position signal is applied. Alternatively, the count value and the actual rotational angular position of the internal combustion engine will not deviate from each other due to noise superimposed on the second reference position signal, and therefore injection control is performed based on the count value.

点火制御を行なえば、内燃機関を円滑に運転することが
可能となる利点がある。また、検出手段で第1及び第2
の基準位置信号の両方が印加されなくなったことを検出
した場合は、カウンタのカウント値を第2の設定値(実
施例に於いては「12」)に保持するものであるから、
噴射制御及び点火制御は行なわれないことになり、従っ
て接触不良等により、第1及び第2の基準位置信号が両
方とも印加されなくなった場合に於いても、円滑に内燃
機関を運転することができる利点がある。
Ignition control has the advantage that the internal combustion engine can be operated smoothly. In addition, the detection means detects the first and second
When it is detected that both of the reference position signals are no longer applied, the count value of the counter is held at the second set value ("12" in the embodiment).
Injection control and ignition control will not be performed, so even if both the first and second reference position signals are no longer applied due to poor contact, etc., the internal combustion engine will not be able to operate smoothly. There are advantages that can be achieved.

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

第1図は本発明の構成図、第2図は本発明の実施例のブ
ロック線図、第3図は第2図の動作説明図、第4図はマ
イクロプロセッサ38の処理内容の一部を示すフローチ
ャート、第5図は従来例の動作説明図である。 1は回転角センサ、2はカウンタ、3は第1の判断手段
、4は第2の判断手段、5は検出手段、6は制御手段、
7は噴射点火制御手段、21は内燃機関、22はクラン
ク角センサ、詔はスロットル弁、24ハバイパス通路、
δはアイドルスピードコントロール弁、26は吸入空気
量を検出する空気量センサ、27は温度センサ、28は
開度センサ、29は圧力センサ、30はインジェクタ、
31は点火プラグ、32は02センサ、33は処理部、
34は入力部、35はへ〇変換器、36は出力部、37
はメモリ、38はマイクロプロセッサである。 特許出願人 富士通テン株式会社(外1名)代理人弁理
士玉蟲久五部(外1名) 第1図
Fig. 1 is a block diagram of the present invention, Fig. 2 is a block diagram of an embodiment of the invention, Fig. 3 is an explanatory diagram of the operation of Fig. 2, and Fig. 4 shows part of the processing contents of the microprocessor 38. The flowchart shown in FIG. 5 is an explanatory diagram of the operation of the conventional example. 1 is a rotation angle sensor, 2 is a counter, 3 is a first judgment means, 4 is a second judgment means, 5 is a detection means, 6 is a control means,
7 is an injection ignition control means, 21 is an internal combustion engine, 22 is a crank angle sensor, 2 is a throttle valve, 24 is a bypass passage,
δ is an idle speed control valve, 26 is an air amount sensor that detects the amount of intake air, 27 is a temperature sensor, 28 is an opening sensor, 29 is a pressure sensor, 30 is an injector,
31 is a spark plug, 32 is an 02 sensor, 33 is a processing unit,
34 is an input section, 35 is a converter, 36 is an output section, 37
is a memory, and 38 is a microprocessor. Patent applicant Fujitsu Ten Ltd. (1 other person) Representative Patent Attorney Gobe Tamamushi (1 other person) Figure 1

Claims (1)

【特許請求の範囲】 内燃機関が一定角度回転する毎に回転角位置信号を出力
すると共に、前記内燃機関の一回転中の所定位置に於い
て第1及び第2の基準位置信号を交互に出力する回転角
センサと、 該回転角センサからの回転角位置信号をカウントし、カ
ウント値が第1の設定値になった場合カウント値を初期
値にするカウンタと、 前記第1或いは第2の基準位置信号が発生する以前に前
記カウンタのカウント値が前記第1の設定値から初期値
に変化したか否かを判断する第1の判断手段と、 前記回転角センサから第1或いは第2の基準位置信号の
内の何れが印加されたかを判断する第2の判断手段と、 前記カウンタのカウント値と前記回転角センサからの第
1及び第2の基準位置信号に基づいて前記第1及び第2
の基準位置信号が印加されなくなったことを検出する検
出手段と、 前記第1の判断手段で前記第1或いは第2の基準位置信
号が発生する以前に前記カウンタのカウント値が前記第
1の設定値から初期値に変化していないと判断された場
合は、前記カウンタのカウント値が前記第1の設定値で
あり、且つ前記第1或いは第2の基準位置信号が発生し
たことを条件として前記カウンタのカウント値を初期値
とし、前記第1の判断手段で前記第1或いは第2の基準
位置信号が発生する以前に前記カウンタのカウント値が
第1の設定値から初期値に変化したと判断された場合は
、前記第1或いは第2の基準位置信号の発生時に於いて
前記カウンタのカウント値を初期値とし、前記検出手段
で前記第1及び第2の基準位置信号が両方とも印加され
ていないことを検出した場合は前記カウンタのカウント
値を第2の設定値に保持する制御手段と、 前記カウンタのカウント値と前記第2の判断手段とに基
づいて内燃機関の燃料噴射制御及び点火制御を行なう噴
射点火制御手段とを備えたことを特徴とする内燃機関の
制御装置。
[Scope of Claims] A rotation angular position signal is output every time the internal combustion engine rotates by a certain angle, and first and second reference position signals are alternately output at a predetermined position during one rotation of the internal combustion engine. a rotation angle sensor that counts rotation angle position signals from the rotation angle sensor, and sets the count value to an initial value when the count value reaches a first set value; and the first or second reference. a first determination means for determining whether the count value of the counter has changed from the first setting value to the initial value before the position signal is generated; and a first or second reference from the rotation angle sensor. a second determining means for determining which of the position signals is applied; and a second determining means for determining which of the position signals is applied;
a detection means for detecting that the reference position signal is no longer applied; and a detection means for detecting that the reference position signal of the counter is no longer applied; If it is determined that the value has not changed to the initial value, the count value of the counter is the first set value, and the first or second reference position signal is generated. The count value of the counter is set as an initial value, and the first determining means determines that the count value of the counter changes from the first set value to the initial value before the first or second reference position signal is generated. If the first or second reference position signal is generated, the count value of the counter is set as an initial value, and the detection means applies both the first and second reference position signals. control means that maintains the count value of the counter at a second set value when it is detected that the count value of the counter is not present; and fuel injection control and ignition control of the internal combustion engine based on the count value of the counter and the second determination means. What is claimed is: 1. A control device for an internal combustion engine, comprising: injection and ignition control means.
JP27992284A 1984-09-20 1984-12-29 Controller for internal-combustion engine Granted JPS61160545A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP27992284A JPS61160545A (en) 1984-12-29 1984-12-29 Controller for internal-combustion engine
US06/776,864 US4607523A (en) 1984-09-20 1985-09-17 Crank angle detecting apparatus for an internal combustion engine
EP85306642A EP0175576B1 (en) 1984-09-20 1985-09-18 Crank angle detecting apparatus for an internal combustion engine
DE8585306642T DE3575180D1 (en) 1984-09-20 1985-09-18 MEASURING DEVICE FOR THE ANGLE POSITION OF THE CRANKSHAFT OF AN INTERNAL COMBUSTION ENGINE.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27992284A JPS61160545A (en) 1984-12-29 1984-12-29 Controller for internal-combustion engine

Publications (2)

Publication Number Publication Date
JPS61160545A true JPS61160545A (en) 1986-07-21
JPH0535264B2 JPH0535264B2 (en) 1993-05-26

Family

ID=17617776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27992284A Granted JPS61160545A (en) 1984-09-20 1984-12-29 Controller for internal-combustion engine

Country Status (1)

Country Link
JP (1) JPS61160545A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008163802A (en) * 2006-12-27 2008-07-17 Toyota Motor Corp Control device for variable valve train

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5544935A (en) * 1978-09-26 1980-03-29 Toyota Motor Corp Compression top dead center detector for four cycle engine
JPS57101903A (en) * 1980-12-17 1982-06-24 Nissan Motor Co Ltd Fail safe system of electronic control device
JPS582469A (en) * 1981-06-30 1983-01-08 Nec Home Electronics Ltd Engine firing control circuit
JPS5862375A (en) * 1981-10-12 1983-04-13 Nec Home Electronics Ltd Ignition controller for engine
JPS5940104A (en) * 1982-08-30 1984-03-05 Mazda Motor Corp Crank angle detector for engine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5544935A (en) * 1978-09-26 1980-03-29 Toyota Motor Corp Compression top dead center detector for four cycle engine
JPS57101903A (en) * 1980-12-17 1982-06-24 Nissan Motor Co Ltd Fail safe system of electronic control device
JPS582469A (en) * 1981-06-30 1983-01-08 Nec Home Electronics Ltd Engine firing control circuit
JPS5862375A (en) * 1981-10-12 1983-04-13 Nec Home Electronics Ltd Ignition controller for engine
JPS5940104A (en) * 1982-08-30 1984-03-05 Mazda Motor Corp Crank angle detector for engine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008163802A (en) * 2006-12-27 2008-07-17 Toyota Motor Corp Control device for variable valve train
JP4655036B2 (en) * 2006-12-27 2011-03-23 トヨタ自動車株式会社 Control device for variable valve mechanism
US8205584B2 (en) 2006-12-27 2012-06-26 Toyota Jidosha Kabushiki Kaisha Control device for variable valve mechanism

Also Published As

Publication number Publication date
JPH0535264B2 (en) 1993-05-26

Similar Documents

Publication Publication Date Title
US4677955A (en) Method and apparatus for discriminating operativeness/inoperativeness of an air-fuel ratio sensor
US5088318A (en) Determining device for determining a failure in an engine cylinder
EP0354497B1 (en) Combustion fault detection apparatus and control system for internal combustion engine
US20040261767A1 (en) Engine control device
US5267544A (en) Crank angle and cylinder number detecting system and method for internal combustion engine
JPS60237142A (en) Controller for internal-combustion engine
JPH0823333B2 (en) Ignition timing control device for internal combustion engine
US4543634A (en) Electronic engine control system
EP0175576B1 (en) Crank angle detecting apparatus for an internal combustion engine
JP2810410B2 (en) Engine ignition timing control device
US6840236B2 (en) Engine control device
JPS61160545A (en) Controller for internal-combustion engine
JPH0238888B2 (en)
JP2749138B2 (en) Combustion abnormality detection device for internal combustion engine
JPH0246777B2 (en)
JPS61152941A (en) Rotational angle position detecting device of internal-combustion engine
JPH11351050A (en) Engine control system
JPH0230955A (en) Output fluctuation detecting device for internal combustion engine
JP2611473B2 (en) Fuel injection amount control device for internal combustion engine
JP2586628B2 (en) Output fluctuation detecting device for internal combustion engine
JP3726631B2 (en) Misfire detection device for multi-cylinder internal combustion engine
JP5249440B2 (en) Engine fuel injection control device
JPH08303277A (en) Method for controlling asynchronous injection during acceleration
JPH0196474A (en) Controller for engine
JPS6125943A (en) Fuel-injection controller of internal-combustion engine

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term