Multi-channel ECU detection system

By using gateway modules to subnet division in the ECU detection system, the problem that traditional systems cannot efficiently detect multiple ECUs is solved, and efficient management and data transmission optimization of large-scale ECU networks are achieved.

CN222050759UActive Publication Date: 2024-11-22HONGKE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420851639.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-11-22
Estimated Expiration
2034-04-23

AI Technical Summary

Technical Problem

Due to the preemption mechanism and load limitation of CAN/CAN FD communication, traditional ECU detection systems cannot efficiently detect multiple ECUs at the same time, resulting in inefficient detection efficiency and cannot cope with the management needs of large-scale ECU networks.

Method used

Subnet partitioning is performed through the gateway module, multiple ECUs are managed, and the high-load buses are converted into multiple low-load buses, optimize data transmission, and realize simultaneous communication detection of dozens or even more ECUs.

Benefits of technology

It significantly improves overall detection efficiency, optimizes data transmission, and can more effectively manage large-scale multi-ECU networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222050759U_ABST
    Figure CN222050759U_ABST
Patent Text Reader

Abstract

The utility model discloses a multipath ECU detection system. The multipath ECU detection system comprises a CAN communication device, an upper computer, a CAN bus and a gateway module. The first connecting end of the CAN communication equipment is connected with the output end of the upper computer, the second connecting end of the CAN communication equipment is connected with the CAN bus, and the third connecting end of the CAN communication equipment is connected with the gateway module. According to the multipath ECU detection system, subnet division is carried out through the gateway module, a plurality of ECUs can be managed, communication detection can be carried out on dozens of or even more ECUs at the same time, a high-load bus is converted into a multipath low-load bus, data transmission is optimized, and overall detection efficiency is substantially improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the field of automobile detection, and specifically relates to a multi-channel ECU detection system. Background Art

[0002] CAN (Controller Area Network) and CAN FD (CAN with Flexible Data-Rate) are communication protocols used in the field of vehicle and industrial control. The CAN protocol is widely used due to its reduced reliability and real-time performance, but with the development of technology, the demand for higher data transmission rates and flexibility is growing, which has led to the emergence of CAN FD.

[0003] ECU (Electronic Control Unit) is an important component in vehicles and industrial systems, responsible for controlling and monitoring various functions. ECU detection is also necessary for evaluating ECU performance and modern ECU management. However, due to the preemption mechanism and load limit of CAN / CAN FD communication, traditional ECU detection methods can usually only detect a small number of ECUs (usually 1 or several) at the same time, resulting in a significant reduction in efficiency. This method is not efficient enough when dealing with large-scale ECU networks, because it is limited in data transmission and management, and cannot meet the needs of simultaneous detection of a large number of ECUs in complex systems.

[0004] The patent number "CN200810059488.X" discloses a multi-ECU message communication method with an adaptive physical topology structure of the communication subject. For a distributed embedded system composed of multiple ECUs, a unified interface is provided for both internal communication between communication subjects in the same ECU and external communication between communication subjects in different ECUs. However, this communication method has a high bus load, slow data transmission, low detection efficiency, and is unable to detect multiple ECUs simultaneously and efficiently. Utility Model Content

[0005] The purpose of the utility model is to provide a multi-channel ECU detection system, which can detect multiple ECUs at the same time, reduce bus load, optimize data transmission, improve detection efficiency, and more effectively cope with the management needs of large-scale multi-ECU networks.

[0006] In order to achieve the above utility model purpose, the technical solution adopted by the utility model is as follows:

[0007] A multi-channel ECU detection system includes a CAN communication device, a host computer, a CAN bus, and a gateway module; the first connection end of the CAN communication device is connected to the output end of the host computer, the second connection end of the CAN communication device is connected to the CAN bus, and the third connection end of the CAN communication device is connected to the gateway module.

[0008] The utility model discloses a multi-channel ECU detection system, which performs subnet division through a gateway module, can manage multiple ECUs, realize communication detection of dozens or even more ECUs at the same time, converts a high-load bus into a multi-channel low-load bus, optimizes data transmission, and significantly improves the overall detection efficiency.

[0009] Preferably, the multi-channel ECU detection system further includes a communication module; the gateway module includes a communication interface; the gateway module communicates with the communication module via the communication interface.

[0010] Preferably, the multi-channel ECU detection system further includes a flashing module; the gateway module further includes a knob module; the gateway module communicates with the flashing module via the knob module.

[0011] Preferably, the multi-channel ECU detection system further includes a power supply module; the gateway module further includes a connector; the gateway module is electrically connected to the power supply module via the connector.

[0012] Preferably, the connector includes a first pin, a second pin, and a third pin; the first pin is connected to or not connected to the positive pole of the power supply module; the second pin is connected to the positive pole of the power supply module; and the third pin is connected to the negative pole of the power supply module.

[0013] Preferably, the power supply module provides a voltage of 8 to 32V.

[0014] Preferably, the communication module includes a fourth pin and a fifth pin; the CAN bus includes a CAN-H line and a CAN-L line; the fourth pin is connected to the CAN-H line; and the fifth pin is connected to the CAN-L line.

