JPS61292709A - Signal storage device - Google Patents

Signal storage device

Info

Publication number
JPS61292709A
JPS61292709A JP60132955A JP13295585A JPS61292709A JP S61292709 A JPS61292709 A JP S61292709A JP 60132955 A JP60132955 A JP 60132955A JP 13295585 A JP13295585 A JP 13295585A JP S61292709 A JPS61292709 A JP S61292709A
Authority
JP
Japan
Prior art keywords
engine
time
data
write
circuit
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
JP60132955A
Other languages
Japanese (ja)
Other versions
JPH056687B2 (en
Inventor
Hiroshi Inoue
宏 井上
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP60132955A priority Critical patent/JPS61292709A/en
Publication of JPS61292709A publication Critical patent/JPS61292709A/en
Publication of JPH056687B2 publication Critical patent/JPH056687B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To secure the storage of the signal data for a fixed period until an abnormal state is detected by stopping the data writing action to a storage circuit when the change a working state which causes a system fault is detected and monitoring the change of the working state for a fixed period of time. CONSTITUTION:When the number N of revolutions of an engine exceeds the prescribed value N0, an operation is started to write the signal data obtained from the action signals of an engine control system to a storage circuit 32. This data writing action is stopped when the number N of revolutions is reduced less than the prescribed level N1. Then the signal data obtained by a time point preceding by a fixed period from the time point when said data writing is stopped is written to the circuit 32. The number N of revolutions N is monitored for a fixed period of time and the state where the data writing is stopped to the circuit 32 is released as long as the number N of revolutions is not reduced less than a prescribed number N2 of revolutions. Thus the data writing action is started again. While the stoppage of the engine is decided when the number N of revolutions is reduced less than N2. Thus the control processing is carried out for preservation of the data stored in the circuit 32.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は信号記憶装置に関し、特に車両等の各種制御シ
ステムの異常原因の診断に必要な信号を記憶し、この記
憶内容からシステムの異常原因を診断するようにした信
号記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a signal storage device, and in particular, it stores signals necessary for diagnosing the causes of abnormalities in various control systems of vehicles, etc., and determines the causes of system abnormalities from the stored contents. The present invention relates to a signal storage device for diagnosing.

(従来技術) 従来、車両用制御システムの動作状態を監視してシステ
ム異常を診断する方法としては主に次のものが知られて
いる。
(Prior Art) Conventionally, the following methods are mainly known as methods for monitoring the operating state of a vehicle control system and diagnosing system abnormality.

第1に、制御システムにおける異常判断に使用する動作
信号と、予め設定した異常判定のための基準値との偏差
を検出し、この偏差がある一定の大きざに達したときに
システム異常と判定して警報等を行なう方法、第2に、
制御システムを構成するセンサやアクチュエータ等をシ
ステムから切り離し、個別に診断用チェッカーを使用し
そ良否を判定する方法等である。
First, the deviation between the operating signal used for abnormality determination in the control system and a preset reference value for abnormality determination is detected, and when this deviation reaches a certain size, a system abnormality is determined. Second, a method of issuing a warning etc.
This is a method of separating the sensors, actuators, etc. that make up the control system from the system and using a diagnostic checker individually to determine whether or not they are defective.

しかし、第1の方法にあっては、システムが完全に異常
となった場合は良いが、故障に至らなくとも一時的もし
くは間欠的に異常に至る変化を起したような場合、この
異常状態を検知することができず、また最終的に故障に
至っても途中の状況はわからないために故障原因の究明
が困難で必った。一方、第2の方法にあっても、センサ
やアクチュエータ等の単体チェックであるため、システ
ム全体としての異常を捕えることができず、また一時的
または間欠的な故障も当然チェックできないという不具
合があった。
However, with the first method, it is fine if the system becomes completely abnormal, but if a change that does not lead to a failure occurs but temporarily or intermittently causes an abnormality, this abnormal state can be considered. It was difficult to determine the cause of the failure because it could not be detected, and even if it eventually occurred, the situation during the process was unknown. On the other hand, even with the second method, because it only checks individual sensors, actuators, etc., it is not possible to detect abnormalities in the entire system, and of course it is not possible to check for temporary or intermittent failures. Ta.

そこで、従来の故障診断方法の問題を解消し、実装状態
でのシステム故障、特に継続的な故障は勿論のこと間欠
的な故障や一時的な故障であっても故障に至るシステム
の動作状態の記録から故障原因を追及できるようにした
診断装置が考えられている(特願昭54−130846
号等)。
Therefore, we have solved the problems of conventional failure diagnosis methods, and we have developed a system that can detect system failures in the installed state, especially continuous failures, as well as intermittent failures and temporary failures. A diagnostic device is being considered that allows the cause of failure to be determined from records (Japanese Patent Application No. 130846/1986).
No. etc.).

