Test system

By using relays and other components in the vehicle line control system, the problems of high hardware cost and low efficiency of traditional testing methods are solved, and efficient functional verification of the ECU is achieved, reducing costs and improving testing efficiency.

CN119200566APending Publication Date: 2024-12-27SHANGHAI NASN AUTOMOTIVE ELECTRONICS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411303670.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The test method of traditional vehicle line control system electronic controller (ECU) has high hardware cost and low testing efficiency, resulting in a long verification cycle and a large amount of manpower and material resources.

Method used

Design a test system, which uses a relay to connect to the test ECU, outputs digital signals from multiple channels for identification and reception, and combines the upper computer, program-controlled power supply, hardware load, motor, wheel speed sensor and CAN box to realize the functions of the ECU Verify, reduce hardware costs and improve testing efficiency.

Benefits of technology

The multi-channel digital signal recognition and output function verification of the ECU is realized, which reduces hardware costs and improves testing efficiency. The power-up and down of the ECU is controlled through relays, enhancing the flexibility and safety of the test system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200566A_ABST
    Figure CN119200566A_ABST
Patent Text Reader

Abstract

The invention provides a test system, and the system comprises a relay which is connected with a tested ECU. Wherein the relay is used for outputting digital signals of a plurality of channels to the tested ECU so that the tested ECU can recognize the digital signals to obtain a first test result, or is used for receiving the digital signals of the plurality of channels output by the tested ECU and recognizing the digital signals of the plurality of channels so that a second test result can be obtained. According to the test system, the test results corresponding to the digital signals of the tested ECU about the multiple channels can be obtained based on the relay, the hardware cost is low, and the test efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of testing technology, and in particular relates to a testing system. Background Art

[0002] With the improvement of people's living standards and the development of the vehicle industry, the safety requirements for vehicles are getting higher and higher.

[0003] During the driving process of the vehicle, if the function of the wire control brake system is missing or fails due to defects or failures in the software or hardware, it will have serious consequences for driving safety. In order to verify whether the function and performance of the vehicle's wire control brake system meet the requirements, it is necessary to verify the reliability of the wire control brake system, especially the electronic controller (Electronic Control Unit, ECU) in the wire control system.

[0004] The traditional ECU testing method requires waiting for the hardware development to be basically completed before carrying out manual road testing on a test vehicle. This takes a long time, requires a lot of manpower and material resources, and increases R&D expenses. Therefore, in response to the above problems, it is necessary to design a test system that can solve the problems of high hardware cost and low test efficiency of the existing test methods. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a testing system with low hardware cost and high testing efficiency.

[0006] The present invention provides a test system, which includes a relay connected to an ECU under test; wherein the relay is used to output digital signals of multiple channels to the ECU under test so that the ECU under test can identify the digital signals to obtain a first test result, or to receive digital signals of multiple channels output by the ECU under test and identify the digital signals of the multiple channels to obtain a second test result.

[0007] In one embodiment, the test system also includes a host computer and a programmable power supply; the host computer is connected to the programmable power supply and the relay, and is used to output a power control signal to the programmable power supply, and output a switch control signal to the relay; the programmable power supply is connected to the relay, and is used to output a power supply signal to the relay according to the power control signal; wherein the relay is also used to control whether to output the power supply signal to the ECU under test according to the switch control signal, so as to control the power on and off of the ECU under test.

[0008] In one implementation, the digital signals of the plurality of channels include a high level signal of at least one channel and a low level signal of at least one channel.

[0009] In one embodiment, the relay is used to output digital signals of multiple channels to the ECU under test multiple times; the ECU under test is used to confirm whether the order of the digital signals of multiple channels output each time corresponds one-to-one with the current preset order to obtain the first test result.

[0010] In one embodiment, the ECU under test is used to output digital signals of multiple channels to the relay multiple times; the relay is used to confirm whether the order of the digital signals of multiple channels output each time corresponds one-to-one with the current preset order to obtain the second test result.

[0011] In one embodiment, the order of the digital signals of the multiple channels output each time is different.

[0012] In one embodiment, the test system also includes a hardware load; the hardware load is connected to the ECU under test and is used to simulate the actual hardware environment on the vehicle; the ECU under test also outputs a voltage division signal to the host computer so that the host computer obtains a third test result based on the voltage division information.

[0013] In one embodiment, the test system also includes a motor and a wheel speed sensor; wherein the motor is connected to the host computer for receiving a motor control signal output by the host computer and performing corresponding operations; the wheel speed sensor is connected to the motor and the ECU under test, acts on the motor, detects the wheel speed of the motor, and outputs a corresponding test wheel speed signal to the ECU under test, so that the ECU under test determines the difference between the test wheel speed signal and the preset wheel speed, thereby obtaining a fourth test result.

[0014] In one implementation, the motor is started synchronously with the ECU under test being powered on.

[0015] In one embodiment, the test system further includes a CAN box; the CAN box is connected to the host computer, the programmable power supply and the relay, and is used to achieve communication between the host computer, the programmable power supply and the relay.

[0016] The test system of the present invention includes a relay, and the relay is connected to the ECU under test; wherein the relay is used to output digital signals of multiple channels to the ECU under test, so that the ECU under test can identify and obtain a first test result, or to receive digital signals of multiple channels output by the ECU under test, and identify the digital signals of the multiple channels to obtain a second test result. The test system of the present invention can obtain test results corresponding to the digital signals of multiple channels of the ECU under test based on the relay, with low hardware cost and high test efficiency.

[0017] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation method is described below, and the detailed description is as follows in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 The figure is a schematic diagram of the structure of a test system according to an example of the present invention.

[0019] Figure 2 The figure is a flow chart of a testing method of a testing system according to an embodiment of the present invention.

[0020] Among them, 10-test system, 20-tested ECU, 110-host computer, 120-CAN box, 130-programmable power supply, 140-relay, 150-motor, 160-wheel speed sensor, 170-hardware load, 1701-EPB switch. DETAILED DESCRIPTION

[0021] In order to facilitate the understanding of the present invention, the present invention will be described more comprehensively with reference to the accompanying drawings. The accompanying drawings show the specific implementation of the present invention, and the present invention will be described in detail below in conjunction with the accompanying drawings and examples.

[0022] Figure 1 FIG. 1 is a schematic diagram of a test system according to an embodiment of the present invention. Figure 1 As shown, a test system 10 includes: a relay 140, and the relay 140 is connected to the ECU 20 under test.

[0023] Among them, the relay 140 is used to output digital signals of multiple channels to the ECU 20 under test, so that the ECU 20 under test can identify and obtain a first test result, or to receive digital signals of multiple channels output by the ECU 20 under test, and identify the digital signals of multiple channels to obtain a second test result. Therefore, the present invention can output digital signals of multiple channels based on the relay 140 for the ECU 20 under test to identify and obtain a first test result, so that it can be obtained whether the recognition function of the ECU 20 under test for the input digital signals of multiple channels is normal, or based on the relay 140 receiving the digital signals of multiple channels output by the ECU to obtain a second test result, so that it can be obtained whether the function of the ECU 20 under test to output multiple channels of digital signals to the outside is normal, with low hardware cost and high test efficiency. In one embodiment, the digital signals of multiple channels include a high-level signal of at least one channel and a low-level signal of at least one channel to improve the accuracy of the test results. Specifically, for example, the digital signals of multiple channels can be three high-level digital signals and one low-level digital signal. In other embodiments, the digital signals of multiple channels can also be all high-level digital signals, or all low-level digital signals.

[0024] In one embodiment, the relay 140 is used to output multiple channels of digital signals to the ECU 20 under test for multiple times. The ECU 20 under test is used to confirm whether the order of the digital signals of the multiple channels output each time corresponds to the current preset order to obtain the first test result, thereby improving the accuracy of the first test result, that is, improving the accuracy of whether the recognition function of the ECU 20 under test for the input digital signals of the multiple channels is normal. Specifically, in one embodiment, the current preset order corresponding to each test is different to improve the integrity of the test.

[0025] In one embodiment, the ECU 20 under test may also determine the support strength (also known as durability) of the hardware of the ECU 20 under test under extreme working conditions according to the first test results corresponding to the digital signals of multiple channels output each time. For example, if the first test results corresponding to the digital signals of multiple channels output each time are normal within a preset time period, it is determined that the support strength of the hardware of the ECU 20 under test under extreme working conditions is high.

[0026] In one embodiment, the ECU 20 under test is used to output multiple channels of digital signals to the relay 140 multiple times; the relay 140 is used to confirm whether the order of the multiple channels of digital signals output each time corresponds to the current preset order to obtain a second test result. In one embodiment, the relay 140 can also determine the support strength of the hardware of the ECU 20 under test under extreme working conditions according to the second test result corresponding to the digital signals of multiple channels output each time.

[0027] In one implementation, the test system 10 further includes a host computer 110 and a programmable power supply 130 .

[0028] The host computer 110 is connected to the program-controlled power supply 130 and the relay 140, and is used to output a power control signal to the program-controlled power supply 130, and output a switch control signal to the relay 140. The program-controlled power supply 130 is connected to the relay 140, and is used to output power supply to the relay 140 according to the power control signal; wherein the relay 140 is also used to control whether to output power supply to the ECU 20 under test according to the switch control signal, so as to control the power on and off of the ECU 20 under test.

[0029] Specifically, in one embodiment, if the test case needs to output a large current to drive the rotation of the DC motor, the host computer 110 can output a power control signal to the programmable power supply 130 through the test script, so that the programmable power supply 130 outputs a large current. In one embodiment, the programmable power supply 130 can also stop outputting the power supply signal according to the power off instruction output by the host computer 110 to improve the safety of the test system.

[0030] Specifically, in one embodiment, the relay 140 can be connected to the power supply pins KL15 and KL30 of the ECU 20 under test. In order to power on and off the ECU 20 under test in the test process, the power supply line of the programmable power supply 130 and the power supply pins of the ECU 20 under test are relayed by the coil of the relay 140. The relay 140 controls the on and off of the coil according to the switch signal, so as to control the power on and off of the ECU 20 under test in the test process. Therefore, in one embodiment, the multi-channel relay 140 can not only detect the recognition or output function of the digital signal of the ECU 20 under test, but also control the power on and off of the ECU under test, so that the test system 10 has high flexibility and low cost.

[0031] In one embodiment, the test system 10 further includes a hardware load 170, which is used to simulate the operating environment of a real vehicle to improve the reliability of the test. The hardware load 170 may include an EPB switch 1701, which may affect the internal voltage division signal of the ECU 20 under test. The host computer 110 determines whether the voltage division signal output by the ECU 20 under test is consistent with the expected result, and obtains a third test result, thereby verifying whether the detection function of the analog signal of the ECU 20 under test is normal.

[0032] In one embodiment, the test system 10 further includes a motor 150 and a wheel speed sensor 160. The wheel speed sensor 160 can be integrated in the motor 150. The wheel speed sensor 151 is connected to the ECU 20 under test, and is used to simulate a wheel speed signal when the motor 150 rotates, and send the simulated test wheel speed signal to the ECU 20 under test for analysis to determine whether the test wheel speed signal is consistent with the preset wheel speed, and obtain a fourth test result, thereby verifying whether the sensing function of the wheel speed sensor 160 is normal. When the test process is started, the upper computer 110 can intervene to synchronously start the motor 150, and make the motor 150 start to reach a preset speed and remain stable before executing the relevant test case, and turn off the motor 150 after the relevant test case is executed.

[0033] In one embodiment, the test system 10 further includes a CAN box 120. The CAN box 120 is connected to the host computer 110, the program-controlled power supply 130, and the relay 140 to realize communication between the host computer 110, the program-controlled power supply 130, and the relay 140. In other embodiments, at least two of the host computer 110, the program-controlled power supply 130, and the relay 140 may also be connected in other communication modes. In other embodiments, the communication between at least two of the host computer 110, the program-controlled power supply 130, and the relay 140 may also be realized by other communication modes, such as a serial communication bus.

[0034] The test system 10 of an embodiment of the present invention can obtain the test results corresponding to the digital signals of multiple channels of the ECU 20 under test based on the relay 140, with low hardware cost and high test efficiency. In one embodiment, the power on and off of the ECU under test can also be controlled by the multi-channel relay 140, so that the test system 10 has high flexibility and further reduces the hardware cost.

[0035] Figure 2 FIG. 1 is a flow chart of a test method of a test system according to an embodiment of the present invention. Figure 1 as well as Figure 2 , including steps 210 to 240, specifically: Step 210, electrically connecting the ECU under test to the test system; Step 220, the system is powered on, and after the host computer is started, the motor is started synchronously to make it reach and maintain the target speed; Step 230: Execute a preset test process; Step 240: The host computer analyzes the final test results according to the test case results in the test process.

[0036] In one embodiment of the present invention, the ECU 20 under test can be electrically connected to the components of the test system 10 by manual welding. In addition, the interfaces that need to be frequently switched can be connected using rubber metal heads to improve test flexibility; the CAN bus and serial communication bus in the test system 10 used can be metal shielded to prevent radiation interference from affecting the test effect of the test system.

[0037] In one embodiment, when the test process is started, the host computer 110 intervenes to control the start of the motor 150. Since it takes a certain amount of time for the motor 150 to reach a predetermined speed, it is necessary to reach and maintain the target speed before executing the test case related to the motor 150. Therefore, the motor 150 can be started synchronously after the system is powered on and the host computer is started.

[0038] In one embodiment, the test process can be run by the host computer 110, and each test case is implemented using a CAPL script. If the ECU 20 under test needs to be powered on and off during the test process, the host computer 110 can control the relay 140 to open and close the power supply line of the ECU 20 under test, so as to power on and off the ECU 20 under test during the test process, thereby improving the test efficiency. During the test process, after executing the test case related to the motor, the host computer 110 can control the motor 150 to be turned off.

[0039] The testing method of the testing system 10 of one embodiment of the present invention provides the use of a controllable multi-channel relay 140 to control the power supply of the ECU 20 under test, which is convenient for power on and off operations of the ECU 20 under test. The relay 140 can also input digital signals to the ECU under test and identify digital signals output by the ECU 20 under test in some test cases, thereby improving detection efficiency and reducing hardware costs.

[0040] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment as above, it is not used to limit the present invention. Any technician familiar with this profession can make some changes or modifications to equivalent embodiments of equivalent changes using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention still fall within the scope of the technical solution of the present invention.

Claims

1. A testing system, characterized in that: The test system includes a relay, and the relay is connected to the ECU under test; Among them, the relay is used to output digital signals of multiple channels to the ECU under test for the ECU under test to identify and obtain a first test result, or to receive digital signals of multiple channels output by the ECU under test and identify the digital signals of the multiple channels to obtain a second test result.

2. The test system according to claim 1, characterized in that: The test system also includes a host computer and a program-controlled power supply; The host computer is connected to the program-controlled power supply and the relay, and is used to output a power control signal to the program-controlled power supply and output a switch control signal to the relay; The program-controlled power supply is connected to the relay and is used to output power to supply power to the relay according to the power control signal; The relay is further used to control whether to output the power supply to the ECU under test according to the switch control signal, so as to control the power on and off of the ECU under test.

3. The test system according to claim 1, characterized in that: The digital signals of the plurality of channels include a high level signal of at least one channel and a low level signal of at least one channel.

4. The test system according to claim 1, characterized in that: The relay is used to output digital signals of multiple channels to the ECU under test multiple times; The ECU under test is used to confirm whether the order of the digital signals of the multiple channels output each time corresponds to the current preset order one by one, so as to obtain the first test result.

5. The test system according to claim 1, characterized in that: The ECU under test is used to output digital signals of multiple channels to the relay multiple times; The relay is used to confirm whether the order of the digital signals of the multiple channels output each time corresponds to the current preset order one by one, so as to obtain the second test result.

6. The test system according to claim 4 or 5, characterized in that: The order of the digital signals of multiple channels outputted each time is different.

7. The test system according to claim 2, characterized in that: The test system also includes a hardware load; The hardware load is connected to the ECU under test and is used to simulate the actual hardware environment on the vehicle; The ECU under test also outputs a voltage division signal to the host computer, so that the host computer obtains a third test result according to the voltage division information.

8. The test system according to claim 2, characterized in that: The test system also includes a motor and a wheel speed sensor; Wherein, the motor is connected to the host computer, and is used to receive the motor control signal output by the host computer and perform corresponding operations; The wheel speed sensor is connected to the motor and the ECU under test, acts on the motor, detects the wheel speed of the motor, and outputs a corresponding test wheel speed signal to the ECU under test, so that the ECU under test determines the difference between the test wheel speed signal and the preset wheel speed, thereby obtaining a fourth test result.

9. The test system according to claim 8, characterized in that: The starting of the motor is synchronized with the power-on of the ECU under test.

10. The test system according to claim 2, characterized in that: The test system also includes a CAN box; The CAN box is connected to the host computer, the programmable power supply and the relay, and is used to realize communication among the host computer, the programmable power supply and the relay.

Citation Information

Cited By

  • Method and device for testing electronic controller

    CN120928810A