CN105241472A - Vehicle running mileage counting method and device based on OBD vehicle speed - Google Patents
Vehicle running mileage counting method and device based on OBD vehicle speed Download PDFInfo
- Publication number
- CN105241472A CN105241472A CN201510788268.0A CN201510788268A CN105241472A CN 105241472 A CN105241472 A CN 105241472A CN 201510788268 A CN201510788268 A CN 201510788268A CN 105241472 A CN105241472 A CN 105241472A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- obd
- mileage
- speed
- miles
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 12
- 238000007619 statistical method Methods 0.000 claims description 17
- 230000001186 cumulative effect Effects 0.000 claims description 11
- 230000011218 segmentation Effects 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 7
- 239000012634 fragment Substances 0.000 claims description 5
- 241000209094 Oryza Species 0.000 claims description 4
- 235000007164 Oryza sativa Nutrition 0.000 claims description 4
- 235000009566 rice Nutrition 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 claims description 3
- 238000013480 data collection Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C22/00—Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Traffic Control Systems (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
The invention relates to a vehicle running mileage counting method and a vehicle running mileage counting device based on an OBD vehicle speed. The method comprises the following steps: A, acquiring OBD vehicle speed of a vehicle through an OBD bus at a fixed time interval period detalT; B, calculating a mileage of a single trip of the vehicle by a preset calculating method; C, accumulating the mileages of the single trips of the vehicle, thus obtaining the total mileage of the vehicle. According to the vehicle running mileage counting method disclosed by the invention, the problem of inaccurate mileage counting caused by the fact that the decimal part of vehicle speed data acquired from the OBD bus is omitted is solved, and the accuracy of mileage counting is greatly improved. By the adoption of the vehicle running mileage counting method, mileage counting is realized, the accuracy is high, and the implementation is simple and convenient.
Description
Technical field
The present invention relates to the application of automobile mounted automatic diagnosis system OBD, particularly relate to a kind of vehicle driving mileage information statistical method based on OBD and device.
Background technology
Along with the rise of car networking technology, the car-mounted terminal with satnav, mobile communication function installed by increasing vehicle, and by OBD interface access vehicle interior bus system, for obtaining vehicle status data and the data such as calculating vehicle travel mileage, oil consumption.The conventional method of car-mounted terminal calculating vehicle travel mileage has two kinds, and one is by GPS position information, and one is by vehicle mileage pulse.Because GPS positioning performance is subject to surrounding environment influence, there is the disturbing factors such as frequent delocalization or drift, therefore relying on GPS location to carry out mileage, to add up usual error larger; And vehicle mileage pulse signal is for the terminal device of non-front dress, obtain more difficult, install inconvenient.
Patent CN201410223465.3, disclose a kind of vehicle travel information statistical method based on OBD, utilize the mean value time of being multiplied by of the instantaneous velocity of head and the tail two time points of certain segmentation mileage to calculate this segmentation mileage, then each segmentation mileage cumulative, obtains the distance travelled of gross vehicle.Though the method is feasible, work as got segment time interval larger time, the error that statistics may occur also can be larger; Simultaneously, due to the instantaneous velocity that gets from OBD by kilometer/hour in units of, only remain integral part, therefore, this value of direct employing calculates segmentation mileage, statistics must be caused less than normal, and this deviation also has cumulative effect, along with timing statistics adds up, final statistics can be caused to occur larger error.
Summary of the invention
The present invention aims to provide a kind of Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle, to solve the not high problem of existing vehicle driving mileage statistics accuracy.
The present invention discloses a kind of Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle, comprising:
A, obtain the OBD speed information of vehicle by OBD bus with a fixed time interval cycle Δ T;
B, use are preset computing method and are calculated vehicle single distance travelled;
C, cumulative for the vehicle single distance travelled vehicle that obtains is travelled total kilometrage.
As a further improvement on the present invention, described fixed time interval cycle Δ T is a second.
As a further improvement on the present invention, the computing method of described single distance travelled are realized by the segmentation mileage in each data collection cycle cumulative, comprise the steps:
Step B1, according in steps A at current point in time T
ithe OBD vehicle velocity V obtained
i, calculate the actual equivalent traffic speed V at current point in time Ti
i', then V
i'=V
i+ 0.5
Wherein, V
icurrent point in time T
ithe speed of a motor vehicle collected by OBD bus is integer;
Step B2, the upper time point T of calculating
i-1to current point in time T
icycle in time interval Δ T in current fragment mileage S
i, S
i=V
i' × Δ T;
Step B3, by all segmentation mileage S
1~ S
ncarry out cumulative summation, obtain vehicle single distance travelled S, its computing formula is:
Wherein, n be more than or equal to 1 positive integer, n represents the total number of cycle in time interval Δ T in T.T. of travelling at vehicle single.
As a further improvement on the present invention, also comprise step D: the vehicle obtained in described step C is travelled total kilometrage and reports to central platform by radio communication, undertaken analyzing and representing by central platform.
A device for calculating vehicle travel mileage, access vehicle OBD interface, this device obtains Vehicle-Miles of Travel based on statistical method of the present invention.
The present invention's statistics choose the Fixed Time Interval cycle short, and revise the OBD speed of a motor vehicle, the problem that the mileage that the vehicle speed data solved because obtaining from bus omits fraction part and causes is not statistical uncertainty, has increased substantially the accuracy that mileage is added up; Adopt the program to realize mileage statistics, accuracy is high, is easy to implement.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the vehicle driving mileage information statistical method that the present invention is based on OBD;
Fig. 2 the present invention is based on the single mileage calculation process flow diagram that OBD automobile is distance travelled information statistical method.
Embodiment
For further illustrating each embodiment, the invention provides drawings attached.These accompanying drawings are a part for disclosure of the present invention, and it is mainly in order to illustrate embodiment, and the associated description of instructions can be coordinated to explain the operation principles of embodiment.Coordinate with reference to these contents, those of ordinary skill in the art will be understood that other possible embodiments and advantage of the present invention.Assembly in figure not drawn on scale, and similar element numbers is commonly used to assembly like representation class.
Now the present invention is further described with embodiment by reference to the accompanying drawings.
Consult Fig. 1-2, the invention provides a kind of Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle, the method comprises the steps:
Steps A, obtain the OBD speed information of vehicle by OBD bus with a fixed time interval cycle △ T;
Described fixed time interval cycle Δ T is shorter, and the statistics of vehicle driving mileage is more accurate.In the present embodiment, fixed time interval cycle Δ T is set to a second, ensure that the degree of accuracy of distance travelled statistics.
The described data obtained from OBD bus are time point T
iand corresponding time point T
ivehicle velocity V
i, wherein V
ifor integer, unit is kilometer/hour.In automobile starting moment, the current time obtained from OBD bus is set to T
0, the corresponding speed of a motor vehicle is instantaneously V
0; Automobile flameout moment, the time obtained from OBD bus is set to T
n, the corresponding speed of a motor vehicle is instantaneously V
n.
Step B, use are preset computing method and are calculated vehicle single distance travelled;
Step C, cumulative for the vehicle single distance travelled vehicle that obtains is travelled total kilometrage.
The present embodiment also comprises step D: the vehicle obtained in described step C is travelled total kilometrage and reports to central platform by radio communication, undertaken analyzing and representing by central platform.
The computing method of described single distance travelled are realized by the segmentation mileage in each data collection cycle cumulative, comprise the steps:
Step B1, according in steps A at current point in time T
ithe OBD vehicle velocity V obtained
i, calculate at current point in time T
iactual equivalent traffic speed V
i'.
Wherein, V
icurrent point in time T
ifrom the OBD speed of a motor vehicle that OBD bus collects, numerical value is integer, and OBD system eliminates radix point automatically, therefore is numerically less than time point T
iactual vehicle speed V
i".If directly use OBD vehicle velocity V
icalculate, distance travelled statistics can be caused less than normal, therefore need to revise; For reducing round-off error as far as possible, the present embodiment is selected in V
iby kilometer/hour in units of under revise, if actual equivalent traffic speed is V
i'.
V in factor value
i≤ V
i" < V
i+ 1, if Δ V
i=V
i"-V
i, Δ V
idistribution has randomness, through reality test, and Δ V
ibe similar to the normal distribution of 0-1, therefore Δ V
imathematical expectation be 0.5, therefore can V be approximately
i"=V
i+ 0.5, historical facts or anecdotes border equivalent traffic speed V
i'=V
i+ 0.5, wherein V
i, V
i' and V
i" unit to be kilometer/hour.
Step B2, the upper time point T of calculating
i-1to current point in time T
icycle in time interval Δ T in current fragment mileage S
i;
In the present embodiment, Δ T is a second, calculates, by time point T for simplifying
iactual equivalent traffic speed V
i' unit by kilometer/hour being scaled meter per second, therefore can obtain a time point T
i-1to current point in time T
icycle in time interval △ T in current fragment mileage S
i, its computing formula is:
S
i=1×V
i'×1000÷3600=V
i'÷3.6
Wherein, S
iunit be rice;
Step B3, by all segmentation mileage S
1~ S
ncarry out cumulative summation, obtain vehicle single distance travelled S, its computing formula is:
Wherein, S unit is rice, n be more than or equal to 1 positive integer, i be more than or equal to 1 positive integer, and n is greater than i.
Of course, also can carry out in step B3 the conversion of unit in the present invention, on the statistics of distance travelled without impact.
Present invention also offers the device of a kind of Vehicle-Miles of Travel statistics, this device connects with automobile OBD interface, and have employed the above-mentioned vehicle travel statistical method based on OBD, and in the present embodiment, this device is single-chip microcomputer, and cost is low and statistical precision is high.
A kind of vehicle driving mileage information statistical method based on OBD provided by the invention and device, be applicable to all vehicles meeting OBD standard.The present invention's statistics choose the Fixed Time Interval cycle short, and revise the OBD speed of a motor vehicle, the problem that the mileage that the vehicle speed data solved because obtaining from bus omits fraction part and causes is not statistical uncertainty, has increased substantially the accuracy that mileage is added up; Adopt the program to realize mileage statistics, accuracy is high, is easy to implement.
Although specifically show in conjunction with preferred embodiment and describe the present invention; but those skilled in the art should be understood that; not departing from the spirit and scope of the present invention that appended claims limits; can make a variety of changes the present invention in the form and details, be protection scope of the present invention.
Claims (6)
1., based on a Vehicle-Miles of Travel statistical method for the OBD speed of a motor vehicle, it is characterized in that, comprising:
A, obtain the OBD speed information of vehicle by OBD bus with a fixed time interval cycle Δ T;
B, use are preset computing method and are calculated vehicle single distance travelled;
C, cumulative for the vehicle single distance travelled vehicle that obtains is travelled total kilometrage.
2. the Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle according to claim 1, is characterized in that, described fixed time interval cycle Δ T is a second.
3. the Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle according to claim 1, is characterized in that, the computing method of described single distance travelled are realized by the segmentation mileage in each data collection cycle cumulative, comprise the steps:
Step B1, according in steps A at current point in time T
ithe OBD vehicle velocity V obtained
i, calculate at current point in time T
iactual equivalent traffic speed V
i', then V
i'=V
i+ 0.5
Wherein, V
icurrent point in time T
ithe speed of a motor vehicle collected by OBD bus is integer;
Step B2, the upper time point T of calculating
i-1to current point in time T
icycle in time interval Δ T in current fragment mileage S
i, S
i=V
i' × Δ T;
Step B3, by all segmentation mileage S
1~ S
ncarry out cumulative summation, obtain vehicle single distance travelled S, its computing formula is:
Wherein, n be more than or equal to 1 positive integer, n represents the total number of cycle in time interval Δ T in T.T. of travelling at vehicle single.
4. the Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle according to claim 3, is characterized in that, comprises the conversion process to unit in described step B, conversion process in step B2 by current fragment mileage S
ibe converted into rice or in step B3, single distance travelled S be converted into rice.
5. the Vehicle-Miles of Travel statistical method based on the OBD speed of a motor vehicle according to claim 1, it is characterized in that, also comprise step D: the vehicle obtained in described step C is travelled total kilometrage and reports to central platform by radio communication, undertaken analyzing and representing by central platform.
6. a device for calculating vehicle travel mileage information, access vehicle OBD interface, is characterized in that: this device uses the statistical method in claim 1-5 to obtain Vehicle-Miles of Travel information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510788268.0A CN105241472B (en) | 2015-11-17 | 2015-11-17 | Vehicle driving mileage statistical method and device based on OBD vehicle speed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510788268.0A CN105241472B (en) | 2015-11-17 | 2015-11-17 | Vehicle driving mileage statistical method and device based on OBD vehicle speed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105241472A true CN105241472A (en) | 2016-01-13 |
CN105241472B CN105241472B (en) | 2020-09-22 |
Family
ID=55039201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510788268.0A Active CN105241472B (en) | 2015-11-17 | 2015-11-17 | Vehicle driving mileage statistical method and device based on OBD vehicle speed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105241472B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105959409A (en) * | 2016-06-28 | 2016-09-21 | 驾道科技有限公司 | Vehicle mileage capturing and transmitting device and method |
CN106323329A (en) * | 2016-08-10 | 2017-01-11 | 北京市市政工程设计研究总院有限公司 | Method and device for obtaining travel mileages based on vehicle diagnosis system and integrated data compensation algorithm |
CN106767896A (en) * | 2016-11-08 | 2017-05-31 | 北京雄信息科技有限公司 | The method and system of vehicle mileage adjustment |
CN108108586A (en) * | 2017-12-18 | 2018-06-01 | 广州亚美信息科技有限公司 | A kind of computational methods of car networking terminal/GPS locator speedometer for automobile |
CN111833616A (en) * | 2020-07-10 | 2020-10-27 | 北京交通大学 | Data quality control method and device for overload recognition of internet-connected truck |
CN112667433A (en) * | 2021-01-27 | 2021-04-16 | 安徽天健环保车辆部件有限公司 | Data verification and deviation correction method for mileage of automobile instrument |
CN112858727A (en) * | 2021-01-23 | 2021-05-28 | 深圳泰瑞谷科技有限公司 | OBD and GPS combined vehicle speed calibration method, system and computer storage medium |
CN115439955A (en) * | 2022-08-30 | 2022-12-06 | 高新兴物联科技股份有限公司 | Vehicle mileage unit determination method, device, equipment and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101470012A (en) * | 2007-12-29 | 2009-07-01 | 厦门雅迅网络股份有限公司 | Method for real-time vehicle driving mileage statistics based on wireless network and GPS position information |
CN102980589A (en) * | 2012-11-27 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) speed |
CN103471601A (en) * | 2013-09-22 | 2013-12-25 | 东莞市泰斗微电子科技有限公司 | Vehicle-mounted integrated navigation method and vehicle-mounted integrated navigation system |
CN104035432A (en) * | 2014-05-23 | 2014-09-10 | 深圳市元征科技股份有限公司 | OBD (On Board Diagnostic) based vehicle travel information statistical method |
US20150066343A1 (en) * | 2013-08-29 | 2015-03-05 | Echo Automotive, Inc. | Method and system for improved fuel mileage measurement |
-
2015
- 2015-11-17 CN CN201510788268.0A patent/CN105241472B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101470012A (en) * | 2007-12-29 | 2009-07-01 | 厦门雅迅网络股份有限公司 | Method for real-time vehicle driving mileage statistics based on wireless network and GPS position information |
CN102980589A (en) * | 2012-11-27 | 2013-03-20 | 厦门雅迅网络股份有限公司 | Method and device for automatically computing vehicle pulse factor via GPS (global positioning system) speed |
US20150066343A1 (en) * | 2013-08-29 | 2015-03-05 | Echo Automotive, Inc. | Method and system for improved fuel mileage measurement |
CN103471601A (en) * | 2013-09-22 | 2013-12-25 | 东莞市泰斗微电子科技有限公司 | Vehicle-mounted integrated navigation method and vehicle-mounted integrated navigation system |
CN104035432A (en) * | 2014-05-23 | 2014-09-10 | 深圳市元征科技股份有限公司 | OBD (On Board Diagnostic) based vehicle travel information statistical method |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105959409B (en) * | 2016-06-28 | 2020-08-14 | 驾道科技有限公司 | Vehicle mileage capturing and transmitting device and method |
CN105959409A (en) * | 2016-06-28 | 2016-09-21 | 驾道科技有限公司 | Vehicle mileage capturing and transmitting device and method |
CN106323329A (en) * | 2016-08-10 | 2017-01-11 | 北京市市政工程设计研究总院有限公司 | Method and device for obtaining travel mileages based on vehicle diagnosis system and integrated data compensation algorithm |
CN106323329B (en) * | 2016-08-10 | 2019-04-05 | 北京市市政工程设计研究总院有限公司 | Mileage acquisition methods and device based on vehicle diagnosing system |
CN106767896A (en) * | 2016-11-08 | 2017-05-31 | 北京雄信息科技有限公司 | The method and system of vehicle mileage adjustment |
CN108108586B (en) * | 2017-12-18 | 2020-09-11 | 广州亚美信息科技有限公司 | Method for calculating automobile mileage of Internet of vehicles terminal/GPS (Global positioning System) locator |
CN108108586A (en) * | 2017-12-18 | 2018-06-01 | 广州亚美信息科技有限公司 | A kind of computational methods of car networking terminal/GPS locator speedometer for automobile |
CN111833616A (en) * | 2020-07-10 | 2020-10-27 | 北京交通大学 | Data quality control method and device for overload recognition of internet-connected truck |
CN111833616B (en) * | 2020-07-10 | 2021-11-16 | 北京交通大学 | Data quality control method and device for overload recognition of internet-connected truck |
CN112858727A (en) * | 2021-01-23 | 2021-05-28 | 深圳泰瑞谷科技有限公司 | OBD and GPS combined vehicle speed calibration method, system and computer storage medium |
CN112667433A (en) * | 2021-01-27 | 2021-04-16 | 安徽天健环保车辆部件有限公司 | Data verification and deviation correction method for mileage of automobile instrument |
CN115439955A (en) * | 2022-08-30 | 2022-12-06 | 高新兴物联科技股份有限公司 | Vehicle mileage unit determination method, device, equipment and readable storage medium |
CN115439955B (en) * | 2022-08-30 | 2023-10-20 | 高新兴物联科技股份有限公司 | Vehicle mileage unit determination method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105241472B (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105241472A (en) | Vehicle running mileage counting method and device based on OBD vehicle speed | |
EP3224104B1 (en) | Apparatus and method for vehicle economy improvement | |
CN105718750B (en) | A kind of prediction technique and system of vehicle driving trace | |
US8645052B2 (en) | Motor vehicle acceleration determining system | |
CN101739824B (en) | Data fusion technology-based traffic condition estimation method | |
CN111670340A (en) | Method for acquiring remaining driving mileage of vehicle, electronic equipment and vehicle | |
CN104792543A (en) | Constructing method of road cyclic conditions | |
US20140257863A1 (en) | System and method of usage-based insurance with location-only data | |
CN202630964U (en) | Speed odometer based on Hall element | |
CN106382939A (en) | System and method for predicating driving time on navigation path based on historical data | |
CN204242224U (en) | The system of passenger getting on/off is judged in network is hired a car | |
Stipancic et al. | Impact of congestion and traffic flow on crash frequency and severity: application of smartphone-collected GPS travel data | |
CN110770799A (en) | Taxi odometering method and system based on vehicle-mounted terminal | |
CN103903468A (en) | Time early-warning method for traffic jam and device thereof | |
CN110867090A (en) | Method and system for calculating average travel time between adjacent bus physical stops based on bus-mounted GPS data | |
CN103236159B (en) | Method for acquiring traffic road conditions on basis of satellite positioning, OBD (on-board diagnostics) and wireless communication | |
CN109559393A (en) | On board unit awakening method, device and vehicle carried electronic label device | |
CN113376395A (en) | Commercial vehicle speed detection method and device, electronic equipment and commercial vehicle | |
CN106886040A (en) | A kind of taxi timing based on big-dipper satellite positioning, log arrangement and method | |
CN111222898A (en) | Taxi appointment method and computer readable storage medium | |
Chang et al. | Traffic congestion identification method based on GPS equipped floating car | |
CN105825675B (en) | A kind of road trip time calculation method and device based on big data | |
CN103822641B (en) | A kind of vehicle mileage statistical method | |
CN112874528B (en) | Vehicle speed determination method, vehicle speed determination device, vehicle-mounted terminal and storage medium | |
CN104483505A (en) | Method and device for acquiring vehicle running speed |
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 |