Four-path UART monitoring device for ECU debugging

By designing a four-channel UART monitoring device, using isolation circuits and CAN bus technology, the problem of unreliable UART communication in automotive ECUs is solved, and real-time display and bug positioning of multiple UART data are realized.

CN223245031UActive Publication Date: 2025-08-19SHANGHAI FENGTIAN ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422776107.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-08-19
Estimated Expiration
2034-11-14

AI Technical Summary

Technical Problem

UART is susceptible to interference in automotive electronic control units, resulting in unreliable communications, and existing debugging tools are difficult to display and analyze multiple UART data in real time.

Method used

A four-channel UART monitoring device including a control board, MCU, UART interface, CAN interface and UART communication circuit is designed, and the isolation power supply, UART isolation chip and level conversion chip are used for electrical isolation, and UART data is forwarded through the CAN bus for easy analysis.

Benefits of technology

Real-time display of UART data and intuitive analysis of multiple UART data is realized, improving the practicality of ECU debugging and bug positioning efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223245031U_ABST
    Figure CN223245031U_ABST
Patent Text Reader

Abstract

The utility model discloses a four-way UART monitoring device used for ECU debugging, comprising a control panel, the control panel is provided with an MCU, an external power supply interface, CAN interfaces and UART interfaces, the number of the UART interfaces is four, the UART interfaces are electrically connected with the MCU through a UART communication circuit, and the MCU is electrically connected with the CAN interfaces through a CAN communication circuit; the UART communication circuit comprises an isolation power supply, a UART isolation chip and a level conversion chip, in the four-way UART monitoring device for ECU debugging, information received on the four-way UART interface is forwarded to the CAN bus through a CANfd message, CANoe can be directly used for analyzing signals and recording data, the data are synchronized with the ECU message, Bug positioning is facilitated, the CAN bus technology is mature, bus tools are rich, and the CAN bus debugging efficiency is improved. The signal can be intuitively and conveniently analyzed and displayed, and the practicability of the monitoring device is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of automobile electronic control units, in particular to a four-channel UART monitoring device for ECU debugging. Background Art

[0002] With the rapid development of new energy vehicles, electronic control units (ECUs) in vehicles need to connect to both low-voltage and high-voltage power supplies, requiring electrical isolation between the two. In this case, an MCU is deployed on the low-voltage side to handle control, information acquisition, and network communications. An MCU is deployed on the high-voltage side to handle control and information acquisition. Communication between the low-voltage and high-voltage sides occurs via a UART coupled with a digital isolator.

[0003] UARTs are highly susceptible to interference near power circuits, making them unreliable. During development, debugging UART communications is often necessary to determine whether the problem lies with the receiver, transmitter, or line interference. UART data is not visual, and data collection and analysis are often performed using serial port debugging tools. This makes it difficult to display transmitted signals in real time, and serial port debugging tools are not well-suited for multi-channel UART communication.

[0004] In summary, a four-channel UART monitoring device for ECU debugging is designed. Utility Model Content

[0005] In order to overcome the above-mentioned deficiencies, the utility model provides a four-way UART monitoring device for ECU debugging.

[0006] The utility model achieves the above-mentioned purpose through the following technical solutions:

[0007] A four-channel UART monitoring device for ECU debugging includes a control board, an MCU, an external power supply interface, a CAN interface, and a UART interface provided on the control board. The UART interface is electrically connected to the MCU via a UART communication circuit, and the MCU is electrically connected to the CAN interface via a CAN communication circuit.

[0008] The UART communication circuit includes an isolated power supply, a UART isolation chip and a level conversion chip. The UART interface is electrically connected to the MCU through the level conversion chip and the UART isolation chip, and the external power supply interface is electrically connected to the UART isolation chip through the isolated power supply.

[0009] Preferably, the control board is further provided with an LED indicator light, which is electrically connected to the MCU via an LED drive circuit and is used to indicate whether there is data on the UART.

[0010] Preferably, the control board is further provided with a USB interface, the MCU is electrically connected to the USB interface, and the USB interface is used for power supply, UART baud rate configuration, and message ID configuration.

[0011] Preferably, the external power supply interface outputs a 5V DC voltage through a power supply circuit.

[0012] Preferably, a fuse is provided between the USB interface and the MCU to prevent a spike voltage from being generated between the USB interface and the MCU and breaking down the control board circuit when the USB interface is connected to an external terminal.

[0013] The beneficial effects of the present invention are as follows: in the four-channel UART monitoring device for ECU debugging, the information received on the four-channel UART interface is forwarded to the CAN bus through the CANfd message, and CANoe can be directly used to parse the signal, record the data, and synchronize with the ECU message, which is conducive to locating bugs. The CAN bus technology is mature and has rich bus tools, which can intuitively and conveniently parse and display signals, thereby improving the practicality of the monitoring device. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The present invention will be described by way of examples with reference to the accompanying drawings, in which:

[0015] Figure 1 It is a structural diagram of the present utility model. DETAILED DESCRIPTION

[0016] The present invention will now be described in further detail with reference to the accompanying drawings, which are simplified schematic diagrams that illustrate the basic structure of the present invention in a schematic manner.

[0017] like Figure 1 As shown, a four-channel UART monitoring device for ECU debugging includes a control board 10, which is equipped with an MCU 9, an external power supply interface 1, a CAN interface 4, and a UART interface 5. The number of UART interfaces 5 is four, and the UART interfaces 5 are electrically connected to the MCU 9 via a UART communication circuit. The MCU 9 is electrically connected to the CAN interface 4 via a CAN communication circuit. The UART communication circuit includes an isolated power supply 6, a UART isolation chip 7, and a level conversion chip 8. The UART interface 5 is electrically connected to the MCU 9 via the level conversion chip 8 and the UART isolation chip 7. The external power supply interface 1 is electrically connected to the UART isolation chip 7 via the isolated power supply 6.

[0018] In this device, information received on the four UART interfaces 5 is forwarded to the CAN bus via CANfd messages. CANoe can be used to directly analyze the signals, record the data, and synchronize it with the ECU's messages, facilitating bug location. CAN bus technology is mature, and a wealth of bus tools are available, enabling intuitive and convenient signal analysis and display. Therefore, this device forwards UART data directly to the CAN bus, where it is processed by CAN-related tools. This facilitates synchronization with the ECU's own CAN data, facilitating the location and detection of software issues.

[0019] Among them, the isolated power supply 6 is B0506S-1W-C882272, the model of the UART isolation chip 7 is ISO7721FQDRQ1, and the model of the level conversion chip 8 is M74VHC1GT08DFT2G.

[0020] Specifically, the control board 10 is further provided with an LED indicator light 3 , which is electrically connected to the MCU 9 via an LED driving circuit and is used to indicate whether there is data on the UART.

[0021] Specifically, the control board 10 is further provided with a USB interface 2, and the MCU 9 is electrically connected to the USB interface 2. The USB interface 2 is used for power supply, UART baud rate configuration, and message ID configuration.

[0022] Specifically, the external power supply interface 1 outputs a 5V DC voltage through a power supply circuit, and the power supply circuit is a step-down circuit based on GN78M05A.

[0023] Specifically, a fuse is provided between the USB interface 2 and the MCU 9 to prevent a spike voltage from being generated between the USB interface 2 and the MCU 9 and breaking down the circuit of the control board 10 when the USB interface 2 is connected to an external terminal.

[0024] The above description is based on the present invention. Based on the above description, relevant personnel can make various changes and modifications without departing from the technical concept of this utility model. The technical scope of this utility model is not limited to the content of the specification. Its technical scope must be determined according to the scope of the claims.

Claims

1. A four-channel UART monitoring device for ECU debugging, including a control board, characterized by: The control board is provided with an MCU, an external power supply interface, a CAN interface and a UART interface. There are four UART interfaces, and the UART interface is electrically connected to the MCU through a UART communication circuit, and the MCU is electrically connected to the CAN interface through a CAN communication circuit; The UART communication circuit includes an isolated power supply, a UART isolation chip and a level conversion chip. The UART interface is electrically connected to the MCU through the level conversion chip and the UART isolation chip, and the external power supply interface is electrically connected to the UART isolation chip through the isolated power supply.

2. The four-way UART monitoring device for ECU debugging according to claim 1, characterized in that: The control board is also provided with an LED indicator light, which is electrically connected to the MCU via an LED drive circuit.

3. The four-way UART monitoring device for ECU debugging according to claim 1, characterized in that: The control board is also provided with a USB interface, and the MCU is electrically connected to the USB interface.

4. The four-way UART monitoring device for ECU debugging according to claim 1, characterized in that: The external power supply interface outputs a 5V DC voltage through a power supply circuit.

5. The four-way UART monitoring device for ECU debugging according to claim 3, characterized in that: A fuse is provided between the USB interface and the MCU.