Switch control circuit

Through the common cathode diode and the main control module, the switch button status is detected, combined with the voltage stabilization module and the switch tube module, the power supply is turned on and off and other functions is controlled, which solves the problem of increasing circuit complexity in the existing technology and simplifies the circuit Structure and improve safety.

CN222128053UActive Publication Date: 2024-12-06DONGGUAN ANDA AUTOMATIC EQUIP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323660828.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-12-06
Estimated Expiration
2033-12-29

AI Technical Summary

Technical Problem

The existing one-button start circuit has a single button function, and it is impossible to achieve multiple functions while simplifying the circuit, resulting in an increase in circuit complexity.

Method used

A switch control circuit is designed to detect the status of the switch key using the common cathode diode and the main control module, distinguish the power switch operation and other functional control by identifying the duration of the button pressing, and realize the voltage stabilization module and the switch tube module. Voltage stabilization control of external power supply simplifies the circuit structure.

Benefits of technology

The control of power on and off and other functions is realized, avoiding the need to set additional control circuits, the circuit is simpler, and the safety and reliability are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222128053U_ABST
    Figure CN222128053U_ABST
Patent Text Reader

Abstract

The utility model discloses a switch control circuit, and relates to the technical field of switch control. A first anode end of the common cathode diode is connected with a level detection pin of the master control module; the first end of the switch key is connected with the common cathode of the common cathode diode; the first input end of the power supply driving module is connected with the level control pin of the master control module and the second anode end of the common cathode diode, and the second input end of the power supply driving module is connected with the second end of the switch key; and the power supply driving module is used for performing switching operation on an external power supply according to a first control signal output by the level control pin and a second control signal generated by the second anode end of the common cathode diode. According to the invention, a simpler circuit can be provided, and the power supply can be turned on and turned off while more functions are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of switch control, and in particular to a switch control circuit. Background Art

[0002] A switch is a controller used to control the start, stop or select the change of action of an electrical appliance. With the development of electrical devices, one-button start circuits are widely used in various fields to facilitate operators to quickly start or shut down electrical devices.

[0003] In the related art, the functions of the buttons of most one-button start circuits are relatively simple, and can only simply realize the on and off functions of the buttons. That is, one button cannot provide more functions. If other functions are to be realized, additional circuits and buttons need to be set up, which increases the complexity of the circuit. How to simplify the circuit while realizing multiple functions is an issue that urgently needs to be discussed and solved. Utility Model Content

[0004] The present application aims to solve one of the technical problems existing in the prior art. To this end, the present application proposes a switch control circuit, which can provide a simpler circuit and realize the turning on and off of the power supply while meeting more functions.

[0005] In order to solve the above technical problems, this application proposes the following technical solutions:

[0006] The present application provides a switch control circuit, comprising:

[0007] Main control module;

[0008] A common cathode diode, wherein a first anode terminal of the common cathode diode is connected to a level detection pin of the general control module;

[0009] A switch button, wherein a first end of the switch button is connected to a common cathode of the common cathode diode;

[0010] A power drive module, wherein a first input end of the power drive module is connected to a level control pin of the general control module and a second anode end of the common cathode diode, and a second input end of the power drive module is connected to a second end of the switch button; the power drive module is used to switch an external power supply according to a first control signal output by the level control pin and a second control signal generated by the second anode end of the common cathode diode.

[0011] According to the switch control circuit of the embodiment of the present application, at least the following beneficial effects are achieved: whether the switch button is pressed is detected by a common cathode diode, and whether the button pressing operation is a power on / off operation or control of other functions is identified by the main control module based on the duration of the low-level signal generated after the switch button is pressed; when it is identified as a power on / off operation, the voltage regulation control of the power drive module can be achieved through the first control signal and the common cathode diode. Therefore, the switch control circuit of the present application can realize power on and off and other functions without the need to set up other control circuits, and the circuit is simpler.

