Multifunctional MOS switching circuit

By designing a multifunctional MOS switch circuit, using the coordinated work of multiple modules, the two-way transmission control and overvoltage detection of electric energy are realized, which solves the problems of complex and high control in the prior art, and improves the safety and efficiency of the circuit.

CN222691718UActive Publication Date: 2025-03-28JIANGSU NENGCHENG ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421441213.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2025-03-28
Estimated Expiration
2034-06-24

AI Technical Summary

Technical Problem

When the existing MOS switch circuit realizes bidirectional transmission of electrical energy, the control methods are complex and cannot automatically control the conduction state of the MOS tube. In addition, both ends need to be detected during overvoltage detection, resulting in high circuit cost.

Method used

A multifunctional MOS switch circuit is designed, including a first interface module, a MOS switch module, a second interface module, an input detection module, a switch switching module, a path switching module and an overvoltage detection module. Through the coordinated work of these modules, the two-way transmission control of electric energy is realized and overvoltage detection is performed at different access locations.

Benefits of technology

The two-way transmission control of electric energy is realized, which avoids the occurrence of return flow, and reduces the circuit cost and improves the safety of the circuit through overvoltage detection of the access position.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222691718U_ABST
    Figure CN222691718U_ABST
Patent Text Reader

Abstract

The utility model discloses a multifunctional MOS switch circuit, which relates to the technical field of MOS switches, and comprises a first interface module, a second interface module, a third interface module and a fourth interface module, the MOS switch module is used for electric energy two-way transmission control; the second interface module is used for accessing electric energy and receiving the electric energy; the input detection module is used for detecting whether the second interface module accesses the electric energy earlier than the first interface module and controlling the switch switching module to switch the electric energy transmission direction of the MOS switch module when the second interface module accesses the electric energy earlier than the first interface module; and the access switching module is used for directly transmitting the accessed electric energy to the overvoltage detection module, and the overvoltage detection module carries out overvoltage detection and power-off control. According to the multifunctional MOS switch circuit, bidirectional transmission control of electric energy can be realized, backflow can be avoided, overvoltage detection can be carried out on an electric energy access position, and circuit safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of MOS switches, in particular to a multifunctional MOS switch circuit. Background Art

[0002] MOS tube, the full name of MOSFET (Metal-Oxide-Semiconductor Field-Effect Transistor), also known as field effect tube, can realize single-phase conduction of electric energy and can generally be used as a charging switch for lithium batteries. In addition, the MOS switch circuit in the prior art generally adopts two groups of MOS tubes in series to realize bidirectional transmission of electric energy, which are driven and controlled by a related controller. Not only is the control method complicated, but it is also impossible to automatically control the conduction state of the MOS tube according to the supply direction of electric energy. In addition, when over-voltage detection is performed on the input electric energy, over-voltage detection needs to be performed on both ends, and the circuit cost is relatively high, so it needs to be improved. Utility Model Content

[0003] The embodiment of the utility model provides a multifunctional MOS switch circuit to solve the problems raised in the above background technology.

[0004] In order to achieve the above purpose, the utility model provides the following technical solutions:

[0005] A multifunctional MOS switch circuit comprises: a first interface module, a MOS switch module, a second interface module, an input detection module, a switch switching module, a path switching module and an overvoltage detection module;

[0006] A first interface module, connected to the MOS switch module, for receiving the first DC power and receiving the second DC power transmitted by the MOS switch module;

[0007] a MOS switch module connected to the switch switching module and the second interface module, and configured to transmit the first DC power to the second interface module upon receiving a first control signal output by the switch switching module, and transmit the second DC power connected to the second interface module to the first interface module upon receiving a second control signal output by the switch switching module;

[0008] A second interface module, used for accessing the second DC power and receiving the first DC power transmitted by the MOS switch module;

[0009] An input detection module, connected to the first interface module and the second interface module, configured to output a third control signal by signal self-locking when the second interface module is connected to the second DC power and the first interface module is not connected to the first DC power, and to stop the signal self-locking operation when the second interface module stops connecting to the second DC power;

[0010] a switch switching module, connected to the input detection module, and configured to output a first control signal, and when receiving a third control signal, stop outputting the first control signal and output a second control signal;

[0011] a path switching module, connected to the first interface module, the switch switching module, the second interface module and the overvoltage detection module, and configured to transmit the first DC power to the overvoltage detection module, and transmit the second DC power to the overvoltage detection module upon receiving the second control signal;

[0012] An overvoltage detection module is connected to the MOS switch module and is used to set an overvoltage threshold, perform voltage division processing on the input first DC power and output a first detection signal, perform voltage division processing on the input second DC power and output a second detection signal, and control the MOS switch module to stop transmitting power when the first detection signal or the second detection signal is greater than the overvoltage threshold.

[0013] As a further solution of the utility model: the first interface module includes a first interface and a first capacitor; the MOS switch module includes a first MOS transistor and a second MOS transistor; the second interface module includes a second interface and a second capacitor;

[0014] Preferably, the first end of the first interface is connected to the first end of the first capacitor and the drain of the first MOS tube, the source of the first MOS tube is connected to the source of the second MOS tube, the drain of the second MOS tube is connected to the first end of the second capacitor and the first end of the second interface, the second end of the first interface, the second end of the first capacitor, the second end of the second interface and the second end of the second capacitor are all grounded, and the gate of the first MOS tube and the gate of the second MOS tube are both connected to the switch switching module.

[0015] As a further solution of the utility model: the switch switching module includes a first power supply, an eighth resistor, a ninth resistor, a first optical coupler, a seventh resistor, a fourth switch tube and a first inverter;

[0016] Preferably, the first power supply is connected to the first end of the first optocoupler through the ninth resistor, the second end of the first optocoupler is connected to the collector of the fourth switch tube, the emitter of the fourth switch tube is grounded, the third end of the first optocoupler is connected to the first end of the eighth resistor, the second end of the eighth resistor is connected to the first end of the second interface, the fourth end of the first optocoupler is connected to the input end of the first inverter and the gate of the second MOS tube and is grounded through the seventh resistor, the output end of the first inverter is connected to the gate of the first MOS tube, and the base of the fourth switch tube is connected to the input detection module.

[0017] As a further solution of the utility model: the path switching module includes a first relay, a third switch tube, a sixth resistor and a first relay switch;

[0018] Preferably, one end of the first relay is connected to the first end of the eighth resistor, the other end of the first relay is connected to the collector of the third switching tube, the emitter of the third switching tube is grounded, the base of the third switching tube is connected to the fourth end of the first optocoupler through the sixth resistor, the first fixed end of the first relay switch is connected to the first end of the first interface, the first moving end of the first relay switch is connected to the second moving end of the first relay switch and the overvoltage detection module, and the second fixed end of the first relay switch is connected to the first end of the second interface.

[0019] As a further solution of the utility model: the overvoltage detection module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first comparator, a fifth resistor, a first switch tube and a second switch tube;

[0020] Preferably, one end of the first resistor is connected to one end of the third resistor and the first moving end of the first relay switch, the other end of the first resistor is connected to the in-phase end of the first comparator and is grounded through the second resistor, the other end of the third resistor is connected to the inverting end of the first comparator and is grounded through the fourth resistor, the output end of the first comparator is connected to the base of the first switch tube and the base of the second switch tube through the fifth resistor, the collector of the first switch tube is connected to the gate of the first MOS tube, the collector of the second switch tube is connected to the gate of the second MOS tube, and the emitter of the first switch tube and the emitter of the second switch tube are both grounded.

[0021] As a further solution of the utility model: the input detection module includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a second comparator, a first diode, a second diode and a first logic chip;

[0022] Preferably, one end of the tenth resistor is connected to the first end of the second interface, the other end of the tenth resistor is connected to the in-phase end of the second comparator and the B end of the first logic chip and is grounded through an eleventh resistor, one end of the twelfth resistor is connected to the first end of the first interface, the other end of the twelfth resistor is connected to the inverting end of the second comparator and is grounded through a thirteenth resistor, the output end of the second comparator is connected to the anode of the first diode, the cathode of the first diode is connected to the A end of the first logic chip and the cathode of the second diode, and the anode of the second diode is connected to the F end of the first logic chip and the base of the fourth switching tube.

[0023] Compared with the prior art, the beneficial effects of the utility model are as follows: the multifunctional MOS switch circuit of the utility model can control the MOS switch module to transmit the electric energy connected to the first interface module to the second interface module by the switch switching module, and can also control the MOS switch module to transmit the electric energy connected to the second interface module to the first interface module in cooperation with the switch switching module when the second interface module is connected to the electric energy before the first interface module, thereby realizing bidirectional transmission control of electric energy and avoiding the occurrence of backflow. At the same time, the path switching module can control the overvoltage detection module to perform overvoltage detection on the first interface module or the second interface module according to the access position of the electric energy, thereby reducing circuit cost and improving circuit safety. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the description of the embodiments of the utility model will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0025] Figure 1 The present invention provides a schematic block diagram of a multifunctional MOS switch circuit.

[0026] Figure 2 A circuit diagram of a multifunctional MOS switch circuit provided in an example of the utility model.

[0027] Figure 3 This is a connection circuit diagram of the input detection module provided by an example of the utility model. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0029] In one embodiment, see Figure 1 , a multifunctional MOS switch circuit, comprising: a first interface module 1, a MOS switch module 2, a second interface module 3, an input detection module 4, a switch switching module 5, a path switching module 6 and an overvoltage detection module 7;

[0030] Specifically, the first interface module 1 is connected to the MOS switch module 2 and is used to access the first DC power and receive the second DC power transmitted by the MOS switch module 2;

[0031] The MOS switch module 2 is connected to the switch switching module 5 and the second interface module 3, and is used to transmit the first DC power to the second interface module 3 when receiving the first control signal output by the switch switching module 5, and transmit the second DC power connected to the second interface module 3 to the first interface module 1 when receiving the second control signal output by the switch switching module 5;

[0032] The second interface module 3 is used to access the second DC power and receive the first DC power transmitted by the MOS switch module 2;

[0033] An input detection module 4 is connected to the first interface module 1 and the second interface module 3, and is used to perform signal self-locking and output a third control signal when the second interface module 3 is connected to the second DC power and the first interface module 1 is not connected to the first DC power, and stop the signal self-locking work when the second interface module 3 stops connecting to the second DC power;

[0034] A switch switching module 5, connected to the input detection module 4, configured to output a first control signal, and when receiving a third control signal, stop outputting the first control signal and output a second control signal;

[0035] a path switching module 6 connected to the first interface module 1, the switch switching module 5, the second interface module 3 and the overvoltage detection module 7, and configured to transmit the first DC power to the overvoltage detection module 7, and transmit the second DC power to the overvoltage detection module 7 upon receiving the second control signal;

[0036] The overvoltage detection module 7 is connected to the MOS switch module 2, and is used to set the overvoltage threshold, perform voltage division processing on the input first DC power and output a first detection signal, perform voltage division processing on the input second DC power and output a second detection signal, and control the MOS switch module 2 to stop transmitting power when the first detection signal or the second detection signal is greater than the overvoltage threshold.

[0037] In a specific embodiment, the first interface module 1 may adopt a first interface circuit composed of a first interface and a capacitor, which may be connected to direct current power and receive power transmitted by the MOS switch module 2; the MOS switch module 2 may adopt a MOS switch circuit composed of a MOS tube to perform bidirectional transmission control of power and avoid backflow; the second interface module 3 may adopt a second interface circuit composed of a second interface and a capacitor, which may be connected to direct current power and receive power transmitted by the MOS switch module 2; the input detection module 4 may adopt an input detection circuit composed of a resistor, a comparator, a logic chip, etc., which may detect whether the second interface module 3 is connected to power before the first interface module 1, and when the second interface module 3 is connected to power first, the signal is self-locked and a high-level state signal is output. The switch switching module 5 may adopt a switch switching circuit composed of a photoelectric coupler, an inverter, a resistor, etc., and may control the power transmission state of the MOS switch module 2 according to the level state of the signal output by the received input detection module 4; the path switching module 6 may adopt a path switching circuit composed of a relay, a transistor, a resistor, etc., and may transmit the power connected to the first interface module 1 or the power connected to the second interface module 3 to the overvoltage detection module 7; the overvoltage detection module 7 may adopt an overvoltage detection circuit composed of a resistor, a comparator and a transistor, and may set an overvoltage threshold and perform voltage division processing on the input signal, judge the size relationship between the signal after voltage division and the overvoltage threshold, and control the MOS switch module 2 to stop working when the signal after voltage division is greater than the overvoltage threshold.

[0038] In another embodiment, see Figure 1 , Figure 2 and Figure 3 The first interface module 1 includes a first interface and a first capacitor C1; the MOS switch module 2 includes a first MOS transistor Q1 and a second MOS transistor Q2; the second interface module 3 includes a second interface and a second capacitor C2;

