WO2013014765A1 - Vehicle data recording apparatus - Google Patents

Vehicle data recording apparatus Download PDF

Info

Publication number
WO2013014765A1
WO2013014765A1 PCT/JP2011/067106 JP2011067106W WO2013014765A1 WO 2013014765 A1 WO2013014765 A1 WO 2013014765A1 JP 2011067106 W JP2011067106 W JP 2011067106W WO 2013014765 A1 WO2013014765 A1 WO 2013014765A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
recording
trigger
unit
vehicle
Prior art date
Application number
PCT/JP2011/067106
Other languages
French (fr)
Japanese (ja)
Inventor
橋本 佳幸
Original Assignee
トヨタ自動車株式会社
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 トヨタ自動車株式会社 filed Critical トヨタ自動車株式会社
Priority to PCT/JP2011/067106 priority Critical patent/WO2013014765A1/en
Publication of WO2013014765A1 publication Critical patent/WO2013014765A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/23Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder by means of a password

Definitions

  • the present invention relates to a vehicular data recording apparatus, and more particularly to a vehicular data recording apparatus which is mounted on a vehicle and is suitable for recording data indicating a use state or a running state of the vehicle in a recording unit.
  • a vehicle data recording apparatus that erases data with low priority from a recording unit is known (see, for example, Patent Document 1).
  • a higher priority is given to data, and the priority of data whose importance decreases with time is low. Updated to value.
  • the remaining capacity that can be recorded and held in the recording unit falls below a predetermined capacity, the data recorded in the recording unit is erased in order from the data with the lower priority so that the data with the higher priority remains.
  • the present invention has been made in view of the above points, and provides a vehicular data recording apparatus capable of reliably recording and holding data at the occurrence of a serious event without increasing the recording capacity of a recording unit.
  • the purpose is to do.
  • the object is to acquire data when a data acquisition unit that acquires data indicating a use state or a driving state of a vehicle and a predetermined parameter out of a predetermined range among the data acquired by the data acquisition unit. And a recording control unit that records the data acquired by the recording unit in a recording unit, wherein the recording control unit includes the predetermined parameter acquired by the data acquiring unit within the predetermined range.
  • a vehicular data recording apparatus that records the data when the degree of deviation from the data is large in the recording unit with priority over the data when the degree is small.
  • the present invention it is possible to reliably record and hold data indicating the use state and running state of the vehicle when a serious event occurs without increasing the recording capacity of the recording unit.
  • FIG. 1 is a configuration diagram of a system including a vehicle data recording apparatus according to an embodiment of the present invention. It is a flowchart of an example of the main routine performed in the vehicle data recording device which is one Example of this invention. It is a flowchart of an example of the subroutine performed in order to perform a data recording process in the data recording device for vehicles which is one Example of this invention.
  • FIG. 1 shows a configuration diagram of a system including a vehicle data recording apparatus 10 according to an embodiment of the present invention.
  • the vehicle data recording device 10 according to the present embodiment is a device that is mounted on a vehicle and records data indicating the use state and the running state of the vehicle, and analyzes the use state and the running state of the vehicle after the vehicle travels. For this purpose, the recorded data is output externally.
  • the system of this embodiment includes a vehicle data recording device 10.
  • a sensor 12 and an electronic control unit (ECU) 14 are connected to the vehicular data recording apparatus 10 directly or via an in-vehicle communication network 16.
  • the sensor 12 is directly connected and the ECU 14 is connected via the in-vehicle communication network 16.
  • Each of the vehicle data recording device 10 and the ECU 14 can perform mutual communication according to a protocol suitable for the in-vehicle communication network 16.
  • the sensor 12 is a sensor that outputs an electrical signal corresponding to longitudinal acceleration, accelerator opening, brake oil pressure, tire air pressure, etc., indicating the use state or running state of the vehicle.
  • the ECU 14 is mainly composed of a microcomputer and outputs an electrical signal corresponding to longitudinal acceleration, vehicle speed, accelerator opening, brake hydraulic pressure, tire air pressure, shift position, steering angle, etc., indicating the use state or running state of the vehicle. This is a control circuit that can be supplied to another ECU via the in-vehicle communication network 16.
  • the sensor 12 and the ECU 14 may be provided with only one sensor that outputs a signal indicating one specific use state or traveling state, but outputs a signal indicating a different use state or traveling state. Two or more may be provided.
  • the sensor 12 is a longitudinal acceleration sensor that outputs an electrical signal corresponding to the longitudinal acceleration
  • the ECU 14 is an engine control ECU that performs engine control, a brake control ECU that performs brake control, and a steering control ECU that performs steering control. is there.
  • the output signal of the sensor 12 is supplied to the vehicle data recording device 10, and the output signal of the ECU 14 can be supplied to the vehicle data recording device 10.
  • the vehicular data recording device 10 is a data recording ECU mainly composed of a microcomputer 20.
  • the microcomputer 20 has a built-in memory 22.
  • the memory 22 includes a volatile RAM 24 that is a temporary recording area and a rewritable nonvolatile flash ROM 26 that is a permanent recording area.
  • the RAM 24 can be recorded only when the ignition switch of the vehicle is turned on, and the flash ROM 26 can be recorded even when the ignition switch of the vehicle is turned off.
  • FIG. 2 shows a flowchart of an example of a main routine executed by the microcomputer 20 in the vehicle data recording apparatus 10 of the present embodiment.
  • FIG. 3 shows a flowchart of an example of a subroutine executed by the microcomputer 20 to perform data recording processing to the flash ROM 26 in the vehicle data recording apparatus 10 of the present embodiment.
  • the microcomputer 20 when the ignition switch of the vehicle is turned on, the microcomputer 20 thereafter periodically transmits a signal from the sensor 12 and the ECU 14 at a predetermined sampling interval s (for example, 500 ms). Based on the signal from the vehicle, various usage states and running states of the vehicle are sampled (step 100). Then, the sampled data indicating the use state and the running state at substantially the same timing are collectively recorded in the RAM 24 (step 200). In the RAM 24, all data sampled in the past predetermined time (for example, 2 seconds, 5 seconds, 10 seconds, 1 minute, etc.) t1 is temporarily recorded.
  • a predetermined sampling interval s for example, 500 ms.
  • the microcomputer 20 samples the use state or running state of the vehicle in the step 200, next, whether or not the data indicating the use state or running state of the vehicle should be recorded in the flash ROM 26, or the data recording is performed. It is determined whether or not to end (hereinafter referred to as trigger ON / OFF determination) (step 300).
  • the data as the determination parameter used in the trigger ON / OFF determination may be at least one of the data obtained by using the sensor 12 and the ECU 14 in the current sampling, for example, the longitudinal acceleration of the vehicle May be data indicating. Further, when two or more pieces of data both satisfy the trigger ON condition or the trigger OFF condition, the trigger ON determination or the trigger OFF determination may be affirmed.
  • the data to be recorded in the flash ROM 26 includes at least the data as the determination parameter and includes other data (for example, vehicle speed, accelerator opening, brake hydraulic pressure, shift position, steering angle, etc.). That's fine.
  • step 300 described above the determination as to whether or not the data indicating the use state or the running state of the vehicle should be recorded in the flash ROM 26 is performed before the data recording in the flash ROM 26 is executed (hereinafter, referred to as “recording data”). This is referred to as “pre-trigger ON determination”, and is affirmed when the sampled data as a determination parameter indicating the use state or running state of the vehicle satisfies the trigger ON condition.
  • the determination as to whether or not the data recording to the flash ROM 26 should be terminated is a determination performed when the data recording to the flash ROM 26 is being executed (hereinafter referred to as a determination after trigger ON), and is sampled. The determination is affirmed when data as a determination parameter indicating the use state or running state of the vehicle satisfies the trigger OFF condition.
  • the trigger threshold for example, 0.3 G
  • the determination before trigger ON is affirmed, and data is recorded in the flash ROM 26.
  • the trigger is turned on.
  • the longitudinal acceleration as the determination parameter sampled this time by the sensor 12 falls below the trigger threshold (for example, 0.3 G) (for example, 0.1 G)
  • the determination after the trigger is turned on is affirmed, and the trigger is turned off. In this case, the recording of the data indicating the use state and the running state of the vehicle in the flash ROM 26 is terminated.
  • the microcomputer 20 When the microcomputer 20 performs the trigger ON / OFF determination in the above step 300, the microcomputer 20 next performs a process for recording data indicating the use state or the running state of the vehicle in the flash ROM 26 (hereinafter referred to as a data recording process). Execute (step 400). Note that the data per trigger to be recorded in the flash ROM 26 when the trigger is switched from OFF to ON includes all the data within the predetermined past time t1 temporarily recorded in the RAM 24, and will be described later. Data obtained using the sensor 12 or the ECU 14 before the predetermined time t2 elapses after the trigger is switched from OFF to ON may be included.
  • the microcomputer 20 first determines whether or not the determination before trigger ON is affirmed in step 300, that is, whether or not the trigger is switched from OFF to ON from the previous sampling to the current sampling. (Step 402). For example, whether the longitudinal acceleration sampled by the sensor 12 was a value smaller than the trigger threshold (for example, 0.3 G) in the previous sampling, but has shifted to a value larger than the trigger threshold in the subsequent sampling. Is determined.
  • the trigger threshold for example, 0.3 G
  • step 404 determines whether or not the recording area of the flash ROM 26 is full of past data. Whether or not the recording area of the flash ROM 26 is full is determined by determining whether the flash ROM 26 includes data at least within the past predetermined time t1 temporarily recorded in the RAM 24 (specifically, past data temporarily recorded in the RAM 24). It may be performed based on whether or not there is a remaining area in which data for one trigger including data within the predetermined time t1 and data until the predetermined time t2 after the trigger elapses can be recorded.
  • step 404 If the microcomputer 20 determines in step 404 that there is a remaining area where data for one trigger can be recorded in the flash ROM 26 and the recording area of the flash ROM 26 is not full, then the remaining area is used as the current trigger. Is set as a recording area for storing all data (data acquired within the past predetermined time t1 temporarily recorded in the RAM 24 and data acquired until the predetermined time t2 after the current trigger elapses). Perform (step 406).
  • step 404 determines whether there is no remaining area in the flash ROM 26 where data for one trigger can be recorded and the recording area of the flash ROM 26 is full.
  • all the data recorded in the flash ROM 26 is next stored.
  • the trigger is switched from OFF to ON (that is, when the trigger is established)
  • a process of reading the value of data (determination parameter) indicating the use state or running state of the vehicle that satisfies the trigger ON condition is performed ( Step 408).
  • events in which the longitudinal acceleration as a determination parameter is larger than a trigger threshold are “0.35 G”, “0.38 G”, When “0.40 G” and “0.55 G” have occurred 5 times, the longitudinal acceleration as the determination parameter for 5 times is read from the flash ROM 26.
  • the microcomputer 20 obtains the degree of deviation from the trigger threshold (in the case of longitudinal acceleration, the degree of increase) of the determination parameter that satisfies the trigger ON condition at the time when the trigger is established and is temporarily recorded in the RAM 24 by the current sampling. Compared with the degree of deviation from the trigger threshold (in the case of longitudinal acceleration, the degree of increase) of the determination parameter satisfying the trigger ON condition at the time of trigger establishment for every past trigger read in 408.
  • the determination parameter value itself that satisfies the trigger ON condition at the time when the trigger is established and is temporarily recorded in the RAM 24 is obtained for each trigger read in step 408 above. Even when comparing with the value of the determination parameter satisfying the trigger ON condition itself at the time when the trigger is established, there is no difference from the comparison result of the above divergence degrees, so instead of comparing the above divergence degrees, determination The parameter values themselves may be compared.
  • the degree of deviation from the trigger threshold of the determination parameter satisfying the trigger ON condition at the time when the trigger is acquired that is obtained by sampling this time and temporarily recorded in the RAM 24 is set to the trigger ON condition at the time when the trigger is satisfied for every past trigger.
  • the degree of deviation of the satisfied determination parameter from the trigger threshold is greater than any one, that is, data obtained by all the past triggers recorded in the flash ROM 26 is acquired by the current sampling and stored in the RAM 24. It is determined whether or not there is a parameter that includes a determination parameter at the time when the trigger is established whose degree of deviation is smaller than the degree of deviation from the trigger threshold of the determination parameter that satisfies the trigger ON condition when the trigger is temporarily recorded (step 410). .
  • the trigger threshold is 0.3 G
  • the longitudinal acceleration at the current sampling is 0.5 G
  • the longitudinal acceleration at the time when all past triggers recorded in the flash ROM 26 are 0.
  • the longitudinal acceleration (0.5G) or the degree of deviation from the trigger threshold (+ 0.2g) at the current sampling is recorded in the flash ROM 26. It is determined whether or not it is larger than any one of the longitudinal acceleration at the time when all the triggers are established or the degree of deviation from the trigger threshold.
  • step 402 when it is determined that the degree of deviation from the trigger threshold of the determination parameter at the time when the current trigger is established is smaller than any of the degree of deviation from the trigger threshold of the determination parameter at the time when the trigger is established for every past trigger Thereafter, the process of step 402 is executed again without any further process.
  • the degree of deviation of the determination parameter from the trigger threshold at the time when the trigger is established is greater than any one of the degrees of deviation of the determination parameter from the trigger threshold at the time of establishment of the trigger for every past trigger.
  • the area stores all data acquired by the current trigger (data acquired within the past predetermined time t1 temporarily recorded in the RAM 24 and data acquired until the predetermined time t2 after the current trigger elapses). Setting as a recording area is performed (step 412).
  • the microcomputer 20 sets the recording area for storing all the data acquired by the current trigger in the above step 406 or 412, the microcomputer 20 acquires it by sampling from the past predetermined time t1 temporarily recorded in the RAM 24 to the present time.
  • a process of recording the acquired data from the sensor 12 and the ECU 14 in the flash ROM 26 which is a permanent recording area is performed (step 414).
  • the microcomputer 20 records the data in the flash ROM 26, the microcomputer 20 executes the process of step 402 again.
  • step 402 If the microcomputer 20 does not determine in step 402 that the trigger has been switched from OFF to ON, that is, if it is determined that the trigger has not changed or the trigger has been switched from ON to OFF, the next trigger is After switching from OFF to ON, it is determined whether or not recording of all data from the sensor 12 and ECU 14 to the flash ROM 26 is completed until a predetermined time t2 after the trigger elapses (step 416). . As a result, if it is determined that the recording has not been completed, the sensor 12 or ECU 14 that is acquired until the predetermined time t2 after the trigger elapses after the previous trigger is switched from OFF to ON. Are sequentially recorded in the flash ROM 26 (step 418), and then the process of step 402 is executed again. On the other hand, if it is determined in step 416 that the recording has been completed, the process of step 402 is executed again.
  • the vehicle data recording apparatus 10 of the present embodiment in principle, when the determination parameter satisfies the trigger ON condition in the trigger ON / OFF determination, the data for one time by the current trigger, that is, the current trigger. Permanent recording of all data acquired by sampling before and after (specifically, past data acquired before a predetermined time t1 when the trigger is established and data acquired until a predetermined time t2 has elapsed since the trigger is established) It can be permanently recorded in the flash ROM 26, which is an area.
  • the trigger parameter satisfies the trigger ON condition in the trigger ON / OFF determination, if there is a remaining area in the flash ROM 26 where data for one trigger can be recorded, the data for the first trigger is flashed. Record in the remaining area of the ROM 26.
  • the recording control is performed as follows. That is, the degree of divergence of the determination parameter from the trigger threshold at the time when the trigger is established with the current trigger is any of the degree of divergence from the trigger threshold of the determination parameter at the time when the trigger is established for every past trigger recorded in the flash ROM 26. If it is smaller than this, recording of data for one time by the present trigger in the flash ROM 26 is not performed.
  • the degree of deviation of the determination parameter from the trigger threshold at the time when the trigger is established in the current trigger is any of the degree of deviation of the determination parameter from the trigger threshold at the time of establishment of the trigger for each of the past triggers recorded in the flash ROM 26. If it is larger than one, data for one time triggered by the current trigger is recorded in the flash ROM 26.
  • the degree of deviation of the determination parameter from the trigger threshold at the time when the trigger is established in the current trigger described above is the degree of deviation from the trigger threshold of the determination parameter at the time when the trigger is established for every past trigger recorded in the flash ROM 26.
  • the recording of the data for one time by the present trigger in the flash ROM 26 is performed from the trigger threshold value of the determination parameter among the data for all the past triggers recorded in the flash ROM 26. This is performed for a recording area in which data based on a trigger having the smallest deviation is stored.
  • the recording control as described above when the recording area of the flash ROM 26 is full of past data, among the data acquired for all triggers, the determination parameter that satisfies the trigger ON condition when the trigger is established.
  • the data when the degree of deviation from the trigger threshold is large is recorded in the flash ROM 26 with priority over the data when the degree of deviation is small.
  • the use state and the running state are useful, and it is effective to record data indicating the use state and the running state in the flash ROM 26.
  • the data when the deviation degree from the trigger threshold of the determination parameter satisfying the trigger ON condition at the time of the trigger establishment is less useful than the data when the deviation degree is large, and is recorded in the flash ROM 26. Lack of need.
  • the data indicating the use state and the running state of the vehicle at the occurrence of a serious event is reliably recorded and held in the flash ROM 26 without increasing the recording capacity of the flash ROM 26. It is possible to record data in the flash ROM 26 efficiently. For this reason, even if the data is old in time series, data when the degree of deviation from the trigger threshold of the determination parameter that satisfies the trigger ON condition at the time when the trigger is established is relatively large should be recorded and held in the flash ROM 26. Is possible.
  • the microcomputer 20 temporarily records in the RAM 24 data indicating the use state or the running state of the vehicle that is sampled based on the signal from the sensor 12 or the ECU 14 at a predetermined sampling interval s.
  • the determination parameter used in the trigger ON / OFF determination is in the “predetermined parameter” described in the claim, and the range in which the determination parameter does not satisfy the trigger ON condition is claimed
  • the flash ROM 26 executes the step 400 in the routine shown in FIG. 2, that is, the routine shown in FIG.
  • the data amount for one trigger is “predetermined amount” described in the claims, and the microcomputer 20 executes the process of step 404.
  • the “region discriminating means” corresponds to the “comparing means” described in the claims that the microcomputer 20 executes the processing of step 410, and the RAM 24 corresponds to the “temporary recording unit” described in the claims. ing.
  • the longitudinal acceleration when taken as an example of the determination parameter, it means that the longitudinal acceleration exceeds the trigger threshold value means “out of the predetermined range” described in the claims.
  • the degree of increase from the trigger threshold value means the “degree that deviates from the predetermined range” described in the claims.
  • the determination parameter may be lower than the trigger threshold value. It means “out of the predetermined range”, and the degree of lowering from the trigger threshold of the determination parameter may mean “degree out of the predetermined range” recited in the claims.
  • the longitudinal acceleration, the vehicle speed, the accelerator opening, the brake hydraulic pressure, the tire pressure, the shift position, and the steering angle are given as the use state or the running state of the vehicle.
  • the present invention is not limited to this. It is good also as applying to the image of the camera etc. which image

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