[0012] According to some embodiments of the present application, the power driving module includes a voltage stabilizing module and a switch tube module; the first input end of the voltage stabilizing module is connected to the level control pin of the general control module, the second input end of the voltage stabilizing module is connected to the second end of the switch button, the output end of the voltage stabilizing module is connected to the second anode end of the common cathode diode and the input end of the switch tube module, and the voltage stabilizing module is used to stabilize the voltage of the switch tube module according to the first control signal output by the level control pin and the second control signal generated by the second anode end of the common cathode diode, so that the switch tube module can perform a switching operation on an external power supply.

[0013] According to some embodiments of the present application, the voltage stabilizing module includes an optocoupler control module and a switch tube drive control module, the first input end of the optocoupler control module is connected to the level control pin of the general control module, the second input end of the optocoupler control module is connected to the second end of the switch button, the output end of the optocoupler control module is connected to the switch tube module, and the optocoupler control module is used to output a third control signal in response to the first control signal output by the level control pin to stabilize the start-up voltage of the switch tube module; the input end of the switch tube drive control module is connected to the output end of the optocoupler control module, the output end of the switch tube drive control module is connected to the second anode end of the common cathode diode and the input end of the switch tube module, and the switch tube drive control module is used to stabilize the voltage of the switch tube module according to the second control signal and the third control signal.

[0014] According to some embodiments of the present application, the optocoupler isolation tube control module includes an optocoupler, which includes a transmitter and a receiver, the first input end of the transmitter is connected to the level control pin of the general control module, the second input end of the transmitter is connected to the second end of the switch button, and the output end of the receiver is connected to the input end of the switch tube drive control module; wherein the transmitter is used to irradiate light onto the receiver in response to a first control signal output by the level control pin, so that the receiver is activated and outputs a third control signal.

[0015] According to some embodiments of the present application, the switch tube drive control module includes a second field effect tube; the gate of the second field effect tube is connected to the receiver of the optocoupler, the drain of the second field effect tube is connected to the input end of the switch tube module and the second anode end of the common cathode diode, and the second field effect tube is used to stabilize the voltage of the switch tube module in response to the third control signal and the second control signal.

[0016] According to some embodiments of the present application, the switch tube drive control module further includes a first protection module, and the first protection module is used to control the input of the gate of the second field effect tube according to the source of the second field effect tube.

[0017] According to some embodiments of the present application, the first protection module includes a third resistor and a third voltage regulator tube, one end of the third resistor is connected to the gate of the second field effect tube, the other end of the third resistor is connected to the source of the second field effect tube, and the third voltage regulator tube is connected in parallel to both ends of the third resistor, wherein the third voltage regulator tube is used to limit the turn-on voltage of the second field effect tube within a preset first safety voltage range.

[0018] According to some embodiments of the present application, the switch tube module includes a first field effect tube and a second protection module;

[0019] The input end of the second protection module is connected to the drain of the second field effect transistor, the first output end of the second protection module is connected to the source of the first field effect transistor, the second output end of the second protection module is connected to the gate of the first field effect transistor, and the second protection module is used to protect the first field effect transistor;

[0020] The drain of the first field effect transistor is connected to an external power source and is used to perform a switching operation on the external power source.

[0021] According to some embodiments of the present application, the second protection module includes a fourth resistor, a second resistor and a second zener diode, one end of the fourth resistor is connected to the drain of the second field effect transistor, the other end of the fourth resistor is connected to the gate of the first field effect transistor, one end of the second resistor is connected to the gate of the first field effect transistor, the other end of the second resistor is connected to the source of the first field effect transistor, and the second zener diode is connected in parallel to both ends of the second resistor, wherein the second resistor and the fourth resistor are used for voltage division, and the second zener diode is used to limit the operating voltage of the first field effect transistor within a preset second safety voltage range.

[0022] According to some embodiments of the present application, a filtering module is also included, one end of the filtering module is connected to the drain of the first field effect transistor, and the other end of the filtering module is connected to an external power supply. The filtering module is used to filter the signal output after the first field effect transistor is turned on.

[0023] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0025] Figure 1 is a circuit diagram of a switch control circuit according to an embodiment of the present application;

[0026] Figure 2 is a module block diagram of a switch control circuit according to an embodiment of the present application;

[0027] Figure 3 It is a module block diagram of a switch control circuit according to another embodiment of the present application. DETAILED DESCRIPTION

[0028] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0029] In the description of the present application, it should be understood that descriptions involving orientation, such as up, down, front, back, left, right, etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0030] In the description of this application, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed", etc. are understood to exclude the number itself, and "above", "below", "within", etc. are understood to include the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0031] In the description of this application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in this application based on the specific content of the technical solution.

[0032] A switch is a controller used to control the start, shut down or select the change of action of an electrical appliance. With the development of electrical devices, one-button start circuits are widely used in various fields to facilitate operators to quickly start or shut down electrical devices. In the related art, the functions of the buttons of most one-button start circuits are relatively simple, and can only simply realize the on and off functions of the buttons, that is, one button cannot provide more functions. If other functions are to be realized, additional circuits and buttons are required, which increases the complexity of the circuit. How to simplify the circuit while realizing multiple functions is an issue that needs to be discussed and solved urgently.

[0033] Based on this, the switch control circuit of the present application provides a simpler circuit that can turn the power on and off while meeting more functions.

[0034] Reference Figure 1 and Figure 2 , Figure 1 is a circuit diagram of a switch control circuit according to an embodiment of the present application; Figure 2 It is a module block diagram of the switch control circuit of the embodiment of the present application. The switch control circuit of the present application includes: a total control module; a common cathode diode D1, the first anode end of the common cathode diode D1 is connected to the level detection pin AD-on-off of the total control module; a switch button S1, the first end of the switch button S1 is connected to the common cathode of the common cathode diode D1; a power drive module, the first input end of the power drive module is connected to the level control pin Control-on-off of the total control module and the second anode end of the common cathode diode D1, and the second input end of the power drive module is connected to the second end of the switch button S1; the power drive module is used to switch the external power supply according to the first control signal output by the level control pin Control-on-off and the second control signal generated by the second anode end of the common cathode diode D1.

[0035] It should be noted that the common cathode diode D1 is used to detect whether the switch button S1 is pressed, and the main control module identifies whether the button pressing operation is a power on / off operation or control of other functions based on the duration of the low-level signal generated after the switch button S1 is pressed. When it is identified as a power on / off operation, the first control signal and the common cathode diode D1 can be used to achieve voltage regulation control of the power drive module. Therefore, the switch control circuit of the present application can realize power on and off and other functions without the need to set up other control circuits, and the circuit is simpler.

[0036] It should be understood that the common cathode diode D1 is a diode consisting of two common cathodes. When an external voltage is applied to the base terminals of the two transistors, the two transistors will be turned on at the same time. This is because when the base current flows into one transistor, it will discharge to the base of the other transistor, causing the other transistor to also turn on. Since the two transistors of the common cathode diode D1 share a cathode, they have the same amplification characteristics, so they can be applied to a variety of circuits such as amplification, switching and voltage regulation. Therefore, the voltage regulated input control of the power drive module can be realized based on the common cathode diode and the first control signal.

[0037] It should be noted that the overall control module of the present application is mostly MCU.

[0038] Reference Figure 2 , exemplarily, the input terminal VIN is the input point of the power supply voltage, the output terminal VOUT is the output point of the power supply voltage, the input terminal VIN and the output terminal VOUT are connected through a switch tube module, and the switch tube module plays the function of controlling the external power supply to be turned on and off. In the actual working condition of the present application, the switch button S1 is set at the negative end of the common cathode diode D1, and the switch button S1 can be touched lightly to change the level of the common cathode of the common cathode diode D1 connected to the first end of the switch button S1. Due to the change in the level of the common cathode of the common cathode diode D1, the level of the first anode end of the common cathode diode D1 will also change. The level detection pin AD-on-off of the main control module is connected to the first anode end of the common cathode diode D1. After the main control module detects the level change through the level detection pin AD-on-off, it will output the first control signal to the power drive module through the level control pin Control-on-off, so that the power drive module switches the external power supply according to the first control signal and the second control signal. The present application can not only drive the external power supply to be turned on or off by setting the power drive module, but also realize the wide voltage input DC power supply and circuit system power supply operation control through the setting of the power drive module, thereby protecting the circuit.

