[go: up one dir, main page]

CN108052095A - A kind of automotive diagnostic system and automobile - Google Patents

A kind of automotive diagnostic system and automobile Download PDF

Info

Publication number
CN108052095A
CN108052095A CN201810082320.4A CN201810082320A CN108052095A CN 108052095 A CN108052095 A CN 108052095A CN 201810082320 A CN201810082320 A CN 201810082320A CN 108052095 A CN108052095 A CN 108052095A
Authority
CN
China
Prior art keywords
relay
controller
state
line
obd interface
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
CN201810082320.4A
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.)
BAIC Group ORV Co ltd
Original Assignee
Beijing Automotive Research Institute 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 Beijing Automotive Research Institute Co Ltd filed Critical Beijing Automotive Research Institute Co Ltd
Priority to CN201810082320.4A priority Critical patent/CN108052095A/en
Publication of CN108052095A publication Critical patent/CN108052095A/en
Pending legal-status Critical Current

Links

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

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)

Abstract

本发明提供一种汽车诊断系统及汽车,涉及汽车故障诊断技术领域,汽车诊断系统包括:网关控制器;通过第一线路和第二线路与网关控制器连接的OBD接口;第一线路上设置有继电器,且继电器还与汽车的部件控制器连接;网关控制器通过第一线路控制继电器呈第一状态或第二状态;继电器处于第一状态时,OBD接口与部件控制器之间的线路连通,OBD接口与部件控制器之间直接进行诊断数据传输;继电器处于第二状态时,OBD接口与部件控制器之间的诊断数据,经过第二线路,通过网关控制器转发。本发明的方案避免了在故障诊断时通过引线获取数据,也避免了OBD接口直接与整车所有网段连接,提高了整车数据安全性,降低了整车的安全隐患。

The invention provides an automobile diagnosis system and automobile, and relates to the technical field of automobile fault diagnosis. The automobile diagnosis system includes: a gateway controller; an OBD interface connected to the gateway controller through a first line and a second line; the first line is provided with relay, and the relay is also connected to the component controller of the car; the gateway controller controls the relay to be in the first state or the second state through the first line; when the relay is in the first state, the OBD interface is connected to the line between the component controller, Diagnosis data transmission is directly performed between the OBD interface and the component controller; when the relay is in the second state, the diagnostic data between the OBD interface and the component controller is forwarded by the gateway controller through the second line. The scheme of the present invention avoids data acquisition through lead wires during fault diagnosis, and also avoids the OBD interface being directly connected to all network segments of the vehicle, thereby improving data security of the vehicle and reducing potential safety hazards of the vehicle.

Description

一种汽车诊断系统及汽车A kind of automobile diagnosis system and automobile

技术领域technical field

本发明属于汽车故障诊断技术领域,尤其是涉及一种汽车诊断系统及汽车。The invention belongs to the technical field of automobile fault diagnosis, and in particular relates to an automobile diagnosis system and an automobile.

背景技术Background technique

随着汽车技术的飞速发展,人们对汽车的安全性和可靠性有了更高的要求。汽车内部电控系统故障不仅会影响汽车的正常运行,甚至会造成安全事故。为了保证汽车的安全性,将事故发生机率降低到可控范围内,汽车电控系统的诊断系统的实现越来越重要,车载诊断系统(On-Board Diagnostic,简称:OBD)接口作为诊断设备与整车交互诊断数据的通道,其实现机制尤为重要。传统的诊断接口直接连接整车所有网段,诊断数据和网络通信数据可直接通过诊断接口读取,不能有效保证整车数据的安全性;另外一种普遍采用的诊断接口,通过网关控制器与整车网络相连,网关控制器转发诊断设备和整车控制器之间的诊断数据,其实现方式保证整车数据的安全性,但在整车开发或售后阶段,技术人员需通过引线方式来获取网络通信数据,破坏了整车线束,对整车造成了安全隐患。With the rapid development of automobile technology, people have higher requirements for the safety and reliability of automobiles. The failure of the electronic control system inside the car will not only affect the normal operation of the car, but even cause safety accidents. In order to ensure the safety of the car and reduce the probability of accidents to a controllable range, the realization of the diagnostic system of the automotive electronic control system is becoming more and more important. The On-Board Diagnostic (OBD) interface is used as a diagnostic device and The channel for vehicle interactive diagnostic data, its realization mechanism is particularly important. The traditional diagnostic interface is directly connected to all network segments of the vehicle, and diagnostic data and network communication data can be read directly through the diagnostic interface, which cannot effectively guarantee the safety of vehicle data; another commonly used diagnostic interface, through the gateway controller and The whole vehicle is connected to the network, and the gateway controller forwards the diagnostic data between the diagnostic equipment and the vehicle controller. The network communication data destroys the wiring harness of the vehicle, causing a safety hazard to the vehicle.

发明内容Contents of the invention

本发明实施例的目的在于提供一种汽车诊断系统及汽车,从而解决现有技术中无法有效保证整车数据的安全性,以及由于技术人员通过引线方式获取网络通信数据,导致整车存在安全隐患的问题。The purpose of the embodiment of the present invention is to provide a car diagnostic system and a car, so as to solve the problem that the safety of the whole car data cannot be effectively guaranteed in the prior art, and the safety hazards of the whole car are caused by the technical personnel obtaining the network communication data through the lead wire The problem.