第4図はこのような従来の診断装置の概略を示したもの
で、制御システムとしてセンサ1、制御回路2、アクチ
ュエータ3及びコネクタ4,5を備え、制御回路2の入
出力信号を信号線17.18によって記憶回路15に入
力し、書込制御回路16によって制御系統の信号を所定
のタイミングで時系列的に記憶回路に書込んで記憶させ
、後に記憶回路15の記憶内容を再生することでシステ
ム異常が起きたときの故障診断ができるようにしている
FIG. 4 schematically shows such a conventional diagnostic device, which includes a sensor 1, a control circuit 2, an actuator 3, and connectors 4 and 5 as a control system, and input/output signals of the control circuit 2 are connected to a signal line 17. .18 to the memory circuit 15, the write control circuit 16 writes and stores the control system signals in time series at a predetermined timing in the memory circuit, and later reproduces the memory contents of the memory circuit 15. This allows for fault diagnosis when a system abnormality occurs.

しかし、実際問題として記憶回路15の記憶容量には限
度があるため、第5図に示すようなタイマ21を備えた
回路を使用し、所定のタイミングでタイマ21を起動し
、タイマ21で定まる一定期間のデータのみを記憶する
・ようにしている。
However, as a practical matter, the memory capacity of the memory circuit 15 is limited, so a circuit equipped with a timer 21 as shown in FIG. I am trying to remember only the data for the period.

例えば、エンジン始動スイッチ20のオンでタイマ21
を起動し、T時間に亘って得られるタイマ出力をアンド
ケート23に与え、アンドゲート23から発娠器22に
よる書込クロック24を一定時間出力して記憶回路15
にデータを書込むようにしている。
For example, when the engine start switch 20 is turned on, the timer 21
The timer output obtained over T time is given to the AND gate 23, and the write clock 24 by the generator 22 is output for a certain period of time from the AND gate 23, and the memory circuit 15 is
I am trying to write data to .

しかし、このような信号記憶による診断装置におっても
次の問題があった。
However, even such a diagnostic device using signal storage has the following problems.

まず、制御システムの異常を正確に捕えるためには、制
御演算に使用している制御データのサンプリングインタ
ーバルより短いタイミングで記憶データを取込む必要が
あるが、通常、1ms以下の極めて高速のタイミングと
なるため、時系列データとして記憶させるには記憶容量
が膨大になる。
First, in order to accurately detect abnormalities in the control system, it is necessary to capture stored data at a timing shorter than the sampling interval of the control data used for control calculations, but normally, it is extremely fast timing of 1 ms or less. Therefore, storing it as time series data requires an enormous amount of storage capacity.

また、所定期間のみデータ記憶を行なっても、その期間
に異常が発生するとは限らず、結局故障診断のための記
憶データが常に得られるとは限らない。
Further, even if data is stored only for a predetermined period, an abnormality does not necessarily occur during that period, and stored data for fault diagnosis may not always be obtained after all.

更に、記憶容量の制約から記憶データのサンプリングレ
ートを押えて充分な期間データ記憶を行なったとしても
、故障診断に必要な異常データは記憶データの中のわず
かな部分にしか通常存在せず、再生データから異常デー
タを捜し出すのに手間がかかり、同時に異常データの記
憶量からみると、メモリ容量に大きな無駄が生じている
Furthermore, even if data is stored for a sufficient period of time by reducing the sampling rate of stored data due to storage capacity constraints, the abnormal data needed for fault diagnosis usually exists in only a small portion of the stored data, making it difficult to reproduce. Searching for abnormal data from data takes time, and at the same time, considering the amount of abnormal data stored, a large amount of memory capacity is wasted.

この問題を解決する方法しては、所定の記憶容量をもっ
た書換可能な記憶回路に順次データを入力することで、
記憶容量に達したときには最も古いデータから逐次最新
データに書換え、更に、システム異常が発生した時点で
データ書込みを停止させると共にデータを保持させるこ
とで異常発生時のデータ記憶ができるようにした方法が
考えられる。
The way to solve this problem is to input data sequentially into a rewritable memory circuit with a predetermined memory capacity.
When the storage capacity is reached, the oldest data is sequentially rewritten with the latest data, and when a system error occurs, data writing is stopped and the data is retained, so that data can be stored in the event of an error. Conceivable.

第6図はこのときの記憶回路のデータ書込状態を示した
もので、メモリの記憶可能エリアがMO0番地ら1vl
n番地であったとすると、矢印で示すように時系列デー
タが時刻toから順次記憶され、もし時刻t×の時点で
記憶停止がかかったとすると、そのとき保存されている
データは、時刻tx−ty期間のものとなり、データは
古い順にMX−1番地からMn番地及びMO0番地らM
X番地の順に記憶されている。
Figure 6 shows the data writing state of the memory circuit at this time, and the memorizable area of the memory is 1vl from address MO0.
If it is address n, time-series data is stored sequentially from time to as shown by the arrow, and if storage is stopped at time tx, the data stored at that time is stored at time tx-ty. The data is from address MX-1 to address Mn and from address MO0 to M
They are stored in the order of address X.

例えば書込停止をかける条件としてエンジン制御システ
ムのエンストを例にとると、−tm的にはINGスイッ
チがオンのままエンジン回転数Nが所定回転数No以下
に低下したときでおる。
For example, if we take the engine stall of the engine control system as a condition for stopping writing, -tm is when the engine speed N drops below the predetermined speed No while the ING switch is on.

即ち、第7図(A>に点線で示すように、エンジン回転
数Nが時間の経過とともに低下して所定の回転数NO以
下となり、最終的に、エンジン回転数Nが零となったと
きである。
That is, as shown by the dotted line in Fig. 7 (A>), the engine speed N decreases over time and becomes below the predetermined speed NO, and finally, when the engine speed N becomes zero. be.

(発明が解決しようとする問題点) しかし、場合によっては、第7図(A>に実線で示すよ
うに、−瞬の回転落ち込み後に復帰する場合も往々にし
である。
(Problems to be Solved by the Invention) However, in some cases, as shown by the solid line in FIG. 7 (A>), the rotation often returns after an instantaneous drop in rotation.

そこで、確実にエンストを判定するためには、エンジン
回転数を複数回サンプリングし、全てが所定回転数No
以下となったときエンストと判定する等、エンスト判定
に時間をかけることが考えられる。
Therefore, in order to reliably determine whether the engine has stalled, the engine speed should be sampled multiple times, and all of the engine speeds should be at the predetermined speed No.
It is conceivable to take time to determine engine stalling, such as determining engine stalling when the following conditions occur.

しかし、エンスト判定に時間をかけていると、その間に
も第6図に示したようにデータ書込が継続されているた
め、エンスト判定に要する時間をΔ王とすると、ΔT時
間分だけ無駄なデータ書込となり、このエンスト判定時
間へTを見込んだメモリ容量を必要とする。
However, if the engine stall determination takes time, data writing continues as shown in Figure 6, so if the time required to determine the engine stall is ΔO, then ΔT time is wasted. Data is written, and a memory capacity that takes T into account for this engine stall determination time is required.

また、第4図(B)(C)のように、エンジン回転数の
低下パターンは、車両の走行条件などに依存してさまざ
まな時間変化を生じ、エンスト判定時間ΔTも変る可能
性があり、エンスト時から常に故障原因に関連する一定
時間分のデータを確保することが困難であった。
In addition, as shown in FIGS. 4(B) and 4(C), the pattern of decrease in engine speed varies over time depending on the driving conditions of the vehicle, and the engine stall determination time ΔT may also change. It has been difficult to always secure data for a certain period of time related to the cause of failure after the engine stalls.

(問題点を解決するための手段) 本発明は、このような問題点に鑑みてなされたもので、
システム異常を検出したときに異常判定に時間がかかつ
ても記憶容量を増やすことな(、異常と判定されたとき
には常に異常状態に至るまでの一定期間の信号データの
記憶を確保して記憶内容から故障原因を容易に究明でき
るようにした信号記憶装置を提供することを目的とする
(Means for solving the problems) The present invention was made in view of the above problems, and
When a system abnormality is detected, do not increase the storage capacity even if it takes time to determine the abnormality. It is an object of the present invention to provide a signal storage device in which the cause of a failure can be easily investigated.

この目的を達成するため本発明に必っでは、システム異
常に陥る動作状態の変化を検出したらまず記憶回路への
データ書込を停止し、このデータ書込停止後に動作状態
の変化を一定時間監視し、システム異常に至らなかった
ときには、書込停止を解除して再びデータ書込を再開し
、一方、システム異常に至ったときには、書込停止時の
データをそのまま保持させるようにしたものである。
In order to achieve this purpose, the present invention must first stop writing data to the memory circuit when a change in the operating state that causes a system abnormality is detected, and then monitor the change in the operating state for a certain period of time after stopping the data writing. However, if a system error does not occur, the write stop is canceled and data writing is resumed, but if a system error occurs, the data at the time the write was stopped is retained as is. .

(実施例) 第1図は本発明の一実施例を示したブロック図であり、
制御システムとして車両用のエンジン制御システムを例
にとり、また制御システムの異常としてはエンストを例
にとるものとする。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention.
A vehicle engine control system will be taken as an example of a control system, and engine stall will be taken as an example of an abnormality in the control system.

まず構成を説明すると、1はエンジン制御システムに用
いられるセンサであり、例えば空気量センサ、クランク
角センサ、水温センサ、油圧センサ、負圧センサ等があ
る。2は制御回路であり、センサ1から得られた各種の
検出信号に基づいて、エンジンの最適燃焼条件を得るた
めの制御処理を行なう。3はアクチュエータであり、例
えばエンジン点火制御のための点火プラグ、燃料噴射用
のインジェクタ等で成る。更にセンサ1と制御回路2は
コネクタ4で接続され、また制御回路2とアクチュエー
タ3はコネクタ5で接続されている。
First, the configuration will be described. Reference numeral 1 indicates sensors used in the engine control system, such as an air amount sensor, a crank angle sensor, a water temperature sensor, an oil pressure sensor, and a negative pressure sensor. A control circuit 2 performs control processing to obtain optimal combustion conditions for the engine based on various detection signals obtained from the sensor 1. Reference numeral 3 denotes an actuator, which includes, for example, a spark plug for engine ignition control, an injector for fuel injection, and the like. Further, the sensor 1 and the control circuit 2 are connected through a connector 4, and the control circuit 2 and the actuator 3 are connected through a connector 5.

30はセンサ1、制御回路2及びアクチュエータ3で成
るエンジン制御システムからエンストの故障原因を究明
するための信号を信号線40,41により取入れた入力
インタフェースであり、信号・線40からはエンスト時
のエンジン状態のセンサ信号を取入れ、また信号線41
からはエンスト時の制御回路2の制御信号を取入れてい
る。
Reference numeral 30 denotes an input interface that receives signals from the engine control system consisting of a sensor 1, a control circuit 2, and an actuator 3 to investigate the cause of engine stall failure through signal lines 40 and 41; It takes in the sensor signal of the engine condition, and also the signal line 41
The control signal from the control circuit 2 at the time of engine stall is taken in from.

入力インタフェース30からの信号は信号線42を介し
て記憶制御回路31に与えられ、記憶制御回路回路31
による書込制御のちとに記憶回路32に時系列データと
して書込まれる。この記憶制御回路31は後の説明で明
らかにするマイクロコンピュータによる制御指令のもと
に記憶回路32に対する書込みの開始と停止を行なう。
The signal from the input interface 30 is given to the storage control circuit 31 via the signal line 42, and
After write control by , the data is written into the memory circuit 32 as time-series data. This storage control circuit 31 starts and stops writing to the storage circuit 32 based on control commands from a microcomputer, which will be explained later.

記憶回路32にはバックアップ用電源33が接続され、
イグニションスイッチをオフにしても記憶回路32の記
憶内容が保持できるようにしている。勿論、記憶回路3
2として不揮発性メモリを使用すれば、バックアップ用
電源33は不要である。
A backup power supply 33 is connected to the memory circuit 32,
The memory contents of the memory circuit 32 can be retained even when the ignition switch is turned off. Of course, memory circuit 3
If a non-volatile memory is used as the power source 2, the backup power source 33 is not required.

36は本発明による記憶回路32に対するデータ書込み
の停止と再開をプログラム制御により実行するCPUで
あり、制御プログラムを固定的に格納したROM37と
、制御処理に必要なデータを一時記憶するRAM3Bが
接続されている。
36 is a CPU that executes stopping and restarting data writing to the storage circuit 32 according to the present invention under program control, and is connected to a ROM 37 that permanently stores a control program and a RAM 3B that temporarily stores data necessary for control processing. ing.

このCPtJ36に対しては、エンジンの回転数Nを検
出する回転数処理回路34の出力が与えられ、また処理
回路35からイグニションスイッチのオン、オフを示す
信号が与えられている。回転数処理回路34に対しては
エンジン回転数に比例した数のパルス信号44が与えら
れ、このため回転数処理回路34はエンジン回転パルス
の周期に基づいてエンジン回転数Nを求め、CPU36
に与える。また処理回路35にはイグニションスイッチ
の出力側から分岐された信号線の信号45が入力されて
いる。
The CPtJ 36 is supplied with an output from a rotation speed processing circuit 34 that detects the engine rotation speed N, and is also supplied with a signal indicating whether the ignition switch is on or off from a processing circuit 35. The rotation speed processing circuit 34 is given a number of pulse signals 44 proportional to the engine rotation speed, so the rotation speed processing circuit 34 calculates the engine rotation speed N based on the cycle of the engine rotation pulses, and the CPU 36
give to Further, a signal 45 on a signal line branched from the output side of the ignition switch is input to the processing circuit 35.

CPU36によるエンストの原因を診断するためのセン
サ信号及び制御回路20の制御信号の書込制御は次の条
件に従って行なわれる。
Writing control of the sensor signal and the control signal of the control circuit 20 for diagnosing the cause of the engine stall by the CPU 36 is performed according to the following conditions.

書込みの継続; (a )イグニションスイッチがオンしていること(b
 )エンジン回転数Nが規定回転数N1以上であること 書込み停止: <a >イグニションスイッチがオンしていること(b
 )エンジン回転数が所定回転N1以下であること 書込みの再開; (a >イグニションスイッチがオンでおること(b 
)書込みが停止されていること (C)書込みを停止してから一定時間の間に所定回転数
N2 (N2<N1 )以下に落ち込まなかったこと 書込み停止後のエンスト判定によるデータ保持;(a 
>イグニションスイッチがオンしていること(b)&i
込み停止から一定時間の間に所定回転数N2以下に落ち
込んだこと 次に第1図の実施例による制御処理を第2図のフローチ
ャートを参照して説明する。尚、第2図において[A]
はエンスト判定による書込制御のメインフローを示し、
[81はエンジン回転パルスからエンジン回転数を演算
するためのフローを示す。
Continuation of writing; (a) Make sure the ignition switch is on (b)
) The engine speed N is equal to or higher than the specified speed N1 Writing stop: <a > The ignition switch is on (b
) Resume writing that the engine speed is below the predetermined speed N1; (a > The ignition switch is on (b)
) Writing has been stopped. (C) The number of rotations has not fallen below the predetermined number N2 (N2<N1) within a certain period of time after stopping writing. Data retention based on engine stall determination after stopping writing; (a
> Make sure the ignition switch is on (b) &i
The control process according to the embodiment of FIG. 1 will be explained with reference to the flowchart of FIG. 2. In addition, in Fig. 2, [A]
shows the main flow of write control based on engine stall determination,
[81 shows a flow for calculating the engine rotation speed from the engine rotation pulse.

まず制御システムの電源をオンすると、マイクロコンピ
ュータ36にイニシャルリセットがかけられ、第2図[
A]のメインフローが実行される。
First, when the power to the control system is turned on, an initial reset is applied to the microcomputer 36, and as shown in FIG.
A] main flow is executed.

勿論、エンジン制御システムにあってはシグニションス
イッチのオンで電源が入る。
Of course, the engine control system is turned on by turning on the ignition switch.

まずステップ(1)でシステムの初期化、定数の初期設
定等が行なわれ、次のステップ(2)でエンジン回転数
Nが所定値No以上か否かを判定する。
First, in step (1), the system is initialized, constants are initialized, etc., and in the next step (2), it is determined whether the engine rotation speed N is equal to or greater than a predetermined value No.

ここでエンジン回転数Nの検出は、例えば第2図[8]
のフローに示すような処理により求められる。即ち、第
1図の回転数処理回路34に対しては、エンジン回転パ
ルス44が入力していることから、このエンジン回転パ
ルス44の立上りでマイクロコンピュータ36に割込み
をかけ、第2図[8]のフローを実行する。
Here, the engine rotation speed N can be detected, for example, as shown in Fig. 2 [8].
It is determined by the process shown in the flow below. That is, since the engine rotation pulse 44 is input to the rotation speed processing circuit 34 in FIG. Execute the flow.

即ち、第3図のタイムチャートに示すように、エンジン
回転パルス44に対し、充分高速な所定周波数のクロッ
クパルスを使用し、このクロックパルスを計数している
カウンタをステップ(12)で停止させ、次のステップ
(13)でカウンタ停止時のカウント値を読込み、ステ
ップ(14)で読込んだカウント値をメモリの所定アド
レスに記憶する。更にステップ(15)でカウンタをリ
セットし、再び第2図[A]のメインフローにもどる。
That is, as shown in the time chart of FIG. 3, a sufficiently high-speed clock pulse of a predetermined frequency is used for the engine rotation pulse 44, and the counter that counts this clock pulse is stopped in step (12). In the next step (13), the count value when the counter is stopped is read, and in step (14), the read count value is stored at a predetermined address in the memory. Further, in step (15), the counter is reset, and the process returns to the main flow of FIG. 2 [A].

このような[8]に示すフローをエンジン回転パルスが
得られる毎に実行すれば、第3図に示すエンジン回転パ
ルスのパルス間隔T1.T2.・・・をその都度クロッ
クパルスの数として計数することができ、このパルス数
がエンジン回転数が逆数に比例した値となることから、
カウント値を記憶した時点でエンジン回転数Nに相当す
るデータが記憶されることになる。  ・ 再び第2図[A]のメインフローを参照するに、ステッ
プ(2)でエンジン回転数Nが所定値N。
If the flow shown in [8] is executed every time an engine rotation pulse is obtained, the pulse interval T1. of the engine rotation pulse shown in FIG. T2. ... can be counted as the number of clock pulses each time, and since this number of pulses is a value proportional to the reciprocal of the engine rotation speed,
At the time the count value is stored, data corresponding to the engine rotation speed N is stored. - Referring again to the main flow in FIG. 2 [A], in step (2), the engine speed N is the predetermined value N.

以下であればステップ(3)に進み、イグニションスイ
ッチのオン、オフを判定する。イグニションスイッチが
オンしていれば再びステップ(2)(もどり、この時は
エンジン始動直後の回転が上がる前の状態にあることか
ら、ステップ(2)。
If it is below, proceed to step (3) and determine whether the ignition switch is on or off. If the ignition switch is on, return to step (2) again; at this time, the engine is in a state immediately after starting and before the rotation has increased, so step (2) is performed.

(3)の処理を繰返してエンジン回転数Nが所定値N0
以上になるまで待つ。
Repeat the process in (3) until the engine speed N reaches the predetermined value N0.
Wait until it reaches above.

一方、ステップ(3)でイグニションスイッチがオフで
あれば、例えばイグニションスイッチをオンしてもクラ
ンキングのみでエンジンが停止したものとみなし、制御
を停止させる。
On the other hand, if the ignition switch is off in step (3), it is assumed that the engine has stopped due to cranking only even if the ignition switch is turned on, and control is stopped.

次にステップ(2)でエンジン回転数NがN。Next, in step (2), the engine speed N is set to N.

以上となった場合にはステップ(4)に進み、エンジン
制御システムの動作信号より得られた信号データの記憶
回路32への書込みを開始させる。
In the above case, the process proceeds to step (4), and writing of signal data obtained from the operation signal of the engine control system to the storage circuit 32 is started.

続いて、ステップ(5)に進み、エンスト発生チェック
のための判別処理を行なう。その間、第2図[B]のエ
ンジン回転数Nを算出するフローはエンジン回転パルス
が得られる毎に繰返されており、ステップ(5)ではエ
ンジン回転パルスが得られる毎に算出されたエンジン回
転数Nと所定の回転数N1を比較し、エンジン回転数N
が所定回転数N1以上であれば、エンジンは正常に回転
しているものとしてステップ(4)のデータ書込みを継
続している。
Next, the process proceeds to step (5), where a determination process is performed to check for the occurrence of an engine stall. Meanwhile, the flow for calculating the engine rotation speed N shown in FIG. 2 [B] is repeated every time an engine rotation pulse is obtained, and in step (5), the engine rotation speed calculated every time an engine rotation pulse is obtained. Compare N with a predetermined rotational speed N1, and determine the engine rotational speed N
If the rotation speed is equal to or higher than the predetermined rotation speed N1, it is assumed that the engine is rotating normally and data writing in step (4) is continued.

一方、エンジン回転数N1が所定回転数N1以下に下が
ると、ステップ(6)に進み、データ書込みを停止させ
る。従って、記憶回路32にはデータ書込みを停止した
時から一定期間前までの信号データが書込まれた状態に
おる。
On the other hand, when the engine speed N1 falls below the predetermined speed N1, the process proceeds to step (6) and data writing is stopped. Therefore, the memory circuit 32 is in a state in which signal data from the time when data writing was stopped until a certain period of time ago has been written.

次にステップ(7)で再びイグニションスイッチのオン
、オフを判定する。ここでイグニションスイッチがオフ
となっていた場合には、エンストではなく単にイグニシ
ョンスイッチを切ってエンジンを停止させたノーマルな
状態なので、書込み停止を保持したまま処理を終了する
Next, in step (7), it is again determined whether the ignition switch is on or off. If the ignition switch is off at this point, the engine is not stalled, but the ignition switch is simply turned off to stop the engine, which is the normal state, so the process ends with the write stopped.

一方、イグニションスイッチがオンしていた場合には、
エンストの可能性があることからステップ(8)に進み
、更に一定時間の間エンジン回転数Nの経過を監視する
。例えば、一定時間の間に第2図[B]のフローで算出
されるエンジン回転数Nを所定回数連続してチェックし
、その平均値Nを求め、次のステップ(9)で平均値N
からエンストか否かを判定する。
On the other hand, if the ignition switch is on,
Since there is a possibility that the engine stalls, the process proceeds to step (8), and the progress of the engine rotational speed N is further monitored for a certain period of time. For example, during a certain period of time, the engine speed N calculated by the flow shown in FIG.
It is determined whether the engine is stalled or not.

ステップ(9)で平均値&が所定回転数N2(但し、N
2<N1>以下であるか否かを監視しており、所定回転
数N2以下に下がらなければ第7図[A]に実線で示し
たように一時的なエンジン回転の落込みであるため、エ
ンストを対象としたデータ記録の必要はないことから、
ステップ(10)に進み、ステップ(6)で停止した記
憶回路32へのデータ書込みの停止を解除し、再びステ
ップ(4)にもどり、データ書込みを再開させる。
In step (9), the average value & is the predetermined rotation speed N2 (however, N
2<N1> or less, and if the engine speed does not fall below the predetermined number N2, it is a temporary drop in engine speed as shown by the solid line in FIG. 7 [A]. Since there is no need to record data for engine stalls,
Proceeding to step (10), the stoppage of data writing to the memory circuit 32 stopped in step (6) is canceled, and the process returns to step (4) again to restart data writing.

一方、ステップ(9)で平均値Nが所定回転N2以下に
落ち込んだ時には、確実にエンストであることからステ
ップ(11)に進み、ステップ(6)で書込みが停止さ
れて、その時記憶回路32に残されているデータを保存
するための制御処理を行ない、一連の処理を終了する。
On the other hand, when the average value N falls below the predetermined rotation speed N2 in step (9), it is certain that the engine has stalled, so the process proceeds to step (11), and the writing is stopped in step (6). Control processing is performed to save the remaining data, and the series of processing ends.

このようにエンストの箭段瑛象として瑛われるエンジン
回転数の低下が発生した時点で、直ちに記憶回路に対す
るデータ書込みを停止し、データ書込み停止の時点から
エンジン回転数の経過を監視し、確実にエンストに至っ
た場合にのみ、書込み停止状態で残っている記憶データ
の保持を行なうため、記憶回路には確実にエンストの原
因となる一定期間の間の信号データの記憶が確保される
こととなり、エンスト後に記憶回路の記憶データを再生
することでエンストの故障原因を確実且つすみやかに知
ることができる。
As soon as the engine speed decreases, which is a symptom of engine stalling, data writing to the memory circuit is immediately stopped, and the progress of the engine speed is monitored from the time data writing is stopped to ensure that Only when the engine stalls, the remaining memory data in the writing stopped state is retained, so the memory circuit is sure to store the signal data for a certain period of time that causes the engine stall. By reproducing the data stored in the memory circuit after the engine stalls, the cause of the engine stall failure can be known reliably and quickly.

尚、上記の実施例はエンジン制御システムを例にとるも
のであったが、本発明はこれに限定されず、故障診断の
ためのデータ記憶を必要とする自動空調システム、オー
トマチックトランスミッションの制御システム、アンチ
スキッド制御システム等の適宜の車両用制御システムに
つき、そのまま適用することができる。
Although the above-mentioned embodiment takes an engine control system as an example, the present invention is not limited thereto, and can be applied to an automatic air conditioning system, an automatic transmission control system, which requires data storage for failure diagnosis, The present invention can be applied as is to any appropriate vehicle control system such as an anti-skid control system.

(発明の効果) 以上、説明してきたように本発明によれば、システム異
常に至る動作状態の変化を検出したら、まず記憶回路の
データ書込みを停止し、このデータ書込み停止後に動作
状態の変化を一定時間監視し、システム異常に至らなか
った時には書込み停止を解除して再びデータ書込みを再
開し、一方、システム異常に至った時には書込み停止時
のデータをそのまま保持させるようにしたため、異常現
象が検出されてから最終的に異常状態と判断されるまで
に判断時間を必要としても、最初の異常判定時にデータ
書込みが停止されていることから、異常判定時間の間の
無駄なデータ書込みが行なわれず、また異常判定期間に
対応したメモリ容量も確保する必要がなく、常に故障原
因につながる一定期間の信号データを効率良く確実に記
憶することができ、記憶データの再生による迅速且つ確
実な故障原因の究明が可能となる。
(Effects of the Invention) As described above, according to the present invention, when a change in the operating state leading to a system abnormality is detected, data writing to the memory circuit is first stopped, and after this data writing is stopped, the change in the operating state is detected. Abnormal phenomena are detected by monitoring for a certain period of time, and when a system error does not occur, the write stop is canceled and data writing is restarted, and when a system error occurs, the data at the time of writing stop is retained as is. Even if it takes a long time to determine whether an abnormality is detected, data writing is stopped at the time of the first abnormality determination, so data is not written in vain during the abnormality determination time. In addition, there is no need to secure memory capacity corresponding to the abnormality determination period, and signal data for a certain period that always leads to the cause of failure can be efficiently and reliably stored, allowing for quick and reliable investigation of the cause of failure by reproducing the stored data. becomes possible.

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

第1図は本発明の一実施例を示したブロック図、第2図
は第1図の実施例による信号の記憶制御処理を示したフ
ローチャート、第3図はエンジン回転数の算出に用いる
エンジン回転パルスと計数用クロックパルスを示したタ
イムチャート、第4゜5図は従来例を示したブロック図
、第6図は従来の時系列的な信号記憶を示した説明図、
第7図はエンスト時のエンジン回転数の時間変化を示し
たタイムチャートである。 1:センサ 2:制御回路 3:アクチュエータ 4.5:コネクタ 30:入力インタフェース 31:記憶制御回路 32二記憶回路 33:バックアップ用電源 34:回転数処理回路 35:処理回路 36:CPU 37:ROM 38:RAM
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a flowchart showing signal storage control processing according to the embodiment of Fig. 1, and Fig. 3 is an engine rotation used to calculate the engine rotation speed. A time chart showing pulses and counting clock pulses, Fig. 4-5 is a block diagram showing a conventional example, Fig. 6 is an explanatory diagram showing conventional time-series signal storage,
FIG. 7 is a time chart showing changes over time in the engine speed when the engine stalls. 1: Sensor 2: Control circuit 3: Actuator 4.5: Connector 30: Input interface 31: Memory control circuit 32 2 Memory circuit 33: Backup power supply 34: Rotation speed processing circuit 35: Processing circuit 36: CPU 37: ROM 38 :RAM

Claims (1)

【特許請求の範囲】 システムの異常原因の診断に必要な信号を所定の記憶容
量をもった記憶回路に時系列的に記録する信号記憶装置
に於いて、 システム動作状態を監視し、システム異常に陥る制御状
態の変化を検出したとき前記記憶回路へのデータ書込み
を停止させる書込停止手段と、該書込停止後の動作状態
の変化を一定時間監視しシステム異常に至らなかったと
きは前記書込停止を解除して書込を再開させる書込再開
手段と、前記書込停止後の一定監視時間内に制御異常に
至ったときは書込停止時のデータを保持させる記憶保持
手段とを設けたことを特徴とする信号記憶装置。
[Claims] A signal storage device that records signals necessary for diagnosing the cause of a system abnormality in a time-series manner in a storage circuit with a predetermined storage capacity, which monitors the operating state of the system and detects system abnormalities. A write stop means that stops writing data to the memory circuit when a change in the falling control state is detected, and a write stop means that monitors a change in the operating state after the stop of the write for a certain period of time, and stops the write when a system abnormality does not occur. A write restart means cancels the write stop and restarts the write, and a memory retention means holds the data at the time the write was stopped when a control abnormality occurs within a certain monitoring time after the write stop. A signal storage device characterized by:
JP60132955A 1985-06-20 1985-06-20 Signal storage device Granted JPS61292709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60132955A JPS61292709A (en) 1985-06-20 1985-06-20 Signal storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60132955A JPS61292709A (en) 1985-06-20 1985-06-20 Signal storage device

Publications (2)

Publication Number Publication Date
JPS61292709A true JPS61292709A (en) 1986-12-23
JPH056687B2 JPH056687B2 (en) 1993-01-27

Family

ID=15093402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60132955A Granted JPS61292709A (en) 1985-06-20 1985-06-20 Signal storage device

Country Status (1)

Country Link
JP (1) JPS61292709A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5696676A (en) * 1993-02-18 1997-12-09 Nippondenso Co., Ltd. Self-diagnosis apparatus for vehicles
JP2015151936A (en) * 2014-02-14 2015-08-24 株式会社デンソー vehicle information recording device and program
JP2015151937A (en) * 2014-02-14 2015-08-24 株式会社デンソー Vehicle information recorder, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5696676A (en) * 1993-02-18 1997-12-09 Nippondenso Co., Ltd. Self-diagnosis apparatus for vehicles
JP2015151936A (en) * 2014-02-14 2015-08-24 株式会社デンソー vehicle information recording device and program
JP2015151937A (en) * 2014-02-14 2015-08-24 株式会社デンソー Vehicle information recorder, and program
US10055910B2 (en) 2014-02-14 2018-08-21 Denso Corporation Vehicle information recording device, program therefor, vehicle information recording method, and non-transitory computer-readable storage medium

Also Published As

Publication number Publication date
JPH056687B2 (en) 1993-01-27

Similar Documents

Publication Publication Date Title
JP4065790B2 (en) In-vehicle electronic control unit
EP1569174B1 (en) Data recording apparatus and data recording method
US8527137B2 (en) Vehicle behavior data recording control system and recording apparatus
US4618954A (en) Method of detecting abnormality in input and output units
US6076172A (en) Monitoting system for electronic control unit
JP2006291730A (en) Diagnosis device for vehicle
JP4042466B2 (en) Memory diagnostic device and control device
CN116194748A (en) GPF pressure diagnosis control method, device and storage medium
JPS61292709A (en) Signal storage device
JPS6060022B2 (en) Internal combustion engine control device
US6092019A (en) Method of judging monitoring condition for diagnosis of engine
JP4403959B2 (en) Vehicle fault diagnosis device
JP4194748B2 (en) Arithmetic control unit
JP2004044407A (en) Troubleshooting control device for vehicle
JP3846398B2 (en) Vehicle control device
DE19728687A1 (en) Idling control method and system for motor vehicle IC engine
JP2751755B2 (en) Abnormality detection device for vehicle speed detection means
JPS5928048A (en) Self-diagnosis starting system in self diagnosing device for automobile engine control device
JP4251007B2 (en) Fault diagnosis control device for vehicle
JPH05171998A (en) Failure diagnosing system for vehicle
JPH06100145B2 (en) Engine state estimation device
JP2004156590A (en) Vehicle control system
JP2694609B2 (en) Electric power steering device
US6732029B2 (en) Verification engine controller software
JPH0571963B2 (en)