A test system for an in-vehicle controller

The test system, consisting of a control host and relays, automatically controls the power supply to the Ethernet transmission port of the vehicle controller, solving the problems of low efficiency and insufficient automation in existing test methods, and achieving efficient and reliable test results.

CN224682586UActive Publication Date: 2026-08-25BEIJING JINGWEI HIRAIN TECH CO INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521982696.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-09-15
Publication Date
2026-08-25
Estimated Expiration
2035-09-15

AI Technical Summary

Technical Problem

Existing methods for testing the reliability of Ethernet transmission ports of vehicle controllers are inefficient, lack automation, and are prone to errors. Manually simulating plugging and unplugging is time-consuming and can easily miss abnormal states when monitored via PC.

Method used

The test system consists of a control host, digital I/O devices, relays, and Ethernet devices. The power supply of the Ethernet devices is controlled by the on/off state of the relay contacts to simulate the plugging and unplugging effect. The test is carried out in combination with automated scripts and packet capture tools.

Benefits of technology

It improves testing efficiency and reliability, reduces labor costs, covers all failure scenarios, reduces testing complexity, and records anomalies for easy analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224682586U_ABST
    Figure CN224682586U_ABST
Patent Text Reader

Abstract

The present specification discloses a kind of test system of vehicle-mounted controller, comprising: control host, digital I / O device, relay, first and second Ethernet device, first power supply, second power supply and vehicle-mounted controller.Therein, digital I / O device is connected control host, relay coil signal input end is connected the digital output end of digital I / O device, its contact COM end is connected the anode of first power supply, contact NO end connects the anode of first Ethernet device power supply;Second power supply anode connects the power supply end of vehicle-mounted controller, digital I / O device GND, relay GND, first power supply GND and second power supply cathode form common ground;The anode of the power supply of first Ethernet device connects relay NO end, power supply cathode connects common ground, its first data port is connected the first data port of second Ethernet device through first Ethernet wire bundle, second data port connects control host;Second Ethernet device power supply anode connects the anode of first power supply, power supply cathode connects common ground, and second data port connects the measured port of controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of vehicle Ethernet communication testing technology, and more specifically, to a testing system for vehicle controllers. Background Technology

[0002] In the automotive electronics field, the performance and reliability of in-vehicle controllers are paramount, and the Ethernet transmission port, as a critical data transmission channel, requires essential reliability testing. Current methods for testing the reliability of in-vehicle controller Ethernet transmission ports primarily involve manually simulating plugging and unplugging the controller's Ethernet port while testers monitor the controller's communication status in real-time using diagnostic tools or PCs, observing for communication interruptions, data loss, or errors. However, manual simulation of plugging and unplugging is time-consuming, especially when analyzing large amounts of real-world data, making it particularly inefficient. Furthermore, while monitoring with diagnostic tools or PCs achieves real-time monitoring, it can miss some abnormal states when processing large amounts of data. This method also has a low degree of automation, making the testing process cumbersome and prone to errors.

[0003] Therefore, it is necessary to provide an efficient technical solution for testing vehicle controllers. Utility Model Content

[0004] This specification provides a test system for vehicle controllers to overcome at least one technical problem existing in the related art.

[0005] According to embodiments of this specification, a test system for an on-board controller is provided, comprising:

[0006] The system comprises a control host, digital I / O devices, relays, a first Ethernet device, a second Ethernet device, a first power supply, a second power supply, and an on-board controller; among which...

[0007] The signal input terminal of the digital I / O device is connected to the control host via a USB cable harness;

[0008] The coil signal input terminal of the relay is connected to the digital output terminal of the digital I / O device, the COM terminal of the relay is connected to the positive terminal of the first power supply, and the NO terminal of the relay is connected to the positive terminal of the power supply of the first Ethernet device.

[0009] The positive terminal of the second power supply is connected to the power supply terminal of the vehicle controller, and the GND of the digital I / O device, the GND of the relay, the GND of the first power supply, and the negative terminal of the second power supply are electrically connected to form a common ground;

[0010] The positive power terminal of the first Ethernet device is connected to the NO contact terminal of the relay, the negative power terminal of the first Ethernet device is connected to the common ground, the first data port of the first Ethernet device is connected to the first data port of the second Ethernet device through the first Ethernet harness, and the second data port of the first Ethernet device is connected to the control host through the second Ethernet harness.

[0011] The positive power terminal of the second Ethernet device is connected to the positive power terminal of the first power supply, the negative power terminal of the second Ethernet device is connected to the common ground, and the second data port of the second Ethernet device is connected to the test port of the vehicle controller through a third Ethernet cable harness.

[0012] In some alternative implementations, the control host is a personal computer.

[0013] In some alternative implementations, the digital I / O device is an NI-USB-6501 digital I / O device.

[0014] In some alternative implementations, the relay contacts are single-pole single-throw contacts, the COM terminal of the contact is a common terminal, and the NO terminal of the contact is a normally open terminal.

[0015] In some alternative implementations, the first Ethernet device and the second Ethernet device are Ethernet switches.

[0016] In some alternative implementations, the GND of the digital I / O device, the GND of the relay, the GND of the first power supply, and the negative terminal of the second power supply are sequentially electrically connected to form a common ground.

[0017] In some alternative implementations, the relay is mounted inside a metal shielding box.

[0018] The beneficial effects of the embodiments in this specification are as follows:

[0019] In this technical solution, the power supply to the first Ethernet device can be controlled by switching on and off the relay contacts, thus simulating the plugging and unplugging effect of the Ethernet transmission port of the vehicle controller. Compared with the traditional method of manually plugging and unplugging and then observing the communication faults recorded by the PC or diagnostic instrument, this not only improves the efficiency and reliability of testing but also reduces the waste of manpower and lowers the cost of testing tasks. In addition, automated control of communication fault testing can cover all possible fault scenarios and boundary conditions as much as possible, reducing the cumbersomeness of test execution. At the same time, the recording of the number of abnormal situations and the time of occurrence in the log is also beneficial for testers to collect and analyze data. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments or related technologies of this specification, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A schematic diagram of the overall structure of a test system for an on-board controller provided in an embodiment of this specification;

[0022] Figure 2 What is being shown is Figure 1 The test flowchart shows the communication failure caused by plugging and unplugging the Ethernet transmission port of the vehicle controller in the system. Detailed Implementation

[0023] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, not the entire structure.

[0024] In the description of this utility model, unless otherwise explicitly specified and limited, the terms "connected," "linked," and "fixed" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.

[0025] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0026] In the description of this embodiment, the terms "upper," "lower," "right," etc., refer to the orientation or positional relationship shown in the accompanying drawings. They are used only for ease of description and simplification of operation, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model. In addition, the terms "first" and "second" are only used for distinction in description and have no special meaning.

[0027] The technical solution of this application will be described below with reference to the accompanying drawings. Figure 1 This is a schematic diagram of the overall structure of a test system for an on-board controller provided in an embodiment of this specification, as shown below. Figure 1 As shown, the test system may include a control host, digital I / O devices, relays, a first Ethernet device, a second Ethernet device, a first power supply, a second power supply, and an on-board controller. The signal input terminals of the digital I / O devices are connected to the control host via USB cables. The coil signal input terminals of the relays are connected to the digital output terminals of the digital I / O devices. The COM terminal of the relays is connected to the positive terminal of the first power supply, and the NO terminal of the relays is connected to the positive terminal of the power supply of the first Ethernet device. The positive terminal of the second power supply is connected to the power supply terminal of the vehicle controller. The GND of the digital I / O device, the GND of the relay, the GND of the first power supply, and the negative terminal of the second power supply are electrically connected to form a common ground. The positive terminal of the power supply of the first Ethernet device is connected to the NO contact terminal of the relay, and the negative terminal of the power supply of the first Ethernet device is connected to the common ground. The first data port of the first Ethernet device is connected to the first data port of the second Ethernet device through the first Ethernet harness, and the second data port of the first Ethernet device is connected to the control host through the second Ethernet harness. The positive terminal of the power supply of the second Ethernet device is connected to the positive terminal of the first power supply, and the negative terminal of the power supply of the second Ethernet device is connected to the common ground. The second data port of the second Ethernet device is connected to the test port of the vehicle controller through the third Ethernet harness. In this system, the control host can be a personal computer, and the digital I / O device can be an NI-USB-6501 digital I / O device, which is a portable bus-powered USB digital input / output device with 24 single-ended digital channels, each of which can be independently configured as an input or output through software.

[0028] The working principle of this vehicle controller testing system is explained below. In this system, the control host can send control commands to the digital I / O devices via a USB cable. These commands are used to set the level state of the digital output terminals of the digital I / O devices. Upon receiving the control command, the digital I / O device converts it into a corresponding high or low level signal and transmits this signal to the relay coil signal input terminal. When the digital I / O device outputs a high level, the relay coil is energized, generating electromagnetic force that drives the relay contacts to actuate. When the digital I / O device outputs a low level, the relay coil is de-energized, the electromagnetic force disappears, and the relay contacts return to their initial state.

