CN116560342A - Vehicle fault diagnosis method and device - Google Patents

Vehicle fault diagnosis method and device Download PDF

Info

Publication number
CN116560342A
CN116560342A CN202310603714.0A CN202310603714A CN116560342A CN 116560342 A CN116560342 A CN 116560342A CN 202310603714 A CN202310603714 A CN 202310603714A CN 116560342 A CN116560342 A CN 116560342A
Authority
CN
China
Prior art keywords
diagnosis
vehicle
control unit
message
fault
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
CN202310603714.0A
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.)
Wuxi Cheliantianxia Information Technology Co ltd
Original Assignee
Wuxi Cheliantianxia Information Technology 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 Wuxi Cheliantianxia Information Technology Co ltd filed Critical Wuxi Cheliantianxia Information Technology Co ltd
Priority to CN202310603714.0A priority Critical patent/CN116560342A/en
Publication of CN116560342A publication Critical patent/CN116560342A/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/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • 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)
  • Vehicle Cleaning, Maintenance, Repair, Refitting, And Outriggers (AREA)

Abstract

The application provides a vehicle fault diagnosis method and a diagnosis device, wherein the diagnosis method comprises the following steps: the vehicle-mounted control host responds to a diagnosis instruction triggered by a user aiming at any target to-be-diagnosed electric control unit, and obtains a physical addressing address of the target to-be-diagnosed electric control unit; the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address; the target to-be-diagnosed electronic control unit acquires diagnosis information based on the diagnosis request message, and generates a diagnosis response message based on the acquired diagnosis information after acquiring the diagnosis information; the target to-be-diagnosed electronic control unit returns the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address; and the vehicle-mounted control host performs fault diagnosis on the vehicle based on the received diagnosis response message to obtain a fault diagnosis result. The diagnosis method can improve diagnosis efficiency and user experience.

Description

Vehicle fault diagnosis method and device
Technical Field
The present disclosure relates to the field of vehicle fault diagnosis, and in particular, to a vehicle fault diagnosis method and a vehicle fault diagnosis device.
Background
On-board diagnosis systems, such as an OBD (On-Board diagnostics) system, are generally equipped On vehicles, and the OBD system monitors the working condition of an electronic control unit in real time during the running process of the vehicle, if the working condition is abnormal, specific faults are judged according to a specific algorithm, corresponding fault information is stored in a memory in the system, so that subsequent maintenance personnel can conveniently read the fault information in a certain mode, and a fault diagnosis result is determined according to the fault information, thereby being convenient for maintaining the vehicle.
The existing method for determining the fault diagnosis result generally comprises the steps that a maintainer reads fault information by using a diagnostic instrument special for a vehicle factory and determines the fault diagnosis result according to the fault information. In this way, the diagnostic device needs to be connected to the OBD interface on the vehicle to obtain the fault information, so as to determine the fault diagnosis result. Therefore, the fault information is difficult to obtain and the fault diagnosis result is determined according to the fault information under the condition that a diagnosis instrument is not arranged, so that maintenance personnel cannot timely diagnose the fault of the vehicle according to the fault diagnosis result, diagnosis efficiency is reduced, and inconvenience is brought to users.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a vehicle fault diagnosis method and a vehicle fault diagnosis device, which acquire fault information through a control host inside a vehicle, and determine a fault diagnosis result according to the fault information. Therefore, fault information can be obtained under the condition that a diagnostic instrument is not arranged, and a fault diagnosis result is determined according to the fault information, so that the diagnosis efficiency can be improved, and the user experience is improved.
In a first aspect, an embodiment of the present application provides a method for diagnosing a vehicle fault, which is applied to a system for diagnosing a vehicle fault, where the system for diagnosing a vehicle fault includes: the system comprises a vehicle-mounted control host and a multi-stage to-be-diagnosed electric control unit; the vehicle-mounted control host is provided with a human-computer interaction interface, and the diagnosis method comprises the following steps:
the vehicle-mounted control host responds to a diagnosis instruction triggered by a user aiming at any target to-be-diagnosed electric control unit on the man-machine interaction interface, and obtains a physical addressing address of the target to-be-diagnosed electric control unit;
the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
the target to-be-diagnosed electronic control unit acquires diagnosis information based on the diagnosis request message, and generates a diagnosis response message based on the acquired diagnosis information after acquiring the diagnosis information;
the target to-be-diagnosed electronic control unit returns the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address;
and the vehicle-mounted control host performs fault diagnosis on the vehicle based on the received diagnosis response message to obtain a fault diagnosis result.
Optionally, the multi-stage to-be-diagnosed electronic control unit includes: the system comprises a central gateway, a plurality of domain control nodes belonging to the central gateway and a plurality of ECUs belonging to each domain control node.
Optionally, the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electronic control unit based on the physical addressing address, including:
the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
and when the received diagnosis request message is not the diagnosis request message sent to the to-be-diagnosed electric control unit, forwarding the diagnosis request message to the target to-be-diagnosed electric control unit based on a physical addressing address in the diagnosis request message.
Optionally, the diagnostic information includes fault code information;
the target to-be-diagnosed electric control unit obtains diagnosis information based on the request message, generates a diagnosis response message based on the obtained diagnosis information after obtaining the diagnosis information, and returns the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address, and comprises the following steps:
the target to-be-diagnosed electronic control unit acquires fault code information under a preset acquisition condition based on the diagnosis request message, and determines the quantity of the acquired fault code information after acquiring the fault code information;
when the number of the acquired fault code information is larger than the preset number, generating a multi-frame positive response diagnosis response message according to a preset message format based on the acquired fault code information;
and generating Shan Zhen positive response diagnosis response messages according to a preset message format based on the acquired fault code information when the number of the acquired fault code information is not greater than the preset number.
Optionally, the vehicle-mounted control host performs fault diagnosis on the vehicle based on the received diagnosis response message, so as to obtain a fault diagnosis result, including:
after receiving the first diagnosis response message, the vehicle-mounted control host determines whether the received first diagnosis response message is a single-frame positive response diagnosis response message;
when the received first diagnosis response message is a single-frame positive response diagnosis response message, the vehicle-mounted control host reads fault code information carried in the first diagnosis response message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result;
when the received first diagnosis response message is not a single-frame positive response diagnosis response message, the vehicle-mounted control host determines the number of continuous frames corresponding to the first diagnosis response message based on the data length of the first diagnosis response message carried in the received first diagnosis response message, receives the continuous frame message after receiving the first diagnosis response message based on the number of the continuous frames, reads fault code information based on the first diagnosis response message and the SN serial number carried in the continuous frame message in the processes of receiving the first diagnosis response message and receiving the continuous frame message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result.
In a second aspect, an embodiment of the present application provides a vehicle fault diagnosis device, which is applied to a vehicle fault diagnosis system, where the vehicle fault diagnosis system includes: the system comprises a vehicle-mounted control host and a multi-stage to-be-diagnosed electric control unit; the vehicle-mounted control host is provided with a human-computer interaction interface, and the diagnosis device comprises:
the triggering module is used for responding to a diagnosis instruction triggered by a user aiming at any target to-be-diagnosed electric control unit on the man-machine interaction interface and acquiring a physical addressing address of the target to-be-diagnosed electric control unit;
the message sending module is used for sending a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
the information acquisition module is used for acquiring diagnosis information based on the diagnosis request message by the target to-be-diagnosed electronic control unit and generating a diagnosis response message based on the acquired diagnosis information after acquiring the diagnosis information;
the message return module is used for returning the diagnosis response message to the vehicle-mounted control host based on the physical addressing response address;
the vehicle-mounted control host is used for carrying out fault diagnosis on the vehicle based on the received diagnosis response message to obtain a fault diagnosis result.
Optionally, the multi-stage to-be-diagnosed electronic control unit includes: the system comprises a central gateway, a plurality of domain control nodes belonging to the central gateway and a plurality of ECUs belonging to each domain control node.
Optionally, the message sending module is specifically configured to:
based on the physical addressing address, sending a diagnosis request message for acquiring diagnosis information to the target to-be-diagnosed electric control unit;
the system comprises a vehicle-mounted control host, a message sending module, a diagnosis request message sending module and a diagnosis request message sending module, wherein the vehicle-mounted control host is used for sending a diagnosis request message to the target to-be-diagnosed electric control unit, each to-be-diagnosed electric control unit passes through in the process of sending the diagnosis request message to the target to-be-diagnosed electric control unit, the message sending module in the to-be-diagnosed electric control unit is used for judging whether the received message is the diagnosis request message, if the received message is the diagnosis request message, judging whether the received diagnosis request message is the diagnosis request message sent to the to-be-diagnosed electric control unit, and when the received diagnosis request message is not the diagnosis request message sent to the to-be-diagnosed electric control unit, forwarding the diagnosis request message to the target to-be-diagnosed electric control unit based on a physical addressing address in the diagnosis request message.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory and a bus, the memory storing machine readable instructions executable by the processor, the processor and the memory in communication over the bus when the electronic device is running, the machine readable instructions when executed by the processor performing the steps of the method for diagnosing a vehicle fault as described above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having a computer program stored thereon, which when executed by a processor performs the steps of a method for diagnosing a vehicle fault as described above.
According to the vehicle fault diagnosis method and device, fault information is obtained through the control host in the vehicle, and a fault diagnosis result is determined according to the fault information. Therefore, fault information can be obtained under the condition that a diagnostic instrument is not arranged, and a fault diagnosis result is determined according to the fault information, so that the diagnosis efficiency can be improved, and the user experience is improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 shows a flow chart of a method for diagnosing a vehicle fault provided by an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating a vehicle fault diagnosis system according to an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a preset message format according to an exemplary embodiment of the present application;
fig. 4 is a schematic structural view showing a vehicle fault diagnosis apparatus according to an exemplary embodiment of the present application;
fig. 5 shows a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment that a person skilled in the art would obtain without making any inventive effort is within the scope of protection of the present application.
The existing method for determining the fault diagnosis result generally comprises the steps that a maintainer reads fault information by using a diagnostic instrument special for a vehicle factory and determines the fault diagnosis result according to the fault information. In this way, the diagnostic device needs to be connected to the OBD interface on the vehicle to obtain the fault information, so as to determine the fault diagnosis result. Therefore, the fault information is difficult to obtain and the fault diagnosis result is determined according to the fault information under the condition that a diagnosis instrument is not arranged, so that maintenance personnel cannot timely diagnose the fault of the vehicle according to the fault diagnosis result, diagnosis efficiency is reduced, and inconvenience is brought to users.
Based on the above, the embodiment of the application provides a vehicle fault diagnosis method and a vehicle fault diagnosis device, so that fault information can be obtained without a diagnostic apparatus, and a fault diagnosis result is determined according to the fault information, thereby improving diagnosis efficiency and user experience.
Referring to fig. 1, fig. 1 shows a flowchart of a vehicle fault diagnosis method according to an embodiment of the present application. Here, the diagnostic method is applied to a diagnostic system of a vehicle failure.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a vehicle fault diagnosis system according to an exemplary embodiment of the present application.
As shown in fig. 2, the diagnosis system of vehicle failure includes: the in-vehicle control host 11 and the multi-stage to-be-diagnosed electronic control unit 12 may be, as an example, an HU control host, where the multi-stage to-be-diagnosed electronic control unit 12 may include: a central gateway 122, a plurality of domain control nodes M1, M2 … … Mn affiliated to the central gateway, and a plurality of ECUs affiliated to each domain control node, for example, ECU11 affiliated to domain control node M1, ECU12 … … ECU1n; ECU21, ECU22 … … ECU2n (not shown in the figure) belonging to the domain control node M2. As an example, the central gateway may be a CGW gateway.
The vehicle-mounted control host is in communication connection with the central gateway through the CANFD, the central gateway is respectively connected with a plurality of domain control nodes subordinate to the central gateway through the CANFD, and each domain control node subordinate to the central gateway is connected with an ECU subordinate to the domain control node through the CAN.
Here, the plurality of domain control nodes affiliated with the central gateway may include a body domain, a power domain, a intelligent driving domain, and a chassis domain.
The human-computer interaction interface is arranged on the vehicle-mounted control host, wherein the human-computer interaction interface arranged on the vehicle-mounted control host can comprise a plurality of functional controls, each functional control corresponds to one electric control unit to be diagnosed, that is, the human-computer interaction interface comprises the functional control corresponding to each electric control unit to be diagnosed.
Referring to fig. 1, as shown in fig. 1, a method for diagnosing a vehicle fault according to an embodiment of the present application includes the following steps:
s101, the vehicle-mounted control host responds to a diagnosis instruction triggered by a user aiming at any target to-be-diagnosed electric control unit on the man-machine interaction interface, and obtains a physical addressing address of the target to-be-diagnosed electric control unit;
here, before step S101, the following steps may be further included: when the power-on of the vehicle is detected, firstly starting a human-computer interaction interface; then, receiving identity information input by a user on a man-machine interaction interface; then, determining whether the received identity information is valid; when the received identity information is valid, displaying a diagnosis operation main interface; after the diagnosis operation main interface is displayed, generating a popup window based on preset prompt information for prompting an operator to confirm that no external diagnosis equipment exists; and responding to the confirmation operation of the user on the popup window in the diagnosis operation main interface, and receiving a diagnosis instruction triggered by the user on the man-machine interaction interface aiming at any target to-be-diagnosed electric control unit under the condition of a predetermined operation permission.
Here, the predetermined operation permission condition may mean that the vehicle voltage is within an operable range and the diagnostic request transmitted by the center gateway is permission.
S102, the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
here, the diagnosis request message is an instruction to read diagnosis information. As an example, the diagnostic information may be fault code information. In the case that the diagnosis information is fault code information, the diagnosis request message may be an instruction for reading the fault code information.
As an example, in this step, the on-board control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electronic control unit based on the physical address;
and when the received diagnosis request message is not the diagnosis request message sent to the to-be-diagnosed electric control unit, forwarding the diagnosis request message to the target to-be-diagnosed electric control unit based on a physical addressing address in the diagnosis request message.
Next, step S102 will be described by way of a specific example.
As an example, when any target electric control unit to be diagnosed is a central gateway, the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the central gateway based on a physical addressing address of the central gateway.
As another example, when any target to-be-diagnosed electronic control unit is a vehicle body domain control node (as an example, may be domain control node M1 in fig. 2) that belongs to the central gateway, the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the vehicle body domain control node based on a physical address of the vehicle body domain control node.
As can be seen from the communication principle and in conjunction with fig. 2, when the vehicle-mounted control host sends the diagnosis request message to the vehicle body domain control node, the diagnosis request message passes through the central gateway. For the central gateway, the central gateway determines that the received message is a diagnosis request message, and then judges that the received diagnosis request message is not the diagnosis request message sent to the central gateway, so that the diagnosis request message is forwarded to a vehicle body domain control node based on a physical addressing address in the diagnosis request message.
As yet another example, when any target electric control unit to be diagnosed is the ECU11 subordinate to the vehicle body domain control node, the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the ECU11 based on the physical addressing address of the ECU11.
As can be seen from the communication principle and in conjunction with fig. 2, when the vehicle-mounted control host sends a diagnosis request message to the ECU11, the vehicle-mounted control host passes through the central gateway and the vehicle body domain control node to which the ECU11 belongs. Wherein, for the central gateway, the central gateway determines that the received message is a diagnosis request message, and then determines that the received diagnosis request message is not a diagnosis request message sent to the central gateway, so that the diagnosis request message is forwarded to the ECU11 based on a physical address in the diagnosis request message.
As can be seen from the communication principle and in combination with fig. 2, the central gateway transmits the diagnosis request message to the ECU11 via the vehicle body domain control node. Wherein, for the vehicle body domain control node, the vehicle body domain control node determines that the received message is a diagnosis request message, and then determines that the received diagnosis request message is not a diagnosis request message sent to the vehicle body domain control node, so that the diagnosis request message is forwarded to the ECU11 based on a physical address in the diagnosis request message.
S103, the target to-be-diagnosed electronic control unit acquires diagnosis information based on the diagnosis request message, and generates a diagnosis response message based on the acquired diagnosis information after acquiring the diagnosis information;
here, the diagnosis information includes fault code information;
as an example, in the case where the diagnosis information is trouble code information, step S103 may include:
s1031, the target to-be-diagnosed electronic control unit acquires fault code information under a preset acquisition condition based on the diagnosis request message, and determines the number of acquired fault code information after acquiring the fault code information;
here, the preset acquisition condition refers to that the received message is a diagnosis request message, and the current voltage reaches the fault code enabling condition.
S1032, when the number of the acquired fault code information is larger than the preset number, generating a multi-frame positive response diagnosis response message according to a preset message format based on the acquired fault code information;
here, the preset number is set according to actual conditions, and for example, the preset number may be 15.
Herein, referring to fig. 3, fig. 3 is a schematic diagram illustrating a preset message format according to an exemplary embodiment of the present application.
As shown in FIG. 3, bit7-Bit4 of Byte0 represents 0001 the 1 st frame of the multi-frame, and Bit7-Bit4 of Byte0 represents 0010 the consecutive frames of the multi-frame. The multi-frame is defined by continuous frame data length and SN serial number, the 1 st frame carries continuous frame data length, each message of the following continuous frame carries 1 SN serial number, starts from 0 and increases gradually, and the number of messages allowed to be sent by the multi-frame is determined by the flow control frame sent by the HU.
S1033, when the number of the acquired fault code information is not greater than the preset number, generating Shan Zhen positive response diagnosis response messages according to a preset message format based on the acquired fault code information.
Wherein, as shown in fig. 3, bit7-Bit4 of Byte0 is 0000 representing a single frame.
S104, the target to-be-diagnosed electronic control unit returns the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address;
as an example, in this step, the target to-be-diagnosed electronic control unit may return the diagnosis response message to the in-vehicle control host based on a physical addressing response address;
and when the received diagnosis response message is not the diagnosis response message returned to the to-be-diagnosed electric control unit, forwarding the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address in the diagnosis response message.
Here, the process of returning the diagnostic response message to the vehicle-mounted control host by the target to-be-diagnosed electronic control unit based on the physical address response address is similar to the sending process in step S102, so the process of returning the diagnostic response message may refer to the sending process in step S102, which is not described herein.
S104, the vehicle-mounted control host performs fault diagnosis on the vehicle based on the received diagnosis response message, and a fault diagnosis result is obtained.
As an example, in this step, the following steps may be included:
s1041, after receiving a first diagnosis response message, the vehicle-mounted control host determines whether the received first diagnosis response message is a single-frame positive response diagnosis response message;
s1042, when the received first diagnosis response message is a single-frame positive response diagnosis response message, the vehicle-mounted control host reads fault code information carried in the first diagnosis response message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result;
s1043, when the received first diagnosis response message is not a single-frame positive response diagnosis response message, the vehicle-mounted control host determines the number of continuous frames corresponding to the first diagnosis response message based on the data length of the first diagnosis response message carried in the received first diagnosis response message, receives the continuous frame message after receiving the first diagnosis response message based on the number of continuous frames, reads fault code information based on the SN serial numbers carried in the first diagnosis response message and the continuous frame message in the process of receiving the first diagnosis response message and the continuous frame message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result.
Further, after obtaining the failure diagnosis result, the diagnosis method further includes:
and displaying the fault diagnosis result on the man-machine interaction interface so as to display the fault diagnosis result.
Further, after obtaining the failure diagnosis result, the diagnosis method further includes:
determining whether a diagnosis response message is received within a preset time period after a fault diagnosis result is obtained; if the diagnosis response message is not received, indicating that no electronic control unit to be diagnosed needs to return the diagnosis response message, displaying a popup window without fault codes on the man-machine interaction interface.
According to the vehicle fault diagnosis method, fault information is obtained through the control host in the vehicle, and a fault diagnosis result is determined according to the fault information. Therefore, fault information can be obtained under the condition that a diagnostic instrument is not arranged, and a fault diagnosis result is determined according to the fault information, so that the diagnosis efficiency can be improved, and the user experience is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a vehicle fault diagnosis device according to an exemplary embodiment of the present application. As shown in fig. 4, the diagnostic device 400 includes:
the triggering module 410 is configured to obtain a physical address of an electronic control unit to be diagnosed of any target in response to a diagnosis instruction triggered by a user on the man-machine interface for the electronic control unit to be diagnosed of the target;
the message sending module 420 is configured to send a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electronic control unit based on the physical address;
the information acquisition module 430 is configured to acquire diagnostic information based on the diagnostic request message by the target to-be-diagnosed electronic control unit, and generate a diagnostic response message based on the acquired diagnostic information after acquiring the diagnostic information;
a message return module 440, configured to return the diagnostic response message to the vehicle-mounted control host based on a physical address response address;
the fault diagnosis module 450 is configured to perform fault diagnosis on the vehicle by using the on-vehicle control host based on the received diagnosis response message, so as to obtain a fault diagnosis result.
Optionally, the multi-stage to-be-diagnosed electronic control unit includes: the system comprises a central gateway, a plurality of domain control nodes belonging to the central gateway and a plurality of ECUs belonging to each domain control node.
Optionally, the message sending module 420 is specifically configured to:
based on the physical addressing address, sending a diagnosis request message for acquiring diagnosis information to the target to-be-diagnosed electric control unit;
the system comprises a vehicle-mounted control host, a message sending module, a diagnosis request message sending module and a diagnosis request message sending module, wherein the vehicle-mounted control host is used for sending a diagnosis request message to the target to-be-diagnosed electric control unit, each to-be-diagnosed electric control unit passes through in the process of sending the diagnosis request message to the target to-be-diagnosed electric control unit, the message sending module in the to-be-diagnosed electric control unit is used for judging whether the received message is the diagnosis request message, if the received message is the diagnosis request message, judging whether the received diagnosis request message is the diagnosis request message sent to the to-be-diagnosed electric control unit, and when the received diagnosis request message is not the diagnosis request message sent to the to-be-diagnosed electric control unit, forwarding the diagnosis request message to the target to-be-diagnosed electric control unit based on a physical addressing address in the diagnosis request message.
Optionally, the diagnostic information includes fault code information;
the information obtaining module 430 is specifically configured to:
the target to-be-diagnosed electronic control unit acquires fault code information under a preset acquisition condition based on the diagnosis request message, and determines the quantity of the acquired fault code information after acquiring the fault code information;
when the number of the acquired fault code information is larger than the preset number, generating a multi-frame positive response diagnosis response message according to a preset message format based on the acquired fault code information;
and generating Shan Zhen positive response diagnosis response messages according to a preset message format based on the acquired fault code information when the number of the acquired fault code information is not greater than the preset number.
Optionally, the fault diagnosis module 450 is specifically configured to:
after receiving the first diagnosis response message, the vehicle-mounted control host determines whether the received first diagnosis response message is a single-frame positive response diagnosis response message;
when the received first diagnosis response message is a single-frame positive response diagnosis response message, the vehicle-mounted control host reads fault code information carried in the first diagnosis response message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result;
when the received first diagnosis response message is not a single-frame positive response diagnosis response message, the vehicle-mounted control host determines the number of continuous frames corresponding to the first diagnosis response message based on the data length of the first diagnosis response message carried in the received first diagnosis response message, receives the continuous frame message after receiving the first diagnosis response message based on the number of the continuous frames, reads fault code information based on the first diagnosis response message and the SN serial number carried in the continuous frame message in the processes of receiving the first diagnosis response message and receiving the continuous frame message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result.
According to the vehicle fault diagnosis device, the fault information is obtained through the control host in the vehicle, and the fault diagnosis result is determined according to the fault information. Therefore, fault information can be obtained under the condition that a diagnostic instrument is not arranged, and a fault diagnosis result is determined according to the fault information, so that the diagnosis efficiency can be improved, and the user experience is improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 500 includes a processor 510, a memory 520, and a bus 530.
The memory 520 stores machine-readable instructions executable by the processor 510, and when the electronic device 500 is running, the processor 510 communicates with the memory 520 through the bus 530, and when the machine-readable instructions are executed by the processor 510, the steps of the vehicle fault diagnosis method in the above method embodiment may be executed, and specific implementation manners may refer to the method embodiment and will not be described herein.
The embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program, where the computer program when executed by a processor can perform the steps of the vehicle fault diagnosis method in the above method embodiment, and a specific implementation manner may refer to the method embodiment and will not be repeated herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A diagnostic method of a vehicle failure, characterized by being applied to a diagnostic system of a vehicle failure, the diagnostic system of a vehicle failure comprising: the system comprises a vehicle-mounted control host and a multi-stage to-be-diagnosed electric control unit; the vehicle-mounted control host is provided with a human-computer interaction interface, and the diagnosis method comprises the following steps:
the vehicle-mounted control host responds to a diagnosis instruction triggered by a user aiming at any target to-be-diagnosed electric control unit on the man-machine interaction interface, and obtains a physical addressing address of the target to-be-diagnosed electric control unit;
the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
the target to-be-diagnosed electronic control unit acquires diagnosis information based on the diagnosis request message, and generates a diagnosis response message based on the acquired diagnosis information after acquiring the diagnosis information;
the target to-be-diagnosed electronic control unit returns the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address;
and the vehicle-mounted control host performs fault diagnosis on the vehicle based on the received diagnosis response message to obtain a fault diagnosis result.
2. The diagnostic method of claim 1, wherein the multi-stage electrical control unit to be diagnosed comprises: the system comprises a central gateway, a plurality of domain control nodes belonging to the central gateway and a plurality of ECUs belonging to each domain control node.
3. The diagnostic method according to claim 2, wherein the on-board control host sends a diagnostic request message for obtaining diagnostic information to the target to-be-diagnosed electronic control unit based on the physical address, including:
the vehicle-mounted control host sends a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
and when the received diagnosis request message is not the diagnosis request message sent to the to-be-diagnosed electric control unit, forwarding the diagnosis request message to the target to-be-diagnosed electric control unit based on a physical addressing address in the diagnosis request message.
4. The diagnostic method of claim 1, wherein the diagnostic information comprises fault code information;
the target to-be-diagnosed electric control unit obtains diagnosis information based on the request message, generates a diagnosis response message based on the obtained diagnosis information after obtaining the diagnosis information, and returns the diagnosis response message to the vehicle-mounted control host based on a physical addressing response address, and comprises the following steps:
the target to-be-diagnosed electronic control unit acquires fault code information under a preset acquisition condition based on the diagnosis request message, and determines the quantity of the acquired fault code information after acquiring the fault code information;
when the number of the acquired fault code information is larger than the preset number, generating a multi-frame positive response diagnosis response message according to a preset message format based on the acquired fault code information;
and generating Shan Zhen positive response diagnosis response messages according to a preset message format based on the acquired fault code information when the number of the acquired fault code information is not greater than the preset number.
5. The diagnostic method according to claim 4, wherein the onboard control host performs fault diagnosis on the vehicle based on the received diagnostic response message, and obtains a fault diagnosis result, including:
after receiving the first diagnosis response message, the vehicle-mounted control host determines whether the received first diagnosis response message is a single-frame positive response diagnosis response message;
when the received first diagnosis response message is a single-frame positive response diagnosis response message, the vehicle-mounted control host reads fault code information carried in the first diagnosis response message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result;
when the received first diagnosis response message is not a single-frame positive response diagnosis response message, the vehicle-mounted control host determines the number of continuous frames corresponding to the first diagnosis response message based on the data length of the first diagnosis response message carried in the received first diagnosis response message, receives the continuous frame message after receiving the first diagnosis response message based on the number of the continuous frames, reads fault code information based on the first diagnosis response message and the SN serial number carried in the continuous frame message in the processes of receiving the first diagnosis response message and receiving the continuous frame message, and matches the read fault code information with a fault dictionary preset in the vehicle-mounted control host to obtain a fault diagnosis result.
6. A diagnostic apparatus for a vehicle failure, characterized by being applied to a diagnostic system for a vehicle failure, the diagnostic system for a vehicle failure comprising: the system comprises a vehicle-mounted control host and a multi-stage to-be-diagnosed electric control unit; the vehicle-mounted control host is provided with a human-computer interaction interface, and the diagnosis device comprises:
the triggering module is used for responding to a diagnosis instruction triggered by a user aiming at any target to-be-diagnosed electric control unit on the man-machine interaction interface and acquiring a physical addressing address of the target to-be-diagnosed electric control unit;
the message sending module is used for sending a diagnosis request message for obtaining diagnosis information to the target to-be-diagnosed electric control unit based on the physical addressing address;
the information acquisition module is used for acquiring diagnosis information based on the diagnosis request message by the target to-be-diagnosed electronic control unit and generating a diagnosis response message based on the acquired diagnosis information after acquiring the diagnosis information;
the message return module is used for returning the diagnosis response message to the vehicle-mounted control host based on the physical addressing response address;
the vehicle-mounted control host is used for carrying out fault diagnosis on the vehicle based on the received diagnosis response message to obtain a fault diagnosis result.
7. The diagnostic device of claim 6, wherein the multi-stage to-be-diagnosed electronic control unit comprises: the system comprises a central gateway, a plurality of domain control nodes belonging to the central gateway and a plurality of ECUs belonging to each domain control node.
8. The diagnostic device of claim 7, wherein the message sending module is specifically configured to:
based on the physical addressing address, sending a diagnosis request message for acquiring diagnosis information to the target to-be-diagnosed electric control unit;
the system comprises a vehicle-mounted control host, a message sending module, a diagnosis request message sending module and a diagnosis request message sending module, wherein the vehicle-mounted control host is used for sending a diagnosis request message to the target to-be-diagnosed electric control unit, each to-be-diagnosed electric control unit passes through in the process of sending the diagnosis request message to the target to-be-diagnosed electric control unit, the message sending module in the to-be-diagnosed electric control unit is used for judging whether the received message is the diagnosis request message, if the received message is the diagnosis request message, judging whether the received diagnosis request message is the diagnosis request message sent to the to-be-diagnosed electric control unit, and when the received diagnosis request message is not the diagnosis request message sent to the to-be-diagnosed electric control unit, forwarding the diagnosis request message to the target to-be-diagnosed electric control unit based on a physical addressing address in the diagnosis request message.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating via said bus when the electronic device is running, said machine readable instructions when executed by said processor performing the steps of the method for diagnosing a vehicle fault according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the vehicle fault diagnosis method according to any one of claims 1 to 5.
CN202310603714.0A 2023-05-25 2023-05-25 Vehicle fault diagnosis method and device Pending CN116560342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310603714.0A CN116560342A (en) 2023-05-25 2023-05-25 Vehicle fault diagnosis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310603714.0A CN116560342A (en) 2023-05-25 2023-05-25 Vehicle fault diagnosis method and device

Publications (1)

Publication Number Publication Date
CN116560342A true CN116560342A (en) 2023-08-08

Family

ID=87501734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310603714.0A Pending CN116560342A (en) 2023-05-25 2023-05-25 Vehicle fault diagnosis method and device

Country Status (1)

Country Link
CN (1) CN116560342A (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799686A (en) * 2009-12-25 2010-08-11 奇瑞汽车股份有限公司 Vehicle-mounted diagnosis system
CN103604612A (en) * 2013-10-30 2014-02-26 奇瑞汽车股份有限公司 Vehicle remote diagnostic system and diagnostic method
CN106569451A (en) * 2016-10-21 2017-04-19 奇瑞汽车股份有限公司 Automobile fault diagnosis system and automobile fault diagnosis method based on vehicle-mounted sound host
CN107368061A (en) * 2017-08-23 2017-11-21 安徽江淮汽车集团股份有限公司 A kind of vehicle audio self-diagnosable system and method
CN108121326A (en) * 2017-12-11 2018-06-05 北京经纬恒润科技有限公司 A kind of fault diagnosis method and system
CN108696424A (en) * 2017-04-07 2018-10-23 上汽通用汽车有限公司 Vehicle communication system
CN109960237A (en) * 2017-12-25 2019-07-02 郑州宇通客车股份有限公司 A kind of car fault diagnosis and data analysis system and vehicle
CN110515366A (en) * 2019-07-29 2019-11-29 华为技术有限公司 A kind of method for diagnosing faults and device
CN111966081A (en) * 2020-09-02 2020-11-20 上海博泰悦臻网络技术服务有限公司 Fault diagnosis method, system, medium, equipment and vehicle based on vehicle-mounted display
CN112485019A (en) * 2020-11-24 2021-03-12 海马汽车有限公司 Vehicle fault diagnosis method and device, vehicle and storage medium
CN112764776A (en) * 2021-01-18 2021-05-07 国汽智控(北京)科技有限公司 Domain controller over-the-air upgrading method and device, electronic equipment and storage medium
CN113093687A (en) * 2019-12-23 2021-07-09 广州汽车集团股份有限公司 Fault diagnosis system and method based on domain controller
CN113204226A (en) * 2021-04-25 2021-08-03 重庆长安汽车股份有限公司 Vehicle diagnosis system and method
CN115097808A (en) * 2022-06-21 2022-09-23 东风悦享科技有限公司 Vehicle fault code simulation test method, system, electronic equipment and storage
CN115127577A (en) * 2022-09-02 2022-09-30 南通立信自动化有限公司 Vehicle-mounted navigation control system and control method
CN115685971A (en) * 2022-11-08 2023-02-03 上海汽车集团股份有限公司 Vehicle diagnosis method and related device
CN115834121A (en) * 2022-10-18 2023-03-21 蔚来汽车科技(安徽)有限公司 Vehicle-mounted communication system and vehicle-mounted communication method

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799686A (en) * 2009-12-25 2010-08-11 奇瑞汽车股份有限公司 Vehicle-mounted diagnosis system
CN103604612A (en) * 2013-10-30 2014-02-26 奇瑞汽车股份有限公司 Vehicle remote diagnostic system and diagnostic method
CN106569451A (en) * 2016-10-21 2017-04-19 奇瑞汽车股份有限公司 Automobile fault diagnosis system and automobile fault diagnosis method based on vehicle-mounted sound host
CN108696424A (en) * 2017-04-07 2018-10-23 上汽通用汽车有限公司 Vehicle communication system
CN107368061A (en) * 2017-08-23 2017-11-21 安徽江淮汽车集团股份有限公司 A kind of vehicle audio self-diagnosable system and method
CN108121326A (en) * 2017-12-11 2018-06-05 北京经纬恒润科技有限公司 A kind of fault diagnosis method and system
CN109960237A (en) * 2017-12-25 2019-07-02 郑州宇通客车股份有限公司 A kind of car fault diagnosis and data analysis system and vehicle
CN110515366A (en) * 2019-07-29 2019-11-29 华为技术有限公司 A kind of method for diagnosing faults and device
CN113093687A (en) * 2019-12-23 2021-07-09 广州汽车集团股份有限公司 Fault diagnosis system and method based on domain controller
CN111966081A (en) * 2020-09-02 2020-11-20 上海博泰悦臻网络技术服务有限公司 Fault diagnosis method, system, medium, equipment and vehicle based on vehicle-mounted display
CN112485019A (en) * 2020-11-24 2021-03-12 海马汽车有限公司 Vehicle fault diagnosis method and device, vehicle and storage medium
CN112764776A (en) * 2021-01-18 2021-05-07 国汽智控(北京)科技有限公司 Domain controller over-the-air upgrading method and device, electronic equipment and storage medium
CN113204226A (en) * 2021-04-25 2021-08-03 重庆长安汽车股份有限公司 Vehicle diagnosis system and method
CN115097808A (en) * 2022-06-21 2022-09-23 东风悦享科技有限公司 Vehicle fault code simulation test method, system, electronic equipment and storage
CN115127577A (en) * 2022-09-02 2022-09-30 南通立信自动化有限公司 Vehicle-mounted navigation control system and control method
CN115834121A (en) * 2022-10-18 2023-03-21 蔚来汽车科技(安徽)有限公司 Vehicle-mounted communication system and vehicle-mounted communication method
CN115685971A (en) * 2022-11-08 2023-02-03 上海汽车集团股份有限公司 Vehicle diagnosis method and related device

Similar Documents

Publication Publication Date Title
US20240137737A1 (en) System and method for managing a fleet of vehicles including electric vehicles
KR101448753B1 (en) System and method for vehicles diagnosis using gateway
EP3745228A1 (en) Vehicle diagnosis method and device, and vehicle communication interface
CN102262404B (en) End-of-line configuration system and configuration method for finished vehicle
CN102929274B (en) In-vehicle networking ground skewed redundant test macro, method and apparatus
CN112485019A (en) Vehicle fault diagnosis method and device, vehicle and storage medium
US11288054B2 (en) Vehicular communication system
CN112606779B (en) Automobile fault early warning method and electronic equipment
CN112198863A (en) Diagnostic function control method, system, storage medium, vehicle-mounted communication box and vehicle
CN110545220A (en) Automobile diagnosis protocol detection method and related product
CN103548059A (en) Diagnostic device for motor vehicles and diagnostic method
CN111311780A (en) Vehicle fault detection system and method, vehicle-mounted terminal and vehicle
CN110995823B (en) Vehicle-mounted terminal offline processing method, device, storage medium and device
CN110203157B (en) Auxiliary diagnosis device for abnormal battery power failure, server and system comprising auxiliary diagnosis device
CN109557907A (en) Failure logging and resolution system for trailer system
CN116560342A (en) Vehicle fault diagnosis method and device
CN111988194B (en) Method and device for diagnosing automobile line
Varun et al. Automotive Ethernet in on-board diagnosis (Over IP) & in-vehicle networking
CN109358600A (en) Diagnostic method and device based on vehicle mounted communication module
EP4309153A1 (en) Diagnostics system for a vehicle
CN112051826B (en) Automobile fault detection method and system
CN114967634A (en) Processor diagnostic device, processor diagnostic method, and electronic apparatus
JP2014037197A (en) Vehicle control device and vehicle control system
CN114415646B (en) Remote vehicle diagnosis method, system and terminal equipment based on DoIP protocol
CN110471399A (en) Vehicular diagnostic method, device, system and vehicle based on ECU

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