Diagnostic flashing system

By using the coordinated work of the main control module, isolation module and communication module in the diagnostic flashing system, combined with the power management of low dropout regulator and DC voltage converter, the existing system's problems in small size, low cost and high performance are solved, and an efficient, reliable and portable diagnostic flashing effect is achieved.

CN119828650APending Publication Date: 2025-04-15GRC AUTOMOTIVE TECH (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411956080.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-28
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing diagnostic writing system is difficult to take into account both small size, low cost and high performance, and it poses risks such as electrical interference and noise propagation, and is inconvenient to maintain.

Method used

A diagnostic flash writing system is designed, using the coordinated work of the main control module, isolation module and communication module to achieve data transmission and reception and electrical isolation, and provides stable voltages to different modules through low dropout regulators and DC voltage converters, supporting multiple communication protocols.

Benefits of technology

It realizes efficient and reliable operation of the diagnostic flash system, reduces cost and volume, simplifies design, is easy to carry and maintain, and is suitable for a variety of application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119828650A_ABST
    Figure CN119828650A_ABST
Patent Text Reader

Abstract

The invention discloses a diagnosis flashing system which is connected with an external ECU unit and comprises a main control module, an isolation module and a communication module which are sequentially connected in sequence, and the main control module and the communication module achieve data receiving and sending and electrical isolation through the isolation module; the main control module is used for diagnosing the received ECU information and generating a corresponding diagnosis result, the ECU information is generated and sent by the ECU unit, and the communication module is used for forwarding the diagnosis result generated by the main control module and flash information obtained by the main control module from the outside to the ECU unit. And the ECU unit completes fault diagnosis and firmware flashing according to the diagnosis result and the flashing information. According to the system, through cooperative work of the main control module, the isolation module and the communication module, efficient and reliable operation of the diagnosis flashing system is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automotive electronic technology, and in particular to a diagnostic flash writing system. Background Art

[0002] With the rapid development of automotive electronic technology, the number and complexity of electronic control units (ECUs) inside cars are increasing. At the same time, based on the requirements for safety, comfort, convenience, low pollution and low cost, the demand for ECU diagnosis and firmware flashing is also growing.

[0003] Most existing diagnostic flash systems use direct connection to the ECU for communication and data transmission, but this method has risks such as electrical interference and noise transmission, which may affect the stability and reliability of the system. In addition, traditional systems usually use multiple plug-ins and complex circuit designs, which not only increases costs, but also brings inconvenience to subsequent maintenance and repairs.

[0004] Especially for miniaturized and low-cost application scenarios, existing diagnostic flashing tools often cannot meet the requirements of small size, low cost and high performance. Specifically, existing tools are either expensive, complex circuits, and not conducive to later maintenance; or they are lacking in performance and reliability and cannot fully meet the needs of actual applications.

[0005] Therefore, there is an urgent need for a diagnostic flashing tool that is both efficient and can reduce costs and size. Summary of the invention

[0006] In response to the problems and shortcomings in the prior art, the present application provides a diagnostic flashing system that not only has protection functions such as electrical isolation and filtering, but also can reduce costs and size, thus achieving the requirements of low cost, compactness, portability and easy operation.

[0007] This application provides a diagnostic flashing system, which adopts the following technical solutions: A diagnostic flashing system is connected to an external ECU unit, comprising a main control module, an isolation module and a communication module connected in sequence, wherein the main control module and the communication module realize data transmission and reception and electrical isolation through the isolation module; The main control module is used to diagnose the received ECU information and generate corresponding diagnosis results, wherein the ECU information is generated and sent by the ECU unit. The communication module is used to forward the diagnostic result generated by the main control module and the flashing information obtained by the main control module from the outside to the ECU unit, and the ECU unit completes fault diagnosis and firmware flashing according to the diagnostic result and the flashing information.

[0008] By adopting the above technical means, through the coordinated work of the main control module, isolation module and communication module, the efficient and reliable operation of the diagnostic flashing system is achieved. The main control module is responsible for data processing and control, the isolation module realizes electrical isolation, and the communication module realizes the support of multiple communication protocols.

[0009] Preferably, the diagnostic flash writing system further includes a power supply module, the main control module and the isolation module are both connected to the power supply module, the power supply module includes a power supply, a low voltage dropout regulator and a DC voltage converter, and the output end of the power supply is respectively connected to the input end of the low voltage dropout regulator and the DC voltage converter; The low voltage dropout regulator is connected to the main control module and the isolation module respectively, and the DC voltage converter is connected to the isolation module.

[0010] By adopting the above-mentioned technical means, a low voltage dropout regulator and a DC voltage converter are introduced into the power module to provide stable and appropriate voltages for different modules, thereby ensuring the normal operation of the system. By connecting the power input of the isolation module to the low voltage dropout regulator and the DC voltage converter respectively, it is possible to ensure that the circuits inside the isolation module operate at different voltage levels while maintaining electrical isolation between them to prevent the propagation of noise and interference between different circuits, thereby helping to reduce noise and interference within the system and improve the overall performance and reliability of the system.

[0011] Preferably, the output voltage of the power supply is 5V; The power supply supplies power to the main control module and the isolation module through the low voltage dropout regulator, and the output voltage of the low voltage dropout regulator is 3.3V; The power supply supplies power to the isolation module and the communication module connected to the isolation module through the DC voltage converter, and the output voltage of the DC voltage converter is 5V.

[0012] By adopting the above-mentioned technical means, 3.3V and 5V voltages are provided to the main control module, isolation module and communication module respectively through a low voltage dropout regulator and a DC voltage converter, thereby meeting the specific voltage requirements of different modules, enabling the system to flexibly adapt to different voltage requirements and enhancing the versatility and compatibility of the system.

[0013] Preferably, the communication module includes a CAN communication module and a LIN communication module, the CAN communication module includes a first CAN transceiver and a second CAN transceiver, the LIN communication module includes a LIN transceiver, the first CAN transceiver is connected to two CAN buses, namely CAN0_L bus and CAN0_H bus, the second CAN transceiver is connected to two CAN buses, namely CAN1_L bus and CAN1_H bus, and the LIN transceiver is connected to a LIN bus.

[0014] By adopting the above technical means, the communication module is provided with a CAN communication module and a LIN communication module, supporting multiple communication protocols, so that the system can communicate with different types of ECUs, improving the applicability and flexibility of the system. The CAN communication module includes a first CAN transceiver and a second CAN transceiver, each of which is connected to two CAN buses, providing rich bus resources and facilitating the expansion and upgrade of the system.

[0015] Preferably, the diagnostic flashing system also includes a switch control module, which is connected to the output end of the isolation module. The switch control module is connected to a plurality of terminal resistors, and the CAN0_L bus, the CAN0_H bus, the CAN1_L bus and the CAN1_H bus are respectively connected to one of the terminal resistors.

[0016] By adopting the above technical means, several terminal resistors are connected through the switch control module, which provides the necessary impedance matching for the CAN bus, helps to reduce signal reflection and interference and improve communication quality.

[0017] Preferably, the diagnostic flashing system further comprises a status display module, wherein the status display module is connected to the main control module, and the status display module comprises a plurality of LED lights, wherein the first CAN transceiver, the second CAN transceiver and the LIN transceiver respectively correspond to one LED light.

[0018] By adopting the above technical means, the status display module intuitively displays the working status of the communication module and the system through LED lights, which is convenient for users to quickly understand the operation of the system and improves the usability and maintainability of the system.

[0019] Preferably, the LIN transceiver is also connected to an optical coupling control module for controlling the LIN master-slave mode.

[0020] By adopting the above technical means, the LIN transceiver is connected to the optocoupler control module, and the master-slave mode of LIN communication can be flexibly controlled through the optocoupler control module to meet the needs of different application scenarios.

[0021] Preferably, the interfaces of the CAN0_L bus, the CAN0_H bus, the CAN1_L bus and the CAN1_H bus are all Connector DB9.

[0022] By adopting the above technical means, the interfaces of CAN bus and LIN bus both use Connector DB9, which standardizes the interfaces to facilitate system connection and integration, and improves the compatibility and ease of use of the system.

[0023] Preferably, the LIN communication module is powered by the Connector DB9, and the power supply voltage is 12V.

[0024] By adopting the above technical means, the LIN communication module is powered by Connector DB9, and the power supply voltage is 12V, which not only ensures the stability of power supply, but also facilitates compatibility with other automotive electronic equipment.

[0025] Preferably, filter capacitors for stabilizing signals during transmission are arranged at the input interfaces of the main control module, the isolation module, the communication module and the power supply module.

[0026] By adopting the above-mentioned technical means, filter capacitors are set at the input interfaces of the main control module, isolation module, communication module and power module, which effectively stabilizes the signals during the transmission process and ensures the accuracy and integrity of the data.

[0027] In summary, this application has at least the following beneficial effects: 1. This application realizes efficient and reliable operation of the diagnostic flashing system through the collaborative work of the main control module, isolation module and communication module. The main control module is responsible for data processing and control, the isolation module realizes electrical isolation, and the communication module realizes support for multiple communication protocols. The flexibility and adaptability of the system are improved through the dynamic control of the terminal resistance and the switching of the LIN master-slave mode. The use of filter capacitors further enhances the system's anti-interference ability and signal stability.

[0028] 2. This application reduces the use of plug-ins, reduces the size of the overall controller, and reduces costs. The overall design is simple and compact, easy to carry and maintain, and suitable for a variety of application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 This is an architecture diagram of a main control module, an isolation module, and a communication module of a diagnostic flashing system according to an embodiment of the present application; Figure 2 This is one of the architecture diagrams of a diagnostic flashing system according to an embodiment of the present application; Figure 3This is the second architecture diagram of a diagnostic flashing system according to an embodiment of the present application; Figure 4 It is a connection relationship architecture diagram of an optocoupler control module of a diagnostic flash writing system in an embodiment of the present application. DETAILED DESCRIPTION

[0030] To further illustrate each embodiment, the present application provides drawings. These drawings are part of the disclosure of the present application, and are mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, ordinary technicians in the field should be able to understand other possible implementations and the advantages of the present application.

[0031] The present application is now further described in conjunction with the accompanying drawings and specific implementation methods.

[0032] A diagnostic flashing system of this embodiment may also be referred to as a controller in the subsequent description. The diagnostic flashing system is integrated on a PCB board of the controller and connected to an external ECU unit, which is an electronic control unit (Electronic Control Unit) of an external vehicle.

[0033] A diagnostic flashing system of this embodiment includes a main control module, an isolation module, a communication module and a power supply module which are connected in sequence.

[0034] Specifically, Figure 1 As shown, the main control module (MCU) is connected to the isolation module (Isolator), the isolation module is connected to the communication module, and the communication module is connected to the external ECU unit.

[0035] The isolation module is used to realize data transmission and reception and electrical isolation between the main control module and the communication module.

[0036] The main control module is used to diagnose the received ECU information and generate corresponding diagnostic results. The ECU information is generated by the ECU unit and sent to the communication module. The communication module forwards the ECU information to the isolation module, and the isolation module then forwards the ECU information to the main control module.

[0037] The communication module is used to forward the diagnostic results generated by the main control module and the flashing information obtained by the main control module from the outside to the ECU unit via the isolation module and the communication module in sequence. The ECU unit completes fault diagnosis and firmware flashing based on the diagnostic results and flashing information.

[0038] Specifically, the main control module is an MCU unit (microcontroller unit), which is used to process all data and control signals.

[0039] The MCU unit uses the ARM Cortex-M series high-performance processor, which has the characteristics of high integration and low power consumption.

[0040] The isolation module includes an isolation chip. The data received and sent between the MCU unit and the communication module are communicated to each other through the isolation chip, thereby realizing two-way communication between the MCU unit and the communication module. The isolation module can isolate the bus of the communication module, which can effectively reduce the propagation of noise and interference between different circuits, prevent signal interference and damage, and improve the overall performance of the system.

[0041] In this embodiment, the isolation chip is model SI8663BD.

[0042] In a specific embodiment, Figure 2 As shown, the main control module and the isolation module are both connected to the power module, which includes a power supply, a low dropout regulator (LDO) and a direct current voltage converter (DC-DC).

[0043] The output end of the power supply is connected to the input end of a low dropout regulator (LDO) and a direct current voltage converter (DC-DC) respectively.

[0044] The output end of the low dropout regulator (LDO) is connected to the input end of the main control module and the isolation module respectively; The output end of the direct current voltage converter (DC-DC) is connected to the input end of the isolation module, serving as an isolated power supply for the isolation chip.

[0045] The low dropout regulator (LDO) is AP2114H-3.3, which has the characteristics of low power consumption and high precision.

[0046] The DC-DC converter uses the LM2596 model, which has high efficiency and high stability, and can ensure the normal operation of the isolation module and the communication module through reasonable power management.

[0047] In a specific implementation method, the output voltage of the power supply is 5V, and the main control module and the isolation module are powered by a low voltage dropout regulator (LDO). The output voltage of the low voltage dropout regulator (LDO) is 3.3V, so the voltage input to the isolation module is 3.3V; The power supply supplies power to the isolation module and the communication module connected to the isolation module through a DC-DC converter. The output voltage of the DC-DC converter is 5V, so the input to the isolation module and the communication module is 5V.

[0048] In summary, the isolation module has 3.3V and 5V input voltages. In order to ensure the portability and compactness of this system, 3.3V is set as the mainstream voltage level to reduce power consumption and heat generation. The 5V voltage level can play an important role in the high-interference environment of automotive electronics, providing better anti-interference and signal transmission stability. Therefore, the communication module requires a 5V voltage to maintain normal operation.

[0049] Therefore, this system uses a mixture of 3.3V and 5V, and uses level conversion chips such as low-dropout regulators (LDO) and direct current voltage converters (DC-DC) for voltage adaptation, which are used for power supply before and after isolation, respectively, to ensure that the circuits inside the isolation module operate at different voltage levels while maintaining electrical isolation between them, so as to prevent the propagation of noise and interference between different circuits and improve the overall performance and reliability of the system.

[0050] In this embodiment, the power supply provides 5V power supply through the Type-C interface to ensure stable power supply.

[0051] The 5V output of the power supply is converted to 3.3V by a low dropout regulator (LDO) to power the MCU unit and isolation module, ensuring low power consumption and high accuracy.

[0052] The DC-DC converter is connected to the 5V power supply and directly outputs a 5V voltage to power the isolation module and the communication module, ensuring the normal communication of the communication module and the high efficiency and stability of the system.

[0053] In this embodiment, in addition to power supply, Type-C can also perform data transmission and support USB2.0. A bidirectional TVS is added to the USB data transmission pin of the power supply to achieve voltage stabilization protection for the output voltage. The USB transmission rate is as high as 480Mbps high speed (2.0).

[0054] like Figure 2 As shown in Figure 1, VBUS is used for both power supply and device detection and current limiting, allowing the USB connection to safely and reliably transmit data and power.

[0055] Through the above-mentioned optimized power module design, more efficient, more stable and more economical power management is achieved, and the overall design simplifies the circuit, reduces costs, and ensures the reliability and performance of the system.

[0056] In a specific implementation, the communication module includes a CAN communication module and a LIN communication module.

[0057] like Figure 3As shown, the CAN communication module includes a first CAN transceiver (CAN0 Transceiver) and a second CAN transceiver (CAN1 Transceiver). The first CAN transceiver is connected to two CAN buses, namely, a CAN0_L bus and a CAN0_H bus, and the second CAN transceiver is connected to two CAN buses, namely, a CAN1_L bus and a CAN1_H bus.

[0058] The first CAN transceiver and the second CAN transceiver of this embodiment have high-speed transmission and high reliability, and the model is TJA1051.

[0059] The CAN communication module can support CAN / CANFD and CAN2.0A / B protocols, with a maximum transmission rate of 5Mbps and a maximum length of 64 bytes.

[0060] The LIN communication module includes a LIN transceiver, and the LIN transceiver is connected to a LIN bus.

[0061] The LIN transceiver of this embodiment is the MCP2003B model, which supports 1 LIN channel and integrates the functions of the master node and slave node of the LIN network. The master node is responsible for initiating communication and controlling data transmission on the network, while the slave node responds to the request of the master node and sends data, making the system more flexible and adaptable to different network communication requirements.

[0062] In addition, the system's LIN Bus Specifications 1.3, 2.0 and 2.1 all comply with the SAE J2602 standard, meeting various low-speed, low-cost communication requirements and having good interoperability and reliability.

[0063] The LIN transceiver is also connected to an optical coupler control module for controlling the LIN master-slave mode.

[0064] like Figure 4 As shown, the optocoupler control module is directly connected to the MCU unit without having to be connected to the MCU unit through an isolation module, which saves costs. The master-slave mode of LIN communication can be flexibly controlled through the optocoupler control module to meet the needs of different application scenarios.

[0065] The optocoupler control module controls the working mode of the LIN transceiver, realizes master-slave switching, and implements flexible management of the LIN bus.

[0066] In this embodiment, the LIN transceiver is in slave mode by default, and the slave mode passively receives data and returns it as a slave.

[0067] In a specific implementation method, the interfaces of the CAN communication modules are all Connector DB9, which are used to connect to external devices. Figure 3 As shown, the CAN0_L bus, CAN0_H bus, CAN1_L bus, and CAN1_H bus are all connected to the Connector DB9 interface.

[0068] The LIN communication module is powered by Connector DB9, and the supply voltage is 12V. It should be noted that the above-mentioned DC-DC converter is connected to a 5V power supply and directly outputs a 5V voltage to power the isolation module and the communication module. The communication module refers to the CAN communication module, and does not include the LIN communication module. The LIN communication module is powered by Connector DB9, and the input voltage is 12V.

[0069] In addition, filter capacitors are provided at the output interfaces of the main control module, isolation module, communication module and power module to stabilize the signals during transmission. At the same time, bidirectional TVS tubes are provided to protect the remaining components of the PCBA.

[0070] The filter capacitor of this embodiment selects a 0.1 μF ceramic capacitor or a 10 μF electrolytic capacitor to ensure signal stability and anti-interference capability.

[0071] In a specific embodiment, the diagnostic flash writing system further includes a switch control module (Switch), Figure 2 and Figure 3 As shown, the switch control module is connected to the output end of the isolation module, the switch control module is connected to a plurality of terminal resistors, and the CAN0_L bus, CAN0_H bus, CAN1_L bus and CAN1_H bus are respectively connected to a terminal resistor.

[0072] The switch control module is connected to the output end of the isolation module. The MCU unit controls the switch control module through the optocoupler control module, and then controls the connection and disconnection of the terminal resistor to achieve dynamic management of the CAN bus. The optocoupler control module here plays an isolation role.

[0073] Specifically, in the present embodiment, the terminal resistor is directly arranged on the PCB board of the present system, and the dynamic connection and disconnection of the terminal resistor is realized through the switch control module; the usual design is that the terminal resistor is located outside the controller and connected to the system separately, or the resistor is controlled by a dip switch. The terminal resistor of the present system is located inside the controller and does not require a dip switch. The MCU unit can be directly controlled by the upper software, and then the Switch chip can be controlled, thereby dynamically managing the terminal resistor, reducing the manufacturing cost, making the system more sophisticated and beautiful, and improving the flexibility and adaptability of the system.

[0074] Therefore, by adding a switch control module, the quality of signal transmission can be improved, signal reflection can be reduced, and the stability and reliability of the system can be improved.

[0075] In a specific embodiment, the diagnostic flashing system further includes a status display module, such as Figure 2 As shown, the status display module is connected to the main control module.

[0076] The status display module includes several LED lights. In this embodiment, four LED lights are provided, namely Figure 2 RGB1, RGB2, RGB3 and RGB4, the first CAN transceiver, the second CAN transceiver and the LIN transceiver correspond to an LED light respectively, and the status of the controller also corresponds to an LED light. Through the status display of the LED lights, you can intuitively understand the working status of each module and the controller.

[0077] The diagnostic flashing system of this embodiment is integrated into a PCB board inside a controller. Specifically, the LED lamp in this embodiment is of SMD type, and the light source is guided to the side of the controller shell through a light guide column, which effectively reduces the area occupied by the LED lamp on the PCB board.

[0078] The color of the LED light is set according to different states. In this embodiment, for the LED lights corresponding to the CAN transceiver and the LIN transceiver, green indicates that the data is sent normally, orange indicates that an error frame occurs, and red indicates that the bus is offline (busoff); for the LED light corresponding to the controller, green indicates that the device is normal, orange indicates that the device is initialized, and red indicates that an error occurs and the device is not working.

[0079] The MCU unit determines whether there is a fault in the communication module and the system as a whole based on the received data, and controls the on and off of the LED light based on the judgment result to achieve real-time monitoring and fault alarm.

[0080] The status display module improves the system's visualization, making it easier for users to monitor and troubleshoot in real time. The LED light's SMD design is different from the common plug-in design, which saves space, makes the system more portable and compact, and improves the system's aesthetics and ease of use, thereby enhancing the user experience.

[0081] In addition, the system of this embodiment also includes a SWD interface, through which the optimized code can be downloaded into the MCU unit to achieve the functions of online debugging, BOOT burning and program downloading.

[0082] In this embodiment, the controller integrated with the system is sealed and designed with high and low temperature resistant components, so that the functions of the controller will not be affected even in extremely harsh conditions.

[0083] The controller provided in this embodiment has a compact and exquisite structure, a volume of 45*18.5*60mm, and a weight of 0.2kg.

[0084] In another specific implementation, a diagnostic flashing method is provided. Based on the above diagnostic flashing system, the diagnostic flashing method includes two steps: diagnosis and flashing: Steps for diagnosis: S1. An external ECU unit connected to the system generates ECU information, which includes the status of the ECU unit itself.

[0085] S2. The communication module receives the ECU information sent by the ECU unit, and sends the ECU information to the isolation module, and then sends it to the MCU unit through the isolation module.

[0086] Specifically, Figure 2 and Figure 3 As shown, the LIN transceiver of the LIN communication module outputs the ECU information received through the LIN bus to the isolation chip of the isolation module through LIN_RX, and then outputs it from the isolation chip to the MCU unit through LIN_RX; and / or the second CAN transceiver of the CAN communication module outputs the ECU information received through the CAN1_L and CAN1_H buses to the isolation chip of the isolation module through CAN1_RX, and then outputs it from the isolation chip to the MCU unit through CAN1_RX; and / or the first CAN transceiver of the CAN communication module outputs the ECU information received through the CAN0_L and CAN0_H buses to the isolation chip of the isolation module through CAN0_RX, and then outputs it from the isolation chip to the MCU unit through CAN0_RX; S3. The MCU unit parses and processes the ECU information to obtain a diagnosis result of the external ECU unit, and returns the diagnosis result to the external ECU unit.

[0087] Specifically, the MCU unit sends the diagnosis result to the isolation chip through LIN_TX, and the isolation chip forwards the diagnosis result to the LIN transceiver through LIN_TX. The diagnosis result is finally output to the LIN bus network of the ECU unit through the LIN bus. And / or the MCU unit sends the diagnosis result to the isolation chip through CAN1_TX, the isolation chip forwards the diagnosis result to the second CAN transceiver through CAN1_TX, and the diagnosis result is finally output to the CAN bus network of the ECU unit through CAN1_L and CAN1_H; And / or the MCU unit sends the diagnosis result to the isolation chip through CAN0_TX, the isolation chip forwards the diagnosis result to the first CAN transceiver through CAN0_TX, and the diagnosis result is finally output to the CAN bus network of the ECU unit through CAN0_L and CAN0_H.

[0088] The flashing step is the same as the above step S3: the MCU unit obtains the flashing information from the outside and forwards the flashing information to the external ECU unit; Specifically, the MCU unit sends the flash information to the isolation chip through LIN_TX, and the isolation chip forwards the flash information to the LIN transceiver through LIN_TX. The flash information is finally output to the LIN bus network of the ECU unit through the LIN bus. And / or the MCU unit sends the flashing information to the isolation chip through CAN1_TX, the isolation chip forwards the flashing information to the second CAN transceiver through CAN1_TX, and the flashing information is finally output to the CAN bus network of the ECU unit through CAN1_L and CAN1_H; And / or the MCU unit sends the flash information to the isolation chip through CAN0_TX, the isolation chip forwards the flash information to the first CAN transceiver through CAN0_TX, and the flash information is finally output to the CAN bus network of the ECU unit through CAN0_L and CAN0_H.

[0089] The ECU unit completes fault diagnosis and firmware flashing based on the diagnosis results and flashing information.

[0090] To sum up, the overall design of this application is simple and compact, easy to carry and maintain, and suitable for a variety of application scenarios. It shows significant advantages in modular design, electrical isolation, power management optimization, multi-communication protocol support, terminal resistance configuration, status display, LIN master-slave mode control, standardized interface, power supply optimization, and stable signal transmission. It provides an efficient, convenient, reliable and low-cost solution for the diagnosis and flashing of automotive ECUs.

[0091] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A diagnostic flashing system connected to an external ECU unit, characterized in that: It includes a main control module, an isolation module and a communication module which are connected in sequence, and the main control module and the communication module realize data transmission and reception and electrical isolation through the isolation module; The main control module is used to diagnose the received ECU information and generate corresponding diagnosis results. The ECU information is generated and sent by the ECU unit. The communication module is used to forward the diagnostic result generated by the main control module and the flashing information obtained by the main control module from the outside to the ECU unit, and the ECU unit completes fault diagnosis and firmware flashing according to the diagnostic result and the flashing information.

2. A diagnostic flashing system according to claim 1, characterized in that: The diagnostic flash writing system also includes a power supply module, the main control module and the isolation module are both connected to the power supply module, the power supply module includes a power supply, a low voltage dropout regulator and a DC voltage converter, and the output end of the power supply is respectively connected to the input end of the low voltage dropout regulator and the DC voltage converter; The low voltage dropout regulator is connected to the main control module and the isolation module respectively, and the DC voltage converter is connected to the isolation module.

3. A diagnostic flashing system according to claim 2, characterized in that: The output voltage of the power supply is 5V; The power supply supplies power to the main control module and the isolation module through the low voltage dropout regulator, and the output voltage of the low voltage dropout regulator is 3.3V; The power supply supplies power to the isolation module and the communication module connected to the isolation module through the DC voltage converter, and the output voltage of the DC voltage converter is 5V.

4. A diagnostic flashing system according to claim 1, characterized in that: The communication module includes a CAN communication module and a LIN communication module, the CAN communication module includes a first CAN transceiver and a second CAN transceiver, the LIN communication module includes a LIN transceiver, the first CAN transceiver is connected to two CAN buses, namely CAN0_L bus and CAN0_H bus, the second CAN transceiver is connected to two CAN buses, namely CAN1_L bus and CAN1_H bus, and the LIN transceiver is connected to a LIN bus.

5. A diagnostic flashing system according to claim 4, characterized in that: The diagnostic flashing system also includes a switch control module, which is connected to the output end of the isolation module. The switch control module is connected to a plurality of terminal resistors, and the CAN0_L bus, the CAN0_H bus, the CAN1_L bus and the CAN1_H bus are respectively connected to one of the terminal resistors.

6. A diagnostic flashing system according to claim 4, characterized in that: The diagnostic flashing system also includes a status display module, which is connected to the main control module. The status display module includes a plurality of LED lights, and the first CAN transceiver, the second CAN transceiver and the LIN transceiver each correspond to one LED light.

7. A diagnostic flashing system according to claim 4, characterized in that: The LIN transceiver is also connected to an optical coupling control module for controlling the LIN master-slave mode.

8. A diagnostic flashing system according to claim 4, characterized in that: The interfaces of the CAN0_L bus, the CAN0_H bus, the CAN1_L bus and the CAN1_H bus are all Connector DB9.

9. A diagnostic flashing system according to claim 8, characterized in that: The LIN communication module is powered by the Connector DB9, and the power supply voltage is 12V.

10. A diagnostic flashing system according to claim 8, characterized in that: The main control module, the isolation module, the communication module and the input interface of the power module are all provided with filter capacitors for stabilizing the signals during the transmission process.