[0039] Exemplarily, the switch button S1 of the present application is a light-touch non-self-locking button. The operator lightly touches the switch button S1 and presses the switch button S1 to close the switch button S1. Since the common cathode of the common cathode diode D1 is connected to the first end of the switch button S1, a low level will be generated at the first anode end of the common cathode diode D1 after the switch button S1 is closed. The main control module detects the low level through the level detection pin AD-on-off, and controls the level control pin Controll-on-off to output a first control signal to the power drive module, so that the power drive module responds to the first control signal to turn on the switch tube (that is, the first field effect tube Q1 of the present application) and locks it, thereby turning on the external power supply to keep the external power supply in the on state, wherein the first control signal refers to the turn-on signal.

[0040] It can be understood that the power driving module includes a voltage stabilizing module and a switching tube module; the first input end of the voltage stabilizing module is connected to the level control pin Control-on-off of the main control module, the second input end of the voltage stabilizing module is connected to the second end of the switch button S1, the output end of the voltage stabilizing module is connected to the second anode end of the common cathode diode D1 and the input end of the switching tube module, and the voltage stabilizing module is used to stabilize the voltage of the switching tube module according to the first control signal output by the level control pin Control-on-off and the second control signal generated by the second anode end of the common cathode diode D1, so that the switching tube module can perform a switching operation on the external power supply.

[0041] It should be noted that, currently, the main control module generally directly controls the transistor to drive the switch tube (i.e., the first field effect tube Q1 of the present application). Most of the existing main control modules are MCUs. If the MCU directly controls the transistor to drive the switch tube for a long time, the control pin of the MCU will be damaged. The present application can stabilize the start / shutdown voltage of the switch tube module within a safe range by setting a voltage stabilizing module, which not only protects the switch tube module, but also protects the control pin of the MCU, thereby increasing the safety of the circuit.

[0042] Exemplarily, the voltage stabilizing module of the present application functions to stabilize the voltage of the switch tube module so that the voltage of the switch tube module is stabilized within a safe level range. Furthermore, the first input end of the voltage stabilizing module is connected to the level control pin Controll-on-off of the general control module, the second input end of the voltage stabilizing module is connected to the second end of the switch button S1, and the output end of the voltage stabilizing module is connected to the second anode end of the common cathode diode D1. After the general control module outputs a first control signal through the level control pin Controll-on-off, the voltage stabilizing module will achieve the stabilization of the internal voltage of the module according to the first control signal and the second control signal outputted from the second anode end of the common cathode diode D1, so as to output a constant voltage stabilizing signal to the switch tube module, so that the start / shutdown voltage of the switch tube module is stabilized within a safe range, thereby turning on / off the external power supply.

[0043] Furthermore, the first control signal output by the level control pin Control-on-off and the second control signal output by the common cathode diode D1 actually play a role of mutual balance and compensation. Figure 1 The second anode terminal of the common cathode diode D1 is connected to the drain of the second field effect tube Q2. In actual working conditions, after the voltage stabilizing module receives the first control signal output by the level control pin Control-on-off, the drain of the second field effect tube Q2 will output a level signal to the switch tube module. If the level signal output by the second field effect tube Q2 is too high, it may cause the operating voltage of the switch tube module to be out of a safe range. Therefore, a signal is required to compensate and adjust the level signal output by the second field effect tube Q2. Based on this, the present application connects the second anode terminal of the common cathode diode D1 and the drain of the second field effect tube Q2 so that the second control signal output by the common cathode diode D1 and the level signal output by the second field effect tube Q2 are balanced and compensated with each other, thereby outputting a constant voltage stabilizing signal to stabilize the voltage of the switch tube module, so that the switch tube module performs a switching operation on the external power supply.

[0044] Reference Figure 3 , Figure 3It is a module block diagram of a switch control circuit of another embodiment of the present application. It can be understood that the voltage stabilizing module includes an optocoupler isolation tube control module and a switch tube drive control module. The first input end of the optocoupler isolation tube control module is connected to the level control pin Control-on-off of the general control module, the second input end of the optocoupler isolation tube control module is connected to the second end of the switch button S1, the output end of the optocoupler isolation tube control module is connected to the switch tube module, and the optocoupler isolation tube control module is used to output a third control signal in response to the first control signal output by the level control pin Control-on-off to stabilize the turn-on voltage of the switch tube module; the input end of the switch tube drive control module is connected to the output end of the optocoupler isolation tube control module, the output end of the switch tube drive control module is connected to the second anode end of the common cathode diode D1 and the input end of the switch tube module, and the switch tube drive control module is used to stabilize the voltage of the switch tube module according to the second control signal and the third control signal.

[0045] It can be understood that the optocoupler isolation tube control module includes an optocoupler U1, which includes a transmitter and a receiver. The first input end of the transmitter is connected to the level control pin Control-on-off of the main control module, the second input end of the transmitter is connected to the second end of the switch button S1, and the output end of the receiver is connected to the input end of the switch tube drive control module; wherein the transmitter is used to irradiate light onto the receiver in response to the first control signal output by the level control pin Control-on-off, so that the receiver is activated and outputs a third control signal.

[0046] Reference Figure 2 and Figure 3It should be noted that the voltage driving module of the present application includes an optocoupler isolation tube control module, a switch tube drive control module and a switch tube module, and the voltage stabilizing module of the present application includes an optocoupler isolation tube control module and a switch tube drive control module, and the optocoupler isolation tube control module and the switch tube drive control module jointly play the role of stabilizing the voltage of the switch tube module. Further, the optocoupler isolation tube control module in the present application also plays the role of isolation protection, and the optocoupler isolation tube control module includes an optical coupler U1, which is composed of an internal transmitter and a receiver, and the first input end of the transmitter is connected to the level control pin Controll-on-off of the main control module, and the second input end of the transmitter is connected to the second end of the switch button S1. After the main control module outputs the first control signal to the transmitter through the level control pin Controll-on-off, the transmitter will respond to the first control signal to irradiate light on the base of the receiver, so that the receiver is activated and starts to flow current, and outputs a third control signal to the gate of the second field effect tube Q2, wherein the light irradiated by the transmitter is proportional to the third control signal output by the receiver. The first control signal output by the main control module is only connected to the input end of the transmitter of the optocoupler U1. The operating voltage of the optocoupler U1 is very low. The signal is transmitted between the transmitter and the receiver through the emitted light, and the output end of the receiver is connected to the second field effect transistor Q2. Through this setting, the present application realizes electrical isolation of the input and output circuits, protects the main control module, and improves the safety of the circuit.

[0047] The transmitter of the optical coupler U1 of the present application may be an LED, and the receiver may be a photosensitive element such as a photodiode or a phototransistor.

[0048] Furthermore, the switch tube drive control module plays a role in driving the switch tube module and stabilizing the voltage of the switch tube module. The input end of the switch tube drive control module is connected to the output end of the optocoupler isolation tube control module, and the output end of the switch tube drive control module is connected to the second anode end of the common cathode diode D1. In actual operation, after the switch tube drive control module receives the third control signal output by the optocoupler isolation tube control module, it will output a level signal in response to the third control signal. If the level signal output by the switch tube drive control module is too high at this time, it may cause the operating voltage of the switch tube module to be out of a safe range. Therefore, the present application will also compensate and balance the level signal output by the switch tube drive control module according to the second control signal output by the common cathode diode D1, thereby outputting a constant voltage-stabilized signal to stabilize the voltage of the switch tube module.

[0049] Reference Figure 1It can be understood that the switch tube drive control module includes a second field effect tube Q2; the gate of the second field effect tube Q2 is connected to the receiver of the optocoupler U1, the drain of the second field effect tube Q2 is connected to the input end of the switch tube module and the second anode end of the common cathode diode D1, and the second field effect tube Q2 is used to stabilize the voltage of the switch tube module in response to the third control signal and the second control signal.

[0050] It can be understood that the switch tube driving control module further includes a first protection module, and the first protection module is used to control the input of the gate of the second field effect tube Q2 according to the source of the second field effect tube Q2.

[0051] Exemplarily, the second field effect tube Q2 uses an N-channel field effect tube to drive the switch tube. The third control signal output by the optical coupler U1 is connected to the gate of the N-channel field effect tube after voltage division by the first protection module, so that the drain of the N-channel field effect tube generates a level signal to the switch tube module. If this level signal is too high, it may cause the operating voltage of the switch tube module to be out of a safe range. The present application connects the second anode terminal of the common cathode diode D1 and the drain of the N-channel field effect tube so that the second control signal output by the common cathode diode D1 compensates and balances the level signal output by the N-channel field effect tube, thereby outputting a constant voltage-stabilizing signal to the switch tube module to stabilize the voltage of the switch tube module and ensure that the voltage of the switch tube module is within a safe range. At the same time, the present application protects the second field effect tube Q2 and increases the safety of the circuit by setting a first protection module to divide the third control signal output by the optical coupler U1.

[0052] Reference Figure 1 It can be understood that the first protection module includes a third resistor R3 and a third voltage regulator ZD3, one end of the third resistor R3 is connected to the gate of the second field effect transistor Q2, the other end of the third resistor R3 is connected to the source of the second field effect transistor Q2, and the third voltage regulator ZD3 is connected in parallel to both ends of the third resistor R3, wherein the third voltage regulator ZD3 is used to limit the turn-on voltage of the second field effect transistor Q2 within a preset first safety voltage range.

[0053] It should be noted that most of the current one-key start circuits have many risks. The one-key start circuit lacks protection for the switch tube. When the external input voltage is large, the voltage difference between the gate and the source of the switch tube will increase, thereby causing the switch tube to break down, increasing the danger of the circuit. The present application can divide the current input to the gate of the second field effect tube Q2 by setting a first protection module, so that the start-up voltage received by the gate of the second field effect tube Q2 is within the first safe voltage range, thereby improving the safety of the circuit.

[0054] Exemplarily, the first protection module of the present application includes a third resistor R3 and a third voltage regulator ZD3, one end of the third resistor R3 is connected to the output end of the optical coupler U1 and the gate of the second field effect tube Q2, the other end of the third resistor R3 is connected to the source of the second field effect tube Q2, and the third voltage regulator ZD3 is connected in parallel to the two ends of the third resistor R3. In order to make the turn-on voltage of the second field effect tube Q2 within the preset first safety voltage range, after the optical coupler U1 outputs the third control signal, the third resistor R3 and the third voltage regulator ZD3 will divide the voltage so that the turn-on voltage received by the gate of the second field effect tube Q2 is within the first safety voltage range. Further, the third resistor R3 and the third voltage regulator ZD3 can be adjusted according to the actual working conditions.

[0055] It can be understood that the switching tube module includes a first field effect tube Q1 and a second protection module; the input end of the second protection module is connected to the drain of the second field effect tube Q2, the first output end of the second protection module is connected to the source of the first field effect tube Q1, the second output end of the second protection module is connected to the gate of the first field effect tube Q1, and the second protection module is used to protect the first field effect tube Q1; the drain of the first field effect tube Q1 is connected to an external power supply for switching the external power supply.

