CN100565230C - CAN bus broken circuit detection circuit and method thereof - Google Patents

CAN bus broken circuit detection circuit and method thereof Download PDF

Info

Publication number
CN100565230C
CN100565230C CNB2007100153929A CN200710015392A CN100565230C CN 100565230 C CN100565230 C CN 100565230C CN B2007100153929 A CNB2007100153929 A CN B2007100153929A CN 200710015392 A CN200710015392 A CN 200710015392A CN 100565230 C CN100565230 C CN 100565230C
Authority
CN
China
Prior art keywords
switch
passage
node
bus
resistance
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.)
Expired - Fee Related
Application number
CNB2007100153929A
Other languages
Chinese (zh)
Other versions
CN101101316A (en
Inventor
王知学
李建新
刘源杨
宋长有
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Automation Shandong Academy of Sciences
Original Assignee
Institute of Automation Shandong Academy of Sciences
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 Institute of Automation Shandong Academy of Sciences filed Critical Institute of Automation Shandong Academy of Sciences
Priority to CNB2007100153929A priority Critical patent/CN100565230C/en
Publication of CN101101316A publication Critical patent/CN101101316A/en
Application granted granted Critical
Publication of CN100565230C publication Critical patent/CN100565230C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of CAN bus broken circuit detection circuit and method thereof.It has solved the effective ways that lack the CAN bus broken circuit at present, can not satisfy problems such as practical application needs, and it is simple to have method, easy to use, detects high accuracy for examination.Its structure is: it is arranged between an external node and tested node, this circuit comprises two internodal CANH passage and CANL passages, be equipped with the resistance of two pairs of series connection and the control circuit that switch is formed on each passage, wherein the control circuit I of CANH passage is connected with the RTH end of tested node; The control circuit II of CANL passage is connected with the RTL of tested node end.

Description

CAN bus broken circuit detection circuit and method thereof
Technical field
The present invention relates to the total line detecting method of a kind of CAN, relate in particular to a kind of CAN bus broken circuit detection circuit and method thereof.
Background technology
The ISO-11898-3 agreement has been stipulated the fault-tolerant type of the fault-tolerant CAN bus of low speed, but does not comprise the detection that CANH and CANL open circuit simultaneously, and auto vendor has when using the fault-tolerant CAN bus of low speed and detects the requirement that CANH and CANL open circuit simultaneously.CAN bus node mode by communication frames when communication is difficult to guarantee the completeness that detects, and node can't detect the situation that CANH and CANL open circuit simultaneously during dormancy.
Summary of the invention
Purpose of the present invention is exactly the effective ways that lack the CAN bus broken circuit at present in order to solve, can not satisfy problems such as practical application needs, provide that a kind of to have method simple, easy to use, detect the CAN bus broken circuit detection circuit and the method thereof of high accuracy for examination.
The present invention adopts following technical scheme for achieving the above object:
A kind of CAN bus broken circuit detection circuit, it is arranged between an external node and tested node, this circuit comprises two internodal CANH passage and CANL passages, be equipped with the resistance of two pairs of series connection and the control circuit that switch is formed on each passage, wherein the control circuit I of CANH passage is connected with the RTH end of tested node; The control circuit II of CANL passage is connected with the RTL of tested node end.
Described control circuit I consists of, and it comprises resistance R 1 and the switch S 3 of connecting with it, and switch S 3 one ends are connected with the RTH end of tested node by resistance R 1,3 another termination CANH passages, and switch S 3 also is connected with tested node by the CON3 passage simultaneously; Resistance R 4 one ends are connected with power supply, and the other end is connected with switch S 1, and this other end also is connected with tested node through DEC1 simultaneously, and an end of switch S 1 links to each other with resistance R 4, another termination CANH passage, and switch S 1 also is connected with tested node by the CON1 passage simultaneously.
Described control circuit II consists of, and it comprises resistance R 2 and the switch S 4 of connecting with it, and switch S 4 one ends are connected with the RTL end of tested node by resistance R 2, another termination CANL passage, and switch S 4 also is connected with tested node by the CON4 passage simultaneously; Resistance R 3 one end ground connection, the other end is connected with switch S 2, and this other end also is connected with tested node through DEC2 simultaneously, and one of switch S 2 links to each other with resistance R 3, another termination CANL passage, switch S 2 also is connected with tested node by the CON2 passage simultaneously.
The switch of described switch S 1, S2, S3 and S4 is little with leakage current respectively, and the MOSFET that impedance is big realizes; Described resistance R 3 is selected different intrinsic standoff ratios with R4 according to the requirement of node, and resistance is more than 100K.
A kind of detection method of CAN bus broken circuit detection circuit, its method be,
1) system is in dormant state, CANH level=0V under the normal condition, CANL level=12V;
2) control off resistance R1, the R2 by CON3, CON4 passage is connected with bus;
3) control by CON1, CON2 passage is connected to resistance R 4, R3 in the bus;
4) if the bus of detected node was cut off with being connected of external node: because resistance R 1, the disconnection that is connected of R2 and bus, the CANH of detected node and CANL are in open-collector state, because R4, R3 is connected in the bus, and the level of CANH and CANL is by R4, the level of R3 decides, be respectively CANH=1CANL=0 by DEC1 and the detected bus level of DEC2 in this state, opposite with level under the normal condition, this moment can be judged as CANH and CANL opens circuit;
5) in like manner, if the bus of detected node keeps normal with being connected of external node, according to 4) in situation when controlling and detecting, because the level of external bus can be pulled to normal condition with the level of detected node, so this moment, detected bus level was respectively CANH=0, CANL=1, can be judged as this moment does not have open circuit conditions to take place.
The invention has the beneficial effects as follows: circuit structure is simple, and is easy to use, detects accurately quick.
Description of drawings
Fig. 1 is a structural representation of the present invention.
Wherein, 1. external node, 2. tested node.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and embodiment.
Among Fig. 1, the CAN bus broken circuit detection circuit is arranged on 2 of an external node 1 and tested nodes, this circuit comprises two internodal CANH passage and CANL passages, be equipped with the resistance of two pairs of series connection and the control circuit that switch is formed on each passage, wherein the control circuit I of CANH passage is connected with the RTH end of tested node 2; The control circuit II of CANL passage is connected with the RTL of tested node 2 end.
Control circuit I consists of, and it comprises resistance R 1 and the switch S 3 of connecting with it, and resistance R 1 is connected with the RTH end of tested node, switch S 3 another termination CANH passages, and switch S 3 also is connected with tested node by the CON3 passage simultaneously; Resistance R 4 one ends are connected with power supply, and the other end is connected with switch S 1, should also be connected with tested node through DEC1 by end simultaneously, and this end of switch S 1 then is connected with tested node through the CON1 passage, its another termination CANH passage.
Control circuit II consists of, and it comprises resistance R 2 and the switch S 4 of connecting with it, and resistance R 2 is connected with the RTL end of tested node, switch S 4 another termination CANL passages, and switch S 4 also is connected with tested node by the CON4 passage simultaneously; Resistance R 3 one end ground connection, the other end is connected with switch S 2, should also be connected with tested node through DEC2 by end simultaneously, and this end of switch S 2 then is connected with tested node through the CON2 passage, its another termination CANL passage.
The switch of switch S 1, S2, S3 and S4 is little with leakage current respectively, and the big MOSFET of impedance realizes, in order to avoid the state when influencing bus normal communication and dormancy; Described resistance R 3 is selected different intrinsic standoff ratios with R4 according to the requirement of node, and resistance is more than 100K.
A kind of detection method of CAN bus broken circuit detection circuit, its method be,
1) system is in dormant state, CANH level=0V under the normal condition, CANL level=12V;
2) control off resistance R1, the R2 by CON3, CON4 passage is connected with bus;
3) control by CON1, CON2 passage is connected to resistance R 4, R3 in the bus;
4) if the bus of detected node was cut off with being connected of external node: because resistance R 1, the disconnection that is connected of R2 and bus, the CANH of detected node and CANL are in open-collector state, because R4, R3 is connected in the bus, and the level of CANH and CANL is by R4, the level of R3 decides, be respectively CANH=1CANL=0 by DEC1 and the detected bus level of DEC2 in this state, opposite with level under the normal condition, this moment can be judged as CANH and CANL opens circuit;
5) in like manner, if the bus of detected node keeps normal with being connected of external node, when controlling and detecting according to the situation in 4, because the level of external bus can be pulled to normal condition with the level of detected node, so this moment, detected bus level was respectively CANH=0, CANL=1, can be judged as this moment does not have open circuit conditions to take place.

Claims (3)

1, a kind of CAN bus broken circuit detection circuit, it is arranged between an external node and tested node, and it is characterized in that: this circuit comprises two internodal CANH passage and CANL passages, and wherein the control circuit I of CANH passage is connected with the RTH end of tested node; The control circuit II of CANL passage is connected with the RTL of tested node end; Control circuit I consists of, and it comprises resistance R 1 and the switch S 3 of connecting with it, and switch S 3 one ends are connected with the RTH end of tested node by resistance R 1, another termination CANH passage, and switch S 3 also is connected with tested node by the CON3 passage simultaneously; Resistance R 4 one ends are connected with power supply, and the other end is connected with switch S 1, and this other end also is connected with tested node through DEC1 simultaneously, and an end of switch S 1 links to each other with resistance R 4, another termination CANH passage, and switch S 1 also is connected with tested node by the CON1 passage simultaneously; Control circuit II consists of, and it comprises resistance R 2 and the switch S 4 of connecting with it, and switch S 4 one ends are connected with the RTL end of tested node by resistance R 2, another termination CANL passage, and switch S 4 also is connected with tested node by the CON4 passage simultaneously; Resistance R 3 one end ground connection, the other end is connected with switch S 2, and this other end also is connected with tested node through DEC2 simultaneously, and an end of switch S 2 links to each other with resistance R 3, another termination CANL passage, switch S 2 also is connected with tested node by the CON2 passage simultaneously.
2, CAN bus broken circuit detection circuit according to claim 1 is characterized in that: the switch of described switch S 1, S2, S3 and S4 is little with leakage current respectively, and the MOSFET that impedance is big realizes; Described resistance R 3 is selected different intrinsic standoff ratios with R4 according to the requirement of node, and resistance is more than 100K.
3, the detection method of the described CAN bus broken circuit detection circuit of a kind of claim 1 is characterized in that: its method is,
1) system is in dormant state, CANH level=0V under the normal condition, CANL level=12V;
2) control off resistance R1, the R2 by CON3, CON4 passage is connected with bus;
3) control by CON1, CON2 passage is connected to resistance R 4, R3 in the bus;
4) if the bus of detected node was cut off with being connected of external node: because resistance R 1, the disconnection that is connected of R2 and bus, the CANH of detected node and CANL are in open-collector state, because R4, R3 is connected in the bus, and the level of CANH and CANL is by R4, the level of R3 decides, be respectively CANH=1 CANL=0 by DEC1 and the detected bus level of DEC2 in this state, opposite with level under the normal condition, this moment is judged as CANH and CANL opens circuit;
5) in like manner, if the bus of detected node keeps normal with being connected of external node, according to 4) in situation when controlling and detecting, because the level of external bus can be pulled to normal condition with the level of detected node, so this moment, detected bus level was respectively CANH=0, CANL=1, being judged as this moment does not have open circuit conditions to take place.
CNB2007100153929A 2007-07-20 2007-07-20 CAN bus broken circuit detection circuit and method thereof Expired - Fee Related CN100565230C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100153929A CN100565230C (en) 2007-07-20 2007-07-20 CAN bus broken circuit detection circuit and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100153929A CN100565230C (en) 2007-07-20 2007-07-20 CAN bus broken circuit detection circuit and method thereof

Publications (2)

Publication Number Publication Date
CN101101316A CN101101316A (en) 2008-01-09
CN100565230C true CN100565230C (en) 2009-12-02

Family

ID=39035689

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100153929A Expired - Fee Related CN100565230C (en) 2007-07-20 2007-07-20 CAN bus broken circuit detection circuit and method thereof

Country Status (1)

Country Link
CN (1) CN100565230C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106154167A (en) * 2015-05-15 2016-11-23 硕天科技股份有限公司 Battery sensor with addressing mode and detecting mode

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101598758B (en) * 2009-07-03 2011-06-29 清华大学 Method used for detecting open circuit of wires with invariable wiring harness in automobile intelligent electronic system
US9568533B2 (en) * 2014-05-27 2017-02-14 GM Global Technology Operations LLC Method and apparatus for open-wire fault detection and diagnosis in a controller area network
US9678847B2 (en) * 2014-05-27 2017-06-13 GM Global Technology Operations LLC Method and apparatus for short fault detection in a controller area network
CN108064346A (en) * 2017-01-19 2018-05-22 深圳欣锐科技股份有限公司 A kind of CAN signal line shorted to earth test device
CN109799418A (en) * 2017-11-17 2019-05-24 厦门雅迅网络股份有限公司 A method of the connector connection status in detection automobile T-BOX
CN109656234A (en) * 2018-12-29 2019-04-19 上海联影医疗科技有限公司 Bus type monitoring system and its control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1052760A2 (en) * 1999-05-14 2000-11-15 Volkswagen Aktiengesellschaft CAN bus-system with automatic switch-off of parts of the network in case of faults
DE10133441C2 (en) * 2001-07-10 2003-10-30 Knorr Bremse Systeme Circuit arrangement for voltage balancing of data buses
CN201072433Y (en) * 2007-07-20 2008-06-11 山东省科学院自动化研究所 CAN bus open circuit detection circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1052760A2 (en) * 1999-05-14 2000-11-15 Volkswagen Aktiengesellschaft CAN bus-system with automatic switch-off of parts of the network in case of faults
DE10133441C2 (en) * 2001-07-10 2003-10-30 Knorr Bremse Systeme Circuit arrangement for voltage balancing of data buses
CN201072433Y (en) * 2007-07-20 2008-06-11 山东省科学院自动化研究所 CAN bus open circuit detection circuit

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CAN总线原理和应用系统设计. 邬宽明,165-166,北京航空航天大学出版社. 1996
CAN总线原理和应用系统设计. 邬宽明,165-166,北京航空航天大学出版社. 1996 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106154167A (en) * 2015-05-15 2016-11-23 硕天科技股份有限公司 Battery sensor with addressing mode and detecting mode
CN106154167B (en) * 2015-05-15 2018-11-02 硕天科技股份有限公司 Battery sensor with addressing mode and detecting mode

Also Published As

Publication number Publication date
CN101101316A (en) 2008-01-09

Similar Documents

Publication Publication Date Title
CN100565230C (en) CAN bus broken circuit detection circuit and method thereof
CN104429020A (en) Power over ethernet supervision
CN202600690U (en) Circuit for RS232 and RS485 communication modes
CN104881387B (en) A kind of USB connection methods and usb hub
CN211151975U (en) Vehicle-mounted Ethernet testing device
CN104615037A (en) CAN based vehicle-mounted equipment reminding device and method
CN201072433Y (en) CAN bus open circuit detection circuit
CN201039411Y (en) A mobile phone with self-adapted charging device
CN107425556A (en) Battery balanced device and battery equalization method
US7924750B1 (en) Method and apparatus for establishing a communication mode between network devices in a network
CN103683420B (en) Voltage balancing circuit of series-connected super-capacitor module of electric automobile
CN207896980U (en) Communication structure and communication system
CN106449670A (en) Optical module
CN205141742U (en) Large capacity battery access system that connects in parallel
CN203445871U (en) RS485 communication circuit
CN103532724A (en) MOST network interface circuit and MOST network state control method
CN109687863A (en) The driving circuit of RS485 chip
CN205196014U (en) LED drive arrangement with circuit joins conversely corrects function
CN204498148U (en) A kind of PoE switch giving non-standard equipment intelligent power supply
CN204498131U (en) A kind of DC testing circuit of HW High Way connectivity port and equipment and a kind of photoelectric communication equipment
CN102595731A (en) Light-dimming LED controller and output short-circuit protection method thereof
CN204539134U (en) Signal strengthens equipment and RS-485 communication system
CN209086774U (en) A kind of bus-powered circuit of DALI
CN204576183U (en) Multi-purpose CAN bus terminal resistor access device
CN207691407U (en) A kind of charging and discharging circuit and load are switched in or out detection circuit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091202

Termination date: 20190720