USB interface stress damage detection system

By designing a USB interface stress damage detection system, the power control circuit and detection circuit are used to provide a pull-up voltage and distinguish the divided voltage value of the USB interface. This solves the problem of undetectable weak damage to the USB interface and achieves accurate detection of stress damage to the USB interface. Testing improves the reliability of product quality.

CN221826797UActive Publication Date: 2024-10-11ANYSMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323410699.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2024-10-11
Estimated Expiration
2033-12-13

AI Technical Summary

Technical Problem

During the production and testing process, USB interfaces are susceptible to environmental stress damage, resulting in weak damage that cannot be detected through functions, causing quality risks.

Method used

A USB interface stress damage detection system is designed. It uses the power control circuit and detection circuit to provide a pull-up forward or reverse voltage, uses the divided voltage value to distinguish whether there is damage to the USB interface, and reads the operational amplified data through the microcontroller. The voltage signal determines the damage status.

Benefits of technology

It can accurately detect micro-stress damage on the USB interface, solves the problem of weak damage failing to pass functional testing, and improves the reliability of product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221826797U_ABST
    Figure CN221826797U_ABST
Patent Text Reader

Abstract

The utility model relates to the field of hardware detection, and discloses a USB interface stress damage detection system, which comprises a power supply, a single chip microcomputer, a detection circuit and a power supply control circuit, and is characterized in that the power supply is simultaneously connected with the detection circuit and the power supply control circuit; the single-chip microcomputer controls the output voltage of the power supply control circuit and inputs the voltage to the tested piece. The detection circuit is used for operating and amplifying the intermediate voltage of the detected piece and the power supply control circuit and outputting a voltage signal; the single-chip microcomputer reads a voltage signal output by the detection circuit, and the voltage signal is used for indicating the damage state of the detected piece. The system is simple in structure, low in implementation cost and capable of detecting products with USB interface stress damage in the production and test process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of detection devices, in particular to a USB interface stress damage detection system. Background Art

[0002] Products with USB functional interfaces often use USB interfaces during manufacturing and testing. During the manufacturing and testing process, various environmental stresses (thermal stress, mechanical stress, electrical stress) may cause micro-damage to the USB interface. This micro-damage does not cause functional failure, thus bringing quality risks to the terminal use of the product.

[0003] With the rapid development of the integrated circuit industry, many electronic products and components have USB interfaces. The USB interfaces of these electronic products or components are used for USB communication or firmware downloading and other functions. Various environmental stresses are inevitably introduced during the production, testing and application processes. These stresses are very likely to cause damage or injury to the USB interface. A completely damaged USB interface can be easily detected through USB functional testing, but slight damage to the USB interface cannot be detected through the USB interface function. Utility Model Content

[0004] The utility model aims to provide a USB interface stress damage detection system, which can detect products with USB interface stress damage during production and testing.

[0005] To solve the above technical problems, the implementation mode of the utility model provides a USB interface stress damage detection system, including: a power supply, a single-chip microcomputer, a detection circuit and a power control circuit; wherein the power supply is connected to the power input terminal of the detection circuit and the power input terminal of the power control circuit at the same time, and is used to input a first voltage signal to the detection circuit and the power control circuit; the single-chip microcomputer is connected to the input terminal of the power control circuit, the output terminal of the power control circuit is connected to the input terminal of the device under test, the input terminal of the detection circuit is connected between the device under test and the power control circuit, and the output terminal of the detection circuit is connected to the single-chip microcomputer; the power control circuit is used to convert the first voltage signal into a second voltage signal under the control of the single-chip microcomputer, and input the second voltage signal to the device under test; the detection circuit is used to operationally amplify the voltage between the device under test and the power control circuit, and output a third voltage signal after operational amplification; the single-chip microcomputer is used to read the third voltage signal, wherein the third voltage signal is used to indicate the damage state of the device under test.

[0006] Compared with the related art, the implementation method of the utility model is different from the related art in that the physical characteristics of the USB interface are not pure resistance, and the forward resistance and reverse resistance are also different. When the USB interface is stressed, its forward or reverse resistance will change. Based on this phenomenon, a pull-up forward or reverse voltage is provided to the USB interface, and the external pull-up resistor and the internal resistance form a voltage divider. By distinguishing the size of the voltage divider, it is distinguished whether the USB interface is damaged. The USB interface stress damage detection system provided by the utility model can accurately detect the presence of slight stress damage to the USB interface, solving the problem that slight damage to the USB interface cannot be detected by the function of the USB interface.