[0029] The positive terminal of the first power supply is connected to the COM terminal of the relay contact, and the NO terminal of the relay contact is connected to the positive terminal of the first Ethernet device's power supply. Simultaneously, the negative terminal of the first Ethernet device's power supply is connected to ground, thus forming a power supply circuit for the first Ethernet device. When the relay coil is energized, causing the contacts to close, the COM and NO terminals are connected. Current from the first power supply flows through the COM and NO terminals to the positive terminal of the first Ethernet device's power supply, then through the internal circuitry of the first Ethernet device, and finally flows from the negative terminal to ground. At this time, the first Ethernet device receives power and enters normal operation. When the relay coil is de-energized, causing the contacts to open, the path between the COM and NO terminals is broken, and the first power supply cannot supply power to the first Ethernet device, causing the first Ethernet device to stop working. Therefore, the technical solution of this application uses the opening and closing of the relay contacts to control the power supply to the first Ethernet device, thereby simulating the plugging and unplugging effect of the vehicle controller's Ethernet transmission port. That is, when the first Ethernet device is powered on, its transmission line with subsequent devices is unobstructed; when the first Ethernet device is de-energized, its transmission line with subsequent devices is disconnected.

[0030] Meanwhile, the positive terminal of the second power supply in this system is directly connected to the power supply terminal of the vehicle controller, and the negative terminal of the second power supply is connected to the common ground, thus forming an independent power supply circuit for the vehicle controller. This circuit is not affected by the on / off state of the relay, so it can continuously provide a stable operating voltage to the vehicle controller, ensuring that the vehicle controller is always in normal working condition throughout the entire test process, and avoiding the impact of power supply problems on the accuracy of test results.

[0031] In this system, the first Ethernet device has two data ports. Its first data port is connected to the first data port of the second Ethernet device via a first Ethernet harness, establishing a data transmission channel between the two devices. The second data port of the first Ethernet device is connected to the control host via a second Ethernet harness, establishing a data transmission channel between them. The second data port of the second Ethernet device is connected to the tested port of the vehicle controller via a third Ethernet harness, establishing a data transmission channel between them. Through these harness connections, a data transmission link is formed from the control host, the first Ethernet device, the second Ethernet device, to the vehicle controller. During testing, the message signals output by the vehicle controller through the tested port are transmitted sequentially via the third Ethernet harness, the second Ethernet device, the first Ethernet harness, the first Ethernet device, and the second Ethernet harness to the control host. The control host can capture, process, and analyze these message signals using a preset script, and can also send control commands or test signals to the vehicle controller through this link. Furthermore, packet capture tools used in the test can also capture the message data during transmission through this data link.

[0032] In this technical solution, the power supply to the first Ethernet device can be controlled by switching on and off the relay contacts, thus simulating the plugging and unplugging effect of the Ethernet transmission port of the vehicle controller. Compared with the traditional method of manually plugging and unplugging and then observing the communication faults recorded by the PC or diagnostic instrument, this not only improves the efficiency and reliability of testing but also reduces the waste of manpower and lowers the cost of testing tasks. In addition, automated control of communication fault testing can cover all possible fault scenarios and boundary conditions as much as possible, reducing the cumbersomeness of test execution. At the same time, the recording of the number of abnormal situations and the time of occurrence in the log is also beneficial for testers to collect and analyze data.

[0033] Based on the technical solutions described above, some more specific technical solutions are provided below, which will be elaborated on separately.

[0034] In an optional embodiment, the relay contacts are single-pole single-throw contacts, the COM terminal of the contact is a common terminal, and the NO terminal of the contact is a normally open terminal.

[0035] In an optional embodiment, the first Ethernet device and the second Ethernet device are Ethernet switches.

[0036] In an optional embodiment, the relay is installed inside a metal shielding box.

[0037] In this embodiment, the relay is installed in a metal shielding box. The metal shielding box has electromagnetic shielding characteristics, which can block the electromagnetic radiation generated when the relay is working, thereby avoiding electromagnetic interference to other electrical components in the system, such as the signal transmission of digital I / O devices and the data interaction of Ethernet devices.

[0038] Figure 2 What is being shown is Figure 1 The following is a flowchart of the test process for communication failure caused by plugging and unplugging the Ethernet transmission port of the vehicle controller in the system. The contents of the diagram are described below.

[0039] S1. Test Preparation

[0040] The test preparation phase is the initial stage of testing, and its purpose is to build a stable and reliable test environment. First, according to... Figure 1 The system diagram shows the connection of the test equipment, ensuring that the PC, Ethernet device, relays, controller under test, and various power supplies and wiring harnesses are correctly connected.

[0041] After the connection is established, send control signals to the relay via the PC to verify its correct engagement and disengagement, thereby checking the relay's operational status. Next, check the Ethernet device's status changes during power-on and power-off cycles to ensure it responds correctly; for example, the device should start normally and maintain a normal network connection when power is on, and shut down normally when power is off. Use network testing tools (such as the ping command) to verify the smooth communication between the PC and the Ethernet device, and check whether the controller can correctly identify and manage the connected Ethernet device.

[0042] Repeat the above steps to ensure the stability and reliability of the test system. Observe and record any anomalies and errors that occur during the initialization test in order to troubleshoot and optimize the system.

[0043] S2, Test Procedure

[0044] In this application, the testing process can be controlled by Python scripts to simulate the uncertainty of manual operation. By controlling the number of times and time differences of relay activation and deactivation, the randomness of actual operation is simulated in a step-by-step manner within a range. After the relay is activated, the script can capture and process the specified type of messages sent by the controller. If data errors, loss, or abnormal transmission frequency occur in the messages, the abnormal situation and the number of times the abnormal situation occurs are recorded in a log containing timestamps. During the test, packet capture tools (such as Wireshark) can be used to capture messages to provide detailed data for subsequent fault analysis. For intermittent and difficult-to-reproduce problems, stress testing can be performed by setting the number of tests through the script to increase the probability of reproduction. If it is necessary to preserve the scene at the time of the problem, an abnormal exit mechanism can be added to the script to save the test data and environmental information at that time.

[0045] S3, Report Analysis

[0046] This application utilizes test logs to obtain the probability, timing, and type of failures. For example, it can statistically analyze the number and timing of communication interruptions under specific test conditions to determine patterns in failure occurrence. If anomalies are not monitored by the script, data captured by packet capture tools can be used for auxiliary analysis. By interpreting the packet capture data, anomalies during data transmission can be identified, such as the location of lost data packets and the content of abnormal data. By combining logs and packet capture data, effective and reliable conclusions can be drawn, providing support for quality control and troubleshooting of in-vehicle Ethernet communication systems.

[0047] Obviously, the above embodiments of this utility model are merely examples for clearly illustrating the present utility model, and are not intended to limit the implementation of the present utility model. Those skilled in the art can make various obvious changes, readjustments, and substitutions without departing from the protection scope of this utility model. It is neither necessary nor possible to exhaustively describe all embodiments here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this utility model should be included within the protection scope of the claims of this utility model.

Claims

1. A testing system for an on-board controller, characterized in that, include: The system comprises a control host, digital I / O devices, relays, a first Ethernet device, a second Ethernet device, a first power supply, a second power supply, and an on-board controller; among which... The signal input terminal of the digital I / O device is connected to the control host via a USB cable harness; The coil signal input terminal of the relay is connected to the digital output terminal of the digital I / O device, the COM terminal of the relay is connected to the positive terminal of the first power supply, and the NO terminal of the relay is connected to the positive terminal of the power supply of the first Ethernet device. The positive terminal of the second power supply is connected to the power supply terminal of the vehicle controller, and the GND of the digital I / O device, the GND of the relay, the GND of the first power supply, and the negative terminal of the second power supply are electrically connected to form a common ground; The positive power terminal of the first Ethernet device is connected to the NO contact terminal of the relay, the negative power terminal of the first Ethernet device is connected to the common ground, the first data port of the first Ethernet device is connected to the first data port of the second Ethernet device through the first Ethernet harness, and the second data port of the first Ethernet device is connected to the control host through the second Ethernet harness. The positive power terminal of the second Ethernet device is connected to the positive power terminal of the first power supply, the negative power terminal of the second Ethernet device is connected to the common ground, and the second data port of the second Ethernet device is connected to the test port of the vehicle controller through a third Ethernet cable harness.

2. The testing system for the vehicle controller according to claim 1, characterized in that, The control host is a personal computer.

3. The testing system for the vehicle controller according to claim 1, characterized in that, The digital I / O device is the NI-USB-6501 digital I / O device.

4. The testing system for the vehicle controller according to claim 1, characterized in that, The relay contacts are single-pole single-throw contacts, with the COM terminal being the common terminal and the NO terminal being the normally open terminal.

5. The testing system for the vehicle controller according to claim 1, characterized in that, The first Ethernet device and the second Ethernet device are Ethernet switches.

6. The testing system for the vehicle controller according to claim 1, characterized in that, The GND of the digital I / O device, the GND of the relay, the GND of the first power supply, and the negative terminal of the second power supply are sequentially electrically connected to form a common ground.

7. The testing system for the vehicle controller according to claim 1, characterized in that, The relay is installed inside a metal shielding box.