CN110297482A - Vehicle data collection device and its acquisition method based on OBD system - Google Patents

Vehicle data collection device and its acquisition method based on OBD system Download PDF

Info

Publication number
CN110297482A
CN110297482A CN201910617808.7A CN201910617808A CN110297482A CN 110297482 A CN110297482 A CN 110297482A CN 201910617808 A CN201910617808 A CN 201910617808A CN 110297482 A CN110297482 A CN 110297482A
Authority
CN
China
Prior art keywords
module
data
vehicle
obd
communication
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
CN201910617808.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.)
Lanzhou Yi Ding Environmental Protection Technology Co Ltd
Original Assignee
Lanzhou Yi Ding Environmental Protection Technology 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 Lanzhou Yi Ding Environmental Protection Technology Co Ltd filed Critical Lanzhou Yi Ding Environmental Protection Technology Co Ltd
Priority to CN201910617808.7A priority Critical patent/CN110297482A/en
Publication of CN110297482A publication Critical patent/CN110297482A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention discloses vehicle data collection devices and its acquisition method based on OBD system, belong to onboard system technical field.It further include MCU drive module, master scheduling module, real-time information collection module, communications protocol parsing module, communication module, data buffering module, communication module management module including OBD data collector;MCU drive module is used to provide running environment for each module;Master scheduling module is used to monitor the operating condition of each module, issues the instruction of control, coordinates the working condition of each module;Real-time information collection module is used to control the real-time vehicle information of OBD data collector acquisition vehicle, provides the running state informations such as vehicle bus state and suspend mode application to master scheduling module.Collected vehicle data frame is parsed according to II application layer protocol of OBD-, so that vehicle state data acquisition keeps high efficiency, accuracy under different vehicle platform.

Description

Vehicle data collection device and its acquisition method based on OBD system
Technical field
The invention belongs to onboard system technical field, it is related to vehicle data collection device and its acquisition side based on OBD system Method.
Background technique
With the continuous development of car networking technology, the popularization and application of intelligent transportation become important at present development trend it One.The important feature of car networking includes: the collection to vehicle data, the transmission of vehicle data.Wherein, the one of vehicle data collection A important system is OBD (On-BoardDiagnosticSystem, onboard diagnostics) system.
OBD system, by the standard criterion of AIAE American institute of automobile engineers (SAE) the automobile self-diagnosable system proposed.Initially It is that government enforces to monitor motor vehicle exhaust emission use, OBD system monitors multiple systems and component, including starts Machine, catalytic converter, grain catcher, lambda sensor, emission control systems, fuel system etc..
Although OBD system can detect multinomial vehicle status parameters, ordinary user generally can't actively remove detection OBD System is used usually only when vehicle failure is sent to maintenance store and repairs by maintenance personal's detection.Currently, lacking The weary data-selected scheme for enabling a user to obtain OBD system, user can not be using the vehicle status parameters of OBD system detection to vehicle Effectively maintained.
Summary of the invention
It is an object of the invention to: vehicle data collection device and its acquisition method based on OBD system are provided, is solved The problem of OBD system data cannot be directly acquired by user.
The technical solution adopted by the invention is as follows:
Vehicle data acquisition system based on OBD system, including OBD data collector further include MCU drive module, master Scheduler module, real-time information collection module, communications protocol parsing module, communication module, data buffering module, communication module management Module;
The MCU drive module is used to provide running environment for each module;
The master scheduling module is used to monitor the operating condition of each module, issues the instruction of control, coordinates the work of each module Make state;
The real-time information collection module is used to control the real-time vehicle information of OBD data collector acquisition vehicle, to master Scheduler module provides the running state informations such as vehicle bus state and suspend mode application;
The data buffering module is for storing the collected data information of real-time information collection module;
The communications protocol parsing module for complete vehicle bus data to communication data transmission, communication data transmission, Protocol conversion of the communication transfer order to controller control command;
The communication module management is for the working condition according to the control command communication control module of master scheduler.
Further, the data buffering module includes real time data buffer module and communication data buffer module, described It is used for storing the collected vehicle bus real time data of OBD data collector, communication data buffer area real time data buffer area In the communication data transmission that memory communicating module receives.
Further, the MCU drive module include CAN driving, the driving of K line, clock driving, IO driving, serial port drive, Economize on electricity driving.
Vehicle data collection method based on OBD system, S1: initialization, and carry out system operating mode judgement.
S2: the communication connection of system and vehicle is established;
S3: judge the OBD agreement that vehicle follows for ISO-15765 or ISO-14230 according to the data that vehicle bus is responded;
S4: vehicle real-time data acquisition circulation is entered according to given protocol, and data are stored in data buffer zone;
S5: vehicle data transmission.
Further, the S2 the following steps are included:
S2.1: OBD agreement inquiry message is sent to vehicle middle line and vehicle middle line and carries out communication connection;
S2.2: if receiving corresponding data response, S3 is carried out;
S2.3: if not receiving corresponding data response, S2.1 is returned to;
S2.4: more than corresponding data response is not received three times, system carries out suspend mode.
Further, the S5 the following steps are included:
S5.1: vehicle data circle collection;
S5.2: judge vehicle data whether continuous-stable;
S5.3: if vehicle data continuous-stable, S5.1 is returned to;
S5.4: if vehicle data is unstable, system carries out suspend mode.
Further, the date storage method of the S4 includes buffering vehicle bus real-time data memory to real time data Area stores communication data transmission to communication data buffer area.
Further, vehicle data transmission method described in the S5 includes being sent to by way of wireless transmission remotely Server.
Further, vehicle data transmission method described in the S5 includes being uploaded in a manner of USB OTG wire transmission To PPC.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are: of the invention based on OBD system The vehicle data collection device and its acquisition method of system using OBD data collector acquire vehicle data, according to II agreement of OBD- with The form of OBD vehicle data collection information collection establishes vehicle data collection mechanism, root by bus cycles property bus interrogation reply system Collected vehicle data frame is parsed according to II application layer protocol of OBD-, so that the vehicle status number under different vehicle platform High efficiency, accuracy are kept according to acquisition.It is complicated more flexibly to cope with vehicle data for the embedded system developed based on C language The upload demand of change.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings, in which:
Fig. 1 is a kind of functional block diagram of the vehicle data acquisition system of the invention based on OBD system;
Fig. 2 is a kind of flow chart of the vehicle data collection method of the invention based on OBD system.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention, i.e., described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is logical The component for the embodiment of the present invention being often described and illustrated herein in the accompanying drawings can be arranged and be designed with a variety of different configurations.
Therefore, the detailed description of the embodiment of the present invention provided in the accompanying drawings is not intended to limit below claimed The scope of the present invention, but be merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art Member's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
It should be noted that the relational terms of term " first " and " second " or the like be used merely to an entity or Operation is distinguished with another entity or operation, and without necessarily requiring or implying between these entities or operation, there are any This actual relationship or sequence.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non-exclusive Property include so that include a series of elements process, method, article or equipment not only include those elements, but also Further include other elements that are not explicitly listed, or further include for this process, method, article or equipment it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described There is also other identical elements in the process, method, article or equipment of element.
Feature and performance of the invention are described in further detail below with reference to embodiment.
Embodiment one
The vehicle data acquisition system based on OBD system that present pre-ferred embodiments provide, as shown in Figure 1, including OBD Data collector further includes MCU drive module, master scheduling module, real-time information collection module, communications protocol parsing module, leads to Interrogate module, data buffering module, communication module management module;
The MCU drive module is used to provide running environment for each module;
The master scheduling module is used to monitor the operating condition of each module, issues the instruction of control, coordinates the work of each module Make state;
The real-time information collection module is used to control the real-time vehicle information of OBD data collector acquisition vehicle, to master Scheduler module provides the running state informations such as vehicle bus state and suspend mode application;
The data buffering module is for storing the collected data information of real-time information collection module;
The communications protocol parsing module for complete vehicle bus data to communication data transmission, communication data transmission, Protocol conversion of the communication transfer order to controller control command;
The communication module management is for the working condition according to the control command communication control module of master scheduler.
Preferably, the data buffering module includes real time data buffer module and communication data buffer module, the reality When data buffer zone for storing the collected vehicle bus real time data of OBD data collector, communication data buffer area is used for The communication data transmission that memory communicating module receives.
Preferably, the MCU drive module includes CAN driving, the driving of K line, clock driving, IO driving, serial port drive, section Electric drive.
Of the invention vehicle data collection device and its acquisition method based on OBD system utilizes the acquisition of OBD data collector Vehicle data passes through bus cycles property bus question and answer side according to II agreement of OBD- in the form of OBD vehicle data collection information collection Formula establishes vehicle data collection mechanism, is parsed according to II application layer protocol of OBD- to collected vehicle data frame, so that Vehicle state data acquisition keeps high efficiency, accuracy under different vehicle platform.The embedded system developed based on C language System, can flexibly cope with vehicle data upload demand complicated and changeable.
The present embodiment also provides a kind of vehicle data collection method based on OBD system, as shown in Fig. 2, including following step Suddenly;
S1: initialization, and carry out system operating mode judgement.
S2: the communication connection of system and vehicle is established.
S3: judge the OBD agreement that vehicle follows for ISO-15765 or ISO-14230 according to the data that vehicle bus is responded.
S4: vehicle real-time data acquisition circulation is entered according to given protocol, and data are stored in data buffer zone.
S5: vehicle data transmission.
Preferably, the S2 the following steps are included:
S2.1: OBD agreement inquiry message is sent to vehicle middle line and vehicle middle line and carries out communication connection.
S2.2: if receiving corresponding data response, S3 is carried out.
S2.3: if not receiving corresponding data response, S2.1 is returned to.
S2.4: more than corresponding data response is not received three times, system carries out suspend mode.
Preferably, the S5 the following steps are included:
S5.1: vehicle data circle collection.
S5.2: judge vehicle data whether continuous-stable.
S5.3: if vehicle data continuous-stable, S5.1 is returned to.
S5.4: if vehicle data is unstable, system carries out suspend mode.
Preferably, the date storage method of the S4 includes buffering vehicle bus real-time data memory to real time data Area stores communication data transmission to communication data buffer area.
Preferably, vehicle data transmission method described in the S5 includes that long-range clothes are sent to by way of wireless transmission Business device.
Preferably, vehicle data transmission method described in the S5 includes being uploaded in a manner of USB OTG wire transmission PPC。
The foregoing is merely illustrative of the preferred embodiments of the present invention, the protection scope being not intended to limit the invention, any Those skilled in the art within the spirit and principles in the present invention made by any modifications, equivalent replacements, and improvements etc., It should all be included in the protection scope of the present invention.

Claims (9)

1. the vehicle data acquisition system based on OBD system, including OBD data collector, it is characterised in that: further include that MCU drives Dynamic model block, real-time information collection module, communications protocol parsing module, communication module, data buffering module, leads at master scheduling module Interrogate module management module;
The MCU drive module is used to provide running environment for each module;
The master scheduling module is used to monitor the operating condition of each module, issues the instruction of control, coordinates the work shape of each module State;
The real-time information collection module is used to control the real-time vehicle information of OBD data collector acquisition vehicle, to master scheduling Module provides the running state informations such as vehicle bus state and suspend mode application;
The data buffering module is for storing the collected data information of real-time information collection module;
The communications protocol parsing module is for completing vehicle bus data to communication data transmission, communication data transmission, communication Communicate a command to the protocol conversion of controller control command;
The communication module management is for the working condition according to the control command communication control module of master scheduler.
2. the vehicle data acquisition system according to claim 1 based on OBD system, it is characterised in that: the data are slow Die block includes real time data buffer module and communication data buffer module, and the real time data buffer area is for storing OBD number According to the collected vehicle bus real time data of collector, communication of the communication data buffer area for memory communicating module to receive is passed Transmission of data.
3. the vehicle data collection device system according to claim 1 based on OBD system, it is characterised in that: the MCU drives Dynamic model block includes CAN driving, the driving of K line, clock driving, IO driving, serial port drive, economize on electricity driving.
4. the vehicle data collection method based on OBD system, it is characterised in that: include the following steps;
S1: initialization, and carry out system operating mode judgement;
S2: the communication connection of system and vehicle is established;
S3: judge the OBD agreement that vehicle follows for ISO-15765 or ISO-14230 according to the data that vehicle bus is responded;
S4: vehicle real-time data acquisition circulation is entered according to given protocol, and data are stored in data buffer zone;
S5: vehicle data transmission.
5. the vehicle data collection method according to claim 4 based on OBD system, it is characterised in that: the S2 includes Following steps:
S2.1: OBD agreement inquiry message is sent to vehicle middle line and vehicle middle line and carries out communication connection;
S2.2: if receiving corresponding data response, S3 is carried out;
S2.3: if not receiving corresponding data response, S2.1 is returned to;
S2.4: more than corresponding data response is not received three times, system carries out suspend mode.
6. the vehicle data collection method according to claim 4 based on OBD system, it is characterised in that: the S5 includes Following steps:
S5.1: vehicle data circle collection;
S5.2: judge vehicle data whether continuous-stable;
S5.3: if vehicle data continuous-stable, S5.1 is returned to;
S5.4: if vehicle data is unstable, system carries out suspend mode.
7. the vehicle data collection method according to claim 4 based on OBD system, it is characterised in that: the number of the S4 It include that communication data transmission is stored vehicle bus real-time data memory to real time data buffer area to communication to according to storage method Data buffer zone.
8. the vehicle data collection method according to claim 4 based on OBD system, it is characterised in that: institute in the S5 Stating vehicle data transmission method includes that remote server is sent to by way of wireless transmission.
9. the vehicle data collection method according to claim 4 based on OBD system, it is characterised in that: institute in the S5 Stating vehicle data transmission method includes being uploaded to PPC in a manner of USB OTG wire transmission.
CN201910617808.7A 2019-07-10 2019-07-10 Vehicle data collection device and its acquisition method based on OBD system Pending CN110297482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910617808.7A CN110297482A (en) 2019-07-10 2019-07-10 Vehicle data collection device and its acquisition method based on OBD system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910617808.7A CN110297482A (en) 2019-07-10 2019-07-10 Vehicle data collection device and its acquisition method based on OBD system

Publications (1)

Publication Number Publication Date
CN110297482A true CN110297482A (en) 2019-10-01

Family

ID=68030853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910617808.7A Pending CN110297482A (en) 2019-07-10 2019-07-10 Vehicle data collection device and its acquisition method based on OBD system

Country Status (1)

Country Link
CN (1) CN110297482A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381966A (en) * 2020-11-10 2021-02-19 易显智能科技有限责任公司 Method for acquiring driving data signal and related device thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845520A (en) * 2006-03-07 2006-10-11 南京澳帝姆科技有限公司 Communication method between wireless sensor network node and gateway
CN103369597A (en) * 2012-03-31 2013-10-23 中兴通讯股份有限公司 Radio-frame sending method and device
CN104378810A (en) * 2014-11-05 2015-02-25 翟延忠 Low-power-dissipation wireless communication system of well wall detection terminal and detection communication method
CN104742825A (en) * 2015-03-20 2015-07-01 山东省科学院自动化研究所 Low-power-consumption automobile body controller and control method thereof
CN104796972A (en) * 2015-04-15 2015-07-22 浙江大学 Communication method for reducing power consumption of wireless sensors and application of communication method
CN104869622A (en) * 2015-06-15 2015-08-26 江苏麦希通讯技术有限公司 Data transmitting and receiving method with low power consumption for wireless sensor network
CN104936132A (en) * 2015-05-29 2015-09-23 广东欧珀移动通信有限公司 Machine type communication method, base station, and terminal
CN106027605A (en) * 2016-04-30 2016-10-12 北京智驾互联信息服务有限公司 Data processing device of vehicle state
CN107203197A (en) * 2017-05-27 2017-09-26 江苏理工学院 A kind of vehicle-state Monitoring Data collector and its acquisition method based on OBD
CN108877176A (en) * 2018-06-28 2018-11-23 西南电子技术研究所(中国电子科技集团公司第十研究所) Internet of Things gas is wireless automatic remote transmission kilowatt meter reading-out system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845520A (en) * 2006-03-07 2006-10-11 南京澳帝姆科技有限公司 Communication method between wireless sensor network node and gateway
CN103369597A (en) * 2012-03-31 2013-10-23 中兴通讯股份有限公司 Radio-frame sending method and device
CN104378810A (en) * 2014-11-05 2015-02-25 翟延忠 Low-power-dissipation wireless communication system of well wall detection terminal and detection communication method
CN104742825A (en) * 2015-03-20 2015-07-01 山东省科学院自动化研究所 Low-power-consumption automobile body controller and control method thereof
CN104796972A (en) * 2015-04-15 2015-07-22 浙江大学 Communication method for reducing power consumption of wireless sensors and application of communication method
CN104936132A (en) * 2015-05-29 2015-09-23 广东欧珀移动通信有限公司 Machine type communication method, base station, and terminal
CN104869622A (en) * 2015-06-15 2015-08-26 江苏麦希通讯技术有限公司 Data transmitting and receiving method with low power consumption for wireless sensor network
CN106027605A (en) * 2016-04-30 2016-10-12 北京智驾互联信息服务有限公司 Data processing device of vehicle state
CN107203197A (en) * 2017-05-27 2017-09-26 江苏理工学院 A kind of vehicle-state Monitoring Data collector and its acquisition method based on OBD
CN108877176A (en) * 2018-06-28 2018-11-23 西南电子技术研究所(中国电子科技集团公司第十研究所) Internet of Things gas is wireless automatic remote transmission kilowatt meter reading-out system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381966A (en) * 2020-11-10 2021-02-19 易显智能科技有限责任公司 Method for acquiring driving data signal and related device thereof

Similar Documents

Publication Publication Date Title
Wang et al. Data cleaning for RFID and WSN integration
CN110758289A (en) Sleep and wake-up method of in-vehicle hybrid network comprising vehicle-mounted Ethernet
CN103200035B (en) Based on the net dormancy method of OSEK standard, device and ECU
CN210839611U (en) Sleep and awakening device of in-vehicle hybrid network comprising vehicle-mounted Ethernet
CN206178464U (en) Multi -protocols vehicle diagnostic system based on ARMCortex
CN104181839A (en) Method and device for processing real-time traveling data of vehicles
CN114172928B (en) Design method of Internet of things system
CN107995241A (en) Collecting vehicle information terminal, Research on Vehicle Remote Monitoring System Based on GPRS and data transmission method
CN110297482A (en) Vehicle data collection device and its acquisition method based on OBD system
CN204578789U (en) Low-power consumption car networked terminals equipment
CN112767043B (en) Multi-platform integration system, method and storage medium based on blockchain
CN101694578B (en) Bridge monitoring system based on software bus platform
CN112907911A (en) Intelligent anomaly identification and alarm algorithm based on equipment process data
CN109190424B (en) Electronic tag data acquisition system and method
CN101231523B (en) Control system and method for sensibility charge
CN116192906A (en) Industrial park comprehensive energy digital monitoring method based on cloud edge end cooperation
CN206149293U (en) Data communication companion towards battery management system
CN109543860A (en) A kind of boiler for Design of Intelligent Workshop quickly reports method and device for repairment
KR102472585B1 (en) Big data-based modular AI engine server and driving method of the same
CN118202309A (en) Method for operating a device in an IoT system
CN112445622B (en) Terminal data transmission method, device, equipment and medium based on gateway box
CN205051693U (en) Portable bluetooth diagnostic equipment based on OBD system
CN102623728A (en) Application structure of human machine interface in fuel cell system on basis of CAN (Controller Area Network) bus
CN203180973U (en) Application structure based on wireless network fuel cell monitoring and data transmission system
CN202523798U (en) Application structure of CAN (Controller Area Network) bus-based human-computer interface to fuel cell system

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