CN108492398A - The method for early warning that drive automatically behavior based on accelerometer actively acquires - Google Patents

The method for early warning that drive automatically behavior based on accelerometer actively acquires Download PDF

Info

Publication number
CN108492398A
CN108492398A CN201810126781.7A CN201810126781A CN108492398A CN 108492398 A CN108492398 A CN 108492398A CN 201810126781 A CN201810126781 A CN 201810126781A CN 108492398 A CN108492398 A CN 108492398A
Authority
CN
China
Prior art keywords
data
algorithm
accelerometer
memory
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810126781.7A
Other languages
Chinese (zh)
Inventor
王雪松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
Original Assignee
Tongji University
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 Tongji University filed Critical Tongji University
Priority to CN201810126781.7A priority Critical patent/CN108492398A/en
Publication of CN108492398A publication Critical patent/CN108492398A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • G07C5/085Registering performance data using electronic data carriers
    • G07C5/0866Registering performance data using electronic data carriers the electronic data carrier being a digital video recorder in combination with video camera
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)
  • Traffic Control Systems (AREA)

Abstract

Drive automatically behavior monitoring method detects the video data just recorded when dangerous driving behavior before and after trigger point, very clear to driving behavior analysis, greatly mitigates the workload of analysis video, solves the problems, such as that new data covers legacy data well.

Description

The method for early warning that drive automatically behavior based on accelerometer actively acquires
Technical field
The present invention relates to drive automatically behavior monitoring fields.
Background technology
If to analyze driving behavior meeting, there are many inconvenient places using the video data of automobile data recorder.It goes first Vehicle recorder be at any time record video data, if to be picked out from one big section of video dangerous driving behavior need spend compared with The long time watches video, this needs to put into a large amount of manpowers to read through video from the beginning to the end to see, and inefficient.Its It is secondary because automobile data recorder is record video data at any time, therefore a large amount of video file can be generated, the SD card note of a 32G The duration of record 1080P videos does not exceed 10 hours, for driving duration far more than the number of front for 10 hours long-distance vehicles According to will be fallen to cause data imperfect by subsequent data cover, and only this 32G data copy to PC just need it is half small When.
Invention content
The technology actively acquired the present invention is based on the drive automatically behavior of accelerometer solves the above problem well.
Technical solution:
A kind of drive automatically behavior monitoring method, which is characterized in that system detectio to have it is anxious accelerate, it is anxious slow down, racing The video data before and after trigger point is just recorded when curved dangerous driving behavior, it is very clear to driving behavior analysis, greatly mitigate The workload of video is analyzed, solves the problems, such as that new data covers legacy data well.
Further, concrete methods of realizing is:Including dangerous driving detection algorithm (algorithm 1), the compression sound based on memory Video cache algorithm (algorithm 2);
The dangerous driving detection algorithm is:
Step 1. main control module reads acceleration information with 20Hz frequencies.
The horizontal reference of step 2. data is demarcated, and is tilted to adapt to three axis accelerometer installation, equipment reads accelerometer Preceding ten second data demarcates accelerometer adaptively to install inclination.
After the calibration of step 3. horizontal reference, start to detect dangerous driving.For the calibrated data that receive first into Row Kalman filtering keeps accelerating curve smoothened to remove interference noise.
Step 4. sends out dangerous driving early warning for the acceleration value more than threshold value, is transferred to the compression Video & Audio based on memory The step 3 of cache algorithm (algorithm 2).
The compression Video & Audio cache algorithm of the memory is:
Step 1. reads camera initial data, reads audio PWM count evidence;
Step 2. is the data that the camera compressing original data of acquisition is h264 formats, for the first frame of acquisition per second As I frames, remaining frame is put into memory queue as P frames, and 40 seconds data are preserved in queue, and overtime data remove queue; Then the PWM audio datas elder generation boil down to aac formats of acquisition are stored in memory in an identical manner;
Step 3. responds dangerous driving early warning, and triggers video-with-audio recording, records 30 seconds before and after current point in time numbers According to being stored in file system with mp4 formatted files.
The accelerometer tilts calibration, and algorithm is:
2.1. 10 seconds data are read first, and are cached;
2.2. these data are ranked up according to the value of vector;
2.3. remove the data of minimum and maximum 10% respectively, and average;
2.4. angle of the current average vector with accelerometer when horizontal positioned is calculated;
2.5. the data read below are corrected according to current average vector.
The system, including main control module, three axis accelerometer module (or there are three independent sensor constitute), take the photograph As head module, the main control module includes CPU, memory module, memory again, wherein:Main control module is responsible for dispatching other Module;Three axis accelerometer is used for detecting anxious acceleration, anxious deceleration, zig zag, is provided in main control module;Two cameras are adopted respectively Collection front and driver's video, are provided in main control module.
The method of the present invention is very clear to driving behavior analysis, greatly mitigates the workload of analysis video, also well Solve the problems, such as that new data covers legacy data.
Description of the drawings
Fig. 1 is dangerous driving detection algorithm flow chart.
Fig. 2 is that accelerometer tilts calibration algorithm flow chart.
Fig. 3 is the compression Video & Audio cache algorithm based on memory.
Fig. 4 is EM equipment module figure.
Specific implementation mode
The technology actively acquired the present invention is based on the drive automatically behavior of accelerometer solves the prior art well Problem.
First, the different records at any time with automobile data recorder, the technology are to have detected anxious acceleration, anxious deceleration, zig zag Etc. dangerous driving behaviors can just record, and generate before and after video file record trigger point each 30 seconds every time totally one minute Video data, it is very clear to driving behavior analysis, greatly mitigate the workload of analysis video.
Secondly, this technology is not real-time record video, if can remember by the SD card that 30 minutes trigger 32G for primary is driven More than the data of two weeks, the workload for mitigating access evidence also solves the problems, such as that new data covers legacy data well for record.
One, the drive automatically behavior active collecting device based on accelerometer, as shown in figure 4, including main control module, three Axis accelerometer module (or there are three independent sensors to constitute), camera module, the main control module include again CPU, memory module, memory, wherein:Main control module is responsible for dispatching other modules;Three axis accelerometer is used for detecting anxious add Speed, anxious deceleration, zig zag, are provided in main control module;Two cameras acquire front and driver's video respectively, are provided in master control Module.
Two, main algorithm includes:Dangerous driving detection algorithm (algorithm 1), the compression Video & Audio caching based on memory are calculated Method (algorithm 2).
As shown in Figure 1, dangerous driving detection algorithm.
Step 1. main control module reads acceleration information with 20Hz frequencies.
The horizontal reference of step 2. data is demarcated, and is tilted to adapt to three axis accelerometer installation, equipment reads accelerometer Preceding ten second data demarcates accelerometer adaptively to install inclination.Referring to flow chart 2, accelerometer tilts calibration algorithm For:
2.1. 10 seconds data are read first, and are cached;
2.2. these data are ranked up according to the value of vector;
2.3. remove the data of minimum and maximum 10% respectively, and average;
2.4. angle of the current average vector with accelerometer when horizontal positioned is calculated;
2.5. the data read below are corrected according to current average vector.
After the calibration of step 3. horizontal reference, start to detect dangerous driving.For the calibrated data that receive first into Row Kalman filtering keeps accelerating curve smoothened to remove interference noise.
Step 4. sends out dangerous driving early warning for the acceleration value more than threshold value, is transferred to the compression Video & Audio based on memory The step 3 of cache algorithm (algorithm 2).
As shown in figure 3, in the compression Video & Audio cache algorithm of memory:
Step 1. reads camera initial data, reads audio PWM count evidence.
Step 2. is the data that the camera compressing original data of acquisition is h264 formats, for the first frame of acquisition per second As I frames, remaining frame is put into memory queue as P frames, and 40 seconds data are preserved in queue, and overtime data remove queue. Then the PWM audio datas elder generation boil down to aac formats of acquisition are stored in memory in an identical manner.
Step 3. responds dangerous driving early warning, and triggers video-with-audio recording, records 30 seconds before and after current point in time numbers According to being stored in file system (SD card) with mp4 formatted files.

Claims (4)

1. a kind of drive automatically behavior monitoring method, which is characterized in that system detectio to have it is anxious accelerate, it is anxious slow down, zig zag The video data before and after trigger point is just recorded when dangerous driving behavior.
2. drive automatically behavior monitoring method as described in claim 1, which is characterized in that concrete methods of realizing is:Including Dangerous driving detection algorithm (algorithm 1), the compression Video & Audio cache algorithm (algorithm 2) based on memory;
The dangerous driving detection algorithm is:
Step 1. main control module reads acceleration information with 20Hz frequencies.
The horizontal reference of step 2. data is demarcated, and is tilted to adapt to three axis accelerometer installation, equipment is read ten before accelerometer Second data demarcates accelerometer adaptively to install inclination.
After the calibration of step 3. horizontal reference, start to detect dangerous driving.The calibrated data received are blocked first Kalman Filtering keeps accelerating curve smoothened to remove interference noise.
Step 4. sends out dangerous driving early warning for the acceleration value more than threshold value, is transferred to the compression Video & Audio caching based on memory The step 3 of algorithm (algorithm 2).
The compression Video & Audio cache algorithm of the memory is:
Step 1. reads camera initial data, reads audio PWM count evidence;
Step 2. is the data that the camera compressing original data of acquisition is h264 formats, for the first frame conduct of acquisition per second I frames, remaining frame are put into memory queue as P frames, and 40 seconds data are preserved in queue, and overtime data remove queue;Obtaining Then the PWM audio datas elder generation boil down to aac formats taken store in memory in an identical manner;
Step 3. responds dangerous driving early warning, and triggers video-with-audio recording, records 30 seconds before and after current point in time data, with Mp4 formatted files are stored in file system.
3. drive automatically behavior monitoring method as claimed in claim 2, which is characterized in that the accelerometer tilts mark Fixed, algorithm is:
2.1. 10 seconds data are read first, and are cached;
2.2. these data are ranked up according to the value of vector;
2.3. remove the data of minimum and maximum 10% respectively, and average;
2.4. angle of the current average vector with accelerometer when horizontal positioned is calculated;
2.5. the data read below are corrected according to current average vector.
4. drive automatically behavior monitoring method as described in claim 1 or 2, which is characterized in that the system, including master Module, three axis accelerometer module (or there are three independent sensors to constitute), camera module are controlled, the main control module is again Include CPU, memory module, memory, wherein:Main control module is responsible for dispatching other modules;Three axis accelerometer is used for examining Anxious acceleration, anxious deceleration, zig zag are surveyed, main control module is provided in;Two cameras acquire front and driver's video respectively, provide In main control module.
CN201810126781.7A 2018-02-08 2018-02-08 The method for early warning that drive automatically behavior based on accelerometer actively acquires Pending CN108492398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810126781.7A CN108492398A (en) 2018-02-08 2018-02-08 The method for early warning that drive automatically behavior based on accelerometer actively acquires

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810126781.7A CN108492398A (en) 2018-02-08 2018-02-08 The method for early warning that drive automatically behavior based on accelerometer actively acquires

Publications (1)

Publication Number Publication Date
CN108492398A true CN108492398A (en) 2018-09-04

Family

ID=63339942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810126781.7A Pending CN108492398A (en) 2018-02-08 2018-02-08 The method for early warning that drive automatically behavior based on accelerometer actively acquires

Country Status (1)

