JP2015151936A - vehicle information recording device and program - Google Patents

vehicle information recording device and program Download PDF

Info

Publication number
JP2015151936A
JP2015151936A JP2014026610A JP2014026610A JP2015151936A JP 2015151936 A JP2015151936 A JP 2015151936A JP 2014026610 A JP2014026610 A JP 2014026610A JP 2014026610 A JP2014026610 A JP 2014026610A JP 2015151936 A JP2015151936 A JP 2015151936A
Authority
JP
Japan
Prior art keywords
vehicle
vehicle information
engine
information
recording
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
JP2014026610A
Other languages
Japanese (ja)
Other versions
JP6331446B2 (en
Inventor
政義 栢野
Masayoshi Kayano
政義 栢野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2014026610A priority Critical patent/JP6331446B2/en
Publication of JP2015151936A publication Critical patent/JP2015151936A/en
Application granted granted Critical
Publication of JP6331446B2 publication Critical patent/JP6331446B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a vehicle information recording device capable of recording vehicle information more surely.SOLUTION: A CPU11, when there is a trigger for recording start in S2 (S2: YES), starts recording of vehicle information in S3. The CPU11 creates a data file for writing the vehicle information on a storage region configured by a nonvolatile memory 13. Then the data file is opened, and the vehicle information is written at a predetermined time interval (for example, 100 ms) together with time information. In S4, presence/absence of a termination trigger is determined, and when the termination trigger is absent, it is determined whether or not a vehicle is in an engine stall state and a vehicle stop state in the next S6. When the vehicle is determined to be in the engine stall state and in the vehicle stop state (S6: YES), the data file in which the wiring of the vehicle information is being executed is closed in S7.

Description

本発明は、車両の走行状態を示す車両情報を記憶装置に記憶させる車両情報記録装置に関する。   The present invention relates to a vehicle information recording apparatus that stores vehicle information indicating a running state of a vehicle in a storage device.

従来、車両の走行状態を示す車両情報を不揮発性メモリに記憶させる車両情報記録装置がある。例えば、車速、エンジン回転数、及びイグニッションスイッチのオンオフの少なくとも2つの組み合わせにより決定されるタイミングで、エンジン回転数やアクセル開度等をEEPROMに記録する自動車用データ記録装置が提案されている(特許文献1参照)。この自動車用データ記録装置は、車速が0km/hとなってから10秒間データを記録する。   2. Description of the Related Art Conventionally, there is a vehicle information recording device that stores vehicle information indicating a running state of a vehicle in a nonvolatile memory. For example, an automobile data recording device has been proposed that records engine speed, accelerator opening, etc. in an EEPROM at a timing determined by at least two combinations of vehicle speed, engine speed, and ignition switch on / off (patent). Reference 1). This automobile data recording apparatus records data for 10 seconds after the vehicle speed reaches 0 km / h.

特開平5−104985号公報Japanese Patent Laid-Open No. 5-104985

走行中にエンジンストールが発生したとき、すぐにエンジンを再始動させようとしてスターターモータを動作させてクランキングを行うと、バッテリの急激な電圧低下が生じ、記録中であったデータが失われてしまう可能性がある。   If an engine stall occurs during driving and the cranking is performed by operating the starter motor in an attempt to restart the engine immediately, the battery's sudden voltage drop will occur and the data being recorded will be lost. There is a possibility.

本発明の目的は、より確実に車両情報を記録することができる車両情報記録装置及びプログラムを提供することである。   The objective of this invention is providing the vehicle information recording device and program which can record vehicle information more reliably.

上述した問題を解決するためになされた請求項1に記載の発明は、走行用駆動源としてエンジンを備える車両の状態を示す車両情報を、不揮発性メモリ(13)から構成される記憶領域上のデータファイルに連続的に書込む記録制御手段(11)と、上記エンジンがエンジンストールしたか否かを判定するエンスト判定手段(11)と、を備える車両情報記録装置(1)である。   The invention according to claim 1, which has been made to solve the above-described problem, stores vehicle information indicating a state of a vehicle including an engine as a driving source for traveling on a storage area configured by a nonvolatile memory (13). A vehicle information recording device (1) comprising recording control means (11) for continuously writing to a data file and engine stall determination means (11) for determining whether or not the engine has stalled.

本発明の車両情報記録装置における上記記録制御手段は、上記エンスト判定手段により上記エンジンがエンジンストールしたと判定されたときに、上記車両情報の書込みが実行されていた上記データファイルをクローズすることを特徴とする。   The recording control means in the vehicle information recording apparatus of the present invention closes the data file in which the vehicle information has been written when the engine determination means determines that the engine has stalled. Features.

このように構成された車両情報記録装置は、エンストしたときに書込み中であったデータファイルを迅速にクローズされた状態とすることができる。よって、エンスト後のクランキングによりバッテリの電圧が一時的に急激に低下してしまっても、そのタイミングにおいてデータファイルが失われやすいオープンの状態である可能性を低減でき、より確実に車両情報を記録することができる。   The vehicle information recording apparatus configured in this way can quickly close the data file that was being written when the stall was made. Therefore, even if the battery voltage temporarily drops suddenly due to cranking after the engine stall, the possibility of an open state where the data file is likely to be lost at that timing can be reduced, and vehicle information can be obtained more reliably. Can be recorded.

ところで、上記請求項1に記載の車両情報記録装置を構成する各手段は、ハードウェアによって実現してもよいが、請求項4に記載のように、車両情報記録装置の各手段としてコンピュータを機能させるためのプログラムによって実現してもよい。このようなプログラムであれば、コンピュータを請求項1に記載の車両情報記録装置として機能させることができる。   By the way, although each means which comprises the vehicle information recording device of the said Claim 1 may be implement | achieved by hardware, a computer is functioned as each means of a vehicle information recording device as described in Claim 4. You may implement | achieve by the program for making it do. With such a program, the computer can function as the vehicle information recording device according to claim 1.

なお、この欄及び特許請求の範囲に記載した括弧内の符号は、一つの態様として後述する実施形態に記載の具体的手段との対応関係を示すものであって、本発明の技術的範囲を限定するものではない。   In addition, the code | symbol in the parenthesis described in this column and a claim shows the correspondence with the specific means as described in embodiment mentioned later as one aspect, Comprising: The technical scope of this invention is shown. It is not limited.

車両情報記録装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a vehicle information recording device. 車両情報の記録動作の具体例を説明する図である。It is a figure explaining the specific example of the recording operation of vehicle information. 車両情報記録処理の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a vehicle information recording process.

以下に本発明の実施形態を図面と共に説明する。
[実施形態]
(1)全体構成
図1に示すように、本実施形態の車両情報記録装置1(以降、ECU1と記載する)は、走行用駆動源としてエンジンを備える車両に搭載されて用いられ、当該車両の情報を示すデータである車両情報を記録する装置である。車両情報とは、例えば、エンジン(E/G)回転数,車速,加速度,角速度,ステアリング角度の情報を示すデータや、GNSS情報(位置情報)を示すデータなどが該当する。
Embodiments of the present invention will be described below with reference to the drawings.
[Embodiment]
(1) Overall Configuration As shown in FIG. 1, a vehicle information recording device 1 (hereinafter referred to as ECU 1) of this embodiment is used by being mounted on a vehicle including an engine as a driving source for traveling. It is a device that records vehicle information that is data indicating information. The vehicle information corresponds to, for example, data indicating engine (E / G) rotation speed, vehicle speed, acceleration, angular velocity, steering angle information, data indicating GNSS information (position information), and the like.

ECU1は、CPU11、不揮発性メモリ13、RAM15、ROM17、出力インターフェース(I/F)19、電源回路21、電源検出回路23、GNSSレシーバ25、車両情報検出回路27、スイッチ検出回路29、センサ検出回路30などを備える。   The ECU 1 includes a CPU 11, a nonvolatile memory 13, a RAM 15, a ROM 17, an output interface (I / F) 19, a power circuit 21, a power detection circuit 23, a GNSS receiver 25, a vehicle information detection circuit 27, a switch detection circuit 29, and a sensor detection circuit. 30 and the like.

CPU11は、ROM17等に記憶されているプログラムに従ってECU1を統括制御する。このCPU11が本発明における記録制御手段、エンスト判定手段、及び車速判定手段の一例である。   The CPU 11 controls the ECU 1 according to a program stored in the ROM 17 or the like. This CPU 11 is an example of a recording control means, an engine stall determination means, and a vehicle speed determination means in the present invention.

不揮発性メモリ13は電源の供給が無くともデータを保持可能であるメモリであり、図示しないメモリコントローラがCPU11の指令を受けて車両情報を記憶させる。不揮発性メモリの代表的な例として、フラッシュメモリ、EEPROMなどが挙げられる。この不揮発性メモリ13には、車両情報の他にエンスト情報が記憶される。   The non-volatile memory 13 is a memory that can hold data even when power is not supplied, and a memory controller (not shown) receives a command from the CPU 11 and stores vehicle information. Typical examples of the nonvolatile memory include a flash memory and an EEPROM. The non-volatile memory 13 stores engine information in addition to vehicle information.

エンスト情報とは、車両情報の記録中に車両がエンジンストール(以降、単にエンストとも記載する)したことを示すフラグと、時刻情報と、を含むデータである。なおエンジンストールとは運転者の意図に関りなくエンジンが停止する現象である。   The engine stall information is data including a flag indicating that the vehicle has stalled during the recording of the vehicle information (hereinafter also simply referred to as engine stall) and time information. The engine stall is a phenomenon in which the engine stops regardless of the driver's intention.

出力インターフェース19は、不揮発性メモリ13に記憶された車両情報を外部装置に出力する際に外部装置と接続するためのインターフェースである。
電源回路21は、車両の常時電源(+B)、アクセサリ電源(ACC)と接続されて、これらからの入力電力を必要な電力に変換する回路であり、変換された出力電力はECU1を構成する各部位に供給される。ECU1における主要な処理はアクセサリ電源がオンのときに実行される。
The output interface 19 is an interface for connecting to an external device when the vehicle information stored in the nonvolatile memory 13 is output to the external device.
The power supply circuit 21 is a circuit that is connected to a constant power supply (+ B) and an accessory power supply (ACC) of the vehicle and converts input power from these to necessary power, and the converted output power is each of the components constituting the ECU 1. Supplied to the site. Major processing in the ECU 1 is executed when the accessory power supply is on.

電源検出回路23は、常時電源、アクセサリ電源、及びイグニッション電源(IG)と接続されており、各電源のオンオフ状態を示す電源状態信号をCPU11に出力する回路である。なおこれらの電源は共通の1つのバッテリから出力されており、イグニッションキーの操作により出力のオンオフが切り替えられるものである。なおIGの信号については車両情報検出回路27により後述するCAN33から取得するように構成されていてもよい。   The power supply detection circuit 23 is connected to a constant power supply, an accessory power supply, and an ignition power supply (IG), and is a circuit that outputs a power supply state signal indicating the on / off state of each power supply to the CPU 11. Note that these power sources are output from a common battery, and the output can be switched on and off by operating the ignition key. The IG signal may be acquired from the CAN 33 described later by the vehicle information detection circuit 27.

GNSS(全地球航法衛星システム)レシーバ25は、GNSSアンテナ31にてGNSS用の人工衛星から出力された信号を受信してCPU11に出力する。
車両情報検出回路27は、CAN(Controller Area Network)33に接続されており、CAN33と接続する他のECUが出力する車両の状態を示す情報を取得してCPU11に出力する回路である。
A GNSS (Global Navigation Satellite System) receiver 25 receives a signal output from a GNSS satellite by the GNSS antenna 31 and outputs the signal to the CPU 11.
The vehicle information detection circuit 27 is connected to a CAN (Controller Area Network) 33, and is a circuit that acquires information indicating the state of the vehicle output by another ECU connected to the CAN 33 and outputs the information to the CPU 11.

