JP2019212015A - Time synchronization device/method for vehicle data - Google Patents
Time synchronization device/method for vehicle data Download PDFInfo
- Publication number
- JP2019212015A JP2019212015A JP2018107572A JP2018107572A JP2019212015A JP 2019212015 A JP2019212015 A JP 2019212015A JP 2018107572 A JP2018107572 A JP 2018107572A JP 2018107572 A JP2018107572 A JP 2018107572A JP 2019212015 A JP2019212015 A JP 2019212015A
- Authority
- JP
- Japan
- Prior art keywords
- vehicle
- data
- time
- vehicle data
- event
- 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
Links
Images
Abstract
Description
本発明は、車両データの時刻同期装置及び方法に関する。 The present invention relates to a time synchronization apparatus and method for vehicle data.
従来、車両データを収集するデータ収集システムが提案されている(例えば、特許文献1)。車両データの一例は、CAN(Controller Area Network)バス等の車両に搭載されたネットワーク(車両の専用ネットワーク)を介して車速センサ等の車両センサにより取得される車両データである。車両データの他の例は、車両に搭載されたネットワークとは異なる経路を介して後付けの機器により取得される車両データである。後付けの機器の例は、カメラ、レーダ等である。 Conventionally, a data collection system for collecting vehicle data has been proposed (for example, Patent Document 1). An example of the vehicle data is vehicle data acquired by a vehicle sensor such as a vehicle speed sensor via a network (dedicated network for the vehicle) mounted on a vehicle such as a CAN (Controller Area Network) bus. Another example of the vehicle data is vehicle data acquired by a retrofit device via a route different from the network mounted on the vehicle. Examples of retrofit equipment are cameras, radars, and the like.
このようなデータ収集システムにおいて、例えば、車両に搭載されたネットワークを介して車両センサにより取得される車両データとしてCANデータが収集され、車両に搭載されたネットワークとは異なる経路を介して後付けの機器により取得される車両データとしてカメラ画像データが収集される。 In such a data collection system, for example, CAN data is collected as vehicle data acquired by a vehicle sensor via a network mounted on a vehicle, and a retrofit device is connected via a route different from the network mounted on the vehicle. The camera image data is collected as the vehicle data acquired by the above.
CANバス上を流れるデータには同じ時刻が付与されるが、後付けの機器により取得されたCANバス上を流れないデータ、例えば、カメラ画像データに付された時刻は、CANバス上を流れるデータの時刻と同期していない。したがって、同一のイベント(例えば、車両の走行状態から停止状態への変化)が検出されたCANデータに付された時刻は、同一のイベントが検出されたカメラ画像データに付された時刻と異なることがある。この場合、CANデータによって反映される車両の状況は、カメラ画像データによって反映される車両の状況に対応しなくなり、CANデータ及びカメラ画像データを分析等に用いるのに適さなくなる。このために、CANデータ及びカメラ画像データを分析等に用いる場合には、CANデータとカメラ画像データの時刻との時刻同期を行う作業が必要となる。 Data that flows on the CAN bus is given the same time, but data that does not flow on the CAN bus acquired by a retrofit device, for example, the time attached to the camera image data is the data that flows on the CAN bus. Not synchronized with the time. Therefore, the time attached to the CAN data in which the same event (for example, change from the running state of the vehicle to the stop state) is detected is different from the time attached to the camera image data in which the same event is detected. There is. In this case, the situation of the vehicle reflected by the CAN data does not correspond to the situation of the vehicle reflected by the camera image data, and is not suitable for using the CAN data and the camera image data for analysis or the like. For this reason, when using CAN data and camera image data for analysis etc., the operation | work which performs time synchronization with the time of CAN data and camera image data is needed.
本発明の目的は、車両データの時刻同期を正確に行うことができる車両データの時刻同期装置及び方法を提供することである。 An object of the present invention is to provide a vehicle data time synchronization apparatus and method capable of accurately performing time synchronization of vehicle data.
本発明による車両データの時刻同期装置は、第1の時刻が付された第1の車両データと、第2の時刻が付された第2の車両データとを収集する車両データ収集部と、第1の車両データ及び第2の車両データから同一のイベントを検出するイベント検出部と、第1の車両データと第2の車両データとの時刻同期を、同一のイベントが検出された第1の車両データの第1の時刻及び同一のイベントが検出された第2の車両のデータの第2の時刻との差に基づいて行う時刻同期部と、を備える。 A time synchronization device for vehicle data according to the present invention includes a vehicle data collection unit for collecting first vehicle data to which a first time is attached and second vehicle data to which a second time is attached; The event detection unit that detects the same event from the first vehicle data and the second vehicle data, and the time synchronization between the first vehicle data and the second vehicle data, the first vehicle in which the same event is detected A time synchronization unit that performs based on a difference between the first time of the data and the second time of the data of the second vehicle in which the same event is detected.
好適には、第1の車両データは、衛星測位システムからの信号に基づいて求められた車両の位置に関するデータであり、第2の車両データは、車両に搭載されたネットワークを介して車両のセンサ若しくは機器から車両データ収集部に送信されたデータ、又は、車両に搭載されたネットワークとは異なる経路を介して機器若しくはセンサから車両データ収集部に送信された車両の機器又はセンサの出力データである。 Preferably, the first vehicle data is data relating to a position of the vehicle obtained based on a signal from the satellite positioning system, and the second vehicle data is a sensor of the vehicle via a network mounted on the vehicle. Or data transmitted from the device to the vehicle data collection unit, or output data of the vehicle device or sensor transmitted from the device or sensor to the vehicle data collection unit via a route different from the network mounted on the vehicle. .
好適には、第1の車両データは、車両に搭載されたネットワークを介して車両のセンサ又は機器から車両データ収集部に送信されたデータと、車両に搭載されたネットワークとは異なる経路を介して機器又はセンサから車両データ収集部に送信された車両の機器又はセンサの出力データのうちの一方であり、第2の車両データは、そのうちの他方である。 Preferably, the first vehicle data is transmitted via a route different from the data transmitted from the vehicle sensor or device to the vehicle data collection unit via the network mounted on the vehicle and the network mounted on the vehicle. One of the output data of the vehicle device or sensor transmitted from the device or sensor to the vehicle data collection unit, and the second vehicle data is the other of them.
好適には、時刻同期部は、時刻同期を行う際の時刻補正のための補正値を、同一のイベントが出現した第1の車両データの時刻と同一のイベントが出現した第2の車両のデータの時刻との差に基づいて、同一のイベントが生じる度に繰り返し算出する。 Preferably, the time synchronization unit sets the correction value for time correction when performing time synchronization as data of the second vehicle in which the same event appears as the time of the first vehicle data in which the same event appears. Based on the difference from the time, the calculation is repeated every time the same event occurs.
好適には、同一のイベントは、車両の移動に関するイベントである。 Preferably, the same event is an event related to vehicle movement.
好適には、車両の移動に関するイベントは、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である。 Preferably, the event related to the movement of the vehicle is a change from the running state of the vehicle to the stopped state or a change from the stopped state of the vehicle to the running state.
好適には、第1の車両データ又は第2の車両データは、車両に搭載されたネットワークとは異なる経路を介して車両のカメラから車両データ収集部に送信された画像データであり、イベント検出部は、画像データのそれぞれに対応する画像に含まれる静止物の画像の中の位置の変化に基づいて、同一のイベントとして車両の移動を検出する。 Preferably, the first vehicle data or the second vehicle data is image data transmitted from the camera of the vehicle to the vehicle data collection unit via a route different from the network mounted on the vehicle, and the event detection unit Detects movement of the vehicle as the same event based on a change in position in the image of the stationary object included in the image corresponding to each of the image data.
好適には、第1の車両データは、車両の位置に関するデータであり、イベント検出部は、位置の変化に基づいて、同一のイベントとして車両の移動を検出する。 Preferably, the first vehicle data is data related to the position of the vehicle, and the event detection unit detects the movement of the vehicle as the same event based on the change in the position.
好適には、車両データの時刻同期装置は、車載機又はサーバである。 Preferably, the time synchronization device for vehicle data is an in-vehicle device or a server.
本発明による車両データの時刻同期方法は、第1の時刻が付された第1の車両データと、第2の時刻が付された第2の車両データとをコンピュータによって収集するステップと、第1の車両データ及び第2の車両データから同一のイベントをコンピュータによって検出するステップと、第1の車両データと第2の車両データとの時刻同期を、同一のイベントが検出された第1の車両データの第1の時刻及び同一のイベントが検出された第2の車両のデータの第2の時刻との差に基づいてコンピュータによって行うステップと、を備える。 According to the vehicle data time synchronization method of the present invention, the first vehicle data to which the first time is attached and the second vehicle data to which the second time is attached are collected by a computer, The step of detecting the same event from the vehicle data and the second vehicle data by the computer, and the time synchronization between the first vehicle data and the second vehicle data, the first vehicle data from which the same event was detected And a step performed by a computer based on a difference between the first time and the second time of the data of the second vehicle in which the same event is detected.
本発明によれば、車両データの時刻同期を正確に行うことができる車両データの時刻同期装置及び方法を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the time synchronization apparatus and method of vehicle data which can perform time synchronization of vehicle data correctly can be provided.
本発明による車両データの時刻同期装置及び方法を、図面を参照しながら詳細に説明する。図面中、同一構成要素には同一符号を付すものとする。
図1は、本発明による車両データの時刻同期装置として用いられる車載機1の構成図である。車載機1は、例えば、ドライブレコーダであり、GPS受信機2、車両状態のセンシング等を行うECU(Electronic Control Unit)3、カメラ4及びレーダ5が接続され、ROM11、RAM12及びCPU13を備える。
A vehicle data time synchronization apparatus and method according to the present invention will be described in detail with reference to the drawings. In the drawings, the same components are denoted by the same reference numerals.
FIG. 1 is a configuration diagram of an in-
GPS受信機2は、衛星測位システム信号(GPS信号)を衛星測位システム(図示せず)から受信し、GPS受信機2によって受信されたGPS信号は、経路14を介してCPU13に供給される。GPS信号は、衛星測位システムからの信号の一例である。
The
ECU3は、例えば、車速センサ、ジャイロセンサ、ヨーレートセンサ、舵角センサ、ブレーキ圧センサ、アクセル開度センサ、Gセンサ等である。車速センサは、車載機1が搭載されている車両の速度を検出する。ジャイロセンサは、車体の姿勢及び進行方向を検知する。ヨーレートセンサは、ヨーレート(車両の重心の上下方向軸周りの回転角速度)を検知する。舵角センサは、ドライバにより操作されるステアリングホイールの舵角(操舵角度)又はステアリングホイールの舵角に応じた実舵角(転舵角度)を検出する。ブレーキ圧センサは、ドライバによって踏み込まれたブレーキの圧を検出する。アクセル開度センサは、ドライバによって踏み込まれたアクセルの開度を検出する。Gセンサは、車両の重力加速度を検出する。
The ECU 3 is, for example, a vehicle speed sensor, a gyro sensor, a yaw rate sensor, a steering angle sensor, a brake pressure sensor, an accelerator opening sensor, a G sensor, or the like. The vehicle speed sensor detects the speed of the vehicle on which the in-
ECU3は、車速、姿勢、進行方向、ヨーレート、操舵角度、転舵角度、ブレーキ圧、アクセル開度、重力加速度等の検出結果のデータを、CANデータとしてCANバス15を介して車載機1に供給する。車載機1に供給されたCANデータには、車載機1に到達した時刻が付される。CANデータが車載機1に到達した時刻は、第1の時刻又は第2の時刻の一例であり、CPU13の内部クロックに基づいて決定される。CANデータは、第1の車両データ又は第2の車両データの一例であり、車両に搭載されたネットワークを介して車両のセンサ又は機器から車両データ収集部に送信されたデータの一例である。CANバス15は、車両に搭載されたネットワークの一例である。
The ECU 3 supplies data of detection results such as vehicle speed, posture, traveling direction, yaw rate, steering angle, steering angle, brake pressure, accelerator opening, and gravitational acceleration to the in-
カメラ4は、可視光カメラ等によって構成され、車両の周辺を撮像できるように車外又は車内に後付けされ、車両周辺の撮影画像データを、経路16を介して車載機1に供給する。車載機1に供給された撮影画像データには、車載機1に到達した時刻が付される。撮影画像データが車載機1に到達した時刻は、第1の時刻又は第2の時刻の一例であり、CPU13の内部クロックに基づいて決定される。カメラ4は、車両のカメラの一例である。撮影画像データは、第1の車両データ又は第2の車両データの一例であり、車両の機器又はセンサの出力データの一例であり、かつ、画像データの一例である。経路16は、車両に搭載されたネットワークとは異なる経路の一例である。撮影画像データが車載機1に到達した時刻は、第1の時刻又は第2の時刻の一例である。
The
レーダ5は、車両に後付けされ、ミリ波を発信し、ミリ波が障害物で反射した反射波を受信することによって周囲の障害物を検知する。ミリ波を発信してから戻ってくるまでの時間に基づいて車両と障害物との間の距離に関するレーダ5の検出結果のデータは、経路17を介してCPU13に供給される。車載機1に供給されたレーダ5の検出結果のデータには、車載機1に到達した時刻が付される。レーダ5の検出結果のデータが車載機1に到達した時刻は、第1の時刻又は第2の時刻の一例であり、CPU13の内部クロックに基づいて決定される。レーダ5の検出結果のデータは、第1の車両データ又は第2の車両データの一例であり、かつ、車両の機器又はセンサの出力データの一例である。経路17は、車両に搭載されたネットワークとは異なる経路の一例である。
The radar 5 is attached to the vehicle, transmits a millimeter wave, and detects a surrounding obstacle by receiving a reflected wave reflected by the obstacle. The data of the detection result of the radar 5 relating to the distance between the vehicle and the obstacle based on the time from when the millimeter wave is transmitted to when it returns is supplied to the
ROM11は、CPU13に接続され、内部クロック補正コンピュータプログラム、時刻同期制御コンピュータ制御プログラム等の各種制御コンピュータプログラム及び各種データを格納する。RAM12は、CPU13に接続され、GPS信号を用いることによって測定される衛星測位システムとGPS受信機2との間の距離に基づいてCPU13によって計算された時刻及び車両の位置に関するデータを格納する。計算された時刻は、第1の時刻の一例であり、内部クロック補正コンピュータプログラムを実行する際に基準時刻として用いることができる正確な時刻である。計算された時刻及び車両の位置に関するデータは、第1の車両データの一例であり、かつ、車両の位置に関するデータである。
The
本実施の形態では、RAM12は、車載機1に到達した時刻が付されたCANデータ、車載機1に到達した時刻が付された撮影画像データ、車載機1に到達した時刻が付されたレーダ5の検出結果のデータ等の各種データも格納する。計算された時刻、CANデータに付された時刻、撮影画像データに付された時刻及びレーダ5の検出結果のデータに付された時刻は、互いに同期していない。また、本実施の形態では、RAM12は、後に説明する補正値も格納する。
In the present embodiment, the
CPU13は、GPS受信機2、ECU3、カメラ4及びレーダ5がそれぞれ経路14、CANバス15、経路16及び経路17を介して接続され、ROM11に格納された各種制御プログラムを実行する。本実施の形態では、CPU13は、CPU13によって実行される制御プログラムによってソフトウェア的に構成される又はCPU13内の専用回路によりハードウェア的に構成される車両データ収集部13a、イベント検出部13b及び時刻同期部13cを備える。
The
車両データ収集部13aは、CPU13によって計算された時刻及び車両の位置に関するデータ、車載機1に到達した時刻が付されたCANデータ、車載機1に到達した時刻が付された撮影画像データ及び車載機1に到達した時刻が付されたレーダ5の検出結果のデータをRAM12から収集する。
The vehicle
イベント検出部13bは、計算された時刻及び車両の位置に関するデータ、CANデータ、撮影画像データ及びレーダ5の検出結果のデータのうちの少なくとも二つから同一のイベントを検出する。「同一のイベント」とは、車両データ(例えば、計算された時刻及び車両の位置に関するデータ)において検出されるイベントと別の車両データ(例えば、CANデータ)において検出されるイベントとが同一であることを意味する。また、イベント検出部13bは、車両データにおいてイベント(例えば、車両の停止状態から走行状態への変化)が出現した時刻と別の車両データにおいて同一種類のイベント(例えば、車両の停止状態から走行状態への変化)が出現した時刻との差が予め決定された値(例えば、5秒)である場合、これらのイベントを同一のイベントと識別する。 The event detection unit 13b detects the same event from at least two of the calculated time and vehicle position data, CAN data, photographed image data, and radar 5 detection result data. “The same event” is the same as an event detected in vehicle data (for example, data relating to the calculated time and position of the vehicle) and an event detected in another vehicle data (for example, CAN data). Means that. In addition, the event detection unit 13b uses the same type of event (for example, the traveling state from the stopped state of the vehicle) to the time when the event (for example, the change from the stopped state of the vehicle to the traveling state) appears in the vehicle data. When the difference from the time when the change occurs is a predetermined value (for example, 5 seconds), these events are identified as the same event.
本実施の形態において、イベント検出部13bは、計算された時刻及び車両の位置に関するデータに含まれる車両の位置の変化に基づいて、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である車両の移動に関するイベントを、計算された時刻及び車両の位置に関するデータから検出する。 In the present embodiment, the event detection unit 13b determines whether the vehicle travel state is changed to the stop state or the vehicle stop state based on the change in the vehicle position included in the data related to the calculated time and the vehicle position. An event relating to the movement of the vehicle, which is a change to the running state, is detected from the data relating to the calculated time and the position of the vehicle.
また、イベント検出部13bは、CANデータに含まれる速度の変化に基づいて、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である車両の移動に関するイベントを、CANデータから検出する。 In addition, the event detection unit 13b, based on a change in speed included in the CAN data, detects an event related to the movement of the vehicle that is a change from the running state of the vehicle to the stopped state or a change from the stopped state of the vehicle to the running state. Detect from CAN data.
また、イベント検出部13bは、撮影画像データについて画像認識を行うことによって、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である車両の移動に関するイベントを、撮影画像データから検出する。 Further, the event detection unit 13b performs image recognition on the captured image data to capture an event related to the movement of the vehicle, which is a change from the running state of the vehicle to the stopped state or a change from the stopped state of the vehicle to the running state. Detect from image data.
イベント検出部13bは、撮影画像データから検出したイベントに対応する画像(映像)に含まれる静止物(例えば、信号機)を認識するために、例えば、認識対象物(信号機)の画像とその他の画像(背景等)の画像との輝度差を利用してこれらの間の境界認識すなわちエッジ検出を行う。エッジ検出を行うに際し、検出精度を高めるために、前処理としての空間フィルタリングを用いたノイズ除去等の画像処理手法を用いてもよい。 In order to recognize a stationary object (for example, a traffic light) included in an image (video) corresponding to an event detected from the captured image data, the event detection unit 13b, for example, an image of a recognition target object (a traffic signal) and other images Using the luminance difference from the image of (background etc.), boundary recognition between them, that is, edge detection is performed. When performing edge detection, an image processing method such as noise removal using spatial filtering as preprocessing may be used in order to increase detection accuracy.
また、イベント検出部13bは、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である車両の移動に関するイベントを検出するために、画像に含まれる静止物の画像の中の位置の変化を判定する。イベント検出部13bは、画像に含まれる静止物の画像の中の位置の変化を判定するために、車両データ収集部13aが収集した撮影画像データにそれぞれ対応する画像の各点が全体として収束するような無限遠点又は消失点を求めるとともに、画像中の静止物の画像として認識された画像の中から静止物の縁部、中央部、面積、色彩等の特徴点を抽出し、その特徴点の時間的な移動を移動ベクトル(オプティカルフロー)として求める。
In addition, the event detection unit 13b detects an event related to movement of the vehicle that is a change from the running state of the vehicle to the stopped state or a change from the stopped state of the vehicle to the running state. The change of the position in is determined. The event detection unit 13b converges each point of the image respectively corresponding to the captured image data collected by the vehicle
そして、イベント検出部13bは、求めたオプティカルフローが消失点から発散する方向に向かっているか否か(収束する方向に向かっているか否か)に応じて、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である車両の移動に関するイベントを検出する。 Then, the event detection unit 13b changes from the running state of the vehicle to the stopped state depending on whether or not the obtained optical flow is in the direction of diverging from the vanishing point (whether or not it is in the direction of convergence). Alternatively, an event relating to the movement of the vehicle, which is a change from the stopped state of the vehicle to the traveling state, is detected.
さらに、イベント検出部13bは、レーダ5の検出結果のデータに含まれる車両と障害物との間の距離に基づいて、車両の移動に関するイベント等のイベントをレーダ5の検出結果のデータから検出する。 Further, the event detection unit 13b detects an event such as an event relating to the movement of the vehicle from the detection result data of the radar 5 based on the distance between the vehicle and the obstacle included in the detection result data of the radar 5. .
時刻同期部13cは、時刻同期を行う際の時刻補正のための補正値を、同一のイベント(例えば、車両の停止状態から走行状態への変化)が出現したデータ(例えば、計算された時刻及び車両の位置に関するデータ)の時刻と同一のイベント(例えば、車両の停止状態から走行状態への変化)が出現した他のデータ(例えば、CANデータ)の時刻との差に基づいて算出する。また、時刻同期部13cは、異なる経路を介してそれぞれ取得したデータ(例えば、計算された時刻及び車両の位置に関するデータ及びCANデータ)において同一のイベントが生じる度に補正値を繰り返し算出し、算出した補正値をRAM12に格納する。
The
そして、時刻同期部13cは、算出した補正値に基づいて、同一のイベントが出現したデータ(例えば、計算された時刻及び車両の位置に関するデータ)の時刻と同一のイベントが出現した他のデータ(例えば、CANデータ)との時刻同期を行う。
Then, the
時刻同期部13cが算出する補正値は、データの種類の組合せごとに異なる。例えば、計算された時刻及び車両の位置に関するデータとCANデータとの時刻同期を行う際の時刻補正のための補正値は、計算された時刻及び車両の位置に関するデータと撮影画像データとの時刻同期を行う際の時刻補正のための補正値と異なる。
The correction value calculated by the
本実施の形態では、時刻同期部13cは、車載機5のCPU13の内部クロックの補正を行う。図2は、図1に示す車載機1のCPU13の内部クロック補正手順の一例を示すフローチャートである。このフローは、内部クロック補正コンピュータプログラムに基づいて、主にCPU13により、車載機1の各要素と協働して実行される。このフローは、車両のイグニションスイッチがオンである間に所定の時間間隔ごとに実行される。
In the present embodiment, the
先ず、GPS受信機2は、GPS信号を受信する(ステップS1)。次に、CPU13は、GPS信号を用いることによって測定される衛星測位システムとGPS受信機2との間の距離を測定し、測定した距離に基づいて、時刻及び車両の位置を計算する(ステップS2)。次に、CPU13は、計算された時刻に基づいて内部クロックを補正し、計算された時刻及び車両の位置に関するデータをRAM12に一時的に格納する(ステップS3)。その後、CPU13は、処理を終了する。
First, the
このように内部クロックを補正することによって、CANデータが車載機1に到達した時刻、撮影画像データが車載機1に到達した時刻及びレーダ5の検出結果のデータが車載機1に到達した時刻は、内部クロックを補正しない場合に比べて正確になる。
By correcting the internal clock in this way, the time when the CAN data reaches the vehicle-mounted
図3は、図1に示す車載機5時刻同期制御手順の一例を示すフローチャートである。このフローは、時刻同期制御コンピュータプログラムに基づいて、主にCPU13により、車載機1の各要素と協働して実行される。このフローは、車両のイグニションスイッチがオンである間に所定の時間間隔ごとに実行される。
FIG. 3 is a flowchart showing an example of the on-vehicle device 5 time synchronization control procedure shown in FIG. This flow is executed mainly by the
先ず、車両データ収集部13aは、計算された時刻及び車両の位置に関するデータ、車載機1に到達した時刻が付されたCANデータ、車載機1に到達した時刻が付された撮影画像データ及び車載機1に到達した時刻が付されたレーダ5の検出結果のデータをRAM12から収集する(ステップS11)。
First, the vehicle
次に、イベント検出部13bは、異なる経路を介してそれぞれ取得したデータから同一のイベントが検出されたか否かを判定する(ステップS12)。異なる経路を介してそれぞれ取得したデータから同一のイベントが検出された場合(ステップS12のYES)、時刻同期部13cは、同一のイベントが検出されたデータの時刻同期を行う際の時刻補正のための補正値を算出する(ステップS13)。次に、時刻同期部13cは、RAM12に格納された補正値のうちのステップS13で算出した補正値に対応する補正値を、ステップS13で算出した補正値に更新する(ステップS14)。次に、時刻同期部13cは、RAM12に格納された補正値に基づいて、同一のイベントが検出された複数のデータの時刻同期を行う(ステップS15)。次に、時刻同期部13cは、時刻同期が行われたデータをRAM12に格納する(ステップS16)。その後、CPU13は、処理を終了する。一方、ステップS12において異なる経路を介してそれぞれ取得したデータから同一のイベントが検出されなかった場合(ステップS12のNO)、処理は、ステップS15に進む。
Next, the event detection unit 13b determines whether or not the same event is detected from the data acquired via different paths (step S12). When the same event is detected from the data acquired through different paths (YES in step S12), the
図4は、図1に示す車載機5の時刻同期を説明するための図である。図4において、車両の停止状態から走行状態への変化である動き始めを同一のイベントとして検出する場合について説明する。図4Aにおいて、車載機1で撮影画像データを受信した時刻t1が17:00:05から17:00:10の直前までの間の撮影画像データに対応する画像の信号機Sの位置が変化せず、時刻t1が17:00:10の直後の撮影画像データに対応する画像の信号機Sの位置が変化したことを示す。イベント検出部13bは、静止物である信号機の画像中の位置の変化を検出することによって、車両の停止状態から走行状態への変化である動き始めをイベントとして検出する。
FIG. 4 is a diagram for explaining time synchronization of the in-vehicle device 5 shown in FIG. In FIG. 4, a case will be described in which the start of movement, which is a change from the stop state of the vehicle to the running state, is detected as the same event. In FIG. 4A, the position of the traffic light S of the image corresponding to the captured image data during the time t1 when the captured image data is received by the in-
図4Bにおいて、車載機1でCANデータを受信した時刻t2が17:00:10から17:00:15の直前までの間のCANデータに含まれる速度vが0であり、時刻t1が17:00:15の直後のCANデータに含まれる速度vがv1(v1>0)になったことを示す。イベント検出部13bは、速度vの0からv1への変化を検出することによって、車両の停止状態から走行状態への変化である動き始めを、図4Aにおける撮影画像データの動き始めのイベントと同一のイベントとして検出する。
In FIG. 4B, the speed v included in the CAN data between the time t2 at which the in-
図4Cにおいて、GPS信号を用いることによって取得した時刻t3が17:00:07から17:00:12の直前までの間のGPS信号を用いることによって取得した車両の位置(x,y)が(x0,y0)であり、時刻t3が17:00:12の直後のGPS信号を用いることによって取得した車両の位置(x,y)が(x1,y1)(x0≠x1,y0≠y1)になったことを示す。イベント検出部13bは、車両の位置(x,y)の(x0,y0)から(x1,y1)への変化を検出することによって、車両の停止状態から走行状態への変化である動き始めを、図4Aにおける撮影画像データの動き始めのイベント及び図4BにおけるCANデータの動き始めのイベントと同一のイベントとして検出する。 In FIG. 4C, the position (x, y) of the vehicle acquired by using the GPS signal during the time t3 acquired by using the GPS signal from 17:00:07 to immediately before 17:00:12 is ( x 0 , y 0 ), and the position (x, y) of the vehicle acquired by using the GPS signal immediately after the time t3 of 17:00:12 is (x 1 , y 1 ) (x 0 ≠ x 1 , Y 0 ≠ y 1 ). The event detection unit 13b detects the change of the vehicle position (x, y) from (x 0 , y 0 ) to (x 1 , y 1 ), thereby changing the vehicle from the stop state to the running state. A certain movement start is detected as the same event as the movement start event of the captured image data in FIG. 4A and the CAN data movement start event in FIG. 4B.
図4に示す例では、車両の停止状態から走行状態への変化である動き始めを検出したときの時刻t1、時刻t2及び時刻t3がそれぞれ17:00:10、17:00:15及び17:00:12であるので、GPS信号を用いて取得した時刻を基準とした場合、時刻t3に対する時刻t1の補正値は+2となり、時刻t3に対する時刻t2の補正値は−3となる。 In the example shown in FIG. 4, the time t1, the time t2, and the time t3 when detecting the start of movement, which is a change from the stop state of the vehicle to the running state, are 17:00:10, 17:00:15, and 17: Since it is 00:12, when the time acquired using the GPS signal is used as a reference, the correction value at time t1 with respect to time t3 is +2, and the correction value at time t2 with respect to time t3 is −3.
本実施の形態によれば、計算された時刻及び車両の位置に関するデータ、車載機1に到達した時刻が付されたCANデータ、車載機1に到達した時刻が付された撮影画像データとの間の時刻同期を正確に行うことができる。
According to the present embodiment, between the calculated time and data regarding the position of the vehicle, CAN data to which the time when the
また、補正値を繰り返し算出することによって、時刻同期の精度を向上させることができる。また、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化である車両の移動に関するイベントを検出することによって、イベントの検出が容易になる。 Moreover, the accuracy of time synchronization can be improved by repeatedly calculating the correction value. Further, by detecting an event relating to the movement of the vehicle, which is a change from the running state of the vehicle to the stopped state or a change from the stopped state of the vehicle to the running state, the event can be easily detected.
図5は、本発明による車両データの時刻同期装置として用いられるサーバ6を有する通信システムの構成図である。図5に示すシステムにおいて、車載機1’は、ROM11’、RAM12’,CPU13’及び通信部18を備える。ROM11’は、図1のROM11と略同一構成を有し、RAM12’は、図1のRAM12と略同一の構成を有し、CPU13’は、図1の車両データ収集部13a、イベント検出部13b及び時刻同期部13cを備えない点を除いて図1のCPU13と略同一の構成を有する。
FIG. 5 is a configuration diagram of a communication system having a
通信部18は、CPU13’に接続され、通信ネットワーク7に接続するためのインタフェース回路を有する。そして、通信部18は、通信ネットワーク7が準拠する通信方式に従ってサーバ6と通信を行う。
The
サーバ6は、通信部21、ROM22、RAM23及びCPU24を備える。通信部21は、CPU24に接続され、通信ネットワーク7に接続するためのインタフェース回路を有する。そして、通信部21は、通信ネットワーク7が準拠する通信方式に従って車載機1’と通信を行う。
The
ROM22は、図1のROM11と略同一構成を有し、RAM23は、図1のRAM12と略同一の構成を有し、CPU24は、図1の車両データ収集部13a、イベント検出部13b及び時刻同期部13cにそれぞれ対応する図1の車両データ収集部24a、イベント検出部24b及び時刻同期部24cを備え、図1のCPU13と略同一の構成を有する。
The
本実施の形態では、計算された時刻及び車両の位置に関するデータ、サーバ6に到達した時刻が付されたCANデータ、サーバ6に到達した時刻が付された撮影画像データ及びサーバ6に到達した時刻が付されたレーダ5の検出結果のデータがRAM23に格納される。例えば、同期時刻部24cは、計算された時刻及び車両の位置に関するデータ、サーバ6に到達した時刻が付されたCANデータ、サーバ6に到達した時刻が付された撮影画像データとの間の時刻同期を行い、時刻同期が行われたこれらのデータは、サーバ6から車載機1’に送信され、RAM12’に格納される。
In the present embodiment, the data relating to the calculated time and the position of the vehicle, the CAN data to which the time of arrival at the
本実施の形態によれば、計算された時刻及び車両の位置に関するデータ、サーバ6に到達した時刻が付されたCANデータ、サーバ6に到達した時刻が付された撮影画像データとの間の時刻同期をサーバ6側で行うことによって、車載機1’における演算の負荷を軽減することができる。
According to the present embodiment, the time between the calculated time and data on the position of the vehicle, the CAN data to which the time of arrival at the
図6は、本発明による車両データの時刻同期装置として用いられるサーバ6’を有する通信システムの構成図である。図6に示すシステムにおいて、車載機1”は、ROM11”、RAM12”,CPU13”及び通信部18を備える。ROM11”は、図1のROM11と略同一構成を有し、RAM12”は、図1のRAM12と略同一の構成を有し、CPU13’は、図1の車両データ収集部13a、イベント検出部13b及び時刻同期部13cの代わりに時刻同期部13c”を備える点を除いて図1のCPU13と略同一の構成を有する。
FIG. 6 is a block diagram of a communication system having a server 6 'used as a time synchronization device for vehicle data according to the present invention. In the system shown in FIG. 6, the vehicle-mounted
サーバ6’は、通信部21、ROM22’、RAM23’及びCPU24’を備える。ROM22’は、図1のROM11と略同一構成を有し、RAM23’は、図1のRAM12と略同一の構成を有し、CPU24’は、図1の車両データ収集部13a及びイベント検出部13bにそれぞれ対応する図1の車両データ収集部24a及びイベント検出部24bと、補正値算出部24dを備え、図1のCPU13と略同一の構成を有する。補正値算出部24dは、時刻同期を行う際の時刻補正のための補正値を算出する。
The server 6 'includes a
本実施の形態では、計算された時刻及び車両の位置に関するデータ、サーバ6’に到達した時刻が付されたCANデータ、サーバ6’に到達した時刻が付された撮影画像データ及びサーバ6’に到達した時刻が付されたレーダ5の検出結果のデータがRAM23に格納される。また、本実施の形態では、補正値算出部24dは、時刻補正のための補正値を算出し、算出された補正値に関するデータがサーバ6’から車載機1”に送信され、時刻同期部13c”は、車載機1”に送信された補正値に関するデータに含まれる補正値に基づいて時刻同期を行う。
In the present embodiment, data relating to the calculated time and the position of the vehicle, CAN data to which the time of arrival at the
本実施の形態によれば、時刻同期を行う際の時刻補正のための補正値をサーバ6’側で算出することによって、車載機1”における演算の負荷を軽減することができる。
According to the present embodiment, by calculating the correction value for time correction at the time of time synchronization on the server 6 'side, it is possible to reduce the calculation load in the in-
本発明は、上記実施の形態に限定されるものではなく、幾多の変更及び変形が可能である。例えば、上記実施の形態において、3種類のデータの間の時刻同期を行う場合について説明したが、2種類又は4種類以上のデータの間の時刻同期を行う場合にも本発明を適用することができる。2種類のデータの間の時刻同期は、例えば、計算された時刻及び車両の位置に関するデータと車載機1に到達した時刻が付されたCANデータ若しくは車載機1に到達した時刻が付された撮影画像データとの間の時刻同期、又は、車載機1に到達した時刻が付されたCANデータと車載機1に到達した時刻が付された撮影画像データとの間の時刻同期である。4種類以上のデータの間の時刻同期は、例えば、計算された時刻及び車両の位置に関するデータ、車載機1に到達した時刻が付されたCANデータ、車載機1に到達した時刻が付された撮影画像データ及び車載機1に到達した時刻が付されたレーダ5の検出結果のデータの間の時刻同期である。2種類又は4種類以上のデータの間の時刻同期を行う場合もデータの間の時刻同期を正確に行うことができる。また、繰り返し算出した補正値の平均値の算出等の学習を行い、学習した結果(例えば、補正値の平均値)を、時刻同期を行う際に用いてもよい。
The present invention is not limited to the above-described embodiment, and many changes and modifications can be made. For example, in the above embodiment, the case of performing time synchronization between three types of data has been described. However, the present invention can also be applied to the case of performing time synchronization between two types of data or four or more types of data. it can. The time synchronization between the two types of data is, for example, CAN data to which the data relating to the calculated time and the position of the vehicle and the time when the
また、イベントとして車両の移動に関するイベントとして、車両の走行状態から停止状態への変化又は車両の停止状態から走行状態への変化の他に車両の後退、右折、左折、車両の障害物の回避、車間距離の変化等を用いることができる。車両の後退をイベントとして用いる場合、例えば、計算された時刻及び車両の位置に関するデータに含まれる車両の位置の変化をイベントとして検出するとともにCANデータに含まれる速度の変化をイベントとして検出する。車両の右折又は左折をイベントとして用いる場合、例えば、CANデータに含まれるヨーレート又は操舵角度の変化をイベントとして検出するとともに画像中の右から左に流れる変化をイベントとして検出する。車両の障害物の回避又は車間距離の変化をイベントとして用いる場合、例えば、CANデータに含まれるブレーキ圧、アクセル開度、重力加速度の変化をイベントとして検出するとともに画像に示される急減速又は急加速の状態をイベントとして検出する。 In addition, as an event related to the movement of the vehicle as an event, in addition to the change from the running state of the vehicle to the stopped state or the change from the stopped state of the vehicle to the running state, the vehicle retreats, right turn, left turn, avoidance of vehicle obstacles, Changes in the inter-vehicle distance can be used. When using the reverse of the vehicle as an event, for example, a change in the position of the vehicle included in the data related to the calculated time and the position of the vehicle is detected as an event, and a change in the speed included in the CAN data is detected as an event. When using a right turn or left turn of the vehicle as an event, for example, a change in yaw rate or steering angle included in the CAN data is detected as an event, and a change flowing from right to left in the image is detected as an event. When avoiding a vehicle obstacle or changing a distance between vehicles is used as an event, for example, a change in brake pressure, accelerator opening, or gravitational acceleration included in CAN data is detected as an event, and sudden deceleration or rapid acceleration shown in the image is detected. The state of is detected as an event.
さらに、イベントとして車両の移動に関するイベントを検出する場合について説明したが、イベントとしてドライバの挙動に関するイベントを用いてもよい。ドライバの挙動に関するイベントを検出するために、例えば、移動物(例えば、歩行者)が飛び出してきたことを示す画像をイベントとして検出するとともにドライバに装着されたウエアラブルデバイスが取得した心拍数の変化をイベントとして検出する。 Furthermore, although the case where an event related to vehicle movement is detected as an event has been described, an event related to driver behavior may be used as an event. In order to detect an event related to the behavior of the driver, for example, an image indicating that a moving object (for example, a pedestrian) has jumped out is detected as an event, and a change in heart rate acquired by a wearable device attached to the driver is detected. Detect as an event.
1,1’,1” 車載機
2 GPS受信機
3 ECU
4 カメラ
5 レーダ
6,6’ サーバ
7 通信ネットワーク
11,11’,11”,22,22’ ROM
12,12’,12”,23,23’ RAM
13,13’,13”,24,24’ CPU
13a,24a 車両データ収集部
13b,24b イベント検出部
13c,13c”,24c 時刻同期部
14,16,17 経路
15 CANバス
18,21 通信部
24d 補正値算出部
1, 1 ', 1 "In-
4 Camera 5
12, 12 ', 12 ", 23, 23' RAM
13, 13 ', 13 ", 24, 24' CPU
13a, 24a Vehicle
Claims (10)
前記第1の車両データ及び前記第2の車両データから同一のイベントを検出するイベント検出部と、
前記第1の車両データと前記第2の車両データとの時刻同期を、前記同一のイベントが検出された前記第1の車両データの前記第1の時刻及び前記同一のイベントが検出された前記第2の車両のデータの前記第2の時刻との差に基づいて行う時刻同期部と、
を備える車両データの時刻同期装置。 A vehicle data collection unit that collects the first vehicle data to which the first time is attached and the second vehicle data to which the second time is attached;
An event detector for detecting the same event from the first vehicle data and the second vehicle data;
The first vehicle data and the second vehicle data are synchronized in time with respect to the first time of the first vehicle data in which the same event is detected and the first time in which the same event is detected. A time synchronization unit that performs based on the difference between the second time of the data of the two vehicles,
A vehicle data time synchronization apparatus.
前記第1の車両データ及び前記第2の車両データから同一のイベントをコンピュータによって検出するステップと、
前記第1の車両データと前記第2の車両データとの時刻同期を、前記同一のイベントが検出された前記第1の車両データの前記第1の時刻及び前記同一のイベントが検出された前記第2の車両のデータの前記第2の時刻との差に基づいてコンピュータによって行うステップと、
を備える車両データの時刻同期方法。 Collecting, by a computer, first vehicle data to which a first time is attached and second vehicle data to which a second time is attached;
Detecting the same event from the first vehicle data and the second vehicle data by a computer;
The first vehicle data and the second vehicle data are synchronized in time with respect to the first time of the first vehicle data in which the same event is detected and the first time in which the same event is detected. Performing by a computer based on a difference between the second time of the data of two vehicles;
A time synchronization method for vehicle data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018107572A JP7112255B2 (en) | 2018-06-05 | 2018-06-05 | VEHICLE DATA TIME SYNCHRONIZATION DEVICE AND METHOD |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018107572A JP7112255B2 (en) | 2018-06-05 | 2018-06-05 | VEHICLE DATA TIME SYNCHRONIZATION DEVICE AND METHOD |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019212015A true JP2019212015A (en) | 2019-12-12 |
JP7112255B2 JP7112255B2 (en) | 2022-08-03 |
Family
ID=68844117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018107572A Active JP7112255B2 (en) | 2018-06-05 | 2018-06-05 | VEHICLE DATA TIME SYNCHRONIZATION DEVICE AND METHOD |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7112255B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022024875A1 (en) * | 2020-07-28 | 2022-02-03 | Kyb株式会社 | Vehicle information collection processing system and vehicle information collection processing method |
WO2022030404A1 (en) * | 2020-08-07 | 2022-02-10 | 株式会社オートネットワーク技術研究所 | On-vehicle device, time synchronization method, and time synchronization program |
JP7448425B2 (en) | 2020-06-17 | 2024-03-12 | 株式会社Soken | Vehicle data synchronization device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005258598A (en) * | 2004-03-09 | 2005-09-22 | Data Tec:Kk | Running history recording device and method of vehicle, and computer program |
JP2010055272A (en) * | 2008-08-27 | 2010-03-11 | Yazaki Corp | Information recording system for vehicle, and information recording method for vehicle |
-
2018
- 2018-06-05 JP JP2018107572A patent/JP7112255B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005258598A (en) * | 2004-03-09 | 2005-09-22 | Data Tec:Kk | Running history recording device and method of vehicle, and computer program |
JP2010055272A (en) * | 2008-08-27 | 2010-03-11 | Yazaki Corp | Information recording system for vehicle, and information recording method for vehicle |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7448425B2 (en) | 2020-06-17 | 2024-03-12 | 株式会社Soken | Vehicle data synchronization device |
WO2022024875A1 (en) * | 2020-07-28 | 2022-02-03 | Kyb株式会社 | Vehicle information collection processing system and vehicle information collection processing method |
WO2022030404A1 (en) * | 2020-08-07 | 2022-02-10 | 株式会社オートネットワーク技術研究所 | On-vehicle device, time synchronization method, and time synchronization program |
JP2022030461A (en) * | 2020-08-07 | 2022-02-18 | 株式会社オートネットワーク技術研究所 | On-vehicle device, time synchronization method and time synchronization program |
JP7052837B2 (en) | 2020-08-07 | 2022-04-12 | 株式会社オートネットワーク技術研究所 | In-vehicle device, time synchronization method and time synchronization program |
Also Published As
Publication number | Publication date |
---|---|
JP7112255B2 (en) | 2022-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109017791B (en) | Lane change assist device | |
US9858488B2 (en) | Image processing device, method thereof, and moving body anti-collision device | |
US10339805B2 (en) | Traffic light recognition device and traffic light recognition method | |
CN109313813B (en) | Vision system and method for a motor vehicle | |
CN102826093A (en) | Lane departure warning device | |
US20160073062A1 (en) | Approaching object detection apparatus for a vehicle and approaching object detection method for the same | |
JP7112255B2 (en) | VEHICLE DATA TIME SYNCHRONIZATION DEVICE AND METHOD | |
JP2017138660A (en) | Object detection method, object detection device and program | |
JP6936098B2 (en) | Object estimation device | |
JP6941178B2 (en) | Automatic operation control device and method | |
JP2018048949A (en) | Object recognition device | |
EP3644293B1 (en) | Travel control method and travel control device | |
JP6564127B2 (en) | VISUAL SYSTEM FOR AUTOMOBILE AND METHOD FOR CONTROLLING VISUAL SYSTEM | |
JP5698618B2 (en) | Absolute speed estimation device | |
CN113795726B (en) | Self-position correction method and self-position correction device | |
JP7261588B2 (en) | Traffic light recognition method and traffic light recognition device | |
JP7118717B2 (en) | Image processing device and stereo camera device | |
JP5425500B2 (en) | Calibration apparatus and calibration method | |
CN112889270A (en) | Information processing method, information processing device, information processing program, and information processing system | |
WO2020064543A1 (en) | Vision system and method for a motor vehicle | |
JP6295868B2 (en) | Vehicle display device | |
JP2018169207A (en) | Vehicle position detector | |
WO2021094799A1 (en) | Traffic signal recognition method and traffic signal recognition device | |
JP6500844B2 (en) | Vehicle position and attitude calculation device and vehicle position and attitude calculation program | |
JP2012118682A (en) | Driving support controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210429 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220308 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220309 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220329 |
|
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: 20220705 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220722 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7112255 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |