CN112835343A - Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle - Google Patents

Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle Download PDF

Info

Publication number
CN112835343A
CN112835343A CN202110002782.2A CN202110002782A CN112835343A CN 112835343 A CN112835343 A CN 112835343A CN 202110002782 A CN202110002782 A CN 202110002782A CN 112835343 A CN112835343 A CN 112835343A
Authority
CN
China
Prior art keywords
bus
checking
whole vehicle
message
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110002782.2A
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.)
Dongfeng Automobile Co Ltd
Original Assignee
Dongfeng Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Automobile Co Ltd filed Critical Dongfeng Automobile Co Ltd
Priority to CN202110002782.2A priority Critical patent/CN112835343A/en
Publication of CN112835343A publication Critical patent/CN112835343A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Abstract

The invention discloses a method for rapidly checking the error frame of a CAN bus of a whole vehicle, which is characterized by comprising the following steps: the bus baud rate mismatching checking method comprises the following steps of 1; step 2, checking fault-tolerant error frames; step 3, checking a bit filling error frame; step 4, the single controller CAN _ H and CAN _ L are reversely connected for checking; and 5, checking the bus ID collision. According to the invention, the fault can be judged by detecting the error in any step of the steps 1-4, the whole process is not required to be completed, and the detection efficiency is high.

Description

Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle
Technical Field
The invention relates to the technical field of automobile networks, in particular to a method for quickly checking error frames of a CAN (controller area network) bus of a whole automobile.
Background
The traditional automobile has single function and simple structure, the number of CAN network nodes of the whole automobile is small, the mutual interference of data streams of buses is small, the bus fault diagnosis is relatively simple, and generally a simple reverse flow diagnosis scheme CAN be adopted for fault diagnosis, namely a fault node elimination method (a controller plug connector is pulled out). With the development of automobile entertainment, intellectualization and electromotion, more and more nodes are arranged on a single CAN network, the number of the nodes is increased to more than 10 through 4-5 nodes, the interference factors of each node on each controller in the whole automobile network are increased, and if a reverse fault node elimination method is adopted, the fault diagnosis time is long, and the cause of CAN fault CAN not be positioned.
Disclosure of Invention
The invention aims to solve the defects in the background technology and provides a method for quickly checking the error frames of the CAN bus of the whole vehicle, which has high checking efficiency.
In order to achieve the aim, the invention discloses a method for quickly checking the error frame of a CAN bus of a whole vehicle, which is characterized by comprising the following steps: bus baud rate mismatch troubleshooting:
the ignition switch is in an ON gear, a bus VOCTOR CAN tool baud rate detection bus is switched, whether a whole vehicle message exists in the bus message or not is observed, a corresponding controller is locked according to the whole vehicle message information, and the baud rate of the controller is judged to be inconsistent with that of the whole vehicle;
as a preferable scheme of the invention, the method further comprises the following steps: troubleshooting error frames:
the ignition switch is in an ON gear, a VTCTOR CAN is adopted to detect that the bus has no message, and the following investigation is carried out:
disconnecting the cathode of the storage battery, and detecting whether the OBD diagnosis interface CAN _ H and CAN _ L are conducted or not by using a universal meter
If the CAN _ H and CAN _ L wiring harnesses are communicated, the whole vehicle CAN _ H and CAN _ L wiring harnesses need to be checked;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H is conducted with the ground or not by using a universal meter, and if the OBD diagnosis interface CAN _ H is conducted with the ground, further checking a CAN _ H wire harness;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H is connected with a power supply or not by using a universal meter, and if the OBD diagnosis interface CAN _ H is connected with the power supply, further checking a CAN _ H wire harness;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ L is conducted with the power supply by using a universal meter,
if the CAN _ L wiring harness is conducted, the CAN _ L wiring harness needs to be further checked.
Further, the method also comprises the following steps: bit stuffing error frame checking:
and the ignition switch is in an ON gear, a VTCTOR CAN is adopted to detect that an error frame exists in a bus, the detailed information of the error frame is expanded, whether a stuff error exists is checked, if so, the controller is further positioned through an ID, and the error frame is filled.
Still further, the method comprises the steps of: and the single controller CAN _ H and CAN _ L are reversely connected for checking:
and the ignition switch is in an ON gear, pins of a CAN _ H and a CAN _ L of the reverse connection test tool are connected for bus monitoring, whether a whole vehicle message exists is observed, if so, a corresponding controller is positioned according to the whole vehicle message, and the CAN _ H and the CAN _ L are connected reversely.
Still further, the method comprises the steps of: bus ID collision checking:
and (3) the ignition switch is in an ON gear, a VTCTOR CAN detection bus is adopted to observe whether the message period has a sudden change condition, if so, the corresponding controller is disconnected, the monitoring is continued, if corresponding message IDs (identities) need to be further checked, and if not, the fault of the corresponding controller is judged.
According to the invention, the error frame of the CAN bus is checked through five steps which are gradually advanced, and the fault CAN be judged by detecting the error in any step without running the whole process, so that the detection efficiency is high.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention will now be described in further detail, including the preferred embodiments, with reference to the accompanying drawings and by way of illustration of some alternative embodiments of the invention. It is to be understood that the described embodiments are merely a few embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without any inventive step, are within the scope of the present invention.
The embodiment discloses a method for rapidly checking an error frame of a CAN (controller area network) bus of a whole vehicle, which is characterized by comprising the following steps of:
step 1, bus baud rate mismatching investigation:
the ignition switch is in ON grade, switch over bus VOCTOR CAN (such as CANoe) tool baud rate (if the whole car is 250Kbps/s, switch over to 500 Kbps/s; if the whole car bus is 500Kbps/s, switch over to 250Kbps/s) detection bus, observe whether the bus message has the whole car message, lock the corresponding controller according to the whole car message information, judge that this controller baud rate is not in accordance with the whole car;
step 2, checking fault-tolerant error frames:
the ignition switch is in ON gear, VTCTOR CAN (such as CANoe) is adopted to detect the bus has no message, and the investigation is as follows:
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interfaces CAN _ H and CAN _ L are conducted (the resistance is less than 5 omega) by using a universal meter, and if the OBD diagnosis interfaces CAN _ H and CAN _ L are conducted, checking the harnesses of the CAN _ H and the CAN _ L of the whole vehicle;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H is conducted with the ground or not by using a universal meter, and if the OBD diagnosis interface CAN _ H is conducted with the ground, further checking a CAN _ H wire harness;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H is connected with a power supply or not by using a universal meter, and if the OBD diagnosis interface CAN _ H is connected with the power supply, further checking a CAN _ H wire harness;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ L is conducted with the power supply by using a universal meter,
if the CAN _ L wiring harness is conducted, the CAN _ L wiring harness needs to be further checked.
Step 3, checking a bit filling error frame:
and (3) the ignition switch is in an ON gear, a VTCTOR CAN (such as CANoe) is adopted to detect that an error frame exists in the bus, the detailed information of the error frame is expanded, whether a stuff error exists is checked, if so, the controller is further positioned through an ID, and the error frame is bit-filled.
Step 4, the single controller CAN _ H and CAN _ L are reversely connected for checking:
the ignition switch is in ON gear, the pins of CAN _ H and CAN _ L of a reverse connection testing tool (such as CANoe) are subjected to bus monitoring, whether a message of the whole vehicle exists or not is observed, if so, a corresponding controller is positioned according to the message of the whole vehicle, and the CAN _ H and CAN _ L are reversely connected.
And 5, bus ID collision checking:
and (3) detecting a bus by adopting a VTCTOR CAN (such as CANoe) when the ignition switch is in an ON gear, observing whether the message period has a sudden change condition, if so, disconnecting the corresponding controller, continuing monitoring, if still having the corresponding message ID, further checking the corresponding ID source, and if not, judging that the corresponding controller has a fault.
In the embodiment, the fault can be judged by detecting the error in any step of the steps 1 to 4, the whole process is not required to be run out, and the detection efficiency is high.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and any modification, combination, replacement, or improvement made within the spirit and principle of the present invention is included in the scope of the present invention.

Claims (5)

1. A method for rapidly checking error frames of a CAN bus of a whole vehicle is characterized by comprising the following steps:
bus baud rate mismatch troubleshooting:
the ignition switch is in an ON gear, the bus VOCTOR CAN tool baud rate detection bus is switched, whether the bus message has a whole vehicle message or not is observed, a corresponding controller is locked according to the whole vehicle message information, and the baud rate of the controller is judged to be inconsistent with that of the whole vehicle.
2. The method for rapidly checking the error frames of the CAN bus of the whole vehicle according to claim 1, further comprising the steps of:
troubleshooting error frames:
the ignition switch is in an ON gear, a VTCTOR CAN is adopted to detect that the bus has no message, and the following investigation is carried out:
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H and CAN _ L are conducted or not by using a universal meter, and if so, checking the harnesses of the CAN _ H and the CAN _ L of the whole vehicle;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H is conducted with the ground or not by using a universal meter, and if the OBD diagnosis interface CAN _ H is conducted with the ground, further checking a CAN _ H wire harness;
disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ H is connected with a power supply or not by using a universal meter, and if the OBD diagnosis interface CAN _ H is connected with the power supply, further checking a CAN _ H wire harness;
and disconnecting the cathode of the storage battery, detecting whether the OBD diagnosis interface CAN _ L is connected with the power supply by using a universal meter, and if the OBD diagnosis interface CAN _ L is connected with the power supply, further checking the CAN _ L wire harness.
3. The method for rapidly checking the error frames of the CAN bus of the whole vehicle according to claim 2, further comprising the steps of:
bit stuffing error frame checking:
and the ignition switch is in an ON gear, a VTCTOR CAN is adopted to detect that an error frame exists in a bus, the detailed information of the error frame is expanded, whether a stuff error exists is checked, if so, the controller is further positioned through an ID, and the error frame is filled.
4. The method for rapidly checking the error frames of the CAN bus of the whole vehicle according to claim 3, further comprising the steps of:
and the single controller CAN _ H and CAN _ L are reversely connected for checking:
and the ignition switch is in an ON gear, pins of a CAN _ H and a CAN _ L of the reverse connection test tool are connected for bus monitoring, whether a whole vehicle message exists is observed, if so, a corresponding controller is positioned according to the whole vehicle message, and the CAN _ H and the CAN _ L are connected reversely.
5. The method for rapidly checking the error frames of the CAN bus of the whole vehicle according to claim 4, further comprising the steps of:
bus ID collision checking:
and (3) the ignition switch is in an ON gear, a VTCTOR CAN detection bus is adopted to observe whether the message period has a sudden change condition, if so, the corresponding controller is disconnected, the monitoring is continued, if corresponding message IDs (identities) need to be further checked, and if not, the fault of the corresponding controller is judged.
CN202110002782.2A 2021-01-04 2021-01-04 Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle Pending CN112835343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110002782.2A CN112835343A (en) 2021-01-04 2021-01-04 Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110002782.2A CN112835343A (en) 2021-01-04 2021-01-04 Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle

Publications (1)

Publication Number Publication Date
CN112835343A true CN112835343A (en) 2021-05-25

Family

ID=75927367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110002782.2A Pending CN112835343A (en) 2021-01-04 2021-01-04 Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle

Country Status (1)

Country Link
CN (1) CN112835343A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242609A (en) * 2022-07-13 2022-10-25 东风越野车有限公司 Whole vehicle CAN bus fault frame analysis method and device and vehicle
CN117376058A (en) * 2023-12-07 2024-01-09 武汉神动汽车电子电器股份有限公司 CAN bus baud rate self-adaption method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272663A (en) * 2012-05-14 2015-01-07 丰田自动车株式会社 Vehicle-specific network communication management device and communication management method
CN104956626A (en) * 2013-01-28 2015-09-30 日立汽车系统株式会社 Network device and data sending and receiving system
CN105592157A (en) * 2015-12-28 2016-05-18 上海博泰悦臻网络技术服务有限公司 Vehicle network signal access device and method, vehicle communication terminal and vehicle
CN107491055A (en) * 2017-05-08 2017-12-19 宝沃汽车(中国)有限公司 The test system and method for bus
CN108809783A (en) * 2017-04-27 2018-11-13 通用汽车环球科技运作有限责任公司 Method and system for diagnosing controller Local Area Network
US20190129778A1 (en) * 2017-10-31 2019-05-02 Hewlett Packard Enterprise Development Lp Detecting bus faults
CN109768907A (en) * 2019-01-09 2019-05-17 北京安控科技股份有限公司 A kind of CAN bus baud rate self-adapting setting method
CN111665821A (en) * 2020-06-08 2020-09-15 重庆长安汽车股份有限公司 Error frame checking method based on vehicle diagnosis service
US10922264B1 (en) * 2020-02-04 2021-02-16 Nxp B.V. CAN transceiver

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104272663A (en) * 2012-05-14 2015-01-07 丰田自动车株式会社 Vehicle-specific network communication management device and communication management method
CN104956626A (en) * 2013-01-28 2015-09-30 日立汽车系统株式会社 Network device and data sending and receiving system
CN105592157A (en) * 2015-12-28 2016-05-18 上海博泰悦臻网络技术服务有限公司 Vehicle network signal access device and method, vehicle communication terminal and vehicle
CN108809783A (en) * 2017-04-27 2018-11-13 通用汽车环球科技运作有限责任公司 Method and system for diagnosing controller Local Area Network
CN107491055A (en) * 2017-05-08 2017-12-19 宝沃汽车(中国)有限公司 The test system and method for bus
US20190129778A1 (en) * 2017-10-31 2019-05-02 Hewlett Packard Enterprise Development Lp Detecting bus faults
CN109768907A (en) * 2019-01-09 2019-05-17 北京安控科技股份有限公司 A kind of CAN bus baud rate self-adapting setting method
US10922264B1 (en) * 2020-02-04 2021-02-16 Nxp B.V. CAN transceiver
CN111665821A (en) * 2020-06-08 2020-09-15 重庆长安汽车股份有限公司 Error frame checking method based on vehicle diagnosis service

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115242609A (en) * 2022-07-13 2022-10-25 东风越野车有限公司 Whole vehicle CAN bus fault frame analysis method and device and vehicle
CN115242609B (en) * 2022-07-13 2023-10-20 东风越野车有限公司 Whole vehicle CAN bus fault frame analysis method and device and vehicle
CN117376058A (en) * 2023-12-07 2024-01-09 武汉神动汽车电子电器股份有限公司 CAN bus baud rate self-adaption method

Similar Documents

Publication Publication Date Title
CN112835343A (en) Method for rapidly checking error frames of CAN (controller area network) bus of whole vehicle
CN103612567B (en) A kind of High-voltage safety protection system of electromobile and method thereof
WO2022184069A1 (en) Automobile bus fault analysis method, diagnosis device, and bus fault analysis system
CN204989961U (en) New forms of energy vehicle failure diagnostic system based on bus instrument and vehicle control unit
CN105007197A (en) Method and device for monitoring communication state of MVB bus
CN106527410A (en) Data recording gateway for vehicle and diagnosis system based on gateway
CN109901555A (en) A kind of car fault diagnosis method, equipment and storage medium
CN201307060Y (en) OBD communication diagnostic test station
CN202815576U (en) An auxiliary test box for electrical function test of an ECU
CN101174369A (en) Fault diagnosis didactics and experimental device of vehicle CAN bus system
CN103064399B (en) Fault simulation analytical equipment for vehicle diagnostics
CN111131016A (en) Network equipment fault diagnosis method, switching method and fault diagnosis system
US10341170B2 (en) Method for diagnosing link status in network
CN113114518A (en) Communication wire harness fault troubleshooting method based on bus physical topology
CN111708661A (en) Pressure testing system and method suitable for central gateway
CN205068148U (en) On -vehicle computer detects platform
CN115617007A (en) Ethernet protocol vehicle-mounted entertainment system test bench construction method and test bench
CN113438115A (en) Train Ethernet backbone network line fault diagnosis method, system and device
JP2006510990A (en) Functional fault diagnosis method for functional architecture
US20230339485A1 (en) Onboard datalink voltage monitoring for improved diagnostics
FR2861866A1 (en) Physical breakdown e.g. short circuit, diagnosis process for high speed CAN network, involves measuring maximum and minimum voltages on CAN-H and CAN-L cables of network to detect short circuit between cables and mass loss of computer
CN207321272U (en) A kind of LIN lines failure detector
US7664579B2 (en) Test interface for diagnosing communication faults in automobiles
CN113805567B (en) MVB fault diagnosis method, train control unit and rail locomotive
Robertson Network diagnostic flow chart-how to troubleshoot vehicle level CAN communication and CAN diagnostic issues on Nissan and Infinity vehicles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210525