JP2002106411A - Vehicular data storage device - Google Patents

Vehicular data storage device

Info

Publication number
JP2002106411A
JP2002106411A JP2000298521A JP2000298521A JP2002106411A JP 2002106411 A JP2002106411 A JP 2002106411A JP 2000298521 A JP2000298521 A JP 2000298521A JP 2000298521 A JP2000298521 A JP 2000298521A JP 2002106411 A JP2002106411 A JP 2002106411A
Authority
JP
Japan
Prior art keywords
memory
stored
data
event
vehicle
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.)
Pending
Application number
JP2000298521A
Other languages
Japanese (ja)
Inventor
Nagahisa Fujita
永久 藤田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mazda Motor Corp
Original Assignee
Mazda Motor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mazda Motor Corp filed Critical Mazda Motor Corp
Priority to JP2000298521A priority Critical patent/JP2002106411A/en
Publication of JP2002106411A publication Critical patent/JP2002106411A/en
Pending legal-status Critical Current

Links

Landscapes

  • Combined Controls Of Internal Combustion Engines (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To cope with occurrences of plural times of events for analyzing the cause of the occurrence of the event such as a failure on the basis of the stored detection value of a sensor. SOLUTION: The device has a first control unit U1 for performing a fault diagnosis by controlling the engine and a second control unit U2 for controlling a data storage control. When an IG switch is turned on, the detection values of the sensor on the engine rotating speed, the vehicle speed, etc., are, together with a failure code, addressed onto both of the memories M1, M2, then updated and stored. In case a fault detection related event such as lighting of a warning lamp occurs, writing onto the first memory is prohibited. Afterward, the detection value of the sensor is addressed onto the second memory M2, then updated and stored. Furthermore, writing onto the second memory M2 is prohibited when a next event occurs. Only a part of the detection value of the sensor associated with the first fault occurrence can be made to be updated and stored on the second memory M2. The detection value of the sensor can be updated and stored after being thinned out in accordance with the processing burden of the writing control part 21 to control updating and storing onto memories M1, M2.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は車両用データ記憶装
置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle data storage device.

【0002】[0002]

【従来の技術】車両には、エンジン、自動変速機、エア
バッグ、エアコン等の数多くの装置が搭載されている。
これらの装置に故障や異常という事象が生じたとき、あ
るいはエアバッグが作動したというような事象が生じた
とき、これらの事象発生の原因を容易に解析できるよう
にすることが望まれる。特開平11−65647号公報
には、故障履歴を車外に取り出しできるPCカードに記
憶させるものが開示されている。特開平8−12123
8号公報には、所定周期毎に、エンジン回転数のピーク
ホールド値をメモリに記憶させておくことが開示されて
いる。特開平9−183360号公報には、車両加速度
を常時RAMに記憶させておき、エアバッグ作動時に
は、その前後の車両加速度をメモリに記憶した状態で、
その後のメモリへの書き込みを禁止したものが開示され
ている。
2. Description of the Related Art A vehicle is equipped with many devices such as an engine, an automatic transmission, an airbag, and an air conditioner.
When an event such as a failure or abnormality occurs in these devices, or when an event such as activation of an airbag occurs, it is desired that the cause of the occurrence of these events can be easily analyzed. Japanese Patent Application Laid-Open No. H11-65647 discloses a system in which a failure history is stored in a PC card that can be taken out of a vehicle. JP-A-8-12123
Japanese Patent Publication No. 8 discloses that a peak hold value of the engine speed is stored in a memory at predetermined intervals. In Japanese Patent Application Laid-Open No. 9-183360, the vehicle acceleration is always stored in a RAM, and when the airbag is activated, the vehicle acceleration before and after that is stored in the memory.
There is disclosed one in which writing to a memory thereafter is prohibited.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、事象発
生時に、センサ検出値を更新記憶しているメモリの書込
を禁止するものにあっては、その後の事象発生には対応
できないものとなる。すなわち、故障や車両事故の内容
によっては、1回目の事象発生の後に引き続き2回目の
事象発生が起こり、この両方の事象発生同士の間で相当
の因果関係を有する場合も考えられる。
However, if the writing of the memory storing and updating the sensor detection value is prohibited at the time of occurrence of the event, the subsequent event cannot be handled. That is, depending on the content of the failure or the vehicle accident, a second event occurrence may occur after the first event occurrence, and there may be a considerable causal relationship between the two event occurrences.

【0004】本発明は以上のような事情を勘案してなさ
れたもので、その目的は、事象発生が複数回生じてもそ
の原因を解析できるようにした車両用データ記憶装置を
提供することにある。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a vehicle data storage device capable of analyzing the cause even if an event occurs a plurality of times. is there.

【0005】[0005]

【課題を解決するための手段】前記目的を達成するた
め、本発明にあっては、基本的に、少なくとも2つのメ
モリを利用して、事象発生毎にセンサ検出値を記憶させ
ておくことができるようにしてある。
In order to achieve the above object, according to the present invention, basically, at least two memories are used to store a sensor detection value every time an event occurs. I can do it.

【0006】具体的には、本発明にあっては次のような
解決手法を採択してある。すなわち、特許請求の範囲に
おける請求項1に記載のように、センサ検出値をメモリ
のアドレス指定した領域に常時更新記憶させておき、あ
らかじめ設定された事象の発生時またはその後に該メモ
リへの書き込みを禁止する記憶制御手段を備えた車両用
データ記憶装置であって、前記メモリとして、少なくと
も第1メモリと第2メモリとの2つのメモリが設けら
れ、前記記憶制御手段は、前記事象の未発生時には前記
第1メモリと第2メモリとの両方メモリに対してアドレ
ス指定した上で前記センサ検出値を更新記憶させ、1回
目の前記事象発生時には前記第1メモリへの書込を禁止
させてその後のセンサ検出値を第2メモリにのみアドレ
ス指定した上で更新記憶させ、2回目の事象発生時には
前記第2メモリへの書込をも禁止する、ようにしてあ
る。
Specifically, the present invention adopts the following solution. That is, as described in claim 1 of the claims, the sensor detection value is constantly updated and stored in an address designated area of the memory, and is written to the memory when a preset event occurs or after that. A vehicle data storage device provided with storage control means for prohibiting the occurrence of an event, wherein at least two memories, a first memory and a second memory, are provided as the memories, and the storage control means When an event occurs, the sensor detection value is updated and stored after addressing both the first memory and the second memory, and when the first event occurs, writing to the first memory is inhibited. Then, the subsequent sensor detection value is updated and stored after addressing only the second memory, and when the second event occurs, the writing to the second memory is also prohibited. And Aru.

【0007】また、本発明にあっては次のような解決手
法を採択してある。すなわち、特許請求の範囲における
請求項2に記載のように、あらかじめ設定された事象発
生時にセンサ検出値をメモリのアドレス指定した領域に
記憶させる記憶制御手段を備えた車両用データ記憶装置
であって、前記メモリとして、少なくとも第1メモリと
第2メモリとの2つのメモリが設けられ、前記記憶制御
手段は、前記事象の未発生時には前記第1メモリにのみ
前記センサ検出値をアドレス指定した上で更新記憶さ
せ、1回目の前記事象発生時に前記第1メモリへの書込
を禁止すると共に、その後のセンサ検出値を1回目に発
生された前記事象に応じて選択して前記第2メモリにア
ドレス指定した上で記憶させ、2回目の事象発生時には
前記第2メモリの書込をも禁止する、ようにしてある。
In the present invention, the following solution is adopted. That is, as described in claim 2 of the claims, a vehicular data storage device provided with a storage control means for storing a sensor detection value in an address designated area of a memory when a preset event occurs. At least two memories, a first memory and a second memory, are provided as the memories, and the storage control means addresses the sensor detection value only in the first memory when the event does not occur. To update and store at the time of the first occurrence of the event, prohibit writing to the first memory, and select a subsequent sensor detection value according to the first occurrence of the event. The address is stored in the memory after the address is specified, and when the second event occurs, the writing to the second memory is also prohibited.

【0008】前記各解決手法を前提とした好ましい態様
は、特許請求の範囲における請求項3以下に記載のとお
りである。
[0008] Preferred embodiments based on the above-mentioned respective solutions are as described in claim 3 and the following claims.

【0009】[0009]

【発明の効果】請求項1に記載された発明によれば、事
象発生毎にセンサ検出値が別々のメモリに記憶されてい
るので、個々の事象発生の原因はもとより、複数の事象
発生の間での因果関係をも含めた解析を行うことが可能
となる。
According to the first aspect of the present invention, since the sensor detection value is stored in a separate memory for each event occurrence, not only the cause of each event occurrence but also a plurality of event occurrences It is possible to perform analysis including the causal relationship in the above.

【0010】請求項2に記載された発明によれば、事象
発生毎にセンサ検出値が別々のメモリに記憶されている
ので、個々の事象発生の原因はもとより、複数の発生事
象同士の間での因果関係をも含めた解析を行うことが可
能となる。また、1回目の事象発生後の更新記憶は、1
回目に発生された事象に対応したセンサ検出値を選択し
て行われるので、事象発生の原因解析をより容易に行う
ことが可能となる。
According to the second aspect of the present invention, since the sensor detection value is stored in a separate memory for each event occurrence, not only the cause of each event occurrence but also the plurality of occurrence events It is possible to perform an analysis including the causal relationship of Also, the update storage after the first event occurrence is 1
Since the detection is performed by selecting the sensor detection value corresponding to the event that has occurred at the time of the event, the cause analysis of the event occurrence can be more easily performed.

【0011】請求項3、請求項4、請求項5に記載され
た発明によれば、更新記憶の負担を極力小さくする上で
好ましいものとなる。
According to the third, fourth, and fifth aspects of the present invention, it is preferable to minimize the load of the update storage.

【0012】請求項6に記載された発明によれば、デー
タの読出し部位を1カ所のみに設定することが可能とな
る。
According to the invention described in claim 6, it is possible to set only one data reading portion.

【0013】[0013]

【発明の実施の形態】図1の制御系統図において、U1
はエンジン用となる第1制御ユニットであり、U2はデ
ータ記憶制御用となる第2制御ユニットであり、U3は
ナビゲーション用の第3制御ユニットである。第1制御
ユニットU1は、各種入力信号に応じてエンジンの運転
を制御するもので、この制御ユニットU1からは、エン
ジンに関連した各種センサからの検出値が第2制御ユニ
ットU2に出力される。このセンサ検出値としては、例
えばエンジン回転数、スロットル開度、車速、冷却水温
度、ブレーキスイッチのON、OFF状態が含まれる。
また、第1制御ユニットU1は、なんらかの故障が発生
してワーニングランプが点灯したときに、その故障内容
を示す故障コード信号を第2制御ユニットU2に送信す
る。なお、実施形態では、上記ワーニングランプ点灯
が、あらかじめ設定された所定の事象発生時としてあ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the control system diagram of FIG.
Is a first control unit for the engine, U2 is a second control unit for data storage control, and U3 is a third control unit for navigation. The first control unit U1 controls the operation of the engine according to various input signals, and the control unit U1 outputs detection values from various sensors related to the engine to the second control unit U2. The sensor detection value includes, for example, the engine speed, the throttle opening, the vehicle speed, the coolant temperature, and the ON / OFF state of the brake switch.
Further, the first control unit U1 transmits a failure code signal indicating the content of the failure to the second control unit U2 when any failure occurs and the warning lamp is turned on. In the embodiment, the warning lamp is turned on when a predetermined event occurs.

【0014】第3制御ユニットU3は、既知のように、
GPSセンサを利用して得られた現在位置をCDやDV
D等に記憶されている道路地図情報に照合して、道路地
図上での車両の現在位置を特定する。そして、表示画面
において、道路地図と車両の現在位置とを表示する。ま
た、第3制御ユニットU3は、携帯電話等の無線通信手
段1を利用して、図2に示すように、インターネット等
を介して車外情報を発信する情報センタ2との通信を行
なう。通信により得られた車外情報は、第2制御ユニッ
トU2に入力される。なお、図2において、図1に示す
制御系統を有する車両が符号Vで示される。
The third control unit U3 is, as known,
The current position obtained by using the GPS sensor is recorded on CD or DV
The current position of the vehicle on the road map is specified by collating with the road map information stored in D or the like. Then, on the display screen, the road map and the current position of the vehicle are displayed. Further, the third control unit U3 uses the wireless communication means 1 such as a mobile phone to communicate with the information center 2 that transmits outside-vehicle information via the Internet or the like as shown in FIG. The information outside the vehicle obtained by the communication is input to the second control unit U2. In FIG. 2, a vehicle having the control system shown in FIG.

【0015】上記車外情報としては、車両の故障や事故
等に影響を与えるものが選択され、例えば、気象情報
(晴れ、曇り、雨、雪等の天気、気圧、風速、湿度、気
温、雨量、積雪量等)、交通情報(交通規制、渋滞情報
等)、車両の現在位置付近での事象発生事例、災害情報
等がある。この車外情報は、実施形態では、事象発生の
原因をより容易かつ精度よく行うために、センサ検出値
と共に更新記憶させるようにしてある。
As the outside-of-vehicle information, information which affects the breakdown of a vehicle or an accident is selected. Snowfall, etc.), traffic information (traffic regulation, traffic congestion information, etc.), event occurrence cases near the current position of the vehicle, disaster information, etc. In the embodiment, the outside-of-vehicle information is updated and stored together with the sensor detection value in order to easily and accurately determine the cause of the occurrence of the event.