スイッチ検出回路29は、運転者のスイッチ35に対する入力操作を示す信号を取得して、入力操作の内容をCPU11に出力する回路である。スイッチ35は車両情報の記録を開始させるオン操作、及び、車両情報の記録を停止させるオフ操作が可能に構成されており、運転者が操作可能な位置、例えばインストルメントパネル近傍に設けられている。   The switch detection circuit 29 is a circuit that acquires a signal indicating an input operation on the driver's switch 35 and outputs the content of the input operation to the CPU 11. The switch 35 is configured to be capable of an on operation for starting the recording of the vehicle information and an off operation for stopping the recording of the vehicle information, and is provided at a position where the driver can operate, for example, in the vicinity of the instrument panel. .

センサ検出回路30は、複数の走行情報センサ37に接続されており、走行情報センサ37から取得した走行情報をCPU11に出力する回路である。走行情報センサ37とは車両の走行状態を示すデータを取得するセンサであり、一例として加速度センサや角速度センサが該当するが、これ以外のセンサの情報を取得してもよい。   The sensor detection circuit 30 is connected to a plurality of travel information sensors 37 and is a circuit that outputs travel information acquired from the travel information sensor 37 to the CPU 11. The traveling information sensor 37 is a sensor that acquires data indicating the traveling state of the vehicle. For example, the traveling information sensor 37 corresponds to an acceleration sensor or an angular velocity sensor, but information from other sensors may be acquired.

CPU11は、アクセサリ電源がオンのときにスイッチ35にオン操作がなさされると車両情報の記録を開始し、アクセサリ電源がオフとなったとき、又はスイッチ35にオフ操作がなされたときに車両情報の記録を終了する。   The CPU 11 starts recording vehicle information when the switch 35 is turned on when the accessory power is on, and the vehicle information is recorded when the accessory power is turned off or when the switch 35 is turned off. End recording.

またECU1は図示しない周知のリアルタイムクロックを備えており、CPU11は現在時刻の情報を取得することができる。
(2)CPU11による制御
(2−1)エンスト発生時の車両情報の記録動作
図2を用いて、本実施形態のECU1によるエンスト発生時の車両情報の記録制御の具体例を説明する。図2は、車両走行中にエンジンがエンストし、所定時間経過してから運転者がエンジンを始動する場合のECU1の動作を時系列に示している。
The ECU 1 includes a well-known real time clock (not shown), and the CPU 11 can acquire information on the current time.
(2) Control by CPU 11 (2-1) Recording operation of vehicle information at the time of occurrence of engine stall A specific example of the vehicle information recording control at the time of engine stall by the ECU 1 of the present embodiment will be described with reference to FIG. FIG. 2 shows the operation of the ECU 1 in time series when the engine is stalled while the vehicle is running and the driver starts the engine after a predetermined time has elapsed.

図2において、「キー状態」とは、イグニッションキー(IGキー)のスイッチング状態を示している。IGキーは運転者の操作により切り替えられる。IGキーは、常時電源のみがオンとなるLock位置(図2の(iii))、常時電源とアクセサリ電源がオンとなるACC位置(同(iv))、常時電源,アクセサリ電源及びIG電源のいずれもがオンとなるON位置(同(i),(ii),(vii))、及び常時電源がオンでスターターモータによるクランキングを実行するSTART位置(同(v),(vi))に切り替えが可能である。   In FIG. 2, “key state” indicates a switching state of the ignition key (IG key). The IG key is switched by the driver's operation. The IG key has a lock position where only the power supply is always on ((iii) in FIG. 2), an ACC position where the constant power supply and the accessory power supply are on (same (iv)), any of the constant power supply, the accessory power supply, and the IG power supply. Switch to the ON position (same (i), (ii), (vii)) where the motor is turned on, and the START position (same (v), (vi)) where the power supply is always on and the cranking by the starter motor is executed Is possible.

また「車両状態」とは、CPU11による車両情報の記録制御のために必要な情報である。具体的にはE/G回転数、車両の走行速度(車速)、常時電源(+B)の出力状態、アクセサリ電源(ACC)の出力状態が車両状態に該当する。   The “vehicle state” is information necessary for the recording control of vehicle information by the CPU 11. Specifically, the E / G rotation speed, the traveling speed (vehicle speed) of the vehicle, the output state of the constant power source (+ B), and the output state of the accessory power source (ACC) correspond to the vehicle state.

また「ECU内部」において、「+B−DET」、「ACC−DET」は、常時電源及びアクセサリ電源のオンオフ状態を示す電源状態信号である。「ECU状態」とはECU1の動作・処理の状態を示しており、「処理・判定」とはその具体的な処理内容を示している。   Further, in “inside the ECU”, “+ B−DET” and “ACC-DET” are power state signals indicating the on / off states of the constant power source and the accessory power source. The “ECU state” indicates the state of operation / processing of the ECU 1, and the “processing / determination” indicates the specific processing content.

「ロギング状態」とは、車両情報のデータファイルへの書込みが行われている(ロギング中である)か否かを示している。ECU状態が「不揮発性メモリに書込み中」の場合と、ロギング状態が「ロギング」の場合とは、いずれも車両情報のデータファイルへの書込みが行われていることを意味する。   The “logging state” indicates whether or not the vehicle information is written to the data file (being logged). When the ECU state is “writing to the non-volatile memory” and the logging state is “logging”, it means that the vehicle information is written to the data file.

図2の動作例は、IGキーが(i)の位置であり、車両が走行中であり、かつ車両情報を記録中である状態から開始する。ロギング中は、不揮発性メモリ13から構成される記憶領域上のデータファイルに車両情報が連続的に書込まれている。なお連続的な書込みとは、所定の周期又は短い時間間隔で書込み処理を実行することを意味する。   The operation example of FIG. 2 starts from a state in which the IG key is at the position (i), the vehicle is running, and vehicle information is being recorded. During logging, vehicle information is continuously written in a data file on a storage area composed of the nonvolatile memory 13. The continuous writing means that the writing process is executed at a predetermined cycle or a short time interval.

この状態においてエンストが発生すると、E/G回転数が低下する。同時に車速も低下し、車速が0となり車両が停止する。キー状態は運転者が操作するまでの間は(ii)のようにオンのままである。   When engine stall occurs in this state, the E / G rotation speed decreases. At the same time, the vehicle speed decreases, the vehicle speed becomes zero, and the vehicle stops. The key state remains on as shown in (ii) until the driver operates.

CPU11はE/G回転数、及び車速を監視することで、エンスト及び車両停止を確認している。「処理・判定」に示すように、IGキーがオンであってE/G回転数が所定の閾値(本実施形態では200rpm)以下となったときに、エンストの発生が確認される。また車速が所定の閾値(本実施形態では10km/h)以下となったときに、車両の停止が確認される。   The CPU 11 checks the engine stall and vehicle stoppage by monitoring the E / G rotation speed and the vehicle speed. As shown in “Processing / Determination”, the occurrence of engine stall is confirmed when the IG key is on and the E / G rotation speed is equal to or lower than a predetermined threshold (200 rpm in the present embodiment). Further, when the vehicle speed becomes equal to or lower than a predetermined threshold (10 km / h in this embodiment), the stop of the vehicle is confirmed.

エンスト及び車両停止が確認されると、CPU11はロギング中のデータファイルのクローズを実行して、バッテリの電圧低下によりデータが失われにくい保護された状態とする。またCPU11はエンスト情報を不揮発性メモリ13の所定の記憶領域にバックアップする。ファイルクローズ及びバックアップが終了した後、ECU1は待機状態となる。   When the engine stall and the vehicle stop are confirmed, the CPU 11 executes the closing of the data file being logged so that the data is not easily lost due to the battery voltage drop. Further, the CPU 11 backs up the engine stall information in a predetermined storage area of the nonvolatile memory 13. After the file close and backup are completed, the ECU 1 enters a standby state.

ここで運転者がIGキーを操作して(iii)のようにLock位置とすると、アクセサリ電源がオフとなってACC−DETがローレベルとなり、ECU1の各機能を安全に停止して省電力のスタンバイ状態とするためにACC終了処理が実行される。   Here, when the driver operates the IG key to set the lock position as shown in (iii), the accessory power supply is turned off and ACC-DET goes to a low level, and each function of the ECU 1 is safely stopped to save power. An ACC termination process is executed to set the standby state.

スタンバイ状態において運転者がIGキーを操作して(iv)のようにACC位置とすると、アクセサリ電源がオンとなり、ECU1を各機能の実行が可能な起動状態とするために起動処理が実行される。   When the driver operates the IG key in the standby state to set the ACC position as shown in (iv), the accessory power supply is turned on, and the startup process is executed to bring the ECU 1 into a startup state in which each function can be executed. .

ECU1が起動状態となると、E/G回転数を確認するとともにエンスト情報がバックアップされているか確認する。E/G回転数が所定の閾値(本実施形態では500rpm)以上、エンスト情報のバックアップが存在すること、及びエンスト情報に含まれる時刻情報から現在時刻までの経過時間が所定の閾値以下であること、を全て満たす場合に、ロギングが再開される。   When the ECU 1 is in an activated state, the E / G rotation speed is confirmed and whether the engine stall information is backed up. The E / G rotation speed is equal to or greater than a predetermined threshold (500 rpm in the present embodiment), the backup of the engine stall information exists, and the elapsed time from the time information included in the engine stall information to the current time is equal to or less than the predetermined threshold. Logging is resumed when all of the above are satisfied.

ここではエンスト情報のバックアップは存在するもののE/G回転数が所定の閾値以下であるため、ロギングは開始されず、待機状態となる。
その後、運転者がエンジンを始動させようとしてIGキーを(v)のSTART位置に切り替えると、アクセサリ電源がオフとなるため上述したACC終了処理が実行される。また、クランキングにより常時電源の電圧が低下する結果、一時的に+B−DETがローレベルになり、+B終了処理が開始される。その後常時電源の電圧が回復すると、アクセサリ電源がオンとなるまでスタンバイ状態となる。
Here, although the backup of the engine stall information exists, the E / G rotation speed is equal to or less than the predetermined threshold value, so that logging is not started and a standby state is entered.
Thereafter, when the driver tries to start the engine and switches the IG key to the START position (v), the accessory power supply is turned off, so the above-described ACC termination process is executed. In addition, as a result of the voltage of the power supply constantly decreasing due to the cranking, + B-DET temporarily becomes a low level, and + B end processing is started. After that, when the voltage of the power supply is restored, the standby state is maintained until the accessory power supply is turned on.

エンジンが始動してE/G回転数が上がると、運転者はIGキーを(vi)のSTART位置から(vii)のON位置に戻す。その結果アクセサリ電源がオンとなり、ECU1は上述した起動処理を実行する。   When the engine starts and the E / G speed increases, the driver returns the IG key from the (vi) START position to the (vii) ON position. As a result, the accessory power supply is turned on, and the ECU 1 executes the startup process described above.

ECU1が起動状態となると、E/G回転数を確認するとともにエンスト情報がバックアップされているか確認する。ここでは、エンスト情報のバックアップが存在し、E/G回転数も所定の閾値を超えている。また、エンスト情報に含まれる時刻情報から現在時刻までの経過時間が所定の閾値(本実施形態においては5分)以下であるため、バックアップされていたエンスト情報を削除して、ロギングを再開する。   When the ECU 1 is in an activated state, the E / G rotation speed is confirmed and whether the engine stall information is backed up. Here, there is a backup of engine stall information, and the E / G rotation speed exceeds a predetermined threshold. In addition, since the elapsed time from the time information included in the engine stall information to the current time is less than or equal to a predetermined threshold (in this embodiment, 5 minutes), the backup engine engine information is deleted and logging is restarted.