This vehicle data recording apparatus is provided with: a data acquisition means for acquiring data indicative of the use condition or driving condition of a vehicle, in order to reliably record and retain data indicative of the use conditions and driving conditions of a vehicle at the time when a major event occurs, without using a large amount of the recording capacity of a recording unit; and a recording control means for recording in a recording unit the data acquired by the data acquisition means, when a predetermined parameter of the data acquired by the data acquisition means departs from a predetermined range. The recording control means compares data, acquired by the data acquisition means, that includes a predetermined parameter whereby the degree of departure from the predetermined range is large, with data that includes a predetermined parameter whereby the degree is small, assigns priority to the data, and records the data in the recording unit.

Description

車両用データ記録装置Vehicle data recording device
 本発明は、車両用データ記録装置に係り、特に、車両に搭載されて、車両の使用状態又は走行状態を示すデータを記録部に記録するうえで好適な車両用データ記録装置に関する。 The present invention relates to a vehicular data recording apparatus, and more particularly to a vehicular data recording apparatus which is mounted on a vehicle and is suitable for recording data indicating a use state or a running state of the vehicle in a recording unit.
 従来、優先度の小さいデータを記録部から消去する車両用データ記録装置が知られている(例えば、特許文献1参照)。この車両用データ記録装置においては、データの種類に応じて、重要性の高いものほど大きくなる優先度がデータに付与されると共に、時間の経過に伴い重要性の低下するデータの優先度が低い値に更新される。そして、記録部に記録保持可能な残存容量が所定容量を下回ると、記録部に記録されているデータが、優先度の大きいデータが残るように優先度の小さいデータから順に消去される。 2. Description of the Related Art Conventionally, a vehicle data recording apparatus that erases data with low priority from a recording unit is known (see, for example, Patent Document 1). In this vehicular data recording apparatus, according to the type of data, a higher priority is given to data, and the priority of data whose importance decreases with time is low. Updated to value. When the remaining capacity that can be recorded and held in the recording unit falls below a predetermined capacity, the data recorded in the recording unit is erased in order from the data with the lower priority so that the data with the higher priority remains.
