Electronic device and protection circuit thereof

By combining sampling circuits, hysteresis comparator circuits, and control circuits, high-voltage protection for switching circuits is achieved, solving the high cost problem caused by MCUs in existing technologies and improving the response speed and reliability of electronic devices.

CN225020077UActive Publication Date: 2026-11-24FUJIAN HAIRUIDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522666125.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-11-24
Estimated Expiration
2035-12-16

AI Technical Summary

Technical Problem

Existing high-voltage protection devices typically use MCUs for control, resulting in high costs for electronic equipment.

Method used

The switching circuit is controlled by a sampling circuit, a hysteresis comparator circuit, and a control circuit. The sampling circuit collects the input voltage, the hysteresis comparator circuit compares the voltage, and the control circuit generates a control signal based on the output signal to control the state of the switching circuit. No MCU is required.

Benefits of technology

This reduced the cost of electronic devices and improved response speed and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN225020077U_ABST
    Figure CN225020077U_ABST
Patent Text Reader

Abstract

This application provides an electronic device and its protection circuit. The protection circuit includes: a sampling circuit connected between the power grid and the switching circuit for acquiring an input voltage; a hysteresis comparator circuit connected to the sampling circuit for receiving the input voltage; and a control circuit connected to both the hysteresis comparator circuit and the switching circuit for generating a control signal based on the output signal received from the hysteresis comparator circuit to control the switching circuit to open or close. The output terminal of the control circuit is further connected to the hysteresis comparator circuit, which generates the output signal based on the input voltage and the control signal. This approach reduces costs, improves response speed, and enhances the reliability of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic circuit technology, and in particular to an electronic device and its protection circuit. Background Technology

[0002] Electronic devices need to operate within a reliable voltage range to ensure stable operation, often requiring the addition of high-voltage protection devices at the power supply point. Existing high-voltage protection devices typically use MCUs (Microcontroller Units) for control, resulting in high costs for these electronic devices. Utility Model Content

[0003] To address the aforementioned technical problems, this application provides an electronic device and its protection circuit, which can solve the problem of high cost.

[0004] This application provides a protection circuit applied to an electronic device, the electronic device being connected to a power grid via a switching circuit, the protection circuit being connected to the switching circuit, and the protection circuit comprising:

[0005] A sampling circuit, connected between the power grid and the switching circuit, is used to acquire the input voltage;

[0006] A hysteresis comparator circuit, connected to the sampling circuit, is used to receive the input voltage;

[0007] A control circuit, connected to the hysteresis comparator circuit and the switching circuit respectively, is used to generate a control signal based on the output signal received from the hysteresis comparator circuit, so as to control the switching circuit to open or close.

[0008] The output of the control circuit is further connected to the hysteresis comparator circuit, which generates the output signal based on the input voltage and the control signal.

[0009] The control circuit includes a drive circuit and an interlock circuit. The interlock circuit is connected to the hysteresis comparator circuit and the drive circuit, respectively. The drive circuit is connected to the switch circuit and the hysteresis comparator circuit, respectively, and is used to output control signals.

[0010] The interlock circuit includes a first resistor, a second resistor, a third resistor, a first switch, and a second switch. The control terminal of the first switch, one end of the first resistor, and the first end of the second switch are connected to the hysteresis comparator circuit. The other end of the first resistor is connected to the drive circuit, one end of the second resistor, and the second end of the first switch. The first end of the first switch is connected to the control terminal of the second switch and one end of the third resistor. The other end of the third resistor is grounded, the second end of the second switch is grounded, and the other end of the second resistor receives a reference voltage.

[0011] The control circuit further includes a reset circuit, which is connected in parallel with the third resistor and is used to reset the interlock circuit.

[0012] The reset circuit includes a switch, one end of which is connected to one end of the third resistor, and the other end of which is connected to the other end of the third resistor.

[0013] The driving circuit includes a fourth resistor, a fifth resistor, and a third switch. One end of the fourth resistor is connected to the other end of the first resistor. The other end of the fourth resistor is connected to one end of the fifth resistor and the control terminal of the third switch. The second terminal of the third switch receives the reference voltage. The other end of the fifth resistor is connected to the second terminal of the third switch. The first terminal of the third switch is connected to the hysteresis comparator circuit and the switching circuit.