(2−2)車両情報記録処理
ECU1のCPU11が実行する車両情報記録処理について図3のフローチャートに基づいて説明する。本処理は、ECU1がアクセサリ電源の電力供給を受けて起動状態となったときに開始される。
(2-2) Vehicle information recording process The vehicle information recording process which CPU11 of ECU1 performs is demonstrated based on the flowchart of FIG. This process is started when the ECU 1 is activated by receiving power from the accessory power source.

本処理は、まずS1にて、エンスト情報がバックアップされているか否かを判定する。エンスト情報がバックアップされていなければ(S1:NO)処理がS2に移行する。エンスト情報がバックアップされていれば(S1:YES)、処理がS9に移行する。   In this process, first, in S1, it is determined whether or not the engine stall information is backed up. If the stall information has not been backed up (S1: NO), the process proceeds to S2. If the engine stall information has been backed up (S1: YES), the process proceeds to S9.

次のS2では、記録開始のトリガがあるか否かを判定する。記録開始のトリガとは、スイッチ35にてオン操作があったことであるが、それ以外のトリガであってもよい。記録開始のトリガが無ければ(S2:NO)、再度S2を実行し、トリガがあるまで待機する。記録開始のトリガがあれば(S2:YES)、処理がS3に移行する。   In next S2, it is determined whether or not there is a trigger to start recording. The trigger for starting recording is that the switch 35 is turned on, but other triggers may be used. If there is no recording start trigger (S2: NO), S2 is executed again, and the process waits until there is a trigger. If there is a recording start trigger (S2: YES), the process proceeds to S3.

次のS3では、車両情報の記録を開始する。CPU11は、不揮発性メモリ13から構成された記憶領域上に車両情報を書込むデータファイルを作成する。そしてそのデータファイルをオープンして、車両情報を時刻情報と共に所定の時間間隔(例えば100ms)で書込む。   In the next S3, recording of vehicle information is started. The CPU 11 creates a data file in which vehicle information is written on a storage area configured from the nonvolatile memory 13. Then, the data file is opened, and vehicle information is written together with time information at a predetermined time interval (for example, 100 ms).

車両情報の記録を開始した後、S4にて、記録終了のトリガがあるか否かを判定する。記録終了のトリガとは、スイッチ35にてオフ操作があったこと、又はアクセサリ電源がオフとなったことであるが、それ以外のトリガであってもよい。記録終了のトリガがあれば(S4:YES)、処理がS5へ移行する。一方記録終了のトリガが無ければ(S4:NO)処理がS6へ移行する。   After starting the recording of the vehicle information, it is determined in S4 whether there is a recording end trigger. The recording end trigger is that the switch 35 has been turned off or the accessory power source is turned off, but other triggers may be used. If there is a recording end trigger (S4: YES), the process proceeds to S5. On the other hand, if there is no recording end trigger (S4: NO), the process proceeds to S6.

次のS5では、ファイルをクローズする。ここでは、車両情報の書込みが実行されていたデータファイルへの書込み操作を終了して、データファイルを保護された状態とする。その後、処理がS2へ戻る。   In the next S5, the file is closed. Here, the writing operation to the data file in which the writing of the vehicle information has been executed is terminated, and the data file is set in a protected state. Thereafter, the process returns to S2.

またS6では、エンスト状態かつ車両停止状態であるかを判定する。ここではイグニッション電源がオン(IGキーがON位置)であり、かつE/G回転数が所定の閾値(200rpm)以下である場合にエンスト状態と判定される。また車速が所定の閾値(10km/h)以下である場合に車両停止状態と判定される。これらすべての条件を満たすときに、エンスト状態でありかつ車両停止状態であると判定される。   In S6, it is determined whether the engine is stalled and the vehicle is stopped. Here, it is determined that the engine is stalled when the ignition power is on (IG key is in the ON position) and the E / G rotational speed is equal to or less than a predetermined threshold (200 rpm). Further, when the vehicle speed is equal to or lower than a predetermined threshold (10 km / h), it is determined that the vehicle is stopped. When all these conditions are satisfied, it is determined that the engine is in the stalled state and the vehicle is in a stopped state.

エンスト状態かつ車両停止状態であると判定されなければ(S6:NO)、処理がS4に戻る。一方、エンスト状態かつ車両停止状態であると判定されれば(S6:YES)、S7にて、上述したS5と同様に、車両情報の書込みが実行されていたデータファイルをクローズする。   If it is not determined that the engine is stalled and the vehicle is stopped (S6: NO), the process returns to S4. On the other hand, if it is determined that the vehicle is in the stalled state and the vehicle is stopped (S6: YES), the data file in which the vehicle information has been written is closed in S7 as in S5 described above.

次のS8では、S6にて判定されたエンストに関するエンスト情報を不揮発性メモリ13にバックアップする。エンスト情報に含まれる時刻情報は、例えばS6にてエンスト状態かつ車両停止状態であると判定された時刻とすることができる。このS8の後、本処理を終了する。   In next S8, the engine stall information related to the engine stall determined in S6 is backed up in the nonvolatile memory 13. The time information included in the engine stall information can be, for example, the time determined in S6 as the engine stalled state and the vehicle stopped state. After this S8, this process ends.

なお、時刻情報として記録される時刻は、エンストの発生に起因した所定のタイミングであればよく、上記S6における判定のタイミングに限定されない。例えばエンスト状態であると判定された時刻を時刻情報として記録してもよいし、S8にてバックアップを行う時刻を時刻情報として記録してもよい。   The time recorded as the time information may be a predetermined timing due to the occurrence of engine stall, and is not limited to the determination timing in S6. For example, the time determined to be in the stalled state may be recorded as time information, or the time at which backup is performed in S8 may be recorded as time information.

