Vehicle fault diagnosis system, method, device, system-on-chip chip and vehicle

By integrating the microprocessor and system-on-chip in the vehicle with built-in Linux and UDS diagnostic software, fault diagnosis and firmware upgrade of the vehicle controller are realized, which solves the problem in the existing technology that the UDS diagnostic function requires special instruments and reduces the cost. and improve diagnostic efficiency.

CN113960991BActive Publication Date: 2024-08-23YAOYAO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111448273.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-08-23
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

In the existing technology, the UDS diagnostic function using a vehicle-mounted controller requires a specialized vehicle fault diagnostic instrument, which is costly and inconvenient to implement.

Method used

A vehicle fault diagnosis system is designed, which includes a microprocessor and a system-on-chip. The system-on-chip has a built-in Linux system and preset UDS diagnostic software. It communicates with the vehicle controller through the CAN bus or Ethernet interface to implement fault diagnosis and firmware. Upgrade without external diagnostic instrument.

Benefits of technology

It realizes the use of existing vehicle resources to complete the UDS diagnostic function without the need for a special diagnostic instrument, reduces the cost of fault diagnosis and improves the diagnostic efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113960991B
    Figure CN113960991B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a vehicle fault diagnosis system, method, device, system-on-chip chip and vehicle, wherein the system includes: a microprocessor and a system-on-chip chip; the microprocessor is communicatively connected with the system-on-chip chip, and the system-on-chip chip has a built-in Linux system and a preset UDS diagnostic software; the system-on-chip chip is used to run the UDS diagnostic software through the Linux system to send a fault diagnosis signal to the microprocessor; the microprocessor is used to respond to the fault diagnosis signal sent by the system-on-chip chip according to the preset UDS diagnostic protocol, and to feed back the fault diagnosis result of the corresponding vehicle module to the system-on-chip chip according to the diagnostic signal; the system-on-chip chip is also used to send corresponding firmware update information to the microprocessor according to the fault diagnosis result. In this way, the vehicle fault diagnosis system in the present invention can use the existing resources in the vehicle to realize the UDS diagnostic function of the diagnostic instrument.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control, and in particular to a vehicle fault diagnosis system, method, device, system-on-chip chip and vehicle. Background Art

[0002] The UDS (Unified Diagnostic Services) diagnostic protocol is a diagnostic communication protocol in the vehicle controller environment. Most current vehicle controllers have the UDS-Server function to support the recording and transmission of vehicle controller faults and the update of vehicle controller firmware. Currently, UDS can support multiple bus interfaces such as ETH and CAN.

[0003] The car fault diagnostic instrument is a portable intelligent car fault self-test instrument with UDS-Client function for detecting car faults. Users can use it to quickly read the faults in the car controller and display the fault information through the LCD screen, quickly find out the location and cause of the fault and refresh the firmware of the car controller.

[0004] Under the existing technology, if you want to use the UDS diagnostic function on the vehicle controller, you must have an automobile fault diagnostic instrument. The price of an automobile fault diagnostic instrument ranges from several thousand to tens of thousands of yuan depending on the richness of its functions. The existing solution is costly and inconvenient to implement. Summary of the invention

[0005] In order to solve the above technical problems, the embodiments of the present application provide a vehicle fault diagnosis system, method, device, system-on-chip chip and vehicle. The specific solutions are as follows:

[0006] In a first aspect, an embodiment of the present application provides a vehicle fault diagnosis system, which is applied to a vehicle, and the system includes: a microprocessor and a system-on-chip chip;

[0007] The microprocessor is connected to the system-on-chip through a CAN bus, and the system-on-chip has a built-in Linux system and a preset UDS diagnostic software;

[0008] The system-on-chip chip is used to start the Linux system according to the Linux startup signal, and run the UDS diagnostic software through the Linux system to send a fault diagnosis signal to the microprocessor;

[0009] The microprocessor is used to respond to the fault diagnosis signal sent by the system-on-chip chip according to a preset UDS diagnostic protocol, and feed back a fault diagnosis result of a corresponding vehicle module to the system-on-chip chip according to the fault diagnosis signal;

[0010] The system-on-chip chip is also used to send corresponding firmware update information to the microprocessor according to the fault diagnosis result, so that the microprocessor performs firmware upgrade according to the firmware update information.

[0011] According to a specific implementation of the embodiment of the present application, the system-on-chip chip also includes an external interface, and the external interface includes any one of a UART interface, a USB interface, an HDMI interface, and a DP interface;

[0012] The system-on-chip chip is used to receive the Linux startup signal through the external interface.

[0013] According to a specific implementation of the embodiment of the present application, the system further includes a switching chip, a plurality of Ethernet interfaces are arranged on the switching chip, the switching chip is respectively connected to the microprocessor and the system-on-chip chip through the Ethernet interfaces, and the switching chip is also used to connect to a router device through the Ethernet interface;

[0014] The system-on-chip chip is communicatively connected with the microprocessor via the switching chip;

[0015] The switch chip is used to remotely receive the Linux startup signal through the router device and forward the Linux startup signal to the on-chip system chip.

[0016] According to a specific implementation of the embodiment of the present application, the system-on-chip chip is also used to communicate with an on-board controller in the vehicle through a CAN bus or an Ethernet interface;

[0017] The system-on-chip chip is also used to send the fault diagnosis signal to the vehicle controller;

[0018] The on-board controller is used to respond to the fault diagnosis signal sent by the on-chip system chip according to a preset UDS diagnostic protocol, and feed back a fault diagnosis result of a corresponding vehicle module to the on-chip system chip according to the fault diagnosis signal, wherein the vehicle module corresponding to the on-board controller is different from the vehicle module corresponding to the microcontroller;

[0019] The system-on-chip chip is also used to send corresponding firmware update information to the vehicle-mounted controller according to the fault diagnosis result, so that the vehicle-mounted controller performs firmware upgrade according to the firmware update information.

[0020] In a second aspect, an embodiment of the present application provides a vehicle fault diagnosis method, which is applied to a system-on-chip chip in a vehicle fault diagnosis system, wherein the vehicle fault diagnosis system further includes a microprocessor, wherein the microprocessor is communicatively connected to the system-on-chip chip via a CAN bus, and the system-on-chip chip has a built-in Linux system and a preset UDS diagnostic software, wherein the method includes:

[0021] Start the Linux system according to a Linux startup signal, and run the UDS diagnostic software through the Linux system;

[0022] Sending fault diagnosis signals to the microprocessor;

[0023] Analyzing the fault diagnosis result of the corresponding vehicle module fed back by the microprocessor;

[0024] Corresponding firmware update information is sent to the microprocessor, so that the microprocessor performs firmware upgrade according to the firmware update information.

[0025] According to a specific implementation of the embodiment of the present application, the system-on-chip chip is also used to communicate with an on-board controller in the vehicle through a CAN bus or an Ethernet interface, and the method further includes:

[0026] sending the fault diagnosis signal to the on-board controller;

[0027] Analyzing the fault diagnosis result of the corresponding vehicle module fed back by the vehicle-mounted controller, wherein the vehicle module corresponding to the vehicle-mounted controller is different from the vehicle module corresponding to the microcontroller;

[0028] Send corresponding firmware update information to the vehicle-mounted controller, so that the vehicle-mounted controller performs firmware upgrade according to the firmware update information.

[0029] In a third aspect, an embodiment of the present application provides a vehicle fault diagnosis device, which is applied to a system-on-chip chip in a vehicle fault diagnosis system, wherein the vehicle fault diagnosis system further includes a microprocessor, wherein the microprocessor is communicatively connected to the system-on-chip chip via a CAN bus, wherein the system-on-chip chip has a built-in Linux system and a preset UDS diagnostic software, and wherein the device includes:

[0030] A startup module, used for starting the Linux system according to a Linux startup signal, and running the UDS diagnostic software through the Linux system;

[0031] A sending module, used for sending a fault diagnosis signal to a microprocessor;

[0032] An analysis module, used for analyzing the fault diagnosis result of the corresponding vehicle module fed back by the microprocessor;

[0033] The update module is used to send corresponding firmware update information to the microprocessor, so that the microprocessor performs firmware upgrade according to the firmware update information.

[0034] In a fourth aspect, an embodiment of the present application provides a system-on-chip chip, including a processor and a memory, wherein the memory stores a computer program, and when the computer program runs on the processor, the vehicle fault diagnosis method described in the second aspect is executed.

[0035] In a fifth aspect, an embodiment of the present application provides a vehicle, comprising the vehicle fault diagnosis system described in the first aspect and the system-on-chip chip described in the fourth aspect.

[0036] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a processor, the vehicle fault diagnosis method described in the second aspect is executed.

[0037] The embodiment of the present application provides a vehicle fault diagnosis system, method, device, system-on-chip chip and vehicle, which are applied to vehicles, and the system includes: a microprocessor and a system-on-chip chip; the microprocessor is connected to the system-on-chip chip through a CAN bus, and the system-on-chip chip has a built-in Linux system and a preset UDS diagnostic software; the system-on-chip chip is used to start the Linux system according to a Linux startup signal, and run the UDS diagnostic software through the Linux system to send a fault diagnosis signal to the microprocessor; the microprocessor is used to respond to the fault diagnosis signal sent by the system-on-chip chip according to a preset UDS diagnostic protocol, and feedback the fault diagnosis result of the corresponding vehicle module to the system-on-chip chip according to the fault diagnosis signal; the system-on-chip chip is also used to send corresponding firmware update information to the microprocessor according to the fault diagnosis result, so that the microprocessor performs a firmware upgrade according to the firmware update information. Therefore, the vehicle fault diagnosis system in the present invention can use the existing resources in the vehicle to realize the UDS diagnostic function of the diagnostic instrument. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.

[0039] Figure 1 A schematic diagram of the system structure of a vehicle fault diagnosis system provided by an embodiment of the present application is shown;

[0040] Figure 2 Another system structure diagram of a vehicle fault diagnosis system provided by an embodiment of the present application is shown;

[0041] Figure 3 A schematic diagram of a method flow of a vehicle fault diagnosis method provided by an embodiment of the present application is shown;

[0042] Figure 4 A schematic diagram of a device module of a vehicle fault diagnosis device provided in an embodiment of the present application is shown.

[0043] Summary of reference numerals: vehicle fault diagnosis system-100; system-on-chip chip-110; microprocessor-120; switch chip-130;

[0044] A first vehicle-mounted controller 210; a second vehicle-mounted controller 220. DETAILED DESCRIPTION

[0045] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0046] The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0047] Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

[0048] Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

[0049] Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.

[0050] The UDS (Unified Diagnostic Services) diagnostic protocol is a diagnostic communication protocol in the vehicle controller environment. Currently, UDS can support multiple bus interfaces such as ETH and CAN. The protocol defines UDS-Server and UDS-Client. The server and client can communicate through the Ethernet interface or CAN bus protocol. The server is used to record local fault information. The client can obtain the fault information of the server through multiple communication interfaces and perform firmware upgrades.

[0051] The vehicle domain controller includes a system on chip and a microprocessor, but the existing design only outputs control information to the vehicle through the CAN interface of the microprocessor. When the UDS diagnostic service built into the vehicle controller is needed, another diagnostic device needs to be connected as the client of the UDS diagnostic protocol.

[0052] refer to Figure 1 , is a schematic diagram of the system structure of a vehicle fault diagnosis system 100 provided in an embodiment of the present application. A vehicle fault diagnosis system 100 provided in an embodiment of the present application is applied to a vehicle, such as Figure 1 As shown, the vehicle fault diagnosis system 100 includes: a microprocessor 120 and a system-on-chip chip 110;

[0053] The microprocessor 120 is connected to the system-on-chip chip 110 through a CAN bus, and the system-on-chip chip 110 has a built-in Linux system and a preset UDS diagnostic software;

[0054] The system-on-chip chip 110 is used to start the Linux system according to the Linux startup signal, and run the UDS diagnostic software through the Linux system to send a fault diagnosis signal to the microprocessor 120;

[0055] The microprocessor 120 is used to respond to the fault diagnosis signal sent by the system-on-chip chip 110 according to a preset UDS diagnostic protocol, and feed back a fault diagnosis result of a corresponding vehicle module to the system-on-chip chip 110 according to the fault diagnosis signal;

[0056] The system-on-chip chip 110 is further configured to send corresponding firmware update information to the microprocessor 120 according to the fault diagnosis result, so that the microprocessor 120 performs firmware upgrade according to the firmware update information.

[0057] In a specific embodiment, the system on chip (SoC) 110 is a system-level chip, and the system on chip 110 has a built-in Linux operating system and UDS-Client diagnostic software that can use the system on chip 110 as a client in the UDS diagnostic protocol.

[0058] The Linux operating system has a built-in running program. When the system-on-chip chip 110 starts the Linux operating system according to the Linux startup signal, the Linux will automatically run the pre-built-in UDS-Client diagnostic software and access other server terminals in the vehicle through the communication interface of the system-on-chip chip 110.

[0059] Specifically, after the user sends the Linux startup signal to the SoC chip 110 , the UDS-Client diagnostic software can be automatically started according to a preset program, or can be run according to the user's operation, which is not specifically limited here.

[0060] The microprocessor 120 (Micro-Controller Unit, MCU for short) acts as the server end in the UDS protocol. During operation, it will record the fault information of the corresponding components of the vehicle in real time, and store the fault information in the storage unit of the microprocessor 120. Among them, the fault information of the corresponding components of the vehicle recorded by the microprocessor 120 can be throttle depth, throttle verification status, brake depth, gear status, drive system status, etc. The fault information of the corresponding components of the vehicle recorded by the microprocessor 120 can be adaptively changed according to the advance settings of the technicians, and is not specifically limited here.

[0061] The CAN bus interface of the microprocessor 120 is communicatively connected with the CAN bus interface of the system-on-chip chip 110 , so that information communication between the microprocessor 120 and the system-on-chip chip 110 can be achieved through the CAN bus protocol.

[0062] When the microprocessor 120 receives the fault diagnosis signal sent by the system-on-chip chip 110, the microprocessor 120 extracts the fault information of the corresponding component of the vehicle from the storage unit, and feeds back the fault information to the system-on-chip chip 110 as the fault diagnosis result.

[0063] After receiving the real-time fault information fed back by the microprocessor 120, the system-on-chip chip 110 can generate corresponding firmware update information according to the real-time fault information. The system-on-chip chip 110 sends the firmware update information to the microprocessor 120, which enables the microprocessor 120 to automatically update the corresponding firmware to complete the diagnosis and adjustment services for vehicle components.

[0064] Specifically, after the UDS-Client diagnostic software is run in the SoC chip 110, the SoC chip obtains diagnostic information of all onboard controllers in the vehicle by loading a diagnostic service table, so as to access diagnostic service functions in each onboard controller. The diagnostic service table is used to describe the names of all onboard controllers in the vehicle, supported transport layer parameters, service types, direct injection-diesel (DID), diagnostic trouble code (DTC), extended data, freeze frame and other information.

[0065] The UDS-Client diagnostic software can use the CAN bus to communicate with other vehicle controllers on the CAN bus through the ISO-TP (ISO15765-2) protocol to access the UDS-Server function; the UDS-Client diagnostic software can also use the Ethernet interface to communicate with other vehicle controllers on the Ethernet interface through the DoIP (ISO13400-2) protocol to access the UDS-Server function.

[0066] The operator interacts with the UDS-Client software of the system-on-chip chip through the command line, which facilitates the operator to perform UDS functions such as obtaining fault codes, clearing fault codes, obtaining version numbers, and updating firmware;

[0067] More specifically, when executing functions such as obtaining fault codes, clearing fault codes, and obtaining version numbers, the specific method of using command line operations is that the operator uses the UDS-Client command line to pass the name, service name, sub-service name, and parameters of the target vehicle controller to the system-on-chip chip to use the UDS function. After receiving the above information, the UDS-Client in the system-on-chip chip matches the specific vehicle controller through the vehicle controller name in the diagnostic service table, and then uses the transmission layer number of the specific vehicle controller recorded in the diagnostic service table to access the diagnostic service of the specific vehicle controller, and returns the execution result of the diagnostic service through the command line.

[0068] When filling in the service name, sub-service name and parameters, after entering the name of the target vehicle controller, the UDS-Client software can report all services and sub-services supported by the currently selected target vehicle controller through the diagnostic service table, which is convenient for operators to use.

[0069] When executing the firmware update function, the specific method of using the command line operation is as follows: updating the vehicle controller firmware requires the use of a set of UDS services. When the vehicle controller firmware needs to be updated, the operator passes in the name of the target vehicle controller and the file address of the firmware in the Linux system through the UDS-Client command line. After receiving the above information, the UDS-Client matches the specific vehicle controller through the vehicle controller name in the diagnostic service table, and then uses the transport layer parameters of the vehicle controller recorded in the diagnostic service table to access the upgrade-related transactions of the vehicle controller, and writes the firmware passed in by the command line into the corresponding vehicle controller.

[0070] According to a specific implementation of the embodiment of the present application, Figure 2 As shown, the system-on-chip chip 110 also includes an external interface, and the external interface includes any one of a UART interface, a USB interface, an HDMI interface, and a DP interface;

[0071] The system-on-chip chip 110 is used to receive the Linux startup signal through the external interface.

[0072] In a specific embodiment, the system-on-chip chip 110 also includes multiple external interfaces, such as USB interface, HDMI interface, DP interface and other peripheral interfaces and Universal Asynchronous Receiver / Transmitter (UART) interface. The UART interface is used to connect to terminal devices such as laptops and receive Linux startup signals sent through a serial port communication protocol.

[0073] like Figure 2As shown, the vehicle fault diagnosis system 100 further includes a switching chip 130, on which a plurality of Ethernet interfaces are arranged, and the switching chip 130 is respectively connected to the microprocessor 120 and the system-on-chip chip 110 through the Ethernet interfaces, and the switching chip 130 is also used to connect to a router device through the Ethernet interface;

[0074] The system-on-chip chip 110 is communicatively connected with the microprocessor 120 via the switching chip 130;

[0075] The switch chip 130 is used to remotely receive the Linux startup signal through the router device, and forward the Linux startup signal to the system-on-chip chip 110 .

[0076] In a specific embodiment, the system-on-chip chip 110 can not only communicate with the microprocessor 120 through the CAN bus protocol, but also can communicate data with the microprocessor 120 through an Ethernet interface and the router device.

[0077] In addition, the switch chip 130 can also be connected to a router device through an Ethernet interface, so that the user can input a signal to the switch chip 130 in the domain controller by wireless communication, and then forward the signal to the system-on-chip chip 110 through the switch chip 130. The router device can realize 4G communication or 5G communication, and the router device is not specifically limited here.

[0078] The operator can log in to the Linux system in the SoC chip 110 to operate the UDS-Client software in the following ways:

[0079] 1. Connect the display through the display interface and the keyboard and mouse through the USB interface, so that the user can directly enter the login interface of the Linux system and directly operate the UDS-Client software in the Linux system. The display interface includes an HDMI interface, a DP interface, and a DVI interface.

[0080] 2. Connect the Ethernet interface of the switch chip 130 through the network port of the laptop computer, and log in to the Linux system in the SoC chip 110 through the SSH tool, wherein the SSH tool may be Putty, XManager, secureCRT, etc. The specific SSH tool to be used may be adaptively selected according to the actual application process and is not limited here;

[0081] 3. Connect the Debug Uart interface of the SoC chip 110 via a notebook and log into the Linux system via the serial console;

[0082] 4. Use a 4G / 5G router to connect to the Ethernet interface of the switch chip 130, so that you can log in to the Linux system remotely through the SSH tool.

[0083] Through the above interface settings, the vehicle UDS function can be used without an automobile fault diagnosis instrument through the existing interface resources of the vehicle domain controller.

[0084] In a specific embodiment, the function of the switching chip is equivalent to an Ethernet switch, and the microprocessor 120, the system-on-chip chip 110 and the terminal device outside the vehicle body can be interconnected through Ethernet through the switching chip, so that the UDS-client function can be used in the Linux system in the system-on-chip chip 110 to access the UDS-Server function of other devices through Ethernet communication.

[0085] After connecting to the 4G / 5G router, the system-on-chip chip 110 can obtain a public IP address, and any computer that can access the public network can log in to the Linux system in the system-on-chip chip 110 through the SSH protocol, and then use the UDS-Client function in the system-on-chip chip 110 to access the UDS-Server function of other devices.

[0086] According to a specific implementation of the embodiment of the present application, the system-on-chip chip 110 is also used to communicate with the vehicle controller in the vehicle through a CAN bus or an Ethernet interface;

[0087] The system-on-chip chip 110 is also used to send the fault diagnosis signal to the vehicle controller;

[0088] The on-board controller is used to respond to the fault diagnosis signal sent by the on-chip system chip 110 according to a preset UDS diagnostic protocol, and feed back a fault diagnosis result of a corresponding vehicle module to the on-chip system chip 110 according to the fault diagnosis signal, wherein the vehicle module corresponding to the on-board controller is different from the vehicle module corresponding to the microcontroller;

[0089] The system-on-chip chip 110 is further configured to send corresponding firmware update information to the vehicle-mounted controller according to the fault diagnosis result, so that the vehicle-mounted controller performs a firmware upgrade according to the firmware update information.

[0090] In a specific embodiment, the CAN bus supports parallel access to multiple devices, and devices on the same CAN bus can communicate with each other. The CAN of the CAN microprocessor 120 of the system-on-chip chip 110 is interconnected in the vehicle-mounted domain controller, so that the CAN of the vehicle-mounted domain controller can communicate with the microprocessor 120 and with other first vehicle-mounted controllers 210 connected in parallel outside the vehicle-mounted domain controller on the CAN bus. If CAN communication can be performed, the UDS-Client function can be used in the system-on-chip chip 110 to access the UDS-server function of other devices.

[0091] The system-on-chip chip 110 can also communicate data with other second vehicle controllers 220 other than the vehicle domain controller through the Ethernet interface and the switch chip 130. The corresponding vehicle module controlled by the first vehicle controller 210, the corresponding vehicle module controlled by the second vehicle controller 220 and the corresponding vehicle module controlled by the microprocessor 120 are all different.

[0092] Therefore, by connecting different on-board controllers, UDS diagnostic services can be implemented for all modules in the vehicle to achieve comprehensive diagnosis of the vehicle body, effectively improving the efficiency of vehicle fault detection.

[0093] Through the vehicle fault diagnosis system 100, the UDS function of the whole vehicle can be used without an automobile fault diagnosis instrument, thereby improving the efficiency of automobile fault diagnosis and saving a lot of costs for automobile fault diagnosis.

[0094] refer to Figure 3 , a vehicle fault diagnosis method provided in an embodiment of the present application is applied to a system-on-chip chip 110 in a vehicle fault diagnosis system 100, wherein the vehicle fault diagnosis system 100 further comprises a microprocessor 120, wherein the microprocessor 120 is connected to the system-on-chip chip 110 in communication via a CAN bus, and the system-on-chip chip 110 has a built-in Linux system and a preset UDS diagnostic software, such as Figure 3 As shown, the vehicle fault diagnosis method includes:

[0095] Step S301, starting the Linux system according to a Linux startup signal, and running the UDS diagnostic software through the Linux system;

[0096] In a specific embodiment, the Linux system is pre-installed in the system-on-chip chip 110, so that when the system-on-chip chip 110 receives a Linux startup signal from various communication protocol interfaces, it can automatically start the Linux system, and after starting the Linux system, run the UDS-Client diagnostic software stored in the Linux system in advance.

[0097] Step S302, sending a fault diagnosis signal to the microprocessor 120;

[0098] In a specific embodiment, after the system-on-chip chip 110 runs the UDS-Client diagnostic software, it can send a fault diagnosis signal to the microprocessor 120 through the Ethernet interface or the CAN bus communication protocol, wherein the fault diagnosis signal can be a diagnostic signal for some vehicle modules corresponding to the microprocessor 120 or a diagnostic signal for all vehicle modules corresponding to the microprocessor 120.

[0099] Step S303, analyzing the fault diagnosis result of the corresponding vehicle module fed back by the microprocessor 120;

[0100] In a specific embodiment, a data table in which vehicle module fault information and firmware upgrade information correspond one to one is also stored in advance in the system-on-chip chip 110 .

[0101] After receiving the fault information of the corresponding vehicle module fed back by the microprocessor 120 , the system-on-chip chip 110 can search for the firmware upgrade information corresponding to the fault information in the corresponding fault diagnosis table.

[0102] Step S304: Send corresponding firmware update information to the microprocessor 120, so that the microprocessor 120 performs firmware upgrade according to the firmware update information.

[0103] According to a specific implementation of the embodiment of the present application, the system-on-chip chip 110 is also used to communicate with the vehicle controller in the vehicle through a CAN bus or an Ethernet interface, and the method further includes:

[0104] sending the fault diagnosis signal to the on-board controller;

[0105] Analyzing the fault diagnosis result of the corresponding vehicle module fed back by the vehicle-mounted controller, wherein the vehicle module corresponding to the vehicle-mounted controller is different from the vehicle module corresponding to the microcontroller;

[0106] Send corresponding firmware update information to the vehicle-mounted controller, so that the vehicle-mounted controller performs firmware upgrade according to the firmware update information.

[0107] In a specific embodiment, the system-on-chip chip 110 can also connect to other vehicle controllers that are not in the same vehicle domain controller to obtain fault information of corresponding vehicle modules stored in other vehicle controllers and send corresponding firmware update information to the vehicle controller.

[0108] Through the vehicle fault diagnosis method, it is possible to directly use the on-board domain controller in the vehicle to diagnose specific modules of the vehicle without connecting to other diagnostic equipment, and other on-board controllers in the vehicle can be connected through communication interfaces such as Ethernet interface and CAN bus, so as to realize comprehensive fault diagnosis services for various parts of the vehicle.

[0109] refer to Figure 4 , is a schematic diagram of a device module of a vehicle fault diagnosis device 400 provided in an embodiment of the present application, a vehicle fault diagnosis device 400 provided in an embodiment of the present application, is applied to Figure 1 The system-on-chip chip 110 in the vehicle fault diagnosis system 100 shown in the figure further includes a microprocessor 120, which is connected to the system-on-chip chip 110 through a CAN bus. The system-on-chip chip 110 has a built-in Linux system and a preset UDS diagnostic software. Figure 4 As shown, the vehicle fault diagnosis device 400 includes:

[0110] A startup module 401 is used to start the Linux system according to a Linux startup signal and run the UDS diagnostic software through the Linux system;

[0111] The sending module 402 is used to send a fault diagnosis signal to the microprocessor 120;

[0112] An analysis module 403, used for analyzing the fault diagnosis result of the corresponding vehicle module fed back by the microprocessor 120;

[0113] The updating module 404 is used to send corresponding firmware updating information to the microprocessor 120, so that the microprocessor 120 performs firmware upgrading according to the firmware updating information.

[0114] Another system-on-chip chip 110 provided in an embodiment of the present application includes a processor and a memory, wherein the memory stores a computer program, and when the computer program runs on the processor, the vehicle fault diagnosis method in the above embodiment is executed.

[0115] An embodiment of the present application further provides a vehicle, comprising the vehicle fault diagnosis system 100 and the system-on-chip chip 110 described in the above embodiment.

[0116] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is run on a processor, the vehicle fault diagnosis method in the above embodiment is executed.

[0117] In summary, the embodiments of the present application provide a vehicle fault diagnosis system, method, device, system-on-chip chip and vehicle. The vehicle fault diagnosis system does not need to be connected to any diagnostic instrument equipment. According to the UDS-Client software pre-installed in the system-on-chip chip, it can communicate with the microprocessor and the on-board controller in the vehicle through the UDS diagnostic protocol to complete a unified diagnostic service. The vehicle fault diagnosis system saves the huge cost of fault diagnosis for the vehicle. The system-on-chip chip has a built-in Linux system and is provided with an external interface and an Ethernet port. The user can directly log in and start the Linux system by connecting some peripherals or remote SSH protocol, thereby greatly simplifying the process of vehicle fault detection and improving the efficiency of vehicle fault detection. In addition, the specific implementation process of the vehicle fault diagnosis device, system-on-chip chip, vehicle and computer-readable storage medium provided in the embodiments of the present application can refer to the specific implementation process in the above-mentioned method embodiment, and will not be repeated here one by one.

[0118] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and / or the flow chart, and the combination of boxes in the structure diagram and / or the flow chart, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0119] In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0120] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0121] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A vehicle fault diagnosis system, characterized in that: Applied to a vehicle, the system comprises: an on-vehicle domain controller, the on-vehicle domain controller comprising a system-on-chip chip and a microprocessor; The microprocessor is connected to the system-on-chip through a CAN bus, and the system-on-chip has a built-in Linux system and a preset UDS diagnostic software; The system-on-chip chip is used to start the Linux system according to the Linux startup signal, and run the UDS diagnostic software through the Linux system to send a fault diagnosis signal to the microprocessor; The microprocessor is used to respond to the fault diagnosis signal sent by the system-on-chip chip according to a preset UDS diagnostic protocol, and feed back a fault diagnosis result of a corresponding vehicle module to the system-on-chip chip according to the fault diagnosis signal; The system-on-chip chip is also used to send corresponding firmware update information to the microprocessor according to the fault diagnosis result, so that the microprocessor performs firmware upgrade according to the firmware update information; The system-on-chip chip is also used to communicate with an on-board controller in the vehicle via a CAN bus or an Ethernet interface; The system-on-chip chip is also used to send the fault diagnosis signal to the vehicle controller; The on-board controller is used to respond to the fault diagnosis signal sent by the on-chip system chip according to a preset UDS diagnostic protocol, and to feed back a fault diagnosis result of a corresponding vehicle module to the on-chip system chip according to the fault diagnosis signal, wherein the vehicle module corresponding to the on-board controller is different from the vehicle module corresponding to the microprocessor; The system-on-chip chip is also used to send corresponding firmware update information to the vehicle-mounted controller according to the fault diagnosis result, so that the vehicle-mounted controller performs firmware upgrade according to the firmware update information.

2. The system according to claim 1, characterized in that The system-on-chip chip also includes an external interface, and the external interface includes any one of a UART interface, a USB interface, an HDMI interface, and a DP interface; The system-on-chip chip is used to receive the Linux startup signal through the external interface.

3. The system according to claim 1, characterized in that The system further comprises a switching chip, on which a plurality of Ethernet interfaces are arranged, the switching chip is respectively connected to the microprocessor and the system-on-chip chip through the Ethernet interfaces, and the switching chip is also used to connect to a router device through the Ethernet interface; The system-on-chip chip is communicatively connected with the microprocessor via the switching chip; The switch chip is used to remotely receive the Linux startup signal through the router device and forward the Linux startup signal to the on-chip system chip.

4. A vehicle fault diagnosis method, characterized in that: The system-on-chip chip used in the vehicle fault diagnosis system according to claim 1, wherein the vehicle fault diagnosis system further comprises a microprocessor, wherein the microprocessor is communicatively connected to the system-on-chip chip via a CAN bus, wherein the system-on-chip chip has a built-in Linux system and a preset UDS diagnostic software, and wherein the method comprises: Start the Linux system according to a Linux startup signal, and run the UDS diagnostic software through the Linux system; Sending fault diagnosis signals to the microprocessor; Analyzing the fault diagnosis result of the corresponding vehicle module fed back by the microprocessor; Sending corresponding firmware update information to the microprocessor, so that the microprocessor performs firmware upgrade according to the firmware update information; The system-on-chip chip is also used to communicate with an on-board controller in the vehicle through a CAN bus or an Ethernet interface, and the method further includes: sending the fault diagnosis signal to the on-board controller; Analyzing the fault diagnosis result of the corresponding vehicle module fed back by the vehicle-mounted controller, wherein the vehicle module corresponding to the vehicle-mounted controller is different from the vehicle module corresponding to the microprocessor; Send corresponding firmware update information to the vehicle-mounted controller, so that the vehicle-mounted controller performs firmware upgrade according to the firmware update information.

5. A vehicle fault diagnosis device, characterized in that: The system-on-chip chip used in the vehicle fault diagnosis system according to claim 1, wherein the vehicle fault diagnosis system further comprises a microprocessor, wherein the microprocessor is communicatively connected to the system-on-chip chip via a CAN bus, wherein the system-on-chip chip has a built-in Linux system and a preset UDS diagnostic software, and wherein the device comprises: A startup module, used for starting the Linux system according to a Linux startup signal, and running the UDS diagnostic software through the Linux system; A sending module, used for sending a fault diagnosis signal to a microprocessor; An analysis module, used for analyzing the fault diagnosis result of the corresponding vehicle module fed back by the microprocessor; the vehicle module corresponding to the on-board controller is different from the vehicle module corresponding to the microprocessor; The update module is used to send corresponding firmware update information to the microprocessor, so that the microprocessor performs firmware upgrade according to the firmware update information.

6. A system-on-chip chip, characterized in that: The vehicle fault diagnosis method comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is run on the processor, the vehicle fault diagnosis method of claim 4 is executed.

7. A vehicle, characterized in that: It comprises the vehicle fault diagnosis system as described in any one of claims 1 to 3 and the system-on-chip chip as described in claim 6.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is run on a processor, the vehicle fault diagnosis method of claim 4 is executed.