A kind of vehicle-mounted ECU automation network management test device
Patent Information
- Application Number
- CN202522351988.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-06
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2035-11-06
AI Technical Summary
这里缺少对测试过程中涉及到的测试设备的自动化控制,仅依靠人工对CAN通讯设备、电源设备的控制,自动化程度较低,测试效率和准确度均无法达到测试要求
[0029]本实用新型通过创新的集成式CAN总线状态模拟模块,将多种物理层故障模拟功能紧凑地集成于一个串联接入的屏蔽壳体内。这种结构从根本上消除了长导线带来的信号反射和电磁干扰问题,能够进行高保真的故障注入,保证了测试结果的准确性和可重复性。
Smart Images

Figure CN224790660U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of automotive electronic testing technology, and in particular to an automated network management testing device for vehicle ECUs. Background Technology
[0002] With the rapid development of intelligent and connected vehicles, the number and software complexity of onboard ECUs are increasing daily. Communication between ECUs mainly relies on the Controller Area Network (CAN) bus, while Network Management (NM) is the core function to ensure the stable and reliable operation of the entire onboard network under various operating conditions. The ECU's network management function is responsible for coordinating key behaviors such as network startup, hibernation, wake-up, and error handling, and its robustness is crucial to the functional safety of the entire vehicle.
[0003] During the development and verification phase of an ECU, its network management functions must be rigorously tested, especially under various physical layer anomalies or boundary conditions. These test scenarios include, but are not limited to: momentary open or short circuits in the CAN bus lines, loss or mismatch of terminating resistors, interference of bus signals by DC bias voltage, and momentary power loss of the ECU's core power supply or critical communication links (such as the vehicle audio bus A2B).
[0004] However, existing testing methods suffer from significant structural flaws. Currently, the vast majority of testing tools in the industry are based on controlling CAN / CANFD communication devices (PEAK, TSMaste, etc.) for ECU network management testing (message transmission and reception). ECU network management testing primarily relies on manual operation for sending network management / application messages and powering on / off the ACC. This lacks automated control of the testing equipment involved in the process; relying solely on manual control of CAN communication devices and power supply equipment results in low automation, and the testing efficiency and accuracy fail to meet requirements. Utility Model Content
[0005] Based on the deficiencies of existing technologies, this utility model provides an automated network management testing device for vehicle ECUs, comprising:
[0006] The test host is used to execute test logic and generate control commands.
[0007] A communication interface module, connected to the test host, is used for CAN bus communication with the ECU under test;
[0008] And an integrated CAN bus status simulation module;
[0009] The integrated CAN bus status simulation module includes a housing with a CAN input port and a CAN output port. The CAN input port is connected to the communication interface module, and the CAN output port is connected to the ECU under test, so that the integrated CAN bus status simulation module is connected in series to the CAN bus data communication link.
[0010] The housing is integrated with:
[0011] The bus integrity control unit is used to change the on / off or connection status of the CAN_H line and CAN_L line according to the control commands from the test host;
[0012] The bus electrical characteristic adjustment unit is used to change the equivalent impedance or bias voltage of the CAN bus data communication link according to the digital control instructions from the test host.
[0013] Furthermore, the integrated CAN bus status simulation module also has a control interface that connects to the test host to receive the control commands.
[0014] Furthermore, it also includes:
[0015] A programmable power supply, connected to the test host, is used to control the power supply to the ECU under test;
[0016] A multi-channel relay module is connected to the test host; the multi-channel relay module is configured to selectively connect to multiple pins of the ECU under test through its multiple channels for simulating on / off or short-circuit faults in at least one power supply circuit and at least one second communication circuit of the ECU under test, wherein the second communication circuit is a communication circuit other than the CAN bus.
[0017] Furthermore, the bus electrical characteristic adjustment unit includes:
[0018] The bus load adjustment unit is used to change the equivalent impedance of the CAN bus data communication link according to digital control instructions.
[0019] Furthermore, the bus load adjustment unit includes at least one digital potentiometer or a set of resistor networks switched by analog switches.
[0020] Furthermore, the bus electrical characteristic adjustment unit includes:
[0021] The bus bias voltage injection unit is used to inject a bias voltage determined by digital control instructions into the CAN_H line or CAN_L line of the CAN bus data communication link.
[0022] Furthermore, the bus bias voltage injection unit includes a digital-to-analog converter and an output buffer circuit.
[0023] Furthermore, the integrated CAN bus status simulation module also includes an internal microcontroller integrated within its housing;
[0024] The internal microcontroller communicates with the test host through the control interface and generates hardware control signals according to the received instructions to synchronously drive the bus integrity control unit and the bus electrical characteristic adjustment unit.
[0025] Furthermore, the bus integrity control unit includes a relay matrix for implementing at least one of the following states: CAN_H line open circuit, CAN_L line open circuit, and CAN_H line and CAN_L line short circuit to each other.
[0026] Furthermore, the test host is connected to the control interface of the integrated CAN bus status simulation module via a serial communication bus.
[0027] Furthermore, the communication interface module is a CAN / CANFD communication adapter.
[0028] Beneficial effects:
[0029] This invention utilizes an innovative integrated CAN bus status simulation module to compactly integrate multiple physical layer fault simulation functions into a single series-connected shielded housing. This structure fundamentally eliminates signal reflection and electromagnetic interference problems caused by long wires, enabling high-fidelity fault injection and ensuring the accuracy and repeatability of test results.
[0030] This device can not only deeply simulate various physical layer anomalies of the CAN bus, but also unify the fault simulation capabilities of the CAN bus, ECU power supply and other key circuits such as A2B under one platform through programmable power supply and multi-channel relay module. It can perform complex collaborative test scenarios that are difficult to achieve with existing technology and require multi-channel concurrency or precise timing.
[0031] The test host can programmatically control all simulation units through a unified interface, realizing an end-to-end automated testing process from fault injection to status monitoring and result determination, which greatly improves testing efficiency and coverage, and can be seamlessly integrated into the automated process of continuous integration / continuous testing (CI / CT). Attached Figure Description
[0032] The following figures are for illustrative purposes only and do not limit the scope of the present invention.
[0033] Figure 1This is a schematic diagram of an embodiment of the present utility model.
[0034] Figure 2 This is a schematic diagram of the internal structure of an integrated CAN bus status simulation module according to an embodiment of the present invention.
[0035] Figure 3 This is a connection diagram of an embodiment of the present invention applied to the testing of an on-board power amplifier ECU. Detailed Implementation
[0036] To provide a clearer understanding of the technical features, objectives, and effects of this invention, specific embodiments of the present invention are now described with reference to the accompanying drawings. In the drawings, the same reference numerals denote the same parts. For the sake of simplicity, the parts related to the present invention are shown schematically in each drawing and do not represent their actual structure as a product. Furthermore, for the sake of clarity and ease of understanding, in some drawings, components with the same structure or function are only schematically depicted, or only one is labeled.
[0037] In this utility model, "connection" can include direct connection, indirect connection, communication connection, and electrical connection, unless otherwise specified.
[0038] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. As used herein, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly specifies otherwise. It will also be understood that, when used in the specification, the terms “comprising” and / or “including” mean the presence of the stated features, values, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, values, steps, operations, elements, components, and / or groups thereof. As used herein, the term “and / or” includes any and all combinations of one or more of the listed related items.
[0039] Reference Figure 1 The vehicle-mounted ECU automated network management testing device of this utility model mainly includes a test host, a communication interface module, a programmable power supply, a multi-channel relay module, and a core integrated CAN bus status simulation module.
[0040] The test host, typically an industrial PC or embedded computer, runs test management software responsible for parsing test cases, executing test sequences, generating control commands, and analyzing test results. The test host connects to a communication interface module (such as a CAN / CANFD communication adapter) via a USB interface and to the control interfaces of a programmable power supply, multi-channel relay module, and integrated CAN bus status simulation module via a serial communication bus (such as an RS-232 serial port).
[0041] The output of the programmable power supply powers the ECU under test via a power harness. The multiple output channels of the multi-channel relay module are connected to specific pins of the ECU under test, such as the main power input, ACC signal input, or A2B bus signal line, depending on the testing requirements.
[0042] An integrated CAN bus status simulation module is connected in series in the main communication link: the CAN output of the communication interface module is connected to the CAN input port of the integrated CAN bus status simulation module, and the CAN output port of the integrated CAN bus status simulation module is connected to the CAN bus interface of the ECU under test. This "in-line" structure ensures that all CAN messages must flow through the integrated CAN bus status simulation module, thus providing perfect conditions for high-fidelity physical layer fault injection.
[0043] Reference Figure 2 The integrated CAN bus status simulation module houses three main units within its metal shielded housing: a bus integrity control unit, a bus load regulation unit, and a bus bias voltage injection unit. These three units are managed by an internal microcontroller and communicate with an external test host via a control interface.
[0044] The bus integrity control unit consists of a dedicated relay matrix containing relays K1, K2, and K3. K1 is connected in series on the CAN_H line, K2 is connected in series on the CAN_L line, and K3 is connected across the two lines. The test host can control these three relays through command combinations to precisely simulate faults such as CAN_H open circuit, CAN_L open circuit, complete bus disconnection, or CAN_H / L short circuit. For example, closing K1 and K2 and opening K3 simulates normal communication mode; opening K1 and closing K2 and K3 simulates a CAN_H open circuit fault.
[0045] The bus load regulation unit can be implemented using a resistor network with analog switch switching. Multiple high-precision resistors (R1, R2, R3...) are connected in series with an analog switch (S1, S2, S3...), and then connected in parallel between the CAN_H and CAN_L lines. The test host can independently control the on / off state of S1-S3 via digital control lines. For example, closing only S1 simulates a standard 120Ω terminating resistor; simultaneously closing S1 and S2, with two 120Ω resistors in parallel, simulates a 60Ω terminating resistor malfunction. Rapid switching can also simulate the dynamic process of poor contact in the terminating resistor.
[0046] The bus load adjustment unit can also be implemented using a digital potentiometer. Connect terminal A of the digital potentiometer to the CAN_H line and terminal B to the CAN_L line. The test host controls the total resistance value between A and B via digital commands. When the command is set to 120Ω, it perfectly simulates a standard terminating resistor. When the command is set to a very large value (e.g., 10kΩ), it is equivalent to the terminating resistor being missing. When the command is set to 60Ω, it simulates an incorrect terminating resistor (e.g., two resistors connected in parallel). By switching between different values, the dynamic process of poor contact in the terminating resistor can be simulated.
[0047] The bus bias voltage injection unit consists of a digital-to-analog converter (DAC), an output buffer circuit (such as a voltage follower composed of operational amplifiers), and an injection resistor. The test host sends a digital value to the DAC, which outputs a precise analog voltage. After being stabilized by the output buffer circuit, this voltage is "gently" injected into the CAN_H line through a relatively large injection resistor (such as 1kΩ). This accurately simulates the DC bias of the bus signal, testing the communication capability of the ECU transceiver under common-mode voltage offset conditions.
[0048] Reference Figure 3 This device was used to test an on-board power amplifier ECU, which contains an MCU, a CAN chip, an A2B chip, and a PowerIC.
[0049] A complex test case is as follows: verify whether the ECU can correctly report the network management status via the CAN bus after the A2B bus is powered off.
[0050] The test host establishes normal CAN communication with the ECU through the communication interface module and the integrated CAN bus status simulation module (in normal mode). The test host momentarily disconnects the power input pin supplying power to the A2B chip on the ECU through a multi-channel relay module.
[0051] At the same time, the test host switches the CAN bus termination resistance value from 120Ω to infinity (simulating termination loss) through the bus load adjustment unit of the integrated CAN bus status simulation module, increasing the bus communication pressure.
[0052] The test host continuously monitors the CAN bus to verify whether the ECU can still correctly report its status changes through network management messages under the dual pressure of A2B power failure and CAN bus terminal loss.
[0053] Through the above structure and working method, this utility model organically combines state recognition, precise timing, multi-channel concurrent control and high-fidelity fault simulation to form a complete closed-loop test system, realizing scientific, rigorous and automated verification of the vehicle ECU network management function.
[0054] The above description is merely a preferred embodiment of the present invention, and the present invention is not limited to the above embodiments. Those skilled in the art will understand that the form in this embodiment is not limited thereto, nor are the adjustment methods limited thereto. It is understood that other improvements and variations directly derived or conceived by those skilled in the art without departing from the basic concept of the present invention should be considered to be included within the protection scope of the present invention.
Claims
1. A vehicle-mounted ECU automated network management testing device, characterized in that, include: The test host is used to execute test logic and generate control commands. A communication interface module, connected to the test host, is used for CAN bus communication with the ECU under test; And an integrated CAN bus status simulation module; The integrated CAN bus status simulation module includes a housing with a CAN input port and a CAN output port. The CAN input port is connected to the communication interface module, and the CAN output port is connected to the ECU under test, so that the integrated CAN bus status simulation module is connected in series to the CAN bus data communication link. The housing is integrated with: The bus integrity control unit is used to change the on / off or connection status of the CAN_H line and CAN_L line according to the control commands from the test host; The bus electrical characteristic adjustment unit is used to change the equivalent impedance or bias voltage of the CAN bus data communication link according to the digital control instructions from the test host. Furthermore, the integrated CAN bus status simulation module also has a control interface that connects to the test host to receive the control commands.
2. The on-board ECU automated network management testing device as described in claim 1, characterized in that, Also includes: A programmable power supply, connected to the test host, is used to control the power supply to the ECU under test; A multi-channel relay module is connected to the test host. The multi-channel relay module is configured to selectively connect to multiple pins of the ECU under test via its multiple channels for simulating on / off or short-circuit faults in at least one power supply circuit and at least one second communication circuit of the ECU under test, wherein the second communication circuit is a communication circuit other than the CAN bus.
3. The on-board ECU automated network management testing device as described in claim 1 or 2, characterized in that, The bus electrical characteristic adjustment unit includes: The bus load adjustment unit is used to change the equivalent impedance of the CAN bus data communication link according to digital control instructions.
4. The on-board ECU automated network management testing device as described in claim 3, characterized in that, The bus load regulation unit includes at least one digital potentiometer or a set of resistor networks switched by analog switches.
5. The on-board ECU automated network management testing device as described in claim 1 or 2, characterized in that, The bus electrical characteristic adjustment unit includes: The bus bias voltage injection unit is used to inject a bias voltage determined by digital control instructions into the CAN_H line or CAN_L line of the CAN bus data communication link.
6. The on-board ECU automated network management testing device as described in claim 5, characterized in that, The bus bias voltage injection unit includes a digital-to-analog converter and an output buffer circuit.
7. The on-board ECU automated network management testing device as described in claim 1, characterized in that, The integrated CAN bus status simulation module also includes an internal microcontroller integrated within its housing. The internal microcontroller communicates with the test host through the control interface and generates hardware control signals according to the received instructions to synchronously drive the bus integrity control unit and the bus electrical characteristic adjustment unit.
8. The on-board ECU automated network management testing device as described in claim 1, characterized in that, The bus integrity control unit includes a relay matrix for implementing at least one of the following states: CAN_H line open circuit, CAN_L line open circuit, and CAN_H line and CAN_L line short circuit to each other.
9. The on-board ECU automated network management testing device as described in claim 1, characterized in that, The test host is connected to the control interface of the integrated CAN bus status simulation module via a serial communication bus.
10. The vehicle-mounted ECU automated network management testing device as described in claim 1, characterized in that, The communication interface module is a CAN / CANFD communication adapter.