【0016】第2制御ユニットU2は、全体の制御をつ
かさどるCPU11を有する。このCPU11には、前
述のエンジン回転数等の各種センサ検出値等のデータ値
が入力I/F12を介して入力され、故障コード信号が
誤動作/故障内容検出部13を介して入力され、車外情
報が通信部14を介して入力される。また、CPU11
には、マニュアル操作される操作スイッチ群15からの
指令信号が、操作スイッチ処理部16を介して入力され
る。この操作スイッチ群15には、第2制御ユニットU
2のON、OFFを行うメインスイッチの他、後述する
ように記憶されたセンサ検出値や車外情報を車外に転送
させる指令を行うするスイッチ等が含まれる。
The second control unit U2 has a CPU 11 that controls the entire system. The CPU 11 receives data values such as the detected values of various sensors such as the engine speed via an input I / F 12, receives a failure code signal via a malfunction / failure detection unit 13, and outputs information outside the vehicle. Is input via the communication unit 14. The CPU 11
, A command signal from the operation switch group 15 that is manually operated is input via the operation switch processing unit 16. The operation switch group 15 includes a second control unit U
In addition to a main switch for turning ON and OFF the switch 2, a switch for issuing a command to transfer stored sensor detection values and information outside the vehicle to the outside of the vehicle as described later is included.

【0017】メモリM1、M2からのデータ転送つまり
記憶データの外部への読出しは転送部17を介して行わ
れるが、この転送は第2メモリM2のみから行われるよ
うに設定されている。すなわち、第1メモリM1の記憶
データの転送つまり読出しは、第1メモリM1の記憶デ
ータを一旦第2メモリM2にコピーされた後、第2メモ
リM2を介して行うようにされている。
Data transfer from the memories M1 and M2, that is, readout of stored data to the outside is performed via the transfer unit 17, but this transfer is set to be performed only from the second memory M2. That is, the transfer or reading of the storage data of the first memory M1 is performed via the second memory M2 after the storage data of the first memory M1 is temporarily copied to the second memory M2.

