CN105523084B - Method for detecting vehicle turning angle based on three-axis acceleration sensor - Google Patents

Method for detecting vehicle turning angle based on three-axis acceleration sensor Download PDF

Info

Publication number
CN105523084B
CN105523084B CN201510889069.9A CN201510889069A CN105523084B CN 105523084 B CN105523084 B CN 105523084B CN 201510889069 A CN201510889069 A CN 201510889069A CN 105523084 B CN105523084 B CN 105523084B
Authority
CN
China
Prior art keywords
vehicle
acceleration sensor
vector
vector component
turning angle
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.)
Active
Application number
CN201510889069.9A
Other languages
Chinese (zh)
Other versions
CN105523084A (en
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.)
Xiamen Yaxun Zhilian Technology Co ltd
Original Assignee
XIAMEN YAXUN NETWORK CO Ltd
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 XIAMEN YAXUN NETWORK CO Ltd filed Critical XIAMEN YAXUN NETWORK CO Ltd
Priority to CN201510889069.9A priority Critical patent/CN105523084B/en
Publication of CN105523084A publication Critical patent/CN105523084A/en
Application granted granted Critical
Publication of CN105523084B publication Critical patent/CN105523084B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D15/00Steering not otherwise provided for
    • B62D15/02Steering position indicators ; Steering position determination; Steering aids
    • B62D15/021Determination of steering angle
    • B62D15/024Other means for determination of steering angle without directly measuring it, e.g. deriving from wheel speeds on different sides of the car

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
  • Gyroscopes (AREA)

Abstract

The invention relates to a vehicle monitorThe field of control, in particular to a method for detecting vehicle turning angle based on a three-axis acceleration sensor. The invention discloses a method for detecting vehicle turning angle based on a triaxial acceleration sensor, which comprises the following steps of firstly, calibrating the triaxial acceleration sensor in an initial state; then, acceleration vector data of the triaxial acceleration sensor is acquired, and an acceleration vector component in the vehicle traveling direction is calculatedAnd a lateral acceleration vector component in a direction perpendicular to the vehicle's direction of travelObtaining travel speed vectors of vehicles at the same timeThen, based on the acceleration vector componentVector component of lateral accelerationAnd travel velocity vectorCalculating the angle theta of the vehicle turning in delta t timeiAnd then calculating the total turning angle theta in the whole turning processtotal. The invention has low cost, simple and convenient realization and accuracy which can meet the requirement of practical application.

Description