[0039] Specifically, the first end of the first interface is connected to the first end of the first capacitor C1 and the drain of the first MOS tube Q1, the source of the first MOS tube Q1 is connected to the source of the second MOS tube Q2, the drain of the second MOS tube Q2 is connected to the first end of the second capacitor C2 and the first end of the second interface, the second end of the first interface, the second end of the first capacitor C1, the second end of the second interface and the second end of the second capacitor C2 are all grounded, and the gate of the first MOS tube Q1 and the gate of the second MOS tube Q2 are both connected to the switch switching module 5.

[0040] In a specific embodiment, both the first MOS transistor Q1 and the second MOS transistor Q2 can be N-channel MOS transistors with body diodes. The first MOS transistor Q1 transmits the power connected to the first interface to the second interface, and the second MOS transistor Q2 transmits the power connected to the second interface to the first interface.

[0041] Furthermore, the switch switching module 5 includes a first power supply VCC1, an eighth resistor R8, a ninth resistor R9, a first optical coupler J1, a seventh resistor R7, a fourth switch tube V4 and a first inverter INV1;

[0042] Specifically, the first power supply VCC1 is connected to the first end of the first optocoupler J1 through the ninth resistor R9, the second end of the first optocoupler J1 is connected to the collector of the fourth switch tube V4, the emitter of the fourth switch tube V4 is grounded, the third end of the first optocoupler J1 is connected to the first end of the eighth resistor R8, the second end of the eighth resistor R8 is connected to the first end of the second interface, the fourth end of the first optocoupler J1 is connected to the input end of the first inverter INV1 and the gate of the second MOS tube Q2 and is grounded through the seventh resistor R7, the output end of the first inverter INV1 is connected to the gate of the first MOS tube Q1, and the base of the fourth switch tube V4 is connected to the input detection module 4.

[0043] In a specific embodiment, the first optical coupler J1 may be a PC817 photoelectric coupler; the first inverter INV1 may be a NOT gate chip; and the fourth switch tube V4 may be an NPN transistor.

[0044] Furthermore, the path switching module 6 includes a first relay K1, a third switch tube V3, a sixth resistor R6 and a first relay switch K1-1;

[0045] Specifically, one end of the first relay K1 is connected to the first end of the eighth resistor R8, the other end of the first relay K1 is connected to the collector of the third switch tube V3, the emitter of the third switch tube V3 is grounded, the base of the third switch tube V3 is connected to the fourth end of the first optocoupler J1 through the sixth resistor R6, the first fixed end of the first relay switch K1-1 is connected to the first end of the first interface, the first moving end of the first relay switch K1-1 is connected to the second moving end of the first relay switch K1-1 and the overvoltage detection module 7, and the second fixed end of the first relay switch K1-1 is connected to the first end of the second interface.

[0046] In a specific embodiment, the first fixed end and the first moving end of the first relay switch K1-1 are normally closed switches, the second moving end and the second fixed end of the first relay switch K1-1 are normally open switches, and the switching state of the first relay switch K1-1 is controlled by the first relay K1 through magnetic attraction; the third switch tube V3 can select an NPN transistor.

[0047] Furthermore, the overvoltage detection module 7 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first comparator A1, a fifth resistor R5, a first switch tube V1 and a second switch tube V2;

[0048] Specifically, one end of the first resistor R1 is connected to one end of the third resistor R3 and the first moving end of the first relay switch K1-1, the other end of the first resistor R1 is connected to the in-phase end of the first comparator A1 and is grounded through the second resistor R2, the other end of the third resistor R3 is connected to the inverting end of the first comparator A1 and is grounded through the fourth resistor R4, the output end of the first comparator A1 is connected to the base of the first switch tube V1 and the base of the second switch tube V2 through the fifth resistor R5, the collector of the first switch tube V1 is connected to the gate of the first MOS tube Q1, the collector of the second switch tube V2 is connected to the gate of the second MOS tube Q2, and the emitter of the first switch tube V1 and the emitter of the second switch tube V2 are both grounded.

[0049] In a specific embodiment, the first comparator A1 can use LM358 comparator, the third resistor R3 and the fourth resistor R4 provide overvoltage threshold, the first resistor R1 and the second resistor R2 perform voltage division processing; the first comparator A1 and the second comparator A2 can both use NPN transistors.

[0050] Further, the input detection module 4 includes a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a second comparator A2, a first diode D1, a second diode D2 and a first logic chip U1;

[0051] Specifically, one end of the tenth resistor R10 is connected to the first end of the second interface, the other end of the tenth resistor R10 is connected to the in-phase end of the second comparator A2 and the B end of the first logic chip U1 and is grounded through the eleventh resistor R11, one end of the twelfth resistor R12 is connected to the first end of the first interface, the other end of the twelfth resistor R12 is connected to the inverting end of the second comparator A2 and is grounded through the thirteenth resistor R13, the output end of the second comparator A2 is connected to the anode of the first diode D1, the cathode of the first diode D1 is connected to the A end of the first logic chip U1 and the cathode of the second diode D2, and the anode of the second diode D2 is connected to the F end of the first logic chip U1 and the base of the fourth switch tube V4.

[0052] In a specific embodiment, the second comparator A2 may use an LM358 comparator; the first logic chip U1 may use an AND gate chip. When the B terminal of the first logic chip U1 is in a high level state, the high level signal input to the A terminal of the first logic chip U1 can be self-locked in cooperation with the first diode D1 and the second diode D2.

[0053] In a multifunctional MOS switch circuit of the present embodiment, when the first interface is connected to the first DC power, the input end of the first inverter INV1 is at a low level, the output end of the first inverter INV1 will be at a high level and control the first MOS tube Q1 to be turned on, so that the first DC power connected to the first interface is transmitted to the second interface through the body diodes on the first MOS tube Q1 and the second MOS tube Q2, and the first DC power connected to the first interface is transmitted to the first resistor R1 and the second resistor R2 through the first relay switch K1-1, and the first resistor R1 and the second resistor R2 perform voltage division, and the voltage-divided power is compared with the overvoltage threshold set by the third resistor R3 and the fourth resistor R4. When the voltage-divided signal is greater than the overvoltage threshold, the first comparator A1 outputs a high level and controls the first switch tube V1 and the second switch tube V2 to be turned on, the first MOS tube Q1 will be turned off, and the power transmission work will be stopped. If the second interface is connected to the second DC power and the first interface is not connected to the first DC power, the second comparator A2 will The output is high level, so that the A end of the first logic chip U1 is high level, and the second DC power makes the B end of the first logic chip U1 high level. At this time, the F end of the first logic chip U1 will output a high level and control the fourth switch tube V4 to turn on, the first optical coupler J1 is turned on, triggering the second MOS tube Q2 and the third switch tube V3 to turn on, and the second DC power connected to the second interface is transmitted to the first interface through the second MOS tube Q2 and the body diode on the first MOS tube Q1. The output end of the first inverter INV1 becomes low level and controls the first MOS tube Q1 to be turned off. The third switch tube V3 controls the first relay K1 to be energized, and controls the second fixed end and the second movable end of the first relay switch K1-1 to be closed, so that the first resistor R1 and the second resistor R2 divide the second DC power. When the divided power is greater than the overvoltage threshold, the first comparator A1 outputs a high level, the second switch tube V2 and the first switch tube V1 are turned on, and the second MOS tube Q2 and the first MOS tube Q1 are both turned off, and the power transmission is stopped.

[0054] It is obvious to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments should be regarded as exemplary and non-restrictive from any point of view, and the scope of the present invention is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims be included in the present invention. Any reference numeral in a claim should not be regarded as limiting the claim to which it relates.

[0055] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.

Claims

1. A multifunctional MOS switch circuit, characterized in that: The multifunctional MOS switch circuit comprises: a first interface module, a MOS switch module, a second interface module, an input detection module, a switch switching module, a path switching module and an overvoltage detection module; The first interface module is connected to the MOS switch module and is used to access the first DC power and receive the second DC power transmitted by the MOS switch module; The MOS switch module is connected to the switch switching module and the second interface module, and is used to transmit the first DC power to the second interface module when receiving the first control signal output by the switch switching module, and transmit the second DC power connected to the second interface module to the first interface module when receiving the second control signal output by the switch switching module; The second interface module is used to access the second DC power and receive the first DC power transmitted by the MOS switch module; The input detection module is connected to the first interface module and the second interface module, and is used to perform signal self-locking and output a third control signal when the second interface module is connected to the second DC power and the first interface module is not connected to the first DC power, and stop the signal self-locking work when the second interface module stops connecting to the second DC power; The switch switching module is connected to the input detection module and is used to output the first control signal, and when receiving the third control signal, stops outputting the first control signal and outputs the second control signal; The path switching module is connected to the first interface module, the switch switching module, the second interface module and the overvoltage detection module, and is used to transmit the first DC power to the overvoltage detection module, and transmit the second DC power to the overvoltage detection module when receiving the second control signal; The overvoltage detection module is connected to the MOS switch module and is used to set an overvoltage threshold, perform voltage division processing on the input first DC power and output a first detection signal, perform voltage division processing on the input second DC power and output a second detection signal, and control the MOS switch module to stop transmitting power when the first detection signal or the second detection signal is greater than the overvoltage threshold.