【0018】第2制御ユニットU2は、さらに、データ
書込用の制御部21を有する。この制御部21は、CP
U22とDPRAM(デュアルポートRAM)23とを
有する。このような制御部21は、SRAMからなる第
1メモリM1と不揮発性メモリとしてのフラッシュメモ
リからなる第2メモリM2への書込の制御を行う。すな
わち、CPU22は、CPU11からのデータ書込信号
を受けるようになっていて、DPRAM23を介して、
第1メモリM1あるいは第2メモリM2に対して前述し
たセンサ検出値や車外情報の書込を制御する。また、両
メモリM1、M2に記憶されているデータは、DPRA
M23を介して、前記転送部17から車外へ転送可能と
されており、この記憶データの転送はスイッチ群15に
含まれる転送指令スイッチの操作に対応して行われる。
The second control unit U2 further has a control unit 21 for writing data. This control unit 21
U22 and DPRAM (dual port RAM) 23. The control unit 21 controls writing to the first memory M1 including an SRAM and the second memory M2 including a flash memory as a nonvolatile memory. That is, the CPU 22 receives a data write signal from the CPU 11, and
The writing of the above-described sensor detection value and the information outside the vehicle to the first memory M1 or the second memory M2 is controlled. The data stored in the memories M1 and M2 is DPRA
The data can be transferred from the transfer unit 17 to the outside of the vehicle via M23. The transfer of the stored data is performed in response to the operation of the transfer command switch included in the switch group 15.

【0019】次に、メモリM1、M2へのデータ書込に
関連した第1制御ユニットU1と第2制御ユニットU2
の制御内容について、図3〜図13のフローチャートを
参照しつつ説明する。実施形態では、第1制御ユニット
U1により制御される装置(実施形態ではエンジン)に
ついて故障や異常が発生したときにワーニングランプが
点灯され、少なくともワーニングランプが点灯されたと
きにあらかじめ設定された所定の事象が発生したものと
される。そして、ワーニングランプが点灯されるとき、
つまり故障あるいは異常の種類は、例えば冷却水温度が
所定温度以上の高温となったとき、エンジンオイルの量
が所定量以下となったとき、エンストしたとき等複数設
定されているが、ワーニングランプは1つのみでもよく
あるいは各故障あるいは異常の対応毎に個々に設けても
よい。そして、イグニッションスイッチがONされた直
後にワーニングランプが断芯しているか否かの初期チェ
ックが行われるが、この初期チェック時におけるワーニ
ングランプの点灯は、事象発生とはみないようにしてあ
る。なお、以下の説明でQあるいはRはステップを示
す。
Next, a first control unit U1 and a second control unit U2 related to writing data to the memories M1 and M2.
Will be described with reference to the flowcharts of FIGS. In the embodiment, a warning lamp is turned on when a failure or abnormality occurs in a device (an engine in the embodiment) controlled by the first control unit U1, and at least when a warning lamp is turned on, a predetermined preset value is set. It is assumed that the event has occurred. And when the warning lamp is turned on,
In other words, a plurality of types of failures or abnormalities are set, for example, when the temperature of the cooling water rises above a predetermined temperature, when the amount of engine oil falls below a predetermined amount, or when the engine stalls. Only one may be provided, or each may be provided individually for each failure or abnormality. Then, immediately after the ignition switch is turned on, an initial check is performed to determine whether or not the warning lamp is disconnected. The lighting of the warning lamp at the time of the initial check is not regarded as an event occurrence. In the following description, Q or R indicates a step.

【0020】まず、第1制御ユニットU1における全体
の制御の概要を示す図3について説明すると、Q1にお
いて、第1制御ユニットU1が起動されていることが確
認された後(IGスイッチがONであることの確認)、
Q2において、後述のようにワーニングランプの断芯チ
ェックが行われる。次いでQ3において、後述のように
第1制御ユニットU1が行うエンジンについての通常の
制御(例えば燃料噴射量制御や点火時期制御等)が行わ
れる。Q4では、後述のように第2制御ユニットU2に
対する送信の制御が行われる。最後に、Q5において、
第1制御ユニットU1が制御すべく装置としてのエンジ
ンに関連した故障診断が行われる。
First, referring to FIG. 3 showing an outline of the overall control in the first control unit U1, after confirming that the first control unit U1 has been activated in Q1, the IG switch is turned on. Confirmation)
In Q2, the centering of the warning lamp is checked as described later. Next, in Q3, normal control (for example, fuel injection amount control, ignition timing control, and the like) of the engine performed by the first control unit U1 is performed as described below. In Q4, transmission control for the second control unit U2 is performed as described later. Finally, in Q5,
The first control unit U1 performs a fault diagnosis related to the engine as a device to be controlled.

【0021】図3のQ2の内容が、図4に示される。こ
の図4のQ11において、第1制御ユニットU1が起動
されてから所定時間以上経過したか否かが判別される。
この所定時間は、断芯チェックを行うために必要な時間
を勘案して設定されており、断芯チェックが完了してい
るか否かの確認となる。このQ11の判別でNOのとき
は、Q12において、ワーニングランプの断芯チェック
が行れるが、この断芯チェックは、例えば、ワーニング
ランプを一時的に点灯させる制御を行って、ワーニング
ランプの点灯によって所定の変化が生じたか否かをみる
ことによって行われる。
The contents of Q2 in FIG. 3 are shown in FIG. In Q11 of FIG. 4, it is determined whether or not a predetermined time has elapsed since the first control unit U1 was activated.
The predetermined time is set in consideration of the time required for performing the disconnection check, and is used to confirm whether the disconnection check has been completed. If the determination in Q11 is NO, in Q12, the warning lamp is checked for disconnection. This disconnection check is performed by, for example, performing control to temporarily turn on the warning lamp and turning on the warning lamp. This is performed by checking whether a predetermined change has occurred.

【0022】図3のQ3の内容が、図5に示される。こ
の図5のQ15において、エンジン制御用の各種信号の
読込が行われる。次いで、Q16において、読み込まれ
た各種信号にモードついて、燃料噴射量や点火時間等の
エンジン制御に必要な制御値が演算される。そして、上
記のように演算された制御値が、制御信号としてエンジ
ン制御用の各種アクチュエータ(例えば燃料噴射弁等)
に出力される。
FIG. 5 shows the contents of Q3 in FIG. At Q15 in FIG. 5, various signals for engine control are read. Next, in Q16, control values required for engine control, such as the fuel injection amount and the ignition time, are calculated for the modes of the read various signals. Then, the control value calculated as described above is used as a control signal for various actuators for engine control (for example, a fuel injection valve or the like).
Is output to

【0023】図3のQ4の内容が、図6に示される。こ
の図6のQ20において、第1制御ユニットU1から第
2制御ユニットU2に対して、第1制御ユニットU1に
入力される各種信号や、第1制御ユニットU1から出力
された各種制御信号が送信される。
FIG. 6 shows the contents of Q4 in FIG. In Q20 of FIG. 6, various signals input to the first control unit U1 and various control signals output from the first control unit U1 are transmitted from the first control unit U1 to the second control unit U2. You.

【0024】図3のQ5の内容が図7に示される。この
図7のQ21において、第1制御ユニットU1に入力さ
れた各種信号や第1制御ユニットU1から出力される各
種制御信号に基づいて、故障診断が行われる。Q22で
は、故障している可能性が所定値以上であるか否かが判
別される。このQ22の判別でYESのときは、ワーニ
ングランプを点灯させると共に、ワーニングランプが点
灯されたことつまり事象発生が第2制御ユニットU2に
送信される。この第2制御ユニットU2への事象発生の
送信は、故障内容を示す故障コードを含むものとされ
る。
The contents of Q5 in FIG. 3 are shown in FIG. In Q21 in FIG. 7, failure diagnosis is performed based on various signals input to the first control unit U1 and various control signals output from the first control unit U1. In Q22, it is determined whether or not the possibility of failure is equal to or greater than a predetermined value. If the determination in Q22 is YES, the warning lamp is turned on, and the fact that the warning lamp is turned on, that is, the occurrence of the event is transmitted to the second control unit U2. The transmission of the occurrence of the event to the second control unit U2 includes a failure code indicating the content of the failure.

