CN107846419A - A kind of transmission method and system of vehicle motor OBD data - Google Patents
- ️Tue Mar 27 2018
CN107846419A - A kind of transmission method and system of vehicle motor OBD data - Google Patents
A kind of transmission method and system of vehicle motor OBD data Download PDFInfo
-
Publication number
- CN107846419A CN107846419A CN201711365495.8A CN201711365495A CN107846419A CN 107846419 A CN107846419 A CN 107846419A CN 201711365495 A CN201711365495 A CN 201711365495A CN 107846419 A CN107846419 A CN 107846419A Authority
- CN
- China Prior art keywords
- protocol
- data
- vehicle
- obd
- ecu Prior art date
- 2017-12-18 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
The invention provides a kind of transmission method of vehicle motor OBD data, for the technical problem for the OBD data for solving that Engine ECU can not be transmitted caused by different ECU uses different agreements.
Description
Technical field
The present invention relates to vehicle OBD field of data transmission, more particularly, to a kind of biography of vehicle motor OBD data Transmission method and system.
Background technology
At present when transmitting OBD data, it is transmitted generally by ELM327 methods, this method is retrieved in order to be worked as The general several agreements of preceding in the market, then global broadcast request, which agreement vehicle, which replys, is just given tacit consent to and is carried out using the agreement Communication transfer OBD data, are decoded further according to ISO15031-5.
This method most vehicle can normal use, but due to the update of Some vehicles, its Tens internal ECU may use various protocols, such as, Engine ECU uses CAN protocol, and remaining ECU uses K Wire protocol, if using J1850->K->A kind of CAN order goes to retrieve this several agreement, then the Data Transport Protocol of vehicle K wire protocols will be identified as, lead to not the OBD data of request transmission Engine ECU.
The content of the invention
To solve, prior art is existing can not to transmit hair to the present invention caused by different ECU uses different agreements A kind of the defects of motivation ECU OBD data, there is provided transmission method of vehicle motor OBD data.
To realize above goal of the invention, the technical scheme of use is:
A kind of transmission method of vehicle motor OBD data, includes following steps:
S1. after vehicle launch, data application module initiates data transfer request to protocol identification control module;
S2. after protocol identification control module receives data transfer request, broadcast mode is enabled, in order to the ECU in vehicle Using to agreement scan for;Then the protocol type searched is transmitted to protocol-driven module;Protocol identification controls mould Block transmits data transfer request to protocol-driven module;
S3. i-th kind of agreement that data transfer request searches according to protocol identification control module is carried out group by protocol-driven module Bag, then by the data transfer after group bag to signaling conversion circuit, signaling conversion circuit is used to convert the data into corresponding electricity Ordinary mail number;I initial value is 1;
S4. level signal passes through the vehicle OBD oral instructions ECU that transport in vehicle, and ECU is received after level signal to vehicle OBD mouths Make corresponding return information;
S5. signaling conversion circuit transmits return information to protocol-driven module, protocol-driven module after receiving return information After carrying out data separating to return information, by the data transfer after separation to protocol identification control module, protocol identification control mould Root tuber judges whether return information is sent by Engine ECU according to the data after separation, if then the ECU is marked, And set point-to-point physical addressing request method and establish connection with Engine ECU, the connection for being then based on establishing is started The transmission of machine OBD data, after protocol identification control module receives engine OBD data, by engine OBD data transfers to number According to application module;If return information is not sent by Engine ECU, i=i+1 is made, then performs step S3, until i number Value is more than the quantity for the agreement that protocol identification control module searches.
Preferably, the protocol type includes CAN protocol, K wire protocols.
Preferably, the data application module, protocol identification control module, protocol-driven module are integrated in MCU.
Meanwhile present invention also offers a kind of system using above method, its specific scheme are as follows:Should including data With the ECU of module, protocol identification control module, protocol-driven module, signaling conversion circuit, vehicle OBD mouths and vehicle.
Compared with prior art, the beneficial effects of the invention are as follows:
1)The present invention by judging whether return information is that the data filtering by non-engine sent by Engine ECU falls, Simultaneously when judging return information is sent by Engine ECU, can by group wrap data transfer request protocol type come The OBD underlying protocols that present engine ECU is used are recognized accurately, so as to obtain complete engine OBD data.
2)The present invention uses broadcast request and point-to-point request method, first identifies all supports using broadcast request mode The vehicle ECU of OBD functions, after finding out Engine ECU, then point-to-point mode is switched to, is only communicated with Engine ECU, other Non- Engine ECU need not then send data respond request, alleviate the workload of non-engine, while it is total to also mitigate vehicle The load of line, reduce other systems interference and remind, request end decreases the filtering of data.
Brief description of the drawings
Fig. 1 is the structural representation of the part involved by method.
Embodiment
Accompanying drawing being given for example only property explanation, it is impossible to be interpreted as the limitation to this patent;
Below in conjunction with drawings and examples, the present invention is further elaborated.
Embodiment 1
As shown in figure 1, the method mentioned by the present invention is related to following part:Data application module, protocol identification control mould Block, protocol-driven module, signaling conversion circuit, the ECU of vehicle OBD mouths and vehicle.
Wherein, data application module, protocol identification control module, protocol-driven module are integrated in MCU, are changed with signal Circuit forms bus module together.
On the basis of more than, method provided by the present invention includes following steps:
S1. after vehicle launch, data application module initiates data transfer request to protocol identification control module;
S2. after protocol identification control module receives data transfer request, broadcast mode is enabled, in order to the ECU in vehicle Using to agreement scan for;Then the protocol type searched is transmitted to protocol-driven module;Protocol identification controls mould Block transmits data transfer request to protocol-driven module;
S3. i-th kind of agreement that data transfer request searches according to protocol identification control module is carried out group by protocol-driven module Bag, then by the data transfer after group bag to signaling conversion circuit, signaling conversion circuit is used to convert the data into corresponding electricity Ordinary mail number;I initial value is 1;
S4. level signal passes through the vehicle OBD oral instructions ECU that transport in vehicle, and ECU is received after level signal to vehicle OBD mouths Make corresponding return information;
S5. signaling conversion circuit transmits return information to protocol-driven module, protocol-driven module after receiving return information After carrying out data separating to return information, by the data transfer after separation to protocol identification control module, protocol identification control mould Root tuber judges whether return information is sent by Engine ECU according to the data after separation, if then the ECU is marked, And set point-to-point physical addressing request method and establish connection with Engine ECU, the connection for being then based on establishing is started The transmission of machine OBD data, after protocol identification control module receives engine OBD data, by engine OBD data transfers to number According to application module;If return information is not sent by Engine ECU, i=i+1 is made, then performs step S3, until i number Value is more than the quantity for the agreement that protocol identification control module searches.
Obviously, the above embodiment of the present invention is only intended to clearly illustrate example of the present invention, and is not pair The restriction of embodiments of the present invention.For those of ordinary skill in the field, may be used also on the basis of the above description To make other changes in different forms.There is no necessity and possibility to exhaust all the enbodiments.It is all this All any modification, equivalent and improvement made within the spirit and principle of invention etc., should be included in the claims in the present invention Protection domain within.
Claims (4)
-
A kind of 1. transmission method of vehicle motor OBD data, it is characterised in that:Include following steps:
S1. after vehicle launch, data application module initiates data transfer request to protocol identification control module;
S2. after protocol identification control module receives data transfer request, broadcast mode is enabled, in order to the ECU in vehicle Using to agreement scan for;Then the protocol type searched is transmitted to protocol-driven module;Protocol identification controls mould Block transmits data transfer request to protocol-driven module;
S3. i-th kind of agreement that data transfer request searches according to protocol identification control module is carried out group by protocol-driven module Bag, then by the data transfer after group bag to signaling conversion circuit, signaling conversion circuit is used to convert the data into corresponding electricity Ordinary mail number;I initial value is 1;
S4. level signal passes through the vehicle OBD oral instructions ECU that transport in vehicle, and ECU is received after level signal to vehicle OBD mouths Make corresponding return information;
S5. signaling conversion circuit transmits return information to protocol-driven module, protocol-driven module after receiving return information After carrying out data separating to return information, by the data transfer after separation to protocol identification control module, protocol identification control mould Root tuber judges whether return information is sent by Engine ECU according to the data after separation, if then the ECU is marked, And set point-to-point physical addressing request method and establish connection with Engine ECU, the connection for being then based on establishing is started The transmission of machine OBD data, after protocol identification control module receives engine OBD data, by engine OBD data transfers to number According to application module;If return information is not sent by Engine ECU, i=i+1 is made, then performs step S3, until i number Value is more than the quantity for the agreement that protocol identification control module searches.
-
2. the transmission method of vehicle motor OBD data according to claim 1, it is characterised in that:The protocol type Including CAN protocol, K wire protocols.
-
3. the transmission method of vehicle motor OBD data according to claim 1, it is characterised in that:The data application Module, protocol identification control module, protocol-driven module are integrated in MCU.
-
A kind of 4. system according to any one of claim 1 ~ 3 transmission method, it is characterised in that:Including data application mould Block, protocol identification control module, protocol-driven module, signaling conversion circuit, the ECU of vehicle OBD mouths and vehicle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365495.8A CN107846419B (en) | 2017-12-18 | 2017-12-18 | Method and system for transmitting OBD data of vehicle engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365495.8A CN107846419B (en) | 2017-12-18 | 2017-12-18 | Method and system for transmitting OBD data of vehicle engine |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107846419A true CN107846419A (en) | 2018-03-27 |
CN107846419B CN107846419B (en) | 2020-11-24 |
Family
ID=61664960
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711365495.8A Active CN107846419B (en) | 2017-12-18 | 2017-12-18 | Method and system for transmitting OBD data of vehicle engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107846419B (en) |
Cited By (4)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110926481A (en) * | 2019-12-03 | 2020-03-27 | 华安鑫创控股(北京)股份有限公司 | Vehicle positioning navigation method and device thereof |
CN112073500A (en) * | 2020-08-31 | 2020-12-11 | 安徽江淮汽车集团股份有限公司 | Vehicle controller upgrading method, device, storage medium and device |
CN112799375A (en) * | 2020-12-25 | 2021-05-14 | 安徽工业大学 | A vehicle bus detection system and method |
CN118823898A (en) * | 2024-06-20 | 2024-10-22 | 克慕勒(天津)汽车有限公司 | An intelligent management system for vehicle rear compartment modification |
Citations (7)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638562A (en) * | 2012-02-01 | 2012-08-15 | 浙江大学 | Vehicle-mounted terminal communication method applied to engineering machinery vehicle networking |
CN103020865A (en) * | 2012-11-23 | 2013-04-03 | 深圳市元征科技股份有限公司 | Automotive engine individually-customized system and method |
CN203365143U (en) * | 2013-05-17 | 2013-12-25 | 绵阳新晨动力机械有限公司 | Hand-held vehicle failure diagnosis system |
CN104020851A (en) * | 2014-06-17 | 2014-09-03 | 安徽猎豹汽车有限公司 | Input device and method for vehicle information codes |
US20150113638A1 (en) * | 2013-10-23 | 2015-04-23 | Christopher Valasek | Electronic system for detecting and preventing compromise of vehicle electrical and control systems |
CN105604664A (en) * | 2015-12-23 | 2016-05-25 | 北京工业大学 | Vehicle emission remote monitoring system based on OBD (on-board diagnostics) detection data |
CN105892356A (en) * | 2016-03-31 | 2016-08-24 | 大连楼兰科技股份有限公司 | OBD device identification method and system based on data request type |
-
2017
- 2017-12-18 CN CN201711365495.8A patent/CN107846419B/en active Active
Patent Citations (7)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638562A (en) * | 2012-02-01 | 2012-08-15 | 浙江大学 | Vehicle-mounted terminal communication method applied to engineering machinery vehicle networking |
CN103020865A (en) * | 2012-11-23 | 2013-04-03 | 深圳市元征科技股份有限公司 | Automotive engine individually-customized system and method |
CN203365143U (en) * | 2013-05-17 | 2013-12-25 | 绵阳新晨动力机械有限公司 | Hand-held vehicle failure diagnosis system |
US20150113638A1 (en) * | 2013-10-23 | 2015-04-23 | Christopher Valasek | Electronic system for detecting and preventing compromise of vehicle electrical and control systems |
CN104020851A (en) * | 2014-06-17 | 2014-09-03 | 安徽猎豹汽车有限公司 | Input device and method for vehicle information codes |
CN105604664A (en) * | 2015-12-23 | 2016-05-25 | 北京工业大学 | Vehicle emission remote monitoring system based on OBD (on-board diagnostics) detection data |
CN105892356A (en) * | 2016-03-31 | 2016-08-24 | 大连楼兰科技股份有限公司 | OBD device identification method and system based on data request type |
Cited By (5)
* Cited by examiner, † Cited by third partyPublication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110926481A (en) * | 2019-12-03 | 2020-03-27 | 华安鑫创控股(北京)股份有限公司 | Vehicle positioning navigation method and device thereof |
CN112073500A (en) * | 2020-08-31 | 2020-12-11 | 安徽江淮汽车集团股份有限公司 | Vehicle controller upgrading method, device, storage medium and device |
CN112799375A (en) * | 2020-12-25 | 2021-05-14 | 安徽工业大学 | A vehicle bus detection system and method |
CN112799375B (en) * | 2020-12-25 | 2021-12-10 | 安徽工业大学 | A vehicle bus detection system and method |
CN118823898A (en) * | 2024-06-20 | 2024-10-22 | 克慕勒(天津)汽车有限公司 | An intelligent management system for vehicle rear compartment modification |
Also Published As
Publication number | Publication date |
---|---|
CN107846419B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107846419A (en) | 2018-03-27 | A kind of transmission method and system of vehicle motor OBD data |
JP5709055B2 (en) | 2015-04-30 | Electronic control device for vehicle |
JP6471739B2 (en) | 2019-02-20 | In-vehicle communication system |
KR100946991B1 (en) | 2010-03-10 | Vehicle gateway, vehicle network interface device and method |
CN102346477A (en) | 2012-02-08 | Analysis method and equipment for fault diagnosis communication protocol on basis of automotive open system architecture (AUTOSAR) |
WO2018196655A1 (en) | 2018-11-01 | Public network communication method for on-board electronic processing unit system |
CN101000711A (en) | 2007-07-18 | Remote gathering system and method for vehicle CAN bus data |
CN106200567A (en) | 2016-12-07 | Improve CAN communication method and the data frame structure of traffic rate |
CN108860218B (en) | 2021-02-23 | Train health state information monitoring wireless gateway device and working method thereof |
JP4111674B2 (en) | 2008-07-02 | Communication gateway device |
CN104079650B (en) | 2018-03-30 | A kind of car networking information service system and method based on vehicle intelligent gateway device |
CN106528486A (en) | 2017-03-22 | Method for exchanging serial port data |
CN115474107A (en) | 2022-12-13 | Intelligent electric energy meter communication method and device, equipment and storage medium |
CN103558780B (en) | 2016-02-10 | A kind of automobile mounted bus controller |
CN208094575U (en) | 2018-11-13 | A kind of LIN buses and more CAN bus communication gates |
CN103809552A (en) | 2014-05-21 | LIN communication system for vehicle and method for driving slave module |
JP2007036907A (en) | 2007-02-08 | Gateway apparatus |
JP2000513516A (en) | 2000-10-10 | Multiplex communication interface circuit and method |
CN110430548A (en) | 2019-11-08 | Data reissue method, apparatus, collector and storage medium |
CN105391666B (en) | 2018-09-25 | Multi-service bus transmission system and transmission method based on FSK modulation demodulation |
CN106506252A (en) | 2017-03-15 | Compliance test apparatus and method for communication node |
CN111431949B (en) | 2023-10-31 | Control method and device for shared vehicle |
CN101667951A (en) | 2010-03-10 | Network device and data transmission method thereof |
CN201278555Y (en) | 2009-07-22 | Mobile terminal with CAN bus monitoring node |
JPH11163907A (en) | 1999-06-18 | Vehicle multiplex transmission equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
2018-03-27 | PB01 | Publication | |
2018-03-27 | PB01 | Publication | |
2018-04-20 | SE01 | Entry into force of request for substantive examination | |
2018-04-20 | SE01 | Entry into force of request for substantive examination | |
2020-11-24 | GR01 | Patent grant | |
2020-11-24 | GR01 | Patent grant | |
2023-01-06 | TR01 | Transfer of patent right | |
2023-01-06 | TR01 | Transfer of patent right |
Effective date of registration: 20221223 Address after: 510630 Room 101, No. 227, Gaotang Road, Tianhe District, Guangzhou City, Guangdong Province (Location: Room 601) (office only) Patentee after: Yamei Zhilian Data Technology Co.,Ltd. Address before: 510630 ABCDEFG, Room 601, No.1 Hanjing Road, Tianhe District, Guangzhou City, Guangdong Province Patentee before: GUANGZHOU YAME INFORMATION TECHNOLOGY Co.,Ltd. |