またS9では、E/G回転数が所定の閾値(500rpm)以上であるか否かを判定する。所定の閾値以上でなければ(S9:NO)、本処理を終了する。一方、所定の閾値以上であれば(S9:YES)、処理がS10に移行する。   In S9, it is determined whether or not the E / G rotation speed is equal to or greater than a predetermined threshold (500 rpm). If it is not equal to or greater than the predetermined threshold (S9: NO), this process ends. On the other hand, if it is equal to or greater than the predetermined threshold (S9: YES), the process proceeds to S10.

次のS10では、S8にてバックアップが実行されてから現在時刻までの経過時間が所定時間(5分)以内であるか否かを判定する。ここでは、エンスト情報に含まれる時刻情報と現在時刻との比較から経過時間を算出する。所定時間以内であれば(S10:YES)、S11にて上述したS3と同様に車両情報の記録を開始し、S12にてバックアップされたエンスト情報を削除する。その後、処理がS4に移行する。   In next S10, it is determined whether or not the elapsed time from the execution of backup in S8 to the current time is within a predetermined time (5 minutes). Here, the elapsed time is calculated from a comparison between the time information included in the engine stall information and the current time. If it is within the predetermined time (S10: YES), recording of vehicle information is started in S11 as in S3 described above, and the engine stall information backed up in S12 is deleted. Thereafter, the process proceeds to S4.

一方、経過時間が所定時間以内でなければ(S10:NO)、車両情報の記録を開始することなく、S13にてバックアップされたエンスト情報を削除する。その後、処理がS2に戻る。   On the other hand, if the elapsed time is not within the predetermined time (S10: NO), the engine stall information backed up in S13 is deleted without starting the recording of the vehicle information. Thereafter, the process returns to S2.

(3)効果
本実施形態のECU1のCPU11は、走行用駆動源としてエンジンを備える車両の状態を示す車両情報を、不揮発性メモリ13から構成される記憶領域上のデータファイルに連続的に書込む。また、CPU11はエンジンがエンジンストールしたか否かを判定する(S6)。そしてCPU11は、エンジンがエンジンストールしたと判定されたときに、車両情報の書込みが実行されていたデータファイルをクローズする(S7)。
(3) Effect The CPU 11 of the ECU 1 of the present embodiment continuously writes vehicle information indicating the state of the vehicle including the engine as a driving source for travel to a data file on a storage area configured by the nonvolatile memory 13. . Further, the CPU 11 determines whether or not the engine has stalled (S6). When it is determined that the engine has stalled, the CPU 11 closes the data file in which the vehicle information has been written (S7).

即ち本実施形態のECU1は、エンストしたときには書込み中であったデータファイルを迅速にクローズされた状態とする。エンストした後はエンジンが再始動されるが、その際、ECU1は車両に搭載されたバッテリ、即ちクランキングを行うスターターモータを駆動させるバッテリからの電力供給を受けて駆動していることから、クランキングにより常時電源の電圧が低下すると、書込み中のデータが失われてしまう虞がある。   That is, the ECU 1 of the present embodiment quickly closes the data file that was being written when the stall was made. After the engine stalls, the engine is restarted. At this time, the ECU 1 is driven by receiving power from a battery mounted on the vehicle, that is, a battery that drives a starter motor that performs cranking. If the power supply voltage is constantly reduced due to ranking, data being written may be lost.

しかしながらECU1は、エンスト後のクランキングによりバッテリの電圧が一時的に急激に低下してしまっても、そのタイミングにおいてデータファイルがオープンの状態である可能性が低減されており、データファイルの損失が抑制され、より確実に車両情報を記録することができる。   However, even if the battery voltage temporarily drops suddenly due to cranking after the engine stall, the ECU 1 reduces the possibility that the data file is open at that timing, and the data file is lost. It is suppressed and vehicle information can be recorded more reliably.

また本実施形態のECU1は、CPU11が車両の走行速度が所定の閾値以下であるか否かを判定する(S6)。そして、CPU11はエンジンがエンジンストールしたと判定され、かつ、車両の走行速度が所定の閾値以下であると判定されたときに、車両情報の書込みが実行されていたデータファイルをクローズする(S7)。   Moreover, ECU1 of this embodiment determines whether CPU11 is the driving speed of a vehicle below a predetermined threshold value (S6). Then, when it is determined that the engine has stalled and the traveling speed of the vehicle is equal to or less than a predetermined threshold, the CPU 11 closes the data file in which the vehicle information has been written (S7). .

このように構成されたECU1は、エンストが判定されたとしても車速が一定以上であればデータファイルに車両情報の書込みを継続するため、より長い期間の車両情報を取得することができる。このような機能が要求される場面としては、例えばサーキット走行中の車両がエンストによりスリップした場合が考えられる。このような場合は、エンストが発生した後もなるべく長い期間、車両情報を記録したいという要望があるためである。   Even if the engine stall is determined, the ECU 1 configured as described above can continue to write the vehicle information in the data file if the vehicle speed is equal to or higher than a certain value, and can acquire vehicle information for a longer period. As a scene where such a function is required, for example, a vehicle traveling on a circuit may slip due to an engine stall. In such a case, there is a desire to record the vehicle information for as long a period as possible after the engine stall.

なお、車速が一定以上であれば運転者は車両を操作する必要があり、その間にIGキーを操作してエンジンを再始動させる可能性は低いため、車速が低下するまで車両情報の記録を継続しても車両情報が失われてしまう危険が大きく高まることはない。   If the vehicle speed is above a certain level, the driver needs to operate the vehicle, and during that time, it is unlikely that the engine will be restarted by operating the IG key, so vehicle information will continue to be recorded until the vehicle speed decreases. However, the risk of losing vehicle information does not increase significantly.