[0014] The protection circuit further includes a power supply circuit, which is connected between the power grid and the switching circuit. The power supply circuit is connected to the other end of the second resistor and the second end of the third switching transistor to provide the reference voltage.

[0015] The sampling circuit includes a seventh resistor, an eighth resistor, a capacitor, a first diode, and a second diode. The anode of the first diode is connected to a first connection line between the power grid and the switching circuit. The anode of the second diode is connected to a second connection line between the power grid and the switching circuit. The cathodes of the first diode and the second diode are grounded through the seventh resistor and the eighth resistor. The capacitor is connected in parallel with the eighth resistor. The hysteresis comparator circuit is connected between the seventh resistor and the eighth resistor.

[0016] When the voltage of the power grid continues to rise, the voltage of the capacitor continues to rise until the voltage of the capacitor exceeds the voltage threshold of the hysteresis comparator circuit. The hysteresis comparator circuit outputs a low level, the first and second switches of the control circuit are turned on, the third switch of the control circuit is turned on, and the control signal is high level to control the switching circuit to open.

[0017] This application also provides an electronic device including the above-described protection circuit and switching circuit, wherein the switching circuit is connected to the power grid, and the protection circuit is connected between the power grid and the switching circuit, and is also connected to the switching circuit.

[0018] The beneficial effects of this application are as follows: The protection circuit of this application includes: a sampling circuit connected between the power grid and the switching circuit for acquiring the input voltage; a hysteresis comparator circuit connected to the sampling circuit for receiving the input voltage; and a control circuit connected to both the hysteresis comparator circuit and the switching circuit for generating a control signal based on the output signal received from the hysteresis comparator circuit, thereby controlling the switching circuit to open or close; wherein, the output terminal of the control circuit is further connected to the hysteresis comparator circuit, and the hysteresis comparator circuit generates the output signal based on the input voltage and the control signal. By controlling the switching circuit to open or close through the control circuit, high-voltage protection is achieved for the electronic equipment; the control of the switching circuit through the sampling circuit, hysteresis comparator circuit, and control circuit eliminates the need for an MCU, reducing costs and improving response speed and reliability of the electronic equipment. Attached Figure Description

[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Wherein:

[0020] Figure 1 This is a schematic diagram of the framework of the first embodiment of the protection circuit provided in this application;

[0021] Figure 2 yes Figure 1 A circuit diagram of the first embodiment of the intermediate protection circuit;

[0022] Figure 3 This is a schematic diagram of the first embodiment of the electronic device provided in this application. Detailed Implementation

[0023] The embodiments of the technical solution of this application will now be described in detail with reference to the accompanying drawings. These embodiments are only used to more clearly illustrate the technical solution of this application and are therefore merely examples, and should not be used to limit the scope of protection of this application.

[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0025] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly indicating the number, specific order, or primary and secondary relationship of the indicated technical features.

[0026] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0027] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0028] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0029] In the description of the embodiments of this application, unless otherwise expressly specified and limited, the technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a connection between two components or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0030] This application provides a protection circuit; please refer to [link / reference]. Figure 1 and Figure 2 As shown. Figure 1 This is a schematic diagram of the framework of the first embodiment of the protection circuit provided in this application; Figure 2 yes Figure 1 A circuit diagram of the first embodiment of the protection circuit. The protection circuit 100 of this embodiment is applied to an electronic device 200, which includes, but is not limited to, industrial equipment or textile equipment (e.g., a flat knitting machine).

[0031] In this system, electronic device 200 is connected to power grid 400 via switching circuit 300. Specifically, power grid 400 supplies power to electronic device 200 through switching circuit 300, enabling electronic device 200 to operate. Power grid 400 is the core infrastructure of the power system, consisting of power generation, transmission, transformation, distribution, and user terminals, responsible for the production, transmission, and distribution of electricity. Switching circuit 300 can be any existing switching circuit, and will not be described in detail here.

[0032] In this embodiment, the protection circuit 100 is connected to the switching circuit 300 and is used to control the switching circuit 300 to open or close. The protection circuit 100 in this embodiment includes a sampling circuit 10, a hysteresis comparison circuit 20, and a control circuit 30.

[0033] The sampling circuit 10 is connected between the power grid 400 and the switching circuit 300 to collect the input voltage; that is, the sampling circuit 10 is used to collect the input voltage provided by the power grid 400.

[0034] Hysteresis comparator circuit 20 is connected to sampling circuit 10 and is used to receive the input voltage of sampling circuit 10. For example, hysteresis comparator circuit 20 is provided with a voltage threshold, and is used to compare the input voltage with the voltage threshold to obtain an output signal. Hysteresis comparator circuit 20 can be a hysteresis comparator circuit in the prior art, which will not be described in detail here.

[0035] The control circuit 30 is connected to the hysteresis comparator circuit 20 and the switch circuit 300 respectively. The control circuit 30 is used to generate a control signal based on the output signal of the hysteresis comparator circuit 20. The control circuit 30 controls the switch circuit 300 to open or close through the control signal.

[0036] The output of the control circuit 30 is further connected to the hysteresis comparator circuit 20. The hysteresis comparator circuit 20 receives a control signal from the control circuit 30 and generates an output signal based on the input voltage and the control signal.

[0037] In some embodiments, when the power grid 400 initially powers on the electronic device 200, the switching circuit 300 is turned on, and the power grid 400 supplies power to the electronic device 200 through the switching circuit 300. When the protection circuit 100 detects that the input voltage exceeds a voltage threshold and remains there for a preset time, the control circuit 30 controls the switching circuit 300 to disconnect via a control signal, so that the power grid 400 stops supplying power to the electronic device 200, thereby providing overvoltage protection for the electronic device 200. For example, the voltage threshold includes, but is not limited to, 310V or 320V, and the preset time includes, but is not limited to, 30ms or 35ms.

[0038] The protection circuit 100 of this embodiment includes: a sampling circuit 10 connected between the power grid 400 and the switching circuit 300 for acquiring the input voltage; a hysteresis comparator circuit 20 connected to the sampling circuit 10 for receiving the input voltage; and a control circuit 30 connected to both the hysteresis comparator circuit 20 and the switching circuit 300 for generating a control signal based on the output signal received from the hysteresis comparator circuit 20, thereby controlling the switching circuit 300 to open or close. The output terminal of the control circuit 30 is further connected to the hysteresis comparator circuit 20, which generates an output signal based on the input voltage and the control signal. By controlling the switching circuit 300 to open or close via the control circuit 30, high-voltage protection is achieved for the electronic device 200. Controlling the switching circuit 300 through the sampling circuit 10, the hysteresis comparator circuit 20, and the control circuit 30 eliminates the need for an MCU, reducing costs, improving response speed, and enhancing the reliability of the electronic device 200.

[0039] According to some embodiments of this application, such as Figure 1 and Figure 2 As shown, the control circuit 30 in this embodiment includes a drive circuit 31 and an interlock circuit 32.

[0040] The interlock circuit 32 is connected to the hysteresis comparator circuit 20 and the drive circuit 31 respectively. The drive circuit 31 is connected to the switch circuit 300 and the hysteresis comparator circuit 20 respectively. The drive circuit 31 is used to input control signals.

[0041] The interlock circuit 32 in this embodiment includes a first resistor R1, a second resistor R2, a third resistor R3, a first switch Q1, and a second switch Q2.

[0042] In this circuit, the control terminal of the first switch Q1, one end of the first resistor R1, and the first end of the second switch Q2 are connected to the hysteresis comparator circuit 20. The other end of the first resistor R1 is connected to the drive circuit 31, one end of the second resistor R2, and the second end of the first switch Q1. The first end of the first switch Q1 is connected to the control terminal of the second switch Q2 and one end of the third resistor R3. The other end of the third resistor R3 is grounded, the second end of the second switch Q2 is grounded, and the other end of the second resistor R2 receives the reference voltage VCC.

[0043] In some embodiments, the first switch Q1 is a PNP transistor, with its control terminal being the base, its first terminal being the collector, and its second terminal being the emitter. The second switch Q2 is an NPN transistor, with its control terminal being the base, its first terminal being the collector, and its second terminal being the emitter. In other embodiments, the first and second switches Q1 can be other types of switches, which will not be elaborated further.

[0044] In some embodiments, when the power grid 400 initially powers on the electronic device 200, the reference voltage VCC rises, and the first switch Q1 and the second switch Q2 are turned off. At this time, the output signal of the hysteresis comparator circuit 20 is close to the reference voltage VCC, i.e., the output signal is high. When the output signal of the hysteresis comparator circuit 20 is low, the first switch Q1 and the second switch Q2 are turned on, triggering the latch-up effect of the interlock circuit 32, i.e., the first switch Q1 and the second switch Q2 remain on; for example, the hysteresis comparator circuit 20 stops outputting a low level, while the first switch Q1 and the second switch Q2 remain on.

[0045] The control circuit 30 in this embodiment includes a drive circuit 31 and an interlock circuit 32. The interlock circuit 32 is connected to the hysteresis comparator circuit 20 and the drive circuit 31, respectively. The drive circuit 31 is connected to the switch circuit 300 and the hysteresis comparator circuit 20, respectively. The drive circuit 31 is used to input control signals. The interlock circuit 32 includes a first resistor R1, a second resistor R2, a third resistor R3, a first switch Q1, and a second switch Q2. The control terminal of the first switch Q1, one end of the first resistor R1, and the first end of the second switch Q2 are connected to the hysteresis comparator circuit 20. The other end of the first resistor R1 is connected to the drive circuit 31, one end of the second resistor R2, and the second end of the first switch Q1, respectively. The first end of the first switch Q1 is connected to the control terminal of the second switch Q2 and one end of the third resistor R3, respectively. The other end of the third resistor R3 is grounded, the second end of the second switch Q2 is grounded, and the other end of the second resistor R2 receives the reference voltage VCC. The latch-up effect of the interlock circuit 32 keeps the first switch Q1 and the second switch Q2 on, regardless of the output signal of the hysteresis comparator circuit 20, thereby improving the reliability of the electronic device 200.

[0046] According to some embodiments of this application, such as Figure 1 and Figure 2 As shown, the control circuit 30 in this embodiment also includes a reset circuit 33, which is connected in parallel with the third resistor R3. The reset circuit 33 is used to reset the interlock circuit 32.

[0047] In some embodiments, the reset circuit 33 includes a switch K, one end of which is connected to one end of a third resistor R3, and the other end of which is connected to the other end of the third resistor R3. After the protection circuit 100 completes high-voltage protection for the electronic device 200, the interlock circuit 32 is reset by turning on the switch K.

[0048] The reset circuit 33 in this embodiment includes a switch K, one end of which is connected to one end of the third resistor R3, and the other end of which is connected to the other end of the third resistor R3. The interlock circuit 32 is reset by the reset circuit 33, thereby reducing costs.

[0049] According to some embodiments of this application, such as Figure 1 and Figure 2 As shown, the driving circuit 31 in this embodiment includes a fourth resistor R4, a fifth resistor R5, and a third switch Q3.

[0050] In this circuit, one end of the fourth resistor R4 is connected to the other end of the first resistor R1, and the other end of the fourth resistor R4 is connected to one end of the fifth resistor R5 and the control terminal of the third switch Q3. The second terminal of the third switch Q3 receives the reference voltage VCC, the other end of the fifth resistor R5 is connected to the second terminal of the third switch Q3, and the first terminal of the third switch Q3 is connected to the hysteresis comparator circuit 20 and the switching circuit 300.

[0051] In some embodiments, the type of the third switch Q3 is the same as that of the first switch Q1, and will not be described again here. The driving circuit 31 in this embodiment also includes a sixth resistor R6, and the first terminal of the third switch Q3 is connected to the hysteresis comparator circuit 20 and the switching circuit 300 through the sixth resistor R6.

[0052] In some embodiments, when the power grid 400 initially powers on the electronic device 200, the reference voltage VCC rises, and the first switch Q1 and the second switch Q2 are turned off. At this time, the output signal of the hysteresis comparator circuit 20 is close to the reference voltage VCC, i.e., the output signal is high. At this time, the third switch Q3 is turned off, the switching circuit 300 is turned on, and the power grid 400 supplies power to the electronic device 200 through the switching circuit 300. As the input voltage of the power grid 400 continues to rise until the hysteresis comparator circuit 20 detects that the input voltage exceeds the voltage threshold, the output signal of the hysteresis comparator circuit 20 is low. At this time, the first switch Q1 and the second switch Q2 are turned on, the output signal of the hysteresis comparator circuit 20 remains low, the third switch Q3 is turned on, the control signal output by the drive circuit 31 is high, controlling the switching circuit 300 to turn off, and the power grid 400 stops supplying power to the electronic device 200, thus achieving overvoltage protection.

[0053] The driving circuit 31 in this embodiment includes a fourth resistor R4, a fifth resistor R5, and a third switch Q3. One end of the fourth resistor R4 is connected to the other end of the first resistor R1, and the other end of the fourth resistor R4 is connected to one end of the fifth resistor R5 and the control terminal of the third switch Q3. The second terminal of the third switch Q3 receives the reference voltage VCC, and the other end of the fifth resistor R5 is connected to the second terminal of the third switch Q3. The first terminal of the third switch Q3 is connected to the hysteresis comparator circuit 20 and the switching circuit 300. Overvoltage protection is achieved through the driving circuit 31, improving the reliability of the electronic device 200.

[0054] According to some embodiments of this application, such as Figure 1 and Figure 2 As shown, the protection circuit 100 of this embodiment also includes a power supply circuit 40, which is connected between the power grid 400 and the switching circuit 300. The power supply circuit 40 is connected to the other end of the second resistor R2 and the second end of the third switching transistor Q3 to provide a reference voltage VCC.

[0055] In some embodiments, the input terminal of the power supply circuit 40 is connected between the power grid 400 and the switching circuit 300, and the output terminal of the power supply circuit 40 is connected to the other end of the second resistor R2 and the second end of the third switching transistor Q3, respectively, to provide a reference voltage VCC.

[0056] The sampling circuit 10 in this embodiment includes a seventh resistor R7, an eighth resistor R8, a capacitor C, a first diode D1, and a second diode D2.

[0057] The positive terminal of the first diode D1 is connected to the first connection line between the power grid 400 and the switching circuit 300. The positive terminal of the second diode D2 is connected to the second connection line between the power grid 400 and the switching circuit 300. The negative terminals of the first diode D1 and the second diode D2 are grounded through the seventh resistor R7 and the eighth resistor R8. The capacitor C is connected in parallel with the eighth resistor R8. The hysteresis comparator circuit 20 is connected between the seventh resistor R7 and the eighth resistor R8.

[0058] In some embodiments, the preset time in the above embodiments is related to the seventh resistor R7 and the capacitor C; the larger the resistance value of the seventh resistor R7, the longer the preset time; the larger the capacitance value of the capacitor C, the longer the preset time. The voltage threshold in the above embodiments is related to the seventh resistor R7 and the eighth resistor R8; the larger the resistance value of the seventh resistor R7, the smaller the voltage threshold; the larger the resistance value of the eighth resistor R8, the larger the voltage threshold.

[0059] In some embodiments, when the voltage of the power grid 400 continues to rise, the voltage of capacitor C continues to rise until the voltage of capacitor C exceeds the voltage threshold of the hysteresis comparator circuit 20. The hysteresis comparator circuit 20 outputs a low level, the first switch Q1 and the second switch Q2 of the control circuit 30 are turned on, the third switch Q3 of the control circuit 30 is turned on, and the control signal is high level to control the switch circuit 300 to disconnect, thereby realizing overvoltage protection.

[0060] This application also provides an electronic device 200, such as... Figure 3 As shown, the electronic device 200 in this embodiment includes a protection circuit 100 and a switching circuit 300. The protection circuit 100 can be the protection circuit 100 in the above embodiment, and will not be described again here.

[0061] The switching circuit 300 is connected to the power grid 400, and the protection circuit 100 is connected between the power grid 400 and the switching circuit 300, and is also connected to the switching circuit 300.

[0062] In summary, the protection circuit 100 of this application includes: a sampling circuit 10 connected between the power grid 400 and the switching circuit 300 for acquiring the input voltage; a hysteresis comparator circuit 20 connected to the sampling circuit 10 for receiving the input voltage; and a control circuit 30 connected to both the hysteresis comparator circuit 20 and the switching circuit 300 for generating a control signal based on the output signal received from the hysteresis comparator circuit 20, thereby controlling the switching circuit 300 to open or close. The output terminal of the control circuit 30 is further connected to the hysteresis comparator circuit 20, which generates an output signal based on the input voltage and the control signal. By controlling the switching circuit 300 to open or close via the control circuit 30, high-voltage protection is achieved for the electronic device 200. Controlling the switching circuit 300 through the sampling circuit 10, the hysteresis comparator circuit 20, and the control circuit 30 eliminates the need for an MCU, reducing costs, improving response speed, and enhancing the reliability of the electronic device 200.

