CN107512217A - The method and apparatus of switch steering indicating light based on OBD - Google Patents

The method and apparatus of switch steering indicating light based on OBD Download PDF

Info

Publication number
CN107512217A
CN107512217A CN201710563861.4A CN201710563861A CN107512217A CN 107512217 A CN107512217 A CN 107512217A CN 201710563861 A CN201710563861 A CN 201710563861A CN 107512217 A CN107512217 A CN 107512217A
Authority
CN
China
Prior art keywords
obd
vehicle
indicating light
steering indicating
steering wheel
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
CN201710563861.4A
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.)
BEIJING YIXIONG INFOTECH Co Ltd
Original Assignee
BEIJING YIXIONG INFOTECH 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 BEIJING YIXIONG INFOTECH Co Ltd filed Critical BEIJING YIXIONG INFOTECH Co Ltd
Priority to CN201710563861.4A priority Critical patent/CN107512217A/en
Publication of CN107512217A publication Critical patent/CN107512217A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q1/00Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor
    • B60Q1/26Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic
    • B60Q1/34Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating change of drive direction
    • B60Q1/346Arrangement of optical signalling or lighting devices, the mounting or supporting thereof or circuits therefor the devices being primarily intended to indicate the vehicle, or parts thereof, or to give signals, to other traffic for indicating change of drive direction with automatic actuation

Abstract

The application provides a kind of method and apparatus of the switch steering indicating light based on OBD, including step 1:Obtain speed and steering wheel angle;Step 2:Calculate actual vehicle speed and steering wheel actual rotational angle;Step 3:According to first threshold set in advance, judge whether vehicle is in turn condition, if vehicle is in turn condition, open steering indicating light;According to Second Threshold set in advance, judge whether vehicle is in lane change state, if vehicle is in lane change state, open steering indicating light.The method of the present invention, simple easy exploiting, stable performance, reaction speed are fast.

Description

The method and apparatus of switch steering indicating light based on OBD
Technical field
The present invention relates to automobile technical field, more particularly to the method and apparatus of the switch steering indicating light based on OBD.
Background technology
With the popularization of automobile consumption, requirement more and more higher of the people to automotive safety, and nonstandard driving behavior is One of the main reason for causing accident occurs, in order to lift the driving sense of car owner, aid in drive concept increasingly popularize, also by More people receive, and the miscellaneous function developed on vehicle is increasing.
It is manually opened that the unlatching of existing turn signal relies primarily on driver, and the complicated stylish driver attention of road conditions Do not concentrate and forget to open or mistake using steering indicating light easily triggers traffic accident, driver and pedestrian are brought personal safety threaten with Economic loss.
In Chinese patent《Automatically lighting automobile steering lamp method and device》In, by automobile install additional sensor, Bulb, switch, power supply and line etc. form loop, and monitoring direction disk rotational angle realizes automatically opening up and closing for steering indicating light.But This method cost is high, it is necessary to which external thing is more, and installation is complicated, and potential safety hazard is big, because external circuit is exposed to outer, Aging circuit caused by weathering, high temperature can have influence to driving safety.
The content of the invention
In order to overcome the defects of existing, the method and apparatus that the present invention proposes the switch steering indicating light based on OBD.
According to an aspect of the present invention, there is provided the method for the switch steering indicating light based on OBD, including:Step 1:Obtain car Speed and steering wheel angle;Step 2:Calculate actual vehicle speed, steering wheel actual rotational angle and tire actual rotational angle;Step 3:According to advance The first threshold of setting, judges whether vehicle is in turn condition, if vehicle is in turn condition, opens steering indicating light.
Wherein, tire actual rotational angle=the ratio between steering wheel actual rotational angle/steering wheel angle and tire corner.
First threshold is:Actual vehicle speed is 0-40km/h, and tire actual rotational angle is more than 30 degree.
When vehicle is in turn condition, after steering wheel sets right, delay 3s closes steering indicating light.
Further, according to Second Threshold set in advance, judge whether vehicle is in lane change state, if vehicle is in Lane change state, open steering indicating light.Second Threshold is:Actual vehicle speed is more than 20km/h, and tire actual rotational angle is more than 5 degree.At vehicle When lane change state, after steering wheel sets right, delay 1s closes steering indicating light.
According to another aspect of the present invention, there is provided the device of the switch steering indicating light based on OBD, including:Power module, with Vehicle OBD interfaces are connected, and vehicle OBD interface voltages are converted into the voltage needed for OBD communication modules and data processing module; OBD communication modules, it is connected with vehicle OBD interfaces, for pickup vehicle data, data processing mould is sent to after having collected data Block;The switch steering indicating light order that data processing module is sent is received, and passes through vehicle OBD interface switch steering indicating lights;Data processing Module, it is connected with OBD communication modules, the data that analysis OBD communication modules are sent, and is communicated mould by OBD according to analysis result Block controls the on and off of steering indicating light.
The method and apparatus that the present invention provides the switch steering indicating light based on OBD, are controlled automatically by the OBD Vehicular turns realized Function processed, protect driver safe;And this method need not relocate, the peace that circuit is brought by high temperature ageing to vehicle is avoided Full hidden danger, ensure that vehicle safety.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the switch steering indicating light method according to an embodiment of the invention based on OBD;
Fig. 2 is the structural representation of the device of the switch steering indicating light according to an embodiment of the invention based on OBD.
Embodiment
Method and apparatus with specific embodiment to the switch steering indicating light provided by the invention based on OBD below in conjunction with the accompanying drawings It is described in detail.
According to an aspect of the invention, it is proposed that the method for the switch steering indicating light based on OBD, as shown in figure 1, including:Step 1:Obtain speed and steering wheel angle;Step 2:Calculate actual vehicle speed and steering wheel actual rotational angle;Step 3:According to presetting First threshold, judge whether vehicle is in turn condition, if vehicle is in turn condition, open steering indicating light;According to advance The Second Threshold of setting, judges whether vehicle is in lane change state, if vehicle is in lane change state, opens steering indicating light.
Specifically described with reference to embodiment.
1. obtain OBD data, calculate actual vehicle speed and corner.
When opening ignition switch, device brings into operation, and receives speed bus data and steering wheel angle bus data, according to Pre-prepd algorithm calculates actual vehicle speed and steering wheel actual rotational angle.
(1) method for obtaining steering wheel angle is as follows:
From OBD obtain data be:302 0D 67 17 18 34 0F 40 31
302 represent ID heads, behind since the 0th byte, be followed successively by 0D, 67,17 etc..Wherein second and third byte side of containing To the data of disk corner, i.e., 1718.When steering wheel is placed in the middle, second and third byte is 0x1770, and this interval scale steering wheel angle is 0;Second and third byte is more than 0x1770 when beating steering wheel to the right, and now (second and third byte -0x1770) is converted to decimal number Value is exactly to beat the angle of steering wheel to the right;When beating steering wheel to the left, second and third byte is less than 0x1770, and now (0x1770 is subtracted Second and third byte) decimal value be the angle for beating steering wheel to the left.
Second and third byte is 0x1718 in this data, that is, is turned left, steering angle be (0x1770-0x1718)= 0x58, it is 88 after the decimal system, i.e., has beaten 88 ° of steering wheel to the left.
(2) method for obtaining speed is as follows:
The data obtained from OBD are as follows:300 03 1C 08 00 00 00 00 00
The decimal value of wherein the first byte is exactly specific speed.Speed is 0x1C=28km/h in this data.
(3) actual vehicle speed and tire actual rotational angle are calculated
Steering wheel angle and tire corner ratio are assumed to be C, steering wheel angle A, then tire actual rotational angle B=A/C.One As C=8:1, to be determined according to actual vehicle.Calculation formula is:
Tire actual rotational angle=the ratio between steering wheel actual rotational angle/steering wheel angle and tire corner
Actual vehicle speed is exactly the speed obtained.
2. judging turning or lane change, steering indicating light is closed
By comparing actual vehicle speed, tire actual rotational angle and first threshold, judge whether vehicle turns, if turning then Open steering indicating light.
By comparing actual vehicle speed, tire actual rotational angle and Second Threshold, judge vehicle whether lane change, if lane change is then Open steering indicating light.
First threshold be speed in 0-40km/h, tire actual rotational angle is more than 30 °.Actual vehicle speed and tire actual rotational angle During more than threshold value, it is judged to turning.Road surface is narrower and the angle at crossing is smaller, and tire actual rotational angle is bigger.In view of enter it is curved it Steering wheel rear of setting right is not returned just yet afterwards, thus steering wheel set right after postpone 3s and close steering indicating light.
Second Threshold is that speed is more than 20km/h, and tire actual rotational angle is more than 5 °.Actual vehicle speed and tire actual rotational angle surpass It is lane change to cross threshold determination.In view of steering wheel rear of setting right still slightly tilts after taking part in Taoism, thus steering wheel set right after postpone 1s closes steering indicating light.
Steering wheel sets right, i.e., steering wheel actual rotational angle is 0.
Also to continue real-time judgment after opening steering indicating light, opening state is always maintained at steering indicating light during lane change to ensure to turn State and completion are turned, close steering indicating light after lane change.
Real-time reception OBD data are calculated and judged, you can automatically open up and close steering indicating light.
According to another aspect of the present invention, there is provided the device of the switch steering indicating light based on OBD, as shown in Fig. 2 including: Power module, it is connected with vehicle OBD interfaces, vehicle OBD interface voltages is converted into OBD communication modules and data processing module institute The voltage needed;OBD communication modules, it is connected with vehicle OBD interfaces, for pickup vehicle data, number is sent to after having collected data According to processing module;The switch steering indicating light order that data processing module is sent is received, and passes through vehicle OBD interface switch steering indicating lights; Data processing module, it is connected, the data that analysis OBD communication modules are sent, is controlled by OBD communication modules with OBD communication modules The on and off of steering indicating light.
Wherein, power module is powered by vehicle OBD interfaces using small storage battery, low in energy consumption, is powered without having to worry about to vehicle Impact.Car OBD interface is 12V, and OBD communication modules and microprocessor are converted into by the reduction voltage circuit inside power module 3.3V voltages needed for device module.
Data processing module is judged and handled using specific method described above.
The present invention is without the wiring of complexity, and without the external equipment of complexity, required is only connection OBD box, right Pick up a socket to can be used, the simple easy to get started of device not only improves stability and reaction speed, more avoids because of high temperature The safety problem triggered with aging circuit problem caused by weathering.
In addition, the device of the present invention is connected by OBD interfaces with vehicle, low in energy consumption, stand-by time length, it is not necessary to external electricity Source, and vehicle body is powered without influence.
Certainly, the present invention also has various other embodiments, without departing from the spirit and substance of the case in the present invention, is familiar with this The technical staff in field can make various corresponding changes according to the present invention, but this change should all belong to the power appended by the present invention The protection domain that profit requires.

Claims (8)

1. a kind of method of the switch steering indicating light based on OBD, including:
Step 1:Speed and steering wheel angle data are obtained by OBD;
Step 2:Calculate actual vehicle speed, steering wheel actual rotational angle and tire actual rotational angle;With
Step 3:According to first threshold set in advance, judge whether vehicle is in turn condition, if vehicle is in turning shape State, open steering indicating light.
2. the method according to claim 11, wherein, in the step 2, the tire actual rotational angle=steering wheel The ratio between actual rotational angle/steering wheel angle and tire corner.
3. according to the method for claim 1, wherein, the first threshold set in advance is in the step 3:It is actual Speed is 0-40km/h, and the tire actual rotational angle is more than 30 degree.
4. the method according to claim 11, wherein, in addition to:
Step 4:When vehicle is in turn condition, after steering wheel sets right, delay 3s closes steering indicating light.
5. according to the method for claim 1, wherein, the step 3 is:According to Second Threshold set in advance, car is judged Whether lane change state is in, if vehicle is in lane change state, opens steering indicating light.
6. according to the method for claim 5, wherein, the Second Threshold set in advance is in the step 5:Actual car Speed is more than 20km/h, and tire actual rotational angle is more than 5 degree.
7. the method according to claim 11, wherein, in addition to:
Step 4:When vehicle is in lane change state, after steering wheel sets right, delay 1s closes steering indicating light.
8. a kind of device of the switch steering indicating light based on OBD, including:Power module, OBD communication modules and data processing module, Wherein:
The power module is connected with vehicle OBD interfaces, is OBD communication moulds by the voltage conversion of the vehicle OBD interfaces Voltage needed for block and the data processing module;
The OBD communication modules are connected with vehicle OBD interfaces, for receiving vehicle data, send said data to the number According to processing module, and the switch steering indicating light order that the data processing module is sent is received, and pass through the vehicle OBD interfaces Switch steering indicating light;And
The data processing module is connected with the OBD communication modules, analyzes the data that the OBD communication modules are sent, and root The on and off of steering indicating light is controlled by the OBD communication modules according to the result of analysis.
CN201710563861.4A 2017-07-12 2017-07-12 The method and apparatus of switch steering indicating light based on OBD Pending CN107512217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710563861.4A CN107512217A (en) 2017-07-12 2017-07-12 The method and apparatus of switch steering indicating light based on OBD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710563861.4A CN107512217A (en) 2017-07-12 2017-07-12 The method and apparatus of switch steering indicating light based on OBD

Publications (1)

Publication Number Publication Date
CN107512217A true CN107512217A (en) 2017-12-26

Family

ID=60722535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710563861.4A Pending CN107512217A (en) 2017-07-12 2017-07-12 The method and apparatus of switch steering indicating light based on OBD

Country Status (1)

Country Link
CN (1) CN107512217A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110015231A (en) * 2018-01-09 2019-07-16 上海海拉电子有限公司 A kind of Vehicular turn lamp control system and control method
CN112229418A (en) * 2020-12-11 2021-01-15 北京晶众智慧交通科技股份有限公司 Vehicle positioning system based on OBD box
CN114572106A (en) * 2020-12-02 2022-06-03 上海擎感智能科技有限公司 Method for automatically turning on steering lamp, vehicle-mounted equipment and computer storage medium
CN114735075A (en) * 2022-04-13 2022-07-12 中国第一汽车股份有限公司 Vehicle turning state determination method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102951075A (en) * 2011-08-26 2013-03-06 上海汽车集团股份有限公司 Method for controlling automatic turning-on of steering lamp
CN105225534A (en) * 2015-10-14 2016-01-06 南宁学院 A kind of Lane Departure Warning System based on OBD and smart mobile phone and method for early warning thereof
CN105818734A (en) * 2016-05-05 2016-08-03 江苏大学 Steering lamp auxiliary control device and method in vehicle turning process
CN106114357A (en) * 2016-07-04 2016-11-16 天津中科先进技术研究院有限公司 Device and method for preventing scratching during turning of vehicle
CN205930481U (en) * 2016-07-27 2017-02-08 北京汽车股份有限公司 Auto steering lamp controlgear and car

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102951075A (en) * 2011-08-26 2013-03-06 上海汽车集团股份有限公司 Method for controlling automatic turning-on of steering lamp
CN105225534A (en) * 2015-10-14 2016-01-06 南宁学院 A kind of Lane Departure Warning System based on OBD and smart mobile phone and method for early warning thereof
CN105818734A (en) * 2016-05-05 2016-08-03 江苏大学 Steering lamp auxiliary control device and method in vehicle turning process
CN106114357A (en) * 2016-07-04 2016-11-16 天津中科先进技术研究院有限公司 Device and method for preventing scratching during turning of vehicle
CN205930481U (en) * 2016-07-27 2017-02-08 北京汽车股份有限公司 Auto steering lamp controlgear and car

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110015231A (en) * 2018-01-09 2019-07-16 上海海拉电子有限公司 A kind of Vehicular turn lamp control system and control method
CN114572106A (en) * 2020-12-02 2022-06-03 上海擎感智能科技有限公司 Method for automatically turning on steering lamp, vehicle-mounted equipment and computer storage medium
CN114572106B (en) * 2020-12-02 2023-11-28 上海擎感智能科技有限公司 Method for automatically turning on turn signal, vehicle-mounted equipment and computer storage medium
CN112229418A (en) * 2020-12-11 2021-01-15 北京晶众智慧交通科技股份有限公司 Vehicle positioning system based on OBD box
CN114735075A (en) * 2022-04-13 2022-07-12 中国第一汽车股份有限公司 Vehicle turning state determination method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107512217A (en) The method and apparatus of switch steering indicating light based on OBD
CN103569012B (en) A kind of vehicle is paddled safety guard
CN101863253A (en) Vehicle body controller and control method thereof
CN202669600U (en) Automobile lamp delaying switch off device
CN109131048A (en) Diurnal running lamp control method and control system
CN105225534A (en) A kind of Lane Departure Warning System based on OBD and smart mobile phone and method for early warning thereof
CN204282989U (en) A kind of city bicycles parks intelligence control system
CN102463923A (en) Method and device for automatically turning off automobile headlight
CN102717680A (en) Radiating device for automobile
CN201907453U (en) Digital vehicle distance display screen for preventing rear-end collision
CN201520250U (en) Door-opening prewarning device for taxi
KR101205667B1 (en) Method And Apparatus for Steering Force According to Road Surface State
CN105216793A (en) A kind of deviation correcting system based on electric power steering and correcting method thereof
CN206841288U (en) A kind of vehicle backing auxiliary lamp
CN105620347A (en) Automobile light intelligent control system
CN104670039A (en) Electric vehicle emergency starting method
CN202879397U (en) Vehicle one button start system without key entering
CN107139826A (en) Steering indicating light automaton
CN103935326B (en) Intelligent windshield wiper control system
CN207984685U (en) A kind of vehicle drives into the control system of unlatching headlight before tunnel
CN205112878U (en) Intelligence flip's solar charging tyre pressure monitoring ware
CN205523456U (en) Pressure monitoring device for tyre of vehicle
CN102745128B (en) Control method and system of vehicle emergency signal light
CN106016162A (en) Intelligent car light system
CN206049506U (en) It is a kind of to prevent automobile lamp from forgetting the alarm device for closing

Legal Events

Date Code Title Description
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: 20171226