Short circuit detection circuit and electronic device

CN224732135UActive Publication Date: 2026-09-08SHENZHEN POWEROAK NEWENER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202521892803.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-09-03
Publication Date
2026-09-08
Estimated Expiration
2035-09-03

AI Technical Summary

Technical Problem

由于金属螺丝的硬度大于铝散热器,在使用金属螺丝固定开关管时容易把散热器螺纹孔内的铝屑带出,若直接上整机使用,铝屑极可能会造成开关管与散热器短路,进而导致电路短路失效,损坏电路元件或者损坏设备,甚至造成起火事故

Benefits of technology

[0014]Unlike related technologies, this application provides a short-circuit detection circuit and electronic device. The circuit is used to connect to a module under test (DUT), which includes a heat sink and a power device, with the power device attached to the heat sink. The circuit includes a first connection terminal, a second connection terminal, a sampling module, a detection module, a first indicator module, and a second indicator module. The first connection terminal is connected to the heat sink, and the DUT is connected to both the first and second connection terminals. The first connection terminal is used to connect to a test power supply and the heat sink, respectively. The second connection terminal is connected to the pins of the power device and the sampling module, respectively. The sampling module is also connected to the detection module, and the detection module is connected to both the first and second indicator modules. The sampling module is used to acquire the sampling current at the pins of the power device. The detection module is used to control the first indicator module to operate when the sampling current is greater than a preset threshold, indicating a short circuit in the DUT; and to control the second indicator module to operate when the sampling current is less than the preset threshold, indicating that the DUT is not short-circuited. This circuit obtains the sampled current between the pins of the power device and the heat sink through a sampling module. Combined with the detection module, it determines whether a short circuit exists based on the sampled current and issues an indication through a first indicator module or a second indicator module. If the sampled current is greater than a preset threshold, it indicates that there is a current path between the pins of the power device and the heat sink, which means there is a short circuit between them. The first indicator module responds immediately and issues an indication. If the sampled current is less than the preset threshold, it indicates that there is no current path between the pins of the power device and the heat sink, which means there is no short circuit. The second indicator module responds immediately and issues an indication. This allows the user to intuitively know whether a short circuit exists through the indications issued by the first indicator module or the second indicator module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224732135U_ABST
    Figure CN224732135U_ABST
Patent Text Reader

Abstract

The application relates to the technical field of circuit protection, in particular to a short-circuit detection circuit and an electronic device. The circuit is applied to detecting the short-circuit condition of a to-be-detected module, wherein the to-be-detected module comprises a heat sink and a power device, the circuit comprises a first connecting end, a second connecting end, a sampling module, a detection module, a first indicating module and a second indicating module, the sampling module obtains a sampling current at a pin of the power device; the detection module controls the first indicating module to work when the sampling current is greater than a preset threshold, so as to indicate that the to-be-detected module is short-circuited; and controls the second indicating module to work when the sampling current is less than the preset threshold, so as to indicate that the to-be-detected module is not short-circuited. The circuit obtains the sampling current between the pin of the power device and the heat sink through the sampling module, judges whether the short-circuit condition exists according to the sampling current in combination with the detection module, and makes an indication correspondingly, so that the user can intuitively know whether the short-circuit condition exists at present.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of circuit protection technology, specifically to a short-circuit detection circuit and electronic device. Background Technology

[0002] Metal-encapsulated power switching transistors generate significant heat during operation. They require thermal grease and metal screws to secure them to an aluminum heatsink for heat dissipation. Insulating particles and ceramic / insulating washers are also necessary to prevent short circuits between the transistor and the heatsink. Because metal screws are harder than aluminum heatsinks, using them to secure the transistor can easily dislodge aluminum shavings from the heatsink's threaded holes. If used directly in a system, these shavings can cause a short circuit between the transistor and the heatsink, leading to circuit failure, damage to components or equipment, and even a fire. Utility Model Content

[0003] The main technical problem addressed by the embodiments of this application is that short circuits between the heat sink and the switching transistor have a significant impact on circuit safety in related technologies.

[0004] To solve the above-mentioned technical problems, one technical solution adopted in this application is: providing a short-circuit detection circuit for connecting to a module under test (DUT), wherein the DUT includes a power device and a heat sink, the power device being attached to the heat sink. The circuit includes a first connection terminal, a second connection terminal, a sampling module, a detection module, a first indicator module, and a second indicator module. The first connection terminal is used to connect a test power supply and the heat sink, respectively. The second connection terminal is used to connect the pins of the power device and the sampling module, respectively. The sampling module is also connected to the detection module. The detection module is connected to the first indicator module and the second indicator module, respectively. The sampling module is used to acquire the sampling current at the pins of the power device. The detection module is used to control the first indicator module to operate when the sampling current is greater than a preset threshold, so as to indicate that the DUT is short-circuited; and to control the second indicator module to operate when the sampling current is less than the preset threshold, so as to indicate that the DUT is not short-circuited.

[0005] In some embodiments, the detection module includes an amplifier U1A, a comparator U2A, a resistor R16, and a capacitor C2; the first input terminal of the amplifier U1A is connected to the first terminal of the sampling module, the second input terminal of the amplifier U1A is connected to the second terminal of the sampling module, the two ends of the capacitor C2 are respectively connected to the second input terminal and the output terminal of the amplifier U1A, the resistor R16 is connected in parallel with the capacitor C2, the output terminal of the amplifier U1A is connected to the first input terminal of the comparator U2A, the second input terminal of the comparator U2A is used to receive a reference voltage, and the output terminal of the comparator U2A is connected to the first indicator module and the second indicator module; the amplifier U1A is used to output a high-level signal when the sampling current is greater than a preset threshold, and to output a low-level signal when the sampling current is less than a preset threshold; the comparator U2A is used to output a first control signal to the first indicator module when receiving a high-level signal, so that the first indicator module indicates that the module under test is short-circuited, and to output a second control signal to the second indicator module when receiving a low-level signal, so that the second indicator module indicates that the module under test is not short-circuited.

[0006] In some embodiments, the first indicating module includes a resistor R6, a light-emitting diode LED2, and a switching transistor Q1. The first terminal of the light-emitting diode LED2 receives the power supply voltage through the resistor R6. The second terminal of the light-emitting diode LED2 is connected to the first terminal of the switching transistor Q1, the second terminal of the switching transistor Q1 is grounded, and the control terminal of the switching transistor Q1 is connected to the output terminal of the comparator U2A.

[0007] In some embodiments, the second indicator module includes a resistor R9 and a light-emitting diode LED1. The first terminal of the light-emitting diode LED1 receives the power supply voltage through the resistor R9, and the second terminal of the light-emitting diode LED1 is connected to the output terminal of the comparator U2A.

[0008] In some embodiments, the sampling module includes resistors R11, R12, Rm1, and R7. The first end of resistor Rm1 is connected to a second connection terminal through resistor R7, the second end of resistor Rm1 is grounded, the first end of resistor Rm1 is connected to the first input terminal of amplifier U1A through resistor R11, and the second end of resistor Rm1 is connected to the second input terminal of amplifier U1A through resistor R12.

[0009] In some embodiments, the detection module further includes a capacitor C1 and a resistor R10, wherein the first end of the capacitor C1 is connected to the first input terminal of the amplifier U1A, the second end of the capacitor C1 is grounded, and the resistor R10 is connected in parallel with the capacitor C1.

[0010] In some embodiments, the circuit further includes a voltage regulator module, which is configured to connect to a power supply, the first indicator module, and the second indicator module, respectively, to provide a power supply voltage to the first indicator module and the second indicator module in conjunction with the power supply.

[0011] In some embodiments, the voltage regulator module includes resistor R2, resistor R4, Zener diode DZ1, and resistor R3. The first end of resistor R4 is connected to the power supply through resistor R2, and the second end of resistor R4 is grounded. The cathode of Zener diode DZ1 is connected to the first end of resistor R4, and the anode of Zener diode DZ1 is connected to the second end of resistor R4. The second end of resistor R4 provides a power supply voltage to the first indicator module and the second indicator module through resistor R3.

[0012] In some embodiments, the voltage regulator module further includes resistors R5, R8, and R15. The first end of resistor R5 is connected to the first end of resistor R4 through resistor R3, the second end of resistor R5 is connected to the second input terminal of comparator U2A through resistor R8, and the second input terminal of comparator U2A is grounded through resistor R15.

[0013] To solve the above-mentioned technical problems, another technical solution adopted in the embodiments of this application is to provide an electronic device, including the short-circuit detection circuit described above.

[0014] Unlike related technologies, this application provides a short-circuit detection circuit and electronic device. The circuit is used to connect to a module under test (DUT), which includes a heat sink and a power device, with the power device attached to the heat sink. The circuit includes a first connection terminal, a second connection terminal, a sampling module, a detection module, a first indicator module, and a second indicator module. The first connection terminal is connected to the heat sink, and the DUT is connected to both the first and second connection terminals. The first connection terminal is used to connect to a test power supply and the heat sink, respectively. The second connection terminal is connected to the pins of the power device and the sampling module, respectively. The sampling module is also connected to the detection module, and the detection module is connected to both the first and second indicator modules. The sampling module is used to acquire the sampling current at the pins of the power device. The detection module is used to control the first indicator module to operate when the sampling current is greater than a preset threshold, indicating a short circuit in the DUT; and to control the second indicator module to operate when the sampling current is less than the preset threshold, indicating that the DUT is not short-circuited. This circuit obtains the sampled current between the pins of the power device and the heat sink through a sampling module. Combined with the detection module, it determines whether a short circuit exists based on the sampled current and issues an indication through a first indicator module or a second indicator module. If the sampled current is greater than a preset threshold, it indicates that there is a current path between the pins of the power device and the heat sink, which means there is a short circuit between them. The first indicator module responds immediately and issues an indication. If the sampled current is less than the preset threshold, it indicates that there is no current path between the pins of the power device and the heat sink, which means there is no short circuit. The second indicator module responds immediately and issues an indication. This allows the user to intuitively know whether a short circuit exists through the indications issued by the first indicator module or the second indicator module. Attached Figure Description

[0015] Figure 1 This is a schematic diagram illustrating an application scenario of a short-circuit detection circuit provided in an embodiment of this application; Figure 2 This is a block diagram of a short-circuit detection circuit provided in an embodiment of this application; Figure 3 This is a schematic diagram of the circuit structure of a short-circuit detection circuit provided in an embodiment of this application. Detailed Implementation

[0016] To facilitate understanding of this application, a more detailed description is provided below with reference to the accompanying drawings and specific embodiments. It should be noted that when an element is described as "connected" to another element, it can be directly connected to the other element, or there may be one or more intervening elements. The terms "first," "second," etc., used in this specification are for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0017] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.

[0018] In the field of power electronic equipment, metal-encapsulated power switching transistors (TUs) are core components for power conversion and control. During operation, they generate a large amount of heat due to conduction and switching losses. If this heat cannot be dissipated in time, the component temperature will rise, leading not only to drift in the switching transistor's performance parameters and a decrease in switching speed, but also potentially triggering thermal breakdown failure, severely impacting the overall reliability and lifespan of the equipment. Therefore, in practical applications, a cooling system is typically installed to reduce the temperature. The mainstream solution in related technologies is to mechanically mount the metal-encapsulated power switching transistor onto an aluminum heat sink, for example, using metal screws for fixation. The excellent thermal conductivity of aluminum is utilized to achieve heat dissipation. Since the outer shell of the metal-encapsulated switching transistor is conductive, insulating particles, ceramic gaskets, or insulating pads are also added between it and the aluminum heat sink to block the electrical path between them and prevent short-circuit faults.

[0019] However, during assembly, because the hardness of metal screws is greater than that of aluminum heat sinks, when using metal screws to fix the switching tube, the squeezing and friction between the threads during the screwing into the pre-set threaded holes of the heat sink can easily cause metal shavings (i.e., aluminum shavings) to be generated on the inner wall of the aluminum threaded holes. These aluminum shavings may remain between the contact surfaces of the insulating gasket and the heat sink / switching tube, or become embedded in the gaps of the insulating particles, forming a hidden conductive path that can lead to a short circuit between the switching tube and the heat sink. This short circuit fault can not only cause the switching tube to burn out instantly, but may also cause a sharp increase in the current in the entire circuit, and in severe cases, it may even cause smoke and fire due to high temperature, resulting in equipment damage.

[0020] To address the aforementioned problems, this application provides a short-circuit detection circuit for quickly and accurately detecting potential short circuits between metal-packaged power devices and metal heat sinks. Please refer to... Figure 1 , Figure 1This is a schematic diagram illustrating an application scenario of a short-circuit detection circuit provided in this application embodiment. As shown in the figure, the short-circuit detection circuit 100 is connected to the module under test 20. The module under test 20 includes power devices and a heat sink, with the power devices and heat sink in close contact. In the figure, switch transistors A, B, and C represent metal-packaged power devices, and aluminum heat sink D represents a metal heat sink. The metal casings of these switch transistors are tightly attached to the metal heat sink, and the pins of multiple switch transistors are connected in parallel. One end of the short-circuit detection circuit 100 is connected to the heat sink, and the other end is connected to the pins of the power device, thereby detecting the short circuit between the power device and the heat sink and providing corresponding indications based on the short circuit condition, allowing the user to intuitively understand whether there is a potential short circuit.

[0021] Please combine Figure 2 , Figure 2 This is a block diagram of a short-circuit detection circuit provided in an embodiment of this application. As shown in the figure, the short-circuit detection circuit 100 includes a first connection terminal 11, a second connection terminal 12, a sampling module 13, a detection module 14, a first indicator module 15, and a second indicator module 16. The first connection terminal 11 is used to connect the test power supply 30 and the heat sink in the module under test 20, respectively. The second connection terminal 12 is connected to the pins of the power device in the module under test 20 and the sampling module 13, respectively. The sampling module 13 is also connected to the detection module 14, and the detection module 14 is connected to the first indicator module 15 and the second indicator module 16, respectively.

[0022] Specifically, the sampling module 13 is used to acquire the sampling current at the pin of the power device in the module under test 20; the detection module 14 is used to control the first indicator module 15 to work when the sampling current is greater than a preset threshold, so as to indicate that the module under test 20 is short-circuited, and to control the second indicator module 16 to work when the sampling current is less than the preset threshold, so as to indicate that the module under test 20 is not short-circuited. This allows the user to intuitively know whether there is a short circuit through the indication given by the first indicator module 15 or the second indicator module 16.

[0023] Please combine Figure 2 and Figure 3 , Figure 3This is a schematic diagram of a short-circuit detection circuit provided in an embodiment of this application. As shown in the figure, the detection module 14 in the circuit includes an amplifier U1A, a comparator U2A, a resistor R16, and a capacitor C2. The first input terminal U1A_3 of the amplifier U1A is connected to the first terminal of the sampling module, and the second input terminal U1A_2 of the amplifier U1A is connected to the second terminal of the sampling module 13, thereby obtaining the sampling current through the sampling module 13. The two ends of the capacitor C2 are respectively connected to the second input terminal U1A_2 and the output terminal U1A_1 of the amplifier U1A, and the resistor R16 is connected in parallel with the capacitor C2. The output terminal U1A_1 of the amplifier U1A is connected to the first input terminal U2A_3 of the comparator U2A, and the second input terminal U2A_2 of the comparator U2A is used to receive the reference voltage, that is, the voltage between the resistors R8 and R15 in the figure; the output terminal U2A_1 of the comparator U2A is connected to the first indicator module 15 and the second indicator module 16.

[0024] Based on this, amplifier U1A can output a high-level signal when the sampling current is greater than a preset threshold, and output a low-level signal when the sampling current is less than a preset threshold; comparator U2A can output a first control signal to the first indicator module 15 when it receives a high-level signal, so that the first indicator module 15 indicates that the module under test 20 is short-circuited, or output a second control signal to the second indicator module 16 when it receives a low-level signal, so that the second indicator module 16 indicates that the module under test 20 is not short-circuited.

[0025] In some embodiments, the detection module 14 further includes a capacitor C1 and a resistor R10. For example... Figure 3 As shown, the first terminal of capacitor C1 is connected to the first input terminal U1A_3 of amplifier U1A, and the second terminal of capacitor C1 is grounded (GND). Resistor R10 is connected in parallel with capacitor C1. Based on this, capacitor C1 and resistor R1 can filter out interference signals in the circuit, enabling amplifier U1A to output the corresponding signal more accurately according to the sampling current, reducing the possibility of outputting erroneous signals due to circuit interference, thereby improving the accuracy of the detection results.

[0026] Please combine Figure 3In some embodiments, the first indicating module 15 includes a resistor R6, a light-emitting diode (LED) 2, and a switching transistor Q1. The first terminal of LED 2 receives the supply voltage (VCC_2) through resistor R6. The second terminal of LED 2 is connected to the first terminal Q1_2 of the switching transistor Q1, and the second terminal Q1_3 of the switching transistor Q1 is grounded (GND). The control terminal Q1_1 of the switching transistor Q1 is connected to the output terminal U2A_1 of comparator U2A. Based on this, in this embodiment, if a short circuit occurs between the heat sink and the power device, the sampling current will exceed a preset threshold. Amplifier U1A outputs a high-level signal to comparator U2A, which in turn outputs a first control signal (i.e., a high-level signal), thereby controlling the switching transistor Q1 to conduct, causing LED 2 to conduct and emit light. Therefore, if the user observes LED 2 emitting light, they can directly determine that the module under test has a short circuit fault.

[0027] Please combine Figure 3 In some embodiments, the second indicator module 16 includes a resistor R9 and a light-emitting diode LED1. The first terminal of LED1 receives the supply voltage through the resistor R9, which is shown as VCC_2 in the figure. The second terminal of LED1 is connected to the output terminal U2A_1 of comparator U2A. Based on this, in this embodiment, if there is no abnormality between the heat sink and the power device, i.e., no short circuit, the sampling current will be less than a preset threshold. Amplifier U1A outputs a low-level signal to comparator U2A. Comparator U2A outputs a second control signal, i.e., a low-level signal, to provide a grounding loop for LED1, so that LED1 conducts and emits light. Therefore, if the user observes LED2 emitting light, they can directly determine that the module under test has a short circuit fault.

[0028] Therefore, in practical applications, LED1 and LED2 can be selected as different colors of light-emitting diodes, for example, LED2 can be red and LED1 can be green. Thus, when a user uses this circuit for testing, if red light is observed, it indicates a short circuit in the module under test, requiring immediate attention. If green light is observed, it indicates no short circuit and the module can be used directly. This provides a more intuitive display of the test results and optimizes the user experience.

[0029] In some embodiments, please combine Figure 3The sampling module 13 in the above circuit includes resistors R11, R12, Rm1, and R7. As shown in the figure, the first end of resistor Rm1 is connected to the second connection terminal 12 through resistor R7, and then connected to the pin of the power device through the second connection terminal 12. The second end of resistor Rm1 is grounded. The first end of resistor Rm1 is connected to the first input terminal U1A_3 of amplifier U1A through resistor R11, and the second end of resistor Rm1 is connected to the second input terminal U1A_2 of amplifier U1A through resistor R12. Simultaneously, the first connection terminal 11 is connected to the test power supply 30 through resistor R1. Figure 3 The diagram shows VCC_500V.

[0030] Based on this, when testing is required, the first connection terminal 11 can be connected to the heat sink of the module under test 20, the second connection terminal 12 can be connected to the pin of the power device of the module under test 20, and the test power supply 30 applies DC voltage to the module under test 20 and the sampling module 13, wherein resistors R1 and R7 are for current limiting.

[0031] If the module under test 20 has a short circuit, that is, the resistance between the heat sink and the power device is small, a current will flow through the resistor Rm1. Therefore, the sampling current is greater than the preset threshold. The sampling current is amplified by the amplifier U1A and used as the input of the non-inverting input of the comparator U2A. This makes the voltage at the non-inverting input of the comparator U2A greater than the voltage at the inverting input (i.e., the reference voltage). As a result, a high level will be output to the switching transistor Q1, which turns on the switching transistor Q1. The light-emitting diode LED2 turns on and emits light, for example, displaying red light. The user can intuitively know that the module under test has a short circuit abnormality based on this red light.

[0032] If the module under test 20 is not short-circuited, that is, the resistance between the heat sink and the power device is infinite, no current flows through the resistor Rm1. Therefore, the sampling current obtained by the sampling module is 0, which is significantly less than the preset threshold. The output of the amplifier U1A is low, which makes the voltage at the non-inverting terminal of the comparator U2A less than the voltage at the inverting terminal (i.e., the reference voltage). Therefore, it will output a low level, the switching transistor Q1 will not conduct, and the light-emitting diode LED1 will conduct and emit light, for example, displaying green light. The user can intuitively know that the module under test is not short-circuited based on this green light.

[0033] In some embodiments, the short-circuit detection circuit further includes a voltage regulator module, which is connected to the power supply, the first indicator module 15, and the second indicator module 16, respectively, to provide a supply voltage to the first indicator module 15 and the second indicator module 16 in conjunction with the power supply. Specifically, the voltage regulator module includes resistors R2 and R4, a Zener diode DZ1, and resistor R3. Figure 3As shown, the first terminal of resistor R4 is connected to the power supply (VCC_1) via resistor R2. The second terminal of resistor R4 is grounded (GND). The cathode of Zener diode DZ1 is connected to the first terminal of resistor R4, and the anode of Zener diode DZ1 is connected to the second terminal of resistor R4. The second terminal of resistor R4 provides a power supply voltage to the first indicator module 15 and the second indicator module 16 via resistor R3. Based on this, resistors R2, R4, and Zener diode DZ1 divide the power supply VCC_1. By setting the resistance values ​​of each resistor, a stable voltage (e.g., +12V) can be obtained at the first terminal of resistor R4, which is then supplied to the first indicator module 15 and the second indicator module 16 via resistor R3, thereby powering LED1 and LED2.

[0034] In some embodiments, the voltage regulator module further includes resistors R5, R8, and R15. For example... Figure 3 As shown, the first terminal of resistor R5 is connected to the first terminal of resistor R4 through resistor R3, and the second terminal of resistor R5 is connected to the second input terminal U2A_2 of comparator U2A through resistor R8. The second input terminal U2A_2 of comparator U2A is grounded to GND through resistor R15. This scheme utilizes the stable voltage at the first terminal of resistor R4 in the voltage regulator module, and then uses the voltage divided by resistors R5, R8, and R15 as the reference voltage for comparator U2A. Therefore, this scheme does not require a separate power supply to provide the reference voltage, but avoids the use of an additional power supply by reusing the stable voltage at Zener diode DZ1, thus reducing the complexity of the circuit.

[0035] This application provides an electronic device including the short-circuit detection circuit as described above, which has the corresponding functional modules and beneficial effects of the circuit. For technical details not described in detail in the electronic device embodiments, please refer to the short-circuit detection circuit provided in this application.

[0036] It should be noted that while preferred embodiments of this application are provided in the specification and accompanying drawings, this application can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are not intended to impose additional limitations on the content of this application; their purpose is to provide a more thorough and comprehensive understanding of the disclosure of this application. Furthermore, the above-described technical features can be combined with each other to form various embodiments not listed above, all of which are considered to be within the scope of this application's specification. Moreover, those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.

Claims

1. A short-circuit detection circuit for connection to a module under test, wherein the module under test includes a power device and a heat sink, the power device being attached to the heat sink, characterized in that, The circuit includes a first connection terminal, a second connection terminal, a sampling module, a detection module, a first indicator module, and a second indicator module. The first connection terminal is used to connect the test power supply and the heat sink, respectively. The second connection terminal is used to connect the pins of the power device and the sampling module, respectively. The sampling module is also connected to the detection module. The detection module is connected to the first indicator module and the second indicator module, respectively. The sampling module is used to obtain the sampling current at the pin of the power device; The detection module is used to control the first indicator module to operate when the sampling current is greater than a preset threshold, so as to indicate that the module under test is short-circuited; and to control the second indicator module to operate when the sampling current is less than the preset threshold, so as to indicate that the module under test is not short-circuited.

2. The short-circuit detection circuit according to claim 1, characterized in that, The detection module includes an amplifier U1A, a comparator U2A, a resistor R16, and a capacitor C2; The first input terminal of amplifier U1A is connected to the first terminal of the sampling module, the second input terminal of amplifier U1A is connected to the second terminal of the sampling module, the two ends of capacitor C2 are respectively connected to the second input terminal and the output terminal of amplifier U1A, the resistor R16 is connected in parallel with capacitor C2, the output terminal of amplifier U1A is connected to the first input terminal of comparator U2A, the second input terminal of comparator U2A is used to receive the reference voltage, and the output terminal of comparator U2A is connected to the first indicator module and the second indicator module. The amplifier U1A is used to output a high-level signal when the sampling current is greater than a preset threshold, and to output a low-level signal when the sampling current is less than the preset threshold. The comparator U2A is configured to output a first control signal to the first indicator module when a high-level signal is received, so that the first indicator module indicates that the module under test is short-circuited; and to output a second control signal to the second indicator module when a low-level signal is received, so that the second indicator module indicates that the module under test is not short-circuited.

3. The short-circuit detection circuit according to claim 2, characterized in that, The first indicator module includes a resistor R6, a light-emitting diode LED2, and a switching transistor Q1. The first terminal of the light-emitting diode LED2 receives the power supply voltage through the resistor R6. The second terminal of the light-emitting diode LED2 is connected to the first terminal of the switching transistor Q1, and the second terminal of the switching transistor Q1 is grounded. The control terminal of the switching transistor Q1 is connected to the output terminal of the comparator U2A.

4. The short-circuit detection circuit according to claim 2, characterized in that, The second indicator module includes a resistor R9 and a light-emitting diode LED1. The first terminal of the light-emitting diode LED1 receives the power supply voltage through the resistor R9, and the second terminal of the light-emitting diode LED1 is connected to the output terminal of the comparator U2A.

5. The short-circuit detection circuit according to claim 2, characterized in that, The sampling module includes resistors R11, R12, Rm1, and R7. The first end of resistor Rm1 is connected to the second connection terminal through resistor R7, and the second end of resistor Rm1 is grounded. The first end of resistor Rm1 is connected to the first input terminal of amplifier U1A through resistor R11, and the second end of resistor Rm1 is connected to the second input terminal of amplifier U1A through resistor R12.

6. The short-circuit detection circuit according to claim 2, characterized in that, The detection module also includes a capacitor C1 and a resistor R10. The first end of the capacitor C1 is connected to the first input terminal of the amplifier U1A, the second end of the capacitor C1 is grounded, and the resistor R10 is connected in parallel with the capacitor C1.

7. The short-circuit detection circuit according to claim 2, characterized in that, The circuit also includes a voltage regulator module, which is used to connect to the power supply, the first indicator module and the second indicator module respectively, so as to provide a power supply voltage to the first indicator module and the second indicator module in conjunction with the power supply.

8. The short-circuit detection circuit according to claim 7, characterized in that, The voltage regulator module includes resistors R2 and R4, a Zener diode DZ1, and resistor R3. The first end of resistor R4 is connected to the power supply through resistor R2, and the second end of resistor R4 is grounded. The cathode of Zener diode DZ1 is connected to the first end of resistor R4, and the anode of Zener diode DZ1 is connected to the second end of resistor R4. The second end of resistor R4 provides a power supply voltage to the first indicator module and the second indicator module through resistor R3.

9. The short-circuit detection circuit according to claim 8, characterized in that, The voltage regulator module also includes resistors R5, R8 and R15. The first end of resistor R5 is connected to the first end of resistor R4 through resistor R3. The second end of resistor R5 is connected to the second input terminal of comparator U2A through resistor R8. The second input terminal of comparator U2A is grounded through resistor R15.

10. An electronic device, characterized in that, Includes the short-circuit detection circuit as described in any one of claims 1-9.