Country Link
CN (1) CN108492398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109709956A (en) * 2018-12-26 2019-05-03 同济大学 A kind of automatic driving vehicle speed control multiple-objection optimization with algorithm of speeding

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052112A (en) * 2007-04-24 2007-10-10 赵凤济 Video frequency image circulation storage device and method
CN102024280A (en) * 2010-12-04 2011-04-20 大连理工大学 Vehicle accident early alarming and information recorder
CN104021601A (en) * 2014-05-30 2014-09-03 爱培科科技开发(深圳)有限公司 Car collision detection method and device based on three-shaft acceleration sensor
CN104091079A (en) * 2014-07-15 2014-10-08 哈尔滨工程大学 Bus driver driving level assessment method based on MEMS IMU
CN105807095A (en) * 2016-03-10 2016-07-27 同济大学 Three-axis acceleration sensor mounting error correcting method
CN106645799A (en) * 2016-09-14 2017-05-10 邹红斌 Parameter calibration method and apparatus
US20180007323A1 (en) * 2015-03-23 2018-01-04 Continental Automotive Gmbh Apparatus and Method for Recording Data Associated with a Vehicle

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101052112A (en) * 2007-04-24 2007-10-10 赵凤济 Video frequency image circulation storage device and method
CN102024280A (en) * 2010-12-04 2011-04-20 大连理工大学 Vehicle accident early alarming and information recorder
CN104021601A (en) * 2014-05-30 2014-09-03 爱培科科技开发(深圳)有限公司 Car collision detection method and device based on three-shaft acceleration sensor
CN104091079A (en) * 2014-07-15 2014-10-08 哈尔滨工程大学 Bus driver driving level assessment method based on MEMS IMU
US20180007323A1 (en) * 2015-03-23 2018-01-04 Continental Automotive Gmbh Apparatus and Method for Recording Data Associated with a Vehicle
CN105807095A (en) * 2016-03-10 2016-07-27 同济大学 Three-axis acceleration sensor mounting error correcting method
CN106645799A (en) * 2016-09-14 2017-05-10 邹红斌 Parameter calibration method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胥川,裴赛君,王雪松: "基于无侵入测量指标的个体差异化驾驶疲劳检测", 《中国公路学报》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109709956A (en) * 2018-12-26 2019-05-03 同济大学 A kind of automatic driving vehicle speed control multiple-objection optimization with algorithm of speeding
CN109709956B (en) * 2018-12-26 2021-06-08 同济大学 Multi-objective optimized following algorithm for controlling speed of automatic driving vehicle

Similar Documents

Publication Publication Date Title
US20180007323A1 (en) Apparatus and Method for Recording Data Associated with a Vehicle
CN110300285B (en) Panoramic video acquisition method and system based on unmanned platform
WO2019140906A1 (en) File processing method of vehicle-mounted monitoring device and vehicle-mounted monitoring device
CN104574571B (en) Save driving recorder
US11479260B1 (en) Systems and methods for proximate event capture
CA2795896A1 (en) Method and system for security system tampering detection
KR102053268B1 (en) Vehicle black box and method for criteria of impact event using the same
CN104574570B (en) Rearview mirror drive recorder
CN111862627A (en) Traffic violation stop snapshot automatic processing system
CN110126835A (en) Interference method, device, computer equipment and the storage medium of driving behavior
CN108492398A (en) The method for early warning that drive automatically behavior based on accelerometer actively acquires
CN110211316B (en) Monitoring early warning method and system
US20140267724A1 (en) Recording system and method for vehicle
JP2012164131A (en) Drive recorder device and event identification of the same
KR200279994Y1 (en) A black box for cars
JP2000207676A (en) Traffic accident detector
CN109712391A (en) A kind of hit-and-run monitoring method and system based on vehicle-mounted T-BOX
CN114973135A (en) Head-shoulder-based sequential video sleep post identification method and system and electronic equipment
CN113390766B (en) Tail gas emission detection method, device and equipment and storage medium
CN114328622A (en) Data anomaly capture real-time processing method and system for large data flow type calculation
US20110234912A1 (en) Image activity detection method and apparatus
KR20120004144A (en) Black box for vehicle and method for recording traffic accident of the same
CN112419635A (en) Perimeter alarm method integrating grating and video
CN115408557B (en) Safety monitoring system based on big data
CN114788255B (en) Recording control device, recording control method, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180904