Testing device

By designing automated test devices and using power supply boards, test boards and host computers, automatic fault injection testing of domain controllers is realized, which solves the problem of low efficiency in the existing technology and improves testing efficiency and flexibility.

CN221707941UActive Publication Date: 2024-09-13CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421344498.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-13
Estimated Expiration
2034-06-13

AI Technical Summary

Technical Problem

In the existing technology, fault injection testing of domain controllers is inefficient and cannot achieve automated testing, requiring manual wiring for fault injection.

Method used

Design a test device, including a power board, a test board and a host computer. It implements automated fault injection testing through switch modules and pluggable connectors. The host computer is used to control the status of the switch module and automatically control the connection of power and signal pins. , realizing short power, short ground and open circuit fault injection.

Benefits of technology

It improves the testing efficiency, simplifies the testing process, can automatically perform fault injection testing, is suitable for multiple tested objects, and facilitates maintenance and structural simplification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221707941U
    Figure CN221707941U
Patent Text Reader

Abstract

The utility model discloses a testing device. The testing device comprises a power supply board card used for providing a power supply; the test board card comprises a first pin, a second pin and a switch module, the first pin and the second pin are connected with the power board card through the switch module, and the first pin and the second pin are used for being connected with a tested object; and the upper computer is electrically connected with the switch module and is used for controlling the state of the switch module. According to the testing device provided by the embodiment of the invention, automatic testing can be realized, and the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of testing technology, and in particular to a testing device. Background Art

[0002] With the rapid development of social economy and the continuous advancement of electric vehicle technology, the number of electric vehicles in use is increasing, and electric vehicles are gradually becoming an indispensable means of transportation in people's daily lives.

[0003] Electric vehicles can use domain controllers, which are a new type of automotive electronic controller. They divide the functions of various parts of automotive electronics into several areas, such as power transmission, body electronics, and assisted driving. Then, they use the relatively concentrated control domain of multi-core CPUs or GPU chips with powerful processing capabilities to handle most of the functions originally belonging to each ECU, thereby meeting the growing development needs of vehicle-mounted electronics.

[0004] The domain controller needs to be tested for fault injection, and the faults may include short power, short ground, open circuit fault, etc. However, in the related art, when performing fault injection testing on the domain controller, there is a problem of low efficiency. Utility Model Content

[0005] The present application provides a testing device that can realize automated testing and improve testing efficiency.

[0006] In a first aspect, the present application provides a testing device, including: a power supply board for providing power; a test board, including a first pin, a second pin and a switch module, the first pin and the second pin are connected to the power supply board through the switch module, and the first pin and the second pin are used to connect to the object under test; a host computer, electrically connected to the switch module, for controlling the state of the switch module.

[0007] In an embodiment of the present application, a test board is connected between a power board and an object under test, and the test board includes a switch module. A host computer is used to control the state of the switch module. In this way, there is no need to manually connect a wiring harness to perform a fault injection test. Instead, the host computer automatically controls the state of the switch module in the test board to achieve automatic fault injection testing, which is beneficial to improving test efficiency.

[0008] In a possible implementation manner of the first aspect, the testing device further includes a connector;

[0009] The test board is connected to the power board through a connector;

[0010] The connector is a pluggable connector.

[0011] In the embodiment of the present application, a pluggable connector is provided, so that it is convenient to use different test boards for testing, and when the test board fails, the test board can be easily unplugged for repair.

[0012] In the embodiment of the present application, the first test board and the second test board are used to connect different objects under test, so that fault injection tests can be performed on multiple objects under test at the same time. In addition, the first test board and the second test board share a power board, which is conducive to simplifying the structure.

[0013] In a possible implementation of the first aspect, the test board includes at least a first test board and a second test board, the first test board is used to connect to the first object under test, the second test board is used to connect to the second object under test, and the first test board and the second test board are both connected to the power board.

[0014] In the embodiment of the present application, the first test board and the second test board are used to connect different objects under test, so that fault injection tests can be performed on multiple objects under test at the same time. In addition, the first test board and the second test board share a power board, which is conducive to simplifying the structure.

[0015] In a possible implementation of the first aspect, the switch module includes a first switch group, and the first switch group includes a first switch, a second switch, and a third switch;

[0016] The first switch is connected between the positive pin and the first pin of the power board;

[0017] The second switch is connected between the negative pin and the first pin of the power board;

[0018] The third switch is connected between the first pin and the second pin.

[0019] In an embodiment of the present application, the first switch is connected to the positive pin of the power board, and the host computer can control the short power fault injection test by controlling the state of the first switch; the second switch is connected to the negative pin of the power board, and the host computer can control the short ground fault injection test by controlling the state of the second switch; the third switch is connected between the first pin and the second pin of the test board, and the host computer can control the open circuit fault injection test by controlling the state of the third switch.

[0020] In a possible implementation manner of the first aspect, the second test board further includes an excitation circuit, a first end of the excitation circuit is connected to a first pin of the second test board, and a second end of the excitation circuit is connected to a second pin of the second test board;

[0021] The switch module in the second test board includes a first switch group and a second switch group;

[0022] The first switch group includes a first switch, a second switch and a third switch;

[0023] The first switch is connected between the positive pin of the power board and the first pin of the second test board;

[0024] The second switch is connected between the negative pin of the power board and the first pin of the second test board;

[0025] The third switch is connected between the first pin and the second pin of the second test board;

[0026] The second switch group includes a fourth switch, a fifth switch and a sixth switch;

[0027] The fourth switch is connected between the positive pin of the power board and the second pin of the second test board;

[0028] The fifth switch is connected between the negative pin of the power board and the second pin of the second test board;

[0029] The sixth switch is connected between the first end of the excitation circuit and the first pin of the second test board.

[0030] In the embodiment of the present application, the second test board includes two switch groups, and the host computer can realize automatic fault injection testing on the second object under test by controlling the states of the two switch groups.

[0031] In a possible implementation of the first aspect, in the case of an open circuit fault test, the host computer controls the first switch to be opened, the second switch to be opened, and the third switch to be opened.

[0032] Since the first switch, the second switch and the third switch are all disconnected, the two signal pins of the first object under test are also disconnected, thereby implementing an open circuit fault injection test on the first object under test.

[0033] In a possible implementation manner of the first aspect, in the case of a short power failure test, the host computer controls the first switch to be turned on, the second switch to be turned off, and the third switch to be turned on.

[0034] The first switch is connected to the positive pin of the power board, so that the power supply voltage of the power board is transmitted to the first pin of the first test board through the first switch, and is transmitted to the second pin of the first test board through the third switch, and then is transmitted to the first object under test through the first pin and the second pin, thereby realizing a short power fault injection test on the first object under test.

[0035] In a possible implementation manner of the first aspect, in the case of a short-to-ground fault test, the host computer controls the first switch to be turned off, the second switch to be turned on, and the third switch to be turned on.

[0036] The second switch is connected to the negative pin of the power board, so that the low voltage (also called ground voltage) of the power board is transmitted to the first pin of the first test board through the second switch, and is transmitted to the second pin of the first test board through the third switch, and then transmitted to the first object under test through the first pin and the second pin, thereby realizing a short-to-ground fault injection test on the first object under test.

[0037] In a possible implementation of the first aspect, under normal working conditions, the host computer controls the first switch to be turned off, the second switch to be turned off, and the third switch to be turned on, so that the voltage of the power board will not be transmitted to the first pin and the second pin of the first test board, thereby not affecting the normal working of the first tested object.

[0038] In a possible implementation manner of the first aspect, the third switch in the second test board is connected to the first pin of the second test board through a sixth switch;

[0039] In the case of an open circuit fault test, a short power fault test, a short ground fault test, or a normal working state, the host computer controls the sixth switch to be turned on.

[0040] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, 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 application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The features, advantages and technical effects of exemplary embodiments of the present application will be described below with reference to the accompanying drawings.

[0042] Figure 1 This is a schematic diagram of the structure of a testing device according to an embodiment of the present application;

[0043] Figure 2 This is a schematic structural diagram of a testing device according to another embodiment of the present application;

[0044] Figure 3 This is a structural schematic diagram of a testing device according to another embodiment of the present application;

[0045] Figure 4 This is a schematic structural diagram of a testing device according to another embodiment of the present application.

[0046] In the drawings, the drawings are not necessarily drawn to scale.

[0047] In the attached figure:

[0048] 10. Power board;

[0049] 20. Test board;

[0050] 21. A first test board; 22. A second test board;

[0051] a, first pin; b, second pin;

[0052] K. Switch module;

[0053] K1, first switch; K2, second switch; K3, third switch;

[0054] K4, fourth switch; K5, fifth switch; K6, sixth switch;

[0055] Vs, excitation circuit;

[0056] 30. Host computer;

[0057] 40. Object under test;

[0058] 41. a first measured object; 42. a second measured object;

[0059] 50. Connector. DETAILED DESCRIPTION

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

[0061] Unless otherwise defined, all technical and scientific terms used in this application have the same meanings as those commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.

[0062] The terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order or a primary and secondary relationship.

[0063] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0064] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", and "attached" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0065] In the related art, during the system function test of the domain controller, the fault injection test of the pin signal (such as short ground, short power, open circuit) requires a manual external wiring harness to short the domain controller to the negative power supply, or a manual external wiring harness to short the domain controller to the positive power supply, or a manual disconnection of the pin harness to open the circuit. This method requires manual wiring every time a fault injection test is performed, which has the problems of low efficiency and inability to achieve automated testing.

[0066] In order to solve the above technical problems, an embodiment of the present application provides a testing device, which will be described in detail below in conjunction with the accompanying drawings.

[0067] Figure 1 FIG. 1 is a schematic diagram of a test device according to an embodiment of the present application. Figure 1 As shown, the testing device provided in the embodiment of the present application includes a power board 10, a testing board 20 and a host computer 30.

[0068] The power board 10 is used to provide power.

[0069] The test board 20 includes a first pin a, a second pin b and a switch module K. The first pin a and the second pin b are connected to the power board 10 through the switch module. The first pin a and the second pin b are used to connect to the object under test 40.

[0070] The host computer 30 is electrically connected to the switch module K, and is used to control the state of the switch module K.

[0071] The power board 10 may include a positive pin and a negative pin, wherein the negative pin may also be referred to as a ground pin. For example, the positive pin of the power board 10 is marked as OUT1-KL30, and the negative pin of the power board 10 is marked as GND1-KL31.

[0072] The switch module K in the test board 20 is connected between the first pin a and the second pin b and the power board 10. For example, when the host computer 30 controls the switch module K to be turned on, the power board 10 can be connected to at least one of the first pin a and the second pin b. The first pin a and the second pin b are connected to the object under test 40. In this way, when the host computer 30 controls the switch module K to be turned on, the power board 10 can be connected to the object under test, and the positive voltage or negative voltage (or ground voltage) on the power board 10 can be transmitted to the object under test 40, so that the object under test can be tested for a short power fault test or a short ground fault test. When the host computer 30 controls the switch module K to be disconnected, the first pin a and the second pin b can be in an open circuit state (also called a disconnected circuit state), so that the two signal pins of the object under test 40 connected to the first pin a and the second pin b are also in an open circuit state, so that the object under test can be tested for an open circuit fault test.

[0073] Exemplarily, the host computer 30 can communicate with the test board in a wired or wireless manner. For example, the host computer 30 can run CANoe software, and then control the state of the switch module in the test board 20 through the CAPL script of the CANoe software.

[0074] According to the test device provided in the embodiment of the present application, the test board is connected between the power board and the object under test. The test board includes a switch module. The host computer is used to control the state of the switch module. In this way, there is no need to manually connect the wiring harness to perform a fault injection test. Instead, the host computer automatically controls the state of the switch module in the test board to achieve automatic fault injection testing, which is beneficial to improving test efficiency.

[0075] Exemplarily, in the hardware-in-the-loop test system, VT System includes a variety of boards. The boards in the test device can be based on the boards in the VT System. For example, the power board 10 can include a VT7001 power board, the test board 20 can include a VT2820 board and a VT2004 board, and the object under test 40 can include a domain controller. By optimizing the connection mode of the output harness of each channel of the board in the VT System, for example, the first pin and the second pin of each board in the VT2820 board and the VT2004 board in the VT System are connected in series with the positive and negative of the output channel of the VT7001 power board, respectively, it is possible to realize the short-to-ground, short-to-power, and open-circuit fault injection control of the domain controller through the host computer script. In this way, there is no need to develop additional test boards, but to use existing boards, and by optimizing the connection mode, while realizing automatic fault injection testing, it can also save costs.

[0076] Figure 2 FIG. 1 is a schematic diagram of a test device according to another embodiment of the present invention. Figure 2 As shown, the test device provided in the embodiment of the present application may further include a connector 50. The test board 20 is connected to the power board 10 via the connector 50; the connector 50 is a pluggable connector.

[0077] For example, the test board 20 is pluggably connected to the connector 50 , and the power board 10 is pluggably connected to the connector 50 .

[0078] In the embodiment of the present application, a pluggable connector is provided, so that it is convenient to use different test boards for testing, and when the test board fails, the test board can be easily unplugged for repair.

[0079] Exemplarily, the switch module K of the test board 20 is connected to the power board 10 via a connector 50. The connector 50 may include a positive connection point P1 and a negative connection point P2, the positive connection point P1 is connected to the positive pin of the power board 10, and the negative connection point P2 is connected to the negative pin of the power board 10. In addition, the positive connection point P1 and the negative connection point P2 may be connected to different ends of the switch module K, so that different voltages can be input through the switch module K.

[0080] Figure 3 FIG. 1 is a schematic diagram of a test device according to another embodiment of the present application. Figure 3 As shown, the test device may include multiple test boards, which can be used to connect multiple objects to be tested. For example, the test board includes at least a first test board 21 and a second test board 22, the first test board 21 is used to connect the first object to be tested 41, the second test board 22 is used to connect the second object to be tested 42, and the first test board 21 and the second test board 22 are both connected to the power board 10.

[0081] Exemplarily, the first test board 21 and the second test board 22 may be connected to the power board 10 via the same connector 50 .

[0082] The structures of the first test board 21 and the second test board 22 may be the same or different.

[0083] For example, Figure 3 Taking the difference in structure between the first test board 21 and the second test board 22 as an example, the wiring harnesses connected to the switch module K in the first test board 21 are marked as wiring harness a and wiring harness b, respectively, and the wiring harnesses connected to the switch module K in the second test board 22 are marked as wiring harness 1a and wiring harness 2a, and wiring harness 1b and wiring harness 2b, respectively. Among them, wiring harness a, wiring harness 1a, and wiring harness 1b can be connected to the positive connection point P1 of the connector 50, and wiring harness b, wiring harness 2a, and wiring harness 2b can be connected to the negative connection point P2 of the connector 50.

[0084] In the embodiment of the present application, the first test board 21 and the second test board 22 are used to connect different objects under test, so that fault injection tests can be performed on multiple objects under test at the same time. In addition, the first test board 21 and the second test board 22 share the power board 10, which is conducive to simplifying the structure.

[0085] Figure 4 FIG. 1 is a schematic diagram of a test device according to another embodiment of the present application. Figure 4 As shown, the switch module K includes a first switch group, and the first switch group includes a first switch K1, a second switch K2 and a third switch K3. The first switch K1 is connected between the positive pin of the power board 10 and the first pin a of the test board 20; the second switch K2 is connected between the negative pin of the power board 10 and the first pin a of the test board 20; the third switch K3 is connected between the first pin a and the second pin b of the test board 20. The first pin a and the second pin b of the test board 20 are respectively connected to two signal pins of the object under test 40.

[0086] The first pin a of the test board 20 may be referred to as a positive pin, and the second pin b of the test board 20 may be referred to as a negative pin.

[0087] In the embodiment of the present application, the first switch K1 is connected to the positive pin of the power board 10, and the host computer can control the short power fault injection test by controlling the state of the first switch K1; the second switch K2 is connected to the negative pin of the power board 10, and the host computer can control the short ground fault injection test by controlling the state of the second switch K2; the third switch K3 is connected between the first pin a and the second pin b of the test board 20, and the host computer can control the open circuit fault injection test by controlling the state of the third switch K3.

[0088] It should be noted that, when the test device includes multiple test boards, the switch module of any test board may include at least a first switch component (ie, a first switch K1, a second switch K2, and a third switch K3). Some test boards may also include other switch components.

[0089] For example, the switch module of the first test board 21 includes a first switch component, and the first test board 21 can be a VT2820 board. The switch module of the second test board 22 includes not only the first switch component, but also the second switch component (i.e., the fourth switch K4, the fifth switch K5, and the sixth switch K6), and the second test board 22 can be a VT2004 board.

[0090] The structure of the second test board 22 is exemplarily introduced below.

[0091] In some embodiments, Figure 4As shown, the second test board also includes an excitation circuit Vs, which can also be called a voltage stimulation circuit. The excitation circuit Vs can be used to generate various signal excitations. The first end of the excitation circuit Vs is connected to the first pin a of the second test board 22, and the second end of the excitation circuit Vs is connected to the second pin b of the second test board 22.

[0092] The switch module K in the second test board 22 includes a first switch group and a second switch group.

[0093] The first switch group includes a first switch K1, a second switch K2 and a third switch K3, and the second switch group includes a fourth switch K4, a fifth switch K5 and a sixth switch K6.

[0094] In the second test board 22: the first switch K1 is connected between the positive pin of the power board 10 and the first pin a of the second test board 22; the second switch K2 is connected between the negative pin of the power board 10 and the first pin A of the second test board 22; the third switch K3 is connected between the first pin a and the second pin b of the second test board 22.

[0095] In the second test board 22: the fourth switch K4 is connected between the positive pin of the power board 10 and the second pin b of the second test board 22; the fifth switch K5 is connected between the negative pole of the power board 10 and the second pin b of the second test board 22; the sixth switch K6 is connected between the first end of the excitation circuit Vs and the first pin a of the second test board 22.

[0096] In the embodiment of the present application, the second test board includes two switch groups, and the host computer can realize automatic fault injection testing on the second object under test by controlling the states of the two switch groups.

[0097] The following takes the first test board 21 as an example to introduce the control of each switch state by the host computer in the case of fault injection test and normal working state. It should be noted that the following examples are not used to limit the present application.

[0098] For example, when the first test board 21 is used to simulate the high voltage interlock (HVIL) signal in the battery management unit (BMU), two signal pins of the domain controller of the HVIL on the BMU are respectively connected to the first pin a and the second pin b of the first test board 21.

[0099] In some embodiments, please refer to Figure 4In the case of an open circuit fault test, the host computer 30 controls the first switch K1, the second switch K2, and the third switch K3 in the first test board 21 to be disconnected. Since the first switch K1, the second switch K2, and the third switch K3 are all disconnected, the two signal pins of the first test object 41 are also disconnected, thereby implementing an open circuit fault injection test on the first test object 41.

[0100] In some embodiments, please refer to Figure 4 In the case of a short power fault test, the host computer 30 controls the first switch K1 in the first test board 21 to be turned on, the second switch K2 to be turned off, and the third switch K3 to be turned on. The first switch K1 is connected to the positive pin of the power board 10, so that the power supply voltage of the power board 10 is transmitted to the first pin a of the first test board 21 through the first switch K1, and is transmitted to the second pin b of the first test board 21 through the third switch K3, and then transmitted to the first test object 41 through the first pin a and the second pin b, thereby realizing a short power fault injection test on the first test object 41.

[0101] In some embodiments, please refer to Figure 4 In the case of a short-to-ground fault test, the host computer 30 controls the first switch K1 in the first test board 21 to be disconnected, the second switch K2 to be turned on, and the third switch K3 to be turned on. The second switch K2 is connected to the negative pin of the power board 10, so that the low voltage (also called ground voltage) of the power board 10 is transmitted to the first pin a of the first test board 21 through the second switch K2, and is transmitted to the second pin b of the first test board 21 through the third switch K3, and then transmitted to the first test object 41 through the first pin a and the second pin b, thereby realizing a short-to-ground fault injection test on the first test object 41.

[0102] In some embodiments, please refer to Figure 4 In the normal working state, the host computer 30 controls the first switch K1 in the first test board 21 to be turned off, the second switch K2 to be turned off, and the third switch K3 to be turned on. In this way, the voltage of the power board 10 will not be transmitted to the first pin a and the second pin b of the first test board 21, so as not to affect the normal working of the first tested object 41.

[0103] The above examples describe the control of the first switch to the third switch state in the first test board 21 by the host computer 30 under various working conditions. Similarly, the control of the first switch to the third switch state in the second test board 22 by the host computer 30 under various working conditions can be as described in the above embodiments.

[0104] The second test board 22 includes not only the first to third switches, but also the fourth to sixth switches. Figure 4As shown, the connection position of the switch in the second test board 22 is that the third switch K3 is connected to the first pin a of the second test board 22 through the sixth switch K6. In this case, the state of the sixth switch K6 will also affect whether the first pin a of the second test board 22 can be connected to the power board 10, and the state of the sixth switch K6 will also affect whether the first pin a and the second pin b of the second test board 22 can be connected. Exemplarily, in the case of open circuit fault test, short power fault test, short ground fault test and normal working state, the host computer 30 can control the sixth switch K6 to be turned on.

[0105] During the fault injection test using the second test board 22, at least one of the first combination (the first switch, the second switch, and the third switch) and the second combination (the fourth switch, the fifth switch, and the third switch) can be selected to perform the fault injection test, and except for the sixth switch (the sixth switch is turned on during the fault injection test), the switches that are not selected can be in an open state during the fault test. For example, during the fault test, the first switch, the second switch, and the third switch are selected to perform different fault injection tests, and the fourth switch and the fifth switch that are not selected can be in an open state.

[0106] The following describes the control of the status of each switch by the host computer during different fault injection test processes when the first combination and the second combination are selected respectively.

[0107] First, we introduce the selection of using the first combination to perform fault injection testing.

[0108] Please refer to Figure 4 In the case of an open circuit fault test, the host computer 30 controls the first switch K1, the second switch K2, and the third switch K3 in the second test board 22 to be disconnected. Since the first switch K1, the second switch K2, and the third switch K3 are all disconnected, the two signal pins of the second test object 42 are also disconnected, thereby implementing an open circuit fault injection test on the second test object 42.

[0109] In the case of a short power fault test, the host computer 30 controls the first switch K1 in the second test board 22 to be turned on, the second switch K2 to be turned off, and the third switch K3 to be turned on. The first switch K1 is connected to the positive pin of the power board 10, so that the power supply voltage of the power board 10 is transmitted to the first pin a of the second test board 22 through the first switch K1, and is transmitted to the second pin b of the second test board 22 through the third switch K3, and then transmitted to the second test object 42 through the first pin a and the second pin b, thereby realizing a short power fault injection test on the second test object 42.

[0110] In the case of a short-to-ground fault test, the host computer 30 controls the first switch K1 in the second test board 22 to be turned off, the second switch K2 to be turned on, and the third switch K3 to be turned on. The second switch K2 is connected to the negative pin of the power board 10, so that the low voltage (also called ground voltage) of the power board 10 is transmitted to the first pin a of the second test board 22 through the second switch K2, and is transmitted to the second pin b of the second test board 22 through the third switch K3, and then transmitted to the second object under test 42 through the first pin a and the second pin b, thereby realizing a short-to-ground fault injection test on the second object under test 42.

[0111] Next, the method of selecting the second combination for fault injection testing is introduced.

[0112] Please refer to Figure 4 In the case of an open circuit fault test, the host computer 30 controls the fourth switch K4, the fifth switch K5, and the third switch K3 in the second test board 22 to be disconnected. Since the fourth switch K4, the fifth switch K5, and the third switch K3 are all disconnected, the two signal pins of the second test object 42 are also disconnected, thereby implementing an open circuit fault injection test on the second test object 42.

[0113] In the case of a short power fault test, the host computer 30 controls the fourth switch K4 in the second test board 22 to be turned on, the fifth switch K5 to be turned off, and the third switch K3 to be turned on. The fourth switch K4 is connected to the positive pin of the power board 10, so that the power supply voltage of the power board 10 is transmitted to the second pin b of the second test board 22 through the fourth switch K4, and is transmitted to the first pin a of the second test board 22 through the third switch K3, and then transmitted to the second object under test 42 through the first pin a and the second pin b, thereby realizing a short power fault injection test on the second object under test 42.

[0114] In the case of a short-to-ground fault test, the host computer 30 controls the fourth switch K4 in the second test board 22 to be turned off, the fifth switch K5 to be turned on, and the third switch K3 to be turned on. The fifth switch K5 is connected to the negative pin of the power board 10, so that the low voltage (also called ground voltage) of the power board 10 is transmitted to the second pin b of the second test board 22 through the fifth switch K5, and is transmitted to the first pin a of the second test board 22 through the third switch K3, and then transmitted to the second test object 42 through the first pin a and the second pin b, thereby realizing a short-to-ground fault injection test on the second test object 42.

[0115] It should be noted that, in each fault test process performed by using the second test board 22, the host computer 30 controls the sixth switch K6 to be turned on, and the above examples are not described one by one.

[0116] In some embodiments, please refer to Figure 4 In the normal working state, the host computer 30 controls the first switch K1 in the second test board 22 to be turned off, the second switch K2 to be turned off, the third switch K3 to be turned off, the fourth switch K4 to be turned off, the fifth switch K5 to be turned off, and the sixth switch K6 to be turned on. In this way, the voltage of the power board 10 will not be transmitted to the first pin a and the second pin b of the second test board 22, so as not to affect the normal working of the first measured object 41, and the excitation circuit Vs is respectively connected to the first pin a and the second pin b of the second test board 22, so that the first pin a and the second pin b of the second test board 22 can respectively receive signals from different ports of the excitation circuit Vs.

[0117] Based on the same inventive concept, the present application also provides a test system. The test system includes the test device in any of the above embodiments. It can be understood that the test system has the beneficial effects of the test device provided in the embodiments of the present application. For details, reference can be made to the specific description of the test device in the above embodiments, which will not be repeated in this embodiment.

[0118] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0119] Although the present application has been described with reference to preferred embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present application. In particular, the various technical features mentioned in the various embodiments may be combined in any manner as long as there is no structural conflict. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.

Claims

1. A testing device, characterized in that: include: A power board, used for providing power; A test board, comprising a first pin, a second pin and a switch module, wherein the first pin and the second pin are connected to the power board through the switch module, and the first pin and the second pin are used to connect to a tested object; The host computer is electrically connected to the switch module and is used to control the state of the switch module.

2. The testing device according to claim 1, characterized in that: The testing device also includes a connector; The test board is connected to the power board via the connector; The connector is a pluggable connector.

3. The testing device according to claim 1 or 2, characterized in that: The test board at least includes a first test board and a second test board, the first test board is used to connect to a first object under test, the second test board is used to connect to a second object under test, and both the first test board and the second test board are connected to the power board.

4. The testing device according to claim 1, characterized in that: The switch module includes a first switch group, and the first switch group includes a first switch, a second switch and a third switch; The first switch is connected between the positive pin of the power board and the first pin; The second switch is connected between the negative pin of the power board and the first pin; The third switch is connected between the first pin and the second pin.

5. The testing device according to claim 3, characterized in that: The second test board also includes an excitation circuit, a first end of the excitation circuit is connected to a first pin of the second test board, and a second end of the excitation circuit is connected to a second pin of the second test board; The switch module in the second test board includes a first switch group and a second switch group; The first switch group includes a first switch, a second switch and a third switch; The first switch is connected between the positive pin of the power board and the first pin of the second test board; The second switch is connected between the negative pin of the power board and the first pin of the second test board; The third switch is connected between the first pin and the second pin of the second test board; The second switch group includes a fourth switch, a fifth switch and a sixth switch; The fourth switch is connected between the positive pin of the power board and the second pin of the second test board; The fifth switch is connected between the negative pin of the power board and the second pin of the second test board; The sixth switch is connected between the first end of the excitation circuit and the first pin of the second test board.

6. The testing device according to claim 4 or 5, characterized in that: In the case of an open circuit fault test, the host computer controls the first switch to be opened, the second switch to be opened, and the third switch to be opened.

7. The testing device according to claim 4 or 5, characterized in that: In the case of a short power failure test, the host computer controls the first switch to be turned on, the second switch to be turned off, and the third switch to be turned on.

8. The testing device according to claim 4 or 5, characterized in that: In the case of a short-to-ground fault test, the host computer controls the first switch to be disconnected, the second switch to be turned on, and the third switch to be turned on.

9. The testing device according to claim 4 or 5, characterized in that: Under normal working conditions, the host computer controls the first switch to be disconnected, the second switch to be disconnected, and the third switch to be turned on.

10. The testing device according to claim 5, characterized in that: The third switch in the second test board is connected to the first pin of the second test board through the sixth switch; In the case of an open circuit fault test, a short power fault test, a short ground fault test, or a normal working state, the host computer controls the sixth switch to be turned on.