CN207216410U - A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern - Google Patents

A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern Download PDF

Info

Publication number
CN207216410U
CN207216410U CN201721010732.4U CN201721010732U CN207216410U CN 207216410 U CN207216410 U CN 207216410U CN 201721010732 U CN201721010732 U CN 201721010732U CN 207216410 U CN207216410 U CN 207216410U
Authority
CN
China
Prior art keywords
pin
resistance
circuit
chip
electric capacity
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.)
Active
Application number
CN201721010732.4U
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.)
Guangzhou Country's Mdt Infotech Ltd
Original Assignee
Guangzhou Country's Mdt Infotech 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 Country's Mdt Infotech Ltd filed Critical Guangzhou Country's Mdt Infotech Ltd
Priority to CN201721010732.4U priority Critical patent/CN207216410U/en
Application granted granted Critical
Publication of CN207216410U publication Critical patent/CN207216410U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

OBD diagnostic devices of the present utility model, including shell, and the OBD diagnosis hardware circuits in the shell are fixed on, it includes OBD joints, MCU circuits, K line drive circuits, electrification reset circuit, power circuit, CAN transceiver interface circuit, usb circuit, communication interface switching circuit, WIFI telecommunication circuits, OBD transmitting-receiving indicator light circuits and Surface Mount self- recoverage protective tube circuit.OBD diagnostic softwares and its related hardware are diagnosed in hardware and separated by the utility model from OBD, to being redesigned for OBD diagnosis hardware, greatly improve and simplify OBD diagnosis hardware, become a general unit of independence, it can match and use from different OBD diagnostic softwares, be advantageous to the standalone upgrade or maintenance of OBD diagnosis hardware.Further, the utility model can automatically switch the communication pattern between the host computer such as computer or mobile phone, as long as USB interface has power supply, just switch to USB connection modes, OBD interfaces have electricity and USB interface out of power, just start WIFI mode of operations.

Description

A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern
Technical field
It the utility model is related to a kind of automobile OBD diagnosis hardware, more particularly to a kind of OBD diagnosis hardware circuits.
Background technology
OBD is English On-Board Diagnostic abbreviation, and translator of Chinese is " onboard diagnostic system ".This system The operation conditions of the automobile components such as engine is monitored at any time, and operation information is stored in holder, and maintenance personal can pass through calculating The smart machine such as machine or mobile phone is read out with OBD diagnosis boxes to these operation informations, to analyze the operation conditions of automobile.
The hardware vendor of traditional OBD diagnosis hardware often diagnoses OBD soft to control the upgrading of OBD diagnostic softwares Part and its related hardware are bundled in OBD diagnosis hardware, OBD diagnosis hardware design not only are obtained into too fat to move complexity, and do not open and examine The autonomous upgrading ability of disconnected software, i.e., when OBD diagnostic softwares need standalone upgrade or safeguarded, it is necessary to it is hard to rely on OBD diagnosis The transformation and upgrading of part, OBD diagnosis hardware is bundled with particular diagnosis software, and freely can not be carried out with various diagnostic softwares Integrated matching uses, and the design and way of this software and hardware binding add the upgrade cost and purchase cost of user.
Secondly, the OBD diagnosis boxes that WIFI on the market communicates do not possess while the ability of compatible USB connections, limit Producer develops the alternative of diagnostic software.
3rd, when using WIFI connections, OBD diagnosis boxes need to be inserted on the OBD interfaces of automobile by vehicle power supply Be powered, but user can often run into vehicle OBD interface wire harness it is nonstandard, situation about not powering, directly result in OBD diagnosis Box is because the problem of out of power can not work.
Utility model content
Based on this, the purpose of this utility model is, there is provided a kind of OBD diagnosis hardware electricity of automatic switchover communication pattern Road.
Technical scheme is used by the utility model:
A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern, it is characterised in that including:
OBD joints, it includes K_LINE interfaces, CANH interfaces and CAN2H interfaces;
MCU circuits, it includes MCU chip;
K line drive circuits, changed for the Transistor-Transistor Logic level to the MCU chip and automobile power supply signal;The K lines Drive circuit electrically connects with the K_LINE interfaces of the OBD joints and the MCU chip respectively;
Electrification reset circuit, diagnosed for OBD in hardware power up, sending reset pulse resets MCU chip;It is described Electrification reset circuit electrically connects with power circuit and the MCU chip respectively;
Power circuit, including power supply sub-circuit and voltage conversion circuit, the power supply sub-circuit include outside vehicle power supply Circuit and usb communication line power circuit;The outside vehicle power circuit is used to carry out voltage conversion to outside vehicle power supply;Institute USB order wires power circuit is stated to be used for from usb communication line power taking;The voltage conversion circuit is used for power supply sub-circuit institute is defeated The power supply entered carries out voltage conversion, is powered for device;
CAN transceiver interface circuit, for single-ended signal to be converted into differential signal, its respectively with the MCU chip with And CANH interfaces and CAN2H the interfaces electrical connection of the OBD joints;
Usb circuit, for entering row data communication by usb communication line and host computer;The usb circuit difference Electrically connected with communication interface switching circuit and the MCU chip;
Communication interface switching circuit, usb communication pattern is switched to when usb communication line inserts for controlling, in usb communication Switch to WIFI communication patterns when line is not inserted into, the communication interface switching circuit respectively with WIFI telecommunication circuits and described MCU circuits electrically connect;
WIFI telecommunication circuits, for entering row data communication by WIFI and host computer;The WIFI telecommunication circuits respectively with The communication interface switching circuit and MCU chip electrical connection.
OBD of the present utility model diagnoses hardware circuit, and OBD diagnostic softwares and its related hardware are diagnosed in hardware from OBD Separated, to being redesigned for OBD diagnosis hardware, greatly improve and simplify OBD diagnosis hardware, become one The general unit of individual independence, integrated matching can be carried out from different OBD diagnostic softwares and is used, be advantageous to the only of OBD diagnosis hardware Liter level or maintenance, upgrading or maintenance with OBD diagnostic softwares separate, and are not limited by the OBD diagnostic softwares of particular vendor.Separately Outside, the utility model can automatically switch the communication pattern between the host computer such as computer or mobile phone, as long as USB interfaces have confession Electricity, just switches to USB connection modes, and OBD interfaces have electricity and USB interface out of power, just start WIFI mode of operations.
Further, the MCU circuits include the enabled circuit of MCU chip, clock circuit, electric source monitoring circuit, ISP;
The MCU chip is LPC2119/2194;
The clock circuit includes first crystal oscillator, the 7th resistance, the 16th electric capacity and the 17th electric capacity, and described The both ends of seven resistance electrically connect with XTAL1 the and XTAL2 pins of the MCU chip respectively, the first crystal oscillator with 7th resistor coupled in parallel, one end of the first crystal oscillator after the 17th capacitance series with being grounded, the first crystal The other end of oscillator after the 16th capacitance series with being grounded;
The electric source monitoring circuit includes the 19th resistance, the 20th resistance, the 21st resistance and the 15th electric capacity, institute State the 19th resistance oh one end connection power supply, its other end respectively with the 20th resistance and the 21st resistant series, second The other end of 11 resistance is P0.27_AD1 signal ends and electrically connected with the pin 11 of MCU chip, the other end of the 20th resistance Ground connection, the 15th electric capacity and the 20th resistor coupled in parallel;
The ISP, which enables circuit, includes 3rd resistor and first switch, and one end of the 3rd resistor is connected with power supply, its The other end is P0.14_DCD1 signal ends and electrically connected with the pin 41 of MCU chip, first switch electrical connection, the first switch The other end is grounded.
Further, the K line drive circuits include the 8th resistance, the 9th resistance, the tenth resistance, the 16th resistance, the 17 resistance, the 18th resistance, first comparator and the second comparator, the first comparator and the second comparator are LM393;One end of 8th resistance is connected with the power circuit, the inverting input electricity of its other end and first comparator Connection, the inverting input of the first comparator also concatenates with the 9th resistance is followed by ground;The first comparator it is same mutually defeated Enter end to electrically connect with the MCU chip, the output end of the first comparator and the K_LINE interfaces of the OBD joints are electrically connected Connect, and with the 16th resistant series;The other end of 16th resistance is connected with power supply;The one of 17th resistance End connection power supply, its other end electrically connects with the inverting input of second comparator, second comparator it is anti-phase defeated Enter end and the K_LINE for being followed by ground, the in-phase input end of second comparator and the OBD joints is also concatenated with the 18th resistance Interface electrically connects;The positive power signal end of second comparator is connected with power supply, its negative power signal end ground connection, its output end Electrically connected respectively with the tenth resistance and MCU chip, the other end of the tenth resistance is connected with the power circuit.
Further, the electrification reset circuit includes the 11st resistance, the 12nd resistance, the 13rd resistance, the 14th Resistance, the 15th resistance and reset chip, the reset chip are CAT1025JI28;The reset chip, itsPin with It is connected after 11st resistance concatenation with the power circuit,Pin is also connected with the WIFI telecommunication circuits, itsPin Electrically connect, and be connected after being concatenated with the 12nd resistance with the power circuit, its NC pin and the 13rd resistance with MCU chips It is grounded after concatenation, its GND pin ground connection, its VCC pin is connected with power circuit, and its SDL pin electrically connects with MCU chip, and Be connected after being concatenated with the 14th resistance with the power circuit, its SDA pin electrically connects with MCU chip, and with the 15th resistance It is connected after concatenation with the power circuit.
Further, the outside vehicle power circuit includes first voltage conversion chip, the first diode, the two or two pole Pipe, the 3rd diode, the first electric capacity, the second electric capacity, the 4th electric capacity, the 5th electric capacity, the 8th electric capacity, the 9th electric capacity, first resistor, Second resistance, 3rd resistor and the first inductance, the first voltage conversion chip are H33063A, and second diode is IN4007, the 3rd diode are IN5819;The positive pole connection vehicle power supply of second diode, its negative pole concatenation the 5th It is grounded after electric capacity, the 8th electric capacity and the first electric capacity are in parallel with the 5th electric capacity;The positive pole and the second diode of 8th electric capacity Negative pole connection, its negative pole ground connection;The positive pole of first electric capacity is connected with the negative pole of the second diode, its negative pole ground connection;Two or two The negative pole of pole pipe is also connected with the Vcc pins of first voltage conversion chip;The negative pole of second diode also concatenates with second resistance It is connected respectively with the Ipk pins, DRC pins and SWC pins of first voltage conversion chip afterwards;First voltage conversion chip After SWE pins concatenate with the first inductance, export vehicle conversion electric power VDD5 respectively and connect the positive pole of the second electric capacity;First Negative pole of the SWE pins of voltage conversion chip also with the 3rd diode is connected;The positive pole and the 9th capacitance connection of 3rd diode It is connected afterwards with the TC pins of first voltage conversion chip;The GND pin ground connection of first voltage conversion chip, its FB pin concatenation the It is grounded after three resistance;One end of first resistor connects the positive pole of the second electric capacity, other end concatenation 3rd resistor;The one of 4th electric capacity The positive pole of the second electric capacity of end connection, other end ground connection;The negative pole of first diode connects the positive pole of the second electric capacity, and its positive pole connects Ground.
Further, the power supply sub-circuit also includes external USB power circuit, and it is used to connect external USB power supply, its Including USB power supply connectors and the 3rd electrochemical capacitor;The a port ground connection of the USB power supply connectors, a port output are outside USB power source S5V, positive pole of the port also with the 3rd electrochemical capacitor are connected, the negative pole ground connection of the 3rd electrochemical capacitor;
The usb communication line power circuit, it includes usb communication joint, and a port of the usb communication joint connects Ground, two ports electrically connect with the usb circuit, another port output usb communication line power supply+5V;
The voltage conversion circuit, it includes 3.3V voltage conversion circuits and 1.8V voltage conversion circuits;
The 3.3V voltage conversion circuits include the 4th voltage conversion chip, the 4th diode, the 5th diode, the six or two Pole pipe and the second electrochemical capacitor, the 4th voltage conversion chip are AS1117-3.3;The usb communication line power supply+5V connections The positive pole of 4th diode, the positive pole of external USB power supply S5V connections the 5th diode, the vehicle conversion The positive pole of power vd D5 connections the 6th diode, the VIN pins of the 4th voltage conversion chip connect respectively the 4th diode, The negative pole of 5th diode and the 6th diode;The GND pin ground connection of 4th voltage conversion chip, the connection of two VOUT pin Output voltage VDD3V3 afterwards, VOUT pin are also connected with the positive pole of the second electrochemical capacitor, the negative pole ground connection of the second electrochemical capacitor;
The 1.8V voltage conversion circuits include second voltage conversion chip and the first electrochemical capacitor;The second voltage turns It is AS1117-1.8 to change chip, its VIN pin connection VDD3V3, its GND pin ground connection, is exported after the connection of two VOUT pin Voltage VDD1V8, VOUT pin is also connected with the positive pole of the first electrochemical capacitor, the negative pole ground connection of the first electrochemical capacitor.
By increasing external USB power circuit, OBD diagnosis hardware is set can not all to be powered in vehicle power supply and usb communication line When, still hardware can be diagnosed to OBD by circumscribed USB line and be powered, and the normal work under WIFI patterns.
Further, the CAN transceiver interface circuit includes the first CAN transceiver interface chip, the second CAN transceiver Interface chip, first resistor, the 24th resistance, the 26th resistance, the 27th resistance, the 13rd electric capacity and the 14th electricity Hold, the first CAN transceiver interface chip, the second CAN transceiver interface chip are SN65HVD234DR;
The first CAN transceiver interface chip, its RS pin concatenates with first resistor is followed by GND, its D pin with CAN_TD1 signal ends are connected, and its R pin is connected with CAN_RD1 signal ends, one end electricity of its CANH pin and the 26th resistance CANH interfaces after connection with the OBD joints are electrically connected, and its CANL pin is connected with the other end of the 26th resistance, its The one end of VCC pin respectively with power circuit, the 13rd electric capacity is connected, another termination GND of the 15th electric capacity, its GND pin Meet GND;
The second CAN transceiver interface chip, its RS pin concatenates with the 24th resistance is followed by GND, its D pin with CAN_TD2 signal ends are connected, and its R pin is connected with CAN_RD2 signal ends, one end electricity of its CANH pin and the 27th resistance CAN2H interfaces after connection with the OBD joints are electrically connected, and its CANL pin is connected with the other end of the 27th resistance, its The one end of VCC pin respectively with power circuit, the 14th electric capacity is connected, another termination GND of the 14th electric capacity, its GND pin Meet GND.
Further, the usb circuit turns serial port chip, signal protection chip, the 4th resistance, the 5th including USB Resistance, the 6th electric capacity, the 7th electric capacity, the tenth electric capacity, the first electrochemical capacitor, it is CP2104 that the USB, which turns serial port chip, the letter Number protection chip be SP0503BAHT;
The USB turns serial port chip, and two GND pin ground connection, its D+ pin connects D+ signal ends, and its D- pin meets D- Signal end, its VIO pin and VDD pins connect 3V3 signal ends, and its REGIN pin and VBUS pins connect power supply, itsDraw Pin concatenates the 5th resistance and is followed by 3V3 signal ends, itsPin is grounded after connecing the 4th resistance, its RXD pin and MCU core Piece electrically connects, and its TXD pin electrically connects with MCU chip;After first electrochemical capacitor is in parallel with the 7th electric capacity, its positive pole and electricity Source connects, its negative pole ground connection;After tenth electric capacity is in parallel with the 6th electric capacity, its positive pole is connected with 3V3 signal ends, its negative pole Ground connection;
The signal protection chip, its pin 1 are grounded, and its pin 2 connects power supply, and its pin 3 connects D- signal ends, its pin 4 Connect D+ signal ends.
Further, the communication interface switching circuit includes the first communication interface switching chip, the second communication interface is cut Change chip, the 23rd resistance and the 25th resistance, the first communication interface switching chip, the second communication interface switching core Piece is LC3157;
First communication interface switches chip, and its N1 pin is connected with the usb circuit, its N2 pin with it is described WIFI telecommunication circuits connect, electric with the 23rd resistance and the 25th respectively after its S pin is connected with USBPOW signal ends Resistance concatenation, another termination external power source of the 23rd resistance, the other end ground connection of the 25th resistance, its VDD pin and electricity Source is connected, and its COM pin is connected with MCU chip, and its GND pin meets GND;
Second communication interface switches chip, and its N1 pin is connected with the usb circuit, its N2 pin with it is described WIFI telecommunication circuits are connected, and its S pin is connected with USBPOW signal ends, and its VDD pin is connected with power supply, its COM pin and MCU chip connects, and its GND pin meets GND.
Further, the WIFI telecommunication circuits include WIFI communication chips, the 28th resistance, the 29th resistance, 18th electric capacity and WIFI firmware upgrade interfaces;The WIFI communication chips are ESP12F, and its RST pin is respectively with the 28th Resistance, the 18th capacitance connection, the other end of the 28th resistance are connected with power supply, the other end ground connection of the 18th electric capacity, its EN pins connect power supply, and its GPIO14 pin connects USBPOW signal ends, and its GPIO13 pin connects the communication interface switching circuit, Its VCC pin connects power supply, and its TXD pin and RXD pins connect WIFI firmware upgrade interfaces, its GPIO5 pin with it is described on reply by cable Position circuit connection, its GPIO4 pin are connected with MCU chip, and its GPIO15 pin is connected with the communication interface switching circuit, GPIO15 pins also concatenate with the 29th resistance is followed by ground, its GND pin ground connection.
In order to more fully understand and implement, the utility model is described in detail below in conjunction with the accompanying drawings.
Brief description of the drawings
Fig. 1 is connection-peg circuit diagram of the present utility model;
Fig. 2 is MCU circuit diagrams of the present utility model;
Fig. 3 is K line drive circuits figure of the present utility model;
Fig. 4 is electrification reset circuit figure of the present utility model;
Fig. 5 .1 are external USB power circuit diagram of the present utility model;
Fig. 5 .2 are outside vehicle power circuit diagram of the present utility model;
Fig. 5 .3 are usb communication line power circuit diagram of the present utility model;
Fig. 5 .4 are voltage conversion circuit figure of the present utility model;
Fig. 6 is CAN transceiver interface circuit figure of the present utility model;
Fig. 7 is usb circuit figure of the present invention of the present utility model;
Fig. 8 is communication interface switching circuit figure of the present utility model;
Fig. 9 is WIFI telecommunication circuits figure of the present utility model;
Figure 10 is that OBD of the present utility model receives and dispatches indicator light circuit figure;
Figure 11 is Surface Mount self- recoverage protective tube circuit diagram of the present utility model.
Embodiment
OBD diagnostic devices of the present utility model, including shell, and the OBD diagnosis hardware electricity being fixed in the shell Road, it include OBD joints, MCU circuits, K line drive circuits, electrification reset circuit, power circuit, CAN transceiver interface circuit, Usb circuit, communication interface switching circuit, WIFI telecommunication circuits, OBD transmitting-receiving indicator light circuits and the insurance of Surface Mount self- recoverage Pipe circuit.The shell is provided with power lights, K lines lamp, CAN1 lamps, CAN2 lamps, OBD16 pins male, USB power supply connectors, USB Communication joint.It is specifically described below:
(1) referring to Fig. 1, it is connection-peg circuit diagram of the present utility model.
OBD joints, the first joint J1, the second joint J2, the 4th joint J4, the 5th joint J5 on same circuit board, 3rd joint J3, the 6th joint J6, the 7th joint J7 are on same circuit board.
OBD joints, it inserts the OBD interfaces connection of automobile, and it includes K_LINE interfaces, CANH interfaces, CAN2H interfaces, When OBD diagnosis boxes are connected with automobile, the interface is connected with the K lines, CAN1 lines, CAN2 lines of automobile respectively, and OBD joints also wrap Include the joint of two ground connection.
First joint J1, its port 1 and 2 are connected with vehicle power supply VBAT, and its port 3 and 4 meets GND, and its port 5 and 6 connects CANL signal ends, its port 7 and 8 connect CAN2L signal ends, and its port 9 and 10 meets voltage VDD3V3.
Second joint J2, its port 5 and 6 connect+5V voltages, and port 3 and 4 connects RXDU signal ends, and port 1 and 2 connects TXDU letters Number end.
3rd joint J3, its port 1 and 2 are connected with vehicle power supply VBAT, and its port 3 and 4 meets GND, and its port 5 and 6 connects CANL signal ends, its port 7 and 8 connect CAN2L signal ends, and its port 9 and 10 meets voltage VDD3V3.
4th joint J4 is identical with the first joint J1 connections.6th joint J6, its port 1 and 2 connect TXDU signal ends, its end Mouth 3 and 4 connects RXDU signal ends, and its port 5 and 6 meets usb communication line power supply+5V, and its port 9 and 10 meets voltage VDD1V8.
(2) MCU circuits, it includes MCU chip, clock circuit, electric source monitoring circuit, ISP and enables circuit.The MCU core Piece is LPC2119/2194.
Referring to Fig. 2, it is MCU circuit diagrams of the present utility model.
The clock circuit includes first crystal oscillator Y1, the 7th resistance R7, the 16th electric capacity C16 and the 17th electric capacity C17, the both ends of the 7th resistance R7 electrically connect with XTAL1 the and XTAL2 pins of the MCU chip respectively, and described first Crystal oscillator Y1 is in parallel with the 7th resistance R7, and one end and the 17th electric capacity C17 of the first crystal oscillator Y1 go here and there It is grounded after connecing, the other end of the first crystal oscillator Y1 is grounded after being concatenated with the 16th electric capacity C16.
The electric source monitoring circuit detects for supply voltage, and it includes the 19th resistance R19, the 20th resistance R20, the 21 resistance R21 and the 15th electric capacity C15, the 19th resistance R19 one end connection power supply VBAT (vehicle power supply), its The other end is connected with the 20th resistance R20 and the 21st resistance R21 respectively, and the 21st resistance R21 other end is P0.27_AD1 signal ends simultaneously electrically connect with the pin 11 of MCU chip, the 20th resistance R20 other end ground connection, and the described 15th Electric capacity C15 is in parallel with the 20th resistance R20.
The ISP, which enables circuit, includes 3rd resistor R3 and first switch J1, one end of the 3rd resistor R3 and power supply VDD3V3 connections, its other end are P0.14_DCD1 signal ends and electrically connected with the pin 41 of MCU chip, first switch J1 electricity Connection, the first switch J1 other ends ground connection.
MCU circuits also include circuits below:
The pin 24 of the MCU chip is connected with RTCK signal ends, the RTCK signal ends concatenated with second resistance R2 after with Three electric capacity C3 are concatenated, and the 3rd electric capacity C3 one end is connected with VDD1V8, other end ground connection.4th electric capacity C4 and the 3rd electric capacity C3 are simultaneously Connection.
The VDD3V3 is grounded after being connected with the 8th electric capacity C8, the 8th electric capacity C8 and the 9th electric capacity C9, the tenth electric capacity C10, 11 electric capacity C11, the 12nd electric capacity C12 are in parallel.
(3) K line drive circuits, changed for the Transistor-Transistor Logic level to the MCU chip and automobile power supply signal;It is described K line drive circuits electrically connect with the K lines signal end of the OBD joints and the MCU chip respectively.When signal inputs from automobile During to diagnosis box, its signal transmission direction is:Automobile → K line drive circuits → RXD1 signal ends → MCU chip, it is therefore an objective to will be whole 12V the or 24V signals of car power supply are converted into single-chip microcomputer Transistor-Transistor Logic level.When signal is output to automobile from diagnosis box, its signal passes Defeated direction is:MCU chip → TXD1 signal ends → K line drive circuits → automobile, it is therefore an objective to be converted into single-chip microcomputer Transistor-Transistor Logic level 12V the or 24V signals of vehicle power supply.
Referring to Fig. 3, it is K line drive circuits figure of the present utility model.
Specifically, the K line drive circuits include the 8th resistance R8, the 9th resistance R9, the tenth resistance R10, the 16th electricity Hinder R16, the 17th resistance R17, the 18th resistance R18, first comparator U6B and the second comparator U6A, the first comparator U6B and the second comparator U6A is LM393;
One end of the 8th resistance R8 is connected with the VDD3V3 of the power circuit, its other end and first comparator U6B inverting input electrical connection, the inverting input of the first comparator U6B are grounded after also being concatenated with the 9th resistance R9; The in-phase input end of the first comparator U6B is TXD1 signal ends and to be electrically connected with the pin 33 of the MCU chip, described the One comparator U6B output end electrically connects with the K_LINE interfaces of the OBD joints, and is gone here and there with the 16th resistance R16 Connection;The other end of the 16th resistance R16 is connected with power supply VBAT.
One end connection power supply VBAT of the 17th resistance R17, its other end are anti-phase with the second comparator U6A's Input is electrically connected, and the inverting input of the second comparator U6A is grounded after also being concatenated with the 18th resistance R18, and described the Two comparator U6A in-phase input end electrically connects with the K_LINE interfaces of the OBD joints;The second comparator U6A is just Power supply signal end is connected with power supply VBAT, and its negative power signal end ground connection, its output end electrically connects with the tenth resistance R10, and this is defeated Go out end or RXD1 signal ends, the RXD1 signal ends electrically connect with the pin 34 of the MCU chip;Tenth resistance it is another End is connected with the VDD3V3 of the power circuit.
TXD1 signal ends, the comparison voltage of comparator reverse input end are 3.3* (150/ (150+51))=2.46V.When When TXD1 outputs are high, homophase input terminal voltage is higher than reverse input end, and the output of K lines is height.When TXD1 outputs are low, together Phase input terminal voltage is less than reverse input end, and the output of K lines is low.
RXD1 signal ends, the comparison voltage of comparator reverse input end are 1/2 vehicle supply voltage, 6V or 12V.When When K lines input signal is higher than 1/2 vehicle voltage, homophase input terminal voltage is higher than reverse input end, and RXD1 inputs are height.When K lines When input signal is less than 1/2 vehicle voltage, homophase input terminal voltage is less than reverse input end, and RXD1 inputs are low.
(4) electrification reset circuit, diagnosed for OBD in hardware power up, reset pulse is sent by nRST signal ends MCU chip is resetted, prevents MCU resets in power up from not causing exception thoroughly;The electrification reset circuit respectively with electricity Source circuit and MCU chip electrical connection.
Referring to Fig. 4, it is electrification reset circuit figure of the present utility model.
Specifically, the electrification reset circuit include the 11st resistance R11, the 12nd resistance R12, the 13rd resistance R13, 14th resistance R14, the 15th resistance R15 and reset chip U3, the reset chip U3 are CAT1025JI28.
The reset chip U3, itsPin connects after being concatenated with the 11st resistance R11 with the VDD3V3 of the power circuit Connect,Pin is also connected by RST_MCU signal ends (reset signal) with the WIFI telecommunication circuits, receives WIFI communication electricity The reset signal that road is sent, itsPin is electrically connected by nRST signal ends with the pin 57 of MCU chip, and with the 12nd electricity It is connected after resistance R12 concatenations with the VDD3V3 of the power circuit, its NC pin is grounded after being concatenated with the 13rd resistance R13, its GND Pin is grounded, and the VDD3V3 connections of its VCC pin and power circuit, its SDL pin passes through P0.2_SCL signal ends and MCU core The 22 pins electrical connection of piece, and be connected after being concatenated with the 14th resistance R14 with the VDD3V3 of the power circuit, its SDA pin Electrically connected by P0.3_SDA signal ends with 26 pins of MCU chip, and after being concatenated with the 15th resistance R15 with power supply electricity The VDD3V3 connections on road.
The P0.2_SCL signal ends are that MCU chip is used to access inside reset chip U3 with P0.3_SDA signal ends E2ROm I2C interface, MCU chip are written and read to the EEPROM parts inside reset chip U3 by I2C buses, are used for Key parameter and data storage.
(5) power circuit, including power supply sub-circuit and voltage conversion circuit, the power supply sub-circuit include external USB electricity Source circuit, outside vehicle power circuit and usb communication line power circuit;The external USB power circuit, it is used to connect outside USB power source;The outside vehicle power circuit is used to carry out voltage conversion to outside vehicle power supply;The usb communication line power supply Circuit is used for from usb communication line power taking;The power supply that the voltage conversion circuit is used to be inputted power supply sub-circuit carries out voltage Conversion, powered for device.
By increasing external USB power circuit, OBD diagnosis hardware is set can not all to be powered in vehicle power supply and usb communication line When, still hardware can be diagnosed to OBD by circumscribed USB line and be powered, and the normal work under WIFI patterns.
(5.1) Fig. 5 .1 are referred to, it is external USB power circuit diagram of the present utility model.The external USB power supply electricity Road, it includes USB power supply connectors J3 and the 3rd electrochemical capacitor E3;The port 5 of the USB power supply connectors J3 is grounded, and port 1 is defeated Go out outside USB power source S5V, positive pole of the port also with the 3rd electrochemical capacitor E3 is connected, the 3rd electrochemical capacitor E3 negative pole ground connection.
(5.2) Fig. 5 .2 are referred to, it is outside vehicle power circuit diagram of the present utility model.The outside vehicle power supply Circuit include first voltage conversion chip U1, the first diode D1, the second diode D2, the 3rd diode D3, the first electric capacity C1, Second electric capacity C2, the 4th electric capacity C4, the 5th electric capacity C5, the 8th electric capacity C8, the 9th electric capacity C9, first resistor R1, second resistance R2, 3rd resistor R3 and the first inductance L1, the first voltage conversion chip U1 is H33063A, and the second diode D2 is IN4007, the 3rd diode D3 are IN5819;The positive pole connection vehicle power supply VBAT of the second diode D2, its negative pole It is grounded after concatenating the 5th electric capacity C5, the 8th electric capacity C8 and the first electric capacity C1 are in parallel with the 5th electric capacity C5;8th electric capacity C8 Positive pole be connected with the second diode D2 negative pole, its negative pole ground connection;First electric capacity C1 positive pole and the second diode D2's is negative Pole connects, its negative pole ground connection;Vcc pin of the second diode D2 negative pole also with first voltage conversion chip U1 is connected;Second Diode D2 negative pole also concatenated with second resistance R2 after respectively the Ipk pins with first voltage conversion chip U1, DRC pins with And SWC pins connection;After first voltage conversion chip U1 SWE pins concatenate with the first inductance L1, vehicle conversion is exported respectively Power vd D5 and the positive pole for connecting the second electric capacity C2;First voltage conversion chip U1 SWE pins also with the 3rd diode D3 Negative pole connection;TC pins with first voltage conversion chip U1 after 3rd diode D3 positive pole is connected with the 9th electric capacity C9 Connection;First voltage conversion chip U1 GND pin ground connection, its FB pin are grounded after concatenating 3rd resistor R3;First resistor R1 One end connect the second electric capacity C2 positive pole, other end concatenation 3rd resistor R3;4th electric capacity C4 one end connects the second electric capacity C2 positive pole, other end ground connection;First diode D1 negative pole connects the second electric capacity C2 positive pole, its plus earth.
(5.3) Fig. 5 .3 are referred to, it is usb communication line power circuit diagram of the present utility model.The usb communication line electricity Source circuit, it includes usb communication joint MICROUSB, and the port 5 of the usb communication joint is grounded, and port 3 connects with the USB The D+ signal ends connection of mouth circuit, port 2 are connected with the D- signal ends of the usb circuit, and port 1 exports usb communication line Power supply+5V.
(5.4) Fig. 5 .4 are referred to, it is voltage conversion circuit figure of the present utility model.The voltage conversion circuit, it is wrapped Include 3.3V voltage conversion circuits and 1.8V voltage conversion circuits.
The 3.3V voltage conversion circuits include the 4th voltage conversion chip U4, the 4th diode D4, the 5th diode D5, 6th diode D6 and the second electrochemical capacitor E2, the 4th voltage conversion chip U4 are AS1117-3.3;The usb communication line Power supply+5V connections the 4th diode D4 positive pole, external USB power supply S5V connections the 5th diode D5 is just Pole, the positive pole of vehicle conversion electric power VDD5 connections the 6th diode D6, the 4th voltage conversion chip U4 VIN draw Pin connects the 4th diode D4, the 5th diode D5 and the 6th diode D6 negative pole respectively;4th voltage conversion chip U4's GND pin is grounded, and output voltage VDD3V3, VOUT pin is also connected with the second electrochemical capacitor E2's after the connection of two VOUT pin Positive pole, the second electrochemical capacitor E2 negative pole ground connection.
Wherein, the 4th diode D4, the 5th diode D5, the 6th diode D6 keep apart three road input voltages, prevent Only exist and power simultaneously, cause to damage for device.
The 1.8V voltage conversion circuits include second voltage conversion chip U2 and the first electrochemical capacitor E1;Second electricity Pressure conversion chip U2 is AS1117-1.8, and its VIN pin connects VDD3V3, its GND pin ground connection, the connection of two VOUT pin Output voltage VDD1V8 afterwards, VOUT pin are also connected with the first electrochemical capacitor E1 positive pole, and the first electrochemical capacitor E1 negative pole connects Ground.
The voltage conversion circuit also includes circuits below:The 5th electric capacity C5 and the 6th electric capacity C6, the 7th electric capacity C7 After parallel connection, its one end is connected with the VDD3V3, other end ground connection;After the first electric capacity C1 is in parallel with the second electric capacity C2, its One end is connected with the VDD1V8, other end ground connection.
(6) CAN transceiver interface circuit, for single-ended signal to be converted into differential signal, its respectively with the MCU chip And CANH interfaces and CAN2H the interfaces electrical connection of the OBD joints.
Referring to Fig. 6, it is CAN transceiver interface circuit figure of the present utility model.
The CAN transceiver interface circuit includes the first CAN transceiver interface chip U4, the second CAN transceiver interface core Piece U5, the 24th resistance R24, the 26th resistance R26, the 27th resistance R27, the electricity of the 13rd electric capacity C13 and the 14th Hold C14, the first CAN transceiver interface chip U4, the second CAN transceiver interface chip U5 are SN65HVD234DR.
The first CAN transceiver interface chip U4, its RS pin concatenates with first resistor R1 is followed by GND, and its D pin leads to The pin 10 for crossing CAN_TD1 signal ends and MCU chip connects, and its R pin passes through CAN_RD1 signal ends and the pin of MCU chip 9 connections, its CANH pin electrically connect after being electrically connected with the 26th resistance R26 one end with the CANH interfaces of the OBD joints, Its CANL pin is connected after being connected with the 26th resistance R26 other end with CANL signal ends, its VCC pin respectively with VDD3V3, the 13rd electric capacity C13 one end connection, the 13rd electric capacity C13 another termination GND, its GND pin meet GND;
The second CAN transceiver interface chip U5, its RS pin concatenates with the 24th resistance R24 is followed by GND, its D Pin is connected by CAN_TD2 signal ends and the pin of MCU chip 5, and its R pin passes through CAN_RD2 signal ends and MCU chip Pin 3 connects, CAN2H interfaces with the OBD joints after its CANH pin electrically connects with the 27th resistance R27 one end Electrical connection, its CANL pin are connected after being connected with the 27th resistance R27 other end with CAN2L signal ends, its VCC pin One end with VDD3V3, the 14th electric capacity C14 is connected respectively, and the 14th electric capacity C14 another termination GND, its GND pin connects GND。
(7) usb circuit, for entering row data communication by usb communication line and host computer;The usb circuit Electrically connected respectively with communication interface switching circuit and the MCU chip.
Referring to Fig. 7, it is usb circuit figure of the present invention of the present utility model.
Specifically, the usb circuit including USB turn serial port chip U2, signal protection chip U3, the 4th resistance R4, 5th resistance R5, the 6th electric capacity R6, the 7th electric capacity R7, the tenth electric capacity R10, the first electrochemical capacitor E1, the USB turn serial port chip For CP2104, the signal protection chip is SP0503BAHT.
The USB turns serial port chip U2, and the data that the host computers such as hardware and computer or mobile phone are diagnosed for OBD communicate, Specifically, two GND pin is grounded, and its D+ pin is connected by D+ signal ends with the usb communication joint, its D- pin It is connected by D- signal ends with the usb communication joint, its VIO pin and VDD pins connect 3V3 signal ends, its REGIN pin Outside+5V voltages are connect with VBUS pins, itsPin concatenates the 5th resistance R5 and is followed by 3V3 signal ends, itsDraw Pin is grounded after meeting the 4th resistance R4, and its RXD pin is connected by TXDU signal ends with the communication interface switching circuit, its TXD Pin is connected by RXDU signal ends with the communication interface switching circuit;The first electrochemical capacitor E1 and the 7th electric capacity R7 are simultaneously After connection, its positive pole is connected with outside+5V voltages, its negative pole ground connection;After the tenth electric capacity R10 is in parallel with the 6th electric capacity R6, its Positive pole is connected with 3V3 signal ends, its negative pole ground connection.
The signal protection chip U3, electrostatic protection for USB data line etc., specifically, its pin 1 are grounded, and it draws Pin 2 connects outside+5V voltages, and its pin 3 connects D- signal ends, and its pin 4 connects D+ signal ends.
(8) communication interface switching circuit, usb communication pattern is switched to when usb communication line inserts for controlling, in USB Switch to WIFI communication patterns when order wire is not inserted into, the communication interface switching circuit respectively with WIFI telecommunication circuits and The MCU circuits electrical connection.
Referring to Fig. 8, it is communication interface switching circuit figure of the present utility model.
The communication interface switching circuit includes the first communication interface switching chip U7, the second communication interface switching chip U8, the 23rd resistance R23 and the 25th resistance R25, the first communication interface switching chip U7, the second communication interface are cut It is LC3157 to change chip U8;It is that two simulations are opened that first communication interface, which switches chip U7 and the second communication interface switching chip U8, Close, for controlling communicated by usb communication line on earth, or pass through WIFI radio communications.
First communication interface switches chip U7, and its N1 pin is connected by RXDU signal ends and the usb circuit Connecing, its N2 pin is connected by RXDW signal ends with the WIFI telecommunication circuits, after its S pin is connected with USBPOW signal ends, Concatenated respectively with the 23rd resistance R23 and the 25th resistance R25 ,+5V outside the 23rd resistance R23 another termination Power supply, the 25th resistance R25 other end ground connection, its VDD pin are connected with VDD3V3, and its COM pin passes through RXD0 signals End is connected with the pin 21 of MCU chip, and its GND pin meets GND.The USBPOW, which is used in, passes through usb communication line power supply+5V After 23rd resistance R23 and the 25th resistance R25 partial pressures, the control signal as analog switch.
Second communication interface switches chip U8, and its N1 pin is connected by TXDU signal ends and the usb circuit Connecing, its N2 pin is connected by TXDW signal ends with the WIFI telecommunication circuits, and its S pin is connected with USBPOW signal ends, its VDD pins are connected with VDD3V3, and its COM pin is connected by TXD0 signal ends and the pin of MCU chip 19, and its GND pin connects GND。
Monitored by being powered to USB communication interface, and the monitoring to the power supply of OBD interfaces, and respective communication circuit Transformation, design the startup strategy of USB chips and WIFI chips, so as to realize the compatible WIFI communications simultaneously of OBD diagnosis hardware and The purpose of usb communication.
(9) WIFI telecommunication circuits, for entering row data communication by WIFI and host computer;The WIFI telecommunication circuits difference Electrically connected with the communication interface switching circuit and the MCU chip.
Referring to Fig. 9, it is WIFI telecommunication circuits figure of the present utility model.
The WIFI telecommunication circuits include WIFI communication chips U1, the 28th resistance R28, the 29th resistance R29, the 18 electric capacity C18 and WIFI firmware upgrade interface J3;The WIFI communication chips U1 is ESP12F, and its RST pin is respectively with 28 resistance R28, the 18th electric capacity C18 connections, the 28th resistance R28 other end are connected with VDD3V3, the 18th electricity Hold C18 other end ground connection, its EN pin connects power supply, and its GPIO14 pin connects USBPOW signal ends, and its GPIO13 pin passes through TXDW signal ends connect the communication interface switching circuit, and its VCC pin connects power supply, and its TXD pin meets WIFI with RXD pins Firmware upgrade interface, its GPIO5 pin are connected by RST_MCU signal ends (reset pulse) with the electrification reset circuit, its GPIO4 pins are connected by P0.14_DCD1 signal ends and the pin of MCU chip 41, and its GPIO15 pin passes through RXDW signal ends It is connected with the communication interface switching circuit, GPIO15 pins are grounded after also being concatenated with the 29th resistance R29, its GND pin Ground connection.
WIFI communication chips U1 can both be operated in ap mode, can also be operated in STA mode, in practical application, according to The difference of application scenarios, its mode of operation can under AP/STA patterns switching at runtime.WIFI telecommunication circuits except communication function with Outside, also MCU reset functions:It is same in order to keep equipment to run because WIFI communication chips U1 has certain startup time Step, WIFI communication chips U1 can give MCU mono- reset signal, allow MCU to rerun after starting.During normal work, if USB leads to Believe line insertion, WIFI communication chips U1 can also provide a reset pulse, allow electrification reset circuit control MCU to rerun.Should Configuration pin when the pin 41 for the MCU chip that P0.14_DCD1 signal ends are connected is programming single-chip microcomputer firmware, by the pin After being connected to WIFI telecommunication circuits, WIFI telecommunication circuits can configure the baud rate that WIFI turns serial ports by the state of the pin, So as to upgrade single-chip microcomputer firmware by WIFI.
(10) OBD receives and dispatches indicator light circuit, and it includes POWER joints, K joints, CAN1 joints and CAN2 joints.
Referring to Fig. 10, it, which is OBD of the present utility model, receives and dispatches indicator light circuit figure.
The POWER joints concatenate with the power lights on shell, and its port 1 meets VDD3V3, the electricity of its port 2 concatenation the 22nd It is grounded after resistance R22.The K joints connect with the K line lamp strings on shell, and its port 1 meets VDD3V3, and its port 2 concatenates the 6th resistance R6 29 pins of MCU chip are terminated by P0.5 signals afterwards.
The CAN1 joints connect with the CAN1 lamp strings on shell, and its port 1 meets VDD3V3, and its port 2 concatenates the 4th resistance R4 30 pins of MCU chip are terminated by P0.6 signals afterwards.The CAN2 joints connect with the CAN2 lamp strings on shell, and its port 1 connects 31 pins of MCU chip are terminated after VDD3V3, its port 2 the 5th resistance R5 of concatenation by P0.7 signals.
(11) Surface Mount self- recoverage protective tube circuit, refers to Figure 11, and it is Surface Mount self- recoverage protective tube of the present utility model Circuit diagram.Surface Mount self- recoverage protective tube circuit includes Surface Mount self- recoverage protective tube P1, and its port 1 meets power supply VBAT, and its port 2 connects VBAT0.K lines are powered using vehicle power supply, and self- recoverage protective tube is used in voltage or current break, protection OBD diagnosis The device of hardware is without damage.
As long as following the communication interface definition of this diagnosis hardware and authorizing, the developer of any diagnostic software can be with this Utility model OBD diagnosis hardware is integrated, and realizes the OBD communication capacities of diagnostic software.For example, upper computer software driving diagnosis The interface of hardware provides dll files by middleware, as long as carrying out interface interchange according to dll files operation instruction, it becomes possible to drive Diagnosis box is communicated accordingly, i.e. dll provides hardware driving calling interface, producer according to calling interface with they are existing examines Disconnected software is integrated, you can this OBD is diagnosed into hardware circuit and carries out integrated matching use from different OBD diagnostic softwares.
OBD of the present utility model diagnoses hardware circuit, and OBD diagnostic softwares and its related hardware are diagnosed in hardware from OBD Separated, to being redesigned for OBD diagnosis hardware, greatly improve and simplify OBD diagnosis hardware, become one The general unit of individual independence, integrated matching can be carried out from different OBD diagnostic softwares and is used, be advantageous to the only of OBD diagnosis hardware Liter level or maintenance, upgrading or maintenance with OBD diagnostic softwares separate, and are not limited by the OBD diagnostic softwares of particular vendor.
Further, the utility model can automatically switch the communication pattern between the host computer such as computer or mobile phone, only Want USB interfaces to have power supply, just switch to USB connection modes, OBD interfaces have electricity and USB interface out of power, just start WIFI works Operation mode.
Further, by increasing external USB power circuit, make OBD diagnosis hardware in vehicle power supply and usb communication line all When can not powering, still hardware can be diagnosed to OBD by circumscribed USB line and be powered, and it is normal under WIFI patterns Work.
Embodiment described above only expresses several embodiments of the present utility model, and its description is more specific and detailed, But therefore it can not be interpreted as the limitation to utility model patent scope.It should be pointed out that the common skill for this area For art personnel, without departing from the concept of the premise utility, various modifications and improvements can be made, these are belonged to The scope of protection of the utility model.

Claims (10)

  1. A kind of 1. OBD diagnosis hardware circuits of automatic switchover communication pattern, it is characterised in that including:
    OBD joints, it includes K_LINE interfaces, CANH interfaces and CAN2H interfaces;
    MCU circuits, it includes MCU chip;
    K line drive circuits, changed for the Transistor-Transistor Logic level to the MCU chip and automobile power supply signal;The K lines driving Circuit electrically connects with the K_LINE interfaces of the OBD joints and the MCU chip respectively;
    Electrification reset circuit, diagnosed for OBD in hardware power up, sending reset pulse resets MCU chip;The upper electricity Reset circuit electrically connects with power circuit and the MCU chip respectively;
    Power circuit, including power supply sub-circuit and voltage conversion circuit, the power supply sub-circuit include outside vehicle power circuit With usb communication line power circuit;The outside vehicle power circuit is used to carry out voltage conversion to outside vehicle power supply;It is described Usb communication line power circuit is used for from usb communication line power taking;The voltage conversion circuit is used for inputted power supply sub-circuit Power supply carries out voltage conversion, is powered for device;
    CAN transceiver interface circuit, for single-ended signal to be converted into differential signal, its respectively with the MCU chip and institute State CANH interfaces and the electrical connection of CAN2H interfaces of OBD joints;
    Usb circuit, for entering row data communication by usb communication line and host computer;The usb circuit is respectively with leading to Believe interface switching control circuit and MCU chip electrical connection;
    Communication interface switching circuit, usb communication pattern is switched to when usb communication line inserts for controlling, is not had in usb communication line Switch to WIFI communication patterns when having insertion, the communication interface switching circuit respectively with WIFI telecommunication circuits and the MCU Circuit electrically connects;
    WIFI telecommunication circuits, for entering row data communication by WIFI and host computer;The WIFI telecommunication circuits respectively with it is described Communication interface switching circuit and MCU chip electrical connection.
  2. 2. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:The MCU Circuit includes MCU chip, clock circuit, electric source monitoring circuit, ISP and enables circuit;
    The MCU chip is LPC2119/2194;
    The clock circuit includes first crystal oscillator, the 7th resistance, the 16th electric capacity and the 17th electric capacity, the 7th electricity The both ends of resistance electrically connect with XTAL1 the and XTAL2 pins of the MCU chip respectively, the first crystal oscillator with it is described 7th resistor coupled in parallel, one end of the first crystal oscillator after the 17th capacitance series with being grounded, the first crystal vibration The other end of device after the 16th capacitance series with being grounded;
    The electric source monitoring circuit includes the 19th resistance, the 20th resistance, the 21st resistance and the 15th electric capacity, and described 19 resistance oh one end connection power supply, its other end respectively with the 20th resistance and the 21st resistant series, the 21st The other end of resistance is P0.27_AD1 signal ends and electrically connected with the pin 11 of MCU chip, another termination of the 20th resistance Ground, the 15th electric capacity and the 20th resistor coupled in parallel;
    The ISP, which enables circuit, includes 3rd resistor and first switch, and one end of the 3rd resistor is connected with power supply, and its is another Hold as P0.14_DCD1 signal ends and electrically connected with the pin 41 of MCU chip, first switch electrical connection, the first switch is another End ground connection.
  3. 3. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:The K lines Drive circuit includes the 8th resistance, the 9th resistance, the tenth resistance, the 16th resistance, the 17th resistance, the 18th resistance, first Comparator and the second comparator, the first comparator and the second comparator are LM393;One end of 8th resistance and institute State power circuit connection, its other end electrically connects with the inverting input of first comparator, the first comparator it is anti-phase defeated Enter to hold also to concatenate with the 9th resistance and be followed by ground;The in-phase input end of the first comparator electrically connects with the MCU chip, described The output end of first comparator electrically connects with the K_LINE interfaces of the OBD joints, and with the 16th resistant series;It is described The other end of 16th resistance is connected with power supply;One end connection power supply of 17th resistance, its other end and described second The inverting input electrical connection of comparator, the inverting input of second comparator also concatenates with the 18th resistance is followed by ground, The in-phase input end of second comparator electrically connects with the K_LINE interfaces of the OBD joints;Second comparator is just Power supply signal end is connected with power supply, and its negative power signal end ground connection, its output end is electrically connected with the tenth resistance and MCU chip respectively Connect, the other end of the tenth resistance is connected with the power circuit.
  4. 4. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:On described Reset circuit includes the 11st resistance, the 12nd resistance, the 13rd resistance, the 14th resistance, the 15th resistance and reset coil Piece, the reset chip are CAT1025JI28;The reset chip, itsPin concatenated with the 11st resistance after with the electricity Source circuit connects,Pin is also connected with the WIFI telecommunication circuits, itsPin electrically connects with MCU chip, and with the tenth It is connected after two resistance concatenation with the power circuit, its NC pin concatenates with the 13rd resistance is followed by ground, its GND pin ground connection, Its VCC pin is connected with power circuit, and its SDL pin electrically connects with MCU chip, and after being concatenated with the 14th resistance with the electricity Source circuit connects, and its SDA pin electrically connects with MCU chip, and is connected after being concatenated with the 15th resistance with the power circuit.
  5. 5. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:It is described outer Portion's vehicle power circuit include first voltage conversion chip, the first diode, the second diode, the 3rd diode, the first electric capacity, Second electric capacity, the 4th electric capacity, the 5th electric capacity, the 8th electric capacity, the 9th electric capacity, first resistor, second resistance, 3rd resistor and first Inductance, the first voltage conversion chip are H33063A, and second diode is IN4007, and the 3rd diode is IN5819;The positive pole connection vehicle power supply of second diode, its negative pole are grounded after concatenating the 5th electric capacity, the 8th electric capacity It is in parallel with the 5th electric capacity with the first electric capacity;The positive pole of 8th electric capacity is connected with the negative pole of the second diode, its negative pole ground connection;The The positive pole of one electric capacity is connected with the negative pole of the second diode, its negative pole ground connection;The negative pole of second diode also turns with first voltage Change the Vcc pins connection of chip;The negative pole of second diode also concatenated with second resistance after respectively with first voltage conversion chip Ipk pins, DRC pins and SWC pins connection;After the SWE pins of first voltage conversion chip concatenate with the first inductance, point Not Shu Chu vehicle conversion electric power VDD5 and connect the second electric capacity positive pole;The SWE pins of first voltage conversion chip are also with The negative pole connection of three diodes;TC pins after the positive pole of 3rd diode and the 9th capacitance connection with first voltage conversion chip Connection;The GND pin ground connection of first voltage conversion chip, its FB pin are grounded after concatenating 3rd resistor;One end of first resistor Connect the positive pole of the second electric capacity, other end concatenation 3rd resistor;One end of 4th electric capacity connects the positive pole of the second electric capacity, the other end Ground connection;The negative pole of first diode connects the positive pole of the second electric capacity, its plus earth.
  6. 6. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 5, it is characterised in that:The electricity Source sub-circuit also includes external USB power circuit, and it is used to connect external USB power supply, and it includes USB power supply connectors and the 3rd electricity Solve electric capacity;The a port ground connection of the USB power supply connectors, a port output external USB power supply S5V, the port is also with the The positive pole connection of three electrochemical capacitors, the negative pole ground connection of the 3rd electrochemical capacitor;
    The usb communication line power circuit, it includes usb communication joint, and a port of the usb communication joint is grounded, and two Individual port electrically connects with the usb circuit, another port output usb communication line power supply+5V;
    The voltage conversion circuit, it includes 3.3V voltage conversion circuits and 1.8V voltage conversion circuits;
    The 3.3V voltage conversion circuits include the 4th voltage conversion chip, the 4th diode, the 5th diode, the 6th diode With the second electrochemical capacitor, the 4th voltage conversion chip is AS1117-3.3;Described in the usb communication line power supply+5V connections The positive pole of 4th diode, the positive pole of external USB power supply S5V connections the 5th diode, the vehicle conversion electric power The positive pole of VDD5 connections the 6th diode, the VIN pins of the 4th voltage conversion chip connect the 4th diode, the 5th respectively The negative pole of diode and the 6th diode;The GND pin ground connection of 4th voltage conversion chip is defeated after the connection of two VOUT pin Go out the positive pole that voltage VDD3V3, VOUT pin is also connected with the second electrochemical capacitor, the negative pole ground connection of the second electrochemical capacitor;
    The 1.8V voltage conversion circuits include second voltage conversion chip and the first electrochemical capacitor;The second voltage changes core Piece is AS1117-1.8, its VIN pin connection VDD3V3, its GND pin ground connection, output voltage after the connection of two VOUT pin VDD1V8, VOUT pin are also connected with the positive pole of the first electrochemical capacitor, the negative pole ground connection of the first electrochemical capacitor.
  7. 7. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:The CAN Transceiver interface circuit includes the first CAN transceiver interface chip, the second CAN transceiver interface chip, first resistor, the 20th Four resistance, the 26th resistance, the 27th resistance, the 13rd electric capacity and the 14th electric capacity, the first CAN transceiver interface Chip, the second CAN transceiver interface chip are SN65HVD234DR;
    The first CAN transceiver interface chip, its RS pin concatenates with first resistor is followed by GND, its D pin and CAN_TD1 Signal end is connected, and its R pin is connected with CAN_RD1 signal ends, after its CANH pin electrically connects with one end of the 26th resistance Electrically connected with the CANH interfaces of the OBD joints, its CANL pin is connected with the other end of the 26th resistance, its VCC pin One end with power circuit, the 13rd electric capacity is connected respectively, and another termination GND of the 15th electric capacity, its GND pin meets GND;
    The second CAN transceiver interface chip, its RS pin concatenates with the 24th resistance is followed by GND, its D pin and CAN_ TD2 signal ends are connected, and its R pin is connected with CAN_RD2 signal ends, and its CANH pin electrically connects with one end of the 27th resistance The CAN2H interfaces with the OBD joints are electrically connected afterwards, and its CANL pin is connected with the other end of the 27th resistance, and its VCC draws The one end of pin respectively with power circuit, the 14th electric capacity is connected, and another termination GND of the 14th electric capacity, its GND pin meets GND.
  8. 8. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:The USB Interface circuit turns serial port chip, signal protection chip, the 4th resistance, the 5th resistance, the 6th electric capacity, the 7th electric capacity, including USB Ten electric capacity, the first electrochemical capacitor, it is CP2104 that the USB, which turns serial port chip, and the signal protection chip is SP0503BAHT;
    The USB turns serial port chip, and two GND pin ground connection, its D+ pin connects D+ signal ends, and its D- pin connects D- signals End, its VIO pin and VDD pins connect 3V3 signal ends, and its REGIN pin and VBUS pins connect power supply, itsPin string Connect the 5th resistance and be followed by 3V3 signal ends, itsPin is grounded after connecing the 4th resistance, its RXD pin and MCU chip electricity Connection, its TXD pin electrically connect with MCU chip;After first electrochemical capacitor is in parallel with the 7th electric capacity, its positive pole connects with power supply Connect, its negative pole ground connection;After tenth electric capacity is in parallel with the 6th electric capacity, its positive pole is connected with 3V3 signal ends, its negative pole ground connection;
    The signal protection chip, its pin 1 are grounded, and its pin 2 connects power supply, and its pin 3 connects D- signal ends, and its pin 4 meets D+ Signal end.
  9. 9. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:It is described logical Believe that interface switching control circuit includes the first communication interface switching chip, the second communication interface switching chip, the 23rd resistance and the 25 resistance, the first communication interface switching chip, the second communication interface switching chip are LC3157;
    First communication interface switches chip, and its N1 pin is connected with the usb circuit, its N2 pin and the WIFI Telecommunication circuit connect, after its S pin is connected with USBPOW signal ends, respectively with the 23rd resistance and the 25th resistance string Connect, another termination external power source of the 23rd resistance, the other end ground connection of the 25th resistance, its VDD pin connects with power supply Connect, its COM pin is connected with MCU chip, and its GND pin meets GND;
    Second communication interface switches chip, and its N1 pin is connected with the usb circuit, its N2 pin and the WIFI Telecommunication circuit is connected, and its S pin is connected with USBPOW signal ends, and its VDD pin is connected with power supply, its COM pin and MCU chip Connection, its GND pin meet GND.
  10. 10. the OBD diagnosis hardware circuits of automatic switchover communication pattern according to claim 1, it is characterised in that:It is described WIFI telecommunication circuits include WIFI communication chips, the 28th resistance, the 29th resistance, the 18th electric capacity and WIFI firmware liters Level interface;The WIFI communication chips are ESP12F, its RST pin respectively with the 28th resistance, the 18th capacitance connection, The other end of 28 resistance is connected with power supply, and the other end ground connection of the 18th electric capacity, its EN pin connects power supply, and its GPIO14 draws Pin connects USBPOW signal ends, and its GPIO13 pin connects the communication interface switching circuit, and its VCC pin connects power supply, and its TXD draws Pin and RXD pins connect WIFI firmware upgrade interfaces, and its GPIO5 pin is connected with the electrification reset circuit, its GPIO4 pin and MCU chip connects, and its GPIO15 pin is connected with the communication interface switching circuit, GPIO15 pins also with the 29th resistance It is grounded after concatenation, its GND pin ground connection.
CN201721010732.4U 2017-08-14 2017-08-14 A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern Active CN207216410U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201721010732.4U CN207216410U (en) 2017-08-14 2017-08-14 A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201721010732.4U CN207216410U (en) 2017-08-14 2017-08-14 A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern

Publications (1)

Publication Number Publication Date
CN207216410U true CN207216410U (en) 2018-04-10

Family

ID=61818938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201721010732.4U Active CN207216410U (en) 2017-08-14 2017-08-14 A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern

Country Status (1)

Country Link
CN (1) CN207216410U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347965A (en) * 2018-10-31 2019-02-15 深圳市道通科技股份有限公司 A kind of communication means, device and relevant device
CN112964478A (en) * 2021-02-05 2021-06-15 深圳市超越科技开发有限公司 Automobile diagnosis equipment for automobile users

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347965A (en) * 2018-10-31 2019-02-15 深圳市道通科技股份有限公司 A kind of communication means, device and relevant device
CN109347965B (en) * 2018-10-31 2020-10-23 深圳市道通科技股份有限公司 Communication method, device and related equipment
CN112964478A (en) * 2021-02-05 2021-06-15 深圳市超越科技开发有限公司 Automobile diagnosis equipment for automobile users

Similar Documents

Publication Publication Date Title
CN102750252B (en) USB/UART interface multiplexing circuit and use the electronic equipment of this circuit
US7293124B2 (en) Storage device with parallel interface connector
CN101627348B (en) Charging cable with usb-like connector
CN207216410U (en) A kind of OBD diagnosis hardware circuits of automatic switchover communication pattern
CN101309193B (en) USB-Flexray bus adapter based on micro-processor
CN106066840A (en) A kind of method switching electronic equipment master slave mode and a kind of electronic equipment
CN104020851A (en) Input device and method for vehicle information codes
CN103279436A (en) Configuration method of functions of chip pin and chip
CN201053987Y (en) Small dimension network electric instrument
CN207207963U (en) A kind of general OBD diagnosis hardware circuits of independence
CN203894742U (en) Programmer of automotive electric control unit (ECU)
CN102693203A (en) Embedded USB (universal serial bus) host
CN109241641A (en) A kind of double-core ARM type SoC application verification implementation method and application verification plate
CN112269704A (en) Python-based serial port debugging method and debugging system
CN207148816U (en) A kind of program burn writing system and electronic equipment
CN102567270A (en) USB (universal serial bus)-to-I2C (inter-integrated circuit) adapter
WO2022095606A1 (en) Information reading method, device, cable, charging system, and computer storage medium
KR20150069659A (en) Usb gender
CN104793968A (en) Vehicle electronic control unit program programming device and implementation method thereof
CN201111845Y (en) ARM chip control LED display screen U disk control system
CN208781211U (en) A kind of multibus USB adapter
CN209401012U (en) A kind of USB interface power control
CN207601785U (en) External electrical connection interface
CN201117006Y (en) Heat inserting type optical module monitoring device
CN2434738Y (en) Intelligent card safety identifying device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant