Multi-ECU power supply fault test system, method and device and storage medium

By designing a power supply fault test system in a multi-ECU scenario, and using simulated fault power supplies and relay groups, efficient power supply fault testing for multiple ECUs is achieved, which solves the problems of low test efficiency and can only simulate a single fault in the existing technology, and supports Power failure testing in multiple scenarios.

CN118534358AActive Publication Date: 2024-08-23BEIJING BLUESKY AVIATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410457546.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-16
Publication Date
2024-08-23
Estimated Expiration
2044-04-16

AI Technical Summary

Technical Problem

The existing technology is inefficient and error-prone in power failure testing in multi-ECU scenarios, and can only simulate a single power failure situation, and cannot efficiently handle power failure testing in multiple scenarios.

Method used

A multi-ECU power failure testing system is designed. By simulating the combination of faulty power supply, relay group and control unit, power failure testing of multiple ECUs is realized. Relays are used to switch the power supply status of ECUs to avoid ECU failure during power failure testing. Disconnected, supports power failure testing in multiple scenarios.

Benefits of technology

It achieves high-efficiency, multi-scenario power failure testing of multiple ECUs, improves testing efficiency, avoids the risk of ECU disconnection, and can dynamically simulate multiple power failure scenarios, such as power interruptions, voltage fluctuations, noise and pulses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534358A
    Figure CN118534358A
Patent Text Reader

Abstract

The invention relates to the technical field of automation, in particular to a multi-ECU power supply fault test system, method and device and a storage medium. The electrical connection relationship between the simulated fault power supply and the plurality of ECUs is determined through the first relay group and the second relay group, the power supply fault test is performed on the plurality of ECUs through the simulated output of the simulated fault power supply, and the power supply states of the ECUs are switched by using the relays, so that the ECU disconnection caused by power supply switching during the power supply fault test is avoided, and the test efficiency is improved. High-efficiency and multi-scene power supply fault testing of a plurality of ECUs can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automation technology, and in particular to a power failure test system, method, device and storage medium for multiple ECUs. Background Art

[0002] CAN bus (Controller Area Network, CAN) is a serial communication protocol commonly used in vehicles and industrial fields. It is designed for fast and reliable communication between multiple electronic control units (ECUs) to support real-time systems and data transmission between multiple devices. The reliability and real-time performance of CAN bus make it widely used in automobiles, industrial automation and other fields.

[0003] Power failure simulation on devices on the CAN bus is a common test method used to evaluate the robustness and reliability of the system. This test helps determine the behavior of the system in the face of power problems, ensuring that the system can properly handle and recover from abnormal conditions.

[0004] Traditional power supply failure testing requires manual connection of the fault simulation power supply to the ECU being tested, and manual configuration of the fault simulation power supply is also required. The ECU needs to be powered off and then reconnected during the power supply test. For scenarios where multiple ECUs need to be tested, the testing efficiency of the existing technology is low and prone to errors, and each time the test is performed, only a single power supply failure situation can be simulated. Therefore, a new power supply failure testing system is urgently needed. Summary of the invention

[0005] The present invention provides a power failure test system, method, device and storage medium for multiple ECUs, which are used to realize high-efficiency power failure test for multiple ECUs.

[0006] The present invention provides a multi-ECU power failure test system, comprising:

[0007] Control unit, normal power supply, simulated fault power supply, first relay group, second relay group, multiple ECUs, wherein:

[0008] The simulated fault power supply includes a ground bias power supply and a program-controlled power supply;

[0009] The normally open contact of the first relay group is electrically connected to the ground bias power supply, and the normally closed contact of the first relay group is electrically connected to the program-controlled power supply;

[0010] The normally open contacts of the second relay group are electrically connected to the output terminals of the first relay group in a one-to-one correspondence, and the normally closed contacts of the second relay group are electrically connected to a conventional power supply;

[0011] The plurality of ECUs are electrically connected to the output ends of the second relay group in a one-to-one correspondence;

[0012] The control unit is electrically connected to the simulated fault power supply, the first relay group, and the second relay group, respectively, and is used to output control instructions;

[0013] The simulated fault power supply is used to output a simulated fault voltage according to a control instruction; the first relay group is used to obtain a test voltage output according to the control instruction and the input simulated fault voltage; the second relay group is used to perform a power supply fault test on the ECU to be tested according to the control instruction and the input test voltage.