[0007] In addition, the power control circuit includes: a first MOS tube, a second MOS tube, a voltage comparator, a switch, a first resistor, a second resistor, a third resistor and a fourth resistor; wherein the source of the first MOS tube is connected to the power supply; the gate of the first MOS tube is connected to one end of the first resistor, the other end of the first resistor is connected to the single chip computer, the gate of the first MOS tube is connected in series with the second resistor and then grounded; the drain of the first MOS tube is connected to the inverting input end of the voltage comparator; the source of the second MOS tube is connected to the power supply; the gate of the second MOS tube is connected to one end of the third resistor, the other end of the third resistor is connected to the single chip computer, the gate of the second MOS tube is connected in series with the fourth resistor and then grounded; the drain of the second MOS tube is connected to the switch, and the voltage signal is outputted from the drain of the second MOS tube; the non-inverting input end of the voltage comparator is grounded, and the output end of the voltage comparator is connected to the switch; the switch is used to select the drain of the second MOS tube or the output end voltage of the voltage comparator as the second voltage signal.

[0008] The output terminal of the power control circuit is connected to the input terminal of the device under test through a fifth resistor, and the second voltage signal is input to the device under test.

[0009] The switch is a dual-control switch, or other switches with a circuit selection function; the first MOS tube and the second MOS tube are both P-type metal-oxide semiconductor field effect transistors, or other MOS tubes. The power control circuit has two inputs, and the power control circuit can output a negative voltage through the conduction of the first MOS tube and the operational amplifier, or output a positive voltage by controlling the conduction of the second MOS tube; the second voltage signal is selected and output by controlling the switch in the power control circuit, wherein the second voltage information is a positive voltage or a negative voltage signal.

[0010] The voltage comparator includes: an operational amplifier, a sixth resistor and a seventh resistor; wherein the inverting input terminal of the operational amplifier is connected to the drain of the first MOS tube through the sixth resistor; the inverting input terminal of the operational amplifier is also connected to one end of the seventh resistor, and the other end of the seventh resistor is connected to the output terminal of the operational amplifier.

[0011] In addition, the detection circuit includes: an operational amplifier, an eighth resistor, a ninth resistor, a tenth resistor and an eleventh resistor; wherein, the non-inverting input terminal of the operational amplifier is connected to one end of the eighth resistor, and the other end of the eighth resistor is connected between the device under test and the power supply control circuit as the input terminal of the detection circuit, and the non-inverting input terminal of the operational amplifier is also connected to the power supply by connecting the ninth resistor in series; the inverting input terminal of the operational amplifier is connected to the tenth resistor in series and then grounded, and the inverting input terminal of the operational amplifier is also connected to one end of the eleventh resistor; the output terminal of the operational amplifier is connected to the other end of the eleventh resistor; the output terminal of the operational amplifier is also connected to the single-chip microcomputer.

[0012] Because the power control circuit provides a pull-up forward or reverse voltage to the USB interface, the external pull-up resistor and the internal resistance form a voltage divider, so the device under test will also output a corresponding voltage divider; and the voltage after the voltage divider has a negative voltage, and the single-chip microcomputer cannot read the negative voltage, so the detection circuit is used to perform an operational amplification on the intermediate voltage between the device under test and the power control circuit, that is, the detection circuit raises the voltage to a positive voltage for easy reading by the single-chip microcomputer. Through the above steps, it is possible to distinguish whether the USB interface is damaged by distinguishing the size of the voltage value of the voltage divider.

[0013] In addition, the single-chip microcomputer includes: a first general input / output port GPIO1; a second general input / output port GPIO2; a third general input / output port GPIO3; an analog-to-digital converter (ADC); the first general input / output port GPIO1 is used to control the first MOS tube in the power control circuit; the second general input / output port GPIO2 is used to control the second MOS tube in the power control circuit; the third general input / output port GPIO3 is used to control the switch state in the power control circuit; the analog-to-digital converter (ADC) reads the third voltage signal output by the detection circuit, and the third voltage signal is used to indicate the damage state of the device under test. The single-chip microcomputer reads the positive voltage raised by the detection circuit. When the read positive voltage signal exceeds the normal value threshold, it indicates that the device under test has stress damage.

[0014] In addition, the single chip microcomputer also communicates with the PC via a serial port to upload the test results to the PC. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a structural schematic diagram of a USB interface stress damage detection system according to one embodiment;

[0016] Figure 2 It is a specific circuit diagram of a USB interface stress damage detection system according to one embodiment. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical scheme and advantages of the utility model clearer, the various embodiments of the utility model will be described in detail below with reference to the accompanying drawings. However, it can be understood by those skilled in the art that in the various embodiments of the utility model, many technical details are provided in order to enable readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical schemes claimed for protection in the claims of the present application can be implemented.

[0018] See also Figure 1 ,like Figure 1 As shown, one embodiment of the utility model relates to a USB interface stress damage detection system. The USB interface stress damage detection system provides voltage to the USB interface and measures its voltage signal. The USB interface stress damage detection system mainly includes: a power supply, a single-chip microcomputer, a detection circuit and a power control circuit; wherein the power supply is connected to the power input terminal of the detection circuit and the power input terminal of the power control circuit at the same time, and is used to input a first voltage signal to the detection circuit and the power control circuit; the single-chip microcomputer is connected to the signal input terminal of the power control circuit, the output terminal of the power control circuit is connected to the input terminal of the device under test, the input terminal of the detection circuit is connected between the device under test and the power control circuit, and the output terminal of the detection circuit is connected to the single-chip microcomputer; the power control circuit is used to convert the first voltage signal into a second voltage signal under the control of the single-chip microcomputer, and input the second voltage signal to the device under test; the detection circuit is used to operationally amplify the voltage between the device under test and the power control circuit, and output a third voltage signal after operational amplification; the single-chip microcomputer is used to read the third voltage signal, wherein the third voltage signal is used to indicate the damage state of the device under test.

[0019] Compared with the related art, the implementation method of the utility model is that the physical characteristics of the USB interface are not purely resistive, and the forward resistance and reverse resistance are also different. When the USB interface is stressed, its forward or reverse resistance will change. Based on this phenomenon, a pull-up forward or reverse voltage is provided to the USB interface, and the external pull-up resistor and the internal resistance form a voltage divider. By distinguishing the size of the voltage divider, it is distinguished whether the USB interface is damaged. The USB interface stress damage detection system provided by the utility model can accurately detect the presence of slight stress damage in the USB interface, solving the problem that slight damage to the USB interface cannot be detected by the function of the USB interface.

[0020] Figure 2 The figure shows the specific circuit structure of a USB interface stress damage detection system. Figure 2 As shown, the power control circuit includes: a first MOS tube, a second MOS tube, a voltage comparator, a switch, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4; wherein the source of the first MOS tube is connected to the power supply; the gate of the first MOS tube is connected to one end of the first resistor R1, the other end of the first resistor R1 is connected to the single chip computer, the gate of the first MOS tube is connected in series with the second resistor R2 and then grounded; the drain of the first MOS tube is connected to the inverting input end of the voltage comparator; the source of the second MOS tube is connected to the power supply; the gate of the second MOS tube is connected to one end of the third resistor R3, the other end of the third resistor R3 is connected to the single chip computer, the gate of the second MOS tube is connected in series with the fourth resistor R4 and then grounded; the drain of the second MOS tube is connected to the switch, and the voltage signal is output by the drain of the second MOS tube; the non-inverting input end of the voltage comparator is grounded, and the output end of the voltage comparator is connected to the switch; the switch is used to select the drain of the second MOS tube or the output end voltage of the voltage comparator as the second voltage signal.

[0021] In another embodiment of the present invention, the output end of the power control circuit is connected to the input end of the device under test through a fifth resistor R5, and the second voltage signal is input into the device under test. The switch is a dual-control switch, or other switches with a selection circuit function; the first MOS tube and the second MOS tube are both P-type metal-oxide semiconductor field effect transistors, or other MOS tubes. The power control circuit has two inputs, and the power control circuit can output a negative voltage through the conduction of the first MOS tube and the operational amplifier, or output a positive voltage by controlling the conduction of the second MOS tube; the second voltage signal is selected and output by controlling the switch in the power control circuit, wherein the second voltage information is a positive voltage or a negative voltage signal.

[0022] like Figure 2 As shown, the power control circuit includes a voltage comparator, which converts the positive voltage signal output by the drain of the first MOS tube into a negative voltage signal. The voltage comparator is composed of an operational amplifier, a sixth resistor R6 and a seventh resistor R7, wherein the inverting input terminal of the operational amplifier is connected to the drain of the first MOS tube through the sixth resistor R6; the inverting input terminal of the operational amplifier is also connected to one end of the seventh resistor R7, and the other end of the seventh resistor R7 is connected to the output terminal of the operational amplifier.

[0023] In addition, the single chip computer includes: a first general input / output port GPIO1 (referred to as the first GPIO1); a second general input / output port GPIO2 (referred to as the second GPIO1); a third general input / output port GPIO3 (referred to as the third GPIO1); an analog-to-digital converter ADC; the first GPIO1 is used to control the first MOS tube in the power control circuit; the second GPIO2 is used to control the second MOS tube in the power control circuit; the third GPIO3 is used to control the switch state in the power control circuit;

[0024] Specifically, the first GPIO1 of the single chip microcomputer is connected to the gate of the first MOS tube in the power control circuit. The single chip microcomputer controls GPIO1 to output a level signal to control the state of the first MOS tube. When the single chip microcomputer controls GPIO1 to output a low level signal, the first MOS tube is turned on, otherwise the first MOS tube is turned on and off.

[0025] Similarly, the second GPIO2 of the single-chip microcomputer is connected to the gate of the second MOS tube in the power control circuit. The single-chip microcomputer controls the GPIO2 to output a level signal to control the state of the second MOS tube. When the single-chip microcomputer controls the GPIO2 to output a low-level signal, the second MOS tube is turned on, otherwise the second MOS tube is turned off. At the same time, the third GPIO3 of the single-chip microcomputer is connected to a switch in the power control circuit. The switch is a dual-control switch. The GPIO3 control switch selects the output voltage signal.

[0026] The power control circuit has two inputs and one output. In another embodiment, the power control circuit can output a negative voltage by turning on the first MOS tube and the operational amplifier, or can output a positive voltage by controlling the turning on of the second MOS tube; the second voltage signal is selected to be output by controlling the switch in the power control circuit, wherein the second voltage information is a positive voltage or a negative voltage signal. Specifically, the input end of the power control circuit of this embodiment is externally connected to a power supply, and the power supply provides a voltage signal VDD.

[0027] In some embodiments, when the first MOS transistor of the power control circuit is turned on, the voltage signal VDD provided by the power supply is input to the MOS transistor via the source, output from the drain of the MOS transistor, and input to the inverting input terminal of the voltage comparator in the power control circuit via the sixth resistor R6; the voltage comparator of the power control circuit converts VDD into a negative voltage signal V out0 , at this time the negative voltage signal V out0 As the second voltage signal VDD_REF. At this time, the voltage of the second voltage signal VDD_REF is:

[0028]

[0029] Wherein, R6 and R7 are the resistance values ​​of the sixth resistor R6 and the seventh resistor R7 respectively; VDD is the power supply voltage.

[0030] In some embodiments, when the second MOS transistor of the power control circuit is turned on, the voltage signal VDD provided by the power supply is input to the MOS transistor via the source. At this time, the second voltage signal VDD_REF is the voltage signal V output by the drain of the second MOS transistor. out1 , at this time VDD_REF=V out1 =VDD.

[0031] In some implementations, the second voltage signal VDD_REF is transmitted from the output terminal of the power control circuit through the fifth resistor R5 and the input terminal of the device under test in sequence.

[0032] In some embodiments, Figure 2 As shown, the detection circuit includes an operational amplifier, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10 and an eleventh resistor R11; wherein, the in-phase input terminal of the operational amplifier is connected to one end of the eighth resistor, and the other end of the eighth resistor R8 is connected between the device under test and the power supply control circuit as the signal input terminal, and the in-phase input terminal of the operational amplifier is also connected to the power supply through the ninth resistor R9 in series; the inverting input terminal of the operational amplifier is connected in series with the tenth resistor R10 and then grounded, and the inverting input terminal of the operational amplifier is also connected to one end of the eleventh resistor R11; the output terminal of the operational amplifier is connected to the other end of the eleventh resistor R11; the output terminal of the operational amplifier is also connected to the single-chip computer.

[0033] In some embodiments, because the power control circuit provides a pull-up forward or reverse voltage to the USB interface, the external pull-up resistor and the internal resistance form a voltage divider, so the device under test will also output a corresponding divided voltage; and the voltage after the voltage divider has a negative voltage, and the single-chip microcomputer cannot read the negative voltage, so the detection circuit is used to perform operational amplification on the intermediate voltage between the device under test and the power control circuit, that is, the detection circuit raises the voltage to a positive voltage for easy reading by the single-chip microcomputer. By providing a pull-up forward or reverse voltage to the USB interface, the voltage value of the device under test is read to distinguish whether the USB interface is damaged.

[0034] In some embodiments, after the device under test receives the second voltage signal VDD_REF, the detection circuit reads the fifth resistor R5 and the internal resistor R in The output intermediate voltage signal, at this time, the voltage signal passes through the fifth resistor R5 and the internal resistor R in The voltage signal is used as the input voltage V of the detection circuit. in At this time, the voltage V in The values ​​are:

[0035] Among them, R5 and R in They are the fifth resistor R5, the internal resistance of the device under test R in resistance value.

[0036] In some embodiments, the input end of the detection circuit is connected to an external power supply, and the power supply provides a voltage signal VDD, where the voltage signal VDD is the same as the voltage signal VDD provided by the external power supply of the power control circuit. The voltage signal VDD is connected to the voltage signal VDD through the ninth resistor R9. in The voltage is input to the positive input terminal of the operational amplifier in the detection circuit through the eighth resistor R8. At this time, the operational amplifier outputs a voltage signal V out2 .

[0037] In some embodiments, the operational amplifier outputs a voltage signal V out2 must be a positive voltage; and passes through the fifth resistor R5 and the resistance R in The voltage signal V in The absolute value of is less than or equal to the voltage signal VDD provided by the power supply.

[0038] In the above formula, R8, R9, R 10 and R 11 are the resistance values ​​of the eighth resistor R8, the ninth resistor R9, the tenth resistor R10 and the eleventh resistor R11 respectively; the voltage signal V out2 That is, the third voltage signal, and the detection circuit inputs the voltage signal into the single chip microcomputer.

[0039] In some embodiments, the single-chip microcomputer includes an analog-to-digital converter ADC, which reads a third voltage signal output by the detection circuit, and the third voltage signal is used to indicate the damage state of the device under test. The single-chip microcomputer reads the positive voltage raised by the detection circuit, and when the read positive voltage signal exceeds the normal value threshold, it indicates that the device under test has stress damage. The analog-to-digital converter ADC reads the third voltage signal output by the detection circuit, and the third voltage signal is used to indicate the damage state of the device under test. The single-chip microcomputer reads the third voltage signal formed by the detection circuit raising the voltage, and when the read third voltage signal exceeds the normal value threshold, it indicates that the device under test has stress damage.

[0040] In some implementations, the analog-to-digital converter ADC inside the single-chip microcomputer reads a third voltage signal formed by the detection circuit raising the voltage. When the read third voltage signal exceeds a normal value threshold, it indicates that stress damage exists in the device under test.

[0041] In some implementations, the third voltage signal read by the single-chip microcomputer is used to indicate the damage state of the device under test, and the single-chip microcomputer communicates with the PC through the serial port to upload and save the test results.

[0042] In some implementations, the resistance of each resistor in the system is not fixed, and needs to be adjusted accordingly according to the resistance of the device under test in actual application to avoid damaging the device under test.

[0043] Compared with the related art, the implementation method of the utility model detects products with stress damage on the USB interface during the production and testing process. Since the physical characteristics of the USB interface are not purely resistive, and the forward resistance and reverse resistance are also different, when the USB interface is stress damaged, its forward or reverse resistance will change. Based on this phenomenon, a pull-up forward or reverse voltage is provided to the USB interface, and the external pull-up resistor and the internal resistance form a voltage divider, and the size of the voltage divider is distinguished to distinguish whether the USB interface is damaged. The USB interface stress damage detection system provided by this embodiment can accurately detect the presence of slight stress damage on the USB interface, solving the problem that slight damage to the USB interface cannot be detected by the function of the USB interface.

[0044] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0045] It should be noted that, in the description of this embodiment, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this embodiment, unless otherwise specified, the meaning of "plurality" and "multiple" refers to at least two.

[0046] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present embodiment. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0047] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.

Claims

1. A USB interface stress damage detection system, characterized in that: include: Power supply, single chip microcomputer, detection circuit and power supply control circuit; wherein, The power supply is connected to the power input terminal of the detection circuit and the power input terminal of the power control circuit at the same time, and is used to input a first voltage signal to the detection circuit and the power control circuit; The single-chip microcomputer is connected to the input end of the power control circuit, the output end of the power control circuit is connected to the input end of the device under test, the input end of the detection circuit is connected between the device under test and the power control circuit, and the output end of the detection circuit is connected to the single-chip microcomputer; The power supply control circuit is used to convert the first voltage signal into a second voltage signal under the control of the single chip microcomputer, and input the second voltage signal into the device under test; The detection circuit is used to operationally amplify the voltage between the device under test and the power control circuit, and output a third voltage signal after operational amplification; The single chip microcomputer is used to read the third voltage signal, wherein the third voltage signal is used to indicate a damage state of the device under test.

2. A USB interface stress damage detection system according to claim 1, characterized in that: The power control circuit comprises: A first MOS tube, a second MOS tube, a voltage comparator, a switch, a first resistor, a second resistor, a third resistor and a fourth resistor; wherein, The source of the first MOS transistor is connected to the power supply; the gate of the first MOS transistor is connected to one end of the first resistor, the other end of the first resistor is connected to the single chip microcomputer, the gate of the first MOS transistor is connected in series with the second resistor and then grounded; the drain of the first MOS transistor is connected to the inverting input end of the voltage comparator; The source of the second MOS tube is connected to the power supply; the gate of the second MOS tube is connected to one end of the third resistor, the other end of the third resistor is connected to the single chip computer, and the gate of the second MOS tube is connected in series with the fourth resistor and then grounded; the drain of the second MOS tube is connected to the switch, and the drain of the second MOS tube outputs a voltage signal; The non-inverting input terminal of the voltage comparator is grounded, and the output terminal of the voltage comparator is connected to the switch; The switch is used to select the drain of the second MOS tube or the output voltage of the voltage comparator as the second voltage signal.

3. A USB interface stress damage detection system according to claim 2, characterized in that: The output terminal of the power control circuit is connected to the input terminal of the device under test through a fifth resistor, comprising: The output terminal of the power control circuit is connected to the input terminal of the device under test through the fifth resistor, and the second voltage signal is input into the device under test.

4. A USB interface stress damage detection system according to claim 2, characterized in that: The switch is a double-control switch.

5. A USB interface stress damage detection system according to claim 2, characterized in that: The first MOS transistor and the second MOS transistor are both P-type metal-oxide semiconductor field effect transistors.

6. A USB interface stress damage detection system according to claim 2, characterized in that: The voltage comparator comprises: operational amplifier, a sixth resistor and a seventh resistor; wherein, The inverting input terminal of the operational amplifier is connected to the drain of the first MOS tube through the sixth resistor; The inverting input terminal of the operational amplifier is also connected to one end of the seventh resistor, and the other end of the seventh resistor is connected to the output terminal of the operational amplifier.

7. A USB interface stress damage detection system according to claim 1, characterized in that: The detection circuit comprises: an operational amplifier, an eighth resistor, a ninth resistor, a tenth resistor and an eleventh resistor; wherein, The non-inverting input terminal of the operational amplifier is connected to one end of the eighth resistor, the other end of the eighth resistor is connected between the device under test and the power control circuit as the input terminal of the detection circuit, and the non-inverting input terminal of the operational amplifier is also connected to the power supply through the ninth resistor in series; The inverting input terminal of the operational amplifier is connected in series with the tenth resistor and then grounded, and the inverting input terminal of the operational amplifier is also connected to one end of the eleventh resistor; The output end of the operational amplifier is connected to the other end of the eleventh resistor; the output end of the operational amplifier is also connected to the single chip microcomputer.

8. A USB interface stress damage detection system according to claim 2, characterized in that: The single chip microcomputer comprises: A first general purpose input / output port GPIO, a second general purpose input / output port GPIO, a third general purpose input / output port GPIO and an analog-to-digital converter; The first general input / output port GPIO is used to control the first MOS transistor in the power control circuit; the second general input / output port GPIO is used to control the second MOS transistor in the power control circuit; the third general input / output port GPIO is used to control the state of the switch in the power control circuit; The analog-to-digital converter is used to read the third voltage signal output by the detection circuit.

9. A USB interface stress damage detection system according to claim 1, characterized in that: The device under test is a USB interface to be tested.

10. A USB interface stress damage detection system according to claim 8, characterized in that: The single chip microcomputer also communicates with the PC via a serial port to upload and save the test results.