また本実施形態のECU1は、車両情報の記録中にエンストすることによって記録が中断しても、エンジンの始動に応じて記録を再開する。よって、車両情報を継続して記録したい場合であっても、エンジン始動後に運転者による記録を開始するための操作を必要とせず、利便性が向上する。   Further, the ECU 1 of the present embodiment resumes the recording in response to the start of the engine even if the recording is interrupted by stopping during the recording of the vehicle information. Therefore, even when it is desired to continuously record the vehicle information, an operation for starting recording by the driver after the engine is started is not required, and convenience is improved.

[その他の実施形態]
以上、本発明の実施形態について説明したが、本発明は、上記実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の形態をとり得ることはいうまでもない。
[Other Embodiments]
Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and it goes without saying that various forms can be taken as long as they belong to the technical scope of the present invention.

例えば、上記実施形態においては、エンストしたことを示すフラグと時刻情報とを含むデータをエンスト情報として不揮発性メモリ13に記録する構成を例示したが、エンストが発生したことを確認できるデータであれば上記以外のデータであってもよい。   For example, in the above-described embodiment, the configuration in which the data including the flag indicating the engine stall and the time information is recorded in the nonvolatile memory 13 as the engine stall information is illustrated. However, any data that can confirm the engine stall is generated. Data other than the above may be used.

なおエンスト情報は1つのデータとして記録される必要はなく、例えばエンストを示すフラグのデータと時刻情報を示すデータとが関連付けがなされた別個のデータとして記録される構成であってもよい。   The engine stall information need not be recorded as a single piece of data. For example, the flag information indicating the engine stall and the data indicating the time information may be recorded as separate data associated with each other.

また上記実施形態においては、イグニッション電源がオンでありE/G回転数が所定の閾値以下となったときにエンストしたと判定する構成を例示したが、上記以外にも様々なエンストの判定方法を採用することができる。   Moreover, in the said embodiment, although the structure which determines with having been stalled when the ignition power supply was on and the E / G rotation speed became below a predetermined threshold was illustrated, various determination methods of the engine stall other than the above were also demonstrated. Can be adopted.

また上記実施形態においては、図3のS6において、エンスト状態が判定され、かつ車両停止状態が判定されたときに、S7にてファイルクローズを行う構成を例示したが、車両停止状態の判定を考慮せず、エンスト状態が判定されたときにファイルクローズを行う構成であってもよい。このように構成することで、車両情報の記録期間は短くなるものの、より確実にデータファイルを安全に保存することができる。   Moreover, in the said embodiment, when the stall state was determined in S6 of FIG. 3, and the vehicle stop state was determined, the structure which performs a file close in S7 was illustrated, but the determination of a vehicle stop state is considered. Alternatively, the file may be closed when the engine stall state is determined. With this configuration, the vehicle information recording period is shortened, but the data file can be securely stored more securely.

また上記実施形態においては、CPU11が本発明における記録制御手段、エンスト判定手段、及び車速判定手段として機能する構成を例示したが、各手段が異なるCPU、チップ、集積回路などによって機能するように構成されていてもよい。   In the above embodiment, the CPU 11 functions as a recording control means, an engine stall determination means, and a vehicle speed determination means in the present invention. However, each means functions as a different CPU, chip, integrated circuit, or the like. May be.

また上記実施形態においては、エンストしてからエンジンが始動するまでの時間を計測するために、エンスト情報として記録された時刻情報と現在時刻とを比較する構成を例示したが、上記時間はそれ以外の手法で計測されてもよい。例えばエンスト状態と判定されてからの時間をカウントするタイマーを備える構成であってもよい。   Moreover, in the said embodiment, in order to measure the time after an engine stall until an engine starts, the structure which compares the time information recorded as engine stall information with the present time was illustrated, but the said time is other than that It may be measured by this method. For example, the structure provided with the timer which counts the time after determining with an engine stall state may be sufficient.

また上記実施形態においては、不揮発性メモリ13に車両情報及びエンスト情報を記録する構成を例示したが、これらは異なる記録装置に記憶される構成であってもよい。但し、いずれも不揮発性メモリやハードディスクといった電力供給がなくともデータを保持可能な記録装置に記録させることが望ましい。   Moreover, in the said embodiment, although the structure which records vehicle information and engine information in the non-volatile memory 13 was illustrated, the structure memorize | stored in a different recording device may be sufficient. However, in any case, it is desirable to record the data in a recording device capable of holding data without supplying power such as a nonvolatile memory or a hard disk.

なお、上述したECU1が備える各機能は、プログラムによりコンピュータに実現させることができる。
上記プログラムは、コンピュータによる処理に適した命令の順番付けられた列からなるものであって、コンピュータに組み込まれるROMやRAMなどに記憶され、これらからコンピュータにロードされて用いられてもよいし、各種記録媒体や通信回線を介してコンピュータにロードされ用いられるものであってもよい。
Note that the functions of the ECU 1 described above can be realized by a computer by a program.
The program consists of an ordered sequence of instructions suitable for processing by a computer, stored in a ROM or RAM incorporated in the computer, and may be loaded and used from there. It may be loaded into a computer and used via various recording media and communication lines.

記録媒体としては、CD−ROMやDVD−ROM等の光ディスク、磁気ディスク、半導体製メモリ等が挙げられる。   Examples of the recording medium include optical disks such as CD-ROM and DVD-ROM, magnetic disks, and semiconductor memories.

1…車両情報記録装置(ECU)、11…CPU、13…不揮発性メモリ、15…RAM、17…ROM、23…電源検出回路、25…GNSSレシーバ、27…車両情報検出回路、29…スイッチ検出回路、31…GNSSアンテナ、33…CAN、35…スイッチ DESCRIPTION OF SYMBOLS 1 ... Vehicle information recording device (ECU), 11 ... CPU, 13 ... Nonvolatile memory, 15 ... RAM, 17 ... ROM, 23 ... Power supply detection circuit, 25 ... GNSS receiver, 27 ... Vehicle information detection circuit, 29 ... Switch detection Circuit 31 ... GNSS antenna 33 ... CAN 35 ... Switch

Claims (4)

走行用駆動源としてエンジンを備える車両の状態を示す車両情報を、不揮発性メモリ(13)から構成される記憶領域上のデータファイルに連続的に書込む記録制御手段(11)と、
前記エンジンがエンジンストールしたか否かを判定するエンスト判定手段(11)と、を備え、
前記記録制御手段は、前記エンスト判定手段により前記エンジンがエンジンストールしたと判定されたときに、前記車両情報の書込みが実行されていた前記データファイルをクローズする
ことを特徴とする車両情報記録装置(1)。
A recording control means (11) for continuously writing vehicle information indicating a state of a vehicle including an engine as a driving source for traveling to a data file on a storage area composed of a nonvolatile memory (13);
Engine determination means (11) for determining whether or not the engine has stalled,
The recording control unit closes the data file in which the vehicle information has been written when the engine determination unit determines that the engine has stalled. 1).
前記車両の走行速度が所定の閾値以下であるか否かを判定する車速判定手段(11)を備え、
前記記録制御手段は、前記エンスト判定手段により前記エンジンがエンジンストールしたと判定され、かつ、前記車速判定手段により前記車両の走行速度が所定の閾値以下であると判定されたときに、前記車両情報の書込みが実行されていた前記データファイルをクローズする
ことを特徴とする請求項1に記載の車両情報記録装置。
Vehicle speed determining means (11) for determining whether the traveling speed of the vehicle is equal to or less than a predetermined threshold;
The recording control means determines the vehicle information when the engine determination means determines that the engine has stalled, and the vehicle speed determination means determines that the traveling speed of the vehicle is equal to or less than a predetermined threshold. The vehicle information recording apparatus according to claim 1, wherein the data file that has been written is closed.
当該車両情報記録装置は、前記車両に搭載されたバッテリからの電力供給を受けて駆動する
ことを特徴とする請求項1又は請求項2に記載の車両情報記録装置。
The vehicle information recording apparatus according to claim 1, wherein the vehicle information recording apparatus is driven by receiving power supply from a battery mounted on the vehicle.
請求項1又は請求項2に記載の車両情報記録装置の各手段として、コンピュータを機能させるためのプログラム。   The program for functioning a computer as each means of the vehicle information recording device of Claim 1 or Claim 2.
JP2014026610A 2014-02-14 2014-02-14 Vehicle information recording apparatus and program Expired - Fee Related JP6331446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014026610A JP6331446B2 (en) 2014-02-14 2014-02-14 Vehicle information recording apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014026610A JP6331446B2 (en) 2014-02-14 2014-02-14 Vehicle information recording apparatus and program

Publications (2)

Publication Number Publication Date
JP2015151936A true JP2015151936A (en) 2015-08-24
JP6331446B2 JP6331446B2 (en) 2018-05-30

Family

ID=53894467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014026610A Expired - Fee Related JP6331446B2 (en) 2014-02-14 2014-02-14 Vehicle information recording apparatus and program

Country Status (1)

Country Link
JP (1) JP6331446B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61292709A (en) * 1985-06-20 1986-12-23 Nissan Motor Co Ltd Signal storage device
JPS62258154A (en) * 1986-05-01 1987-11-10 Hitachi Ltd Data back-up device
JPS6413601A (en) * 1987-07-07 1989-01-18 Aisin Aw Co Save/restore system for stored information in vehicle control system
JP2005263010A (en) * 2004-03-18 2005-09-29 Nsk Ltd Electric power steering device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61292709A (en) * 1985-06-20 1986-12-23 Nissan Motor Co Ltd Signal storage device
JPS62258154A (en) * 1986-05-01 1987-11-10 Hitachi Ltd Data back-up device
JPS6413601A (en) * 1987-07-07 1989-01-18 Aisin Aw Co Save/restore system for stored information in vehicle control system
JP2005263010A (en) * 2004-03-18 2005-09-29 Nsk Ltd Electric power steering device

Also Published As

Publication number Publication date
JP6331446B2 (en) 2018-05-30

Similar Documents

Publication Publication Date Title
JP4368902B2 (en) Eco-run control device and control method
JP6323044B2 (en) Vehicle information recording apparatus and program
JP2002347541A (en) On-vehicle control device
JPH0742888B2 (en) Engine controller
US9777648B2 (en) Electronic controller
JP2006205795A (en) Power control device
JP6024508B2 (en) Vehicle data processing device
JP2006328965A (en) Vehicle control method and electronic control device,
JP6331446B2 (en) Vehicle information recording apparatus and program
JP4412222B2 (en) VEHICLE CONTROL METHOD AND ELECTRONIC CONTROL DEVICE
JP2002041367A (en) Vehicle controller
JP4734444B2 (en) Eco-run control device and control method
WO2018079537A1 (en) Electronic control unit and data protection method therefor
JP2001222731A (en) Drive recorder
US9994174B2 (en) Smart power supply interface, vehicle-mounted electronic component with the same and method of controlling the same
JP6390538B2 (en) Steering control device
JP2009107509A (en) On-vehicle electronic equipment
JP6258126B2 (en) In-vehicle control device
JP2001076494A (en) Electronic control device and recording medium
JP6013675B2 (en) In-vehicle device
JP2000285684A (en) Electronic control device and recording medium
JP2004217106A (en) Device for movable body, method and program for driving the same, and information recording medium recording the program
JP5050685B2 (en) Vehicle control apparatus and program
JP2004011430A (en) Engine control device
JP2011178344A (en) Failure occurrence information transmission control device and on-vehicle device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170818

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180109

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180416

R151 Written notification of patent or utility model registration

Ref document number: 6331446

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees