JPH0621803B2 - Abnormality detection device for pulse output type sensor - Google Patents

Abnormality detection device for pulse output type sensor

Info

Publication number
JPH0621803B2
JPH0621803B2 JP61084060A JP8406086A JPH0621803B2 JP H0621803 B2 JPH0621803 B2 JP H0621803B2 JP 61084060 A JP61084060 A JP 61084060A JP 8406086 A JP8406086 A JP 8406086A JP H0621803 B2 JPH0621803 B2 JP H0621803B2
Authority
JP
Japan
Prior art keywords
sensor
engine
time
pulse
abnormality
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
JP61084060A
Other languages
Japanese (ja)
Other versions
JPS62240816A (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.)
Toyota Motor Corp
Original Assignee
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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP61084060A priority Critical patent/JPH0621803B2/en
Publication of JPS62240816A publication Critical patent/JPS62240816A/en
Priority to US07/183,520 priority patent/US4836016A/en
Publication of JPH0621803B2 publication Critical patent/JPH0621803B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Measuring Volume Flow (AREA)
  • Combined Controls Of Internal Combustion Engines (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はパルス出力型センサの異常検出装置に関し、特
にエンジンの吸入空気量の検出値をパルス出力する空気
量センサが正常に作動しているか否かを正しく判定する
異常検出装置に関する。
Description: TECHNICAL FIELD The present invention relates to a pulse output type sensor abnormality detection device, and in particular, is an air amount sensor that outputs a detected value of an intake air amount of an engine pulsed normally? TECHNICAL FIELD The present invention relates to an abnormality detection device that correctly determines whether or not it is.

〔従来の技術〕[Conventional technology]

エンジンを電子制御するためには、エンジンの運転状態
を正確に把握するセンサ、計算に必要なプログラムおよ
びデータを記憶するメモリ、これらの情報を使ってエン
ジンを制御する最適条件を演算するコンピュータ、およ
びエンジンを直接操作するアクチュエータが必要であ
る。
In order to electronically control an engine, a sensor that accurately grasps the operating state of the engine, a memory that stores programs and data necessary for calculation, a computer that uses these information to calculate optimum conditions for controlling the engine, and An actuator that directly operates the engine is required.

このうちセンサはエンジン自体の状態はもちろんのこ
と、エンジンの運転環境に関する物理量、電気量、化学
量などの情報を電気信号に変換してコンピュータに伝え
る大事な役割を果しているので、センサの異常の早期発
見は安全性の上からも非常に重要である。
Of these, the sensor plays an important role in not only the state of the engine itself, but also the physical quantity, electricity quantity, and chemical quantity information related to the operating environment of the engine, which is transmitted to the computer as an electrical signal. Early detection is very important for safety.

そこで近年、自動車に取り付けられたセンサの正常・異
常を判定する自己診断装置が種々提案されている。
Therefore, in recent years, various self-diagnosis devices for determining normality / abnormality of a sensor attached to an automobile have been proposed.

従来のエンジンの運転状態を知るためのパラメータ、特
にエンジンの負荷状態を検出するセンサは、アナログ電
圧を出力するものが一般的である。従って、この形式の
センサでは出力が例えば0V(GND電圧)になった時
とか、電源電圧Vccと同じ電圧(例えば5V)になった
時をもって、センサが異常であると判定する診断方式が
一般的であった。
A conventional parameter for knowing the operating state of the engine, particularly a sensor for detecting the load state of the engine, generally outputs an analog voltage. Therefore, in this type of sensor, a diagnostic method is generally used to determine that the sensor is abnormal when the output becomes 0 V (GND voltage) or when it becomes the same voltage as the power supply voltage Vcc (eg 5 V). Met.

ところが、エンジンへの空気流量の測定を行なうカルマ
ン渦センサのように、単位時間に発生する渦の数を超音
波変調されたパルス列で出力するセンサに対しては、セ
ンサの出力電圧が常に0V(GND)または5V(Vc
c)にあるため、上述のような従来の異常診断方式が適
用できなかった。
However, for a sensor that outputs the number of vortices generated in a unit time by an ultrasonically modulated pulse train, such as a Karman vortex sensor that measures the air flow rate to the engine, the output voltage of the sensor is always 0V ( GND) or 5V (Vc
Since it is in c), the conventional abnormality diagnosis method as described above cannot be applied.

そこで本発明者はパルス出力型センサの異常検出装置と
して、エンジンが所定回転数以上になった時のセンサか
らのパルス出力の周期、あるいは周波数を測定し、その
測定値が所定値を越えた時をもってパルス出力型センサ
が異常であると判定する装置を既に提案した。そして、
この装置はパルス出力型センサの異常検出時に、異常状
態を記憶し、また、異常状態を運転者に視覚あるいは聴
覚を通じて通知することができるようになっているの
で、パルス出力型センサの異常検出が容易に運転者に把
握できた。(特願昭60−174999号) 〔発明が解決しようとする問題点〕 しかしながら、本発明者が既に提案した装置において
は、パルス出力型センサが短時間だけ一時的に不調とな
っても、エンジンの運転には悪影響が全くないという場
合にも異常検知を行ない、これを運転者に通知するとい
う過敏検知の問題があることが判明した。
Therefore, the present inventor, as an abnormality detection device for a pulse output type sensor, measures the period or frequency of pulse output from the sensor when the engine has reached a predetermined rotation speed or more, and when the measured value exceeds a predetermined value. Has already proposed a device that determines that the pulse output type sensor is abnormal. And
When this device detects an abnormality in the pulse output type sensor, it can store the abnormal state and notify the driver of the abnormal state visually or auditorily. The driver could easily understand. (Japanese Patent Application No. 60-174999) [Problems to be Solved by the Invention] However, in the device already proposed by the present inventor, even if the pulse output type sensor temporarily fails for a short time, It was found that there is a problem of hypersensitivity detection, in which abnormality detection is performed even when there is no adverse effect on the driving of the vehicle and the driver is notified of this.

前記過敏検知の解決策としては、異常判定値を緩和す
る、即ち、パルス出力型センサを異常と判定するセンサ
の出力パルス周期の検出時間を長くし、短時間での検出
を防止する方法が考えられる。ところが、判定時間を長
くすると、エンジンの始動時にセンサの異常により始動
できない場合、判定時間が長いために運転者がスタータ
モータを作動させている時間内ではセンサの異常が検出
されない。このような場合は、エンジン始動困難の原因
がパルス出力型センサの不良と診断されず、始動困難の
原因究明に時間がかかって修理が難行するという事態が
予測される。
As a solution to the hypersensitivity detection, a method of relaxing the abnormality determination value, that is, increasing the detection time of the output pulse period of the sensor that determines the pulse output type sensor as abnormality and preventing the detection in a short time is considered. To be However, if the determination time is increased, if the engine cannot be started due to the abnormality of the sensor at the time of starting, the abnormality of the sensor is not detected within the time when the driver operates the starter motor because the determination time is long. In such a case, it is predicted that the cause of the difficulty in starting the engine is not diagnosed as a defect of the pulse output type sensor, and it takes time to find the cause of the difficulty in starting and the repair is difficult.

本発明の目的はエンジンの運転状態の検出値をパルス列
信号で出力するセンサが、正常に作動しているか否かを
判定するが、センサの一時的な検出動作の不調によって
出力パルス信号が一時的にとだえる程度で、エンジンへ
の影響がほとんどない時にはセンサを異常と判定せず、
センサが真に不良となった時のみセンサを異常と判定す
るパルス出力型センサの異常検出装置を提供することで
ある。
The object of the present invention is to determine whether or not the sensor that outputs the detected value of the operating state of the engine as a pulse train signal is operating normally, but the output pulse signal is temporarily output due to a temporary malfunction of the sensor detection operation. When the engine does not affect the engine, it will not judge the sensor as abnormal,
It is an object of the present invention to provide an abnormality detection device for a pulse output type sensor that determines that the sensor is abnormal only when the sensor truly becomes defective.

〔問題点を解決するための手段〕 前記目的を達成する本発明の構成が第1図に示される
が、本発明は、センサが異常かどうかの判断基準として
センサ異常時に起こり得る他の現象条件を付加すること
を特徴とする。第1図におけるパルス出力型センサの異
常検出装置は、エンジンの回転数に応じて変化する吸気
量の検出値をパルス列信号で出力するパルス出力型セン
サと、エンジンが動作中であり、前記センサからのパル
ス信号の周期が設定値以上あるいは周波数が所定値以下
のとき、センサが異常であると仮に検出する仮検出手段
と、センサの異常が仮検出された後、所定時間内にエン
ジン回転数が所定変化率を越えて変動した時に真の異常
信号を発生する異常信号発生手段とを具えていることを
特徴としている。
[Means for Solving the Problems] FIG. 1 shows the configuration of the present invention that achieves the above-mentioned object. However, the present invention uses other phenomenon conditions that may occur when the sensor is abnormal as a criterion for determining whether or not the sensor is abnormal. Is added. The abnormality detection device for a pulse output type sensor in FIG. 1 includes a pulse output type sensor that outputs a detected value of the intake air amount that changes according to the engine speed as a pulse train signal, and the engine is operating When the cycle of the pulse signal is equal to or greater than the set value or the frequency is equal to or less than the predetermined value, the provisional detection unit that tentatively detects that the sensor is abnormal, and the engine speed within a predetermined time after the sensor is tentatively detected. It is characterized in that it comprises an abnormal signal generating means for generating a true abnormal signal when the variation exceeds a predetermined change rate.

〔作 用〕[Work]

本発明によれば、エンジン動作中におけるパルス出力型
センサからのパルス周期が設定値以上のときにセンサの
異常が仮検出手段により検出され、異常検出後の所定時
間内におけるエンジン回転数の変動が所定値を越えた場
合に異常信号発生手段からセンサの異常信号が出力され
る。
According to the present invention, when the pulse period from the pulse output type sensor during the engine operation is equal to or more than the set value, the sensor abnormality is detected by the temporary detection means, and the fluctuation of the engine speed within the predetermined time after the abnormality detection is detected. When the predetermined value is exceeded, the abnormal signal of the sensor is output from the abnormal signal generating means.

〔実施例〕〔Example〕

以下添付図面を用いて本発明を実施例について詳細に説
明する。
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

第2図は本発明のパルス出力型センサの異常検出装置の
一実施例の構成を示す全体概要図である。第2図におい
て、エンジン1の吸気通路2には、アルミハニカム製の
整流器9の下流側にエアフローセンサ3が設けられてい
る。このエアフローセンサ3は、吸気通路2内にカルマ
ン渦Uを発生させ、単位時間に発生する渦の数を超音波
変調により検出して吸入空気量を測定するカルマン渦式
センサであって、例えば渦発生器3a、超音波送信器3
bおよび超音波受信器3cを備えている。
FIG. 2 is an overall schematic diagram showing the configuration of an embodiment of a pulse output type sensor abnormality detection device of the present invention. In FIG. 2, an air flow sensor 3 is provided in the intake passage 2 of the engine 1 downstream of a rectifier 9 made of aluminum honeycomb. The air flow sensor 3 is a Karman vortex sensor that generates a Karman vortex U in the intake passage 2 and detects the number of vortices generated per unit time by ultrasonic modulation to measure the intake air amount. Generator 3a, ultrasonic transmitter 3
b and the ultrasonic receiver 3c.

なお、エアフローセンサ3としては上記超音波式以外に
もミラー振動反射式等の方式のものが使用できる。
As the air flow sensor 3, other than the ultrasonic type, a type such as a mirror vibration reflection type can be used.

前記エアフローセンサ3はパルス出力型センサであり、
その出力特性はエンジン1の吸入空気量に対し、第3図
に示すような周波数のパルス信号を出力する。この出力
信号はローレベルL(0V)−ハイレベルH(5V)の
パルス列から成っており、例えばエンジン始動時の波形
ハが第4図に、スタータモータ信号波形イとエンジンク
ランク角信号波形トと共に示されている。
The air flow sensor 3 is a pulse output type sensor,
Its output characteristic is that it outputs a pulse signal having a frequency as shown in FIG. 3 with respect to the intake air amount of the engine 1. This output signal is composed of a pulse train of low level L (0V) -high level H (5V). For example, the waveform C at the time of engine starting is shown in FIG. 4 together with the starter motor signal waveform A and the engine crank angle signal waveform T. It is shown.

前記エアフローセンサ3の超音波受信器3cは制御回路
10の入出力インタフェース11に接続されている。こ
の制御回路10は、例えばマイクロコンピュータとして
構成され、前述の入出力インタフェース11の他に専用
ライン16で基準時間発生器12が接続されるCPU1
3、およびRAM,ROM等のメモリ14が設けられて
おり、相互にバスライン15で接続されている。
The ultrasonic receiver 3c of the air flow sensor 3 is connected to the input / output interface 11 of the control circuit 10. The control circuit 10 is configured as, for example, a microcomputer, and a CPU 1 to which a reference time generator 12 is connected by a dedicated line 16 in addition to the input / output interface 11 described above.
3, and a memory 14 such as a RAM and a ROM are provided and are connected to each other by a bus line 15.

また、前記入出力インタフェース11には、エンジン1
のディストリビュータ4に取り付けられた回転数検出セ
ンサ5およびアラーム6が接続されている。また、バッ
テリ8がイグニッションスイッチ7を介してA/D変換
器17に接続されると共に、直接バックアップメモリ2
0にも接続されている。このバックアップメモリ20は
イグニッションスイッチ7のオフ後も情報の保持を行
う。回転数検出センサ5はエンジン1の回転角を表す信
号を制御回路10に入力し、アラーム6はエアフローセ
ンサ3の異常時に制御回路10から信号を供給されて、
エアフローセンサ3の異常を例えば音や光で知らせる。
Further, the input / output interface 11 includes an engine 1
The rotation speed detection sensor 5 and the alarm 6 attached to the distributor 4 are connected. Further, the battery 8 is connected to the A / D converter 17 via the ignition switch 7, and the backup memory 2 is directly connected.
It is also connected to 0. The backup memory 20 retains information even after the ignition switch 7 is turned off. The rotation speed detection sensor 5 inputs a signal representing the rotation angle of the engine 1 to the control circuit 10, and the alarm 6 is supplied with a signal from the control circuit 10 when the airflow sensor 3 is abnormal,
The abnormality of the air flow sensor 3 is notified by sound or light, for example.

以上のように構成された本発明のパルス出力型センサの
異常検出装置では、所定時間毎に第5図に示す時間割込
ルーチンにより、次のことが行われる。
In the pulse output type sensor abnormality detecting device of the present invention configured as described above, the following is performed at predetermined time intervals by the time interrupt routine shown in FIG.

異常判定条件の成立の判定(ステップ500,501)これは
バッテリ電圧が低い(例えば6V未満)時、またはエン
ジン回転数が低い(例えば200rpm未満)時は異常判定を
行わないようにするためのものである。
Determining whether the abnormality determination condition is satisfied (steps 500 and 501) This is for not performing abnormality determination when the battery voltage is low (for example, less than 6V) or the engine speed is low (for example, less than 200 rpm). .

センサからのパルス周期の計数およびクリア(ステッ
プ502,503):これは異常判定条件成立時にパルスの周
期を時間計数カウンタにより計数し、判定条件不成立時
に計数値TCおよびエンジン回転低下フラグERDFを
クリアするものである。
Counting and clearing the pulse cycle from the sensor (steps 502, 503): This is to count the pulse cycle by the time counting counter when the abnormality judgment condition is satisfied, and clear the count value TC and the engine rotation reduction flag ERDF when the judgment condition is not satisfied. is there.

正常判定用の時間計数(ステップ504):異常条件成
立時のみ正常判定用タイマカウンタで時間を計数し、計
数値TRはセンサからのパルス毎に他のルーチンでクリ
アされる。
Time count for normality determination (step 504): The time is counted by the normality determination timer counter only when an abnormal condition is satisfied, and the count value TR is cleared by another routine for each pulse from the sensor.

仮異常フラグの有無の判定(ステップ505):パルス
出力型センサの出力に異常があった時に、仮に“1”に
される仮異常フラグTFFが“1”であるか否かを判定
する。
Judgment of Presence or Absence of Temporary Abnormality Flag (Step 505): When the output of the pulse output type sensor is abnormal, it is judged whether or not the temporary abnormality flag TFF temporarily set to "1" is "1".

センサ異常検出時点からの時間TFCの計数およびク
リア(ステップ506,507):仮異常フラグがある(TF
F=“1”)時にフラグのある時間を計数し、仮異常フ
ラグが無くなった時点でTFCの値をクリアする。
Counting and clearing the time TFC from the sensor abnormality detection time (steps 506 and 507): There is a temporary abnormality flag (TF
When F = “1”), the time with the flag is counted, and the TFC value is cleared when the temporary abnormality flag disappears.

エンジンストールの判定(ステップ 508〜ステップ51
1):仮異常フラグがある所定時間内にエンジンがスト
ールしたか否かを判定し、ストールした時にエンジンス
トールフラグESFの値を“1”にする。すなわち、エ
ンジンストール判定用タイマカウンタで時間を計数し、
計数値ESTCが所定値ESTC0に達したとき、エン
ジンストールしたと判定する。そして、計数値ESTC
は所定クランク角毎に他のルーチンでクリアされる。
Judgment of engine stall (Step 508 to Step 51
1): It is determined whether the engine stalls within a predetermined time with the temporary abnormality flag, and when the engine stalls, the value of the engine stall flag ESF is set to "1". That is, the time is counted by the engine stall judgment timer counter,
When the count value ESTC reaches the predetermined value ESTC0, it is determined that the engine has stalled. Then, the count value ESTC
Is cleared by another routine at every predetermined crank angle.

なお、前述のステップ503 では、パルス周期(TC)が
クリアされるようになっているが、クリアせずにその値
を保持することもある。
Although the pulse cycle (TC) is cleared in step 503 described above, the value may be held without being cleared.

以上のように、第5図の時間割込ルーチンでは主に各タ
イマカウンタのインクリメント処理が実行される。
As described above, in the time interrupt routine of FIG. 5, the increment processing of each timer counter is mainly executed.

また、前記CPU13には、入出力インタフェース11内
のノイズフィルタ(図示せず)でノイズ成分を除去され
た、前記エアフローセンサ3からのパルスが割込入力ポ
ート(図示せず)を通じて入力されるが、CPU13はこ
のパルスの立下り毎に、第6図に示す立下り割込ルーチ
ンを行なう。このルーチンでは、ステップ601 において
前述の時間計数カウンタの計数値TCを用いて空気流量
が計算され(Kは定数)、ステップ602 でその値が第2
図のメモリ14に格納される。そしてステップ603 で前
記計数値TCがリセットされて0になり、ステップ604
でセンサ仮異常フラグがある(TFF=“1”)か否か
が判定される。
Further, the CPU 13 receives a pulse from the air flow sensor 3 from which a noise component is removed by a noise filter (not shown) in the input / output interface 11 through an interrupt input port (not shown). , CPU 13 performs a falling edge interrupt routine shown in FIG. 6 at each falling edge of this pulse. In this routine, in step 601, the air flow rate is calculated using the count value TC of the above-described time counting counter (K is a constant), and in step 602 the value is calculated as the second value.
It is stored in the memory 14 shown. Then, in step 603, the count value TC is reset to 0, and in step 604
Then, it is determined whether or not there is a sensor temporary abnormality flag (TFF = "1").

TFF=“1”の時(YES)はステップ605 に移行し
て、前述のエアフローセンサ3から出力されるパルス数
の計数値PNの値を1増大させ、センサ仮異常フラグが
ないTFF=“0”の時(NO)はステップ606 に移行
して、前記タイマカウンタの時間計数値TRおよびパル
ス計数値PNがリセットされて共に0になる。
When TFF = "1" (YES), the routine proceeds to step 605, where the count value PN of the pulse number output from the air flow sensor 3 is increased by 1 and there is no sensor temporary abnormality flag TFF = "0". If it is "NO", the process proceeds to step 606, and the time count value TR and the pulse count value PN of the timer counter are reset to 0.

次に第7図のルーチンおよび第8図〜第10図の波形図
を用いて本発明のパルス出力型センサの異常検出装置が
エンジン始動後に仮異常フラグを立てる、あるいはその
フラグをクリアする動作を説明する。
Next, using the routine of FIG. 7 and the waveform diagrams of FIG. 8 to FIG. 10, the abnormality detection device for the pulse output type sensor of the present invention sets the temporary abnormality flag after the engine is started, or the operation for clearing the flag. explain.

(1)正常時 まず、第8図の波形図を用いて本発明の装置の動作を説
明する。
(1) Normal state First, the operation of the apparatus of the present invention will be described with reference to the waveform chart of FIG.

時刻SでスタータモータがOFF状態からON状態にな
り、エンジンが始動されると、エンジン回転数Nは上昇
を開始する(波形イ、ロ)。これに伴ってエンジン燃焼
室内に空気が導入されるが、エアフローセンサからのパ
ルス出力は、スタータモータ信号STAがOFFからO
Nになった時点で5Vから0Vに下がった後、スタータ
モータの起動により低下したバッテリ電圧B(波形ト)
が、エアフローセンサの正常作動電圧Vに達するまで
出力されない。バッテリ電圧Bが前記電圧Vに達する
と、正常状態のエアフローセンサはその空気量に比例し
たパルス出力を送出する(波形ハ)。
When the starter motor changes from the OFF state to the ON state at time S and the engine is started, the engine speed N starts to increase (waveforms A and B). Along with this, air is introduced into the engine combustion chamber, but the pulse output from the air flow sensor indicates that the starter motor signal STA is OFF and is
Battery voltage B (waveform) dropped from 5V to 0V when it reached N, and then dropped due to starter motor startup
But not output to reach the normal operating voltage V R of the air flow sensor. When the battery voltage B reaches the voltage V R, an air flow sensor in a normal state sends a pulse output proportional to the amount of air (waveform c).

この実施例ではパルスの周期を測定する時間計数カウン
タを作動させるバッテリ電圧Bの設定値VをV>V
のように選んである。また、本発明の装置において
は、エンジン回転数Nが所定値N、例えば200rpmに達
するまでは前述のように時間計数カウンタは作動せず、
その計数値TCは0である(波形ニ)ので、結局、バッ
テリ電圧B≧V、エンジン回転数N≧Nを共に満た
す時刻Zになるまで、時間計数カウンタの計数値TCは
0のままである。
In this embodiment, the set value V 0 of the battery voltage B for operating the time counting counter for measuring the pulse cycle is set to V 0 > V.
Selected like R. Further, in the device of the present invention, the time counting counter does not operate as described above until the engine speed N reaches a predetermined value N 0 , for example, 200 rpm,
Since the count value TC is 0 (waveform D), the count value TC of the time counting counter remains 0 until the time Z at which the battery voltage B ≧ V 0 and the engine speed N ≧ N 0 are both satisfied. Is.

このようにするのは、例えばエンジン回転数Nの値だけ
で時間計数カウンタの計数値TCの計数のオンオフを制
御してしまうと、エンジン回転数Nが所定値Nを越え
た時刻Xから時間計数カウンタの計数値TCが破線チで
示すように増し始めた時に、時刻Xからバッテリ電圧B
がエアフローセンサの正常動作電圧Vに達する時刻Y
までの時間が長いと、計数値TCが異常判定値TC
達することがあり、エアフローセンサが異常であると誤
診断されてしまうからである。
This is because, for example, if the on / off of counting of the count value TC of the time counter is controlled only by the value of the engine speed N, the time from the time X when the engine speed N exceeds the predetermined value N 0 When the count value TC of the counting counter starts increasing as indicated by the broken line H, the battery voltage B
Time Y but to reach the normal operating voltage V R of the air flow sensor
If the time until is long, the count value TC may reach the abnormality determination value TC 0 , and the air flow sensor is erroneously diagnosed as abnormal.

時刻Zでバッテリ電圧Bが所定値V以上になり、エン
ジン回転数Nが所定値N以上になると、時間計数カウ
ンタが計数を開始するが(波形ニ)、この計数値TCは
エアフローセンサからのパルスの立下り毎にクリアされ
て0になる。そして、計数値TCがパルスの立下り毎に
クリアされていれば、その値は大きくなることがなく、
異常判定値TCを越えないので波形ホで示されるよう
に、仮異常フラグTFFは立たない。
At time Z, when the battery voltage B becomes equal to or higher than the predetermined value V 0 and the engine speed N becomes equal to or higher than the predetermined value N 0 , the time counting counter starts counting (waveform D), but this count value TC is obtained from the air flow sensor. Is cleared and becomes 0 at each falling edge of the pulse. If the count value TC is cleared at each falling edge of the pulse, the value does not increase,
Since the abnormality determination value TC 0 is not exceeded, the temporary abnormality flag TFF does not rise as indicated by the waveform E.

以上述べた本発明の装置の、パルス出力型センサが正常
時の動作を、第7図のフローチャートを用いて説明す
る。なお、仮異常フラグTFFの値はイニシャルルーチ
ンにて“0”にされている。
The operation of the above-described device of the present invention when the pulse output type sensor is normal will be described with reference to the flowchart of FIG. The value of the temporary abnormality flag TFF is set to "0" in the initial routine.

第7図のルーチンではエンジン始動後に、バッテリ電圧
≧6V(ステップ700 でYES)、エンジン回転数≧20
0rpm(ステップ702 でYES)の条件が満たされた時の
みステップ703 に進む(ステップ704 に進んで来るまで
はTFF=“0”であるので、ステップ701 の判定はそ
れまでNOのままである)。ステップ703 ではセンサか
らのパルス周期計数用の時間計数値TCが異常判定値T
を越えたか否かが判定される。
In the routine of FIG. 7, after the engine is started, the battery voltage ≧ 6V (YES in step 700), the engine speed ≧ 20.
Only when the condition of 0 rpm (YES in step 702) is satisfied, the process proceeds to step 703 (until the process proceeds to step 704, TFF = “0”, so the determination in step 701 remains NO until then). . In step 703, the time count value TC for counting the pulse period from the sensor is changed to the abnormality determination value T.
It is determined whether or not C 0 is exceeded.

正常時はパルスの立下がり毎に第6図のルーチンが実行
され、TC値が0に戻されているのでTC≦TCであ
り、ステップ703 ではNOになり、ステップ706 に進む
ので、TFFの値は“0”のままである。そして、以後
センサからパルスが正常に出力されている限りTCの値
はクリアされるので、ステップ700 →701 →702 →703
→706 のルーチンが実行され続ける。
In a normal state, the routine shown in FIG. 6 is executed at each falling edge of the pulse, TC ≦ TC 0 because the TC value has been returned to 0 , NO is obtained at step 703, and the routine proceeds to step 706. The value remains "0". Then, as long as the pulse is normally output from the sensor thereafter, the value of TC is cleared, so step 700 → 701 → 702 → 703
→ The routine of 706 continues to be executed.

(2)異常時 次に、エアフローセンサ3に異常が発生し、エンジン始
動時にセンサからパルスが出力されない時の本発明の装
置の動作を、第9図の波形図を用いて説明する。
(2) Abnormal State Next, the operation of the device of the present invention when an abnormality occurs in the air flow sensor 3 and no pulse is output from the sensor at the time of engine starting will be described with reference to the waveform diagram of FIG.

時刻SでスタータモータがOFF状態からON状態にな
り、エンジンが始動されると、バッテリ電圧Bが低下
し、エンジン回転数Nは上昇を開始する(波形イ、ロ、
ト)。これに伴ってエンジン燃焼室内に空気が導入され
るが、エアフローセンサに異常がある時は、この後エン
ジン回転数Nが所定値Nを越え、かつバッテリ電圧B
が所定値Vを越えた時刻Zとなっても、このセンサか
らパルスが送出されない(センサ出力は波形ハで示さ
れ、この時は出力GND電圧またはVcc電圧)。
When the starter motor changes from the OFF state to the ON state at time S and the engine is started, the battery voltage B decreases and the engine speed N starts to increase (waveforms A, B,
G). Along with this, air is introduced into the engine combustion chamber, but if there is an abnormality in the air flow sensor, then the engine speed N exceeds a predetermined value N 0 and the battery voltage B
Even when the time Z exceeds a predetermined value V 0 , no pulse is sent from this sensor (the sensor output is shown by the waveform C, and at this time, the output GND voltage or Vcc voltage).

時間Zでバッテリ電圧Bが所定値V(6V)以上にな
り、エンジン回転数Nが所定値N(200rpm)以上になる
と、時間計数カウンタの計数値TCが時間と共に増大す
る(第5図のステップ502による)が、前述のようにエ
アフローセンサからの出力パルスがないので第6図の立
下り割込ルーチンが実行されず、この計数値TCはクリ
アされない。この結果、計数値TCは増大を続け、つい
には時刻W1で一時異常判定値TCを越えてしまう
(波形ニ)。
When the battery voltage B becomes equal to or higher than the predetermined value V 0 (6V) and the engine speed N becomes equal to or higher than the predetermined value N 0 (200 rpm) at time Z, the count value TC of the time counting counter increases with time (FIG. 5). However, since there is no output pulse from the air flow sensor as described above, the falling interrupt routine of FIG. 6 is not executed and this count value TC is not cleared. As a result, the count value TC continues to increase and finally exceeds the temporary abnormality determination value TC 0 at time W1 (waveform D).

この時点でCPUは仮異常判定を行ない、仮異常フラグ
TFFを立てる(波形ホ)。
At this point, the CPU makes a temporary abnormality determination and sets a temporary abnormality flag TFF (waveform E).

前述の仮異常判定はエンジン始動時だけでなく、エンジ
ン稼動中にエアフローセンサに異常が生じた場合も同様
である。
The above-described temporary abnormality determination is the same not only when the engine is started, but also when an abnormality occurs in the air flow sensor during engine operation.

このようにしてエアフローセンサ3の仮異常が検出さ
れ、仮異常フラグTFF=“1”の情報が記憶された後
は、正常判定用タイマカウンタの作動により、以後はこ
のタイマカウンタがエアフローセンサ3が正常に復帰し
たと判定するまで、前記仮異常フラグTFF=“1”の
情報は保持され続ける。
After the temporary abnormality of the air flow sensor 3 is detected and the information of the temporary abnormality flag TFF = “1” is stored in this way, the normality determination timer counter operates, and thereafter, this timer counter is operated by the air flow sensor 3. The information of the temporary abnormality flag TFF = “1” is kept held until it is determined that the normal state is restored.

以上の過程を第7図で説明する。エアフローセンサから
パルスが出力されないとTC値がクリアされず、バッテ
リ電圧B≧6V、エンジン回転数N≧200rpmの条件下で
やがてステップ703 でTC>TCとなり(YES)、
ステップ704 に移行する。ステップ704 では、仮異常フ
ラグTFF=“1”となって記憶され、続いてステップ
705 に移って前記タイマカウンタの時間計数値TRがリ
セットされる。この後、再びステップ701 に戻ってきた
時にはTFF=“1”であるのでYESとなり、ステッ
プ707 に移行する。
The above process will be described with reference to FIG. If a pulse is not output from the air flow sensor, the TC value is not cleared, and TC> TC 0 is eventually obtained in step 703 under the conditions of battery voltage B ≧ 6V and engine speed N ≧ 200 rpm (YES),
Go to step 704. At step 704, the temporary abnormality flag TFF = “1” is stored and then stored.
Moving to 705, the time count value TR of the timer counter is reset. After this, when the process returns to step 701 again, TFF = "1", so YES is obtained and the routine proceeds to step 707.

ステップ707 はエアフローセンサ3からのパルス数PN
の計数値の判定ステップであるが、この時点ではエアフ
ローセンサ3からのパルス数PN=0なのでNOとな
り、ステップ708 へ進む。ステップ708 およびステップ
709 は前述の正常判定用タイマカウンタを所定時間毎に
クリアするステップであり、第5図のステップ504 によ
って所定時間毎に増大する正常判定用タイマカウンタの
時間計数値TRが所定値TR(例えば100ms)に達し
ない時(YES)はそのまま計数値TRを増大させ、計
数値TRが所定値TR以上になった時は、この計数値
TRおよびタイマカウンタのパルス計数値PNをクリア
して0にする。以上の過程ではエアフローセンサからパ
ルスは出力されないので第6図の立下り割込ルーチンは
実行されない。
Step 707 is the number of pulses PN from the air flow sensor 3.
However, since the number of pulses PN from the air flow sensor 3 is PN = 0 at this point, the determination is NO and the process proceeds to step 708. Step 708 and Step
Reference numeral 709 denotes a step of clearing the above-described normality determination timer counter at predetermined time intervals. The time count value TR of the normality determination timer counter, which is increased at predetermined time intervals at step 504 of FIG. 5, is a predetermined value TR 0 (for example, When the count value TR does not reach 100 ms) (YES), the count value TR is increased as it is, and when the count value TR becomes a predetermined value TR 0 or more, the count value TR and the pulse count value PN of the timer counter are cleared to 0. To Since no pulse is output from the airflow sensor in the above process, the falling interrupt routine of FIG. 6 is not executed.

(a)異常状態継続時 以上のようにして、仮異常フラグTFF=“1”になっ
た後に、エアフローセンサ3の異常状態が回復せず、エ
ンジンストール(以後エンストと言う)する時の本発明
の装置の動作をまず第9図を用いて説明する。
(a) Continuation of Abnormal State As described above, the present invention when the abnormal state of the airflow sensor 3 is not recovered and the engine stalls (hereinafter referred to as “stalling”) after the temporary abnormality flag TFF = “1” is set. First, the operation of the device will be described with reference to FIG.

時刻W2で仮異常フラグTFFが“1”になると、その
時点からタイマカウンタTFCの値が次第に増大してい
く(波形リ)と共に、エンスト判定用のタイマカウンタ
ESTCの値も増大していく(波形ヌ)。ESTCの値
は所定クランク角毎に行われるルーチン(第11図)の
ステップ115 により、所定クランク角毎にクリアされる
ので、エンスト時以外は大きくならない。
When the temporary abnormality flag TFF becomes "1" at time W2, the value of the timer counter TFC gradually increases from that point (waveform re) and the value of the timer counter ESTC for stalling determination also increases (waveform). Nu). The ESTC value is cleared at each predetermined crank angle in step 115 of the routine (FIG. 11) performed at each predetermined crank angle, and therefore does not increase except when the engine is stalled.

ところが、時刻Pでエンストが発生すると、ESTCの
値はクリアされないので次第に大きくなり、時刻Qにて
エンスト判定値ESTCOを越えた時にエンスト判定フ
ラグESF(波形ル)が“1”になる。このようにTF
C<TFCOの間にエンスト判定フラグESF=1とな
ると、真の異常フラグDF(波形ヲ)が“1”になり、
同時にアラーム信号AL(波形ワ)が出力される。この
アラーム信号ALにより第2図の構成においては、光や
音等によりエアフローメータ3の異常を知らせるアラー
ムが作動する。
However, when an engine stall occurs at time P, the ESTC value is not cleared and gradually increases, and when the engine stall determination value ESTCO is exceeded at time Q, the engine stall determination flag ESF (waveform) becomes "1". Like this TF
When the engine stall determination flag ESF = 1 while C <TFCO, the true abnormality flag DF (waveform) becomes “1”,
At the same time, the alarm signal AL (waveform) is output. In the configuration shown in FIG. 2, the alarm signal AL activates an alarm for notifying an abnormality of the air flow meter 3 by light or sound.

なお、前記真の異常フラグDFは第2図に20で示され
るイグニッションスイッチ7のOFF後も記憶内容が保
持されるバックアップメモリに記憶される。
The true abnormality flag DF is stored in the backup memory that retains the stored contents even after the ignition switch 7 shown in FIG. 2 is turned off.

以上の過程は第5図のフローチャートのステップ505 →
506 →508 →509 →510 で示されるルーチン、またはス
テップ509 からステップ511 に移るルーチンで示され
る。
The above process is the step 505 of the flowchart of FIG. 5 →
506 → 508 → 509 → 510 The routine shown by the routine or the routine which moves from step 509 to step 511 is shown.

更に、仮異常フラグTFT=“1”となった後に、エン
ジン回転が急激に低下した場合も真の異常フラグDFが
“1”になる。これを第11図を用いて説明する。
Further, even after the temporary abnormality flag TFT becomes "1", the true abnormality flag DF becomes "1" even when the engine speed is rapidly reduced. This will be described with reference to FIG.

第11図はクランク角割込ルーチンであり、回転数検出
センサ5からのパルス信号の立上りまたは立下り毎に起
動される。ステップ110 は1回前のクランク角割込時の
時間カウンタ(例えば1μs毎に自動的に計数値が1ず
つ増大されるフリーランカウンタのような時間カウン
タ)値FRCOを、今回の時間カウント値FRCから引
き、前回のクランク角割込ルーチンと今回の同ルーチン
との時間差Tを算出するものである。そして、ステップ
111 にてこの時間差Tが所定の判定値Tthより大きいか
否かを判定し、T>Tthの場合(YES)は回転低下の度合
が大きいのでステップ112 に進んでエンジン回転低下フ
ラグERDFを“1”にするが、T≦Tthの場合(N
O)はステップ112 を行なわない。
FIG. 11 shows a crank angle interruption routine, which is activated each time the pulse signal from the rotation speed detection sensor 5 rises or falls. In step 110, a time counter (for example, a time counter such as a free-run counter in which the count value is automatically incremented by 1 every 1 μs) at the time of the crank angle interruption one time before, a value FRCO is calculated from the current time count value FRC. The time difference T between the last crank angle interruption routine and this routine is calculated. And step
At 111, it is determined whether or not this time difference T is larger than a predetermined determination value Tth. If T> Tth (YES), the degree of rotation reduction is large, so the routine proceeds to step 112, where the engine rotation reduction flag ERDF is set to "1". , But if T ≦ Tth (N
O) does not perform step 112.

ステップ113 は今回の時間カウンタの値FRCをFRC
Oに置き換えるものであり、ステップ114 はステップ11
0 で求められた時間差Tからエンジン回転数Nを演算す
るものである(Kは定数)。そして、ステップ115 で
エンスト判定用のタイマカウンタESTCをクリアし、
ステップ116 でエンスト判定フラグESFをクリアして
このルーチンを終了する。
In step 113, the value FRC of this time counter is set to FRC.
Is replaced with O, step 114 is step 11
The engine speed N is calculated from the time difference T obtained at 0 (K N is a constant). Then, in step 115, the timer counter ESTC for determining the engine stall is cleared,
In step 116, the engine stall determination flag ESF is cleared, and this routine ends.

そして、エンスト判定フラグESFおよびエンジン回転
低下フラグERDFにより真の異常フラグDFが“1”
になる過程が第12図に示される。
Then, the true abnormality flag DF is set to "1" by the engine stall determination flag ESF and the engine rotation reduction flag ERDF.
The process of becoming is shown in FIG.

第12図の異常記憶とアラーム出力ルーチンにおけるス
テップ120 はTFFが“1”か否かの判定、ステップ12
1 が異常発生後の経過時間TFCが所定時間TFCOに
達したか否かの判定、ステップ122 がエンスト判定フラ
グESFが“1”か否かの判定であり、仮異常フラグT
FFが“1”となった後、所定時間TFCO内のエンス
ト発生時はステップ120 〜122 がすべてYESとなって
ステップ124 に進む。また、ステップ122 でNOとなっ
た場合はステップ123 に進む。
In step 120 in the abnormal memory and alarm output routine of FIG. 12, it is determined whether TFF is "1", step 12
1 is a determination as to whether the elapsed time TFC after the occurrence of an abnormality has reached a predetermined time TFCO, and step 122 is a determination as to whether the engine stall determination flag ESF is "1".
After the FF becomes "1", when an engine stall occurs in the TFCO for a predetermined time, all the steps 120 to 122 become YES and the routine proceeds to step 124. If NO in step 122, the process proceeds to step 123.

ステップ123 はエンジン回転低下フラグERDFが
“1”か否かの判定であり、ERDF=“1”のとき
(YES)はステップ124 に進むがERDF=“0”の
ときはステップ129 に進む。そして、ステップ124 では
アラーム信号ALが出力され、続くステップ125 で異常
発生後の時間の計測値TFCがクリアされ、ステップ12
6 でパルス出力型センサに異常があった旨が記憶され
る。
In step 123, it is judged whether or not the engine rotation reduction flag ERDF is "1". When ERDF = "1" (YES), the routine proceeds to step 124, but when ERDF = "0", the routine proceeds to step 129. Then, in step 124, the alarm signal AL is output, and in the following step 125, the measured value TFC of the time after the occurrence of the abnormality is cleared, and step 12
At 6, the fact that there is something wrong with the pulse output type sensor is stored.

(b)正常復帰時 仮異常判定がなされた後で、エンジン回転数Nが所定値
を越えている時に、エアフローセンサが正常に機能
するように復帰した場合について第10図の波形図を用
いて説明する。
(b) At the time of returning to normal When the engine speed N exceeds the predetermined value N 0 after the temporary abnormality judgment is made, the case where the air flow sensor returns to function normally is shown in the waveform diagram of FIG. It demonstrates using.

エアフローセンサの異常時には、第10図に波形ヘで示
すように正常判定用タイマカウンタが所定周期TR
(例えば100ms)で時間の計数とリセットとをくり返
している。本発明の装置では、このタイマカウンタの計
数周期TRの間に、エアフローセンサからの出力パル
スが所定値PN(例えば15個)以上制御回路に入力
された時をもって、エアフローセンサが正常復帰したと
判定するようにしている(波形ハ、ホ)。
When the air flow sensor is abnormal, the normality determination timer counter is set to a predetermined cycle TR as shown by the waveform in FIG.
At 0 (for example, 100 ms), time counting and resetting are repeated. In the device of the present invention, the air flow sensor returns to normal when the output pulse from the air flow sensor is input to the control circuit for a predetermined value PN 0 (for example, 15 pieces) or more during the counting cycle TR 0 of the timer counter. Is determined (waveform c, e).

これを第7図のフローチャートを用いて説明する。仮異
常フラグTFF=1である状態では、前述のようにステ
ップ701 →ステップ707 →ステップ708 を経てステップ
701 に戻るルーチン、またはステップ709 を経た後にス
テップ701 に戻るルーチンが実行されている。この過程
ではエアフローセンサから全くパルスが出力されないの
で、立下り割込ルーチンは実行されなかった。
This will be described with reference to the flowchart of FIG. In the state where the temporary abnormality flag TFF = 1, as described above, step 701 → step 707 → step 708
The routine returning to step 701 or the routine returning to step 701 after step 709 is executed. During this process, no pulse was output from the airflow sensor, so the falling interrupt routine was not executed.

ところが、エアフローセンサに復調のきざしが現れ、パ
ルスが出力され始めると、そのパルスの立下りで第6図
の立下り割込ルーチンが実行され、ステップ604 のYE
S判定後はステップ605 に移行してこのパルス数PNが
計数される。このようにして計数されたエアフローセン
サからのパルス数PNが、前述のタイマカウンタの計数
周期TR内で所定値PN(15個)に満たない場合
は、第7図のステップ707 でNOと判定されるので、仮
異常フラグTFF=“1”のままであり、エアフローセ
ンサが正常復帰したとはみなされない。
However, when the sign of demodulation appears on the air flow sensor and a pulse starts to be output, the falling interrupt routine of FIG. 6 is executed at the falling edge of the pulse, and YE at step 604.
After the determination of S, the process proceeds to step 605 and this pulse number PN is counted. If the number PN of pulses from the air flow sensor counted in this way is less than the predetermined value PN 0 (15) within the counting cycle TR 0 of the timer counter described above, NO is given in step 707 of FIG. Since the determination is made, the temporary abnormality flag TFF = “1” remains, and it is not considered that the air flow sensor has returned to normal.

ところが、タイマカウンタの計数周期TR内でパルス
計数値PNが所定値PN(15個)に達した時は、ス
テップ707 でYESと判定されてステップ710 に移行
し、仮異常フラグTFFがリセットされて0になる。
However, when the pulse count value PN reaches the predetermined value PN 0 (15 pieces) within the counting cycle TR 0 of the timer counter, YES is determined in step 707, the process proceeds to step 710, and the temporary abnormality flag TFF is reset. Will be 0.

この結果、次回はステップ701 でNOと判定されること
になり、以後はステップ701 →ステップ702 →ステップ
703 →ステップ706 の正常時のルーチンがくり返される
ことになる。
As a result, the next time it will be judged as NO in step 701, and after that step 701 → step 702 → step
703 → The normal routine of step 706 is repeated.

なお、仮異常フラグTFF=“0”の場合(第12図の
ステップ120 でNO)、第9図の時刻W1〜時刻Rの間
で示されるように、時刻W1でTFF=“1”となり、
時刻Rで異常後のタイマカウンタTFC≧TFCOとな
った場合(第12図ステップ121 でNO)、エンスト判
定フラグESF=“0”でかつエンジン回転低下フラグ
ERDF=“0”の場合(同図ステップ122 でNOかつ
ステップ123 でNO)は、全てステップ129 に進むので
アラーム信号ALは出力されない。また、前記ステップ
121 でNOとなった後はステップ127 でTFC=0、ス
テップ128 でTFF=“0”にされる。
When the temporary abnormality flag TFF = "0" (NO in step 120 of FIG. 12), TFF = "1" at time W1 as shown between time W1 and time R in FIG.
When the timer counter TFC ≧ TFCO after the abnormality is reached at time R (NO in step 121 in FIG. 12), the engine stall determination flag ESF = “0” and the engine rotation reduction flag ERDF = “0” (step in the same figure). If NO at 122 and NO at step 123), the process proceeds to step 129, so that the alarm signal AL is not output. Also, the step
After NO in 121, TFC = 0 in step 127, and TFF = “0” in step 128.

このように、本発明の装置ではパルス出力型センサの出
力の正常、異常状態および異常状態から正常状態への復
帰状態が的確に判定される。
As described above, in the device of the present invention, the normal or abnormal state of the output of the pulse output type sensor and the return state from the abnormal state to the normal state are accurately determined.

前記実施例においては、異常状態の判定を行うために仮
異常フラグTFFと真の異常フラグDFを使用し、真の
異常フラグDFのみをバックアップメモリに格納するよ
うにしたが、仮異常フラグTFFが“1”になった時は
その履歴もメモリに残すようにした方がいっそうサービ
ス性が向上する。
In the above embodiment, the temporary abnormality flag TFF and the true abnormality flag DF are used to determine the abnormal state, and only the true abnormality flag DF is stored in the backup memory. When it becomes “1”, it is better to leave the history in the memory as well to improve the serviceability.

すなわち、仮異常フラグTFF=“1”となる第7図の
ステップ704 の後で仮異常保持フラグDF2=TFFと
してDF2をメモリに残すようにすれば、パルス出力型
センサであるエアフローセンサが一時的に異常状態にな
ったが以後正常状態に復帰した場合についても、一時的
異常状態の履歴が前記第2の異常フラグDF2に残り、
エアフローセンサの不良の早期発見に役立てることがで
きる。更に、DF2=TFFとした後にDF2=DF2
+1とすれば、エアフローセンサが過去何回仮異常の状
態に陥いったかもわかり、センサ不良の早期発見に役立
つ。また、エンジンの回転変動もしくは、エンジンスト
ール等の故障に到った不具合としては真の異常フラグD
Fに残るとともに、第2図に示す光又は音等の診断情報
の出力によって運転者に適確に知らしめることが出来
る。
That is, if the temporary abnormality holding flag DF2 = TFF is set and the DF2 is left in the memory after the step 704 of FIG. 7 in which the temporary abnormality flag TFF = "1", the air flow sensor which is a pulse output type sensor is temporarily operated. In the case where the abnormal state occurs in the first time and the normal state is restored thereafter, the history of the temporary abnormal state remains in the second abnormal flag DF2,
This can be useful for early detection of defects in the air flow sensor. Furthermore, after setting DF2 = TFF, DF2 = DF2
If +1 is set, it is possible to know how many times the air flow sensor has fallen into a temporary abnormal state in the past, which is useful for early detection of sensor failure. In addition, a true abnormality flag D is a defect that results in a failure such as engine speed fluctuation or engine stall.
While remaining in F, the driver can be notified appropriately by outputting diagnostic information such as light or sound shown in FIG.

この診断情報の表示は例えばコード信号であっても良い
しエアフローの絵表示のあるランプを点灯するようにし
ても良い。
The display of this diagnostic information may be, for example, a code signal, or a lamp with a pictorial display of airflow may be turned on.

更に、本発明においてエンジンが動作中であるか否かは
次のようにして検出することもできる。
Further, in the present invention, whether or not the engine is operating can be detected as follows.

クランキング中であることをスタータスイッチによっ
て検出する。
The starter switch detects that cranking is in progress.

エンジンオイルの油圧が所定値以上であることを油圧
計によって検出する。
A hydraulic pressure gauge detects that the oil pressure of the engine oil is equal to or higher than a predetermined value.

オルタネータの出力電圧が所定値以上であることを電
圧計によって検出する。
A voltmeter detects that the output voltage of the alternator is above a predetermined value.

また、パルス周期の測定に代えて、一定時間内あるいは
一定クランク角内のパルス数を検出しても良い。
Further, instead of measuring the pulse period, the number of pulses within a fixed time or within a fixed crank angle may be detected.

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

以上説明したように、本発明によれば、エンジン回転が
変動するか否かを見極めて異常判断するので、実害のな
い程度のセンサ不調時に異常と判定される不具合を解消
できるという効果がある。
As described above, according to the present invention, it is determined whether or not the engine rotation fluctuates and the abnormality is determined. Therefore, there is an effect that it is possible to solve the problem that the abnormality is determined when the sensor malfunctions without causing any actual damage.

また、本発明には次のような特有の効果、即ち、セン
サ異常を判断するための設定値を大きくするものに比べ
て異常検出を速やかに行い、センサ異常による始動困難
時に、その原因を確実に検出できるという効果、別の
センサを追加し、2つのセンサの信号の比較によって、
真の異常な状態を正確に判断することも考えられるが、
それに比べると、センサが1つで済み、構成が簡単とな
るという効果がある。
Further, the present invention has the following unique effect, that is, the abnormality detection is performed more quickly than the one in which the set value for determining the sensor abnormality is increased, and the cause of the abnormality can be confirmed when starting is difficult due to the sensor abnormality. By adding another sensor and comparing the signals of the two sensors,
Although it is possible to accurately judge the true abnormal state,
Compared with that, there is an effect that only one sensor is required and the configuration is simplified.

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

第1図は本発明の構成を説明するための全体ブロック
図、第2図は本発明に係るパルス出力型センサの異常検
出装置の一実施例を示す全体概略図、第3図は第2図の
エアフローセンサの空気流量に対する出力周波数特性を
示す線図、第4図は第2図のエアフローセンサのエンジ
ン始動時の出力信号をスタータモータ信号、クランク角
信号と共に示す波形図、第5図、第6図、第7図、第1
1図および第12図は第2図の制御回路の動作を説明す
るためのフローチャート、第8図はエアフローセンサ正
常時の各部位の出力波形をエンジンの始動時から時間と
共に示す波形図、第9図はエアフローセンサ異常時にお
ける第8図に相当する波形図、第10図はエアフローセ
ンサが異常状態から正常に復帰する時の各部位の波形を
時間と共に示す波形図である。 1……エンジン、2……吸気通路、 3……エアフローセンサ、 5……回転数検出センサ、10……制御回路、 U……カルマン渦。
FIG. 1 is an overall block diagram for explaining the configuration of the present invention, FIG. 2 is an overall schematic diagram showing an embodiment of an abnormality detecting device for a pulse output type sensor according to the present invention, and FIG. 3 is FIG. 2 is a diagram showing the output frequency characteristic of the air flow sensor with respect to the air flow rate, and FIG. 4 is a waveform diagram showing the output signal at the time of engine start of the air flow sensor of FIG. 2 together with the starter motor signal and the crank angle signal, FIG. 5, FIG. 6, FIG. 7, first
FIGS. 1 and 12 are flowcharts for explaining the operation of the control circuit of FIG. 2, FIG. 8 is a waveform diagram showing the output waveform of each portion when the air flow sensor is normal with time from the engine start, and FIG. FIG. 8 is a waveform diagram corresponding to FIG. 8 when the air flow sensor is abnormal, and FIG. 10 is a waveform diagram showing the waveform of each part when the air flow sensor returns from an abnormal state to normal with time. 1 ... Engine, 2 ... Intake passage, 3 ... Air flow sensor, 5 ... Rotation speed detection sensor, 10 ... Control circuit, U ... Karman vortex.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】エンジンの回転数に応じて変化する吸気量
の検出値をパルス列信号で出力するパルス出力型センサ
と、 エンジンが動作中であり、前記センサからのパルス信号
の周期が設定値以上あるいは周波数が所定値以下のと
き、センサが異常であると仮に検出する仮検出手段と、 センサの異常が仮検出された後、所定時間内にエンジン
回転数が所定変化率を越えて変動した時に真の異常信号
を発生する異常信号発生手段と、 を具えるパルス出力型センサの異常検出装置。
1. A pulse output type sensor that outputs a detected value of an intake air amount that changes according to the engine speed as a pulse train signal, and an engine is in operation, and the period of the pulse signal from the sensor is a set value or more. Alternatively, when the frequency is below a predetermined value, temporary detection means that temporarily detects that the sensor is abnormal, and when the engine speed fluctuates beyond the predetermined rate of change within a predetermined time after the sensor abnormality is temporarily detected. An abnormality detecting device for a pulse output type sensor, comprising: an abnormal signal generating means for generating a true abnormal signal.
JP61084060A 1985-08-10 1986-04-14 Abnormality detection device for pulse output type sensor Expired - Lifetime JPH0621803B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP61084060A JPH0621803B2 (en) 1986-04-14 1986-04-14 Abnormality detection device for pulse output type sensor
US07/183,520 US4836016A (en) 1985-08-10 1988-04-14 Method and apparatus for detecting abnormal state in pulse train generating sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61084060A JPH0621803B2 (en) 1986-04-14 1986-04-14 Abnormality detection device for pulse output type sensor

Publications (2)

Publication Number Publication Date
JPS62240816A JPS62240816A (en) 1987-10-21
JPH0621803B2 true JPH0621803B2 (en) 1994-03-23

Family

ID=13819950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61084060A Expired - Lifetime JPH0621803B2 (en) 1985-08-10 1986-04-14 Abnormality detection device for pulse output type sensor

Country Status (1)

Country Link
JP (1) JPH0621803B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4547167B2 (en) * 2004-03-01 2010-09-22 日立オートモティブシステムズ株式会社 Failure diagnosis method for frequency signal output type flow rate detection device and failure diagnosis device
JP4453839B2 (en) * 2006-01-19 2010-04-21 日立オートモティブシステムズ株式会社 Engine control device
JP4538852B2 (en) * 2006-03-27 2010-09-08 株式会社デンソー Vehicle control device
JP2010090900A (en) * 2009-11-30 2010-04-22 Hitachi Ltd Engine control device
JP5654514B2 (en) * 2012-03-29 2015-01-14 日立オートモティブシステムズ株式会社 Engine intake air volume measuring device
JP2014020210A (en) * 2012-07-12 2014-02-03 Hitachi Automotive Systems Ltd Suction air volume measuring device for engine
RU2660489C2 (en) * 2014-04-11 2018-07-06 Ниссан Мотор Ко., Лтд. Apparatus and method for controlling internal combustion engine
CN114184326A (en) * 2021-10-21 2022-03-15 东风电驱动***有限公司 Natural gas leakage sensor state identification method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58200111A (en) * 1982-05-17 1983-11-21 Japan Electronic Control Syst Co Ltd Abnormality detecting device for vortex flowmeter

Also Published As

Publication number Publication date
JPS62240816A (en) 1987-10-21

Similar Documents

Publication Publication Date Title
US4532594A (en) Multiple microcomputer system with comonitoring/back-up for an automotive vehicle
WO2001023212A1 (en) Improved device and method for warning of vehicle battery deterioration
JPS6123203A (en) Engine controller
US5738049A (en) Apparatus for detecting a malfunction in a radiator fan system
JPH0621803B2 (en) Abnormality detection device for pulse output type sensor
JPH1196044A (en) Device and method for detecting abnormality in abnormality monitoring circuit
EP1352370A1 (en) Method and device for in-use detecting low cranking strength of a combustion engine battery during engine starting
EP0273577A2 (en) Vehicle battery discharge indicator
JP2001115936A (en) Electric starter for internal combustion engine
US5659134A (en) Method for detecting abnormalities in a crank angle sensor and apparatus for detecting abnormalities in a crank angle sensor
JP2001098986A (en) Friction estimating device for engine, and fuel consumption diagnosic device for engine
JPS61104215A (en) Self-diagnosing apparatus of crank-angle sensor
JPH0436259B2 (en)
JPH07165055A (en) Motor failure judging device for antiskid controller
JPH066927B2 (en) Abnormality detection device for pulse output type sensor
JPS6238855A (en) Anomaly detecting device for pulse output type sensor
US6170323B1 (en) Self-diagnosis apparatus for vehicle meters and method starting a self-diagnosis mode for vehicle meters
JP2001323836A (en) Abnormality detection method for crank synchronous task
JPH11190247A (en) Engine fuel supply diagnostic device and method
KR100412881B1 (en) Method for engine speed signal self-diagnosis of ECU
US5394847A (en) Throttle valve control apparatus of vehicle
JPS5928048A (en) Self-diagnosis starting system in self diagnosing device for automobile engine control device
KR100820495B1 (en) Cold cracking method for hybrid electronic vehicle
JPH026017B2 (en)
JP2002345298A (en) Controller for on-vehicle generator