为了实现上述目的,本发明实施例提供了一种汽车诊断系统,包括:In order to achieve the above object, an embodiment of the present invention provides a vehicle diagnostic system, including:

网关控制器;gateway controller;

车载诊断系统OBD接口,所述网关控制器分别通过第一线路和第二线路与OBD接口相连接;On-board diagnostic system OBD interface, the gateway controller is connected to the OBD interface through the first line and the second line respectively;

其中,所述第一线路上设置有继电器,且所述继电器还与汽车的部件控制器相连接;Wherein, a relay is provided on the first circuit, and the relay is also connected to the component controller of the automobile;

所述网关控制器用于通过所述第一线路控制所述继电器呈第一状态或者第二状态;其中所述继电器处于第一状态时,所述OBD接口与部件控制器之间的线路连通,所述OBD接口与部件控制器之间直接进行诊断数据传输;所述继电器处于第二状态时,所述OBD接口与所述部件控制器之间的诊断数据,经过所述第二线路,通过网关控制器转发。The gateway controller is used to control the relay to be in the first state or the second state through the first line; wherein when the relay is in the first state, the line between the OBD interface and the component controller is connected, so Diagnosis data transmission is directly performed between the OBD interface and the component controller; when the relay is in the second state, the diagnostic data between the OBD interface and the component controller passes through the second line and is controlled by the gateway forwarder.

其中,所述网关控制器的输出端通过硬线与所述第一线路的继电器的控制端连接;当所述网关控制器通过所述第二线路接收到表征诊断模式的数据时,所述网关控制器控制所述继电器由第二状态切换至第一状态,当所述网关控制器通过所述第二线路接收到表征非诊断模式的数据时,所述网关控制器控制所述继电器由第一状态切换至第二状态。Wherein, the output end of the gateway controller is connected to the control end of the relay of the first line through a hard line; when the gateway controller receives the data representing the diagnostic mode through the second line, the gateway The controller controls the relay to switch from the second state to the first state, and when the gateway controller receives data representing a non-diagnostic mode through the second line, the gateway controller controls the relay to switch from the first state to the first state. The state switches to the second state.

其中,所述部件控制器包括仪表控制器和车身控制器中的至少一个。Wherein, the component controller includes at least one of an instrument controller and a vehicle body controller.

其中,所述继电器包括第一继电器和第二继电器,其中,所述第一继电器的第一端、所述第二继电器的第一端、所述仪表控制器和所述网关控制器的第一CAN通信端通过CAN总线连接,所述第一继电器的第二端和所述第二继电器的第二端分别与所述OBD接口连接;当所述第一继电器和所述第二继电器处于第一状态时,所述第一继电器的第一端和所述第一继电器的第二端连通,所述第二继电器的第一端和所述第二继电器的第二端连通。Wherein, the relay includes a first relay and a second relay, wherein the first terminal of the first relay, the first terminal of the second relay, the first terminal of the instrument controller and the gateway controller The CAN communication end is connected through the CAN bus, and the second end of the first relay and the second end of the second relay are respectively connected to the OBD interface; when the first relay and the second relay are in the first state, the first terminal of the first relay communicates with the second terminal of the first relay, and the first terminal of the second relay communicates with the second terminal of the second relay.

其中,所述继电器还包括第三继电器和第四继电器,所述第三继电器的第一端、所述第四继电器的第一端、所述车身控制器和所述网关控制器的第二CAN通信端通过CAN总线连接,所述第三继电器的第二端和所述第四继电器的第二端分别与所述OBD接口连接,当所述第三继电器和所述第四继电器处于第一状态时,所述第三继电器的第一端和所述第三继电器的第二端连通,所述第四继电器的第一端和所述第四继电器的第二端连通。Wherein, the relay also includes a third relay and a fourth relay, the first end of the third relay, the first end of the fourth relay, the second CAN of the vehicle body controller and the gateway controller The communication end is connected through the CAN bus, the second end of the third relay and the second end of the fourth relay are respectively connected to the OBD interface, when the third relay and the fourth relay are in the first state , the first terminal of the third relay communicates with the second terminal of the third relay, and the first terminal of the fourth relay communicates with the second terminal of the fourth relay.

其中,当所述继电器处于第一状态时,所述部件控制器与所述OBD接口之间还直接进行通信数据的传输。Wherein, when the relay is in the first state, the communication data is directly transmitted between the component controller and the OBD interface.

其中,还包括发动机控制器,所述发动机控制器通过CAN总线与所述网关控制器的第三CAN通信端连接。Wherein, an engine controller is also included, and the engine controller is connected to the third CAN communication terminal of the gateway controller through a CAN bus.

其中,所述OBD接口与所述发动机控制器之间的诊断数据,经过所述第二线路,通过网关控制器转发。Wherein, the diagnostic data between the OBD interface and the engine controller is forwarded by the gateway controller via the second line.

其中,在所述继电器处于第一状态时,所述OBD接口与所述发动机控制器之间的通信数据,经过所述第二线路,通过网关控制器转发。Wherein, when the relay is in the first state, the communication data between the OBD interface and the engine controller is forwarded by the gateway controller via the second line.

本发明实施例还提供了一种汽车,包括如上所述的汽车诊断系统。An embodiment of the present invention also provides an automobile, including the above-mentioned automobile diagnosis system.

本发明的上述技术方案至少具有如下有益效果:The technical solution of the present invention has at least the following beneficial effects:

本发明实施例通过在网关控制器和OBD接口之间连接包含继电器的第一线路,从而实现了在进行故障诊断时,汽车的部件控制器直接与OBD接口连接,使与所述OBD接口连接的诊断设备能够直接分别读取整车各网段诊断数据和通信数据,保证了整车数据的安全性,同时使技术人员能够简单方便的获取整车网络通信数据和诊断数据,避免了通过引线方式获取数据,导致整车存在安全隐患。In the embodiment of the present invention, by connecting the first line including the relay between the gateway controller and the OBD interface, it is realized that when performing fault diagnosis, the component controller of the automobile is directly connected to the OBD interface, so that the components connected to the OBD interface The diagnostic equipment can directly read the diagnostic data and communication data of each network segment of the vehicle, which ensures the security of the vehicle data, and enables technicians to easily and conveniently obtain the network communication data and diagnostic data of the vehicle, avoiding the need to use leads. Obtaining data leads to potential safety hazards in the entire vehicle.

附图说明Description of drawings

图1为本发明实施例的汽车诊断系统的示意图。FIG. 1 is a schematic diagram of a vehicle diagnostic system according to an embodiment of the present invention.

附图标记说明:Explanation of reference signs:

1-网关控制器,2-OBD接口,3-仪表控制器,4-发动机控制器,5-车身控制器,6-供电电源,K1-第一继电器,K2-第二继电器,K3-第三继电器,K4-第四继电器。1-gateway controller, 2-OBD interface, 3-instrument controller, 4-engine controller, 5-body controller, 6-power supply, K1-first relay, K2-second relay, K3-third Relay, K4 - fourth relay.

具体实施方式Detailed ways

为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

本发明实施例针对现有技术中无法有效保证整车数据的安全性以及由于技术人员通过引线方式获取网络通信数据,导致整车存在安全隐患的问题,提供一种汽车诊断系统及汽车,从而为技术人员预留数据读取通道,便于车辆开发和售后阶段的故障问题排查,并为整车安全提供保障。The embodiment of the present invention aims at the problem that the safety of the whole vehicle data cannot be effectively guaranteed in the prior art and the technical personnel obtain the network communication data through the lead wire, which leads to the problem that the whole vehicle has potential safety hazards, and provides an automobile diagnosis system and the automobile, so as to provide The technicians reserve a data reading channel to facilitate fault troubleshooting in the vehicle development and after-sales stages, and provide guarantee for the safety of the vehicle.

如图1所示,本发明的一实施例提供了一种汽车诊断系统,包括:As shown in Fig. 1, an embodiment of the present invention provides a kind of automobile diagnosis system, comprises:

网关控制器1;gateway controller 1;

车载诊断系统OBD接口2,所述网关控制器1分别通过第一线路和第二线路与OBD接口2相连接;On-board diagnostic system OBD interface 2, the gateway controller 1 is connected to the OBD interface 2 through the first line and the second line respectively;

其中,所述第一线路上设置有继电器,且所述继电器还与汽车的部件控制器相连接;Wherein, a relay is provided on the first circuit, and the relay is also connected to the component controller of the automobile;

所述网关控制器1用于通过所述第一线路控制所述继电器呈第一状态或者第二状态;其中所述继电器处于第一状态时,所述OBD接口2与部件控制器之间的线路连通,所述OBD接口2与部件控制器之间直接进行诊断数据传输;所述继电器处于第二状态时,所述OBD接口2与所述部件控制器之间的诊断数据,经过所述第二线路,通过网关控制器1转发。The gateway controller 1 is used to control the relay to be in the first state or the second state through the first line; wherein when the relay is in the first state, the line between the OBD interface 2 and the component controller connected, the diagnostic data transmission is directly performed between the OBD interface 2 and the component controller; when the relay is in the second state, the diagnostic data between the OBD interface 2 and the component controller passes through the second Line, forwarded through gateway controller 1.

本发明的上述实施例,通过设置所述继电器,实现了在诊断模式和非诊断模式两种状态下,通过不同的线路在所述部件控制器与所述OBD接口2之间传输数据。其中,当处于非诊断模式时,所述网关控制器1将接收到的所述部件控制器发送的所有数据进行处理,从而获取诊断数据,通过所述第二线路将所述诊断数据发送至所述OBD接口2。当处于诊断模式时,所述网关控制器1控制所述继电器处于第一状态,从而实现每一所述部件控制器与所述OBD接口2之间分别直接进行数据传输,保证了整车数据的安全性。具体的,此时传输的数据包括通信数据和诊断数据,与所述OBD接口2连接的诊断设备根据所述通信数据和所述诊断数据判断故障产生的原因。In the above embodiments of the present invention, by setting the relay, it is possible to transmit data between the component controller and the OBD interface 2 through different lines in the diagnosis mode and the non-diagnosis mode. Wherein, when in the non-diagnostic mode, the gateway controller 1 processes all received data sent by the component controllers to obtain diagnostic data, and sends the diagnostic data to the Describe the OBD interface 2. When in the diagnosis mode, the gateway controller 1 controls the relays to be in the first state, thereby realizing direct data transmission between each of the component controllers and the OBD interface 2, ensuring the integrity of vehicle data safety. Specifically, the data transmitted at this time includes communication data and diagnostic data, and the diagnostic device connected to the OBD interface 2 judges the cause of the fault according to the communication data and the diagnostic data.

这里,需要说明的是,所述继电器的第一状态为继电器的动触点与常开触点连通,即:所述继电器中的线圈通电,将动触点吸合至与所述常开触点连通;所述继电器的第二状态为继电器的动触点与常闭触点连通,即:所述继电器中的线圈未通电,动触点与常闭触点连通。Here, it should be noted that the first state of the relay is that the movable contact of the relay communicates with the normally open contact, that is, the coil in the relay is energized, and the movable contact is attracted to the normally open contact. The point is connected; the second state of the relay is that the movable contact of the relay is connected with the normally closed contact, that is, the coil in the relay is not energized, and the movable contact is connected with the normally closed contact.

其中,所述网关控制器1的输出端通过硬线与所述第一线路的继电器的控制端连接;当所述网关控制器1通过所述第二线路接收到表征诊断模式的数据时,所述网关控制器1控制所述继电器由第二状态切换至第一状态,当所述网关控制器1通过所述第二线路接收到表征非诊断模式的数据时,所述网关控制器1控制所述继电器由第一状态切换至第二状态。Wherein, the output end of the gateway controller 1 is connected to the control end of the relay of the first line through a hard line; when the gateway controller 1 receives the data representing the diagnostic mode through the second line, the The gateway controller 1 controls the relay to switch from the second state to the first state, when the gateway controller 1 receives data representing a non-diagnostic mode through the second line, the gateway controller 1 controls the relay The relay is switched from the first state to the second state.

为了进一步确保整车数据的安全性,在技术人员对汽车进行故障诊断的过程中,首先将诊断设备连接至所述OBD接口2,然后,所述网关控制器1与所述诊断设备通过所述第二线路进行安全验证,当两者安全验证成功后,所述诊断设备发送表征诊断模式的数据至所述网关控制器1,所述网关控制器1控制其输出端输出有效电平至所述继电器的控制端,使所述继电器处于第一状态,所述动触点与所述常开触点连通;当两者的安全验证失败或验证超时后,所述网关控制器1控制其输出端输出无效电平至所述继电器的控制端,使所述继电器处于第二状态,所述动触点与所述常闭触点连通。其中,所述继电器的控制端为继电器的线圈的第二端。In order to further ensure the safety of the whole vehicle data, during the fault diagnosis process of the car, the technician first connects the diagnostic equipment to the OBD interface 2, and then, the gateway controller 1 and the diagnostic equipment pass through the The second circuit performs security verification. When the two security verifications are successful, the diagnostic device sends data representing the diagnostic mode to the gateway controller 1, and the gateway controller 1 controls its output terminal to output an active level to the The control terminal of the relay, so that the relay is in the first state, the movable contact is connected with the normally open contact; when the safety verification of the two fails or the verification is timed out, the gateway controller 1 controls its output terminal Outputting an invalid level to the control terminal of the relay, so that the relay is in the second state, and the movable contact communicates with the normally closed contact. Wherein, the control terminal of the relay is the second terminal of the coil of the relay.

具体的,所述部件控制器包括仪表控制器3和车身控制器5中的至少一个。其中,所述仪表控制器3与所述第一线路中的两个继电器连接,所述车身控制器5与所述第一线路中的另两个继电器连接。Specifically, the component controllers include at least one of an instrument controller 3 and a vehicle body controller 5 . Wherein, the instrument controller 3 is connected to two relays in the first circuit, and the vehicle body controller 5 is connected to the other two relays in the first circuit.

其中,所述第一继电器K1的第一端、所述第二继电器K2的第一端、所述仪表控制器3和所述网关控制器1的第一CAN通信端通过CAN总线连接,所述第一继电器K1的第二端和所述第二继电器K2的第二端分别与所述OBD接口2连接;当所述第一继电器K1和所述第二继电器K2处于第一状态时,所述第一继电器K1的第一端和所述第一继电器K1的第二端连通,所述第二继电器K2的第一端和所述第二继电器K2的第二端连通。从而实现在诊断模式时,所述仪表控制器3通过所述第一继电器K1和所述第二继电器K2与所述OBD接口2连接并直接进行数据传输。其中,所述第一端为继电器的常开触点,所述第二端为继电器的动触点。Wherein, the first end of the first relay K1, the first end of the second relay K2, the instrument controller 3 and the first CAN communication end of the gateway controller 1 are connected through a CAN bus, and the The second end of the first relay K1 and the second end of the second relay K2 are respectively connected to the OBD interface 2; when the first relay K1 and the second relay K2 are in the first state, the The first terminal of the first relay K1 communicates with the second terminal of the first relay K1, and the first terminal of the second relay K2 communicates with the second terminal of the second relay K2. Therefore, in the diagnosis mode, the meter controller 3 is connected to the OBD interface 2 through the first relay K1 and the second relay K2 and directly performs data transmission. Wherein, the first end is a normally open contact of the relay, and the second end is a moving contact of the relay.

其中,所述第三继电器K3的第一端、所述第四继电器K4的第一端、所述车身控制器5和所述网关控制器1的第二CAN通信端通过CAN总线连接,所述第三继电器K3的第二端和所述第四继电器K4的第二端分别与所述OBD接口2连接,当所述第三继电器K3和所述第四继电器K4处于第一状态时,所述第三继电器K3的第一端和所述第三继电器K3的第二端连通,所述第四继电器K4的第一端和所述第四继电器K4的第二端连通。从而实现在诊断模式时,所述仪表控制器3通过所述第三继电器K3和所述第四继电器K4与所述OBD接口2连接并直接进行数据传输,其中,所述第一端为继电器的常开触点,所述第二端为继电器的动触点。Wherein, the first end of the third relay K3, the first end of the fourth relay K4, the vehicle body controller 5 and the second CAN communication end of the gateway controller 1 are connected through a CAN bus, and the The second end of the third relay K3 and the second end of the fourth relay K4 are respectively connected to the OBD interface 2, when the third relay K3 and the fourth relay K4 are in the first state, the The first terminal of the third relay K3 communicates with the second terminal of the third relay K3, and the first terminal of the fourth relay K4 communicates with the second terminal of the fourth relay K4. In this way, in the diagnostic mode, the instrument controller 3 is connected to the OBD interface 2 through the third relay K3 and the fourth relay K4 and directly performs data transmission, wherein the first end is the relay's The normally open contact, the second end is the moving contact of the relay.

进一步的,当所述继电器处于第一状态时,所述部件控制器与所述OBD接口2之间还直接进行通信数据的传输。使得与所述OBD接口2连接的诊断设备根据所述通信数据和所述诊断数据对所述部件控制器进行故障诊断,确定故障原因。Further, when the relay is in the first state, the communication data is directly transmitted between the component controller and the OBD interface 2 . Making the diagnostic equipment connected to the OBD interface 2 perform fault diagnosis on the component controller according to the communication data and the diagnostic data, and determine the cause of the fault.

本发明实施例通过设置所述继电器,实现了诊断设备通过所述OBD接口2直接获取所述部件控制器的通信数据和诊断数据,避免了技术人员通过引线方式获取网络通信数据,破坏整车线束,对整车造成安全隐患;同时,也解决了现有技术的诊断接口直接连接整车所有网段,导致无法有效保证整车数据的安全性的问题。In the embodiment of the present invention, by setting the relay, the diagnostic equipment can directly obtain the communication data and diagnostic data of the component controller through the OBD interface 2, which prevents the technician from obtaining the network communication data through the lead wire and destroying the wiring harness of the vehicle , causing safety hazards to the vehicle; at the same time, it also solves the problem that the diagnostic interface in the prior art is directly connected to all network segments of the vehicle, resulting in the inability to effectively guarantee the security of vehicle data.

其中,本发明实施例的汽车诊断系统还包括发动机控制器4,所述发动机控制器4通过CAN总线与所述网关控制器1的第三CAN通信端连接。在非诊断模式时,所述OBD接口2与所述发动机控制器4之间的诊断数据,经过所述第二线路,通过网关控制器1转发。在诊断模式时,即所述第一线路的继电器处于第一状态时,所述OBD接口2与所述发动机控制器4之间的通信数据和诊断数据,均经过所述第二线路,通过网关控制器1转发。Wherein, the vehicle diagnostic system of the embodiment of the present invention further includes an engine controller 4, and the engine controller 4 is connected to the third CAN communication terminal of the gateway controller 1 through a CAN bus. In the non-diagnostic mode, the diagnostic data between the OBD interface 2 and the engine controller 4 is transmitted through the gateway controller 1 via the second line. In the diagnosis mode, that is, when the relay of the first line is in the first state, the communication data and diagnosis data between the OBD interface 2 and the engine controller 4 all pass through the second line and pass through the gateway Controller 1 forwards.

综上可知,当所述汽车诊断系统处于非诊断模式时,所述网关控制器1通过CAN总线接收所述仪表控制器3、所述发动机控制器4和所述车身控制器5中至少一个发送的诊断数据和通信数据,并对接收到的数据进行处理,获取所述仪表控制器3、所述发动机控制器4和所述车身控制器5发送的诊断数据,并通过所述第二线路发送至所述OBD接口2;当所述汽车诊断系统处于诊断模式时,所述网关控制器1控制其输出端输出有效电平至继电器,控制所述继电器处于第一状态,使得所述仪表控制器3和所述车身控制器5分别与所述OBD接口2连接,并直接传输诊断数据和通信数据;所述发动机控制器4通过所述网关控制器1和所述第二线路与所述OBD接口2连接,并直接传输诊断数据和通信数据。In summary, when the vehicle diagnostic system is in the non-diagnostic mode, the gateway controller 1 receives the transmission from at least one of the instrument controller 3, the engine controller 4 and the vehicle body controller 5 through the CAN bus. diagnosis data and communication data, and process the received data, obtain the diagnosis data sent by the instrument controller 3, the engine controller 4 and the body controller 5, and send them through the second line To the OBD interface 2; when the vehicle diagnostic system is in the diagnostic mode, the gateway controller 1 controls its output terminal to output an active level to the relay, and controls the relay to be in the first state, so that the instrument controller 3 and the vehicle body controller 5 are respectively connected to the OBD interface 2, and directly transmit diagnostic data and communication data; the engine controller 4 is connected to the OBD interface through the gateway controller 1 and the second line 2 connection, and directly transmit diagnostic data and communication data.

具体的,如图1所示,所述第一继电器K1的线圈的第一端、所述第二继电器K2的线圈的第一端、所述第三继电器K3的线圈的第一端和所述第四继电器K4的线圈的第一端分别与供电电源6连接;所述网关控制器1包括两个输出端,其中,第一输出端与所述第一继电器K1的线圈的第二端和所述第二继电器K2的线圈的第二端连接,第二输出端与所述第三继电器K3的线圈的第二端和所述第四继电器K4的线圈的第二端连接。当所述网关控制器1接收到表征诊断模式的数据时,所述网关控制器1控制所述第一输出端和所述第二输出端输出低电平,使各继电器的线圈通电,从而使得所述继电器处于动触点与常开触点连通的第一状态。Specifically, as shown in FIG. 1, the first end of the coil of the first relay K1, the first end of the coil of the second relay K2, the first end of the coil of the third relay K3 and the The first end of the coil of the fourth relay K4 is respectively connected to the power supply 6; the gateway controller 1 includes two output ends, wherein the first output end is connected to the second end of the coil of the first relay K1 and the The second end of the coil of the second relay K2 is connected, and the second output end is connected with the second end of the coil of the third relay K3 and the second end of the coil of the fourth relay K4. When the gateway controller 1 receives the data representing the diagnostic mode, the gateway controller 1 controls the first output terminal and the second output terminal to output a low level, so that the coils of each relay are energized, so that The relay is in a first state where the movable contact communicates with the normally open contact.

这里,需要说明的是,当所述网关控制器1接收到表征仪表诊断模式的数据时,所述网关控制器1控制所述第一输出端输出低电平,使得所述第一继电器K1和所述第二继电器K2切换至第一状态;同样的,当所述网关控制器1接收到表征车身诊断模式的数据时,所述网关控制器1控制所述第二输出端输出低电平,使得所述第三继电器K3和所述第四继电器K4切换至第一状态;当所述网关控制器1接收到表征发动机诊断模式的数据时,所述网关控制器1控制所述第三CAN通讯端与所述第二线路连通。Here, it should be noted that when the gateway controller 1 receives the data representing the meter diagnosis mode, the gateway controller 1 controls the first output terminal to output a low level, so that the first relay K1 and The second relay K2 is switched to the first state; similarly, when the gateway controller 1 receives data representing the vehicle body diagnosis mode, the gateway controller 1 controls the second output terminal to output a low level, Make the third relay K3 and the fourth relay K4 switch to the first state; when the gateway controller 1 receives data representing the engine diagnosis mode, the gateway controller 1 controls the third CAN communication The terminal communicates with the second line.

本发明实施例还提供一种汽车,包括如上所述的汽车诊断系统。An embodiment of the present invention also provides an automobile, including the above-mentioned automobile diagnosis system.

相应的,由于本发明实施例的汽车诊断系统应用于汽车,因此,本发明实施例还提供了一种汽车诊断系统,其中,上述汽车诊断系统所述实现实施例均适用于该汽车的实施例中,也能达到相同的技术效果。Correspondingly, since the automobile diagnosis system of the embodiment of the present invention is applied to automobiles, the embodiment of the present invention also provides an automobile diagnosis system, wherein the implementation examples of the above automobile diagnosis system are applicable to the embodiment of the automobile , the same technical effect can also be achieved.

以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, these improvements and modifications It should also be regarded as the protection scope of the present invention.

Claims (10)

1.一种汽车诊断系统,其特征在于,包括:1. A vehicle diagnostic system, characterized in that, comprising: 网关控制器;gateway controller; 车载诊断系统OBD接口,所述网关控制器分别通过第一线路和第二线路与OBD接口相连接;On-board diagnostic system OBD interface, the gateway controller is connected to the OBD interface through the first line and the second line respectively; 其中,所述第一线路上设置有继电器,且所述继电器还与汽车的部件控制器相连接;Wherein, a relay is provided on the first circuit, and the relay is also connected to the component controller of the automobile; 所述网关控制器用于通过所述第一线路控制所述继电器呈第一状态或者第二状态;其中所述继电器处于第一状态时,所述OBD接口与部件控制器之间的线路连通,所述OBD接口与部件控制器之间直接进行诊断数据传输;所述继电器处于第二状态时,所述OBD接口与所述部件控制器之间的诊断数据,经过所述第二线路,通过网关控制器转发。The gateway controller is used to control the relay to be in the first state or the second state through the first line; wherein when the relay is in the first state, the line between the OBD interface and the component controller is connected, so Diagnosis data transmission is directly performed between the OBD interface and the component controller; when the relay is in the second state, the diagnostic data between the OBD interface and the component controller passes through the second line and is controlled by the gateway forwarder. 2.根据权利要求1所述的汽车诊断系统,其特征在于,所述网关控制器的输出端通过硬线与所述第一线路的继电器的控制端连接;当所述网关控制器通过所述第二线路接收到表征诊断模式的数据时,所述网关控制器控制所述继电器由第二状态切换至第一状态,当所述网关控制器通过所述第二线路接收到表征非诊断模式的数据时,所述网关控制器控制所述继电器由第一状态切换至第二状态。2. The vehicle diagnostic system according to claim 1, wherein the output terminal of the gateway controller is connected to the control terminal of the relay of the first circuit through a hard wire; when the gateway controller passes through the When the second line receives the data representing the diagnostic mode, the gateway controller controls the relay to switch from the second state to the first state; when the gateway controller receives the data representing the non-diagnostic mode through the second line data, the gateway controller controls the relay to switch from the first state to the second state. 3.根据权利要求1所述的汽车诊断系统,其特征在于,所述部件控制器包括仪表控制器和车身控制器中的至少一个。3. The vehicle diagnostic system according to claim 1, wherein the component controller comprises at least one of an instrument controller and a body controller. 4.根据权利要求3所述的汽车诊断系统,其特征在于,所述继电器包括第一继电器和第二继电器,其中,所述第一继电器的第一端、所述第二继电器的第一端、所述仪表控制器和所述网关控制器的第一CAN通信端通过CAN总线连接,所述第一继电器的第二端和所述第二继电器的第二端分别与所述OBD接口连接;当所述第一继电器和所述第二继电器处于第一状态时,所述第一继电器的第一端和所述第一继电器的第二端连通,所述第二继电器的第一端和所述第二继电器的第二端连通。4. The vehicle diagnostic system according to claim 3, wherein the relay comprises a first relay and a second relay, wherein the first end of the first relay and the first end of the second relay , the instrument controller and the first CAN communication end of the gateway controller are connected through a CAN bus, and the second end of the first relay and the second end of the second relay are respectively connected to the OBD interface; When the first relay and the second relay are in the first state, the first end of the first relay communicates with the second end of the first relay, and the first end of the second relay communicates with the second end of the first relay. The second end of the second relay is connected. 5.根据权利要求4所述的汽车诊断系统,其特征在于,所述继电器还包括第三继电器和第四继电器,所述第三继电器的第一端、所述第四继电器的第一端、所述车身控制器和所述网关控制器的第二CAN通信端通过CAN总线连接,所述第三继电器的第二端和所述第四继电器的第二端分别与所述OBD接口连接,当所述第三继电器和所述第四继电器处于第一状态时,所述第三继电器的第一端和所述第三继电器的第二端连通,所述第四继电器的第一端和所述第四继电器的第二端连通。5. The vehicle diagnostic system according to claim 4, wherein the relay further comprises a third relay and a fourth relay, the first end of the third relay, the first end of the fourth relay, The second CAN communication end of the vehicle body controller and the gateway controller is connected through a CAN bus, and the second end of the third relay and the second end of the fourth relay are respectively connected to the OBD interface. When the third relay and the fourth relay are in the first state, the first end of the third relay communicates with the second end of the third relay, and the first end of the fourth relay communicates with the second end of the third relay. The second end of the fourth relay is connected. 6.根据权利要求1所述的汽车诊断系统,其特征在于,当所述继电器处于第一状态时,所述部件控制器与所述OBD接口之间还直接进行通信数据的传输。6 . The vehicle diagnostic system according to claim 1 , wherein when the relay is in the first state, communication data is directly transmitted between the component controller and the OBD interface. 7.根据权利要求1所述的汽车诊断系统,其特征在于,还包括发动机控制器,所述发动机控制器通过CAN总线与所述网关控制器的第三CAN通信端连接。7. The vehicle diagnostic system according to claim 1, further comprising an engine controller, the engine controller is connected to the third CAN communication terminal of the gateway controller through a CAN bus. 8.根据权利要求7所述的汽车诊断系统,其特征在于,所述OBD接口与所述发动机控制器之间的诊断数据,经过所述第二线路,通过网关控制器转发。8. The vehicle diagnostic system according to claim 7, wherein the diagnostic data between the OBD interface and the engine controller is forwarded by the gateway controller via the second line. 9.根据权利要求7所述的汽车诊断系统,其特征在于,在所述继电器处于第一状态时,所述OBD接口与所述发动机控制器之间的通信数据,经过所述第二线路,通过网关控制器转发。9. The vehicle diagnostic system according to claim 7, characterized in that, when the relay is in the first state, the communication data between the OBD interface and the engine controller passes through the second line, Forwarded by gateway controller. 10.一种汽车,其特征在于,包括如权利要求1-9任一项所述的汽车诊断系统。10. An automobile, characterized by comprising the automobile diagnostic system according to any one of claims 1-9.
CN201810082320.4A 2018-01-29 2018-01-29 A kind of automotive diagnostic system and automobile Pending CN108052095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810082320.4A CN108052095A (en) 2018-01-29 2018-01-29 A kind of automotive diagnostic system and automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810082320.4A CN108052095A (en) 2018-01-29 2018-01-29 A kind of automotive diagnostic system and automobile

Publications (1)

Publication Number Publication Date
CN108052095A true CN108052095A (en) 2018-05-18

Family

ID=62124902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810082320.4A Pending CN108052095A (en) 2018-01-29 2018-01-29 A kind of automotive diagnostic system and automobile

Country Status (1)

Country Link
CN (1) CN108052095A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614133A (en) * 2018-05-23 2018-10-02 北京新能源汽车股份有限公司 Wire breakage box and vehicle detection system
CN109669444A (en) * 2018-12-30 2019-04-23 浙江众泰汽车制造有限公司 The reliable gateway of information
CN111130967A (en) * 2019-12-25 2020-05-08 宜宾凯翼汽车有限公司 Automobile diagnosis network topological structure
CN112585549A (en) * 2020-02-29 2021-03-30 华为技术有限公司 Fault diagnosis method and device and vehicle
CN116455934A (en) * 2023-04-03 2023-07-18 北京汽车股份有限公司 Vehicle network architecture, monitoring method and automobile convenient for data monitoring

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110144858A1 (en) * 2008-08-22 2011-06-16 Yun Hyun Jeong Vehicle gateway, and apparatus and method for vehicle network interface
CN203911981U (en) * 2014-05-06 2014-10-29 北京汽车股份有限公司 Peripheral circuit for gateway equipment of vehicle controller area network, and vehicle
DE102013013567A1 (en) * 2013-08-14 2015-02-19 GM Global Technology Operations, LLC (n.d. Ges. d. Staates Delaware) Connector for a bus system of a motor vehicle with gateway and bus system for a motor vehicle
CN104391502A (en) * 2014-11-27 2015-03-04 长城汽车股份有限公司 Car diagnosis system and car
CN106998280A (en) * 2017-03-20 2017-08-01 广州汽车集团股份有限公司 A kind of automotive networking route system and method
CN207799457U (en) * 2018-01-29 2018-08-31 北京汽车研究总院有限公司 A kind of automotive diagnostic system and automobile

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110144858A1 (en) * 2008-08-22 2011-06-16 Yun Hyun Jeong Vehicle gateway, and apparatus and method for vehicle network interface
DE102013013567A1 (en) * 2013-08-14 2015-02-19 GM Global Technology Operations, LLC (n.d. Ges. d. Staates Delaware) Connector for a bus system of a motor vehicle with gateway and bus system for a motor vehicle
CN203911981U (en) * 2014-05-06 2014-10-29 北京汽车股份有限公司 Peripheral circuit for gateway equipment of vehicle controller area network, and vehicle
CN104391502A (en) * 2014-11-27 2015-03-04 长城汽车股份有限公司 Car diagnosis system and car
CN106998280A (en) * 2017-03-20 2017-08-01 广州汽车集团股份有限公司 A kind of automotive networking route system and method
CN207799457U (en) * 2018-01-29 2018-08-31 北京汽车研究总院有限公司 A kind of automotive diagnostic system and automobile

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614133A (en) * 2018-05-23 2018-10-02 北京新能源汽车股份有限公司 Wire breakage box and vehicle detection system
CN108614133B (en) * 2018-05-23 2021-01-01 北京新能源汽车股份有限公司 Wire breakage box and vehicle detection system
CN109669444A (en) * 2018-12-30 2019-04-23 浙江众泰汽车制造有限公司 The reliable gateway of information
CN111130967A (en) * 2019-12-25 2020-05-08 宜宾凯翼汽车有限公司 Automobile diagnosis network topological structure
CN112585549A (en) * 2020-02-29 2021-03-30 华为技术有限公司 Fault diagnosis method and device and vehicle
CN112585549B (en) * 2020-02-29 2022-05-31 华为技术有限公司 Fault diagnosis method and device and vehicle
CN116455934A (en) * 2023-04-03 2023-07-18 北京汽车股份有限公司 Vehicle network architecture, monitoring method and automobile convenient for data monitoring

Similar Documents

Publication Publication Date Title
CN108052095A (en) A kind of automotive diagnostic system and automobile
US9805520B2 (en) Method and system for providing vehicle security service
CN103685560B (en) A kind of network structure of automobile electronic system
CN110979393A (en) Programmable logic control system applied to subway train
CN109334685B (en) Vehicle-mounted signal system control method for on-line reconnection of train
CN106325231A (en) Method and system for remote fault detection of vehicles on production line
CN204156887U (en) For the locomotive communicating system of fixed-interlock train
CN102929274B (en) In-vehicle networking ground skewed redundant test macro, method and apparatus
DE112010005389T5 (en) High voltage latch circuit using a serial communication area
MX2010011139A (en) Usb isolation for vehicle communication interface.
CN108819984B (en) Passenger alarm output control circuit of unmanned subway train
CN104391502B (en) Automotive diagnostic system and automobile
CN203911981U (en) Peripheral circuit for gateway equipment of vehicle controller area network, and vehicle
CN111130967A (en) Automobile diagnosis network topological structure
CN112810647B (en) Motor train unit and illumination control system and method thereof
CN208046660U (en) Novel on-vehicle system based on vehicle-mounted Ethernet
CN103580970A (en) Communication board card based on VME bus and data communication method
KR102218554B1 (en) Network based train safety loop monitoring system and method
CN105491177B (en) A kind of device address method for reconfiguration based on MVB communication
CN207799457U (en) A kind of automotive diagnostic system and automobile
CN104442923B (en) A kind of city rail vehicle electric control method of logic-based control unit
CN106774231A (en) CAN control device
CN207875555U (en) A kind of vehicle remote of automobile key integrated is unlocked and starter
CN202716830U (en) Whole car bus control system structure
CN212473351U (en) A CAN bus layout structure based on electric light truck

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200423

Address after: 100130 Zhaofeng Town, Shunyi District, Beijing Zhaofeng industrial base Tongxin Road No. 1

Applicant after: BAIC GROUP ORV Co.,Ltd.

Address before: 101300, 99, Shuanghe Avenue, Renhe Town, Beijing, Shunyi District

Applicant before: BEIJING AUTOMOBILE RESEARCH GENERAL INSTITUTE Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180518