CN101799686A - Vehicle-mounted diagnosis system - Google Patents

Vehicle-mounted diagnosis system Download PDF

Info

Publication number
CN101799686A
CN101799686A CN200910214184A CN200910214184A CN101799686A CN 101799686 A CN101799686 A CN 101799686A CN 200910214184 A CN200910214184 A CN 200910214184A CN 200910214184 A CN200910214184 A CN 200910214184A CN 101799686 A CN101799686 A CN 101799686A
Authority
CN
China
Prior art keywords
lin
response message
message
request message
body controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910214184A
Other languages
Chinese (zh)
Other versions
CN101799686B (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.)
Chery Automobile Co Ltd
Original Assignee
SAIC Chery 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 SAIC Chery Automobile Co Ltd filed Critical SAIC Chery Automobile Co Ltd
Priority to CN 200910214184 priority Critical patent/CN101799686B/en
Publication of CN101799686A publication Critical patent/CN101799686A/en
Application granted granted Critical
Publication of CN101799686B publication Critical patent/CN101799686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention aims to provide a vehicle-mounted diagnosis system, which can diagnose faults of equipment which is connected with a vehicle body controller through an LIN bus. The vehicular diagnosis system of the invention comprises external diagnosis equipment and the vehicle body controller which has an LIN gateway and a CAN gateway, wherein the vehicle body controller communicates with secondary node equipment through the LIN bus; and the vehicle body controller communicates with the external diagnosis equipment through the CAN bus. The key points of the vehicle-mounted diagnosis system include: the external diagnosis equipment sends a CAN request message to the vehicle body controller through the CAN bus; the vehicle body controller receives the CAN request message, converts the CAN request message into an LIN request message and then sends the LIN request message to the secondary node equipment of the LIN bus; the LIN bus receives the LIN request message from the secondary node equipment and then sends an LIN response message to the vehicle body controller; and the vehicle body controller receives the LIN response message, converts the LIN response message to a CAN response message and then sends the CAN response message to the external diagnosis equipment.

Description

A kind of onboard diagnostic system
Technical field
The invention belongs to automobile mounted diagnostic techniques field, specially refer to the application of CAN bus and LIN bus.
Background technology
Because the cost of CAN bus is higher, therefore some structures on the automobile, function are simple at present, and real-time requires low, and the controller of cost sensitivity has all adopted the LIN bussing technique, as radar for backing car module, anti-pinching car window module, door module, light control module or the like.But car body controller not only is connected with the equipment on the LIN bus, also connect a lot of function complexity, the demanding equipment of real-time by the CAN bus, general On-Board Diagnostics (OBD) all utilizes external diagnosis equipment to realize by CAN bus and car body controller communication, can't directly diagnose the equipment that links to each other with car body controller by the LIN bus.
Summary of the invention
The objective of the invention is to propose a kind of onboard diagnostic system that can carry out fault diagnosis to the equipment that links to each other with car body controller by the LIN bus.
Onboard diagnostic system of the present invention comprises external diagnosis equipment, has the car body controller of LIN gateway and CAN gateway, described car body controller is connected with from node device by the LIN bus, by the CAN bus communication, key is that described external diagnosis equipment sends the CAN request message by the CAN bus to car body controller between described car body controller and the external diagnosis equipment; After car body controller is received the CAN request message, the CAN request message changed into the LIN request message and send to the LIN bus from node device; Receiving behind the LIN request message from node device of LIN bus sends the LIN response message to car body controller; After car body controller is received the LIN response message, the LIN response message is changed into the CAN response message and sends to external diagnosis equipment.
Onboard diagnostic system of the present invention is a physical media with CAN bus and LIN bus, by car body controller the message of two kinds of different-formats is changed, thereby has been reached carrying out fault diagnosis from node device on the LIN bus.Above-mentioned message all adopts international standard agreement, thereby has realized versatility, makes things convenient for the exploitation and the expansion of diagnostic system.
Specifically, described CAN request message comprises Read fault sign indicating number CAN request message and removes diagnostic trouble code CAN request message; Described CAN response message comprises Read fault sign indicating number CAN response message and removes diagnostic trouble code CAN response message; Described LIN request message comprises Read fault sign indicating number LIN request message and removes diagnostic trouble code LIN request message; Described LIN response message comprises Read fault sign indicating number LIN response message and removes diagnostic trouble code LIN response message.
Described CAN request message and CAN response message adopt CAN diagnosis message format, follow the KWP2000 standard.
At least comprise from the address of node in described LIN request message and the LIN response message, protocol-control-information, service identifier information, described service identifier information is followed the KWP2000 standard.
Read fault sign indicating number LIN request message in the described LIN request message also comprises diagnostic trouble code status information and fault code group information.
Removing diagnostic trouble code LIN request message in the described LIN request message also comprises the fault code group information.
Read fault sign indicating number LIN response message in the described LIN response message also comprises the diagnostic trouble code quantity information, when diagnostic trouble code quantity is non-vanishing, also comprises diagnostic trouble code information in the Read fault sign indicating number LIN response message.
When the overabundance of data from the Read fault sign indicating number LIN response message that node device sent of LIN bus and can't in a frame message, send the time, the LIN bus from node device data are split as a plurality of packets, then these packets are divided into the multiframe message and transmit in order, wherein comprise message length information in the first frame message.
Removing diagnostic trouble code LIN response message in the described LIN response message also comprises the fault code group information.
Onboard diagnostic system of the present invention is a physical media with CAN bus and LIN bus, by car body controller the message of two kinds of different-formats is changed, thereby has been reached carrying out fault diagnosis from node device on the LIN bus.Above-mentioned message all adopts international standard agreement, thereby has realized versatility, makes things convenient for the exploitation and the expansion of diagnostic system.The present invention has also done special setting at various messages, makes message be applicable to more carrying out fault diagnosis from node device on the LIN bus.
Description of drawings
Fig. 1 is the frame diagram of onboard diagnostic system of the present invention;
Fig. 2 is the message format of the Read fault sign indicating number LIN request message of car body controller transmission;
Fig. 3 is the message format of the removing diagnostic trouble code LIN request message of car body controller transmission;
Fig. 4 is the single frames message format of the Read fault sign indicating number LIN response message that sends from node device on the LIN bus;
Fig. 5 is the multiframe message format of the Read fault sign indicating number LIN response message that sends from node device on the LIN bus;
Fig. 6 is the message format of the Read fault sign indicating number LIN response message that sends when the non-fault sign indicating number from node device on the LIN bus;
Fig. 7 is the message format of the removing diagnostic trouble code LIN response message that sends from node device on the LIN bus;
Fig. 8 is the form of the protocol-control-information in LIN request message and the LIN response message.
Embodiment
Describe the present invention in detail below in conjunction with specific embodiments and the drawings.
Embodiment 1:
As shown in Figure 1, the onboard diagnostic system of present embodiment comprises external diagnosis equipment, has the car body controller of LIN gateway and CAN gateway, described car body controller is connected with from node device by the LIN bus, by the CAN bus communication, key is that described external diagnosis equipment sends the CAN request message by the CAN bus to car body controller between described car body controller and the external diagnosis equipment; After car body controller is received the CAN request message, the CAN request message changed into the LIN request message and send to the LIN bus from node device; Receiving behind the LIN request message from node device of LIN bus sends the LIN response message to car body controller; After car body controller is received the LIN response message, the LIN response message is changed into the CAN response message and sends to external diagnosis equipment.
Specifically, described CAN request message comprises Read fault sign indicating number CAN request message and removes diagnostic trouble code CAN request message; Described CAN response message comprises Read fault sign indicating number CAN response message and removes diagnostic trouble code CAN response message; Described LIN request message comprises Read fault sign indicating number LIN request message and removes diagnostic trouble code LIN request message; Described LIN response message comprises Read fault sign indicating number LIN response message and removes diagnostic trouble code LIN response message.Concrete message format is seen Fig. 2~8, wherein Read fault sign indicating number CAN request message, removing diagnostic trouble code CAN request message, Read fault sign indicating number CAN response message and removing diagnostic trouble code CAN response message are to adopt CAN diagnosis message format, specifically, do not do elaborating here with reference to the KWP2000 standard.
At least comprise from the address of node (i.e. NOD the figure), protocol-control-information (i.e. PCI among the figure), service identifier information (i.e. SID among the figure) in described LIN request message and the LIN response message, described service identifier information is followed the KWP2000 standard.The form of the protocol-control-information in LIN request message and the LIN response message comprises protocol type and address information as shown in Figure 8.
As shown in Figure 2, the Read fault sign indicating number LIN request message in the described LIN request message also comprises diagnostic trouble code status information and fault code group information.
As shown in Figure 3, the removing diagnostic trouble code LIN request message in the described LIN request message also comprises the fault code group information.
Shown in Fig. 4,5,6, the Read fault sign indicating number LIN response message in the described LIN response message also comprises the diagnostic trouble code quantity information; Shown in Fig. 4,5, when diagnostic trouble code quantity is non-vanishing, also comprise diagnostic trouble code information in the Read fault sign indicating number LIN response message.
As shown in Figure 5, when the overabundance of data from the Read fault sign indicating number LIN response message that node device sent of LIN bus and can't in a frame message, send the time, the LIN bus from node device data are split as a plurality of packets, then these packets are divided into the multiframe message and transmit in order, wherein comprise message length information (being the Length among Fig. 5) in the first frame message.
As shown in Figure 7, the removing diagnostic trouble code LIN response message in the described LIN response message also comprises the fault code group information.

Claims (8)

1. onboard diagnostic system, comprise external diagnosis equipment, have the car body controller of LIN gateway and CAN gateway, described car body controller is connected with from node device by the LIN bus, by the CAN bus communication, it is characterized in that described external diagnosis equipment sends the CAN request message by the CAN bus to car body controller between described car body controller and the external diagnosis equipment; After car body controller is received the CAN request message, the CAN request message changed into the LIN request message and send to the LIN bus from node device; Receiving behind the LIN request message from node device of LIN bus sends the LIN response message to car body controller; After car body controller is received the LIN response message, the LIN response message is changed into the CAN response message and sends to external diagnosis equipment.
2. onboard diagnostic system according to claim 1 is characterized in that described CAN request message comprises Read fault sign indicating number CAN request message and removes diagnostic trouble code CAN request message; Described CAN response message comprises Read fault sign indicating number CAN response message and removes diagnostic trouble code CAN response message; Described LIN request message comprises Read fault sign indicating number LIN request message and removes diagnostic trouble code LIN request message; Described LIN response message comprises Read fault sign indicating number LIN response message and removes diagnostic trouble code LIN response message.
3. onboard diagnostic system according to claim 1 and 2 is characterized in that described CAN request message and CAN response message adopt CAN diagnosis message format.
4. onboard diagnostic system according to claim 1 and 2, it is characterized in that comprising from the address of node at least in described LIN request message and the LIN response message, protocol-control-information, service identifier information, described service identifier information is followed the KWP2000 standard.
5. onboard diagnostic system according to claim 4 is characterized in that the Read fault sign indicating number LIN request message in the described LIN request message also comprises diagnostic trouble code status information and fault code group information.
6. onboard diagnostic system according to claim 4, it is characterized in that the Read fault sign indicating number LIN response message in the described LIN response message also comprises the diagnostic trouble code quantity information, when diagnostic trouble code quantity is non-vanishing, also comprise diagnostic trouble code information in the Read fault sign indicating number LIN response message.
7. onboard diagnostic system according to claim 6, it is characterized in that when the overabundance of data from the Read fault sign indicating number LIN response message that node device sent of LIN bus and can't in a frame message, send the time, the LIN bus from node device data are split as a plurality of packets, then these packets are divided into the multiframe message and transmit in order, wherein comprise message length information in the first frame message.
8. onboard diagnostic system according to claim 4 is characterized in that the removing diagnostic trouble code LIN response message in the described LIN response message also comprises the fault code group information.
CN 200910214184 2009-12-25 2009-12-25 Vehicle-mounted diagnosis system Active CN101799686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910214184 CN101799686B (en) 2009-12-25 2009-12-25 Vehicle-mounted diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910214184 CN101799686B (en) 2009-12-25 2009-12-25 Vehicle-mounted diagnosis system

Publications (2)

Publication Number Publication Date
CN101799686A true CN101799686A (en) 2010-08-11
CN101799686B CN101799686B (en) 2013-07-17

Family

ID=42595391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910214184 Active CN101799686B (en) 2009-12-25 2009-12-25 Vehicle-mounted diagnosis system

Country Status (1)

Country Link
CN (1) CN101799686B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930232A (en) * 2010-08-17 2010-12-29 浙江吉利汽车研究院有限公司 Window glass lifter diagnosis system based on LIN bus
CN102275524A (en) * 2011-06-30 2011-12-14 奇瑞汽车股份有限公司 Diagnostic system and diagnostic method for power battery packs
WO2013053977A1 (en) * 2011-10-11 2013-04-18 Sandvik Mining And Construction Oy A method, system and a device for controlling a work machine
CN103718218A (en) * 2011-07-26 2014-04-09 美国联合包裹服务公司 Systems and methods for managing fault codes
CN105025058A (en) * 2014-04-28 2015-11-04 广州汽车集团股份有限公司 Vehicle remote diagnosis method, vehicle remote monitoring method and vehicle-mounted terminal
CN106375943A (en) * 2016-09-30 2017-02-01 安徽江淮汽车股份有限公司 Vehicle-mounted fault diagnosis system and method
CN106406276A (en) * 2015-07-29 2017-02-15 罗伯特·博世有限公司 Method and device for the on-board diagnosis of a control unit
CN113204226A (en) * 2021-04-25 2021-08-03 重庆长安汽车股份有限公司 Vehicle diagnosis system and method
CN113341906A (en) * 2020-03-02 2021-09-03 北京新能源汽车股份有限公司 Fault processing method, device and equipment and automobile
CN116560342A (en) * 2023-05-25 2023-08-08 无锡车联天下信息技术有限公司 Vehicle fault diagnosis method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2932844Y (en) * 2006-07-18 2007-08-08 吉林大学 Vehicle body controller that supports multiple bus connection
CN200983203Y (en) * 2006-11-26 2007-11-28 埃泰克汽车电子(芜湖)有限公司 A signal conversion module
CN201235796Y (en) * 2007-12-27 2009-05-13 奇瑞汽车股份有限公司 Communication system for automobile
CN101557328B (en) * 2009-05-12 2011-04-13 陈振华 Method for generating substation detection message in automobile CAN-bus car body control system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930232B (en) * 2010-08-17 2012-10-10 浙江吉利汽车研究院有限公司 Window glass lifter diagnosis system based on LIN bus
CN101930232A (en) * 2010-08-17 2010-12-29 浙江吉利汽车研究院有限公司 Window glass lifter diagnosis system based on LIN bus
CN102275524A (en) * 2011-06-30 2011-12-14 奇瑞汽车股份有限公司 Diagnostic system and diagnostic method for power battery packs
US9811951B2 (en) 2011-07-26 2017-11-07 United Parcel Service Of America, Inc. Systems and methods for managing fault codes
CN103718218A (en) * 2011-07-26 2014-04-09 美国联合包裹服务公司 Systems and methods for managing fault codes
US9292979B2 (en) 2011-07-26 2016-03-22 United Parcel Service Of America, Inc. Systems and methods for managing fault codes
CN103718218B (en) * 2011-07-26 2016-10-05 美国联合包裹服务公司 For managing the system and method for failure code
WO2013053977A1 (en) * 2011-10-11 2013-04-18 Sandvik Mining And Construction Oy A method, system and a device for controlling a work machine
CN105025058A (en) * 2014-04-28 2015-11-04 广州汽车集团股份有限公司 Vehicle remote diagnosis method, vehicle remote monitoring method and vehicle-mounted terminal
CN105025058B (en) * 2014-04-28 2018-11-23 广州汽车集团股份有限公司 Vehicle remote diagnosis method, remote vehicle monitoring method and car-mounted terminal
CN106406276B (en) * 2015-07-29 2021-07-27 罗伯特·博世有限公司 Method and device for on-board diagnostics in a control device
CN106406276A (en) * 2015-07-29 2017-02-15 罗伯特·博世有限公司 Method and device for the on-board diagnosis of a control unit
CN106375943A (en) * 2016-09-30 2017-02-01 安徽江淮汽车股份有限公司 Vehicle-mounted fault diagnosis system and method
CN113341906A (en) * 2020-03-02 2021-09-03 北京新能源汽车股份有限公司 Fault processing method, device and equipment and automobile
CN113204226A (en) * 2021-04-25 2021-08-03 重庆长安汽车股份有限公司 Vehicle diagnosis system and method
CN116560342A (en) * 2023-05-25 2023-08-08 无锡车联天下信息技术有限公司 Vehicle fault diagnosis method and device

Also Published As

Publication number Publication date
CN101799686B (en) 2013-07-17

Similar Documents

Publication Publication Date Title
CN101799686B (en) Vehicle-mounted diagnosis system
CN109491357B (en) Apparatus for performing diagnostic operations on a plurality of controllers and related method and vehicle
CN209570850U (en) A kind of vehicle remote fault diagnosis system
CN201638076U (en) Vehicle-mounted diagnosis device based on CAN (Content Addressable Network) bus
CN111343085B (en) Routing system and method of vehicle-mounted CAN bus gateway
CN101382803A (en) Vehicle-mounted on-line diagnose system based on SAEJ1939
CN104118372B (en) A kind of hybrid electric vehicle CAN network system
CN101428595A (en) Bus line type passenger car fault alarm apparatus and method
CN209030252U (en) A kind of new-energy automobile communication network structure
CN101770234A (en) Diagnostic system for car body controller based on SAEJ1939
CN201619517U (en) Bus type bus fault warning device
CN105911898A (en) Vehicle control unit, automobile and controller area network data transmission method
CN110562275B (en) Multichannel dual-redundancy rail transit vehicle reconnection system and method
CN201804266U (en) CAN bus based communication network system of heavy truck
CN110731089A (en) Data transmission device and data transmission method for vehicle
CN201619537U (en) Automobile communication network system and automobile
CN115051975A (en) ECU remote upgrading method based on vehicle-mounted Ethernet
CN102752201A (en) Ethernet-based car multimedia information transmission system and method
CN102681526A (en) CAN (controller area network) bus system and fault diagnosis method thereof
CN112793624A (en) Train control and monitoring system based on TSN
CN107633668B (en) Infrared communication method and device for battery management in Internet of vehicles
CN102111305A (en) Method for monitoring running state of network node in network structure of CAN
Wang et al. Connected vehicle systems: Communication, data, and control
CN103257648B (en) Automobile calibration system
CN105911939B (en) The judgement implementation method and its system of automotive service pattern

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20100811

Assignee: Wuhu Kai wing Automobile Co., Ltd.

Assignor: Saic Chery Automobile Co., Ltd.

Contract record no.: 2017990000478

Denomination of invention: Vehicle-mounted diagnosis system

Granted publication date: 20130717

License type: Common License

Record date: 20171208