CN111694346A - OBD universal protocol converter - Google Patents
OBD universal protocol converter Download PDFInfo
- Publication number
- CN111694346A CN111694346A CN202010587543.3A CN202010587543A CN111694346A CN 111694346 A CN111694346 A CN 111694346A CN 202010587543 A CN202010587543 A CN 202010587543A CN 111694346 A CN111694346 A CN 111694346A
- Authority
- CN
- China
- Prior art keywords
- obd
- controller
- communication module
- main control
- instruction
- 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
Links
- 238000004891 communication Methods 0.000 claims abstract description 65
- 238000012360 testing method Methods 0.000 claims abstract description 31
- 238000006243 chemical reaction Methods 0.000 claims abstract description 23
- 238000002405 diagnostic procedure Methods 0.000 claims abstract description 9
- 238000003745 diagnosis Methods 0.000 claims description 11
- 239000003990 capacitor Substances 0.000 claims description 8
- 238000012545 processing Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 5
- 238000000034 method Methods 0.000 claims description 5
- 230000006641 stabilisation Effects 0.000 claims description 5
- 238000011105 stabilization Methods 0.000 claims description 5
- 238000005070 sampling Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000000694 effects Effects 0.000 claims description 2
- 238000011161 development Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 210000001503 joint Anatomy 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007717 exclusion Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric 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/0213—Modular 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Communication Control (AREA)
Abstract
The invention discloses an OBD (on-board diagnostics) universal protocol converter, which comprises a power supply module, a K-line data communication module, a main control module and a CAN (controller area network) data communication module, supports various ECUs (electronic control units) related to vehicle type emission of a whole system, CAN complete functions of protocol conversion, diagnostic test and the like on a controller, is convenient for product designers to complete the protocol conversion on the ECUs as required, quickly completes various test works on the ECUs, and improves the development efficiency of the ECUs.
Description
The technical field is as follows:
the invention belongs to the fields of automobile diagnosis, emission protocols and in-vehicle communication, and particularly relates to an OBD (on-board diagnostics) universal protocol converter.
Background art:
with the rapid development of automobile electronic communication technology and the continuous upgrade of national emission standard requirements, the diagnosis requirements of various emission-related ECUs (electronic control units) are increasing day by day, and higher requirements are provided for the design cooperation and the diagnosis testing capability of the emission-related ECUs in the whole automobile factory.
In order to meet the requirements of different diagnostic protocols of various emission-related ECUs of existing vehicle types and newly developed vehicle types, an OBD universal protocol converter is urgently needed, various emission-related ECUs of full-range vehicle types are supported, functions such as conversion of controller diagnostic protocols and diagnostic tests can be completed, product designers can conveniently and quickly complete diagnostic test work on the emission-related ECUs as required, and development efficiency is improved.
The information disclosed in this background section is only for enhancement of understanding of the general background of the invention and should not be taken as an acknowledgement or any form of suggestion that this information forms the prior art already known to a person skilled in the art.
The invention content is as follows:
the object of the present invention is to provide an OBD generic protocol converter, which overcomes the above-mentioned drawbacks of the existing generic protocol conversion techniques.
To achieve the above object, the present invention provides an OBD universal protocol converter, comprising:
the power supply module is mainly used for supplying power to the main controller module, the CAN data communication module and the K-line data communication module by acquiring a power supply of an OBD interface of the vehicle and performing voltage stabilization and conversion processing;
the K-Line data communication module is mainly responsible for carrying out data communication of a K-Line protocol with a controller of a vehicle through a K Line;
the main control module and the embedded control software are the core of the universal protocol converter, are mainly used for taking charge of the operation, data processing and data flow control of the diagnostic instrument, and comprise the analysis of communication instructions of the test equipment, the analysis and the conversion of original messages interacted with the slave vehicle controller, and the data is replied to the test equipment;
and the CAN data communication module is connected with the vehicle controller or the test equipment through a CAN bus by using an OBD fault diagnosis international standard communication protocol, and interacts various information with the vehicle controller or the test equipment according to the instruction of the main control module.
The present automotive electronics communication technology develops fast, the complexity that the vehicle used ECU increases gradually, the diagnostic protocol and the communication mode that use also continuously update, and the country is also continuously updating to emission standard's requirement, this diagnostic protocol and the communication mode that just makes emission relevant ECU are various, diagnostic test work for whole car development designer causes very big puzzlement, therefore need develop a section and discharge relevant OBD universal protocol converter, support all system motorcycle types and discharge relevant various ECU, can accomplish the protocol conversion to the controller, functions such as diagnostic test, make things convenient for product designer to accomplish the protocol conversion to ECU as required, accomplish various test work to ECU fast, improve ECU's development efficiency.
Preferably, in the above technical solution, the CAN data communication module supports ISO15031, ISO 14230, ISO15765, ISO14229 or other national standard communication protocols.
Preferably, in the above technical solution, the power supply monitoring circuit specifically includes: a DC-DC conversion circuit is formed through the MC34063, and a pin 1 of the MC34063 is a collector interface of a switching tube; leg 2 of MC 34063: a switch tube emitter interface; leg 3 of MC 34063: a timing capacitive interface; 4 feet of MC 34063: a ground terminal; 5 feet of MC 34063: the comparator inverting input end outputs a voltage sampling end; 6 feet of MC 34063: a power supply Vcc interface; 7-foot of MC 34063: IPK detection is a load peak current sampling end; pin 8 of MC 34063: the driving tube collector interface.
Preferably, in the above technical solution, the pin 5 of the MC34063 chip monitors the output voltage through external resistors R2 and R3; the calculation formula of the output voltage is Uo=1.25(1+ R2/R1) relating only to the resistance of R2, R3;
the internal reference voltage is constant and unchanged at 1.25V, when the output voltage is lower than the reference voltage, the output of the comparator is jump voltage, the S pin of the trigger is high level, when the oscillator charges the capacitor, the R pin is high level, so that the Q end of the trigger is high level, the output switch tube is switched on, and then the input voltage Ui charges the capacitor Co of the output filter to improve the output voltage UoTo achieve the automatic control of UoThe effect of stabilization;
when the voltage U is output. When the voltage is higher than the reference voltage, the pin S of the trigger is at a low level, the end Q of the trigger is at a low level, so that the driving tube T2 is cut off, and the switching tube T1 is cut off;
the pin 7 of the MC34063 chip is an IPK detection end and is used for monitoring the peak current of T1, so that the purpose of controlling the high and low levels of the Q end of the trigger is achieved;
the pin 3 of the MC34063 chip is a timing capacitor interface, is externally connected with a timing capacitor, and can adjust the frequency of an oscillator so as to determine the conduction time of T1.
An OBD universal protocol conversion method is carried out according to the following steps:
and 6, after receiving the feedback message of the vehicle controller, the main controller performs conversion processing and replies the converted feedback message to the test equipment through the CAN data transmission communication module.
Compared with the prior art, the invention has the following beneficial effects:
1) the conversion among different diagnostic protocols is automatically realized, and great convenience is provided for the whole vehicle emission related diagnostic test work;
2) the CAN-K conversion is automatically detected and realized, and multiple functions of one tool are realized.
Description of the drawings:
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a schematic flow chart of the present invention;
FIG. 3 is a schematic diagram of a power monitoring circuit;
FIG. 4 is a circuit diagram of a main control module;
FIG. 5 is a schematic diagram of a data communication circuit;
FIG. 6 is a schematic diagram of a data communication circuit.
The specific implementation mode is as follows:
the following detailed description of specific embodiments of the invention is provided, but it should be understood that the scope of the invention is not limited to the specific embodiments.
Throughout the specification and claims, unless explicitly stated otherwise, the word "comprise", or variations such as "comprises" or "comprising", will be understood to imply the inclusion of a stated element or component but not the exclusion of any other element or component.
The structure of the OBD universal protocol converter disclosed in this embodiment is shown in fig. 1, and includes a power module, a K-line data communication module, a main control module, and a CAN data communication module.
Wherein, the power module is mainly responsible for supplying power to other modules, and supplies power to the main controller module, the CAN data communication module and the K-line data communication module by obtaining the power of the OBD interface of the vehicle and carrying out voltage stabilization and conversion treatment, and the specific realization circuit is shown as figure 3,
the CAN data communication module is connected with a vehicle controller or test equipment through a CAN bus by using an OBD fault diagnosis international standard communication protocol, interacts various information with the vehicle controller or the test equipment according to an instruction of the main control module, supports various communication protocols such as ISO15031, ISO 14230, ISO15765 and ISO14229, and is specifically implemented as a circuit shown in figure 5.
And the K-Line data communication module is mainly responsible for carrying out data communication of a K-Line protocol with a controller of the vehicle through a K Line. The specific implementation circuit is shown in fig. 6.
The main control module and the embedded control software are the core of the universal protocol converter and are responsible for the operation, data processing and data flow control of the diagnostic instrument, including the analysis of communication instructions of the test equipment, the analysis and conversion of the original messages interacted with the slave vehicle controller, and the data is replied to the test equipment, and the specific implementation circuit is shown in fig. 4.
As shown in fig. 2, the work flow of the OBD universal protocol converter in this patent is: after the OBD universal protocol converter is connected with an OBD interface of a vehicle and is electrified and initialized, the main control module starts to monitor a connection instruction of the test equipment through the CAN communication module; after receiving the command, the main control module analyzes the command and controls the K-Line or CAN data communication module to communicate with the controller according to the type of the controller; the main control module judges whether the connection with the controller can be established or not according to the communication condition, and if the connection cannot be established, the main control module replies an instruction that the test equipment cannot be connected;
if the communication can be established, replying the instruction established by the test connection, and monitoring the instructions of the diagnostic test and the like of the test equipment; after receiving the command, the main control module analyzes and converts the diagnosis command, and controls the K-Line or CAN data communication module to send a relevant message to the vehicle controller; after receiving the feedback message of the vehicle controller, the main controller performs conversion processing and then replies the converted message to the test equipment through the CAN data transmission communication module.
The invention is already implemented on a jump series 32 vehicle type and a 469 gasoline engine vehicle type, and the technical scheme of the invention is described by taking the 469 gasoline engine vehicle type as an example.
469 the gasoline engine is an earlier developed engine, has adopted the low-speed K-LINE communication, follows the five national emission standards, namely adopt the diagnostic protocol of KWP2000, and for most instruments of the car host factory or emission detection station at present, the main communication mode is mainly CAN, adopts the diagnostic protocol of ISO15031 standard, and this needs to carry on the seamless butt joint between two kinds of communication modes, diagnostic protocol.
When the diagnosis test work is carried out, the diagnosis instrument sends a connection instruction to the OBD universal protocol converter through CAN communication; after receiving the instruction, the converter main control module analyzes the instruction and determines the conversion requirement. Then starting K-CAN communication mode conversion, automatically converting CAN instructions of the diagnostic instrument into K instructions and transmitting the K instructions to the relevant emission ECU; and meanwhile, the diagnostic protocol is automatically converted according to the requirement, so that the diagnostic protocol of ISO15031 is converted into the diagnostic protocol of KWP 2000.
On the other hand, after receiving the feedback of the ECU, the K response is converted into the CAN response, the response in the KWP2000 format is converted into the response in the ISO15031 standard format, and the response is sent to the diagnostic instrument, so that the butt joint of different communication modes is realized.
The above description is only one application of the universal converter, and the controller can also convert between other international ISO universal diagnostic protocols.
The foregoing descriptions of specific exemplary embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the above teaching. The exemplary embodiments were chosen and described in order to explain certain principles of the invention and its practical application to enable one skilled in the art to make and use various exemplary embodiments of the invention and various alternatives and modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims and their equivalents.
Claims (5)
1. An OBD universal protocol converter, characterized by: the method comprises the following steps:
the power supply module is mainly used for supplying power to the main controller module, the CAN data communication module and the K-line data communication module by acquiring a power supply of an OBD interface of the vehicle and performing voltage stabilization and conversion processing;
the K-Line data communication module is mainly responsible for carrying out data communication of a K-Line protocol with a controller of a vehicle through a K Line;
the main control module and the embedded control software are the core of the universal protocol converter, are mainly used for taking charge of the operation, data processing and data flow control of the diagnostic instrument, and comprise the analysis of communication instructions of the test equipment, the analysis and the conversion of original messages received from the vehicle controller, and the data is replied to the test equipment;
and the CAN data communication module is connected with the vehicle controller or the test equipment through a CAN bus by using an OBD fault diagnosis international standard communication protocol, and interacts various information with the vehicle controller or the test equipment according to the instruction of the main control module.
2. The OBD universal protocol converter according to claim 1, wherein: the CAN data communication module supports ISO15031, ISO 14230, ISO15765, ISO14229 or other national standard communication protocols.
3. The OBD universal protocol converter according to claim 1, wherein: the power supply monitoring circuit specifically comprises: a DC-DC conversion circuit is formed through the MC34063, and a pin 1 of the MC34063 is a collector interface of a switching tube; leg 2 of MC 34063: a switch tube emitter interface; leg 3 of MC 34063: a timing capacitive interface; 4 feet of MC 34063: a ground terminal; 5 feet of MC 34063: the comparator inverting input end outputs a voltage sampling end; 6 feet of MC 34063: a power supply Vcc interface; 7-foot of MC 34063: IPK detection is a load peak current sampling end; pin 8 of MC 34063: the driving tube collector interface.
4. The OBD universal protocol converter according to claim 3, wherein: the 5 pins of the MC34063 chip monitor the output voltage through external resistors R2 and R3; the calculation formula of the output voltage is U0=1.25(1+ R3/R2) relating only to the resistance of R2, R3;
the internal reference voltage is constant and unchanged at 1.25V, when the output voltage is lower than the reference voltage, the comparator outputs jump voltage, the S pin of the trigger is at high level, when the oscillator charges the capacitor, the R pin is at high level, so that the Q end of the trigger is at high level, the output switch tube is switched on, and then the input voltage Ui charges the capacitor Co of the output filter to improve the output voltage UoTo achieve the automatic control of U0The effect of stabilization;
when outputting the voltage U0When the voltage is higher than the reference voltage, the pin S of the trigger is at a low level, the end Q of the trigger is at a low level, so that the driving tube T2 is cut off, and the switching tube T1 is cut off;
the pin 7 of the MC34063 chip is an IPK detection end and is used for monitoring the peak current of T1, so that the purpose of controlling the high and low levels of the Q end of the trigger is achieved;
the pin 3 of the MC34063 chip is a timing capacitor interface, is externally connected with a timing capacitor, and can adjust the frequency of an oscillator so as to determine the conduction time of T1.
5. An OBD universal protocol conversion method is characterized in that: the method comprises the following steps:
step 1, after an OBD universal protocol converter is connected with an OBD interface of a vehicle and is electrified and initialized, a main control module starts to monitor a connection instruction of a test device through a CAN communication module;
step 2, after the CAN communication module receives the instruction, the main control module analyzes the instruction, and then controls the K-Line or CAN data communication module to communicate with the controller according to the type of the controller;
step 3, the main control module judges whether the connection with the controller can be established or not according to the communication condition, if the connection cannot be established, the main control module replies an instruction that the test equipment cannot be connected and reports an error or repeats the step 1, and if the communication can be established, the step 4 is entered;
step 4, if the communication can be established, the main control module replies the established instruction of the test connection and monitors the instructions of the diagnostic test and the like of the test equipment;
step 5, after receiving the instruction, the main control module analyzes and converts the diagnosis instruction, and controls the K-Line or CAN data communication module to send a relevant message to the vehicle controller;
and 6, after receiving the feedback message of the vehicle controller, the main controller performs conversion processing and replies the converted feedback message to the test equipment through the CAN data transmission communication module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010587543.3A CN111694346A (en) | 2020-06-24 | 2020-06-24 | OBD universal protocol converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010587543.3A CN111694346A (en) | 2020-06-24 | 2020-06-24 | OBD universal protocol converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111694346A true CN111694346A (en) | 2020-09-22 |
Family
ID=72483197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010587543.3A Pending CN111694346A (en) | 2020-06-24 | 2020-06-24 | OBD universal protocol converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111694346A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115277764A (en) * | 2022-07-19 | 2022-11-01 | 岚图汽车科技有限公司 | Vehicle-mounted Ethernet physical layer conversion equipment and vehicle thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201656836U (en) * | 2010-03-24 | 2010-11-24 | 安徽圣泰太阳能科技有限责任公司 | Integrated solar AC and DC output power generator |
CN101929921A (en) * | 2009-06-22 | 2010-12-29 | 钟桢 | Vehicle failure detection method and device based on smart phone |
CN103095130A (en) * | 2011-10-31 | 2013-05-08 | 上海酷能微电子有限公司 | Integrated circuit chip based on complementary metal oxide semiconductor (CMOS) technology and used for converter control circuit |
CN204178233U (en) * | 2014-11-20 | 2015-02-25 | 麦特汽车服务股份有限公司 | A kind of automobile K line is to the diagnose interface conversion equipment of CAN line |
CN104731082A (en) * | 2015-01-27 | 2015-06-24 | 深圳市元征科技股份有限公司 | Interface conversion device and on-board diagnosis system |
CN205029558U (en) * | 2015-07-24 | 2016-02-10 | 厦门炬研电子科技有限公司 | Power voltage stabilizing circuit |
CN207207963U (en) * | 2017-08-14 | 2018-04-10 | 广州瑞修得信息科技有限公司 | A kind of general OBD diagnosis hardware circuits of independence |
CN109901558A (en) * | 2019-03-29 | 2019-06-18 | 南京汽车集团有限公司 | A kind of commercial vehicle intelligence engineering diagnostic equipment and its application method |
-
2020
- 2020-06-24 CN CN202010587543.3A patent/CN111694346A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101929921A (en) * | 2009-06-22 | 2010-12-29 | 钟桢 | Vehicle failure detection method and device based on smart phone |
CN201656836U (en) * | 2010-03-24 | 2010-11-24 | 安徽圣泰太阳能科技有限责任公司 | Integrated solar AC and DC output power generator |
CN103095130A (en) * | 2011-10-31 | 2013-05-08 | 上海酷能微电子有限公司 | Integrated circuit chip based on complementary metal oxide semiconductor (CMOS) technology and used for converter control circuit |
CN204178233U (en) * | 2014-11-20 | 2015-02-25 | 麦特汽车服务股份有限公司 | A kind of automobile K line is to the diagnose interface conversion equipment of CAN line |
CN104731082A (en) * | 2015-01-27 | 2015-06-24 | 深圳市元征科技股份有限公司 | Interface conversion device and on-board diagnosis system |
CN205029558U (en) * | 2015-07-24 | 2016-02-10 | 厦门炬研电子科技有限公司 | Power voltage stabilizing circuit |
CN207207963U (en) * | 2017-08-14 | 2018-04-10 | 广州瑞修得信息科技有限公司 | A kind of general OBD diagnosis hardware circuits of independence |
CN109901558A (en) * | 2019-03-29 | 2019-06-18 | 南京汽车集团有限公司 | A kind of commercial vehicle intelligence engineering diagnostic equipment and its application method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115277764A (en) * | 2022-07-19 | 2022-11-01 | 岚图汽车科技有限公司 | Vehicle-mounted Ethernet physical layer conversion equipment and vehicle thereof |
CN115277764B (en) * | 2022-07-19 | 2023-10-31 | 岚图汽车科技有限公司 | Vehicle-mounted Ethernet physical layer conversion equipment and vehicle thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107479525B (en) | Vehicle remote diagnosis system and its control method | |
CN112764410B (en) | Vehicle-mounted controller testing device, system and method | |
WO2022184069A1 (en) | Automobile bus fault analysis method, diagnosis device, and bus fault analysis system | |
KR20150011223A (en) | Apparatus and method for controlling of vehicle | |
CN111694346A (en) | OBD universal protocol converter | |
CN112763229A (en) | Bluetooth-based vehicle data monitoring method and device and vehicle | |
CN103268647A (en) | Remote driving data recorder and implementation method thereof | |
CN210324546U (en) | Wireless collector and control system comprising same | |
CN110365097B (en) | Remote control emergency power supply | |
CN215835419U (en) | Adaptive circuit and device based on OBD communication protocol | |
CN113965484B (en) | Automobile bus dormancy awakening bench test method and system | |
CN113341922B (en) | Domain controller fault diagnosis system based on LCM | |
CN113325820A (en) | Automobile body controller fault diagnosis system and diagnosis method | |
CN106004730A (en) | Automotive heterogeneous network convergence device and plug and play expanding method of automotive intelligent equipment based on same | |
CN214428201U (en) | Automobile ignition analog circuit | |
CN106951285B (en) | Updating device for memory | |
CN218917979U (en) | Sensor simulation test circuit and system | |
CN110632913A (en) | Vehicle state and electromagnetic field radiation data acquisition system and method based on LABVIEW | |
CN213750748U (en) | Automobile diagnosis system | |
CN116192711B (en) | Ethernet physical layer testing device, method and storage medium | |
CN219143445U (en) | Upgrading system of vehicle-mounted ECU (electronic control unit) | |
CN216848542U (en) | Pin signal monitoring device and pin signal monitoring circuit | |
CN212921405U (en) | Bus connection module | |
CN216486128U (en) | Diagnostic device with DOIP transceiving function | |
CN220566217U (en) | Be applied to testing arrangement of urea measuring pump |
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: 20200922 |