[0063] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A protection circuit, characterized in that, Applied to an electronic device, the electronic device is connected to the power grid via a switching circuit, and the protection circuit is connected to the switching circuit, the protection circuit comprising: A sampling circuit, connected between the power grid and the switching circuit, is used to acquire the input voltage; A hysteresis comparator circuit, connected to the sampling circuit, is used to receive the input voltage; A control circuit, connected to the hysteresis comparator circuit and the switching circuit respectively, is used to generate a control signal based on the output signal received from the hysteresis comparator circuit, so as to control the switching circuit to open or close. The output of the control circuit is further connected to the hysteresis comparator circuit, which generates the output signal based on the input voltage and the control signal.

2. The protection circuit according to claim 1, characterized in that, The control circuit includes a drive circuit and an interlock circuit. The interlock circuit is connected to the hysteresis comparator circuit and the drive circuit, respectively. The drive circuit is connected to the switch circuit and the hysteresis comparator circuit, respectively, and is used to output control signals.

3. The protection circuit according to claim 2, characterized in that, The interlock circuit includes a first resistor, a second resistor, a third resistor, a first switch, and a second switch. The control terminal of the first switch, one end of the first resistor, and the first end of the second switch are connected to the hysteresis comparator circuit. The other end of the first resistor is connected to the drive circuit, one end of the second resistor, and the second end of the first switch. The first end of the first switch is connected to the control terminal of the second switch and one end of the third resistor. The other end of the third resistor is grounded, the second end of the second switch is grounded, and the other end of the second resistor receives a reference voltage.

4. The protection circuit according to claim 3, characterized in that, The control circuit also includes a reset circuit, which is connected in parallel with the third resistor and is used to reset the interlock circuit.

5. The protection circuit according to claim 4, characterized in that, The reset circuit includes a switch, one end of which is connected to one end of the third resistor, and the other end of which is connected to the other end of the third resistor.

6. The protection circuit according to claim 3, characterized in that, The driving circuit includes a fourth resistor, a fifth resistor, and a third switch. One end of the fourth resistor is connected to the other end of the first resistor. The other end of the fourth resistor is connected to one end of the fifth resistor and the control terminal of the third switch. The second terminal of the third switch receives the reference voltage. The other end of the fifth resistor is connected to the second terminal of the third switch. The first terminal of the third switch is connected to the hysteresis comparator circuit and the switching circuit.

7. The protection circuit according to claim 6, characterized in that, The protection circuit also includes a power supply circuit connected between the power grid and the switching circuit. The power supply circuit is connected to the other end of the second resistor and the second end of the third switching transistor to provide the reference voltage.

8. The protection circuit according to any one of claims 1-7, characterized in that, The sampling circuit includes a seventh resistor, an eighth resistor, a capacitor, a first diode, and a second diode. The anode of the first diode is connected to a first connection line between the power grid and the switching circuit. The anode of the second diode is connected to a second connection line between the power grid and the switching circuit. The cathodes of the first diode and the second diode are grounded through the seventh resistor and the eighth resistor. The capacitor is connected in parallel with the eighth resistor. The hysteresis comparator circuit is connected between the seventh resistor and the eighth resistor.

9. The protection circuit according to claim 7, characterized in that, As the voltage of the power grid continues to rise, the voltage of the capacitor continues to rise until the voltage of the capacitor exceeds the voltage threshold of the hysteresis comparator circuit. The hysteresis comparator circuit outputs a low level, the first and second switches of the control circuit are turned on, the third switch of the control circuit is turned on, and the control signal is high to control the switching circuit to open.

10. An electronic device, characterized in that, It includes a protection circuit as described in any one of claims 1-9 and a switching circuit, wherein the switching circuit is connected to the power grid, the protection circuit is connected between the power grid and the switching circuit, and is connected to the switching circuit.