A vehicle fault online diagnosis method and system

By performing fault type judgment and time threshold setting on the vehicle terminal in the vehicle fault diagnosis system, combined with the diagnosis data analysis of the cloud platform, the problem of inaccurate fault code analysis and high false alarm rate is solved, and accurate early warning and warning to car owners are achieved. Optimization of cloud platform resources.

CN114839949BActive Publication Date: 2024-08-23BEIJING CHANGAN AUTOMOBILE ENG TECH RES
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210340669.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-02
Publication Date
2024-08-23
Estimated Expiration
2042-04-02

Smart Images

  • Figure CN114839949B
    Figure CN114839949B
Patent Text Reader

Abstract

The present invention relates to an online diagnosis method and system for vehicle faults, the method comprising the steps of: a control unit performs self-diagnosis, if a fault code is generated or the fault code state changes, the fault code and the fault code state are converted into a CAN message and sent to a vehicle terminal; the vehicle terminal determines whether the fault code is a hard-wire fault code or a CAN bus fault code, if it is a hard-wire fault, the CAN message associated with the fault code is not collected, and it continues to determine whether the duration of the hard-wire fault reaches a preset time threshold, if so, the vehicle terminal packages the fault code and uploads the packaged fault code to a cloud platform. After the whole vehicle fault code is reported online, the present invention can accurately and comprehensively parse the fault code, systematically verify the true situation of the fault, and then give an early warning to the owner, and through the above process, effectively improve the owner's sense of trust.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of vehicle fault diagnosis, and in particular relates to an online diagnosis technology for vehicle faults. Background Art

[0002] With the development of intelligent connected vehicle technology, vehicle diagnostic information is gradually being monitored online in real time to enable timely discovery and maintenance of fault information. At the same time, as the degree of automotive electrification becomes higher and higher, the types and complexity of faults are also increasing.

[0003] The Chinese patent document with publication number CN112947372A discloses a technology called "a remote diagnosis method based on active reporting of fault codes". In this technology, each electronic control unit actively reports fault code data based on self-diagnosis, uploads it to the background server for analysis and storage, and finally transmits it to the smart diagnosis APP for diagnosis. At the same time, the associated diagnostic data (data identifier, extended frame and frozen frame) can be pulled remotely to provide data for fault code analysis. The above diagnostic method can solve the problem of real-time diagnosis and provide a certain data basis for fault analysis. However, some important fault codes, especially bus communication fault codes, cannot be determined only by pulling diagnostic data. If the fault is not approved and directly pushed to the owner, it will reduce the owner's trust.

[0004] The Chinese patent document with publication number CN113467419A discloses a technology called "A Vehicle Fault Active Alarm System". In this technology, when each execution controller detects its own fault, does not sleep, or is awakened by an abnormality, it actively uploads the fault code and related fault data to the cloud server. The cloud server parses and classifies the fault code to determine whether it is a vehicle fault or a non-sleeping fault, and then sends the parsing result to the early warning service platform. The early warning service platform parses and warns the data associated with the uploaded fish fault code. This technology uploads all faults to the early warning platform, does not classify the vehicle faults, and does not intercept and process faults that are prone to false alarms and unstable faults, which undoubtedly increases the data processing volume of the cloud platform. Summary of the invention

[0005] The purpose of the present invention is to propose an online diagnosis method and system for vehicle faults, and to solve the technical problem that after the vehicle fault code is reported online, the fault code analysis is inaccurate and incomplete, and the actual fault situation is not systematically verified, that is, an early warning is given to the vehicle owner, causing the vehicle owner to distrust and reduce the experience.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: an online diagnosis method for vehicle faults, comprising the steps of:

[0007] S01: The control unit performs self-diagnosis. If a fault code is generated or the fault code status changes, the fault code and the fault code status are converted into a CAN message and sent to the vehicle terminal;

[0008] S02: The vehicle terminal determines whether the fault code is a hard-wire fault code or a CAN bus fault code. If it is a hard-wire fault, the CAN message associated with the fault code is not collected, and it continues to determine whether the duration of the hard-wire fault reaches a preset time threshold. If so, the vehicle terminal packages the fault code and uploads the packaged fault code to the cloud platform;