特開2009-15789号公報JP 2009-15789 A
 しかし、上記した特許文献1記載の車両用データ記録装置では、時間の経過に伴ってデータの優先度が下げられるため、重大な事象が生じたときのデータが古いデータになると、その古いデータが新しいデータで上書きされて消去される可能性がある。このため、重大事象発生時のデータが記録部に残らなくなるおそれがある。 However, in the vehicle data recording apparatus described in Patent Document 1 described above, since the priority of data is lowered with the passage of time, when the data when a serious event occurs becomes old data, the old data is It may be overwritten with new data and erased. For this reason, there is a possibility that data when a serious event occurs does not remain in the recording unit.
 本発明は、上述の点に鑑みてなされたものであり、記録部の記録容量を大きくすることなく、重大事象発生時のデータを確実に記録保持することが可能な車両用データ記録装置を提供することを目的とする。 The present invention has been made in view of the above points, and provides a vehicular data recording apparatus capable of reliably recording and holding data at the occurrence of a serious event without increasing the recording capacity of a recording unit. The purpose is to do.
 上記の目的は、車両の使用状態又は走行状態を示すデータを取得するデータ取得手段と、前記データ取得手段により取得された前記データのうちの所定パラメータが所定範囲から外れたときに、該データ取得手段により取得された前記データを記録部に記録する記録制御手段と、を備える車両用データ記録装置であって、前記記録制御手段は、前記データ取得手段により取得された前記所定パラメータが前記所定範囲から外れる度合いが大きい場合の前記データを、該度合いが小さい場合の前記データに比して優先して前記記録部に記録する車両用データ記録装置により達成される。 The object is to acquire data when a data acquisition unit that acquires data indicating a use state or a driving state of a vehicle and a predetermined parameter out of a predetermined range among the data acquired by the data acquisition unit. And a recording control unit that records the data acquired by the recording unit in a recording unit, wherein the recording control unit includes the predetermined parameter acquired by the data acquiring unit within the predetermined range. This is achieved by a vehicular data recording apparatus that records the data when the degree of deviation from the data is large in the recording unit with priority over the data when the degree is small.
 本発明によれば、記録部の記録容量を大きくすることなく、重大事象発生時の車両の使用状態や走行状態を示すデータを確実に記録保持することができる。 According to the present invention, it is possible to reliably record and hold data indicating the use state and running state of the vehicle when a serious event occurs without increasing the recording capacity of the recording unit.