[0014] According to the multi-ECU power supply fault test system provided by the present invention, the ground bias power supply is used to provide a preset fault voltage, and the preset fault voltage is a stable voltage greater than a conventional power supply, or the preset fault voltage is a stable voltage less than a conventional power supply.

[0015] According to the multi-ECU power failure test system provided by the present invention, the programmable power supply is used to provide a fault voltage when a power failure occurs. The power failure includes power interruption, power voltage fluctuation, power noise and power pulse.

[0016] According to the power supply failure test system for multiple ECUs provided by the present invention, the control unit includes a test management unit and a relay group management unit. The test management unit and the relay group management unit and the simulated fault power supply are communicatively connected respectively, and the relay group management unit is electrically connected to the coil of the first relay group and the coil of the second relay group respectively.

[0017] The present invention also provides a multi-ECU power failure test method, which is applied to the multi-ECU power failure test system provided by the present invention, and comprises the following steps:

[0018] Determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested;

[0019] According to the power supply fault corresponding to the ECU to be tested, determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group; according to the ECU sequence to be tested, determine the working contacts of the second relay group;

[0020] generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group, and the working contacts of the second relay group;

[0021] The control unit sends the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

[0022] According to the power supply failure test method for multiple ECUs provided by the present invention, the power supply failure corresponding to the ECU to be tested includes power supply interruption, power supply voltage fluctuation, power supply noise, power supply pulse, high power supply voltage and low power supply voltage. According to the power supply failure corresponding to the ECU to be tested, the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group are determined, specifically:

[0023] If the power supply failure corresponding to the ECU to be tested is power supply interruption, power supply voltage fluctuation, power supply noise or power supply pulse, determining that the working contact of the first relay group corresponding to the ECU to be tested is a normally closed contact;

[0024] If the power supply fault corresponding to the ECU to be tested is that the power supply voltage is too high or the power supply voltage is too low, it is determined that the working contacts of the first relay group corresponding to the ECU to be tested are normally open contacts.

[0025] The present invention further provides a power supply failure test device for multiple ECUs, which is applied to the power supply failure test system for multiple ECUs provided by the present invention, comprising:

[0026] A fault determination module, used for determining a sequence of ECUs to be tested and a power supply fault corresponding to the ECUs to be tested;

[0027] The contact determination module is used to determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group according to the power supply fault corresponding to the ECU to be tested; and determine the working contacts of the second relay group according to the ECU sequence to be tested;

[0028] An instruction generation module, used for generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group and the working contacts of the second relay group;

[0029] The test module is used to enable the control unit to send the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

[0030] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a power failure test method for multiple ECUs as described above is implemented.

[0031] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the power supply failure testing method for multiple ECUs as described in any one of the above methods is implemented.

[0032] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for testing power failure of multiple ECUs.

[0033] The power supply failure test system, method, device and storage medium for multiple ECUs provided by the present invention determine the electrical connection relationship between the simulated fault power supply and multiple ECUs through a first relay group and a second relay group, perform power supply failure tests on multiple ECUs through the output of the simulated fault power supply simulation, and use relays to switch the power supply status of the ECUs to avoid ECU disconnection caused by switching the power supply during the power supply failure test, thereby realizing high-efficiency, multi-scenario power supply failure testing of multiple ECUs. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 This is one of the structural schematic diagrams of the multi-ECU power failure test system provided by the present invention;

[0036] Figure 2 This is the second structural schematic diagram of the multi-ECU power failure test system provided by the present invention;

[0037] Figure 3 It is a flow chart of a power failure test method for multiple ECUs provided by the present invention;

[0038] Figure 4 It is a structural schematic diagram of a power failure test device for multiple ECUs provided by the present invention;

[0039] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Combine the following Figure 1-Figure 5The present invention describes a power failure test system, method, device and storage medium for multiple ECUs.

[0042] Figure 1 FIG. 1 is one of the structural diagrams of the power failure test system for multiple ECUs according to an embodiment of the present invention. Figure 1 As shown, including:

[0043] A control unit 110, a normal power supply 120, a simulated fault power supply 130, a first relay group 140, a second relay group 150, and a plurality of ECUs, wherein:

