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 PDF

Info

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
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
Application number
CN201711365495.8A
Other languages
Chinese (zh)
Other versions
CN107846419B (en
Inventor
温煦
黎尧文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yamei Zhilian Data Technology Co ltd
Original Assignee
Guangzhou Yamei Information Science & 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 Guangzhou Yamei Information Science & Technology Co Ltd filed Critical Guangzhou Yamei Information Science & Technology Co Ltd
Priority to CN201711365495.8A priority Critical patent/CN107846419B/en
Publication of CN107846419A publication Critical patent/CN107846419A/en
Application granted granted Critical
Publication of CN107846419B publication Critical patent/CN107846419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion

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

A kind of transmission method and system of vehicle motor OBD data
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)

  1. 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. 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. 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.
  4. 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.
CN201711365495.8A 2017-12-18 2017-12-18 Method and system for transmitting OBD data of vehicle engine Active CN107846419B (en)

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 (3)

* Cited by examiner, † Cited by third party
Publication 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 安徽工业大学 Vehicle-mounted bus detection system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication 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 types

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication 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 types

Cited By (4)

* Cited by examiner, † Cited by third party
Publication 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 安徽工业大学 Vehicle-mounted bus detection system and method
CN112799375B (en) * 2020-12-25 2021-12-10 安徽工业大学 Vehicle-mounted bus detection system and method

Also Published As

Publication number Publication date
CN107846419B (en) 2020-11-24

Similar Documents

Publication Publication Date Title
US9768979B2 (en) Can communication method and data frame structure for improving communication speed through increase in data amount
JP5709055B2 (en) Electronic control device for vehicle
CN107846419A (en) A kind of transmission method and system of vehicle motor OBD data
JP6471739B2 (en) In-vehicle communication system
CN106656705B (en) Vehicle-mounted MOST/CAN security gateway and intrusion detection method thereof
CN101000711A (en) Remote gathering system and method for vehicle CAN bus data
CN110083088A (en) Signal controls conversion equipment and signal controls conversion method
WO2018196655A1 (en) Public network communication method for on-board electronic processing unit system
CN103901823B (en) Mounted remote terminal
CN108860218B (en) Train health state information monitoring wireless gateway device and working method thereof
JP2007036907A (en) Gateway apparatus
JP4111674B2 (en) Communication gateway device
CN114422289B (en) Method and device for transmitting CAN message of electric automobile
CN106528486A (en) Method for exchanging serial port data
CN108605007A (en) Relay
CN115474107A (en) Intelligent electric energy meter communication method and device, equipment and storage medium
KR101958477B1 (en) Lin communication system for vehicle and method for driving slave module in the system
JP2000513516A (en) Multiplex communication interface circuit and method
CN102681969B (en) Based on the long frame data transmission method of CAN
CN110531676A (en) Vehicle carried data collecting method, system and terminal
CN208015752U (en) A kind of automobile gateway, vehicle netbios and automobile
CN105391666B (en) Multi-service bus transmission system and transmission method based on FSK modulation demodulation
CN113886316A (en) Data communication method and related device, equipment, system and storage medium
CN106506252A (en) Compliance test apparatus and method for communication node
CN109039375A (en) A kind of vehicle-mounted ethernet line polarity upset detection device and method

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
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.