本発明の一実施例である車両用データ記録装置を備えるシステムの構成図である。1 is a configuration diagram of a system including a vehicle data recording apparatus according to an embodiment of the present invention. 本発明の一実施例である車両用データ記録装置において実行されるメインルーチンの一例のフローチャートである。It is a flowchart of an example of the main routine performed in the vehicle data recording device which is one Example of this invention. 本発明の一実施例である車両用データ記録装置においてデータ記録処理を行うべく実行されるサブルーチンの一例のフローチャートである。It is a flowchart of an example of the subroutine performed in order to perform a data recording process in the data recording device for vehicles which is one Example of this invention.
 以下、図面を用いて、本発明に係る車両用データ記録装置の具体的な実施の形態について説明する。 Hereinafter, specific embodiments of the vehicle data recording apparatus according to the present invention will be described with reference to the drawings.
 図1は、本発明の一実施例である車両用データ記録装置10を備えるシステムの構成図を示す。本実施例の車両用データ記録装置10は、車両に搭載されて、車両の使用状態や走行状態を示すデータを記録する装置であって、車両走行後などに車両の使用状態や走行状態の解析のために適宜、記録したデータを外部出力する。 FIG. 1 shows a configuration diagram of a system including a vehicle data recording apparatus 10 according to an embodiment of the present invention. The vehicle data recording device 10 according to the present embodiment is a device that is mounted on a vehicle and records data indicating the use state and the running state of the vehicle, and analyzes the use state and the running state of the vehicle after the vehicle travels. For this purpose, the recorded data is output externally.
 図1に示す如く、本実施例のシステムは、車両用データ記録装置10を備えている。車両用データ記録装置10には、センサ12及び電子制御ユニット(ECU)14が直接に又は車載通信ネットワーク16を介して接続されている。尚、本実施例の車両用データ記録装置10では、図1に示す如く、センサ12が直接に接続され、かつ、ECU14が車載通信ネットワーク16を介して接続されるものとする。車両用データ記録装置10及びECU14はそれぞれ、車載通信ネットワーク16に適したプロトコルに従って相互通信を行うことが可能である。 As shown in FIG. 1, the system of this embodiment includes a vehicle data recording device 10. A sensor 12 and an electronic control unit (ECU) 14 are connected to the vehicular data recording apparatus 10 directly or via an in-vehicle communication network 16. In the vehicular data recording apparatus 10 of this embodiment, as shown in FIG. 1, the sensor 12 is directly connected and the ECU 14 is connected via the in-vehicle communication network 16. Each of the vehicle data recording device 10 and the ECU 14 can perform mutual communication according to a protocol suitable for the in-vehicle communication network 16.
 センサ12は、車両の使用状態又は走行状態を示す前後加速度やアクセル開度,ブレーキ油圧,タイヤ空気圧などに応じた電気信号を出力するセンサである。また、ECU14は、マイクロコンピュータを主体に構成された、車両の使用状態又は走行状態を示す前後加速度や車速,アクセル開度,ブレーキ油圧,タイヤ空気圧,シフトポジション,操舵角などに応じた電気信号を車載通信ネットワーク16を介して他のECUに供給することが可能な制御回路である。 The sensor 12 is a sensor that outputs an electrical signal corresponding to longitudinal acceleration, accelerator opening, brake oil pressure, tire air pressure, etc., indicating the use state or running state of the vehicle. The ECU 14 is mainly composed of a microcomputer and outputs an electrical signal corresponding to longitudinal acceleration, vehicle speed, accelerator opening, brake hydraulic pressure, tire air pressure, shift position, steering angle, etc., indicating the use state or running state of the vehicle. This is a control circuit that can be supplied to another ECU via the in-vehicle communication network 16.
 尚、センサ12及びECU14についてはそれぞれ、特定の一つの使用状態や走行状態を示す信号を出力するものが一つのみ設けられていてもよいが、互いに異なる使用状態や走行状態を示す信号を出力するものが二以上設けられていてもよい。例えば、センサ12は、前後加速度に応じた電気信号を出力する前後加速度センサであり、ECU14は、エンジン制御を行うエンジン制御ECU、ブレーキ制御を行うブレーキ制御ECU、及びステアリング制御を行うステアリング制御ECUである。センサ12の出力信号は車両用データ記録装置10に供給されると共に、ECU14の出力信号は車両用データ記録装置10に供給可能である。 The sensor 12 and the ECU 14 may be provided with only one sensor that outputs a signal indicating one specific use state or traveling state, but outputs a signal indicating a different use state or traveling state. Two or more may be provided. For example, the sensor 12 is a longitudinal acceleration sensor that outputs an electrical signal corresponding to the longitudinal acceleration, and the ECU 14 is an engine control ECU that performs engine control, a brake control ECU that performs brake control, and a steering control ECU that performs steering control. is there. The output signal of the sensor 12 is supplied to the vehicle data recording device 10, and the output signal of the ECU 14 can be supplied to the vehicle data recording device 10.
 車両用データ記録装置10は、マイクロコンピュータ20を主体に構成されたデータ記録ECUである。マイコン20は、メモリ22を内蔵している。メモリ22は、一時記録領域である揮発性のRAM24と、恒久記録領域である書き換え可能な不揮発性のフラッシュROM26と、からなる。RAM24は、車両のイグニションスイッチがオンであるときにのみ記録可能であるものとし、また、フラッシュROM26は、更に車両のイグニションスイッチがオフであるときにも記録可能であるものとすればよい。 The vehicular data recording device 10 is a data recording ECU mainly composed of a microcomputer 20. The microcomputer 20 has a built-in memory 22. The memory 22 includes a volatile RAM 24 that is a temporary recording area and a rewritable nonvolatile flash ROM 26 that is a permanent recording area. The RAM 24 can be recorded only when the ignition switch of the vehicle is turned on, and the flash ROM 26 can be recorded even when the ignition switch of the vehicle is turned off.
 次に、図2及び図3を参照して、本実施例の車両用データ記録装置の動作について説明する。図2は、本実施例の車両用データ記録装置10においてマイコン20が実行するメインルーチンの一例のフローチャートを示す。また、図3は、本実施例の車両用データ記録装置10においてマイコン20がフラッシュROM26へのデータ記録処理を行うべく実行するサブルーチンの一例のフローチャートを示す。 Next, the operation of the vehicle data recording apparatus of this embodiment will be described with reference to FIGS. FIG. 2 shows a flowchart of an example of a main routine executed by the microcomputer 20 in the vehicle data recording apparatus 10 of the present embodiment. FIG. 3 shows a flowchart of an example of a subroutine executed by the microcomputer 20 to perform data recording processing to the flash ROM 26 in the vehicle data recording apparatus 10 of the present embodiment.
 本実施例の車両用データ記録装置10において、マイコン20は、車両のイグニションスイッチがオンされると、以後、定期的に所定のサンプリング間隔s(例えば、500ms)で、センサ12からの信号及びECU14からの信号に基づいて車両の各種の使用状態や走行状態をサンプリングする(ステップ100)。そして、それらのサンプリングした略同じタイミングにおける使用状態や走行状態を示すデータを一括してRAM24に一時記録する(ステップ200)。RAM24には、過去所定時間(例えば、2秒や5秒,10秒,1分など)t1内にサンプリングされたすべてのデータが一時記録される。 In the vehicular data recording apparatus 10 according to the present embodiment, when the ignition switch of the vehicle is turned on, the microcomputer 20 thereafter periodically transmits a signal from the sensor 12 and the ECU 14 at a predetermined sampling interval s (for example, 500 ms). Based on the signal from the vehicle, various usage states and running states of the vehicle are sampled (step 100). Then, the sampled data indicating the use state and the running state at substantially the same timing are collectively recorded in the RAM 24 (step 200). In the RAM 24, all data sampled in the past predetermined time (for example, 2 seconds, 5 seconds, 10 seconds, 1 minute, etc.) t1 is temporarily recorded.
 マイコン20は、上記ステップ200で車両の使用状態や走行状態をサンプリングすると、次に、車両の使用状態又は走行状態を示すデータの、フラッシュROM26への記録を実行すべきか否か或いはそのデータ記録を終了すべきか否かの判定(以下、トリガON/OFF判定と称す)を行う(ステップ300)。尚、このトリガON/OFF判定において用いられる判定パラメータとしてのデータは、今回のサンプリングでセンサ12やECU14を用いて得られたデータのうちの少なくとも一つであればよく、例えば、車両の前後加速度を示すデータであってもよい。また、2つ以上のデータが共にトリガON条件又はトリガOFF条件を満たす場合にトリガON判定又はトリガOFF判定が肯定されるものとしてもよい。更に、フラッシュROM26に記録されるべきデータは、上記の判定パラメータとしてのデータを少なくとも含み、他のデータ(例えば、車速やアクセル開度,ブレーキ油圧,シフトポジション,操舵角など)を含むものとすればよい。 When the microcomputer 20 samples the use state or running state of the vehicle in the step 200, next, whether or not the data indicating the use state or running state of the vehicle should be recorded in the flash ROM 26, or the data recording is performed. It is determined whether or not to end (hereinafter referred to as trigger ON / OFF determination) (step 300). Note that the data as the determination parameter used in the trigger ON / OFF determination may be at least one of the data obtained by using the sensor 12 and the ECU 14 in the current sampling, for example, the longitudinal acceleration of the vehicle May be data indicating. Further, when two or more pieces of data both satisfy the trigger ON condition or the trigger OFF condition, the trigger ON determination or the trigger OFF determination may be affirmed. Further, the data to be recorded in the flash ROM 26 includes at least the data as the determination parameter and includes other data (for example, vehicle speed, accelerator opening, brake hydraulic pressure, shift position, steering angle, etc.). That's fine.
 上記ステップ300における、車両の使用状態又は走行状態を示すデータのフラッシュROM26への記録を実行すべきか否かの判定は、そのフラッシュROM26へのデータ記録が実行される前に行われる判定(以下、トリガON前判定と称す)であって、サンプリングした車両の使用状態や走行状態を示す判定パラメータとしてのデータがトリガON条件を満たす場合に肯定される。また、フラッシュROM26へのデータ記録を終了すべきか否かの判定は、そのフラッシュROM26へのデータ記録が実行されている時に行われる判定(以下、トリガON後判定と称す)であって、サンプリングした車両の使用状態や走行状態を示す判定パラメータとしてのデータがトリガOFF条件を満たす場合に肯定される。 In step 300 described above, the determination as to whether or not the data indicating the use state or the running state of the vehicle should be recorded in the flash ROM 26 is performed before the data recording in the flash ROM 26 is executed (hereinafter, referred to as “recording data”). This is referred to as “pre-trigger ON determination”, and is affirmed when the sampled data as a determination parameter indicating the use state or running state of the vehicle satisfies the trigger ON condition. The determination as to whether or not the data recording to the flash ROM 26 should be terminated is a determination performed when the data recording to the flash ROM 26 is being executed (hereinafter referred to as a determination after trigger ON), and is sampled. The determination is affirmed when data as a determination parameter indicating the use state or running state of the vehicle satisfies the trigger OFF condition.
 例えば、センサ12により今回サンプリングされた判定パラメータとしての前後加速度がトリガ閾値(例えば0.3G)を上回ると(例えば0.5G)、トリガON前判定が肯定され、フラッシュROM26へのデータ記録のためのトリガがONとなる。この場合には、車両の使用状態や走行状態を示すデータの、フラッシュROM26への記録が許可される。また、センサ12により今回サンプリングされた判定パラメータとしての前後加速度がトリガ閾値(例えば0.3G)を下回ると(例えば0.1G)、トリガON後判定が肯定され、上記のトリガがOFFとなる。この場合には、車両の使用状態や走行状態を示すデータの、フラッシュROM26への記録が終了される。 For example, when the longitudinal acceleration as the determination parameter sampled this time by the sensor 12 exceeds the trigger threshold (for example, 0.3 G) (for example, 0.5 G), the determination before trigger ON is affirmed, and data is recorded in the flash ROM 26. The trigger is turned on. In this case, recording of data indicating the use state and the running state of the vehicle in the flash ROM 26 is permitted. Further, when the longitudinal acceleration as the determination parameter sampled this time by the sensor 12 falls below the trigger threshold (for example, 0.3 G) (for example, 0.1 G), the determination after the trigger is turned on is affirmed, and the trigger is turned off. In this case, the recording of the data indicating the use state and the running state of the vehicle in the flash ROM 26 is terminated.
 マイコン20は、上記ステップ300でトリガON/OFF判定を行うと、次に、車両の使用状態や走行状態を示すデータの、フラッシュROM26への記録についての処理(以下、データ記録処理と称す)を実行する(ステップ400)。尚、トリガがOFFからONに切り替わった際にフラッシュROM26に記録されるべきトリガ一回当たりのデータは、RAM24に一時記録されている過去所定時間t1内のすべてのデータを含み、更に、後述のトリガがOFFからONへ切り替わった後、所定時間t2が経過するまでにセンサ12やECU14を用いて得られるデータを含むものとしてもよい。 When the microcomputer 20 performs the trigger ON / OFF determination in the above step 300, the microcomputer 20 next performs a process for recording data indicating the use state or the running state of the vehicle in the flash ROM 26 (hereinafter referred to as a data recording process). Execute (step 400). Note that the data per trigger to be recorded in the flash ROM 26 when the trigger is switched from OFF to ON includes all the data within the predetermined past time t1 temporarily recorded in the RAM 24, and will be described later. Data obtained using the sensor 12 or the ECU 14 before the predetermined time t2 elapses after the trigger is switched from OFF to ON may be included.
 マイコン20は、上記のデータ記録処理において、まず、上記ステップ300でトリガON前判定が肯定されたか否か、すなわち、前回サンプリングから今回サンプリングにかけて上記のトリガがOFFからONに切り替わったか否かを判別する(ステップ402)。例えば、センサ12によりサンプリングされる前後加速度が、前回サンプリングではトリガ閾値(例えば0.3G)よりも小さい値であったが、その後の今回サンプリングではそのトリガ閾値よりも大きい値に移行したか否かを判別する。 In the data recording process, the microcomputer 20 first determines whether or not the determination before trigger ON is affirmed in step 300, that is, whether or not the trigger is switched from OFF to ON from the previous sampling to the current sampling. (Step 402). For example, whether the longitudinal acceleration sampled by the sensor 12 was a value smaller than the trigger threshold (for example, 0.3 G) in the previous sampling, but has shifted to a value larger than the trigger threshold in the subsequent sampling. Is determined.
 マイコン20は、上記のステップ402において、トリガがOFFからONに切り替わったと判別した場合は、次に、フラッシュROM26の記録領域が過去のデータで満杯であるか否かを判別する(ステップ404)。尚、フラッシュROM26の記録領域が満杯であるか否かの判別は、フラッシュROM26に、RAM24に一時記録する過去所定時間t1内のものを少なくとも含むデータ(具体的には、RAM24に一時記録する過去所定時間t1内のもの及びトリガ後の所定時間t2が経過するまでのものを含むトリガ一回分のデータ)を記録できる残存領域が存在するか否かに基づいて行われるものとすればよい。 If the microcomputer 20 determines in step 402 that the trigger has been switched from OFF to ON, it then determines whether or not the recording area of the flash ROM 26 is full of past data (step 404). Whether or not the recording area of the flash ROM 26 is full is determined by determining whether the flash ROM 26 includes data at least within the past predetermined time t1 temporarily recorded in the RAM 24 (specifically, past data temporarily recorded in the RAM 24). It may be performed based on whether or not there is a remaining area in which data for one trigger including data within the predetermined time t1 and data until the predetermined time t2 after the trigger elapses can be recorded.
 マイコン20は、上記ステップ404でフラッシュROM26にトリガ一回分のデータを記録できる残存領域が存在してフラッシュROM26の記録領域が満杯でないと判別した場合は、次に、その残存領域を、今回のトリガにより取得するすべてのデータ(RAM24に一時記録されている過去所定時間t1内に取得したデータ及び今回のトリガ後の所定時間t2が経過するまでに取得するデータ)を格納する記録領域とする設定を行う(ステップ406)。 If the microcomputer 20 determines in step 404 that there is a remaining area where data for one trigger can be recorded in the flash ROM 26 and the recording area of the flash ROM 26 is not full, then the remaining area is used as the current trigger. Is set as a recording area for storing all data (data acquired within the past predetermined time t1 temporarily recorded in the RAM 24 and data acquired until the predetermined time t2 after the current trigger elapses). Perform (step 406).
 一方、上記ステップ404でフラッシュROM26にトリガ一回分のデータを記録できる残存領域が無くフラッシュROM26の記録領域が満杯であると判別した場合は、次に、そのフラッシュROM26にデータが記録されているすべてのトリガごとに、トリガがOFFからONに切り替わったとき(すなわちトリガ成立時点)にそのトリガON条件を満たした車両の使用状態又は走行状態を示すデータ(判定パラメータ)の値を読み出す処理を行う(ステップ408)。例えば、フラッシュROM26にデータが記録されているトリガとして、過去に判定パラメータとしての前後加速度がトリガ閾値(例えば0.3G)よりも大きかった事象が、“0.35G”、“0.38G”、“0.40G”、及び“0.55G”の5回生じていたときは、その5回分の判定パラメータとしての前後加速度をそれぞれフラッシュROM26から読み出す処理を行う。 On the other hand, if it is determined in step 404 that there is no remaining area in the flash ROM 26 where data for one trigger can be recorded and the recording area of the flash ROM 26 is full, then all the data recorded in the flash ROM 26 is next stored. For each of the triggers, when the trigger is switched from OFF to ON (that is, when the trigger is established), a process of reading the value of data (determination parameter) indicating the use state or running state of the vehicle that satisfies the trigger ON condition is performed ( Step 408). For example, as a trigger in which data is recorded in the flash ROM 26, events in which the longitudinal acceleration as a determination parameter is larger than a trigger threshold (for example, 0.3 G) in the past are “0.35 G”, “0.38 G”, When “0.40 G” and “0.55 G” have occurred 5 times, the longitudinal acceleration as the determination parameter for 5 times is read from the flash ROM 26.
 マイコン20は、今回のサンプリングで取得してRAM24に一時記録したトリガ成立時点でトリガON条件を満たした判定パラメータの、トリガ閾値からの乖離度合い(前後加速度の場合は、上回り度合い)を、上記ステップ408で読み出した過去のすべてのトリガごとのトリガ成立時点でトリガON条件を満たした判定パラメータの、トリガ閾値からの乖離度合い(前後加速度の場合は、上回り度合い)と比較する。 The microcomputer 20 obtains the degree of deviation from the trigger threshold (in the case of longitudinal acceleration, the degree of increase) of the determination parameter that satisfies the trigger ON condition at the time when the trigger is established and is temporarily recorded in the RAM 24 by the current sampling. Compared with the degree of deviation from the trigger threshold (in the case of longitudinal acceleration, the degree of increase) of the determination parameter satisfying the trigger ON condition at the time of trigger establishment for every past trigger read in 408.
 尚、トリガ閾値が不変であれば、今回のサンプリングで取得してRAM24に一時記録したトリガ成立時点でトリガON条件を満たした判定パラメータの値自体を、上記ステップ408で読み出したすべてのトリガごとのトリガ成立時点でトリガON条件を満たした判定パラメータの値自体と比較することとしても、上記の乖離度合い同士の比較結果と変わりが無いので、上記の乖離度合い同士を比較することに代えて、判定パラメータの値自体を比較することとしてもよい。 If the trigger threshold value is not changed, the determination parameter value itself that satisfies the trigger ON condition at the time when the trigger is established and is temporarily recorded in the RAM 24 is obtained for each trigger read in step 408 above. Even when comparing with the value of the determination parameter satisfying the trigger ON condition itself at the time when the trigger is established, there is no difference from the comparison result of the above divergence degrees, so instead of comparing the above divergence degrees, determination The parameter values themselves may be compared.
 そして、今回のサンプリングで取得してRAM24に一時記録したトリガ成立時点でトリガON条件を満たした判定パラメータのトリガ閾値からの乖離度合いが、過去のすべてのトリガごとのトリガ成立時点でトリガON条件を満たした判定パラメータのトリガ閾値からの乖離度合いの何れか一つよりも大きいか否か、すなわち、フラッシュROM26に記録されている過去のすべてのトリガによるデータに、今回のサンプリングで取得してRAM24に一時記録したトリガ成立時点でトリガON条件を満たした判定パラメータのトリガ閾値からの乖離度合いよりも乖離度合いが小さいトリガ成立時点での判定パラメータを含むものがあるか否かを判別する(ステップ410)。 Then, the degree of deviation from the trigger threshold of the determination parameter satisfying the trigger ON condition at the time when the trigger is acquired that is obtained by sampling this time and temporarily recorded in the RAM 24 is set to the trigger ON condition at the time when the trigger is satisfied for every past trigger. Whether or not the degree of deviation of the satisfied determination parameter from the trigger threshold is greater than any one, that is, data obtained by all the past triggers recorded in the flash ROM 26 is acquired by the current sampling and stored in the RAM 24. It is determined whether or not there is a parameter that includes a determination parameter at the time when the trigger is established whose degree of deviation is smaller than the degree of deviation from the trigger threshold of the determination parameter that satisfies the trigger ON condition when the trigger is temporarily recorded (step 410). .
 例えば、トリガ閾値が0.3Gであって、今回サンプリングでの前後加速度が0.5Gであり、かつ、フラッシュROM26に記録されている過去のすべてのトリガ成立時点での前後加速度がそれぞれ、0.35G、0.38G、0.40G、及び0.55Gであるときは、今回サンプリングでの前後加速度(0.5G)或いはそのトリガ閾値からの乖離度(+0.2g)が、フラッシュROM26に記録されている過去のすべてのトリガ成立時点での前後加速度或いはそのトリガ閾値からの乖離度の何れか一つよりも大きいか否かを判別する。 For example, the trigger threshold is 0.3 G, the longitudinal acceleration at the current sampling is 0.5 G, and the longitudinal acceleration at the time when all past triggers recorded in the flash ROM 26 are 0. In the case of 35G, 0.38G, 0.40G, and 0.55G, the longitudinal acceleration (0.5G) or the degree of deviation from the trigger threshold (+ 0.2g) at the current sampling is recorded in the flash ROM 26. It is determined whether or not it is larger than any one of the longitudinal acceleration at the time when all the triggers are established or the degree of deviation from the trigger threshold.
 その結果、今回のトリガ成立時点での判定パラメータのトリガ閾値からの乖離度合いが過去のすべてのトリガごとのトリガ成立時点での判定パラメータのトリガ閾値からの乖離度合いの何れよりも小さいと判別した場合は、以後、何ら処理を進めることなく上記ステップ402の処理を再び実行する。一方、今回のトリガ成立時点での判定パラメータのトリガ閾値からの乖離度合いが過去のすべてのトリガごとのトリガ成立時点での判定パラメータのトリガ閾値からの乖離度合いの何れか一つよりも大きいと判別した場合は、次に、フラッシュROM26に記録されている過去のすべてのトリガごとのデータのうちトリガ成立時点での判定パラメータのトリガ閾値からの乖離度合いが最も小さいトリガによるデータを格納していた記録領域を、今回のトリガにより取得するすべてのデータ(RAM24に一時記録されている過去所定時間t1内に取得したデータ及び今回のトリガ後の所定時間t2が経過するまでに取得するデータ)を格納する記録領域とする設定を行う(ステップ412)。上記の例で言えば、トリガ閾値からの乖離度合いが最も小さい判定パラメータ(前後加速度=0.35G)のトリガによるデータを格納していた領域を、今回のトリガによる判定パラメータ(前後加速度=0.5G)を含むデータを格納する記録領域とする。 As a result, when it is determined that the degree of deviation from the trigger threshold of the determination parameter at the time when the current trigger is established is smaller than any of the degree of deviation from the trigger threshold of the determination parameter at the time when the trigger is established for every past trigger Thereafter, the process of step 402 is executed again without any further process. On the other hand, it is determined that the degree of deviation of the determination parameter from the trigger threshold at the time when the trigger is established is greater than any one of the degrees of deviation of the determination parameter from the trigger threshold at the time of establishment of the trigger for every past trigger. In this case, next, the record that stores the data by the trigger having the smallest deviation from the trigger threshold value of the determination parameter at the time when the trigger is established among the data for all the past triggers recorded in the flash ROM 26. The area stores all data acquired by the current trigger (data acquired within the past predetermined time t1 temporarily recorded in the RAM 24 and data acquired until the predetermined time t2 after the current trigger elapses). Setting as a recording area is performed (step 412). In the above example, an area in which data based on the trigger of the determination parameter (longitudinal acceleration = 0.35G) having the smallest deviation from the trigger threshold is stored is the determination parameter (longitudinal acceleration = 0. 5G) is a recording area for storing data.
 マイコン20は、上記ステップ406又は412で今回のトリガにより取得するすべてのデータを格納する記録領域の設定を行うと、RAM24に一時記録されている過去所定時間t1前から現時点までにサンプリングで取得したセンサ12やECU14からのデータを、すなわち、今回のサンプリングで取得したトリガ成立時点でのセンサ12やECU14からのデータ、及び、そのトリガ成立時点よりも前にRAM24に一時記録された過去のサンプリングで取得したセンサ12やECU14からのデータを、恒久記録領域であるフラッシュROM26に記録する処理を行う(ステップ414)。マイコン20は、かかるデータのフラッシュROM26への記録処理を行うと、上記ステップ402の処理を再び実行する。 When the microcomputer 20 sets the recording area for storing all the data acquired by the current trigger in the above step 406 or 412, the microcomputer 20 acquires it by sampling from the past predetermined time t1 temporarily recorded in the RAM 24 to the present time. The data from the sensor 12 and the ECU 14, that is, the data from the sensor 12 and the ECU 14 obtained at the time when the trigger is obtained and the past sampling temporarily recorded in the RAM 24 before the time when the trigger is established. A process of recording the acquired data from the sensor 12 and the ECU 14 in the flash ROM 26 which is a permanent recording area is performed (step 414). When the microcomputer 20 records the data in the flash ROM 26, the microcomputer 20 executes the process of step 402 again.
 また、マイコン20は、上記のステップ402において、トリガがOFFからONに切り替わったと判別しない場合、すなわち、トリガが変化しない或いはトリガがONからOFFに切り替わったと判別した場合は、次に、前回トリガがOFFからONに切り替わった後、そのトリガ後の所定時間t2が経過するまでに取得するセンサ12やECU14からのすべてのデータのフラッシュROM26への記録が完了したか否かを判別する(ステップ416)。その結果、その記録が完了していないと判別した場合は、次に、その前回トリガがOFFからONに切り替わった後、そのトリガ後の所定時間t2が経過するまでに取得するセンサ12やECU14からのデータを順次、フラッシュROM26に記録する処理を行い(ステップ418)、その後は上記ステップ402の処理を再び実行する。一方、上記ステップ416においてその記録が完了したと判別した場合は、上記ステップ402の処理を再び実行する。 If the microcomputer 20 does not determine in step 402 that the trigger has been switched from OFF to ON, that is, if it is determined that the trigger has not changed or the trigger has been switched from ON to OFF, the next trigger is After switching from OFF to ON, it is determined whether or not recording of all data from the sensor 12 and ECU 14 to the flash ROM 26 is completed until a predetermined time t2 after the trigger elapses (step 416). . As a result, if it is determined that the recording has not been completed, the sensor 12 or ECU 14 that is acquired until the predetermined time t2 after the trigger elapses after the previous trigger is switched from OFF to ON. Are sequentially recorded in the flash ROM 26 (step 418), and then the process of step 402 is executed again. On the other hand, if it is determined in step 416 that the recording has been completed, the process of step 402 is executed again.
 このように、本実施例の車両用データ記録装置10においては、原則として、トリガON/OFF判定において判定パラメータがトリガON条件を満たす場合に、その今回トリガによる一回分のデータすなわちその今回トリガの前後にサンプリングで取得するすべてのデータ(具体的には、トリガ成立時点の所定時間t1前から取得した過去のデータ及びトリガ成立時点から所定時間t2が経過するまでに取得するデータ)を、恒久記録領域であるフラッシュROM26に恒久記録することができる。 Thus, in the vehicle data recording apparatus 10 of the present embodiment, in principle, when the determination parameter satisfies the trigger ON condition in the trigger ON / OFF determination, the data for one time by the current trigger, that is, the current trigger. Permanent recording of all data acquired by sampling before and after (specifically, past data acquired before a predetermined time t1 when the trigger is established and data acquired until a predetermined time t2 has elapsed since the trigger is established) It can be permanently recorded in the flash ROM 26, which is an area.
 具体的には、トリガON/OFF判定において判定パラメータがトリガON条件を満たす場合において、フラッシュROM26にトリガ一回分のデータを記録できる残存領域が存在するときは、今回トリガによる一回分のデータをフラッシュROM26のその残存領域に記録する。 Specifically, when the trigger parameter satisfies the trigger ON condition in the trigger ON / OFF determination, if there is a remaining area in the flash ROM 26 where data for one trigger can be recorded, the data for the first trigger is flashed. Record in the remaining area of the ROM 26.
 一方、トリガON/OFF判定において判定パラメータがトリガON条件を満たす場合において、フラッシュROM26にトリガ一回分のデータを記録できる残存領域が存在しないときは、以下の如く記録制御を行う。すなわち、今回トリガでのトリガ成立時点における判定パラメータのトリガ閾値からの乖離度合いが、フラッシュROM26に記録されている過去のすべてのトリガごとのトリガ成立時点における判定パラメータのトリガ閾値からの乖離度合いの何れよりも小さければ、今回トリガによる一回分のデータのフラッシュROM26への記録を行わない。一方、今回トリガでのトリガ成立時点における判定パラメータのトリガ閾値からの乖離度合いが、フラッシュROM26に記録されている過去のすべてのトリガごとのトリガ成立時点における判定パラメータのトリガ閾値からの乖離度合いの何れか一つよりも大きければ、今回トリガによる一回分のデータをフラッシュROM26に記録する。 On the other hand, when the determination parameter in the trigger ON / OFF determination satisfies the trigger ON condition, if there is no remaining area in the flash ROM 26 where data for one trigger can be recorded, the recording control is performed as follows. That is, the degree of divergence of the determination parameter from the trigger threshold at the time when the trigger is established with the current trigger is any of the degree of divergence from the trigger threshold of the determination parameter at the time when the trigger is established for every past trigger recorded in the flash ROM 26. If it is smaller than this, recording of data for one time by the present trigger in the flash ROM 26 is not performed. On the other hand, the degree of deviation of the determination parameter from the trigger threshold at the time when the trigger is established in the current trigger is any of the degree of deviation of the determination parameter from the trigger threshold at the time of establishment of the trigger for each of the past triggers recorded in the flash ROM 26. If it is larger than one, data for one time triggered by the current trigger is recorded in the flash ROM 26.
 そして、上記した今回トリガでのトリガ成立時点における判定パラメータのトリガ閾値からの乖離度合いが、フラッシュROM26に記録されている過去のすべてのトリガごとのトリガ成立時点における判定パラメータのトリガ閾値からの乖離度合いの何れか一つよりも大きいときにおける、今回トリガによる一回分のデータのフラッシュROM26への記録は、フラッシュROM26に記録されている過去のすべてのトリガごとのデータのうち判定パラメータのトリガ閾値からの乖離度合いが最も小さいトリガによるデータを格納していた記録領域に対して行われる。 The degree of deviation of the determination parameter from the trigger threshold at the time when the trigger is established in the current trigger described above is the degree of deviation from the trigger threshold of the determination parameter at the time when the trigger is established for every past trigger recorded in the flash ROM 26. When the data is larger than any one of the above, the recording of the data for one time by the present trigger in the flash ROM 26 is performed from the trigger threshold value of the determination parameter among the data for all the past triggers recorded in the flash ROM 26. This is performed for a recording area in which data based on a trigger having the smallest deviation is stored.
 上記の如き記録制御が行われると、フラッシュROM26の記録領域が過去のデータで満杯であるときは、すべてのトリガごとに取得されたデータのうち、トリガ成立時点でトリガON条件を満たした判定パラメータのトリガ閾値からの乖離度合いが大きい場合のデータが、その乖離度合いが小さい場合のデータに比して優先してフラッシュROM26に記録されることとなる。 When the recording control as described above is performed, when the recording area of the flash ROM 26 is full of past data, among the data acquired for all triggers, the determination parameter that satisfies the trigger ON condition when the trigger is established The data when the degree of deviation from the trigger threshold is large is recorded in the flash ROM 26 with priority over the data when the degree of deviation is small.
 トリガ成立時点でトリガON条件を満たす判定パラメータのトリガ閾値からの乖離度合いが大きいほど、車両に重大事象が発生している可能性が高く、その重大事象発生時におけるトリガ前後での車両の各種の使用状態や走行状態が有用であって、その使用状態や走行状態を示すデータをフラッシュROM26に記録することが有効である。一方、トリガ成立時点でトリガON条件を満たす判定パラメータのトリガ閾値からの乖離度合いが小さい場合のデータは、その乖離度合いが大きい場合のデータに比べて、有用性に欠けるので、フラッシュROM26への記録の必要性に乏しい。 The greater the degree of deviation from the trigger threshold of the determination parameter that satisfies the trigger ON condition when the trigger is established, the higher the possibility that a serious event has occurred in the vehicle. The use state and the running state are useful, and it is effective to record data indicating the use state and the running state in the flash ROM 26. On the other hand, the data when the deviation degree from the trigger threshold of the determination parameter satisfying the trigger ON condition at the time of the trigger establishment is less useful than the data when the deviation degree is large, and is recorded in the flash ROM 26. Lack of need.
 従って、本実施例の車両用データ記録装置10によれば、フラッシュROM26の記録容量を大きくすることなく、重大事象発生時の車両の使用状態や走行状態を示すデータを確実にフラッシュROM26に記録保持することが可能であり、フラッシュROM26へのデータ記録を効率的に行うことが可能である。このため、時系列的には古いデータであっても、トリガ成立時点でトリガON条件を満たす判定パラメータのトリガ閾値からの乖離度合いが比較的大きい場合のデータをフラッシュROM26に記録保持させておくことが可能である。 Therefore, according to the vehicle data recording apparatus 10 of the present embodiment, the data indicating the use state and the running state of the vehicle at the occurrence of a serious event is reliably recorded and held in the flash ROM 26 without increasing the recording capacity of the flash ROM 26. It is possible to record data in the flash ROM 26 efficiently. For this reason, even if the data is old in time series, data when the degree of deviation from the trigger threshold of the determination parameter that satisfies the trigger ON condition at the time when the trigger is established is relatively large should be recorded and held in the flash ROM 26. Is possible.
 尚、上記の実施例においては、マイコン20が所定のサンプリング間隔sでセンサ12又はECU14からの信号に基づいてサンプリングする車両の使用状態又は走行状態を示すデータをRAM24に一時記録することが特許請求の範囲に記載した「データ取得手段」に、トリガON/OFF判定において用いられる判定パラメータが特許請求の範囲に記載した「所定パラメータ」に、判定パラメータがトリガON条件を満たさない範囲が特許請求の範囲に記載した「所定範囲」に、フラッシュROM26が特許請求の範囲に記載した「記録部」に、マイコン20が図2に示すルーチン中のステップ400すなわち図3に示すルーチンを実行することが特許請求の範囲に記載した「記録制御手段」に、それぞれ相当している。 In the above-described embodiment, the microcomputer 20 temporarily records in the RAM 24 data indicating the use state or the running state of the vehicle that is sampled based on the signal from the sensor 12 or the ECU 14 at a predetermined sampling interval s. In the “data acquisition means” described in the above range, the determination parameter used in the trigger ON / OFF determination is in the “predetermined parameter” described in the claim, and the range in which the determination parameter does not satisfy the trigger ON condition is claimed In the “predetermined range” described in the range, the flash ROM 26 executes the step 400 in the routine shown in FIG. 2, that is, the routine shown in FIG. These correspond to “recording control means” recited in the claims.
 また、上記の実施例においては、トリガ一回分のデータ量が特許請求の範囲に記載した「所定量」に、マイコン20がステップ404の処理を実行することが特許請求の範囲に記載した「残存領域判別手段」に、マイコン20がステップ410の処理を実行することが特許請求の範囲に記載した「比較手段」に、RAM24が特許請求の範囲に記載した「一時記録部」に、それぞれ相当している。 In the above embodiment, the data amount for one trigger is “predetermined amount” described in the claims, and the microcomputer 20 executes the process of step 404. The “region discriminating means” corresponds to the “comparing means” described in the claims that the microcomputer 20 executes the processing of step 410, and the RAM 24 corresponds to the “temporary recording unit” described in the claims. ing.
 ところで、上記の実施例においては、判定パラメータとして前後加速度を例に挙げると、その前後加速度がトリガ閾値を上回ることが特許請求の範囲記載の「所定範囲から外れる」ことを意味し、その前後加速度のトリガ閾値からの上回り度合いが特許請求の範囲記載の「所定範囲から外れる度合い」を意味することとなるが、判定パラメータによってはその判定パラメータがトリガ閾値を下回ることが特許請求の範囲記載の「所定範囲から外れる」ことを意味し、その判定パラメータのトリガ閾値からの下回り度合いが特許請求の範囲記載の「所定範囲から外れる度合い」を意味するものとなってもよい。 By the way, in the above-described embodiment, when the longitudinal acceleration is taken as an example of the determination parameter, it means that the longitudinal acceleration exceeds the trigger threshold value means “out of the predetermined range” described in the claims. The degree of increase from the trigger threshold value means the “degree that deviates from the predetermined range” described in the claims. However, depending on the determination parameter, the determination parameter may be lower than the trigger threshold value. It means “out of the predetermined range”, and the degree of lowering from the trigger threshold of the determination parameter may mean “degree out of the predetermined range” recited in the claims.
 また、上記の実施例においては、車両の使用状態又は走行状態として、前後加速度や車速,アクセル開度,ブレーキ油圧,タイヤ空気圧,シフトポジション,操舵角を挙げたが、本発明はこれに限定されるものではなく、自車両周辺や自車両の車室内を撮影するカメラの画像などに適用することとしてもよい。 In the above-described embodiment, the longitudinal acceleration, the vehicle speed, the accelerator opening, the brake hydraulic pressure, the tire pressure, the shift position, and the steering angle are given as the use state or the running state of the vehicle. However, the present invention is not limited to this. It is good also as applying to the image of the camera etc. which image | photograph the surroundings of the own vehicle and the vehicle interior of the own vehicle instead of what.
 10 車両用データ記録装置
 12 センサ
 14 ECU
 20 マイコン
 22 メモリ
 24 RAM
 26 フラッシュROM
10 vehicle data recording device 12 sensor 14 ECU
20 Microcomputer 22 Memory 24 RAM
26 Flash ROM

Claims (7)

  1.  車両の使用状態又は走行状態を示すデータを取得するデータ取得手段と、前記データ取得手段により取得される前記データのうちの所定パラメータが所定範囲から外れたときに、前記データ取得手段により取得される前記データを記録部に記録する記録制御手段と、を備える車両用データ記録装置であって、
     前記記録制御手段は、前記データ取得手段により取得される前記所定パラメータが前記所定範囲から外れる度合いが大きい場合の前記データを、該度合いが小さい場合の前記データに比して優先して前記記録部に記録することを特徴とする車両用データ記録装置。
    Acquired by the data acquisition means when the data acquisition means for acquiring data indicating the use state or the running state of the vehicle and a predetermined parameter out of the predetermined range among the data acquired by the data acquisition means. A vehicle data recording device comprising: a recording control means for recording the data in a recording unit;
    The recording control unit gives priority to the data when the predetermined parameter acquired by the data acquisition unit is largely out of the predetermined range as compared with the data when the degree is small. A vehicular data recording apparatus characterized in that recording is performed on the vehicle.
  2.  前記記録部に所定量の前記データを記録できる残存領域が存在するか否かを判別する残存領域判別手段と、
     前記データ取得手段により取得される前記所定パラメータが前記所定範囲から外れ、かつ、前記残存領域判別手段により前記記録部に前記残存領域が存在しないと判別される場合に、今回前記データ取得手段により取得された前記所定パラメータが前記所定範囲から外れる度合いを、前記記録部に記録されている過去の前記データに含まれる前記所定パラメータが前記所定範囲から外れる度合いと比較する比較手段と、を備え、
     前記記録制御手段は、前記比較手段の比較の結果、前記記録部に記録されている過去の前記データに、今回前記データ取得手段により取得された前記所定パラメータが前記所定範囲から外れる度合いよりも前記所定範囲から外れる度合いが小さい前記所定パラメータが含まれるものがある場合に、該度合いが最も小さい前記所定パラメータを含む前記データが記録されていた前記記録部の記録領域に、今回前記データ取得手段により取得された前記データを記録することを特徴とする請求項1記載の車両用データ記録装置。
    A remaining area determining means for determining whether or not there is a remaining area capable of recording a predetermined amount of the data in the recording unit;
    When the predetermined parameter acquired by the data acquisition unit is out of the predetermined range and the remaining area determination unit determines that the remaining area does not exist in the recording unit, the current acquisition unit acquires the current parameter. Comparison means for comparing the degree of the predetermined parameter deviating from the predetermined range with the degree of the predetermined parameter included in the past data recorded in the recording unit being out of the predetermined range;
    As a result of the comparison by the comparison unit, the recording control unit is configured so that the predetermined parameter acquired by the data acquisition unit this time is less than the predetermined range in the past data recorded in the recording unit. In a case where the predetermined parameter having a small degree of deviating from the predetermined range is included, the data acquisition unit this time in the recording area of the recording unit in which the data including the predetermined parameter having the smallest degree is recorded. The vehicle data recording apparatus according to claim 1, wherein the acquired data is recorded.
  3.  前記記録制御手段は、前記比較手段の比較の結果、前記記録部に記録されている過去の前記データに、今回前記データ取得手段により取得された前記所定パラメータが前記所定範囲から外れる度合いよりも前記所定範囲から外れる度合いが小さい前記所定パラメータが含まれるものが無い場合は、今回前記データ取得手段により取得された前記データの、前記記録部への記録を行わないことを特徴とする請求項2記載の車両用データ記録装置。 As a result of the comparison by the comparison unit, the recording control unit is configured so that the predetermined parameter acquired by the data acquisition unit this time is less than the predetermined range in the past data recorded in the recording unit. 3. The recording of the data acquired by the data acquisition unit at this time to the recording unit is not performed when there is nothing that includes the predetermined parameter whose degree of deviation from the predetermined range is small. Vehicle data recording apparatus.
  4.  前記記録制御手段は、また、前記データ取得手段により取得される前記所定パラメータが前記所定範囲から外れる一方で、前記残存領域判別手段により前記記録部に前記残存領域が存在すると判別される場合に、今回前記データ取得手段により取得された前記データを該記録部の該残存領域に記録することを特徴とする請求項2記載の車両用データ記録装置。 The recording control means, when the predetermined parameter acquired by the data acquisition means is out of the predetermined range, while the remaining area determining means determines that the remaining area exists in the recording unit, 3. The vehicular data recording apparatus according to claim 2, wherein the data acquired by the data acquisition means is recorded in the remaining area of the recording unit.
  5.  前記記録部は、恒久記録領域であることを特徴とする請求項1乃至4の何れか一項記載の車両用データ記録装置。 5. The vehicle data recording apparatus according to claim 1, wherein the recording unit is a permanent recording area.
  6.  前記データ取得手段は、前記データを定期的にサンプリングして取得することを特徴とする請求項1乃至5の何れか一項記載の車両用データ記録装置。 The vehicle data recording apparatus according to any one of claims 1 to 5, wherein the data acquisition means acquires the data by periodically sampling the data.
  7.  前記データ取得手段により取得される前記データを所定時間分だけ記録することが可能な一時記録部を備えることを特徴とする請求項6記載の車両用データ記録装置。 The vehicle data recording apparatus according to claim 6, further comprising a temporary recording unit capable of recording the data acquired by the data acquisition means for a predetermined time.
