WO2022040872A1 - Radar and imu-based accident data storage method and device for event data recorder - Google Patents

Radar and imu-based accident data storage method and device for event data recorder Download PDF

Info

Publication number
WO2022040872A1
WO2022040872A1 PCT/CN2020/110856 CN2020110856W WO2022040872A1 WO 2022040872 A1 WO2022040872 A1 WO 2022040872A1 CN 2020110856 W CN2020110856 W CN 2020110856W WO 2022040872 A1 WO2022040872 A1 WO 2022040872A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
data
radar
time
moment
Prior art date
Application number
PCT/CN2020/110856
Other languages
French (fr)
Chinese (zh)
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 CN202080064395.5A priority Critical patent/CN114402220A/en
Priority to PCT/CN2020/110856 priority patent/WO2022040872A1/en
Publication of WO2022040872A1 publication Critical patent/WO2022040872A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified

Definitions

  • the invention belongs to the technical field of vehicle data information storage, and in particular relates to a Radar and IMU-based driving recorder accident data storage method and device.
  • the current data storage methods include: using on-board instruments.
  • the on-board instrument system is a device in the automotive electronic system that reflects the working conditions of various systems of the vehicle, and is mainly used to indicate the operating conditions of the vehicle.
  • the system passes The status data obtained by the bus will be discarded after being output and displayed by the liquid crystal instrument.
  • the system does not have the function of data recording and storage, and cannot provide data playback, and cannot provide decision-making reference for the analysis of vehicle driving status.
  • the data is not fully utilized, resulting in a huge waste of resources; and in the existing technology, some use the traditional driving recorder to save accident data, in the traditional driving recorder accident judgment and recording method, for storage after the vehicle stops
  • the speed and vehicle signal data 20 seconds before reaching a standstill can only be confirmed by the formal state of the vehicle, that is, the change from driving to stopping to confirm the accident data.
  • the data is stored as accident data.
  • the data storage space of the driving recorder is limited, and cyclic coverage is generally used.
  • Another data storage method is to analyze the running state of the vehicle through the data of the vehicle chassis, and save the driving data in the accident state.
  • the driving data of the vehicle chassis is obtained. After the data is obtained, there is no way to judge the emergency state of the vehicle through the driving data, so as to save the driving data in the emergency state.
  • one of the objects of the present invention is to provide a method for saving accident data of a driving recorder based on Radar and IMU, which can save the accident data in driving for a long time.
  • the technical scheme of the present invention is:
  • a method for saving accident data of a driving recorder based on Radar and IMU comprising the following steps:
  • the Radar data includes the distance, angle, and relative speed of the obstacle and the vehicle relative to the obstacle;
  • the three-axis acceleration includes left and right acceleration, Front and rear acceleration, up and down acceleration;
  • step (2) specifically includes the following steps:
  • d is the distance of the vehicle relative to the obstacle
  • is the angle of the vehicle relative to the obstacle
  • the obstacle is in front of the vehicle and the collision time is:
  • v r is the relative speed of the obstacle and the vehicle.
  • the on-board Radar data and the three-axis acceleration data of the vehicle's built-in IMU are obtained from the chassis analysis.
  • the driving recorder of the vehicle is connected to the black box on the canbus, communicates with the chassis, and analyzes the vehicle Radar data and the three-axis acceleration data of the vehicle's built-in IMU from the chassis.
  • the second purpose of the present invention is to provide a device for saving accident data of a driving recorder based on Radar and IMU, which can save the accident data in driving for a long time.
  • a driving recorder accident data storage device based on Radar and IMU comprising:
  • a data receiving module used to obtain the three-axis acceleration data of the vehicle, the Radar data of the vehicle, and the vehicle speed data of the vehicle;
  • the three-axis acceleration data includes the left and right acceleration, the front and rear acceleration, and the up and down acceleration of the vehicle;
  • the Radar module is connected to the data receiving module, and is used to calculate the collision time of the vehicle relative to each obstacle at the current moment according to the Radar data of the vehicle, select the minimum data as the first collision time of the vehicle at the current moment, and calculate the collision time of the vehicle at the current moment according to the current moment t0. Whether there is 90% or more of the first collision time within the preset time t1 and the first collision time is less than 2 seconds, mark whether the current time is a Radar dangerous time; 5s ⁇ t1-t0 ⁇ 10s;
  • the recorder module connected with the data receiving module, is used to judge whether the current moment is the recorder dangerous moment according to the three-axis acceleration data of the vehicle at the current moment; when the three-axis acceleration has an instantaneous acceleration greater than 3m/s 2 in any direction, Then mark the current moment as the dangerous moment of the recorder;
  • the data preservation module is connected with the data receiving module, the Radar module and the recorder module, and is used to mark the current moment as the real dangerous moment when the current moment is both the Radar dangerous moment and the recorder dangerous moment, And the driving data within 30 seconds before and after the real dangerous moment is marked as important data for preservation.
  • the Radar module comprises a judgment unit, a collision time unit, and a Radar marking unit;
  • the judging unit judges whether the obstacle is in front of the vehicle according to the vehicle Radar data, and when the following formula is satisfied, the obstacle is not in front of the vehicle:
  • the collision time unit is connected with the judgment unit, and is used to calculate the collision time of the vehicle relative to each obstacle, and select the first collision time;
  • the Radar marking unit is connected to the collision time unit, and is used for recording whether the current moment is a Radar dangerous moment.
  • the data receiving module includes a driving recorder and a black box; the driving recorder and the black box are connected to the canbus and communicate with the vehicle chassis.
  • the data receiving module obtains three-axis acceleration data and on-board Radar data of the vehicle's built-in IMU by analyzing the chassis.
  • the present invention provides a method and device for saving accident data of a driving recorder based on Radar and IMU. It can improve the accuracy of accident data storage selection by analyzing and selecting accurate accident data, which can improve the accuracy of accident data storage selection by driving recorder and black box in actual situations, and reduce accident data storage due to inaccurate accident data judgment.
  • Ordinary driving data is regarded as excessive storage of accident data, which leads to memory loss and complicated query; parallel driving recorder and black box store the analyzed accident data for a long time, so as to avoid driving recorder and black box from being affected by memory, and the saved data is covered by loop , resulting in a situation where accident data is overwritten and cannot be queried.
  • FIG. 1 is a schematic structural diagram of a Radar and IMU-based driving recorder accident data storage device of the present invention
  • FIG. 2 is a flowchart of a method for saving accident data of a driving recorder based on Radar and IMU according to the present invention.
  • a Radar and IMU-based driving recorder accident data storage device includes:
  • the data receiving module 1 is used to obtain the three-axis acceleration data of the vehicle, the speed data of the vehicle, and the Radar data of the vehicle;
  • the data receiving module 1 includes a driving recorder and a black box; the driving recorder and the black box are connected to CANBUS (controller area network bus technology) and communicate with the vehicle chassis, and the data receiving module 1 analyzes the chassis to obtain the vehicle's built-in IMU (Inertial sensor) three-axis acceleration data, on-board Radar data and vehicle speed data, the three-axis acceleration data includes the vehicle's left and right acceleration, front and rear acceleration, and up and down acceleration;
  • IMU Intelligent sensor
  • Radar module 2 connected with data receiving module 1, is used to calculate the collision time of the vehicle relative to each obstacle at the current moment according to the Radar data of the vehicle, select the minimum data as the first collision time of the vehicle at the current moment, and calculate the collision time of the vehicle at the current moment according to the current moment t0. Whether there is more than 90% of the first collision time within the preset time t1 when the first collision time is less than 2 seconds, mark whether the current time is a Radar dangerous time;
  • the Radar module in this embodiment includes a judgment unit 21, a collision time unit 22, and a Radar marking unit 23;
  • the judgment unit 21 judges whether the obstacle is in front of the vehicle according to the vehicle Radar data, and the specific judgment method is as follows:
  • the collision time unit 22 is connected to the judgment unit 21, and is used for calculating the collision time of the vehicle relative to each obstacle, and selecting the first collision time;
  • the collision time unit 22 when the collision time unit 22 receives that the judgment unit determines that the obstacle is not in front of the vehicle, the collision time between the vehicle and the obstacle is positive infinite; otherwise, the collision time unit 22 calculates the collision time of the vehicle equivalent to the obstacle :
  • v r is the relative speed between the obstacle and the vehicle
  • TTC is the collision time
  • the collision time unit will select the minimum data among all the collision times as the first collision of the vehicle at the current moment time; then, calculate the first collision time after the current time to the preset time, if the first collision time at 90% or more of the time is less than 2 seconds, then mark the current time as the Radar dangerous time;
  • the preset time in can be 5 seconds after the current time, or considering the speed of the vehicle, when the speed is slow, it can also be set to 7 seconds or 10 seconds from the current time;
  • the Radar marking unit 23 is connected with the collision time unit, and is also connected with the judgment unit 21 for recording whether the current moment is a Radar dangerous moment;
  • the Radar marking unit 23 receives all the first collision times from the current time of the vehicle to the preset time in the collision time unit 22, and then interacts with the judging unit 21 to calculate the first collision time in this time period.
  • the recorder module 3 is connected to the data receiving module 1, and receives the three-axis acceleration data of the vehicle at the current moment in the data receiving module 1.
  • the current moment is marked as a record time of danger;
  • the data saving module 4 is connected with the recorder module 3, the data receiving module 1 and the Radar module 2.
  • the data saving module 4 first receives the mark of the current moment from the recorder module 3. If the current moment is both a Radar dangerous moment and a recorder At the time of danger, mark the current moment as the real danger moment, and interact with the data receiving module to mark the driving data at the current moment and the driving data within 30 seconds before and after the real danger moment as important data for preservation;
  • the important data when it is important data, the important data is stored in the data storage module, and in this embodiment, the important data is marked so that the important data is not affected by the driving recorder. , Black box memory impact, important data will not be overwritten by loop.
  • a kind of driving recorder accident data preservation method based on Radar and IMU of the present invention comprises the following steps:
  • the driving recorder and the black box of the vehicle are connected to the CANBUS, communicate with the chassis, and obtain the three-axis acceleration data of the built-in IMU of the vehicle, the vehicle-mounted Radar data, and the vehicle speed data from the chassis analysis;
  • the three-axis acceleration data includes: Vehicle's left and right, front and rear, up and down acceleration data;
  • radar vehicle radar
  • obstacle distance d obstacle distance
  • obstacle angle ⁇ relative to the forward direction of the main vehicle
  • v r relative speed of the obstacle
  • step S210 Calculate the collision time of the vehicle relative to each obstacle according to the vehicle Radar data; then execute step S220;
  • the collision time of the vehicle relative to each obstacle near the vehicle needs to be calculated according to the Radar data of the vehicle.
  • the specific steps are:
  • the obstacle is not in front of the vehicle; but when the obstacle is not in front of the vehicle, the collision time of the obstacle relative to the vehicle is positive infinite; if the obstacle is in front of the vehicle, the vehicle relative to the obstacle is calculated by the following formula Collision time of objects:
  • v r is the relative speed of the obstacle and the vehicle, TTC is the collision time;
  • S220 Select the minimum collision time at the current moment of the vehicle relative to all obstacles as the first collision time TTC1 at the current moment of the vehicle; then execute step S230;
  • the method After obtaining the collision time of the vehicle corresponding to each obstacle in step S210, the method also selects the minimum data among all the collision times as the first collision time TTC1 at the current moment of the vehicle;
  • step S230 Calculate the first collision time TTC1 at all times from the current time to the preset time; then perform step S240;
  • the first collision time after the current time t0 to the preset time t1, where 5s ⁇ t1-t0 ⁇ 10s, and the preset time in this embodiment The time can be set to 5 seconds after the current time, or considering the speed of the vehicle, when the speed is slow, it can also be set to 7 seconds or 10 seconds from the current time;
  • step S250 is performed; otherwise, step S100 is continued;
  • step S240 it is determined that 90% and above of the first collision time is less than 2 seconds, that is to say, within this time period, the collision time of the vehicle relative to the obstacle is too small, and there is a possibility of an accident , at this time, the accident data storage device of the driving recorder based on Radar and IMU marks the current moment as the Radar dangerous moment;
  • step S310 is performed simultaneously from steps S210 to S250, and the three-axis acceleration of the IMU in step S100 is received.
  • the magnitude of the three-axis acceleration if the current moment instantaneous acceleration in any direction in the three-axis acceleration is greater than 3 ⁇ 0.5 If the m/s is 2 , step S20 is performed; otherwise, step S100 is performed to continue to receive relevant data from the vehicle;
  • the absolute value of the instantaneous acceleration at the current moment in any direction is greater than the range of 3 ⁇ 0.5m/s 2 , which proves that the vehicle state is changing rapidly at the current moment. If the absolute value of the front and rear acceleration is 3.5m/s 2 , then the vehicle is braking suddenly or the speed increases abnormally in a short period of time, then it can be considered that this moment is an emergency moment, and it is marked as a dangerous moment of the recorder; or in one embodiment , the absolute value of the vehicle's vertical acceleration is 2.5m/s 2 , then the vehicle is running, and the fluctuations and shakes are obvious, so it can be considered that this moment is an emergency moment, which is marked as a recorder dangerous moment; or in one embodiment, If the instantaneous absolute value of the left and right acceleration of the vehicle is 3m/s 2 , then the vehicle is making a sharp turn, then it can be considered that this moment is an emergency moment, and it is marked as a dangerous moment of the
  • step S400 Determine whether the current time is the Radar time and the recorder dangerous time at the same time, if so, go to step S500, otherwise go to step S100;
  • step S250 Radar dangerous time and step S320 recorder dangerous time
  • step S300 Radar dangerous time and step S320 recorder dangerous time
  • S500 Mark the current moment as the real dangerous moment, and mark the driving data within 30 seconds before and after the real dangerous moment as important data to save.
  • step S400 after step S400 it is judged that the current time is marked as the Radar dangerous time and the recorder dangerous time at the same time, the current time is marked as the real dangerous time, and the driving data within 30 seconds before and after the real dangerous time is marked as important data for preservation ;
  • the important data when the important data is marked as important data, the important data is saved in the driving recorder and the black box, and the important data is set not to be affected by the memory of the driving recorder and the black box, and the data recorded in the future will not circulate. Overwrite the important data, which can be stored for a long time, and can be read and viewed later.
  • the driving recorder and the black box can send the important data to the traffic bureau, the terminal of the vehicle owner, etc., so as to avoid damage to the black box and the driving recorder in an accident. Important data cannot be inquired, and accident analysis is difficult.

Abstract

A Radar and IMU-based accident data storage method and device for an event data recorder. Said method comprises the following steps: acquiring Radar data and speed data of a vehicle; calculating, according to the Radar data, a collision time of the vehicle with respect to each obstacle; selecting the minimum collision time as a first collision time of the vehicle at the current moment; calculating first collision times at all moments from the current moment to a preset moment, and analyzing whether the current moment is a Radar dangerous moment; at the same time, receiving an IMU triaxial acceleration of the vehicle at the current moment, and determining whether the current moment is a recorder dangerous moment; and if the current moment is the Radar dangerous moment and the recorder dangerous moment, marking the current moment as a real dangerous moment, and storing driving data before and after the real dangerous moment. Radar data and triaxial acceleration are obtained from a vehicle chassis and analyzed to obtain accident data, so that the accuracy of accident data storage is improved, and the event data recorder and a black box are prevented from being affected by a memory so that the accident data is circularly covered.

Description

一种基于Radar和IMU的行车记录仪事故数据保存方法与装置A method and device for saving accident data of driving recorder based on Radar and IMU 技术领域technical field
本发明属于车辆数据信息存储技术领域,具体涉及一种基于Radar和IMU的行车记录仪事故数据保存方法与装置。The invention belongs to the technical field of vehicle data information storage, and in particular relates to a Radar and IMU-based driving recorder accident data storage method and device.
背景技术Background technique
目前,交通安全形势日益严峻,交通事故频发发生,人员伤亡和财产损失惨重;而在交通事故处理分析过程中,由于车辆故障导致的意外事故时常存在技术分析和责任界定方面的困难,其主要原因是关键的车辆状态数据不能够有效的保存,无法重现事故发生时刻车辆的行驶工况,且行车记录仪与黑匣子会由于内存原因,保存的数据进行循环覆盖,导致事故数据难以保存。未来随着汽车智能化进程的加速,交通事故中人车责任界定区分的问题日益突出,如何正确的进行责任划分有赖于对于事故发生场合下车辆状态的深入分析,车辆行驶状态关键数据的保存和记录也显得更为必要。At present, the traffic safety situation is becoming more and more severe, traffic accidents occur frequently, and casualties and property losses are heavy; and in the process of traffic accident handling and analysis, accidents caused by vehicle failures often have difficulties in technical analysis and responsibility definition. The reason is that the key vehicle status data cannot be effectively saved, and the driving conditions of the vehicle at the time of the accident cannot be reproduced, and the driving recorder and the black box will cyclically overwrite the saved data due to memory reasons, making it difficult to save the accident data. In the future, with the acceleration of the intelligent process of automobiles, the problem of defining and distinguishing the responsibilities of people and vehicles in traffic accidents will become increasingly prominent. How to correctly divide the responsibilities depends on the in-depth analysis of the vehicle status in the event of the accident, the preservation and Records also appear more necessary.
目前的数据保存方法有:利用车载仪表,车载仪表系统是汽车电子系统中反映车辆各系统工作状况的装置,主要用于指示汽车运行工况,在现有的车载仪表系统的架构中,系统通过总线所获取的状态数据通过液晶仪表输出显示后将被丢弃,系统不具备数据的记录和存储的功能,不能提供数据的回放,无法为车辆行驶状态分析提供决策参考,耗费极大资源所采集到的数据没有被充分利用,造成极大的资源浪费;以及在现有技术中,有些使用传统行车记录仪进行事故数据保 存,在传统的行驶记录仪事故疑点判断及记录方式,为存储车辆停止后达到静止前20秒的速度及车辆信号数据,它只能依靠车辆的形式状态,即从行驶到停止的变化来确认事故数据,但这种方法的事故数据判断条件不严谨,容易将一些普通形成数据当成事故数据进行保存,而且,行车记录仪的数据存储空间有限,一般使用循环覆盖,但事故数据过多,容易覆盖真实的数据,使行车事故后期进行数据的分析与利用造成影响。The current data storage methods include: using on-board instruments. The on-board instrument system is a device in the automotive electronic system that reflects the working conditions of various systems of the vehicle, and is mainly used to indicate the operating conditions of the vehicle. In the existing on-board instrument system architecture, the system passes The status data obtained by the bus will be discarded after being output and displayed by the liquid crystal instrument. The system does not have the function of data recording and storage, and cannot provide data playback, and cannot provide decision-making reference for the analysis of vehicle driving status. The data is not fully utilized, resulting in a huge waste of resources; and in the existing technology, some use the traditional driving recorder to save accident data, in the traditional driving recorder accident judgment and recording method, for storage after the vehicle stops The speed and vehicle signal data 20 seconds before reaching a standstill can only be confirmed by the formal state of the vehicle, that is, the change from driving to stopping to confirm the accident data. The data is stored as accident data. Moreover, the data storage space of the driving recorder is limited, and cyclic coverage is generally used. However, there are too many accident data and it is easy to cover the real data, which will affect the analysis and utilization of the data in the later period of the driving accident.
另一种数据的保存方法是通过车辆底盘的数据对车辆的运行状态进行分析,保存事故状态下的行车数据,但目前车辆的行车记录仪、黑匣子并不直接接受车辆底盘信息,无法很好的获取车辆底盘的行车数据,在获得数据后,也没有办法通过行车数据来判断车辆紧急状态,从而对紧急状态的行车数据进行保存。Another data storage method is to analyze the running state of the vehicle through the data of the vehicle chassis, and save the driving data in the accident state. The driving data of the vehicle chassis is obtained. After the data is obtained, there is no way to judge the emergency state of the vehicle through the driving data, so as to save the driving data in the emergency state.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明的目的之一在于提供涉及一种基于Radar和IMU的行车记录仪事故数据保存方法,该方法能长期保存行车中的事故数据。In view of this, one of the objects of the present invention is to provide a method for saving accident data of a driving recorder based on Radar and IMU, which can save the accident data in driving for a long time.
为实现上述目的,本发明的技术方案为:For achieving the above object, the technical scheme of the present invention is:
一种基于Radar和IMU的行车记录仪事故数据保存方法,包括以下步骤:A method for saving accident data of a driving recorder based on Radar and IMU, comprising the following steps:
(1)获得车辆Radar数据、以及所述车辆的车速数据;所述Radar数据包括车辆相对于障碍物的距离、角度、障碍物与车辆的相对速度;(1) Obtaining the Radar data of the vehicle and the speed data of the vehicle; the Radar data includes the distance, angle, and relative speed of the obstacle and the vehicle relative to the obstacle;
(2)根据车辆Radar数据计算车辆相对于每一个障碍物的碰撞 时间;(2) Calculate the collision time of the vehicle relative to each obstacle according to the vehicle Radar data;
(3)比较车辆当前时刻的所有障碍物的碰撞时间,选择最小数据作为车辆当前时刻的第一碰撞时间;(3) Compare the collision time of all obstacles at the current moment of the vehicle, and select the minimum data as the first collision time at the current moment of the vehicle;
(4)计算当前时刻t0后到预设时刻t1内的第一碰撞时间,若存在90%及其以上的时刻的第一碰撞时间小于2秒,则标记当前时刻为Radar危险时刻;5s≤t1-t0≤10s;(4) Calculate the first collision time from the current time t0 to the preset time t1. If the first collision time at 90% or more of the time is less than 2 seconds, mark the current time as the Radar dangerous time; 5s≤t1 -t0≤10s;
(5)同时接收当前时刻车辆的IMU三轴加速度,如果三轴加速度在任意方向有大于3±m/s 2的瞬时加速度,则标记当前时刻为记录仪危险时刻;三轴加速度包括左右加速度、前后加速度、上下加速度; (5) Simultaneously receive the IMU three-axis acceleration of the vehicle at the current moment, if the three-axis acceleration has an instantaneous acceleration greater than 3±m/s 2 in any direction, the current moment is marked as the dangerous moment of the recorder; the three-axis acceleration includes left and right acceleration, Front and rear acceleration, up and down acceleration;
(6)当当前时刻既为Radar危险时刻又为记录仪危险时刻,则标记当前时刻为真实危险时刻,并把真实危险时刻前后30秒内的行车数据标记为重要数据保存。(6) When the current time is both the Radar dangerous time and the recorder dangerous time, mark the current time as the real dangerous time, and mark the driving data within 30 seconds before and after the real dangerous time as important data to save.
进一步地,所述步骤(2)具体包括以下步骤:Further, the step (2) specifically includes the following steps:
根据车辆Radar数据判断障碍物是否在车辆前方,当满足以上公式时,障碍物不在车辆前方,当前时刻的碰撞时间为正无穷:Judging whether the obstacle is in front of the vehicle according to the vehicle Radar data, when the above formula is satisfied, the obstacle is not in front of the vehicle, and the collision time at the current moment is positive infinite:
d sin θ>2;d sin θ>2;
其中,d为车辆相对于障碍物的距离,θ为车辆相对于障碍物的角度;Among them, d is the distance of the vehicle relative to the obstacle, and θ is the angle of the vehicle relative to the obstacle;
否则,障碍物则在车辆前方,碰撞时间为:Otherwise, the obstacle is in front of the vehicle and the collision time is:
Figure PCTCN2020110856-appb-000001
Figure PCTCN2020110856-appb-000001
v r为障碍物与车辆的相对速度。 v r is the relative speed of the obstacle and the vehicle.
进一步地,从底盘解析得到车载Radar数据、车辆内置IMU的三轴加速度数据。Further, the on-board Radar data and the three-axis acceleration data of the vehicle's built-in IMU are obtained from the chassis analysis.
进一步地,车辆的行车记录仪与黑匣子连接在canbus上,与底盘进行通讯,从底盘解析得到车载Radar数据、车辆内置IMU的三轴加速度数据。Further, the driving recorder of the vehicle is connected to the black box on the canbus, communicates with the chassis, and analyzes the vehicle Radar data and the three-axis acceleration data of the vehicle's built-in IMU from the chassis.
进一步地,所述重要数据保存在行车记录仪或黑匣子中,且不会被循环覆盖。Further, the important data is stored in the driving recorder or the black box, and will not be overwritten by circulation.
有鉴于此,本发明的目的之二在于提供涉及一种基于Radar和IMU的行车记录仪事故数据保存装置,该装置能长期保存行车中的事故数据。In view of this, the second purpose of the present invention is to provide a device for saving accident data of a driving recorder based on Radar and IMU, which can save the accident data in driving for a long time.
为实现上述目的,本发明的技术方案为:一种基于Radar和IMU的行车记录仪事故数据保存装置,包括:In order to achieve the above object, the technical scheme of the present invention is: a driving recorder accident data storage device based on Radar and IMU, comprising:
数据接收模块,用于获得车辆的三轴加速度数据、车辆Radar数据、以及所述车辆的车速数据;所述三轴加速度数据包括车辆的左右加速度、前后加速度、上下加速度;a data receiving module, used to obtain the three-axis acceleration data of the vehicle, the Radar data of the vehicle, and the vehicle speed data of the vehicle; the three-axis acceleration data includes the left and right acceleration, the front and rear acceleration, and the up and down acceleration of the vehicle;
Radar模块,与所述数据接收模块相连,用于根据车辆Radar数据计算当前时刻车辆相对于每一个障碍物的碰撞时间,选择最小数据作为车辆当前时刻的第一碰撞时间,并根据当前时刻t0后到预设时刻t1内的第一碰撞时间是否存在90%及其以上的时刻的第一碰撞时间均小于2秒,标记当前时刻是否为Radar危险时刻;5s≤t1-t0≤10s;The Radar module is connected to the data receiving module, and is used to calculate the collision time of the vehicle relative to each obstacle at the current moment according to the Radar data of the vehicle, select the minimum data as the first collision time of the vehicle at the current moment, and calculate the collision time of the vehicle at the current moment according to the current moment t0. Whether there is 90% or more of the first collision time within the preset time t1 and the first collision time is less than 2 seconds, mark whether the current time is a Radar dangerous time; 5s≤t1-t0≤10s;
记录仪模块,与所述数据接收模块相连,用于根据当前时刻车辆 的三轴加速度数据判断当前时刻是否为记录仪危险时刻;当三轴加速度在任意方向有大于3m/s 2的瞬时加速度,则标记当前时刻为记录仪危险时刻; The recorder module, connected with the data receiving module, is used to judge whether the current moment is the recorder dangerous moment according to the three-axis acceleration data of the vehicle at the current moment; when the three-axis acceleration has an instantaneous acceleration greater than 3m/s 2 in any direction, Then mark the current moment as the dangerous moment of the recorder;
数据保存模块,与所述数据接收模块、所述Radar模块、所述记录仪模块均相连,用于当当前时刻既为Radar危险时刻又为记录仪危险时刻时,标记当前时刻为真实危险时刻,并把真实危险时刻前后30秒内的行车数据标记为重要数据保存。The data preservation module is connected with the data receiving module, the Radar module and the recorder module, and is used to mark the current moment as the real dangerous moment when the current moment is both the Radar dangerous moment and the recorder dangerous moment, And the driving data within 30 seconds before and after the real dangerous moment is marked as important data for preservation.
进一步地,所述Radar模块包括判断单元、碰撞时间单元,Radar标记单元;Further, the Radar module comprises a judgment unit, a collision time unit, and a Radar marking unit;
其中,所述判断单元根据车辆Radar数据判断障碍物是否在车辆前方,当满足以下公式时,障碍物不在车辆前方:Wherein, the judging unit judges whether the obstacle is in front of the vehicle according to the vehicle Radar data, and when the following formula is satisfied, the obstacle is not in front of the vehicle:
d sin θ>2;d sin θ>2;
所述碰撞时间单元与所述判断单元相连,用于计算车辆相对于每个障碍物的碰撞时间,并选出第一碰撞时间;The collision time unit is connected with the judgment unit, and is used to calculate the collision time of the vehicle relative to each obstacle, and select the first collision time;
所述Radar标记单元与所述碰撞时间单元相连,用于记录当前时刻是否是Radar危险时刻。The Radar marking unit is connected to the collision time unit, and is used for recording whether the current moment is a Radar dangerous moment.
进一步地,所述数据接收模块包括行车记录仪、黑匣子;所述行车记录仪与黑匣子连接在canbus上,与车辆底盘进行通讯。Further, the data receiving module includes a driving recorder and a black box; the driving recorder and the black box are connected to the canbus and communicate with the vehicle chassis.
进一步地,所述数据接收模块从底盘解析得到车辆内置IMU的三轴加速度数据、车载Radar数据。Further, the data receiving module obtains three-axis acceleration data and on-board Radar data of the vehicle's built-in IMU by analyzing the chassis.
进一步地,所述数据保存模块中保存的所述重要数据不会被循环覆盖。Further, the important data saved in the data saving module will not be cyclically overwritten.
有益效果在于:本发明提供一种基于Radar和IMU的行车记录仪事故数据保存方法与装置,通过从车辆底盘得到车载Radar数据和三轴加速度数据,分别从Radar数据、三轴加速度数据两个方向进行分析选择准确的事故数据,提高事故数据保存选择的准确行,能够提升实际情况中行车记录仪和黑匣子选择事故数据保存的准确性,减少因事故数据判断不准确导致的事故数据少存或将普通行车数据视为事故数据的多存导致内存损耗、查询繁杂现象;并行车记录仪与黑匣子对分析得到的事故数据进行长期保存,避免行车记录仪和黑匣子受内存影响,保存的数据被循环覆盖,从而导致事故数据被覆盖无法查询的状况。The beneficial effects are as follows: the present invention provides a method and device for saving accident data of a driving recorder based on Radar and IMU. It can improve the accuracy of accident data storage selection by analyzing and selecting accurate accident data, which can improve the accuracy of accident data storage selection by driving recorder and black box in actual situations, and reduce accident data storage due to inaccurate accident data judgment. Ordinary driving data is regarded as excessive storage of accident data, which leads to memory loss and complicated query; parallel driving recorder and black box store the analyzed accident data for a long time, so as to avoid driving recorder and black box from being affected by memory, and the saved data is covered by loop , resulting in a situation where accident data is overwritten and cannot be queried.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍。显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that are required to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention, and for those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1为本发明一种基于Radar和IMU的行车记录仪事故数据保存装置的结构示意图;1 is a schematic structural diagram of a Radar and IMU-based driving recorder accident data storage device of the present invention;
图2为本发明一种基于Radar和IMU的行车记录仪事故数据保存方法的流程图。FIG. 2 is a flowchart of a method for saving accident data of a driving recorder based on Radar and IMU according to the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
所举实施例是为了更好地对本发明进行说明,但并不是本发明的内容仅局限于所举实施例。所以熟悉本领域的技术人员根据上述发明内容对实施方案进行非本质的改进和调整,仍属于本发明的保护范围。The examples are given to better illustrate the present invention, but the content of the present invention is not limited to the examples. Therefore, those skilled in the art make non-essential improvements and adjustments to the embodiments according to the above-mentioned contents of the invention, which still belong to the protection scope of the present invention.
实施例1Example 1
参考图1,为本发明一种基于Radar和IMU的行车记录仪事故数据保存装置的结构示意图,具体地,一种基于Radar和IMU的行车记录仪事故数据保存装置包括:Referring to Fig. 1, it is a schematic structural diagram of a Radar and IMU-based driving recorder accident data storage device of the present invention. Specifically, a Radar and IMU-based driving recorder accident data storage device includes:
数据接收模块1,用于获得车辆的三轴加速度数据、车辆的车速数据、车辆Radar数据;The data receiving module 1 is used to obtain the three-axis acceleration data of the vehicle, the speed data of the vehicle, and the Radar data of the vehicle;
本实施例中,数据接收模块1包括行车记录仪、黑匣子;行车记录仪与黑匣子连接在CANBUS(控制器局域网总线技术)上,与车辆底盘进行通讯,数据接收模块1从底盘解析得到车辆内置IMU(惯性传感器)的三轴加速度数据、车载Radar数据以及车辆的车速数据,三轴加速度数据包括车辆的左右加速度、前后加速度、上下加速度;In this embodiment, the data receiving module 1 includes a driving recorder and a black box; the driving recorder and the black box are connected to CANBUS (controller area network bus technology) and communicate with the vehicle chassis, and the data receiving module 1 analyzes the chassis to obtain the vehicle's built-in IMU (Inertial sensor) three-axis acceleration data, on-board Radar data and vehicle speed data, the three-axis acceleration data includes the vehicle's left and right acceleration, front and rear acceleration, and up and down acceleration;
Radar模块2,与数据接收模块1相连,用于根据车辆Radar数据计算当前时刻车辆相对于每一个障碍物的碰撞时间,选择最小数据作为车辆当前时刻的第一碰撞时间,并根据当前时刻t0后到预设时 刻t1内的第一碰撞时间是否存在90%以上的时刻的第一碰撞时间均小于2秒,标记当前时刻是否为Radar危险时刻;Radar module 2, connected with data receiving module 1, is used to calculate the collision time of the vehicle relative to each obstacle at the current moment according to the Radar data of the vehicle, select the minimum data as the first collision time of the vehicle at the current moment, and calculate the collision time of the vehicle at the current moment according to the current moment t0. Whether there is more than 90% of the first collision time within the preset time t1 when the first collision time is less than 2 seconds, mark whether the current time is a Radar dangerous time;
具体地,本实施例中的Radar模块包括判断单元21、碰撞时间单元22,Radar标记单元23;Specifically, the Radar module in this embodiment includes a judgment unit 21, a collision time unit 22, and a Radar marking unit 23;
其中,判断单元21根据车辆Radar数据判断障碍物是否在车辆前方,具体判断方法如下:Wherein, the judgment unit 21 judges whether the obstacle is in front of the vehicle according to the vehicle Radar data, and the specific judgment method is as follows:
d sin θ>2;d sin θ>2;
当满足以上公式时,障碍物不在车辆前方;When the above formula is satisfied, the obstacle is not in front of the vehicle;
碰撞时间单元22与判断单元21相连,用于计算车辆相对于每个障碍物的碰撞时间,并选出第一碰撞时间;The collision time unit 22 is connected to the judgment unit 21, and is used for calculating the collision time of the vehicle relative to each obstacle, and selecting the first collision time;
本实施例中,当碰撞时间单元22接收到判断单元判断出障碍物不在车辆前方时,车辆与该障碍物的碰撞时间为正无穷;否则,碰撞时间单元22计算车辆相当于障碍物的碰撞时间:In this embodiment, when the collision time unit 22 receives that the judgment unit determines that the obstacle is not in front of the vehicle, the collision time between the vehicle and the obstacle is positive infinite; otherwise, the collision time unit 22 calculates the collision time of the vehicle equivalent to the obstacle :
Figure PCTCN2020110856-appb-000002
Figure PCTCN2020110856-appb-000002
v r为障碍物与车辆的相对速度,TTC为碰撞时间;当得到车辆相当于每一个障碍物的碰撞时间后,碰撞时间单元会选择所有碰撞时间中的最小数据作为车辆当前时刻的第一碰撞时间;然后,计算当前时刻后到预设时刻内的第一碰撞时间,若存在90%及其以上的时刻的第一碰撞时间均小于2秒,则标记当前时刻为Radar危险时刻;本实施例中的预设时刻可以为当前时刻后的5秒,或者考虑车辆的行驶速度,当速度较慢是,也可以设为当前时刻的7秒、10秒; v r is the relative speed between the obstacle and the vehicle, and TTC is the collision time; when the collision time of the vehicle equivalent to each obstacle is obtained, the collision time unit will select the minimum data among all the collision times as the first collision of the vehicle at the current moment time; then, calculate the first collision time after the current time to the preset time, if the first collision time at 90% or more of the time is less than 2 seconds, then mark the current time as the Radar dangerous time; this embodiment The preset time in can be 5 seconds after the current time, or considering the speed of the vehicle, when the speed is slow, it can also be set to 7 seconds or 10 seconds from the current time;
Radar标记单元23与碰撞时间单元相连,还与判断单元21相连,用于记录当前时刻是否是Radar危险时刻;The Radar marking unit 23 is connected with the collision time unit, and is also connected with the judgment unit 21 for recording whether the current moment is a Radar dangerous moment;
本实施例中,Radar标记单元23接收到碰撞时间单元22中对车辆当前时刻到预设时刻的所有第一碰撞时间,然后通过去判断单元21进行交互,计算该时间段内,第一碰撞时间小于2秒的总占比量,如果90%及其以上的时刻的第一碰撞时间均小于2秒,Radar标记单元23则会标记当前时刻为Radar标记单元23;In this embodiment, the Radar marking unit 23 receives all the first collision times from the current time of the vehicle to the preset time in the collision time unit 22, and then interacts with the judging unit 21 to calculate the first collision time in this time period. The total proportion of less than 2 seconds, if the first collision time of 90% and above moments is less than 2 seconds, the Radar marking unit 23 will mark the current moment as the Radar marking unit 23;
记录仪模块3,与数据接收模块1相连,接收数据接收模块1中当前时刻车辆的三轴加速度数据,当三轴加速度在任意方向有大于3m/s 2的瞬时加速度,则标记当前时刻为记录仪危险时刻; The recorder module 3 is connected to the data receiving module 1, and receives the three-axis acceleration data of the vehicle at the current moment in the data receiving module 1. When the three-axis acceleration has an instantaneous acceleration greater than 3m/s 2 in any direction, the current moment is marked as a record time of danger;
数据保存模块4,与记录仪模块3、数据接收模块1、Radar模块2相连,数据保存模块4先接收记录仪模块3对当前时刻的标记,如果当当前时刻既为Radar危险时刻又为记录仪危险时刻时,标记当前时刻为真实危险时刻,并与数据接收模块进行交互,将当前时刻的行车数据以及真实危险时刻前后30秒内的行车数据标记为重要数据保存;The data saving module 4 is connected with the recorder module 3, the data receiving module 1 and the Radar module 2. The data saving module 4 first receives the mark of the current moment from the recorder module 3. If the current moment is both a Radar dangerous moment and a recorder At the time of danger, mark the current moment as the real danger moment, and interact with the data receiving module to mark the driving data at the current moment and the driving data within 30 seconds before and after the real danger moment as important data for preservation;
优选地,本实施例中,当为重要数据后,则将该重要数据保存在数据保存模块中,且在本实施例中,通过对该重要数据的标记,使得该重要数据不受行车记录仪、黑匣子内存影响,重要数据不会被循环覆盖。Preferably, in this embodiment, when it is important data, the important data is stored in the data storage module, and in this embodiment, the important data is marked so that the important data is not affected by the driving recorder. , Black box memory impact, important data will not be overwritten by loop.
实施例2Example 2
参考图2,为本发明一种基于Radar和IMU的行车记录仪事故数 据保存方法的流程图,具体地,一种基于Radar和IMU的行车记录仪事故数据保存方法包括以下步骤:With reference to Fig. 2, it is the flow chart of a kind of driving recorder accident data preservation method based on Radar and IMU of the present invention, specifically, a kind of driving recorder accident data preservation method based on Radar and IMU comprises the following steps:
S100:获得当前时刻车辆Radar数据车辆的车速数据、车辆的IMU三轴加速度;然后执行步骤S210;S100: Obtain the vehicle speed data of the vehicle and the IMU three-axis acceleration of the vehicle at the current moment of the vehicle Radar data; then perform step S210;
本实施例中,车辆的行车记录仪与黑匣子连接在CANBUS上,与底盘进行通讯,从底盘解析得到车辆内置IMU的三轴加速度数据、车载Radar数据、以及车辆的车速数据;三轴加速度数据包括车辆的左右、前后、上下加速度数据;In this embodiment, the driving recorder and the black box of the vehicle are connected to the CANBUS, communicate with the chassis, and obtain the three-axis acceleration data of the built-in IMU of the vehicle, the vehicle-mounted Radar data, and the vehicle speed data from the chassis analysis; the three-axis acceleration data includes: Vehicle's left and right, front and rear, up and down acceleration data;
在实际中,车辆底盘信息在通过CANBUS进行通讯的时候,不同的车型都会有不同的信息格式,而CANBUS message是8个byte=64bit的格式,因为格式不同,在接收车辆底盘的信息时,需要进行适配,但车辆是商用卡车时,由于商用卡车的底盘信息是标准格式,只需要与CANBUS适配一次,即可适用于所有商用卡车,如果车辆是普通乘用车,底盘信息是硬车型而异的,在通过CANBUS进行通讯时,需要逐一进行适配;经过适配以后,可以通过CANBUS从底盘解析得到IMU的三轴加速度数据;In practice, when the vehicle chassis information is communicated through CANBUS, different models will have different information formats, and the CANBUS message is in the format of 8 bytes=64bit, because the format is different, when receiving the information of the vehicle chassis, it needs Adaptation, but when the vehicle is a commercial truck, since the chassis information of the commercial truck is in a standard format, it only needs to be adapted to CANBUS once, and it can be applied to all commercial trucks. If the vehicle is an ordinary passenger car, the chassis information is a hard model. However, when communicating through CANBUS, it needs to be adapted one by one; after adaptation, the three-axis acceleration data of the IMU can be obtained from the chassis through CANBUS analysis;
同样的,车载radar(雷达)的信息格式根据radar类型的不同,会不完全相同,但都会包括以下几点关键信息(对于每一个障碍物):障碍物距离d,障碍物角度θ(相对于主车前进方向),障碍物和车的相对速度v rSimilarly, the information format of vehicle radar (radar) will not be exactly the same depending on the type of radar, but it will include the following key information (for each obstacle): obstacle distance d, obstacle angle θ (relative to the forward direction of the main vehicle), the relative speed v r of the obstacle and the vehicle;
S210:根据车辆Radar数据计算车辆相对于每个障碍物的碰撞时间;然后执行步骤S220;S210: Calculate the collision time of the vehicle relative to each obstacle according to the vehicle Radar data; then execute step S220;
本步骤中,需要根据车辆Radar数据计算车辆相对于车辆附近每个障碍物的碰撞时间,具体的步骤为:In this step, the collision time of the vehicle relative to each obstacle near the vehicle needs to be calculated according to the Radar data of the vehicle. The specific steps are:
先判断障碍物是否在车辆前方,具体判断方法如下:First determine whether the obstacle is in front of the vehicle. The specific determination method is as follows:
d sin θ>2;d sin θ>2;
当满足以上公式时,障碍物不在车辆前方;但障碍物不在车辆前方时,该障碍物相对于车辆的碰撞时间为正无穷;如果障碍物在车辆前方,则通过以下公式计算车辆相对于该障碍物的碰撞时间:When the above formula is satisfied, the obstacle is not in front of the vehicle; but when the obstacle is not in front of the vehicle, the collision time of the obstacle relative to the vehicle is positive infinite; if the obstacle is in front of the vehicle, the vehicle relative to the obstacle is calculated by the following formula Collision time of objects:
Figure PCTCN2020110856-appb-000003
Figure PCTCN2020110856-appb-000003
v r为障碍物与车辆的相对速度,TTC为碰撞时间; v r is the relative speed of the obstacle and the vehicle, TTC is the collision time;
S220:选择车辆当前时刻相对于所有障碍物最小的碰撞时间作为车辆当前时刻的第一碰撞时间TTC1;然后执行步骤S230;S220: Select the minimum collision time at the current moment of the vehicle relative to all obstacles as the first collision time TTC1 at the current moment of the vehicle; then execute step S230;
当步骤S210得到车辆相当于每一个障碍物的碰撞时间后,本方法中还会选择所有碰撞时间中的最小数据作为车辆当前时刻的第一碰撞时间TTC1;After obtaining the collision time of the vehicle corresponding to each obstacle in step S210, the method also selects the minimum data among all the collision times as the first collision time TTC1 at the current moment of the vehicle;
S230:计算当前时刻后到预设时刻内所有时刻的第一碰撞时间TTC1;然后执行步骤S240;S230: Calculate the first collision time TTC1 at all times from the current time to the preset time; then perform step S240;
在步骤S230中计算过当前时刻的第一碰撞时间后,我们再计算当前时刻t0后到预设时刻t1内的第一碰撞时间,其中,5s≤t1-t0≤10s,本实施例中的预设时刻可以为当前时刻后的5秒,或者考虑车辆的行驶速度,当速度较慢时,也可以设为当前时刻的7秒、10秒;After calculating the first collision time at the current moment in step S230, we then calculate the first collision time after the current time t0 to the preset time t1, where 5s≤t1-t0≤10s, and the preset time in this embodiment The time can be set to 5 seconds after the current time, or considering the speed of the vehicle, when the speed is slow, it can also be set to 7 seconds or 10 seconds from the current time;
S240:判断是否90%及其以上的时刻TTC1<2秒;S240: judging whether TTC1 is less than 2 seconds at the time of 90% and above;
本实施例中,在计算到若存在90%及其以上的时刻的第一碰撞时间均小于2秒,如果是则执行步骤S250;否则继续执行步骤S100;In this embodiment, if the first collision time is calculated to be less than 2 seconds when 90% or more of the time exists, if so, step S250 is performed; otherwise, step S100 is continued;
S250:标记当前时刻为Radar危险时刻;然后执行步骤S320;S250: mark the current moment as the Radar dangerous moment; then execute step S320;
在步骤S240判断出存在90%及其以上的时刻的第一碰撞时间均小于2秒,也就是说,在这个时间段内,车辆相对于障碍物的碰撞时间过小,有发生事故的可能性,这个时候,基于Radar和IMU的行车记录仪事故数据保存装置则标记当前时刻为Radar危险时刻;In step S240, it is determined that 90% and above of the first collision time is less than 2 seconds, that is to say, within this time period, the collision time of the vehicle relative to the obstacle is too small, and there is a possibility of an accident , at this time, the accident data storage device of the driving recorder based on Radar and IMU marks the current moment as the Radar dangerous moment;
S310:判断三轴加速度是否任意方向有大于3的瞬时加速度;如果有则执行步骤S320;否则继续执行步骤S100;S310: Determine whether the three-axis acceleration has an instantaneous acceleration greater than 3 in any direction; if so, execute step S320; otherwise, continue to execute step S100;
本方法中,在步骤S210~步骤S250的同时实施步骤S310,接收步骤S100中的IMU三轴加速度,根据三轴加速度的大小,如果三轴加速度中有任意方向的当前时刻瞬间加速度大于3±0.5m/s 2的,则实施步骤S20,否则实施步骤S100继续接收车辆得相关数据; In this method, step S310 is performed simultaneously from steps S210 to S250, and the three-axis acceleration of the IMU in step S100 is received. According to the magnitude of the three-axis acceleration, if the current moment instantaneous acceleration in any direction in the three-axis acceleration is greater than 3±0.5 If the m/s is 2 , step S20 is performed; otherwise, step S100 is performed to continue to receive relevant data from the vehicle;
S320:标记当前时刻为记录仪危险时刻;然后执行步骤S400;S320: mark the current time as the dangerous time of the recorder; then execute step S400;
但步骤S310三轴加速度中有任意方向的当前时刻瞬间加速度的绝对值大于3±0.5m/s 2这个范围,则证明当前时刻,车辆状态在进行急速变化,比如,在一实施例中,车辆的前后加速度瞬间绝对值为3.5m/s 2,那么该车辆在进行急刹或是短时间内速度增长异常,那么可以认为该时刻是紧急时刻,标记为记录仪危险时刻;或在一实施例中,车辆的上下加速度瞬间绝对值为2.5m/s 2,那么该车辆在行驶中,起伏抖动明显,那么可以认为该时刻是紧急时刻,标记为记录仪危险时刻;或在一实施例中,车辆的左右加速度瞬间绝对值为3m/s 2,那 么该车辆在进行急转弯,那么可以认为该时刻是紧急时刻,标记为记录仪危险时刻; However, in the three-axis acceleration in step S310, the absolute value of the instantaneous acceleration at the current moment in any direction is greater than the range of 3±0.5m/s 2 , which proves that the vehicle state is changing rapidly at the current moment. If the absolute value of the front and rear acceleration is 3.5m/s 2 , then the vehicle is braking suddenly or the speed increases abnormally in a short period of time, then it can be considered that this moment is an emergency moment, and it is marked as a dangerous moment of the recorder; or in one embodiment , the absolute value of the vehicle's vertical acceleration is 2.5m/s 2 , then the vehicle is running, and the fluctuations and shakes are obvious, so it can be considered that this moment is an emergency moment, which is marked as a recorder dangerous moment; or in one embodiment, If the instantaneous absolute value of the left and right acceleration of the vehicle is 3m/s 2 , then the vehicle is making a sharp turn, then it can be considered that this moment is an emergency moment, and it is marked as a dangerous moment of the recorder;
S400:判断当前时刻是否同时为Radar时刻和记录仪危险时刻,如果是,则执行步骤S500,否则执行步骤S100;S400: Determine whether the current time is the Radar time and the recorder dangerous time at the same time, if so, go to step S500, otherwise go to step S100;
在步骤S250 Radar危险时刻和步骤S320记录仪危险时刻以后,为了提高车辆对事故发生判断的准确性,本步骤中,还需要判断是否在同一时刻是否同时被标记为Radar危险时刻和记录仪危险时刻,如果同时标记,则执行步骤S500,如果没有,则进入步骤S100,重新对接收车辆相关Radar数据和三轴加速度数据;After step S250 Radar dangerous time and step S320 recorder dangerous time, in order to improve the accuracy of the vehicle's judgment on the occurrence of the accident, in this step, it is also necessary to judge whether it is marked as the Radar dangerous time and the recorder dangerous time at the same time at the same time. , if it is marked at the same time, go to step S500, if not, go to step S100 to re-receive vehicle-related Radar data and three-axis acceleration data;
S500:标记当前时刻为真实危险时刻,并把真实危险时刻前后30秒内的行车数据标记为重要数据保存。S500: Mark the current moment as the real dangerous moment, and mark the driving data within 30 seconds before and after the real dangerous moment as important data to save.
本步骤中,经过步骤S400判断当前时刻同时被标记为Radar危险时刻和记录仪危险时刻,就将当前时刻标记为真实危险时刻,并把真实危险时刻前后30秒内的行车数据标记为重要数据保存;In this step, after step S400 it is judged that the current time is marked as the Radar dangerous time and the recorder dangerous time at the same time, the current time is marked as the real dangerous time, and the driving data within 30 seconds before and after the real dangerous time is marked as important data for preservation ;
优选地,本实施例中,当标记为重要数据后,则将该重要数据保存行车记录仪、黑匣子中,且设定该重要数据不受行车记录仪、黑匣子内存影响,以后记录的数据不循环覆盖该重要数据,可以长期保存,后期可以进行读取查看。Preferably, in this embodiment, when the important data is marked as important data, the important data is saved in the driving recorder and the black box, and the important data is set not to be affected by the memory of the driving recorder and the black box, and the data recorded in the future will not circulate. Overwrite the important data, which can be stored for a long time, and can be read and viewed later.
进一步地,在本实施例中,还可以在标记重要数据后,行车记录仪与黑匣子将该重要数据发送至交通局、车主的终端等地方,可避免在事故中导致黑匣子和行车记录仪损坏,查询不到重要数据、事故分析难的情况。Further, in this embodiment, after the important data is marked, the driving recorder and the black box can send the important data to the traffic bureau, the terminal of the vehicle owner, etc., so as to avoid damage to the black box and the driving recorder in an accident. Important data cannot be inquired, and accident analysis is difficult.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the scope of protection of the present invention and the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (10)

  1. 一种基于Radar和IMU的行车记录仪事故数据保存方法,其特征在于,包括以下步骤:A method for saving accident data of driving recorder based on Radar and IMU, characterized in that it comprises the following steps:
    (1)获得车辆Radar数据、所述车辆的车速数据;所述Radar数据包括车辆相对于障碍物的距离、角度、障碍物与车辆的相对速度;(1) Obtaining the Radar data of the vehicle and the speed data of the vehicle; the Radar data includes the distance and angle of the vehicle relative to the obstacle, and the relative speed of the obstacle and the vehicle;
    (2)根据车辆Radar数据计算车辆相对于每一个障碍物的碰撞时间;(2) Calculate the collision time of the vehicle relative to each obstacle according to the vehicle Radar data;
    (3)比较车辆当前时刻的所有障碍物的碰撞时间,选择最小数据作为车辆当前时刻的第一碰撞时间;(3) Compare the collision time of all obstacles at the current moment of the vehicle, and select the minimum data as the first collision time at the current moment of the vehicle;
    (4)计算当前时刻t0后到预设时刻t1内的所有时刻的第一碰撞时间,若存在90%及其以上的时刻的第一碰撞时间小于2秒,则标记当前时刻为Radar危险时刻;其中,5s≤t1-t0≤10s;(4) calculate the first collision time of all the moments after the current time t0 to the preset time t1, if the first collision time of 90% or more of the time is less than 2 seconds, then mark the current time as the Radar dangerous moment; Among them, 5s≤t1-t0≤10s;
    (5)同时接收当前时刻车辆的IMU三轴加速度,如果三轴加速度在任意方向的瞬时加速度大于3±0.5m/s 2,则标记当前时刻为记录仪危险时刻;三轴加速度包括左右加速度、前后加速度、上下加速度; (5) Simultaneously receive the IMU three-axis acceleration of the vehicle at the current moment. If the instantaneous acceleration of the three-axis acceleration in any direction is greater than 3±0.5m/s 2 , the current moment is marked as the dangerous moment of the recorder; the three-axis acceleration includes left and right acceleration, Front and rear acceleration, up and down acceleration;
    (6)当当前时刻既为Radar危险时刻又为记录仪危险时刻,则标记当前时刻为真实危险时刻,并把真实危险时刻前后30秒内的行车数据标记为重要数据保存。(6) When the current time is both the Radar dangerous time and the recorder dangerous time, mark the current time as the real dangerous time, and mark the driving data within 30 seconds before and after the real dangerous time as important data to save.
  2. 根据权利要求1所述的方法,其特征在于,所述步骤(2)具体包括以下步骤:The method according to claim 1, wherein the step (2) specifically comprises the following steps:
    根据车辆Radar数据判断障碍物是否在车辆前方;当满足以下公式时,障碍物不在车辆前方,当前时刻的碰撞时间为正无穷:Determine whether the obstacle is in front of the vehicle according to the vehicle Radar data; when the following formula is satisfied, the obstacle is not in front of the vehicle, and the collision time at the current moment is positive infinity:
    d sinθ>2;d sinθ>2;
    其中,d为车辆相对于障碍物的距离,θ为车辆相对于障碍物的角度;Among them, d is the distance of the vehicle relative to the obstacle, and θ is the angle of the vehicle relative to the obstacle;
    否则,障碍物则在车辆前方,碰撞时间为:Otherwise, the obstacle is in front of the vehicle and the collision time is:
    Figure PCTCN2020110856-appb-100001
    Figure PCTCN2020110856-appb-100001
    vr为障碍物与车辆的相对速度。vr is the relative speed between the obstacle and the vehicle.
  3. 根据权利要求1所述的方法,其特征在于,从底盘解析得到车载Radar数据、车辆内置IMU的三轴加速度数据。The method according to claim 1, wherein the on-board Radar data and the three-axis acceleration data of the built-in IMU of the vehicle are obtained by analyzing the chassis.
  4. 根据权利要求3所述的方法,其特征在于,车辆的行车记录仪与黑匣子连接在canbus上,与底盘进行通讯,从底盘解析得到车载Radar数据、车辆内置IMU的三轴加速度数据。The method according to claim 3, wherein the driving recorder of the vehicle and the black box are connected to the canbus, communicate with the chassis, and analyze the vehicle-mounted Radar data and the three-axis acceleration data of the vehicle's built-in IMU from the chassis.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述重要数据保存在行车记录仪或黑匣子中,且不会被循环覆盖。The method according to any one of claims 1-4, wherein the important data is stored in a driving recorder or a black box, and will not be overwritten by a cycle.
  6. 一种基于Radar和IMU的行车记录仪事故数据保存装置,其特征在于,包括:A driving recorder accident data storage device based on Radar and IMU, characterized in that it includes:
    数据接收模块,用于获得车辆的三轴加速度数据、车辆Radar数据、以及所述车辆的车速数据;所述三轴加速度数据包括车辆的左右加速度、前后加速度、上下加速度;The data receiving module is used to obtain the three-axis acceleration data of the vehicle, the Radar data of the vehicle, and the vehicle speed data of the vehicle; the three-axis acceleration data includes the left and right acceleration, the front and rear acceleration, and the up and down acceleration of the vehicle;
    Radar模块,与所述数据接收模块相连,用于根据车辆Radar数据计算当前时刻车辆相对于每一个障碍物的碰撞时间,选择最小数据作为车辆当前时刻的第一碰撞时间,并根据当前时刻t0后到预设时刻t1内的第一碰撞时间是否存在90%以上的时刻的第一碰撞时间均 小于2秒,标记当前时刻是否为Radar危险时刻;其中,5s≤t1-t0≤10s;The Radar module is connected to the data receiving module, and is used to calculate the collision time of the vehicle relative to each obstacle at the current moment according to the Radar data of the vehicle, select the minimum data as the first collision time of the vehicle at the current moment, and calculate the collision time of the vehicle at the current moment according to the current moment t0. Whether there is more than 90% of the first collision time within the preset time t1, the first collision time is less than 2 seconds, marking whether the current time is a Radar dangerous time; wherein, 5s≤t1-t0≤10s;
    记录仪模块,与所述数据接收模块相连,用于根据当前时刻车辆的三轴加速度数据判断当前时刻是否为记录仪危险时刻;当三轴加速度在任意方向有大于3m/s 2的瞬时加速度,则标记当前时刻为记录仪危险时刻; The recorder module, connected with the data receiving module, is used to judge whether the current moment is the recorder dangerous moment according to the three-axis acceleration data of the vehicle at the current moment; when the three-axis acceleration has an instantaneous acceleration greater than 3m/s 2 in any direction, Then mark the current moment as the dangerous moment of the recorder;
    数据保存模块,与所述数据接收模块、所述Radar模块、所述记录仪模块均相连,用于当当前时刻既为Radar危险时刻又为记录仪危险时刻时,标记当前时刻为真实危险时刻,并把真实危险时刻前后30秒内的行车数据标记为重要数据保存。The data saving module is connected with the data receiving module, the Radar module and the recorder module, and is used to mark the current moment as the real dangerous moment when the current moment is both the Radar dangerous moment and the recorder dangerous moment, And the driving data within 30 seconds before and after the real dangerous moment is marked as important data for preservation.
  7. 根据权利要求6所述的设备,其特征在于,所述Radar模块包括判断单元、碰撞时间单元,Radar标记单元;The device according to claim 6, wherein the Radar module comprises a judgment unit, a collision time unit, and a Radar marking unit;
    其中,所述判断单元根据车辆Radar数据判断障碍物是否在车辆前方,当满足以下公式时,障碍物不在车辆前方:Wherein, the judging unit judges whether the obstacle is in front of the vehicle according to the vehicle Radar data, and when the following formula is satisfied, the obstacle is not in front of the vehicle:
    d sinθ>2;d sinθ>2;
    所述碰撞时间单元与所述判断单元相连,用于计算车辆相对于每个障碍物的碰撞时间,并选出第一碰撞时间;The collision time unit is connected with the judgment unit, and is used to calculate the collision time of the vehicle relative to each obstacle, and select the first collision time;
    所述Radar标记单元与所述碰撞时间单元相连,用于记录当前时刻是否是Radar危险时刻。The Radar marking unit is connected to the collision time unit, and is used for recording whether the current moment is a Radar dangerous moment.
  8. 根据权利要求6所述的设备,其特征在于,所述数据接收模包括行车记录仪、黑匣子;所述行车记录仪与黑匣子连接在canbus上,与车辆底盘进行通讯。The device according to claim 6, wherein the data receiving module comprises a driving recorder and a black box; the driving recorder and the black box are connected to the canbus and communicate with the vehicle chassis.
  9. 根据权利要求8所述的装置,其特征在于,所述数据接收模块从底盘解析得到车辆内置IMU的三轴加速度数据、车载Radar数据。The device according to claim 8, wherein the data receiving module analyzes and obtains three-axis acceleration data and on-board Radar data of a built-in IMU of the vehicle from the chassis.
  10. 根据权利要求6-9任一项所述的装置,其特征在于,所述数据保存模块中保存的所述重要数据不会被循环覆盖。The device according to any one of claims 6 to 9, wherein the important data stored in the data storage module will not be overwritten cyclically.
PCT/CN2020/110856 2020-08-24 2020-08-24 Radar and imu-based accident data storage method and device for event data recorder WO2022040872A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080064395.5A CN114402220A (en) 2020-08-24 2020-08-24 Radar and IMU-based automobile data recorder accident data storage method and device
PCT/CN2020/110856 WO2022040872A1 (en) 2020-08-24 2020-08-24 Radar and imu-based accident data storage method and device for event data recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/110856 WO2022040872A1 (en) 2020-08-24 2020-08-24 Radar and imu-based accident data storage method and device for event data recorder

Publications (1)

Publication Number Publication Date
WO2022040872A1 true WO2022040872A1 (en) 2022-03-03

Family

ID=80354298

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/110856 WO2022040872A1 (en) 2020-08-24 2020-08-24 Radar and imu-based accident data storage method and device for event data recorder

Country Status (2)

Country Link
CN (1) CN114402220A (en)
WO (1) WO2022040872A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116778720A (en) * 2023-08-25 2023-09-19 中汽传媒(天津)有限公司 Traffic condition scene library construction and application method, system and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115329126B (en) * 2022-10-14 2022-12-27 南通启锦智能科技有限公司 Intelligent data storage method of vehicle event data recorder

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060012513A1 (en) * 2003-01-31 2006-01-19 The Ohio State University Radar system using RF noise
US7091901B2 (en) * 2004-05-14 2006-08-15 Kustom Signals, Inc. Traffic radar system with improved patrol speed capture
CN101634710A (en) * 2009-08-21 2010-01-27 厦门瑞忆科技有限公司 Radar speed-measuring alarm for recording GPS wireless transmission and traffic safety
CN107672589A (en) * 2017-09-26 2018-02-09 苏州观瑞汽车技术有限公司 A kind of track of vehicle real-time predicting method and device based on GPR Detection Data
CN107895484A (en) * 2017-12-07 2018-04-10 成都市深国科半导体有限公司 A kind of car networking sensor group system based on big data
CN109542081A (en) * 2018-11-14 2019-03-29 江苏大学 A kind of line up train Risk estimation method based on vehicle projectile deceleration history under line

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178434A (en) * 2007-02-02 2008-05-14 上海易罗信息科技有限公司 Radar data collection system and collection method thereof
US10451727B2 (en) * 2011-05-13 2019-10-22 Amirahmad Sepehri Method and system for detecting moving vehicle speed through athird generation photo radar

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060012513A1 (en) * 2003-01-31 2006-01-19 The Ohio State University Radar system using RF noise
US7091901B2 (en) * 2004-05-14 2006-08-15 Kustom Signals, Inc. Traffic radar system with improved patrol speed capture
CN101634710A (en) * 2009-08-21 2010-01-27 厦门瑞忆科技有限公司 Radar speed-measuring alarm for recording GPS wireless transmission and traffic safety
CN107672589A (en) * 2017-09-26 2018-02-09 苏州观瑞汽车技术有限公司 A kind of track of vehicle real-time predicting method and device based on GPR Detection Data
CN107895484A (en) * 2017-12-07 2018-04-10 成都市深国科半导体有限公司 A kind of car networking sensor group system based on big data
CN109542081A (en) * 2018-11-14 2019-03-29 江苏大学 A kind of line up train Risk estimation method based on vehicle projectile deceleration history under line

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116778720A (en) * 2023-08-25 2023-09-19 中汽传媒(天津)有限公司 Traffic condition scene library construction and application method, system and electronic equipment
CN116778720B (en) * 2023-08-25 2023-11-24 中汽传媒(天津)有限公司 Traffic condition scene library construction and application method, system and electronic equipment

Also Published As

Publication number Publication date
CN114402220A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
US9761064B2 (en) Server determined bandwidth saving in transmission of events
US9650051B2 (en) Autonomous driving comparison and evaluation
US6629030B2 (en) Method and device for recoding vehicle data
US20150006023A1 (en) System and method for determination of vheicle accident information
JP7040399B2 (en) Information processing system and information processing method
WO2022040872A1 (en) Radar and imu-based accident data storage method and device for event data recorder
US10035514B1 (en) Dynamic configuration of event recorder content capture
US20170004660A1 (en) Device determined bandwidth saving in transmission of events
CN103106704A (en) Driving recorder
US10977882B1 (en) Driver health profile
WO2022040871A1 (en) Accident data saving method and apparatus for driving recorder
CN112009445A (en) System and method for controlling vehicle operation based on measured fluid level in fluid reservoir
CN111681336A (en) Traffic accident traceability system
US20210390857A1 (en) Information processing device, program, and information processing method
CN203149680U (en) Vehicle traveling data recorder
CN111988385A (en) Vehicle-mounted device and vehicle remote control method
US20230103670A1 (en) Video analysis for efficient sorting of event data
CN215264887U (en) Event recorder
EP3891512B1 (en) System and method for providing an indication of driving performance
CN208915112U (en) A kind of automobile lane shift early warning alarm set and control system
CN104936842A (en) Drive assist system, drive assist method, and drive assist device
JP2004090879A (en) Accident situation recording device, negligence diagnosis system, accident information recording device, negligence diagnosis method, and program
US11565696B1 (en) Systems and methods for vehicle reversing detection using machine learning
GB2579559A (en) System and method for providing an indication of driving performance
GB2579558A (en) System and method for providing an indication of driving performance

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: 20950547

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: 20950547

Country of ref document: EP

Kind code of ref document: A1