【0025】図8は、第2制御ユニットU2の全体の制
御の概要を示すものである。この図8のQ31におい
て、記憶開始の指令があるか否かが判別されるが、実施
形態では、IGスイッチがONのときに記憶を開始させ
るようにしてあり、Q31ではIGスイッチがONであ
るか否かの判別となる。このQ31の判別でYESのと
きは、Q32において、後述のようにメモリM1、M2
への記憶、つまりエンジン回転数、スロットル開度等の
センサ検出値が記憶される。
FIG. 8 shows an outline of the overall control of the second control unit U2. In Q31 of FIG. 8, it is determined whether or not there is a storage start command. In the embodiment, the storage is started when the IG switch is ON, and the IG switch is ON in Q31. It is determined whether or not. If the determination in Q31 is YES, in Q32, the memories M1, M2
, That is, sensor detection values such as the engine speed and the throttle opening.

【0026】Q31の判別でNOのときは、Q33にお
いて、メモリM1、M2に記憶されているデータの車外
への転送指令があるか否かが判別される。この転送指令
は、記憶されているデータに基づく解析を行うとき等に
行われるもので、スイッチ群15に含まれる転送指令ス
イッチがONされたかあるいは転送用機器(テスタ/リ
ーダ)が接続された否かの判断となる。このQ33の判
別でYESのときは、Q34において、後述のようにし
てメモリM1,M2に記憶されているデータの車外への
転送が行われる。Q33の判別でNOのときは、そのま
まリターンされる。
If NO in Q31, it is determined in Q33 whether or not there is a command to transfer the data stored in the memories M1 and M2 to the outside of the vehicle. This transfer command is issued when performing an analysis based on the stored data or the like. Whether the transfer command switch included in the switch group 15 is turned on or whether a transfer device (tester / reader) is connected is determined. Will be determined. If the determination in Q33 is YES, in Q34, the data stored in the memories M1 and M2 is transferred out of the vehicle as described later. If the determination in Q33 is NO, the process returns.

【0027】図8のQ32の内容が、図9に示される。
図9に示す例について概略を説明すると、事象発生がな
いときは、両方のメモリM1、M2に対して、センサ検
出値を含むデータがアドレス指定した上で更新記憶され
る。すなわち、設定された記憶容量の範囲でもっとも古
いデータが削除される一方、もっとも新しいデータが書
き込まれて、所定時間範囲に渡って記憶されたデータの
変化がわかるように記憶される。なお、記憶される時間
範囲は極力長いことが好ましく、メモリ容量にもよる
が、数分から数十分の範囲となるように設定されてい
る。
The contents of Q32 in FIG. 8 are shown in FIG.
Explaining briefly the example shown in FIG. 9, when no event occurs, data including the sensor detection value is updated and stored in both memories M1 and M2 after addressing. That is, the oldest data in the set storage capacity range is deleted, while the newest data is written and stored so that changes in the stored data over a predetermined time range can be recognized. The stored time range is preferably as long as possible, and is set to range from several minutes to tens of minutes, depending on the memory capacity.

【0028】1回目の事象が発生したとき、車外情報が
入手されて、この入手された車外情報が第1メモリM1
のみにアドレス指定した上で記憶された後、第1メモリ
M1への書込が禁止される(事象発生の原因を後に解析
するために記憶データを保存)。
When the first event occurs, information outside the vehicle is obtained, and the obtained information outside the vehicle is stored in the first memory M1.
After the address has been specified and stored, the writing to the first memory M1 is prohibited (the stored data is stored to analyze the cause of the event occurrence later).

【0029】1回目の事象発生の後は、センサ検出値等
のデータは、第2メモリM2にアドレス指定した上で更
新記憶される。2回目の事象が発生したとき、車外情報
が入手されて、この入手された車外情報が第2メモリM
2のみにアドレス指定した上で記憶された後、第2メモ
リM2への書込が禁止される(事象発生の原因を後に解
析するために記憶データを保存)。2回目の事象発生に
よって第2メモリM2への書込が行われると、制御終了
となる。
After the first occurrence of an event, data such as a sensor detection value is updated and stored after addressing in the second memory M2. When the second event occurs, the outside-of-vehicle information is obtained, and the obtained outside-of-vehicle information is stored in the second memory M.
After the address has been specified and stored in the second memory M2 only, writing to the second memory M2 is prohibited (the stored data is saved to analyze the cause of the event occurrence later). When the writing to the second memory M2 is performed by the occurrence of the second event, the control ends.

【0030】以上のことを前提として、図9のQ41に
おいて、以前に2回ワーニングランプが点灯(断芯チェ
ック用の点灯を除く)されたか否か、あるいは以前に2
回故障の検出が行われたか否かが判別されるが、この判
別は、事象発生が2回行われているか否かの判別とな
る。このQ41の判別でNOのときは、Q42におい
て、以前に1回ワーニングランプが点灯(断芯チェック
用の点灯を除く)されたか否か、あるいは以前に1回故
障の検出が行われたか否かが判別されるが、この判別
は、事象発生が1回行われているか否かの判別となる。
Assuming the above, in Q41 of FIG. 9, whether the warning lamp has been turned on twice (except for lighting for the check of disconnection) or not,
It is determined whether or not a failure has been detected. This determination is a determination as to whether or not an event has occurred twice. If the determination in Q41 is NO, in Q42, it is determined whether the warning lamp has been turned on once (excluding the lighting for the disconnection check) or whether a failure has been detected once. Is determined, which is to determine whether or not the event has occurred once.

【0031】上記Q42の判別でNOのときは、事象発
生が1回も行われていないときであり、このときは、セ
ンサ検出値等のデータ値が更新記憶されるときとなる。
すなわち、メモリ容量の範囲内において古いデータ値を
新しいデータ値に置き換えつつ、データ値がアドレス指
定されて記憶される制御が行われる。
If the determination in Q42 is NO, it means that no event has occurred, and this time is when the data values such as sensor detection values are updated and stored.
That is, control is performed such that data values are addressed and stored while replacing old data values with new data values within the range of the memory capacity.

【0032】センサ検出値等のデータ値の記憶は、デー
タ書込制御部21の処理負担、特にDPRAM23の処
理負担の大きさに応じて相違される。すなわち、Q42
の判別でYESのときは、Q43において、制御部21
の処理負担が所定レベル以上であるか否かが判別され
る。このQ43の判別でNOのときは、Q44におい
て、車両状態、センサ検出値の種類の他、故障発生予測
に応じて受信した各種入力信号および出力信号がそのま
ま、両方のメモリM1、M2にアドレス指定した上で更
新記憶される。Q43の判別でYESのときは、車両状
態を特に示すエンジン回転数や車速、センサ検出値の種
類の他、故障発生予測に応じて受信した各種入力信号お
よび出力信号がそれぞれ間引かれて、すなわち各データ
量がそれぞれ減少された状態で(単位時間あたりのデー
タ数が減少された状態で)、両方のメモリM1、M2に
アドレス指定した上で更新記憶される。
The storage of data values such as sensor detection values differs depending on the processing load on the data writing control unit 21, especially the processing load on the DPRAM 23. That is, Q42
If the determination is YES, in Q43, the control unit 21
It is determined whether or not the processing load is equal to or higher than a predetermined level. If the determination in Q43 is NO, in Q44, in addition to the vehicle state, the type of sensor detection value, and various input signals and output signals received in response to the failure occurrence prediction, the addresses are designated in both memories M1 and M2. Then, it is updated and stored. When the determination in Q43 is YES, in addition to the engine speed and the vehicle speed, which particularly indicate the vehicle state, the type of the sensor detection value, and the various input signals and output signals received in response to the failure occurrence prediction, each is decimated. In a state where each data amount is reduced (in a state where the number of data per unit time is reduced), both the memories M1 and M2 are updated and stored after being addressed.

【0033】前記Q42の判別でYESのときは、Q4
6において、ワーニングランプの点灯あるいは故障検出
の直後であるか否かが判別される。このQ46の判別で
YESのときは、Q47において、後述のようにして車
外情報が入手される。次いで、Q48において、入手さ
れた車外情報は、センサ検出値に対応させてアドレス指
定した上で、第1メモリM1に記憶され、かつこの車外
情報への記憶後に、第1メモリM1への書込が禁止され
る。
If the determination in Q42 is YES, Q4
In 6, it is determined whether or not it is immediately after lighting of a warning lamp or detection of a failure. If the determination in Q46 is YES, in Q47, outside-vehicle information is obtained as described later. Next, in Q48, the obtained outside-of-vehicle information is stored in the first memory M1 after addressing it in correspondence with the sensor detection value, and is written into the first memory M1 after storing in the outside-of-vehicle information. Is forbidden.

【0034】Q48の後あるいはQ46の判別でNOの
ときはそれぞれ、Q49において、制御部21の処理負
担が所定レベル以上であるか否かが判別される。このQ
49の判別でNOのときは、各種データが間引かれるこ
となくメモリにアドレス指定した上で更新記憶され(Q
44対応)、また、Q49の判別でYESのときは、デ
ータが間引かれた状態でメモリにアドレス指定した上で
更新記憶される(Q45対応)。ただし、Q50、Q5
1において更新記憶される対象となるメモリは、第2メ
モリM2のみとなる(第1メモリM1への書込はQ48
で禁止となっている)。
After Q48 or when NO is determined in Q46, it is determined in Q49 whether or not the processing load on the control unit 21 is equal to or higher than a predetermined level. This Q
If the determination in step 49 is NO, the various data are updated and stored after being specified in the memory without being thinned out (Q
If the answer is YES in the determination of Q49, the data is updated and stored after specifying the address in the memory while the data is decimated (corresponding to Q45). However, Q50, Q5
1, the only memory to be updated and stored is the second memory M2 (writing to the first memory M1 is performed in Q48).
Banned in).

【0035】前記Q41の判別でYESのときは、既に
2回事象発生がなされているときであり、このときは、
Q52において、ワーニングランプの点灯あるいは故障
検出の直後であるか否かが判別される。このQ52の判
別でYESのときは、Q53において、後述のようにし
て車外情報が入手される(Q47対応)。次いで、Q5
4において、入手された車外情報は、センサ検出値に対
応させてアドレス指定した上で、第2メモリM2に記憶
され、かつこの車外情報への記憶後に、第2メモリM2
への書込が禁止される。なお、Q52の判別でNOのと
きは、そのままリターンされる。また、図9は、ワーニ
ングランプ点灯あるいは故障検出が2回以内のときを前
提としてあり、3回以上のワーニングランプの点灯ある
いは故障検出のときは、メモリへの更新記憶はなされな
いものである。
If the determination in Q41 is YES, it means that the event has already occurred twice, and in this case,
In Q52, it is determined whether or not it is immediately after lighting of a warning lamp or detection of a failure. If the determination in Q52 is YES, in Q53, outside-vehicle information is obtained as described below (corresponding to Q47). Then, Q5
In 4, the acquired outside-of-vehicle information is stored in the second memory M2 after addressing it in correspondence with the sensor detection value, and after storing in the outside-of-vehicle information,
Writing to is prohibited. If NO in Q52, the process returns. FIG. 9 is based on the premise that the warning lamp is turned on or the failure is detected twice or less. When the warning lamp is turned on or the failure is detected three or more times, the update storage in the memory is not performed.

【0036】図10は、図9のQ47、Q53の内容を
示すものである。この図10のQ61において、例えば
インターネットを介して、情報センタ2に接続される。
Q62においては、車両Vの現在位置や欲しい車外情報
の種類、発生事象の概略が情報センタ2に送信される。
Q63では、情報センタ2から受信したデータを、後の
メモリM1、M2への書込のために一時的に記憶され
る。
FIG. 10 shows the contents of Q47 and Q53 in FIG. In Q61 of FIG. 10, the connection is made to the information center 2 via the Internet, for example.
In Q62, the current position of the vehicle V, the type of desired outside-of-vehicle information, and the outline of the occurrence event are transmitted to the information center 2.
In Q63, the data received from the information center 2 is temporarily stored for later writing to the memories M1 and M2.

【0037】図11は、図10に対応した情報センタ2
側の制御内容を示すものである。この図11のQ65に
おいて、車両Vから送信された内容が受信された後、Q
66において、車両Vからの要求に応じたデータが選択
される。そして、Q67において、選択されたデータが
車両Vに返信される。
FIG. 11 shows an information center 2 corresponding to FIG.
2 shows the contents of control on the side. In Q65 of FIG. 11, after the content transmitted from the vehicle V is received, Q
At 66, data according to the request from the vehicle V is selected. Then, in Q67, the selected data is returned to the vehicle V.

【0038】図12は、図8のQ34の内容を示すもの
である。この図12のQ71において、以前に1回以上
のワーニングランプ点灯あるいは故障検出が行われたか
否かが判別される。このQ71の判別でNOのときは、
そのまま終了される。
FIG. 12 shows the contents of Q34 in FIG. In Q71 of FIG. 12, it is determined whether one or more warning lamps have been turned on or a failure has been detected before. If the determination in Q71 is NO,
It is terminated as it is.

【0039】Q71の判別でYESのときは、Q72に
おいて、第2メモリM2の記憶内容がアドレス指定して
読み出されるが、この読み出しは、第2制御ユニットU
2に接続される車外のテスタ/リーダに対するデータコ
ピー、あるいは図示を略す表示画面への表示によって行
われる。
If the determination in Q71 is YES, in Q72, the contents stored in the second memory M2 are read out by specifying the address. This reading is performed in the second control unit U.
This is performed by copying data to a tester / reader outside the vehicle connected to 2 or displaying the data on a display screen (not shown).

【0040】Q73の後、Q74において、第2のデー
タ転送指令があるか否かが判別される。このQ74の判
別でYESのときは、Q75において、以前に2回のワ
ーニングランプ点灯あるいは故障検出が行われたか否か
が判別される。このQ75の判別でYESのときは、Q
76において、第2メモリM2の記憶内容が既に転送済
みであるか否かが判別される。このQ76の判別でYE
Sのときは、Q77において、第1メモリM1の記憶内
容が、第2メモリM2を介して転送される(Q73対
応)。なお、実施形態では、第1メモリM1から直接外
部へデータ転送できないようにされている関係上、第2
メモリM2を介して第1メモリM1の記憶内容を車外へ
転送するようにしてある。
After Q73, in Q74, it is determined whether or not there is a second data transfer command. If the determination in Q74 is YES, in Q75, it is determined whether two warning lamps have been turned on or a failure has been detected previously. If the determination in Q75 is YES, Q
At 76, it is determined whether or not the contents stored in the second memory M2 have already been transferred. In the determination of Q76, YE
In the case of S, in Q77, the contents stored in the first memory M1 are transferred via the second memory M2 (corresponding to Q73). In the embodiment, the data cannot be directly transferred from the first memory M1 to the outside.
The contents stored in the first memory M1 are transferred to the outside of the vehicle via the memory M2.

【0041】図13は、図9の変形例を示すものであ
り、図9との相違点についてのみ以下に説明する。ま
ず、Q43に対応するQ83においては、故障発生予測
つまり故障発生の確信度合いが所定レベル以上であるか
否かが判別される。このQ83の判別でYESのとき
は、Q85においてデータが間引きされて更新記憶され
(図9のQ45と同じ)、またQ83の判別でNOのと
きは、Q84において間引きを行うことなくデータが更
新記憶される(図9のQ44と同じ)。また、図13の
Q89は、図9のQ49〜Q51に対応する。すなわ
ち、図13の例では、1回目の事象発生直後での第2メ
モリM2へのデータの書込は、制御部21の処理負担に
かかわらず間引きしないで行なうようにしてある。
FIG. 13 shows a modification of FIG. 9. Only the differences from FIG. 9 will be described below. First, in Q83 corresponding to Q43, it is determined whether the failure occurrence prediction, that is, the degree of certainty of the failure occurrence is equal to or higher than a predetermined level. If the determination in Q83 is YES, the data is thinned out in Q85 and updated and stored (same as Q45 in FIG. 9), and if the determination in Q83 is NO, the data is updated and stored without thinning out in Q84. (Same as Q44 in FIG. 9). Further, Q89 in FIG. 13 corresponds to Q49 to Q51 in FIG. That is, in the example of FIG. 13, writing of data to the second memory M2 immediately after the occurrence of the first event is performed without thinning regardless of the processing load on the control unit 21.

【0042】ここで、前述した制御のうち、メモリへの
記憶手法に関して、図14以下を参照しつつ補足説明す
る。まず、図14は、図9の例に対応するもので、セン
サ検出値を含むデータ値を両方のメモリM1、M2に更
新記憶させていく一方、1回目の事象発生時には、第1
メモリM1に入手した車外情報を記憶させた後、この第
1メモリM1への書き込みを禁止する処理を行うときで
ある。図14では、1回目の事象発生後に、2回目の事
象発生がなくて、第2メモリM2にデータ値を更新記憶
させている過程を示す。勿論、2回目の事象発生時に
は、車外情報を入手して、第2メモリM2に入手した車
外情報を記憶させた後、第2メモリM2への書き込みが
禁止される。
Here, of the above-mentioned control, a method of storing data in the memory will be supplementarily described with reference to FIG. 14 and subsequent figures. First, FIG. 14 corresponds to the example of FIG. 9, in which the data values including the sensor detection values are updated and stored in both memories M1 and M2.
After storing the acquired outside-of-vehicle information in the memory M1, it is time to perform a process of prohibiting writing to the first memory M1. FIG. 14 shows a process in which the data value is updated and stored in the second memory M2 without occurrence of the second event after occurrence of the first event. Of course, when the second event occurs, the information outside the vehicle is obtained, the obtained information outside the vehicle is stored in the second memory M2, and then the writing to the second memory M2 is prohibited.

【0043】図15の例は、当初は、センサ検出値を含
むデータ値の更新記憶は第1メモリM1のみに行う場合
を示す。この図15では、1回目の事象発生時に、車外
情報を入手して、この車外情報が第1メモリM1に記憶
された後、第1メモリM1への書き込みが禁止される。
その後、第2メモリM2へセンサM2へのセンサ検出値
の更新記憶が開始されるが、記憶されるセンサ検出値等
は、1回目の事象の内容に応じて選択された一部のみと
される。換言すれば、第2メモリM2に更新記憶される
データとしては、1回目の発生事象に無関係なものが省
かれたものとされる。2回目の事象発生により、第2メ
モリM2への書込も禁止される。
The example of FIG. 15 shows a case where the data value including the sensor detection value is initially updated and stored only in the first memory M1. In FIG. 15, when the first event occurs, the information outside the vehicle is obtained, and after the information outside the vehicle is stored in the first memory M1, writing to the first memory M1 is prohibited.
After that, the update storage of the sensor detection value in the sensor M2 is started in the second memory M2, but the stored sensor detection value is only a part selected according to the content of the first event. . In other words, as the data to be updated and stored in the second memory M2, data irrelevant to the first occurrence event is omitted. Due to the second occurrence of the event, writing to the second memory M2 is also prohibited.

【0044】図16の例では、第1メモリM1と第2メ
モリM2とのいずれか一方への更新記憶を、センサ検出
値等のデータ値が間引かれたものとされる(センサ検出
値等の個々のデータ値が、例えば3回サンプリングされ
たうちの1回分のみが更新記憶される)。この間引き
は、1回目の事象発生前の更新記憶においてのみ行うよ
うにしてもよく、あるいは1回目の事象発生後の更新記
憶においてのみ行うようにしてもよく、さらには常に間
引きを行うようにすることもできる。また、間引きされ
て更新記憶されるメモリとしては、第1メモリM1の
み、第2メモリM2のみ、あるいは両方のメモリM1、
M2とすることができる。
In the example of FIG. 16, the update storage in either the first memory M1 or the second memory M2 is performed by thinning out data values such as sensor detection values (sensor detection values and the like). Are updated and stored, for example, only one of the three sampled data values is sampled three times). This thinning may be performed only in the update storage before the first event occurrence, or may be performed only in the update storage after the first event occurrence, and the thinning is always performed. You can also. Further, as the memory to be updated and stored by being decimated, only the first memory M1, only the second memory M2, or both memories M1,
M2.

【0045】なお、センサ検出値等のデータ値の全てに
ついて間引きを行うことなく、一部のデータ値について
のみ間引きを行うようにすることもできる。例えば、エ
ンジン回転数が高回転のときに、回転毎のサンプリング
周期で得られるエンジン回転数を全て更新記憶したので
は、記憶すべきデータ数が多くなりすぎるので、間引き
を行うのが好ましい。また、エンジン冷却水温度のよう
に短時間では急激に変化しないデータ値については、常
に間引きを行うようにすることができる。
It should be noted that it is also possible to thin out only some data values without thinning out all data values such as sensor detection values. For example, when the engine speed is high, if all the engine speeds obtained in the sampling period for each rotation are updated and stored, the number of data to be stored becomes too large, so it is preferable to perform thinning. In addition, it is possible to always thin out data values that do not change rapidly in a short time, such as the temperature of the engine cooling water.

【0046】図17に示す例は、図14の場合と同様
に、1回目の事象発生までは、更新記憶を両方のメモリ
M1、M2に行うようにしたものを前提として、第1メ
モリM1と第2メモリM2とのいずれか一方のみへの更
新記憶を、センサ検出値等のデータ値のうち一部のデー
タ値についてのみ行うようにしたものである。このよう
な一部のデータ値のみを更新記憶させるメモリとして
は、2回目の事象発生で書込禁止される第2メモリM2
とするのが好ましいものである(1回目の事象発生によ
って関連するデータの種類が限定されるので)。
In the example shown in FIG. 17, as in the case of FIG. 14, it is assumed that update storage is performed in both memories M1 and M2 until the first event occurs, and the first memory M1 The update storage to only one of the second memories M2 is performed only for some of the data values such as the sensor detection value. As such a memory for updating and storing only some of the data values, the second memory M2 which is write-protected when the second event occurs
(Since the type of related data is limited by the occurrence of the first event).

【0047】図18に示す例は、図14と同様に、1回
目の事象発生までは、更新記憶を両方のメモリM1、M
2に行うようにしたものとされる。そして、第1メモリ
M1へのデータ値の更新記憶に際して、各種データ値信
号に応じた間引き率の変更と、故障コード信号に応じた
分配率の変更とを行うようにしたものである。間引き率
の変更は、前述した間引きの度合いの変更である。分配
率は、例えば冷却水温度のデータ数とエンジン回転数の
データ数との比率で示すことができ、分配率の変更は、
例えば分配率が30%から20%に変更されることを意
味する。他のデータ値のデータ数に比して、あるデータ
値のデータ数が少ないということは、あるデータ値が事
象発生に関与する割合が小さいということになる。な
お、分配率の変更と間引き率の変更とのいずれか一方の
みを行うようにしてもよく、このような変更は、第1メ
モリM1についてのみならず、第2メモリM2において
も行うようにすることができ、さらには第2メモリM2
に対してのみ行うようにすることもできる。
In the example shown in FIG. 18, as in FIG. 14, update storage is performed on both memories M1 and M until the first event occurs.
2 is performed. When the data value is updated and stored in the first memory M1, the change of the thinning rate according to various data value signals and the change of the distribution rate according to the failure code signal are performed. The change in the thinning rate is a change in the degree of the thinning described above. The distribution ratio can be indicated by, for example, a ratio between the number of data of the cooling water temperature and the number of data of the engine rotation speed.
For example, it means that the distribution ratio is changed from 30% to 20%. The fact that the number of data of a certain data value is smaller than the number of data of other data values means that the ratio of a certain data value involved in the occurrence of an event is small. Note that only one of the change of the distribution rate and the change of the thinning rate may be performed, and such a change is performed not only in the first memory M1 but also in the second memory M2. And the second memory M2
Can be performed only for

【0048】以上実施形態について説明したが、本発明
はこれに限らず、例えば次のような場合をも含むもので
ある。故障検出等の対象となる機器類はエンジンに限ら
ず、自動変速機やサスペンション装置、空調装置等適宜
のものとすることができ、また数種類の装置についての
故障検出とすることもできる。メモリM1、M2の種類
は特に問わないものであり、例えば両方のメモリ共に不
揮発性のものとすることもでき、また両方のメモリM
1、M2共に応答性に優れたSRAMにする等のことも
できる(記憶保持が必要なメモリを使用する場合は、I
GスイッチがOFFになっても記憶保持できるようにバ
ックアップ電源によって記憶保持を維持させるようにし
ておくのが好ましい)。
Although the embodiment has been described above, the present invention is not limited to this, and includes, for example, the following cases. The devices to be subjected to failure detection and the like are not limited to engines, but may be any suitable devices such as automatic transmissions, suspension devices, air conditioners, and the like, and may be failure detection for several types of devices. The types of the memories M1 and M2 are not particularly limited. For example, both memories may be nonvolatile, and both memories M1 and M2 may be non-volatile.
It is also possible to use an SRAM having excellent responsiveness for both 1 and M2.
It is preferable to maintain the storage by a backup power supply so that the storage can be maintained even when the G switch is turned off).

【0049】メモリは3以上とすることもできる(3回
目以上の事象発生に対応)。この場合、第1メモリM1
と第2メモリM2との関係を前述した実施形態のように
設定し、第2メモリM2と第3メモリとの対応関係を、
第1メモリM1と第2メモリM2との対応関係に相当す
るものとすればよい(第4メモリ以下についても同
じ)。フロ−チャ−トに示す各ステップあるいはセンサ
やスイッチ等の各種部材は、その機能の上位表現に手段
の名称を付して表現することができる。また、本発明の
目的は、明記されたものに限らず、実質的に好ましいあ
るいは利点として表現されたものを提供することをも暗
黙的に含むものである。さらに、本発明は、記憶制御方
法として表現することも可能である。
The number of memories can be three or more (corresponding to the third or more occurrence of an event). In this case, the first memory M1
And the relationship between the second memory M2 and the second memory M2 are set as in the above-described embodiment.
What is necessary is just to correspond to the corresponding relationship between the first memory M1 and the second memory M2 (the same applies to the fourth memory and the following). Each step or various members such as a sensor and a switch shown in the flowchart can be expressed by adding a name of a means to a higher-level expression of its function. In addition, the object of the present invention is not limited to what is explicitly specified, but also implicitly includes providing what is expressed as substantially preferable or advantageous. Further, the present invention can be expressed as a storage control method.

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

【図1】本発明の一実施形態を示す制御系統図。FIG. 1 is a control system diagram showing one embodiment of the present invention.

【図2】車外情報を入手する一例を示す系統図。FIG. 2 is a system diagram showing an example of obtaining information outside the vehicle.

【図3】事象発生の対象となる装置を制御する第1制御
ユニットの制御内容を示すフローチャート。
FIG. 3 is a flowchart showing control contents of a first control unit that controls a device that is a target of event occurrence.

【図4】図3の制御内容の詳細を示すフローチャート。FIG. 4 is a flowchart showing details of control contents of FIG. 3;

【図5】図3の制御内容の詳細を示すフローチャート。FIG. 5 is a flowchart showing details of control contents of FIG. 3;

【図6】図3の制御内容の詳細を示すフローチャート。FIG. 6 is a flowchart showing details of control contents of FIG. 3;

【図7】図3の制御内容の詳細を示すフローチャート。FIG. 7 is a flowchart showing details of control contents of FIG. 3;

【図8】センサ検出値や車外情報の記憶制御を行う第2
制御ユニットの制御内容を示すフローチャート。
FIG. 8 is a diagram illustrating a second example of performing the storage control of the sensor detection value and the information outside the vehicle.
5 is a flowchart showing the control contents of the control unit.

【図9】図8の制御内容の詳細を示すフローチャート。FIG. 9 is a flowchart showing details of the control contents of FIG. 8;

【図10】図9の制御内容の詳細を示すフローチャー
ト。
FIG. 10 is a flowchart showing details of the control contents of FIG. 9;

【図11】図10の制御内容に対応した車外情報発信セ
ンタの制御例を示すフローチャート。
FIG. 11 is a flowchart showing a control example of an outside-vehicle information transmission center corresponding to the control contents of FIG. 10;

【図12】図8の制御内容の詳細を示すフローチャー
ト。
FIG. 12 is a flowchart showing details of the control contents of FIG. 8;

【図13】図9の変形例を示すフローチャート。FIG. 13 is a flowchart showing a modification of FIG. 9;

【図14】2つのメモリへの記憶手法を説明するための
図。
FIG. 14 is a diagram for explaining a storage method in two memories.

【図15】2つのメモリへの記憶手法を説明するための
図。
FIG. 15 is a diagram for explaining a method of storing data in two memories.

【図16】2つのメモリへの記憶手法を説明するための
図。
FIG. 16 is a diagram for explaining a storage method in two memories.

【図17】2つのメモリへの記憶手法を説明するための
図。
FIG. 17 is a view for explaining a method of storing data in two memories.

【図18】2つのメモリへの記憶手法を説明するための
図。
FIG. 18 is a view for explaining a method of storing data in two memories.

【符号の説明】[Explanation of symbols]

1:携帯電話(車外情報入手用) 2:車外情報発信センタ V:車両 U1:第1制御ユニット(エンジン等の装置制御用) U2:第2制御ユニット(センサ検出値等の記憶制御
用) U3:第3制御ユニット(車外情報入手用) 17:転送部(記憶データ読出し用) 21:データ書込制御部 M1:第1メモリ M2:第2メモリ
1: Mobile phone (for obtaining information outside the vehicle) 2: Information transmission center outside the vehicle V: Vehicle U1: First control unit (for controlling devices such as engines) U2: Second control unit (for storing and controlling sensor detection values, etc.) U3 : Third control unit (for obtaining information outside the vehicle) 17: Transfer unit (for reading stored data) 21: Data writing control unit M1: First memory M2: Second memory

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】センサ検出値をメモリのアドレス指定した
領域に常時更新記憶させておき、あらかじめ設定された
事象の発生時またはその後に該メモリへの書き込みを禁
止する記憶制御手段を備えた車両用データ記憶装置であ
って、 前記メモリとして、少なくとも第1メモリと第2メモリ
との2つのメモリが設けられ、 前記記憶制御手段は、前記事象の未発生時には前記第1
メモリと第2メモリとの両方メモリに対してアドレス指
定した上で前記センサ検出値を更新記憶させ、1回目の
前記事象発生時には前記第1メモリへの書込を禁止させ
てその後のセンサ検出値を第2メモリにのみアドレス指
定した上で更新記憶させ、2回目の事象発生時には前記
第2メモリへの書込をも禁止する、ことを特徴とする車
両用データ記憶装置。
1. A vehicle comprising a storage control means for constantly storing a sensor detection value in an address designated area of a memory and prohibiting writing to the memory when a preset event occurs or thereafter. A data storage device, wherein at least two memories, a first memory and a second memory, are provided as the memory, and the storage control unit is configured to control the first memory when the event does not occur.
After the address is specified for both the memory and the second memory, the sensor detection value is updated and stored, and when the first event occurs, writing to the first memory is inhibited and the subsequent sensor detection is performed. A data storage device for a vehicle, wherein a value is updated and stored after addressing only in a second memory, and writing to the second memory is also prohibited when a second event occurs.
【請求項2】あらかじめ設定された事象発生時にセンサ
検出値をメモリのアドレス指定した領域に記憶させる記
憶制御手段を備えた車両用データ記憶装置であって、 前記メモリとして、少なくとも第1メモリと第2メモリ
との2つのメモリが設けられ、 前記記憶制御手段は、前記事象の未発生時には前記第1
メモリにのみ前記センサ検出値をアドレス指定した上で
更新記憶させ、1回目の前記事象発生時に前記第1メモ
リへの書込を禁止すると共に、その後のセンサ検出値を
1回目に発生された前記事象に応じて選択して前記第2
メモリにアドレス指定した上で記憶させ、2回目の事象
発生時には前記第2メモリの書込をも禁止する、ことを
特徴とする車両用データ記憶装置。
2. A vehicular data storage device comprising storage control means for storing a sensor detection value in an address designated area of a memory when a preset event occurs, wherein said memory includes at least a first memory and a first memory. Two memories are provided, and the storage control means is configured to control the first memory when the event does not occur.
The sensor detection value is updated and stored in the memory only after the address is specified, writing to the first memory is prohibited at the time of the first occurrence of the event, and the subsequent sensor detection value is generated at the first occurrence. The second is selected according to the event.
A data storage device for a vehicle, wherein an address is stored in a memory after the address is specified, and writing of the second memory is also prohibited when a second event occurs.
【請求項3】請求項1または請求項2において、 前記記憶制御手段は、事象未発生時における前記更新記
憶を、前記第1メモリと第2メモリとの少なくとも一方
に対して前記センサ検出値を間引きして行う、ことを特
徴とする車両用データ記憶装置。
3. The storage control unit according to claim 1, wherein the storage control unit stores the update storage when no event occurs, and stores the sensor detection value in at least one of the first memory and the second memory. A data storage device for a vehicle, wherein the data storage device is thinned out.
【請求項4】請求項3において、 前記記憶制御手段は、前記センサ検出値のうち一部のセ
ンサ検出値のみを前記第1メモリと第2メモリとのいず
れか一方のみに更新記憶させる、ことを特徴とする車両
用データ記憶装置。
4. The storage control device according to claim 3, wherein the storage control means updates and stores only a part of the sensor detection values in one of the first memory and the second memory. A vehicle data storage device characterized by the above-mentioned.
【請求項5】請求項3または請求項4において、 前記記憶制御手段は、車両状態、センサ検出値の種類、
発生された事象の内容、該記憶制御手段の処理負担の少
なくとも1つに応じて、更新記憶させるデータ数が変化
されるように記憶のさせ方を変更する、ことを特徴とす
る車両用データ記憶装置。
5. The storage control unit according to claim 3, wherein the storage control means includes: a vehicle state; a type of a sensor detection value;
A method of storing data for a vehicle, wherein the storage method is changed so that the number of data to be updated and stored is changed in accordance with at least one of the content of the generated event and the processing load of the storage control means. apparatus.
【請求項6】請求項1または請求項2において、 前記第1メモリと第2メモリとのいずれか一方のみに、
記憶データの読出し手段が接続されており、 前記記憶制御手段は、前記読出し手段が接続されていな
いメモリからの記憶データの取出しを、該読出し手段が
接続されているメモリを介して行わせる、ことを特徴と
する車両用データ記憶装置。
6. The method according to claim 1, wherein only one of the first memory and the second memory includes:
Storage data reading means connected thereto, wherein the storage control means causes the storage data to be fetched from a memory to which the reading means is not connected, via a memory to which the reading means is connected. A vehicle data storage device characterized by the above-mentioned.
JP2000298521A 2000-09-29 2000-09-29 Vehicular data storage device Pending JP2002106411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000298521A JP2002106411A (en) 2000-09-29 2000-09-29 Vehicular data storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000298521A JP2002106411A (en) 2000-09-29 2000-09-29 Vehicular data storage device

Publications (1)

Publication Number Publication Date
JP2002106411A true JP2002106411A (en) 2002-04-10

Family

ID=18780467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000298521A Pending JP2002106411A (en) 2000-09-29 2000-09-29 Vehicular data storage device

Country Status (1)

Country Link
JP (1) JP2002106411A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005241599A (en) * 2004-02-27 2005-09-08 Fuji Heavy Ind Ltd Data recorder, and data recording method
US7203581B2 (en) 2002-10-21 2007-04-10 Denso Corporation Electronic control unit for controlling updating of data in non-volatile memory
JPWO2005057519A1 (en) * 2003-12-12 2007-07-05 株式会社日立製作所 Vehicle information collection management method, vehicle information collection management system, information management base station apparatus and vehicle used in the system
US7664595B2 (en) * 2006-12-29 2010-02-16 Detroit Diesel Corporation Fault code memory manager architecture concept consisting of a dedicated monitoring unit module and a fault memory manager administrator module for heavy duty diesel engine
JP2011243032A (en) * 2010-05-19 2011-12-01 Hitachi Automotive Systems Ltd Data storage device for vehicle
JP2013181512A (en) * 2012-03-05 2013-09-12 Mitsubishi Electric Corp Data storage device for vehicle

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7203581B2 (en) 2002-10-21 2007-04-10 Denso Corporation Electronic control unit for controlling updating of data in non-volatile memory
JPWO2005057519A1 (en) * 2003-12-12 2007-07-05 株式会社日立製作所 Vehicle information collection management method, vehicle information collection management system, information management base station apparatus and vehicle used in the system
JP2005241599A (en) * 2004-02-27 2005-09-08 Fuji Heavy Ind Ltd Data recorder, and data recording method
US7664595B2 (en) * 2006-12-29 2010-02-16 Detroit Diesel Corporation Fault code memory manager architecture concept consisting of a dedicated monitoring unit module and a fault memory manager administrator module for heavy duty diesel engine
JP2011243032A (en) * 2010-05-19 2011-12-01 Hitachi Automotive Systems Ltd Data storage device for vehicle
JP2013181512A (en) * 2012-03-05 2013-09-12 Mitsubishi Electric Corp Data storage device for vehicle

Similar Documents

Publication Publication Date Title
JP4692231B2 (en) Electronic control device for vehicle
US7962258B2 (en) Operator-side system and mode file identifying method
US8406951B2 (en) Electronic control system for vehicles
JP4274186B2 (en) Failure diagnosis apparatus and failure information recording method
US7343239B2 (en) Program rewriting system and program rewriting method
JP5505493B2 (en) Electronic control system and electronic control device
US8255108B2 (en) Dynamic file system creation for scan tools
US7424351B2 (en) Control unit and data transmitting method
JP2007198939A (en) Vehicle failure diagnosis device
US20050270888A1 (en) Stored data rewriting system for on-board control unit
JP2020004245A (en) Program update device, program update system, program update method and program update program
JP2002106411A (en) Vehicular data storage device
JP2003104137A (en) On-vehicle control device
JP2002106412A (en) Vehicular data storage device
US7869917B2 (en) Vehicle control apparatus and control method of same
JP2007062632A (en) Electronic control unit and storing method of data for abnormality generated time storage
US5705743A (en) Method for identifying parameter identifiers of a motor vehicle
US11314634B2 (en) Electronic control unit and data protection method therefor
JPH08202441A (en) Controller for vehicle with function capable of storing fault information
JPH1049205A (en) Operating method for control unit having control function equipped with programmable storage device
JP2001222731A (en) Drive recorder
JP2004151944A (en) Method for writing data in non-volatile storage device, its program and device, and onboard electronic controller
JP3419060B2 (en) Diagnostic device for vehicles
JPH10227724A (en) Electronic controller for vehicle
JPH1063582A (en) Controller for vehicle