Method for detecting vehicle turning angle based on three-axis acceleration sensor
Technical Field
The invention belongs to the field of vehicle monitoring, and particularly relates to a method for detecting a vehicle turning angle based on a three-axis acceleration sensor.
Background
With the development of society, the living standard of people is improved, the number of automobiles is increased, the number of automobiles also increases, traffic accidents also increase due to the increase of the number of automobiles, and in the process of handling the traffic accidents, the driving state of the accident is a very important analysis means, which can be used for analyzing whether the driving behaviors are violated, wherein the driving state comprises rapid acceleration, rapid deceleration, rapid turning and the like. On the other hand, with the development of the car networking industry, the vehicle-mounted terminal with positioning and wireless communication is more and more widely used in a vehicle based on the access of a vehicle OBD (on-board diagnostic system) or a CAN (controller area network) interface to a vehicle internal bus, and is mainly used for collecting vehicle condition data, detecting driving behaviors of a driver, collecting and reporting driving data, and the like. Wherein the driving behaviors comprise rapid acceleration, rapid deceleration, rapid turning, rapid braking and the like; the method for detecting the sharp turn generally needs to detect the turning angle of the vehicle, and the current scheme generally adopts a gyroscope device to detect the turning angle and the angular speed, such as the following patent: CN102211612A, although simpler to implement, is more costly.
Disclosure of Invention
The invention aims to solve the problems and provide a method for detecting the vehicle turning angle based on a triaxial acceleration sensor, which has low detection cost and is simple and convenient to realize.
The invention discloses a method for detecting vehicle turning angle based on a triaxial acceleration sensor, which comprises the following steps:
and A10, calibrating the initial state of the triaxial acceleration sensor.
A20, acquiring acceleration vector data of the three-axis acceleration sensor, and calculating the acceleration vector component in the vehicle traveling directionAnd a lateral acceleration vector component in a direction perpendicular to the vehicle's direction of travelObtaining travel speed vectors of vehicles at the same time
A30, based on the acceleration vector componentVector component of lateral accelerationAnd travel velocity vectorCalculating the angle theta of the vehicle turning in delta t timeiThe calculation formula is
Further, the method also comprises a step A40 of detecting the total turning angle in the one-time turning process, and the specific method comprises the following steps:
when the vector component of lateral accelerationSetting a threshold M, starting angle detection, and detecting the lateral acceleration vector component< setting threshold M or lateral acceleration vector componentWhen the direction of the angle sensor changes suddenly, the angle detection is finished, and the total turning angle in one turning process isWherein, thetaiAnd n is an integer of t/delta t, and t is the duration of the turning process.
Furthermore, the method for determining the abrupt change of the direction of the lateral acceleration vector component comprises the following steps: computingAndif mod1>mod2, there is a sudden change in direction from the opposite direction, i.e., direction, where the opposite direction is the adjacent two lateral acceleration vector components.
Further, in the step a10, the initial state calibration includes the influence of gravityVectorCalibration and vehicle heading vectorAnd (5) calibrating.
Further, in the step a20, the vehicle speed vector isThe mode of (2) is obtained by the vehicle OBD or CAN bus, and the direction is the vehicle traveling direction vectorAnd (4) determining.
The invention has the beneficial technical effects that:
the invention can judge sharp turn by adopting the three-axis acceleration sensor and calculate the turning angle, thus greatly reducing the cost compared with a gyroscope and the like; and the method is simple and easy to realize, and the calculation precision can meet the requirements of common application scenarios.
Drawings
FIG. 1 is a flow chart of an embodiment of the present invention;
FIG. 2 is a schematic diagram of a three-axis decomposition of an embodiment of the present invention;
FIG. 3 is a schematic diagram of a turning angle calculation according to an embodiment of the present invention;
FIG. 4 is a schematic view of two adjacent lateral acceleration vectors in the same direction according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating the inversion of two adjacent lateral acceleration vectors according to an embodiment of the present invention.
Detailed Description
The invention will now be further described with reference to the accompanying drawings and detailed description.
As shown in fig. 1 to 5, a method for detecting a turning angle of a vehicle based on a three-axis acceleration sensor includes the steps of:
and A10, calibrating the initial state of the triaxial acceleration sensor.
In this embodiment, the three-axis acceleration sensor may be a piezoresistive three-axis acceleration sensor, a piezoelectric three-axis acceleration sensor, or a capacitive three-axis acceleration sensor, and the initial state calibration is performed on the three-axis acceleration sensor, including the gravity influence vectorCalibration and vehicle heading vectorThe calibration method comprises the following specific steps:
vector of influence of gravityCalibration: stopping the vehicle on a horizontal road surface, reading the acceleration vector data in a horizontal static state for multiple times, and taking the arithmetic meanAnd stored in non-volatile memory.
Vehicle direction of travel vectorCalibration: the vehicle starts to accelerate forward when a first speed is read>The acceleration vector at 5km/h (of course, in other embodiments, not limited to 5km/h, and may be set by a technician according to actual conditions) is calibrated as the vehicle traveling direction vectorAnd stored in non-volatile memory.
A20, acquiring acceleration vector data of the three-axis acceleration sensor, and calculating the acceleration vector component in the vehicle traveling directionAnd a lateral acceleration vector component in a direction perpendicular to the vehicle's direction of travelObtaining travel speed vectors of vehicles at the same time
Specifically, the processing unit (in this embodiment, a single chip microcomputer or an MCU processor) reads the real-time resultant acceleration vector of the three-axis acceleration sensor once every Δ t time (the smaller the Δ t value is, the more accurate the calculation result is), but in consideration of the actual situation and the calculation complexity, the Δ t may not be too small, and in this specific implementation, the Δ t value is 200ms)Calculating acceleration vector component on vehicle traveling horizontal planeAcceleration vector component in vehicle traveling directionAnd a lateral acceleration vector component in a direction perpendicular to the vehicle's direction of travelThe calculation process is as follows:
wherein α is an acceleration vector componentAnd acceleration vector componentAs shown in fig. 2.
Obtaining travel speed vectors of vehicles at the same timeThe specific method comprises the following steps: the processing unit reads the vehicle's travel speed vector via the vehicle OBD or CAN bus (of course, in other embodiments, other means may be used, such as a speed sensor)Giving the vehicle running direction as the vector direction of the vehicle, namely obtaining the running speed vector
A30, based on the acceleration vector componentVector component of lateral accelerationAnd travel velocity vectorCalculating the angle theta of the vehicle turning in delta t timei. After the inventor of the present invention has conducted extensive research, the following are calculated:
andas shown in fig. 3, the angle θ of the vehicle turning within the time Δ t can be calculated from fig. 3i
Wherein,is prepared by reacting withThe vehicle's travel velocity vector at intervals Δ t, m being the mass of the sensor.
A40, detecting the total turning angle theta of one-time turning processtotalThe specific method comprises the following steps:
when the vector component of lateral accelerationNot less than the set threshold M (in this embodiment, M is 500 mm/s)2Of course, in other embodiments, the value of M may be set by a technician according to actual needs, the M is set to avoid invalid calculations and reduce the calculation amount of the processing unit), angle detection is started, and the turning angle is detected every Δ t until the lateral acceleration vector component< setting threshold M or lateral acceleration vector componentWhen the direction of the angle sensor changes suddenly, the angle detection is finished, and the total turning angle of one turning process is determinedWherein, thetaiAnd n is an integer of t/delta t, and t is the duration of one turning process.
In particular, the lateral acceleration vector componentThe method for determining the direction mutation of (1) is as follows: computing Andif mod1<mod2, thenAndin the same direction, as shown in fig. 4; if mod1>mod2, thenAndin the reverse direction, as shown in fig. 5, i.e., the direction is mutated, wherein,andare the adjacent two lateral acceleration vector components.
Furthermore, by incorporating a lateral acceleration vector componentComparing with a set threshold if the lateral acceleration vector componentIf the acceleration is larger than the set threshold, the vehicle can be judged to be in sharp turn, and whether the vehicle is in sharp turn can be judged through the triaxial acceleration sensor very simply.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (4)