[0009] S03: If it is the CAN bus fault code, the vehicle terminal determines the ID number of the associated CAN message based on the CAN bus fault code, and collects the CAN message of the network segment to which the CAN message belongs at a preset time based on the ID number;

[0010] S04: The vehicle terminal packages the CAN bus fault code and the associated CAN message of the preset time, and uploads them to the cloud platform;

[0011] S05: The cloud platform determines whether to pull diagnostic data based on the packaged data of S02 and S04, and if so, sends a diagnostic instruction to the vehicle terminal;

[0012] S06: The vehicle terminal determines whether the reading condition of the diagnostic instruction is met, and if so, encapsulates the diagnostic message to the corresponding control unit;

[0013] S07: the control unit responds to the diagnostic message and feeds back diagnostic data, and the vehicle terminal packages the diagnostic data and uploads it to the cloud platform;

[0014] S08: For the hard-wire faults, the cloud platform determines the authenticity of the fault based on the received diagnostic data, and then determines whether to issue a warning; for the CAN bus faults, the cloud platform determines the validity of the fault based on the received diagnostic data and the corresponding CAN message, and then determines whether to issue a warning.

[0015] Preferably,

[0016] In the S02, the hard-wire faults include vehicle high and low voltage diagnosis, button and switch stuck, and peripheral circuit open and short circuit faults;

[0017] The CAN bus faults include node loss, message loss, internal faults of the control unit self-diagnosis and CAN information interaction errors.

[0018] Preferably,

[0019] In the S05, the diagnostic data is DID or freeze frame data.

[0020] Preferably,

[0021] In the step S06 , the reading condition of the diagnosis instruction is: the vehicle is in the ON gear and the local diagnosis is not performed.

[0022] The present invention also provides an online diagnosis system for vehicle faults, comprising:

[0023] A sending module, used for the control unit to perform self-diagnosis, and if a fault code is generated or the fault code status changes, the fault code and the fault code status are converted into a CAN message and sent to the vehicle terminal;

[0024] The first judgment module is used for the vehicle terminal to judge whether the fault code is a hard-wire fault code or a CAN bus fault code. If it is a hard-wire fault, the CAN message associated with the fault code is not collected, and the duration of the hard-wire fault is further judged to reach a preset time threshold. If so, the vehicle terminal packages the fault code and uploads the packaged fault code to the cloud platform;

[0025] A collection module, for, if it is the CAN bus fault code, the vehicle terminal determines the ID number of the associated CAN message based on the CAN bus fault code, and collects the CAN message of the network segment to which the CAN message belongs at a preset time based on the ID number;

[0026] A packaging module, used for the vehicle terminal to package the CAN bus fault code and the associated CAN message of the preset time, and upload it to the cloud platform;

[0027] A second judgment module, used for the cloud platform to judge whether to pull the diagnostic data based on the first judgment module and the packaged data of the package module, and if so, send a diagnostic instruction to the vehicle terminal;

[0028] A third judgment module, used for the vehicle terminal to judge whether the reading condition of the diagnostic instruction is met, and if so, encapsulate the diagnostic message to the corresponding control unit;

[0029] An upload module, used for the control unit to respond to the diagnostic message, feed back diagnostic data, and the vehicle terminal to package the diagnostic data and upload it to the cloud platform;

[0030] The fourth judgment module is used for the cloud platform to judge the authenticity of the hard-wire type fault according to the received diagnostic data, and then determine whether to issue a warning; for the CAN bus type fault, the cloud platform judges the validity of the fault according to the received diagnostic data and the corresponding CAN message, and then determines whether to issue a warning.

[0031] Preferably,

[0032] In the first judgment module, the hard-wire faults include vehicle high and low voltage diagnosis, button and switch stuck, and peripheral circuit open and short circuit faults;

[0033] The CAN bus faults include node loss, message loss, internal faults of the control unit self-diagnosis and CAN information interaction errors.

[0034] Preferably,

[0035] In the second determination module, the diagnostic data is DID or freeze frame data.

[0036] Preferably,

[0037] In the third judgment module, the reading condition of the diagnostic instruction is: the vehicle is in the ON gear and the local diagnosis is not performed.

[0038] By adopting the above technical scheme, the beneficial technical effects that can be achieved by the present invention are as follows: the present invention can accurately locate vehicle faults, intercept hard-wire faults at the vehicle terminal, and upload them to the cloud platform only when the time threshold is met, reducing the upload of unstable faults to reduce the false alarm rate of faults, while saving the cloud platform data processing volume and storage space. The cloud platform automatically pulls the corresponding DID or freeze frame data for specific fault codes to accurately determine the fault code. For CAN bus faults, the authenticity of the fault code is locked by combining the corresponding DID or freeze frame data and then associating the CAN message. After the above process, after the authenticity of the fault code reported online is systematically judged, the car owner is warned to enhance the car owner's sense of trust. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0040] The present invention will be further described below in conjunction with the accompanying drawings.

[0041] like Figure 1 As shown, the present invention provides an online diagnosis method for vehicle faults, comprising the steps of:

[0042] In the first step, each control unit performs self-diagnosis. If a fault code is generated or the fault code status changes, the fault code and the fault code status are converted into CAN messages and sent to the vehicle terminal.

[0043] In the second step, the vehicle terminal checks the table to determine whether it is necessary to synchronously collect related CAN data. For hard-wire faults, there is no need to further collect CAN data and proceed directly to the third step. For CAN bus faults, it is necessary to further collect CAN messages and proceed to the fourth step.

[0044] In the third step, to ensure the stability and effectiveness of hard-wired faults, the fault reporting time needs to reach the corresponding preset time threshold. The on-board terminal then packages the fault code and uploads it to the cloud platform through the big data channel to enter the fifth step.

[0045] Specifically, hard-wire faults mainly include three types of faults: vehicle voltage is too high or too low, buttons and switches are stuck, and peripheral circuits are open or short-circuited. Vehicle voltage faults and peripheral circuit open or short-circuit faults (such as switch and drive circuit diagnosis) may be affected by the vehicle's instantaneous unstable state. Button and switch sticking may be caused by the owner's brief misoperation. Therefore, a time threshold is set for hard-wire faults, and the faults are uploaded only when the threshold is reached to avoid instantaneous and unstable fault code uploads, reduce background data processing work, and release more background storage space.

[0046] The fourth step is CAN bus faults. The on-board terminal looks up the table to determine the ID number of the associated CAN message, collects 10s of CAN messages in the network segment to which the message belongs, and then packages the fault code and the corresponding CAN message and uploads it to the cloud platform through the big data channel.

[0047] Specifically, CAN bus faults include four major types of faults: node loss, message loss, internal faults of control unit self-diagnosis, and CAN information interaction errors. Node loss is generally monitored and characterized by the online status of the node through periodic messages sent stably by the control unit; message loss usually monitors some important messages of the whole vehicle, such as the IMMO authentication signal of vehicle startup; internal faults of control unit self-diagnosis generally include faults of its own chip, low battery, software checking hardware chip and driver inconsistency, and are sent to the bus through CAN data; CAN information interaction errors include bus faults such as errors in the checksum of important messages and failure to receive verification requests. In summary, CAN bus faults are judged based on CAN messages with specific IDs, so CAN bus faults require the collection of corresponding CAN data to accurately lock the fault.

[0048] In the fifth step, based on the received fault data, the cloud platform further determines through specific applications whether the corresponding fault code needs to immediately pull the relevant DID or freeze frame data. If necessary, it automatically sends a remote read instruction to obtain the corresponding DID or freeze frame data for fault analysis.

[0049] Specifically, the cloud platform is only allowed to perform abnormal noise remote reading operations on one control unit at a time and the following requirements must be met: the single-word remote reading of DID can only read a single DID of a single control unit, and the next reading instruction is not allowed to be issued before the current DID reading is completed; the single remote reading of the freeze frame can only read the freeze frame of a single fault code, and the cloud platform is not allowed to issue the next reading instruction before the current freeze frame reading is completed.

[0050] In the sixth step, after the vehicle terminal receives the remote reading command, it needs to determine whether the current power gear is in the ON gear and whether the local diagnosis on the vehicle side is being performed. If the vehicle is in the ON gear and the local diagnosis is not performed, the encapsulated diagnostic message is sent to the corresponding control unit.

[0051] In the seventh step, after receiving the diagnostic message, the control unit executes a response, feeds back the diagnostic data, and sends it to the vehicle terminal again. The vehicle terminal packages the diagnostic response and uploads it to the cloud platform.

[0052] Step 8. For hardware failures, the cloud platform determines the authenticity of the failure based on the associated diagnostic data (DID, freeze frame) received, and then determines whether to give the car owner a warning. For CAN bus failures, the cloud platform determines the validity of the failure based on the associated diagnostic data (DID, freeze frame) and the corresponding CAN message, and then determines whether to push a warning to the car owner.

[0053] The present invention also provides an online diagnosis system for vehicle faults, comprising:

[0054] The sending module is used to control the control unit to perform self-diagnosis. If a fault code is generated or the fault code status changes, the fault code and the fault code status are converted into CAN messages and sent to the vehicle terminal;

[0055] The first judgment module is used for the vehicle terminal to judge whether the fault code is a hard-wire fault code or a CAN bus fault code. If it is a hard-wire fault, the CAN message associated with the fault code is not collected, and the duration of the hard-wire fault is further judged to reach a preset time threshold. If so, the vehicle terminal packages the fault code and uploads the packaged fault code to the cloud platform;

[0056] The acquisition module is used for, if it is a CAN bus fault code, the vehicle terminal determines the ID number of the associated CAN message based on the CAN bus fault code, and acquires the CAN message of the preset time of the network segment to which the CAN message belongs based on the ID number;

[0057] The packaging module is used for the vehicle terminal to package the CAN bus fault code and its associated CAN message of preset time, and upload it to the cloud platform;

[0058] A second judgment module is used for the cloud platform to judge whether to pull the diagnostic data based on the first judgment module and the packaged data of the package module, and if so, send a diagnostic instruction to the vehicle terminal;

[0059] The third judgment module is used for the vehicle terminal to judge whether the reading conditions of the diagnostic instruction are met, and if so, to encapsulate the diagnostic message to the corresponding control unit;

[0060] The upload module is used to control the control unit to respond to the diagnostic message, feedback the diagnostic data, and the vehicle terminal packages the diagnostic data and uploads it to the cloud platform;

[0061] The fourth judgment module is used for hard-wire faults. The cloud platform judges the authenticity of the fault based on the received diagnostic data, and then determines whether to issue a warning. For CAN bus faults, the cloud platform judges the validity of the fault based on the received diagnostic data and the corresponding CAN message, and then determines whether to issue a warning.

[0062] Specifically,

[0063] In the first judgment module, hard-wire faults include vehicle high and low voltage diagnosis, button and switch stuck, and peripheral circuit open and short circuit faults;

[0064] CAN bus faults include node loss, message loss, internal faults of the control unit self-diagnosis and CAN information interaction errors.

[0065] Specifically,

[0066] In the second determination module, the diagnosis data is DID or freeze frame data.

[0067] Specifically,

[0068] In the third judgment module, the reading condition of the diagnosis instruction is: the vehicle is in the ON gear and the local diagnosis is not performed.

Claims

1. An online diagnosis method for vehicle faults, It is characterized in that The steps involved are: S01: The control unit performs self-diagnosis. If a fault code is generated or the fault code status changes, the fault code and the fault code status are converted into a CAN message and sent to the vehicle terminal; S02: The vehicle terminal determines whether the fault code is a hard-wire fault code or a CAN bus fault code. If it is a hard-wire fault, the CAN message associated with the fault code is not collected, and it continues to determine whether the duration of the hard-wire fault reaches a preset time threshold. If so, the vehicle terminal packages the fault code and uploads the packaged fault code to the cloud platform; S03: If it is the CAN bus fault code, the vehicle terminal determines the ID number of the associated CAN message based on the CAN bus fault code, and collects the CAN message of the network segment to which the CAN message belongs at a preset time based on the ID number; S04: The vehicle terminal packages the CAN bus fault code and the associated CAN message of the preset time, and uploads them to the cloud platform; S05: The cloud platform determines whether to pull diagnostic data based on the packaged data of S02 and S04, and if so, sends a diagnostic instruction to the vehicle terminal; the diagnostic data is DID or freeze frame data; S06: The vehicle terminal determines whether the reading condition of the diagnostic instruction is met, and if so, encapsulates the diagnostic message to the corresponding control unit; S07: the control unit responds to the diagnostic message and feeds back diagnostic data, and the vehicle terminal packages the diagnostic data and uploads it to the cloud platform; S08: For the hard-wire fault, the cloud platform determines the authenticity of the fault based on the received diagnostic data, and then determines whether to issue an early warning; For the CAN bus faults, the cloud platform determines the validity of the fault based on the received diagnostic data and the corresponding CAN message, and then determines whether to issue an early warning.

2. The online diagnosis method for vehicle failure according to claim 1, It is characterized in that In the S02, the hard-wire faults include vehicle high and low voltage diagnosis, button and switch stuck, and peripheral circuit open and short circuit faults; The CAN bus faults include node loss, message loss, internal faults of the control unit self-diagnosis and CAN information interaction errors.

3. The online diagnosis method for vehicle failure according to claim 1, It is characterized in that In the step S06 , the reading condition of the diagnosis instruction is: the vehicle is in the ON gear and the local diagnosis is not performed.

4. An online diagnosis system for vehicle faults, It is characterized in that include: A sending module, used for the control unit to perform self-diagnosis, and if a fault code is generated or the fault code status changes, the fault code and the fault code status are converted into a CAN message and sent to the vehicle terminal; The first judgment module is used for the vehicle terminal to judge whether the fault code is a hard-wire fault code or a CAN bus fault code. If it is a hard-wire fault, the CAN message associated with the fault code is not collected, and the duration of the hard-wire fault is further judged to reach a preset time threshold. If so, the vehicle terminal packages the fault code and uploads the packaged fault code to the cloud platform; A collection module, for, if it is the CAN bus fault code, the vehicle terminal determines the ID number of the associated CAN message based on the CAN bus fault code, and collects the CAN message of the network segment to which the CAN message belongs at a preset time based on the ID number; A packaging module, used for the vehicle terminal to package the CAN bus fault code and the associated CAN message of the preset time, and upload it to the cloud platform; A second judgment module is used for the cloud platform to judge whether to pull diagnostic data based on the first judgment module and the packaged data of the package module, and if so, send a diagnostic instruction to the vehicle terminal; the diagnostic data is DID or freeze frame data; A third judgment module, used for the vehicle terminal to judge whether the reading condition of the diagnostic instruction is met, and if so, encapsulate the diagnostic message to the corresponding control unit; An upload module, used for the control unit to respond to the diagnostic message, feed back diagnostic data, and the vehicle terminal to package the diagnostic data and upload it to the cloud platform; The fourth judgment module is used for the cloud platform to judge the authenticity of the hard-wire fault according to the received diagnostic data, and then determine whether to issue an early warning; For the CAN bus faults, the cloud platform determines the validity of the fault based on the received diagnostic data and the corresponding CAN message, and then determines whether to issue an early warning.

5. The online diagnosis system for vehicle failure according to claim 4, It is characterized in that In the first judgment module, the hard-wire faults include vehicle high and low voltage diagnosis, button and switch stuck, and peripheral circuit open and short circuit faults; The CAN bus faults include node loss, message loss, internal faults of the control unit self-diagnosis and CAN information interaction errors.

6. The online diagnosis system for vehicle failure according to claim 4, It is characterized in that In the third judgment module, the reading condition of the diagnostic instruction is: the vehicle is in the ON gear and the local diagnosis is not performed.

Citation Information

Patent Citations

  • Remote diagnosis method based on fault code active reporting

    CN112947372A

  • Vehicle fault active alarm system

    CN113467419A

  • Low-voltage wire harness fault detection method of vehicle, signal diagnosis unit and vehicle

    CN113341923A

  • Vehicle diagnosis method, vehicle control unit, vehicle and readable storage medium

    CN114137932A

  • KR20190067339A