[0015] Preferably, the gateway module includes programmable firmware; the programmable firmware is arranged in the gateway module.

[0016] Preferably, the gateway module further includes a transceiver module and a single-chip microcomputer; the transceiver module is connected to the single-chip microcomputer.

[0017] Preferably, the single chip microcomputer includes a CPU, a storage module, and a RAM; the RAM and the programmable firmware are arranged in the storage module.

[0018] Beneficial effects:

[0019] The utility model discloses a multi-channel ECU detection system, which performs subnet division through a gateway module, can manage multiple ECUs, realize communication detection of dozens or even more ECUs at the same time, converts a high-load bus into a multi-channel low-load bus, optimizes data transmission, and significantly improves the overall detection efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Shown is a structural block diagram of a multi-channel ECU detection system of an embodiment;

[0021] Figure 2 The figure shows an internal architecture diagram of a gateway module of a multi-channel ECU detection system of an embodiment;

[0022] Figure 3 The figure shows a partial communication structure schematic diagram of a multi-channel ECU detection system of an embodiment;

[0023] Figure 4 The figure shows a complete communication structure schematic diagram of a multi-channel ECU detection system of an embodiment;

[0024] Figure 5 The figure shows a communication diagram of a knob module and a flashing module of a multi-channel ECU detection system in an embodiment. DETAILED DESCRIPTION

[0025] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the specific implementation methods of the utility model will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0026] The technical solution of the utility model is described in detail below with specific embodiments.

[0027] Example

[0028] like Figures 1 to 5 As shown, a multi-channel ECU detection system of this embodiment includes a CAN communication device, a host computer, a CAN bus, and a gateway module; the first connection end of the CAN communication device is connected to the output end of the host computer, the second connection end of the CAN communication device is connected to the CAN bus, and the third connection end of the CAN communication device is connected to the gateway module.

[0029] A multi-channel ECU detection system of the present embodiment performs subnet division through a gateway module, can manage multiple ECUs, and realize communication detection of dozens or even more ECUs at the same time, converting a high-load bus into multiple low-load buses, optimizing data transmission, and thus significantly improving the overall detection efficiency.

[0030] Preferably, the multi-channel ECU detection system further includes a communication module; the gateway module includes a communication interface; the gateway module communicates with the communication module via the communication interface.

[0031] Preferably, the multi-channel ECU detection system further includes a flashing module; the gateway module further includes a knob module; the gateway module communicates with the flashing module via the knob module.

[0032] Preferably, the flash module includes multiple IDs; the knob module selects one of the IDs; and the gateway module obtains the ID selected by the knob module.

[0033] Preferably, the multi-channel ECU detection system further includes a power supply module; the gateway module further includes a connector; and the gateway module is electrically connected to the power supply module via the connector.

[0034] Preferably, the connector includes a first pin, a second pin, and a third pin; the first pin is connected to or not connected to the positive pole of the power supply module; the second pin is connected to the positive pole of the power supply module; and the third pin is connected to the negative pole of the power supply module.

[0035] Preferably, the power supply module provides a voltage of 8 to 32V.

[0036] Preferably, the communication module includes a fourth pin and a fifth pin; the CAN bus includes a CAN-H line and a CAN-L line; the fourth pin is connected to the CAN-H line; and the fifth pin is connected to the CAN-L line.

[0037] Preferably, the gateway module includes programmable firmware; the programmable firmware is arranged in the gateway module.

[0038] Preferably, the gateway module also includes a transceiver module and a single-chip microcomputer; the transceiver module and the single-chip microcomputer are connected; the single-chip microcomputer includes a CPU, a storage module, and a RAM; the RAM and the programmable firmware are arranged in the storage module.

[0039] Specifically, the gateway module of this embodiment is CAN / CAN FD bus gateway hardware, and includes multiple gateway devices; the communication module is a CAN / CAN FD bus communication module; the connector is a three-pin connector; the knob switch is an ID knob switch; the transceiver module is a CAN transceiver; the storage module is Memory; and the programmable firmware is firmware.

[0040] Specifically, a multi-channel ECU detection system of this embodiment, such as Figure 3As shown in the figure, it mainly includes the CAN communication device for sending detection instructions (this solution uses the PCAN-USB FD device as an example), the 6-channel CAN / CAN FD bus gateway hardware PCAN-RouterPro FD, and programmable firmware. Among them, the CAN communication device can select all communication devices under the CAN2.0A / B and CAN FD standard protocols. The PCAN-Router Pro FD gateway has power supply module, flash module and CAN / CAN FD bus communication module. The programmable firmware compiled by the code realizes the routing and forwarding of the CAN / CAN FD bus detection instruction message.

[0041] Specifically, the CAN communication device is used as the sending end of the detection system, mainly for connecting to the host computer software, sending messages containing detection instructions, and generally performing ECU detection on the bus. The PCAN-USB FD in this embodiment is connected to the PC via the USB interface, and is connected to the CAN bus via the pin2 and pin7 pins of the DB9 interface as CAN-L and CAN-H.

[0042] Specifically, the gateway module of this embodiment is PCAN-Router Pro FD, and the external output mode is that the DB9 pin provides CAN / CAN FD communication, the three-pin connector provides a power supply module, and the ID knob switch provides a flashing module.

[0043] Specifically, the gateway module provides a standard vehicle voltage of 12V through the power supply module. The voltage of the power supply module can support floating between 8-32V to ensure the voltage compatibility of the hardware equipment. The power supply module is integrated in the gateway device PCAN-Router Pro FD. The second and third pins of the matching connector (3 pins, model: Phoenix Contact MC1,5 / 2-STF-3,81) are used to connect the positive and negative poles of the power supply. If the wake-up function is not specifically described in the programmable firmware, the first pin needs to be connected to the positive pole of the power supply. When used under any conditions, the device needs to be powered to ensure the startup of each internal component.

[0044] Specifically, the communication diagram between the knob module and the flash module is as follows: Figure 5As shown, the working rules of the gateway module are completely determined by the programmable firmware, and only one firmware can be saved at a time. After the firmware is compiled, the firmware needs to be flashed into the gateway device, and the flashing module is required during the flashing. The flashing module is integrated in the ID knob switch of the PCAN-Router Pro FD gateway device. The ID knob switch can be used to select an ID from 0-F, independent of the installed firmware. The flashing mode can be entered by rotating the ID knob switch to position F, and the compiled firmware can be loaded into the gateway device through the BootLoader through the CAN / CAN FD bus communication module.

[0045] Specifically, the programmable firmware is the rule definition of the gateway module. The programmable firmware is written in C / C++ language, supports the import of external libraries, can implement all function libraries in C / C++, and supports logical control. After the code is written, it can be compiled to generate a .bin file as the internal firmware of the gateway module.

[0046] Specifically, the internal architecture of the gateway module and the relationship between the components are as follows: Figure 2 As shown, the CAN transceiver uses NXPTJA1043, the microcontroller uses STM32F765NIH6, the CPU uses Arm Cortex-M7, the RAM uses 32MByte SDRAM (synchronous dynamic random access memory), and the Memory uses 16GByte pSLC eMMC. The programmable firmware can be stored in this location through the CAN port pins.

[0047] Furthermore, the overall situation in actual work is as follows Figure 4 As shown, in general, Channel 1 of multiple PCAN-RouterPro FD gateways will be connected to a bus with the CAN communication device PCAN-USB FD. The firmware inside the gateway will forward Channel 1 to Channel 2-5, thereby achieving the effect of expanding the bus and reducing the load, realizing the detection of multiple ECUs, and finally the solution can be taken offline by powering off.

[0048] The above is a detailed description of an embodiment of a multi-channel ECU detection system provided by the utility model. This article uses specific examples to illustrate the principle and implementation method of the utility model. The description of the above embodiment is only used to help understand the core idea of ​​the utility model. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the utility model, the utility model can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the utility model.

Claims

1. A multi-channel ECU detection system, characterized in that: It includes a CAN communication device, a host computer, a CAN bus, and a gateway module; the first connection end of the CAN communication device is connected to the output end of the host computer, the second connection end of the CAN communication device is connected to the CAN bus, and the third connection end of the CAN communication device is connected to the gateway module.

2. The multi-channel ECU detection system according to claim 1, characterized in that: The multi-channel ECU detection system further includes a communication module; the gateway module includes a communication interface; the gateway module communicates with the communication module via the communication interface.

3. The multi-channel ECU detection system according to claim 1, characterized in that: The multi-channel ECU detection system further includes a flashing module; the gateway module further includes a knob module; the gateway module communicates with the flashing module via the knob module.

4. The multi-channel ECU detection system according to claim 1, characterized in that: The multi-channel ECU detection system further includes a power supply module; the gateway module further includes a connector; the gateway module is electrically connected to the power supply module via the connector.

5. The multi-channel ECU detection system according to claim 4, characterized in that: The connector includes a first pin, a second pin, and a third pin; the first pin is connected to the positive pole of the power supply module or not; the second pin is connected to the positive pole of the power supply module; and the third pin is connected to the negative pole of the power supply module.

6. The multi-channel ECU detection system according to claim 5, characterized in that: The power supply module provides a voltage of 8 to 32V.

7. The multi-channel ECU detection system according to claim 2, characterized in that: The communication module includes a fourth pin and a fifth pin; the CAN bus includes a CAN-H line and a CAN-L line; the fourth pin is connected to the CAN-H line; and the fifth pin is connected to the CAN-L line.

8. The multi-channel ECU detection system according to any one of claims 1 to 7, characterized in that: The gateway module includes programmable firmware; the programmable firmware is set in the gateway module.

9. The multi-channel ECU detection system according to claim 8, characterized in that: The gateway module also includes a transceiver module and a single-chip microcomputer; the transceiver module is connected to the single-chip microcomputer.

10. The multi-channel ECU detection system according to claim 9, characterized in that: The single chip microcomputer includes a CPU, a storage module, and a RAM; the RAM and the programmable firmware are arranged in the storage module.