1. A method for detecting a vehicle turning angle based on a three-axis acceleration sensor is characterized by comprising the following steps:
a10, calibrating the initial state of the triaxial acceleration sensor;
a20, acquiring acceleration vector data of the three-axis acceleration sensor, and calculating the acceleration vector component in the vehicle traveling directionAnd a lateral acceleration vector component in a direction perpendicular to the vehicle's direction of travelObtaining travel speed vectors of vehicles at the same time
A30, based on the acceleration vector componentVector component of lateral accelerationAnd travel velocity vectorCalculating the angle theta of the vehicle turning in delta t timeiThe calculation formula is
A40, detecting the total turning angle in the one-time turning process, wherein the specific method comprises the following steps:
when in useStarting to perform angle detection when Or lateral acceleration vector componentWhen the direction of the angle sensor changes suddenly, the angle detection is finished, and the total turning angle in one turning process isWherein, thetaiAnd n is an integer of t/delta t, and t is the duration of the turning process.
2. The method for detecting a vehicle turning angle based on a three-axis acceleration sensor according to claim 1, characterized in that: said lateral acceleration vector componentThe method for determining the direction mutation of (1) is as follows: computingAndif mod1>mod2, thenAndin the reverse direction, i.e. the direction is mutated, whichIn (1),andare the adjacent two lateral acceleration vector components.
3. The method for detecting a vehicle turning angle based on a three-axis acceleration sensor according to claim 1, characterized in that: in step a10, the initial state calibration includes a gravity influence vectorCalibration and vehicle heading vectorAnd (5) calibrating.
4. The method for detecting a vehicle turning angle based on a three-axis acceleration sensor according to claim 1, characterized in that: in the step a20, the vehicle speed vectorThe mode of (2) is obtained by the vehicle OBD or CAN bus, and the direction is the vehicle traveling direction vectorAnd (4) determining.
CN201510889069.9A 2015-12-07 2015-12-07 Method for detecting vehicle turning angle based on three-axis acceleration sensor Active CN105523084B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510889069.9A CN105523084B (en) 2015-12-07 2015-12-07 Method for detecting vehicle turning angle based on three-axis acceleration sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510889069.9A CN105523084B (en) 2015-12-07 2015-12-07 Method for detecting vehicle turning angle based on three-axis acceleration sensor

Publications (2)

Publication Number Publication Date
CN105523084A CN105523084A (en) 2016-04-27
CN105523084B true CN105523084B (en) 2019-12-27

Family

ID=55765700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510889069.9A Active CN105523084B (en) 2015-12-07 2015-12-07 Method for detecting vehicle turning angle based on three-axis acceleration sensor

Country Status (1)

Country Link
CN (1) CN105523084B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105953793A (en) * 2016-04-21 2016-09-21 深圳市元征科技股份有限公司 Identification method and apparatus for sharp turn of vehicle
CN107585210B (en) * 2016-07-07 2020-06-19 厦门雅迅网络股份有限公司 Method and device for detecting steering wheel angle of vehicle
CN108646262A (en) * 2018-03-27 2018-10-12 斑马网络技术有限公司 Vehicle-state monitoring method, equipment, storage medium and vehicle
CN110001781A (en) * 2019-04-26 2019-07-12 深圳智游者科技有限公司 Identify that positive method and device is returned in vehicle front-wheel direction
CN114264486B (en) * 2021-12-22 2024-04-16 郑州天迈科技股份有限公司 Vehicle three-emergency detection method based on low-cost sensor

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787944A (en) * 2004-04-26 2006-06-14 株式会社丰田自动织机 Turning radius calculation method, steering assistance apparatus and parking assistance apparatus employing the turning radius calculation method, turning radius calculation program, and recording med
CN201385626Y (en) * 2009-05-05 2010-01-20 韦志强 All-whether vehicle turning overspeed control device
EP2599677A1 (en) * 2011-12-02 2013-06-05 ZF Friedrichshafen AG Method and device for determining a driving parameter and method and device for controlling a drive train of a vehicle
CN103632062A (en) * 2013-12-06 2014-03-12 北京乾图方园软件技术有限公司 Method and device for determining uphill and downhill running states of vehicle by utilizing acceleration sensor and gyroscope
JP2014164466A (en) * 2013-02-25 2014-09-08 Nippon Soken Inc Operation support device
CN203902664U (en) * 2014-06-17 2014-10-29 无锡市崇安区科技创业服务中心 Automobile turning angle auxiliary prompting device
CN104742902A (en) * 2013-12-27 2015-07-01 鸿富锦精密工业(深圳)有限公司 Vehicle auxiliary system and vehicle auxiliary method
CN103052865B (en) * 2010-09-17 2015-08-12 爱信艾达株式会社 Driving support device, driving support method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787944A (en) * 2004-04-26 2006-06-14 株式会社丰田自动织机 Turning radius calculation method, steering assistance apparatus and parking assistance apparatus employing the turning radius calculation method, turning radius calculation program, and recording med
CN201385626Y (en) * 2009-05-05 2010-01-20 韦志强 All-whether vehicle turning overspeed control device
CN103052865B (en) * 2010-09-17 2015-08-12 爱信艾达株式会社 Driving support device, driving support method
EP2599677A1 (en) * 2011-12-02 2013-06-05 ZF Friedrichshafen AG Method and device for determining a driving parameter and method and device for controlling a drive train of a vehicle
JP2014164466A (en) * 2013-02-25 2014-09-08 Nippon Soken Inc Operation support device
CN103632062A (en) * 2013-12-06 2014-03-12 北京乾图方园软件技术有限公司 Method and device for determining uphill and downhill running states of vehicle by utilizing acceleration sensor and gyroscope
CN104742902A (en) * 2013-12-27 2015-07-01 鸿富锦精密工业(深圳)有限公司 Vehicle auxiliary system and vehicle auxiliary method
CN203902664U (en) * 2014-06-17 2014-10-29 无锡市崇安区科技创业服务中心 Automobile turning angle auxiliary prompting device

Also Published As

Publication number Publication date
CN105523084A (en) 2016-04-27

Similar Documents

Publication Publication Date Title
CN105523084B (en) Method for detecting vehicle turning angle based on three-axis acceleration sensor
CN105109490B (en) Method for judging sharp turn of vehicle based on three-axis acceleration sensor
CN108437893B (en) Early warning method and device for automobile deviating from lane
CN111868479B (en) Vehicle operation based on vehicle measurement data processing
CN109278755B (en) Vehicle road surface gradient calculation method and system
Chowdhury et al. Estimating true speed of moving vehicle using smartphone-based GPS measurement
CN111114551B (en) Vehicle ramp gradient identification method and device
CN113232643B (en) Self-adaptive auxiliary driving system and method based on road surface environment
CN108304594A (en) A kind of determination method of the car steering stability based on speed and gyro data
CN110143200A (en) A kind of vehicle status data acquisition methods, device, mobile unit and storage medium
CN105953793A (en) Identification method and apparatus for sharp turn of vehicle
JP2016206976A (en) Preceding vehicle track calculation device for driving support control of vehicle
US20190186962A1 (en) Quality of Service for a Vehicular Plug-and-Play Ecosystem
CN103587529B (en) A kind of straight way section lane-change process gets over line moment forecasting system and Forecasting Methodology
CN104608768A (en) Distinguishing device and method of curve entering and lane changing of front target vehicle
JP6169270B2 (en) Method and apparatus for identifying running state of external vehicle
CN106494398A (en) Prompting method for preventing vehicle rear-end collision based on mobile terminal and mobile terminal
CN108646054A (en) A kind of three axis method for self-calibrating of vehicle-mounted acceleration sensor
CN102592331A (en) Vehicle inertia motion data acquisition unit
WO2017014081A1 (en) Injury assessment device
CN114264486B (en) Vehicle three-emergency detection method based on low-cost sensor
CN104251163B (en) The method of adjustment measure for identification
CN112874528B (en) Vehicle speed determination method, vehicle speed determination device, vehicle-mounted terminal and storage medium
CN115973064A (en) Method and system for systematically monitoring vehicle motion state
CN108802428A (en) A kind of three axis self-calibration system of vehicle-mounted acceleration sensor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 361000 Fujian Province Xiamen Torch High tech Zone Software Park Innovation Building C Zone 303-E

Patentee after: Xiamen Yaxun Zhilian Technology Co.,Ltd.

Country or region after: China

Address before: No.46 guanri Road, phase II, software park, Xiamen City, Fujian Province, 361000

Patentee before: XIAMEN YAXON NETWORK Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address