PCT/JP2011/067106 2011-07-27 2011-07-27 Vehicle data recording apparatus WO2013014765A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/067106 WO2013014765A1 (en) 2011-07-27 2011-07-27 Vehicle data recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2011/067106 WO2013014765A1 (en) 2011-07-27 2011-07-27 Vehicle data recording apparatus

Publications (1)

Publication Number Publication Date
WO2013014765A1 true WO2013014765A1 (en) 2013-01-31

Family

ID=47600654

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/067106 WO2013014765A1 (en) 2011-07-27 2011-07-27 Vehicle data recording apparatus

Country Status (1)

Country Link
WO (1) WO2013014765A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022226689A1 (en) * 2021-04-25 2022-11-03 华为技术有限公司 Data management method and apparatus, and terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007011909A (en) * 2005-07-01 2007-01-18 Horiba Ltd Driving recorder
WO2007058357A1 (en) * 2005-11-21 2007-05-24 Optex Co., Ltd. Driving behavior recording device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007011909A (en) * 2005-07-01 2007-01-18 Horiba Ltd Driving recorder
WO2007058357A1 (en) * 2005-11-21 2007-05-24 Optex Co., Ltd. Driving behavior recording device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022226689A1 (en) * 2021-04-25 2022-11-03 华为技术有限公司 Data management method and apparatus, and terminal device