2. A multifunctional MOS switch circuit according to claim 1, characterized in that: The first interface module includes a first interface and a first capacitor; the MOS switch module includes a first MOS transistor and a second MOS transistor; the second interface module includes a second interface and a second capacitor; The first end of the first interface is connected to the first end of the first capacitor and the drain of the first MOS tube, the source of the first MOS tube is connected to the source of the second MOS tube, the drain of the second MOS tube is connected to the first end of the second capacitor and the first end of the second interface, the second end of the first interface, the second end of the first capacitor, the second end of the second interface and the second end of the second capacitor are all grounded, and the gate of the first MOS tube and the gate of the second MOS tube are both connected to the switch switching module.

3. A multifunctional MOS switch circuit according to claim 2, characterized in that: The switch switching module includes a first power supply, an eighth resistor, a ninth resistor, a first optical coupler, a seventh resistor, a fourth switch tube and a first inverter; The first power supply is connected to the first end of the first optocoupler through the ninth resistor, the second end of the first optocoupler is connected to the collector of the fourth switch tube, the emitter of the fourth switch tube is grounded, the third end of the first optocoupler is connected to the first end of the eighth resistor, the second end of the eighth resistor is connected to the first end of the second interface, the fourth end of the first optocoupler is connected to the input end of the first inverter and the gate of the second MOS tube and is grounded through the seventh resistor, the output end of the first inverter is connected to the gate of the first MOS tube, and the base of the fourth switch tube is connected to the input detection module.

4. A multifunctional MOS switch circuit according to claim 3, characterized in that: The path switching module includes a first relay, a third switch tube, a sixth resistor and a first relay switch; One end of the first relay is connected to the first end of the eighth resistor, the other end of the first relay is connected to the collector of the third switch tube, the emitter of the third switch tube is grounded, the base of the third switch tube is connected to the fourth end of the first optocoupler through the sixth resistor, the first fixed end of the first relay switch is connected to the first end of the first interface, the first moving end of the first relay switch is connected to the second moving end of the first relay switch and the overvoltage detection module, and the second fixed end of the first relay switch is connected to the first end of the second interface.

5. A multifunctional MOS switch circuit according to claim 4, characterized in that: The overvoltage detection module includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first comparator, a fifth resistor, a first switch tube and a second switch tube; One end of the first resistor is connected to one end of the third resistor and the first moving end of the first relay switch, the other end of the first resistor is connected to the in-phase end of the first comparator and is grounded through the second resistor, the other end of the third resistor is connected to the inverting end of the first comparator and is grounded through the fourth resistor, the output end of the first comparator is connected to the base of the first switch tube and the base of the second switch tube through the fifth resistor, the collector of the first switch tube is connected to the gate of the first MOS tube, the collector of the second switch tube is connected to the gate of the second MOS tube, and the emitter of the first switch tube and the emitter of the second switch tube are both grounded.

6. A multifunctional MOS switch circuit according to claim 3, characterized in that: The input detection module includes a tenth resistor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a second comparator, a first diode, a second diode and a first logic chip; One end of the tenth resistor is connected to the first end of the second interface, the other end of the tenth resistor is connected to the in-phase end of the second comparator and the B end of the first logic chip and is grounded through the eleventh resistor, one end of the twelfth resistor is connected to the first end of the first interface, the other end of the twelfth resistor is connected to the inverting end of the second comparator and is grounded through the thirteenth resistor, the output end of the second comparator is connected to the anode of the first diode, the cathode of the first diode is connected to the A end of the first logic chip and the cathode of the second diode, and the anode of the second diode is connected to the F end of the first logic chip and the base of the fourth switch tube.