[0044] The simulated fault power supply 130 includes a ground bias power supply 131 and a program-controlled power supply 132;

[0045] The normally open contact of the first relay group 140 is electrically connected to the ground bias power supply, and the normally closed contact of the first relay group is electrically connected to the program-controlled power supply;

[0046] The normally open contacts of the second relay group 150 are electrically connected to the output terminals of the first relay group 140 in a one-to-one correspondence, and the normally closed contacts of the second relay group 150 are electrically connected to the conventional power supply 120;

[0047] The plurality of ECUs are electrically connected to the output terminals of the second relay group 150 in a one-to-one correspondence;

[0048] The control unit 110 is electrically connected to the simulated fault power supply 130, the first relay group 140, and the second relay group 150, respectively, for outputting control instructions;

[0049] The simulated fault power supply 130 is used to output a simulated fault voltage according to a control instruction; the first relay group 140 is used to obtain a test voltage output according to the control instruction and the input simulated fault voltage; the second relay group 150 is used to perform a power supply fault test on the ECU to be tested according to the control instruction and the input test voltage.

[0050] Figure 2 This is the second structural schematic diagram of the power supply fault test system of multiple ECUs in an embodiment of the present invention. In the embodiment of the present invention, the control unit includes a host computer and a relay management board. The host computer runs the experiment management software and the relay management board communication program. The host computer controls the programmable power supply and the ground bias power supply through the experiment management software to realize the signal editing of the simulated fault power supply; the host computer communicates with the relay management board through the relay management board communication program, and controls the coil current of the first relay group and the second relay group through the relay management board to realize the output switching of the first relay group and the second relay group.

[0051] As a specific embodiment, the experimental management software and the relay management board communication program communicate via the UDP network to read and write the state of the relay. The experimental management software and the programmable power supply use serial port communication to control the output of the programmable power supply. The experimental management software and the ground bias power supply use TCP network communication to control the output of the ground bias power supply. The relay management board communication program receives the state of the relay from the experimental management software and sends the relay state to the relay management board via the UDP network. The relay management board controls the coil voltage of each relay according to the relay state sent by the relay management board communication program.

[0052] It can be seen that the power failure test system for multiple ECUs in the embodiment of the present invention determines the electrical connection relationship between the simulated fault power supply and multiple ECUs through the first relay group and the second relay group, performs power failure tests on multiple ECUs through the simulated output of the simulated fault power supply, and uses relays to switch the power supply status of the ECU to avoid ECU disconnection caused by switching the power supply during the power failure test, thereby achieving high-efficiency, multi-scenario power failure testing of multiple ECUs. Furthermore, the relay management board communication program is used to avoid frequent communication between the experiment management software and the relay management board, thereby improving operating efficiency. And other units connected to the relay management board communication program can also operate the relay. Using a programmable power supply, the desired output voltage can be quickly configured through the experiment management software without manually configuring the output power supply.

[0053] In the embodiment of the present invention, the ground bias power supply is used to provide a preset fault voltage, the preset fault voltage is greater than the stable voltage of the conventional power supply, or the preset fault voltage is less than the stable voltage of the conventional power supply. The programmable power supply is used to provide a fault voltage when a power failure occurs, and the power failure includes power interruption, power voltage fluctuation, power noise and power pulse.

[0054] The embodiment of the present invention switches the access of the ground bias power supply and the programmable power supply through the first relay group, so as to realize dynamic and continuous simulation of ECU power supply failure. For example, when the ECU to be tested needs to simulate power supply pulses, power supply voltage drops and continuous low power supply voltage in sequence, it is only necessary to set the working contacts of the first relay corresponding to the ECU to be tested to normally closed contacts, normally closed contacts and normally open contacts in sequence.

[0055] Figure 3 FIG. 1 is a flow chart of a method for testing a power failure of multiple ECUs provided by an embodiment of the present invention. Figure 3 As shown, it includes steps 310 to 340, specifically:

[0056] Step 310: Determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested;

[0057] Step 320: Determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group according to the power supply fault corresponding to the ECU to be tested; determine the working contacts of the second relay group according to the ECU sequence to be tested;

[0058] Step 330, generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group and the working contacts of the second relay group;

[0059] Step 340: The control unit sends the control instruction to the simulated fault power supply, the first relay group, and the second relay group to perform a fault test on the ECU sequence to be tested.

[0060] In the embodiment of the present invention, the power supply fault corresponding to the ECU to be tested includes power supply interruption, power supply voltage fluctuation, power supply noise, power supply pulse, high power supply voltage and low power supply voltage. According to the power supply fault corresponding to the ECU to be tested, the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group are determined, specifically:

[0061] If the power supply failure corresponding to the ECU to be tested is power supply interruption, power supply voltage fluctuation, power supply noise or power supply pulse, determining that the working contact of the first relay group corresponding to the ECU to be tested is a normally closed contact;

[0062] If the power supply fault corresponding to the ECU to be tested is that the power supply voltage is too high or the power supply voltage is too low, it is determined that the working contacts of the first relay group corresponding to the ECU to be tested are normally open contacts.

[0063] The power supply failure test method for multiple ECUs in an embodiment of the present invention is applied to the power supply failure test system for multiple ECUs in an embodiment of the present invention. Power supply failure tests are performed on multiple ECUs by simulating the output of a faulty power supply simulation, and relays are used to switch the power supply status of the ECUs to avoid ECU disconnection caused by switching power supplies during power supply failure testing. This can achieve high-efficiency, multi-scenario power supply failure testing of multiple ECUs.

[0064] It is understandable that, since each ECU in the CAN bus system is usually two or more ECUs powered by the same power supply module, a power failure will not only involve a single ECU, and the power failure situations of multiple ECUs will be interrelated. Therefore, the embodiment of the present invention simultaneously performs power failure tests on multiple ECUs, so that the electrically connected ECUs being tested can be subjected to the same fault injection. On the other hand, the power failure test method for multiple ECUs in the embodiment of the present invention can continuously inject faults into the ECUs being tested, which is more in line with the actual operation of the CAN bus system.

[0065] The power failure test of multiple ECUs provided by the present invention is described below. The power failure test device of multiple ECUs described below and the power failure test method of multiple ECUs described above can be referred to each other.

[0066] Figure 4 Schematic diagram of the structure of the multi-ECU power failure test device provided by the present invention, which is applied to the multi-ECU power failure test system of the embodiment of the present invention, such as Figure 4 As shown, including:

[0067] A fault determination module 410 is used to determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested;

[0068] The contact determination module 420 is used to determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group according to the power supply fault corresponding to the ECU to be tested; and determine the working contacts of the second relay group according to the ECU sequence to be tested;

[0069] An instruction generating module 430, for generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group and the working contacts of the second relay group;

[0070] The test module 440 is used to enable the control unit to send the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

[0071] It can be seen that the power supply failure test device for multiple ECUs in the embodiment of the present invention is applied to the power supply failure test system for multiple ECUs in the embodiment of the present invention. Power supply failure tests are performed on multiple ECUs by simulating the output of a faulty power supply simulation, and relays are used to switch the power supply status of the ECUs to avoid ECU disconnection caused by switching power supplies during power supply failure testing. This can achieve high-efficiency, multi-scenario power supply failure testing of multiple ECUs.

[0072] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communications interface 520 and the memory 530 communicate with each other via the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the power failure test method of multiple ECUs, including the following steps:

[0073] Determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested;

[0074] According to the power supply fault corresponding to the ECU to be tested, determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group; according to the ECU sequence to be tested, determine the working contacts of the second relay group;

[0075] generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group, and the working contacts of the second relay group;

[0076] The control unit sends the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

[0077] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0078] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the power failure test method of multiple ECUs provided by the above methods, including the following steps:

[0079] Determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested;

[0080] According to the power supply fault corresponding to the ECU to be tested, determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group; according to the ECU sequence to be tested, determine the working contacts of the second relay group;

[0081] generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group, and the working contacts of the second relay group;

[0082] The control unit sends the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

[0083] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the power failure test method for multiple ECUs provided by the above methods, including the following steps:

[0084] Determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested;

[0085] According to the power supply fault corresponding to the ECU to be tested, determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group; according to the ECU sequence to be tested, determine the working contacts of the second relay group;

[0086] generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group, and the working contacts of the second relay group;

[0087] The control unit sends the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

[0088] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multi-ECU power failure test system, characterized in that: include: Control unit, normal power supply, simulated fault power supply, first relay group, second relay group, multiple ECUs, wherein: The simulated fault power supply includes a ground bias power supply and a program-controlled power supply; The normally open contact of the first relay group is electrically connected to the ground bias power supply, and the normally closed contact of the first relay group is electrically connected to the program-controlled power supply; The normally open contacts of the second relay group are electrically connected to the output terminals of the first relay group in a one-to-one correspondence, and the normally closed contacts of the second relay group are electrically connected to a conventional power supply; The plurality of ECUs are electrically connected to the output ends of the second relay group in a one-to-one correspondence; The control unit is electrically connected to the simulated fault power supply, the first relay group, and the second relay group, respectively, and is used to output control instructions; The simulated fault power supply is used to output a simulated fault voltage according to a control instruction; the first relay group is used to obtain a test voltage output according to the control instruction and the input simulated fault voltage; the second relay group is used to perform a power supply fault test on the ECU to be tested according to the control instruction and the input test voltage.

2. The multi-ECU power failure test system according to claim 1, characterized in that: The ground bias power supply is used to provide a preset fault voltage, wherein the preset fault voltage is a stable voltage greater than a conventional power supply, or the preset fault voltage is a stable voltage less than a conventional power supply.

3. The multi-ECU power failure test system according to claim 1, characterized in that: The programmable power supply is used to provide a fault voltage when a power failure occurs. The power failure includes power interruption, power voltage fluctuation, power noise and power pulse.

4. The multi-ECU power failure test system according to claim 1, characterized in that: The control unit includes a test management unit and a relay group management unit. The test management unit is communicatively connected with the relay group management unit and the simulated fault power supply. The relay group management unit is electrically connected with the coil of the first relay group and the coil of the second relay group.

5. A method for testing power failure of multiple ECUs, characterized in that: A power failure test system for multiple ECUs according to any one of claims 1 to 4, comprising the following steps: Determine the ECU sequence to be tested and the power supply fault corresponding to the ECU to be tested; According to the power supply fault corresponding to the ECU to be tested, determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group; according to the ECU sequence to be tested, determine the working contacts of the second relay group; generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group, and the working contacts of the second relay group; The control unit sends the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

6. The multi-ECU power failure test method according to claim 5, characterized in that: The power supply failure corresponding to the ECU to be tested includes power supply interruption, power supply voltage fluctuation, power supply noise, power supply pulse, high power supply voltage and low power supply voltage. According to the power supply failure corresponding to the ECU to be tested, the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group are determined, specifically: If the power supply failure corresponding to the ECU to be tested is power supply interruption, power supply voltage fluctuation, power supply noise or power supply pulse, determining that the working contact of the first relay group corresponding to the ECU to be tested is a normally closed contact; If the power supply fault corresponding to the ECU to be tested is that the power supply voltage is too high or the power supply voltage is too low, it is determined that the working contacts of the first relay group corresponding to the ECU to be tested are normally open contacts.

7. A power failure test device for multiple ECUs, characterized in that: A power failure test system for multiple ECUs according to any one of claims 1 to 4, comprising: A fault determination module, used for determining a sequence of ECUs to be tested and a power supply fault corresponding to the ECUs to be tested; The contact determination module is used to determine the simulated fault voltage output by the simulated fault power supply and the working contacts of the first relay group according to the power supply fault corresponding to the ECU to be tested; and determine the working contacts of the second relay group according to the ECU sequence to be tested; An instruction generation module, used for generating a control instruction according to the simulated fault voltage, the working contacts of the first relay group and the working contacts of the second relay group; The test module is used to enable the control unit to send the control instruction to the simulated fault power supply, the first relay group and the second relay group to perform a fault test on the ECU sequence to be tested.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the power failure test method for multiple ECUs as claimed in any one of claims 5 to 6 is implemented.

Citation Information

Patent Citations

  • Fault detection and on-line switching equipment of programmable power supply for spacecraft hot test

    CN107910947A

  • Switch power fault simulation injection and testability analysis device and method

    CN108279388A

  • Fault injection circuit and method for ECU testing and ECU testing system

    CN109799809A

  • Method and device for testing electronic control unit and fault injection system thereof

    CN116256578A

  • Apparatus for testing electric power system

    CN1548972A