Similar Documents

Publication Publication Date Title
JP5907173B2 (en) Vehicle data recording device
JP4720770B2 (en) Information recording system for vehicles
JP6705495B1 (en) Vehicle recording control device, vehicle recording device, vehicle recording control method, and program
JP7327042B2 (en) Recording control device, recording control method, and recording control program
JP2008186174A (en) Running state recording device
JPWO2009090978A1 (en) Vehicle control device
US11161416B2 (en) Vehicle battery drainage avoidance
JP2017045396A (en) Image recorder and image recording method
KR102053268B1 (en) Vehicle black box and method for criteria of impact event using the same
KR20220152823A (en) Apparatus for recording drive video of vehicle and method thereof
JP5696636B2 (en) Information processing apparatus and data recording method
JP4888520B2 (en) Vehicle event information collection device
WO2013014765A1 (en) Vehicle data recording apparatus
JP2009290462A (en) Drive recorder
JP6512238B2 (en) Recording control device, recording device, recording control method and recording control program
JP6041030B2 (en) Vehicle data recording device
JP6774611B2 (en) Recording control device, recording device, recording control method and recording control program
JP5544886B2 (en) In-vehicle information storage device
JP5635941B2 (en) Electronic control unit for automobile
JP5914135B2 (en) Drive recorder
JP7384500B2 (en) Onboard equipment
KR101018830B1 (en) Apparatus and method for monitoring errors of vehicle
JP2020009485A (en) Recording control device, recording device, recording control method, and recording control program
JP6152012B2 (en) Operation recording device
KR20150096867A (en) Apparatus and Method of recording event based image data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11869854

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11869854

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP