A test loop abnormality detection system, method and storage medium
By using the discharge control module and the switch module in the test loop anomaly detection system to detect and adjust the test loop, the problem of being unable to monitor and adjust the test loop in the existing technology is solved, and the accuracy and efficiency of electrical testing are improved.
Patent Information
- Application Number
- CN202410929535.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-11
AI Technical Summary
In the prior art, it is impossible to monitor whether the test circuit is abnormal and adjust the test circuit during the electrical test process, which affects the accuracy of the test results.
A test loop anomaly detection system is designed, including a discharge control module, a detection control module and a switch module. It detects whether the output signal of the test loop meets the steady-state test conditions. If it does not, the test loop is disconnected from the component under test. And discharge the relay to restore its normal state.
It achieves timely detection and self-adjustment of the test loop, protects the components under test, reduces the occurrence of test abnormalities, and improves the accuracy of test results.
Smart Images

Figure CN118465663B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of automation, and in particular to a test loop anomaly detection system, method and storage medium. Background Art
[0002] Electrical testing is a crucial part of electronic product quality control. It mainly tests the electrical parameters of electronic products to determine whether they meet specifications and standards. During the electrical testing process, the test conditions need to be applied alternately to the component under test. The test equipment controls the opening and disconnection of the relay through the test program to build different test circuits, so as to measure the electrical parameter results of the component under test after applying the current and voltage that meet the test conditions to the component under test. During the high-voltage and high-current test process, the residual electrical energy inside the relay causes the relay to abnormally attract. After the relay attracts, it cannot be disconnected and becomes sticky, making the test circuit abnormal. Existing test equipment does not have the function of monitoring the abnormal state of the test circuit and adjusting the test circuit to restore it to normal state. In the case of abnormal test circuit, continuing electrical testing will affect the accuracy of the measurement results and cause test abnormalities.
[0003] In summary, in the process of electrical testing in the prior art, there is a technical problem that it is impossible to monitor whether an abnormality occurs in the test circuit and to adjust the test circuit. Summary of the invention
[0004] The embodiments of the present invention provide a test circuit abnormality detection system, method and storage medium, which solve the technical problem in the prior art that it is impossible to monitor whether a test circuit is abnormal and adjust the test circuit during electrical testing.
[0005] In a first aspect, an embodiment of the present invention provides a test loop abnormality detection system, which is applicable to a test module, wherein the test module includes at least one test loop, each test loop includes at least one first relay, a first end of the test loop is connected to a power supply, and a second end of the test loop is connected to a component under test, and the test loop is turned on or off by controlling the first relay to close and open, and further includes:
[0006] A discharge control module, wherein a first end of the discharge control module is connected to the power supply, a second end of the discharge control module is connected to a first end of the test loop, a third end of the discharge control module is connected to an internal discharge loop of the first relay, a fourth end of the discharge control module is grounded, and a control end of the discharge control module is connected to a first end of a detection control module;
[0007] The second end of the detection control module is connected to the second end of the test loop, and the detection control module is used to detect the output signal of the test loop and detect whether the output signal meets the steady-state test condition; the third end and the fourth end of the detection control module are respectively connected to the first control end and the second control end of the switch module, and the detection control module is used to connect the connection path between the first end and the second end of the discharge control module, disconnect the connection path between the third end and the fourth end of the discharge control module, and connect the connection path between the first end and the second end of the switch module when the output signal meets the steady-state test condition; and disconnect the connection path between the first end and the second end of the discharge control module, connect the connection path between the third end and the fourth end of the discharge control module, and disconnect the connection path between the first end and the second end of the switch module when the output signal does not meet the steady-state test condition;
[0008] The first end of the switch module is connected to the second end of the test loop, and the second end of the switch module is connected to the component under test.
[0009] Wherein, the discharge control module includes a second relay and a discharge circuit;
[0010] The second relay includes a normally open port and a normally closed port, and the normally open port and the normally closed port are mutually exclusive ports, a first end of the normally closed port is connected to the power supply, a second end of the normally closed port is connected to the first end of the test loop, the first end of the normally open port is connected to the internal discharge loop of the first relay, and the second end of the normally closed port is connected to the first end of the discharge loop; the control end of the second relay is connected to the first end of the detection control module;
[0011] The second end of the discharge loop is grounded.
[0012] Wherein, the discharge circuit is a floating source discharge circuit.
[0013] Wherein, the output signal includes a current signal or a voltage signal, and the detection control module includes a signal sampling submodule and a control submodule;
[0014] The first end of the signal sampling submodule is connected to the second end of the test loop, the second end of the signal sampling submodule is connected to the first end of the control submodule, and the signal sampling submodule is used to detect the output signal and transmit the output signal to the control submodule;
[0015] The second end of the control submodule is connected to the control end of the discharge control module, and the third end and the fourth end of the control submodule are connected to the first control end and the second control end of the switch module respectively; the control submodule is used to determine whether the value of the output signal is within a preset range, and if it is within the preset range, connect the connection path between the first end and the second end of the discharge control module, disconnect the connection path between the third end and the fourth end of the discharge control module, and connect the connection path between the first end and the second end of the switch module; and if the output signal is not within the preset range, disconnect the connection path between the first end and the second end of the discharge control module, connect the connection path between the third end and the fourth end of the discharge control module, and disconnect the connection path between the first end and the second end of the switch module.
[0016] The control submodule is specifically used to determine whether the value of the output signal is less than a first value threshold, and if it is less than the first value threshold, send a first connection signal to the first control end of the switch module; and to determine whether the value of the output signal is greater than a second value threshold, and if it is greater than the second value threshold, send a second connection signal to the second control end of the switch module;
[0017] The switch module is specifically used to connect the connection path between the first end and the second end of the switch module when the first connection signal and the second connection signal are received, and to disconnect the connection path between the first end and the second end of the switch module when the first connection signal and the second connection signal are not received.
[0018] Wherein, the switch module includes a first NMOS tube and a second NMOS tube, the source of the first NMOS tube is connected to the second end of the test loop, the drain of the first NMOS tube is connected to the source of the second NMOS tube, the gate of the first NMOS tube is connected to the third end of the detection control module, the drain of the second NMOS tube is connected to the measured element, and the gate of the second NMOS tube is connected to the fourth end of the detection control module.
[0019] It also includes an alarm module, the first end of the alarm module is connected to the fifth end of the detection control module, and the detection control module is also used to control the alarm module to issue an alarm when the number of consecutive determinations that the output signal does not meet the steady-state test condition reaches a preset number.
[0020] Wherein, the alarm module is an audible and visual alarm module.
[0021] In a second aspect, an embodiment of the present invention provides a test loop anomaly detection method, which is applicable to a test loop anomaly detection system according to the first aspect, and includes:
[0022] The detection control module detects the output signal of the test loop and detects whether the output signal meets the steady-state test condition;
[0023] When the output signal meets the steady-state test condition, connecting the connection path between the first end and the second end of the discharge control module, disconnecting the connection path between the third end and the fourth end of the discharge control module, and connecting the connection path between the first end and the second end of the switch module;
[0024] When the output signal does not meet the steady-state test condition, the connection path between the first end and the second end of the discharge control module is disconnected, the connection path between the third end and the fourth end of the discharge control module is connected, and the connection path between the first end and the second end of the switch module is disconnected.
[0025] In a third aspect, an embodiment of the present invention provides a storage medium storing computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute a test loop anomaly detection method as described in the second aspect.
[0026] The embodiment of the present invention discloses a test loop anomaly detection system, method and storage medium. The test loop anomaly detection system of the embodiment of the present invention can monitor whether the test loop is abnormal according to the output signal of the test loop. When the test loop is detected to be abnormal, the connection between the test loop and the component under test is disconnected by controlling the discharge control module and the switch module, and the first relay of the test loop is discharged at the same time, so that the first relay can be restored to a normal state in the event of abnormal attraction. The embodiment of the present invention can detect the abnormality of the test loop in time and perform self-adjustment, can protect the component under test in time, can reduce the occurrence of test abnormalities to a certain extent, and solves the technical problem in the prior art that it is impossible to monitor whether the test loop is abnormal and adjust the test loop during electrical testing. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A schematic diagram of the structure of a test loop anomaly detection system provided by an embodiment of the present invention.
[0028] Figure 2 A flow chart of a test loop abnormality detection method is also provided for an embodiment of the present invention.
[0029] Figure 3 A schematic diagram of the structure of another test loop anomaly detection system provided by an embodiment of the present invention.
[0030] Figure 4 A schematic diagram of the structure of another test loop anomaly detection system provided by an embodiment of the present invention.
[0031] Figure 5 A schematic diagram of the structure of another test loop anomaly detection system provided by an embodiment of the present invention.
[0032] Figure 6 A schematic diagram of the principle of performing test loop anomaly detection provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] The following description and accompanying drawings fully illustrate the specific embodiments of the present application so that those skilled in the art can practice them. The examples represent possible variations only. Unless explicitly required, separate components and functions are optional, and the order of operation can vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. The scope of the embodiments of the present application includes the entire scope of the claims, and all available equivalents of the claims. In this article, each embodiment may be represented individually or generally by the term "invention", which is only for convenience, and if more than one invention is disclosed in fact, it is not intended to automatically limit the scope of the application to any single invention or inventive concept. In this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, without requiring or implying any actual relationship or order between these entities or operations. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also other elements that are not explicitly listed. The various embodiments are described in a progressive manner herein, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. As for the structures, products, etc. disclosed in the embodiments, since they correspond to the parts disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0034] At present, during the electrical test of power semiconductor discrete device chips, the test conditions need to be applied alternately to the power semiconductor discrete device chips through the test circuit. The electrical test equipment controls the closing and disconnection of the relay in the test circuit through the test program to apply the current and voltage corresponding to the test conditions to the power semiconductor discrete device chip, thereby measuring the electrical parameter results of the power semiconductor discrete device chip. However, during the high-voltage and high-current test process, residual electrical energy may remain inside the relay, causing the relay to be abnormally attracted, and after being attracted, it cannot be disconnected and sticking occurs. Different parameters of power semiconductor discrete device chips require the opening and closing of multiple relays to construct different test loops. Therefore, multiple groups of relays are frequently opened and closed during the test process. In the existing test process, the abnormal state of the relay opening or closing will cause the test loop to be abnormal. However, the existing electrical test equipment does not have the function of monitoring the abnormality of the test loop and adjusting the loop to restore the normal state. Continuing the test will further affect the accuracy of the test results, causing test abnormalities, resulting in the need for manpower verification and retesting after the test is completed, which is inefficient and increases labor costs.
[0035] Based on this, in order to solve the above technical problems, an embodiment of the present invention provides a test loop abnormality detection system. The test loop abnormality detection system provided by the embodiment of the present invention is applicable to a test module, and the test module is used to implement electrical testing. Specifically, the test module includes at least one test loop, and each test loop includes at least one first relay. The first end of the test loop is connected to a power supply, and the power supply is used to power the test loop. The second end of the test loop is connected to the component under test, and the test loop can be turned on or off by controlling the closing or opening of the first relay in each test loop. When the test loop is turned on, a voltage and current that meet the test conditions can be applied to the component under test, and when the test loop is turned off, a voltage and current that meet the test conditions cannot be applied to the component under test. In addition, the specific structure of the test loop in this embodiment can refer to the prior art, and will not be repeated in this embodiment.
[0036] like Figure 1 As shown, Figure 1 This is a schematic diagram of the structure of a test loop anomaly detection system provided in this embodiment. The test loop anomaly detection system provided in this embodiment of the present invention includes:
[0037] The discharge control module 10 has a first end connected to the power supply 70, a second end connected to the first end of the test circuit 40, a third end connected to the internal discharge circuit of the first relay 50, a fourth end connected to the ground, and a control end of the discharge control module 10 connected to the first end of the detection control module 20.
[0038] The test loop abnormality detection system includes a discharge control module 10, wherein the discharge control module 10 is used to control whether to discharge the first relay 50 in the test loop 40. Specifically, in the present embodiment, the first end of the discharge control module 10 is connected to the power supply 70, and the second end of the discharge control module 10 is connected to the first end of the test loop 40. When an electrical test is performed, the discharge control module 10 connects the connection path between its first end and the second end, and the power supply 70 supplies power to the test loop 40 to enable the test loop 40 to operate normally. When it is necessary to discharge the first relay 50 in the test loop 40, the discharge control module 10 can disconnect the connection path between its first end and the second end, so that the power supply 70 cannot supply power to the test loop 40 to suspend the test. In addition, the third end of the discharge control module 10 is connected to the internal discharge loop of the first relay 50, and the fourth end of the discharge control module 10 is grounded. When an electrical test is performed, the discharge control module 10 disconnects the connection path between its third end and the fourth end. When it is necessary to discharge the first relay 50 in the test loop 40, the discharge control module 10 can connect the connection path between the third end and the fourth end thereof, so that the internal discharge loop of the relay is grounded and discharged. The internal discharge loop of the relay can adopt the existing circuit structure, which is specifically defined in this embodiment. In addition, the control end of the discharge control module 10 is connected to the first end of the detection control module 20, and the detection control module 20 can control the on-off of the internal connection path of the discharge control module 10.
[0039] The second end of the detection control module 20 is connected to the second end of the test loop 40, and the detection control module 20 is used to detect the output signal of the test loop 40 and detect whether the output signal meets the steady-state test condition; the third end and the fourth end of the detection control module 20 are respectively connected to the first control end and the second control end of the switch module 30, and the detection control module 20 is used to connect the connection path between the first end and the second end of the discharge control module 10, disconnect the connection path between the third end and the fourth end of the discharge control module 10, and connect the connection path between the first end and the second end of the switch module 30 when the output signal meets the steady-state test condition; and disconnect the connection path between the first end and the second end of the discharge control module 10, connect the connection path between the third end and the fourth end of the discharge control module 10, and disconnect the connection path between the first end and the second end of the switch module 30 when the output signal does not meet the steady-state test condition.
[0040] The detection control module 20 of this embodiment is used to detect whether the test loop 40 is abnormal, and when the test loop 40 is detected to be abnormal, the discharge control module 10 and the switch module 30 are controlled. Specifically, the second end of the detection control module 20 is connected to the second end of the test loop 40, and the detection control module 20 is used to detect the output signal of the test loop 40, and judge whether the test loop 40 meets the steady-state test condition according to the output signal. Exemplarily, the output signal of the test loop 40 includes a current signal and a voltage signal. The detection control module 20 determines whether the output signal meets the steady-state test condition by judging whether the value of the current signal and the value of the voltage signal are both within a preset range. If the output signal does not meet the steady-state test condition, it is determined that the test loop 40 is abnormal. If the output signal meets the steady-state test condition, it is determined that the test loop 40 is normal.
[0041] When the output signal meets the steady-state test condition, the detection control module 20 is used to connect the connection path between the first end and the second end of the discharge control module 10, disconnect the connection path between the third end and the fourth end of the discharge control module 10, and connect the connection path between the first end and the second end of the switch module 30, so that the voltage and current output by the test loop 40 can be applied to the device under test 60 for electrical testing. When the output signal does not meet the steady-state test condition, the first relay 50 may be abnormally attracted, and after attraction, it cannot be disconnected and sticking occurs, resulting in abnormal output signal of the test loop 40. Then the detection control module 20 needs to disconnect the connection path between the first end and the second end of the discharge control module 10, connect the connection path between the third end and the fourth end of the discharge control module 10, and disconnect the connection path between the first end and the second end of the switch module 30, so as to interrupt the test loop 40 from applying the test condition to the device under test 60, and discharge the first relay 50 at the same time, so that the first relay 50 returns to a normal state. After a preset time interval, the detection control module 20 can reconnect the connection path between the first end and the second end of the discharge control module 10, disconnect the connection path between the third end and the fourth end of the discharge control module 10, and connect the connection path between the first end and the second end of the switch module 30, so as to re-perform an electrical test on the tested component 60. If it is subsequently re-detected that the output signal of the first relay 50 does not meet the steady-state test condition for multiple times, the detection control module 20 can terminate the electrical test and issue an early warning.
[0042] A first end of the switch module 30 is connected to a second end of the test loop 40 , and a second end of the switch module 30 is connected to the device under test 60 .
[0043] In this embodiment, the switch module 30 is used to disconnect or connect the connection path between the test loop 40 and the component under test 60 under the control of the detection control module 20. The component under test 60 in this embodiment can be a power semiconductor discrete device chip.
[0044] like Figure 2 As shown, Figure 2 A flow chart of a test loop anomaly detection method is also provided for an embodiment of the present invention. The test loop anomaly detection method provided by the embodiment of the present invention is applicable to the above-mentioned test loop anomaly detection system. The test loop anomaly detection method includes:
[0045] Step 101: The detection control module detects the output signal of the test loop, and detects whether the output signal meets the steady-state test condition.
[0046] Step 102: When the output signal meets the steady-state test condition, the connection path between the first end and the second end of the discharge control module is connected, the connection path between the third end and the fourth end of the discharge control module is disconnected, and the connection path between the first end and the second end of the switch module is connected.
[0047] Step 103: when the output signal does not meet the steady-state test condition, disconnect the connection path between the first end and the second end of the discharge control module, connect the connection path between the third end and the fourth end of the discharge control module, and disconnect the connection path between the first end and the second end of the switch module.
[0048] As mentioned above, the embodiment of the present invention provides a test loop abnormality detection system. The test loop abnormality detection system of the embodiment of the present invention can monitor whether the test loop is abnormal according to the output signal of the test loop. When the test loop is detected to be abnormal, the connection between the test loop and the component under test is disconnected by controlling the discharge control module and the switch module, and the first relay of the test loop is discharged at the same time, so that the first relay can be restored to a normal state in the event of abnormal attraction. The embodiment of the present invention can detect the abnormality of the test loop in time and perform self-adjustment, can protect the component under test in time, and can reduce the occurrence of test abnormalities to a certain extent, solving the technical problem that it is impossible to monitor whether the test loop is abnormal and adjust the test loop during electrical testing in the prior art.
[0049] On the basis of the above embodiment, the discharge control module 10 includes a second relay and a discharge circuit;
[0050] The second relay includes a normally open port km' and a normally closed port km, and the normally open port km' and the normally closed port km are mutually exclusive ports, a first end of the normally closed port km is connected to a power source 70, a second end of the normally closed port km is connected to a first end of a test loop 40, a first end of the normally open port km' is connected to an internal discharge loop of the first relay 50, and a second end of the normally closed port km is connected to a first end of the discharge loop; a control end of the second relay is connected to a first end of a detection control module 20;
[0051] The second end of the discharge loop is grounded.
[0052] In this embodiment, Figure 3 As shown, Figure 3 A structural schematic diagram of another test loop abnormality detection system provided by an embodiment of the present invention, wherein the discharge control module 10 includes a second relay and a discharge loop, wherein the second relay includes a normally open port km' and a normally closed port km, and the normally open port km' and the normally closed port km are mutually exclusive ports, that is, when the normally open port km' is opened, the normally closed port km is closed, and when the normally open port km' is closed, the normally closed port km is opened, and in the default state, the normally open port km' is opened and the normally closed port km is closed. The first end of the normally closed port km is connected to the power supply 70, and the second end of the normally closed port km is connected to the first end of the test loop 40. When the normally closed port km is closed, the power supply 70 can supply power to the test loop 40, and when the normally closed port km is opened, the power supply 70 cannot supply power to the test loop 40.
[0053] The first end of the normally open port km' is connected to the internal discharge circuit of the first relay 50, and the second end of the normally open port km' is connected to the first end of the discharge circuit. When the normally open port km' is opened, the internal discharge circuit of the first relay 50 cannot discharge, and after the normally open port km' is closed, the internal discharge circuit of the first relay 50 is connected to the discharge circuit, thereby grounding the discharge. In this embodiment, the control end of the second relay is connected to the first end of the detection control module 20, so that the detection control module 20 can control the second relay.
[0054] Specifically, when the detection control module 20 detects that the output signal meets the steady-state test condition, it controls the normally closed port km of the second relay to be closed and the normally open port km' to be opened, so that the test loop 40 works normally. When the detection control module 20 monitors that the output signal does not meet the steady-state test condition, it controls the normally closed port km of the second relay to be opened and the normally open port km' to be closed, so that the test loop 40 cannot work and the internal discharge loop of the first relay 50 is discharged to the ground. In one embodiment, the discharge loop is a floating source test loop 40, wherein the floating source discharge loop is a special circuit configuration, which is mainly used in the fields of integrated circuit (IC) testing, and its characteristic is that the input and output of the voltage source are fully floating with the test system ground, that is, the current flows out from the Force_High of the floating source and flows into the Force_Low of the floating source, and does not flow into the system ground of the test system.
[0055] On the basis of the above embodiment, the output signal includes a current signal or a voltage signal, and the detection control module 20 includes a signal sampling submodule 21 and a control submodule 22 .
[0056] The first end of the signal sampling submodule 21 is connected to the second end of the test loop 40 , and the second end of the signal sampling submodule 21 is connected to the first end of the control submodule 22 . The signal sampling submodule 21 is used to detect the output signal and transmit the output signal to the control submodule 22 .
[0057] In one implementation, the detection control module 20 includes a signal sampling submodule 21, wherein the signal sampling submodule 21 is used to detect the current signal or the voltage signal output by the test loop 40, and transmit the current signal or the voltage signal to the control submodule 22. In addition, the specific circuit structure of the signal sampling submodule 21 can adopt the current sampling circuit or the voltage sampling circuit in the prior art, and is not specifically limited in this embodiment.
[0058] The second end of the control submodule 22 is connected to the control end of the discharge control module 10, and the third end and the fourth end of the control submodule 22 are respectively connected to the first control end and the second control end of the switch module 30; the control submodule 22 is used to determine whether the value of the output signal is within a preset range, and if it is within the preset range, connect the connection path between the first end and the second end of the discharge control module 10, disconnect the connection path between the third end and the fourth end of the discharge control module 10, and connect the connection path between the first end and the second end of the switch module 30; and if the output signal is not within the preset range, disconnect the connection path between the first end and the second end of the discharge control module 10, connect the connection path between the third end and the fourth end of the discharge control module 10, and disconnect the connection path between the first end and the second end of the switch module 30.
[0059] The control submodule 22 is the control center in the detection control module 20. The control submodule 22 is used to control the discharge control module 10 and the switch module 30. In this embodiment, the control submodule 22 can be an MCU, a CPU or a single-chip microcomputer, etc., which can be set according to actual needs and is not specifically limited in this embodiment. In this embodiment, the steady-state test condition satisfied by the output signal is that the value of the output signal is within a preset range. When the value of the output signal is within the preset range, the output signal satisfies the steady-state test condition, and the control submodule 22 connects the connection path between the first end and the second end of the discharge control module 10, disconnects the connection path between the third end and the fourth end of the discharge control module 10, and connects the connection path between the first end and the second end of the switch module 30. When the output signal is not within the preset range, the output signal does not meet the steady-state test condition, and the control submodule 22 disconnects the connection path between the first end and the second end of the discharge control module 10, connects the connection path between the third end and the fourth end of the discharge control module 10, and disconnects the connection path between the first end and the second end of the switch module 30.
[0060] On the basis of the above embodiment, the control submodule 22 is specifically used to determine whether the value of the output signal is less than the first value threshold, and if it is less than the first value threshold, send a first connection signal to the first control end of the switch module 30; and to determine whether the value of the output signal is greater than the second value threshold, and if it is greater than the second value threshold, send a second connection signal to the second control end of the switch module 30;
[0061] The switch module 30 is specifically used to connect the connection path between the first end and the second end of the switch module 30 when the first connection signal and the second connection signal are received, and to disconnect the connection path between the first end and the second end of the switch module 30 when the first connection signal and the second connection signal are not received.
[0062] Specifically, in this embodiment, when the control submodule 22 controls the switch module 30, it is necessary to simultaneously send a control signal to the first control terminal and the second control terminal of the switch module 30. Specifically, the control submodule 22 is specifically used to determine whether the value of the output signal is less than the first numerical threshold, and when it is less than the first numerical threshold, send a first connection signal to the first control terminal of the switch module 30; and to determine whether the value of the output signal is greater than the second numerical threshold, and when it is greater than the second numerical threshold, send a second connection signal to the second control terminal of the switch module 30, that is, when the value of the output signal is between the second numerical threshold and the first numerical threshold, it is determined that the output signal meets the steady-state test condition at this time.
[0063] The control submodule 22 needs to send the first connection signal and the second connection signal to the first control end and the second control end of the switch module 30, respectively. When the switch module 30 receives the first connection signal and the second connection signal at the first control end and the second control end, respectively, the first end and the second end of itself are connected. When the value of the output signal is greater than or equal to the first numerical threshold, the control submodule 22 does not send the first connection signal to the first control end of the switch module 30. When the value of the output signal is less than or equal to the second numerical threshold, the control submodule 22 does not send the second connection signal to the second control end of the switch module 30. When the first control end and the second control end of the switch module 30 do not receive the first connection signal and the second connection signal, respectively, the switch module 30 disconnects the connection path between its own first end and the second end. That is, as long as the switch module 30 does not receive any one or all of the first connection signal and the second connection signal, the switch module 30 disconnects. Exemplarily, as Figure 4 As shown, Figure 4 A structural diagram of another test loop abnormality detection system provided by an embodiment of the present invention. The control submodule 22 includes a first comparator and a second comparator. The control submodule 22 can input a first numerical threshold and a second numerical threshold to the positive input end of the first comparator and the reverse input end of the second comparator respectively, and input the numerical value of the output signal to the reverse input end of the first comparator and the positive input end of the second comparator respectively. When the first comparator and the second comparator output a high-level signal, the switch module 30 connects its first end and the second end. When the first comparator and / or the second comparator do not output a high-level signal, the switch module 30 disconnects the connection path between its first end and the second end.
[0064] On the basis of the above embodiment, the switch module 30 includes a first NMOS tube K1 and a second NMOS tube K2, the source of the first NMOS tube K1 is connected to the second end of the test loop 40, the drain of the first NMOS tube K1 is connected to the source of the second NMOS tube K2, the gate of the first NMOS tube K1 is connected to the third end of the detection control module 20, the drain of the second NMOS tube K2 is connected to the measured element 60, and the gate of the second NMOS tube K2 is connected to the fourth end of the detection control module 20.
[0065] In one embodiment, if Figure 5As shown, the switch module 30 includes a first NMOS tube K1 and a second NMOS tube K2, wherein the source of the first NMOS tube K1 is connected to the second end of the test loop 40, the drain of the first NMOS tube K1 is connected to the source of the second NMOS tube K2, the gate of the first NMOS tube K1 is connected to the third end of the detection control module 20, the drain of the second NMOS tube K2 is connected to the measured element 60, and the gate of the second NMOS tube K2 is connected to the fourth end of the detection control module 20. In this embodiment, the control submodule 22 can control the conduction and disconnection of the first NMOS tube K1 and the second NMOS tube K2 by sending a level signal to the gate of the first NMOS tube K1 and the gate of the second NMOS tube K2, thereby controlling the conduction and disconnection of the switch module 30.
[0066] Based on the above embodiment, an alarm module is also included, and the first end of the alarm module is connected to the fifth end of the detection control module 20. The detection control module 20 is also used to control the alarm module to issue an alarm when the number of consecutive determinations that the output signal does not meet the steady-state test conditions reaches a preset number of times.
[0067] In one embodiment, the test loop abnormality detection system also includes an alarm module, and the alarm module is connected to the fifth end of the detection control module 20, and the alarm module can be an audible and visual alarm module. The detection control module 20 is also used to control the alarm module to sound an alarm when the number of consecutive determinations that the output signal does not meet the steady-state test conditions reaches a preset number of times. The preset number of times can be set according to actual needs, for example, the preset number of times can be set to three times. When the detection control module 20 is connected three times to determine that the output signal does not meet the steady-state test conditions, the alarm module is controlled to sound an alarm to alert the staff. The specific process is as follows. Figure 6 As shown, Figure 6 A schematic diagram of the principle of performing test loop anomaly detection provided by an embodiment of the present invention.
[0068] The embodiment of the present invention provides a test loop abnormality detection system, which can monitor whether the test loop is abnormal according to the output signal of the test loop. When the test loop is detected to be abnormal, the connection between the test loop and the component under test is disconnected by controlling the discharge control module and the switch module, and the first relay of the test loop is discharged at the same time, so that the first relay can be restored to a normal state in the event of abnormal attraction. The embodiment of the present invention can detect the abnormality of the test loop in time and perform self-adjustment, can protect the component under test in time, and can reduce the occurrence of test abnormalities to a certain extent, solving the technical problem in the prior art that it is impossible to monitor whether the test loop is abnormal and adjust the test loop during electrical testing.
[0069] An embodiment of the present invention further provides a storage medium containing computer executable instructions, which are used to execute a test loop abnormality detection method when executed by a computer processor. The method includes the following steps:
[0070] The detection control module detects the output signal of the test loop and detects whether the output signal meets the steady-state test condition;
[0071] When the output signal meets the steady-state test condition, the connection path between the first end and the second end of the discharge control module is connected, the connection path between the third end and the fourth end of the discharge control module is disconnected, and the connection path between the first end and the second end of the switch module is connected;
[0072] When the output signal does not meet the steady-state test condition, the connection path between the first end and the second end of the discharge control module is disconnected, the connection path between the third end and the fourth end of the discharge control module is connected, and the connection path between the first end and the second end of the switch module is disconnected.
[0073] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims
1. A test loop abnormality detection system, applicable to a test module, wherein the test module comprises at least one test loop, each test loop comprises at least one first relay, a first end of the test loop is connected to a power supply, a second end of the test loop is connected to a component under test, and the test loop is turned on or off by controlling the first relay to close or open, characterized in that: Also includes: A discharge control module, wherein a first end of the discharge control module is connected to the power supply, a second end of the discharge control module is connected to a first end of the test loop, a third end of the discharge control module is connected to an internal discharge loop of the first relay, a fourth end of the discharge control module is grounded, and a control end of the discharge control module is connected to a first end of a detection control module; The second end of the detection control module is connected to the second end of the test loop, and the detection control module is used to detect the output signal of the test loop and detect whether the output signal meets the steady-state test condition; the third end and the fourth end of the detection control module are respectively connected to the first control end and the second control end of the switch module, and the detection control module is used to connect the connection path between the first end and the second end of the discharge control module, disconnect the connection path between the third end and the fourth end of the discharge control module, and connect the connection path between the first end and the second end of the switch module when the output signal meets the steady-state test condition; and disconnect the connection path between the first end and the second end of the discharge control module, connect the connection path between the third end and the fourth end of the discharge control module, and disconnect the connection path between the first end and the second end of the switch module when the output signal does not meet the steady-state test condition; The first end of the switch module is connected to the second end of the test loop, and the second end of the switch module is connected to the element under test; Wherein, the discharge control module includes a second relay and a discharge circuit; The second relay includes a normally open port and a normally closed port, and the normally open port and the normally closed port are mutually exclusive ports, a first end of the normally closed port is connected to the power supply, a second end of the normally closed port is connected to the first end of the test circuit, a first end of the normally open port is connected to an internal discharge circuit of the first relay, and a second end of the normally open port is connected to the first end of the discharge circuit; a control end of the second relay is connected to a first end of the detection control module; The second end of the discharge loop is grounded.
2. A test loop anomaly detection system according to claim 1, characterized in that: The discharge circuit is a floating source discharge circuit.
3. A test loop anomaly detection system according to claim 1, characterized in that: The output signal includes a current signal or a voltage signal, and the detection control module includes a signal sampling submodule and a control submodule; The first end of the signal sampling submodule is connected to the second end of the test loop, the second end of the signal sampling submodule is connected to the first end of the control submodule, and the signal sampling submodule is used to detect the output signal and transmit the output signal to the control submodule; The second end of the control submodule is connected to the control end of the discharge control module, and the third end and the fourth end of the control submodule are connected to the first control end and the second control end of the switch module respectively; the control submodule is used to determine whether the value of the output signal is within a preset range, and if it is within the preset range, connect the connection path between the first end and the second end of the discharge control module, disconnect the connection path between the third end and the fourth end of the discharge control module, and connect the connection path between the first end and the second end of the switch module; and if the output signal is not within the preset range, disconnect the connection path between the first end and the second end of the discharge control module, connect the connection path between the third end and the fourth end of the discharge control module, and disconnect the connection path between the first end and the second end of the switch module.
4. A test loop anomaly detection system according to claim 3, characterized in that: The control submodule is specifically used to determine whether the value of the output signal is less than a first value threshold, and if it is less than the first value threshold, send a first connection signal to the first control terminal of the switch module; and used to determine whether the value of the output signal is greater than a second value threshold, and if it is greater than the second value threshold, send a second connection signal to the second control end of the switch module; The switch module is specifically used to connect the connection path between the first end and the second end of the switch module when the first connection signal and the second connection signal are received, and to disconnect the connection path between the first end and the second end of the switch module when the first connection signal and the second connection signal are not received.
5. A test loop anomaly detection system according to claim 1, characterized in that: The switch module includes a first NMOS tube and a second NMOS tube, the source of the first NMOS tube is connected to the second end of the test loop, the drain of the first NMOS tube is connected to the source of the second NMOS tube, the gate of the first NMOS tube is connected to the third end of the detection control module, the drain of the second NMOS tube is connected to the measured element, and the gate of the second NMOS tube is connected to the fourth end of the detection control module.
6. A test loop anomaly detection system according to claim 1, characterized in that: It also includes an alarm module, a first end of the alarm module is connected to the fifth end of the detection control module, and the detection control module is also used to control the alarm module to issue an alarm when the number of consecutive determinations that the output signal does not meet the steady-state test condition reaches a preset number.
7. The test loop anomaly detection system according to claim 6, characterized in that: The alarm module is an audible and visual alarm module.
8. A test loop anomaly detection method, characterized in that: The method is applicable to a test loop abnormality detection system according to any one of claims 1 to 7, and the method comprises: The detection control module detects the output signal of the test loop and detects whether the output signal meets the steady-state test condition; When the output signal meets the steady-state test condition, connecting the connection path between the first end and the second end of the discharge control module, disconnecting the connection path between the third end and the fourth end of the discharge control module, and connecting the connection path between the first end and the second end of the switch module; When the output signal does not meet the steady-state test condition, the connection path between the first end and the second end of the discharge control module is disconnected, the connection path between the third end and the fourth end of the discharge control module is connected, and the connection path between the first end and the second end of the switch module is disconnected.
9. A storage medium storing computer executable instructions, characterized in that: The computer executable instructions are used to perform a test loop anomaly detection method as claimed in claim 8 when executed by a computer processor.