[0056] Exemplarily, the first field effect transistor Q1 uses a P-channel field effect transistor as a key element to control the external power on / off, and the parameters of the P-channel field effect transistor are determined in combination with the voltage of the input power supply and the current flowing through it. The voltage-stabilizing signal output by the switch tube drive control module is connected to the gate of the P-channel field effect transistor after being divided by the second protection module, so that the drain of the P-channel field effect transistor generates an on / off level signal to the external power supply, and performs a switching operation on the external power supply. At the same time, the present application protects the first field effect transistor Q1 and increases the safety of the circuit by setting a second protection module to divide the voltage-stabilizing signal output by the switch tube drive control module.

[0057] It can be understood that the second protection module includes a fourth resistor R4, a second resistor R2 and a second voltage-stabilizing tube ZD2, one end of the fourth resistor R4 is connected to the drain of the second field effect tube Q2, the other end of the fourth resistor R4 is connected to the gate of the first field effect tube Q1, one end of the second resistor R2 is connected to the gate of the first field effect tube Q1, the other end of the second resistor R2 is connected to the source of the first field effect tube Q1, and the second voltage-stabilizing tube ZD2 is connected in parallel to both ends of the second resistor R2, wherein the second resistor R2 and the fourth resistor R4 are used for voltage division, and the second voltage-stabilizing tube ZD2 is used to limit the operating voltage of the first field effect tube Q1 within a preset second safety voltage range.

[0058] Exemplarily, the second protection module of the present application includes a fourth resistor R4, a second resistor R2, and a second voltage regulator ZD2, one end of the fourth resistor R4 is connected to the drain of the second field effect tube Q2, the other end of the fourth resistor R4 is connected to the gate of the first field effect tube Q1, one end of the second resistor R2 is connected to the other end of the fourth resistor R4, the other end of the second resistor R2 is connected to the source of the first field effect tube Q1, and the second voltage regulator ZD2 is connected in parallel to both ends of the second resistor R2. In order to make the turn-on voltage of the first field effect tube Q1 within the preset second safety voltage range, after the switch tube drive control module outputs the voltage regulation signal, the second resistor R2 and the fourth resistor R4 will be divided, so that the gate operating voltage of the first field effect tube Q1 is within the second safety voltage range, and the second voltage regulator ZD2 will protect the first field effect tube Q1, thereby increasing the safety of the circuit.

[0059] It is understandable that it also includes a filtering module, one end of the filtering module is connected to the drain of the first field effect transistor Q1, and the other end of the filtering module is connected to an external power supply. The filtering module is used to filter the signal output after the first field effect transistor Q1 is turned on.

[0060] According to one embodiment of the present application, the filtering module of the present application includes a first capacitor C1, a second capacitor C2 and a first voltage-stabilizing resistor RL1, one end of the first capacitor C1 is connected to the drain of the first field effect transistor Q1, the other end of the first capacitor C1 is grounded, one end of the second capacitor C2 is connected to the drain of the first field effect transistor Q1, the other end of the second capacitor C2 is grounded, one end of the first voltage-stabilizing resistor RL1 is connected to the drain of the first field effect transistor Q1, and the other end of the first voltage-stabilizing resistor RL1 is grounded, so as to filter the signal output after the first field effect transistor Q1 is turned on.

[0061] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present application.

Claims

1. A switch control circuit, characterized in that: include: Main control module; A common cathode diode, wherein a first anode terminal of the common cathode diode is connected to a level detection pin of the general control module; A switch button, wherein a first end of the switch button is connected to a common cathode of the common cathode diode; A power drive module, wherein a first input end of the power drive module is connected to a level control pin of the general control module and a second anode end of the common cathode diode, and a second input end of the power drive module is connected to a second end of the switch button; the power drive module is used to switch an external power supply according to a first control signal output by the level control pin and a second control signal generated by the second anode end of the common cathode diode.

2. The switch control circuit according to claim 1, characterized in that: The power driving module includes a voltage stabilizing module and a switch tube module; the first input end of the voltage stabilizing module is connected to the level control pin of the general control module, the second input end of the voltage stabilizing module is connected to the second end of the switch button, the output end of the voltage stabilizing module is connected to the second anode end of the common cathode diode and the input end of the switch tube module, and the voltage stabilizing module is used to stabilize the voltage of the switch tube module according to the first control signal output by the level control pin and the second control signal generated by the second anode end of the common cathode diode, so that the switch tube module can perform a switching operation on an external power supply.

3. The switch control circuit according to claim 2, characterized in that: The voltage stabilizing module includes an optocoupler control module and a switch tube drive control module, wherein a first input end of the optocoupler control module is connected to a level control pin of the general control module, a second input end of the optocoupler control module is connected to a second end of the switch button, an output end of the optocoupler control module is connected to the switch tube module, and the optocoupler control module is used to output a third control signal in response to a first control signal output by the level control pin to stabilize the start-up voltage of the switch tube module; an input end of the switch tube drive control module is connected to an output end of the optocoupler control module, an output end of the switch tube drive control module is connected to a second anode end of the common cathode diode and an input end of the switch tube module, and the switch tube drive control module is used to stabilize the voltage of the switch tube module according to the second control signal and the third control signal.

4. The switch control circuit according to claim 3, characterized in that: The optocoupler isolation tube control module includes an optocoupler, which includes a transmitter and a receiver. The first input end of the transmitter is connected to the level control pin of the general control module, the second input end of the transmitter is connected to the second end of the switch button, and the output end of the receiver is connected to the input end of the switch tube drive control module; wherein the transmitter is used to irradiate light onto the receiver in response to the first control signal output by the level control pin, so that the receiver is activated and outputs a third control signal.

5. The switch control circuit according to claim 4, characterized in that: The switch tube drive control module includes a second field effect tube; the gate of the second field effect tube is connected to the receiver of the optocoupler, the drain of the second field effect tube is connected to the input end of the switch tube module and the second anode end of the common cathode diode, and the second field effect tube is used to stabilize the voltage of the switch tube module in response to the third control signal and the second control signal.

6. The switch control circuit according to claim 5, characterized in that: The switch tube drive control module further includes a first protection module, and the first protection module is used to control the input of the gate of the second field effect tube according to the source of the second field effect tube.

7. The switch control circuit according to claim 6, characterized in that: The first protection module includes a third resistor and a third voltage regulator, one end of the third resistor is connected to the gate of the second field effect transistor, the other end of the third resistor is connected to the source of the second field effect transistor, and the third voltage regulator is connected in parallel to both ends of the third resistor, wherein the third voltage regulator is used to limit the turn-on voltage of the second field effect transistor within a preset first safety voltage range.

8. The switch control circuit according to claim 5, characterized in that: The switch tube module includes a first field effect tube and a second protection module; The input end of the second protection module is connected to the drain of the second field effect transistor, the first output end of the second protection module is connected to the source of the first field effect transistor, the second output end of the second protection module is connected to the gate of the first field effect transistor, and the second protection module is used to protect the first field effect transistor; The drain of the first field effect transistor is connected to an external power source and is used to perform a switching operation on the external power source.

9. The switch control circuit according to claim 8, characterized in that: The second protection module includes a fourth resistor, a second resistor and a second zener diode, one end of the fourth resistor is connected to the drain of the second field effect transistor, the other end of the fourth resistor is connected to the gate of the first field effect transistor, one end of the second resistor is connected to the gate of the first field effect transistor, the other end of the second resistor is connected to the source of the first field effect transistor, and the second zener diode is connected in parallel to both ends of the second resistor, wherein the second resistor and the fourth resistor are used for voltage division, and the second zener diode is used to limit the operating voltage of the first field effect transistor within a preset second safety voltage range.

10. The switch control circuit according to claim 8, characterized in that: It also includes a filter module, one end of which is connected to the drain of the first field effect tube, and the other end of which is connected to an external power supply. The filter module is used to filter the signal output after the first field effect tube is turned on.