Intelligent switching circuit and switching device

By designing an intelligent switch circuit, using the coordinated work of the switch control module and the key module, the problem that traditional intelligent switches cannot be controlled after the microcontroller unit is out of control is solved, and the stable switching function is realized in the event of loss of control.

CN222763778UActive Publication Date: 2025-04-15TP-LINK
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202420727319.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2025-04-15
Estimated Expiration
2034-04-09

AI Technical Summary

Technical Problem

Traditional smart switches cannot be controlled by buttons after the microcontroller unit is out of control, resulting in the load being normally open or normally closed.

Method used

An intelligent switching circuit is designed, including a switching module, a transformer module, a key module, a main control module and a switch control module. When the main control module is out of control, the first driving signal output by the key module is used to control the on and off of the switch module.

Benefits of technology

When the main control module is out of control or crashes, the switch module is controlled through the driving signal of the key module, and the load is normally open or normally closed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222763778U_ABST
    Figure CN222763778U_ABST
Patent Text Reader

Abstract

The utility model discloses an intelligent switch circuit and a switch device. The intelligent switch circuit comprises a switch module, a voltage transformation module, a key module, a main control module and a switch control module. The key module is used for responding to operation for triggering the key module and generating and outputting a switching signal and a first driving signal based on the working voltage, the main control module is used for generating and outputting a second driving signal based on the switching signal, and the switch control module is used for generating and outputting a control signal based on the first driving signal or the second driving signal. Through the switch control module, when the main control module is out of control and crashes, the first driving signal output by the key module can be selected to control the switch-on and switch-off of the switch module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of power switches, and in particular, relates to an intelligent switch circuit and a switch device. Background Art

[0002] At present, smart switches usually include an AC-DC power supply module. After the AC-DC power supply module generates low-voltage direct current based on high-voltage alternating current, the low-voltage direct current drives the internal microcontroller unit (MCU). After the microcontroller unit obtains the action information of the button, it controls the on and off of the smart switch.

[0003] The problem with this method is that when the microcontroller unit completely freezes, is damaged, or the AC-DC power module fails to supply power, the button can no longer control the smart switch, causing the back-end load to be normally open or normally closed. Utility Model Content

[0004] The purpose of the present application is to provide an intelligent switch circuit and a switch device, aiming to solve the problem that a traditional intelligent switch cannot be controlled by buttons after a microcontroller unit loses control.

[0005] The first aspect of an embodiment of the present application provides an intelligent switch circuit, comprising: a switch module, the switch module is used to be connected to a power supply and a load respectively, and the switch module is configured to be turned on or off based on a control signal; a transformer module, the transformer module is connected to the input end of the switch module, and the transformer module is used to generate and output an operating voltage based on the input voltage provided by the power supply; a key module, the key module is used to respond to the operation of triggering the key module, generate and output a switch signal and a first drive signal; a main control module, the main control module is connected to the key module, and the main control module is used to generate and output a second drive signal based on the switch signal; a switch control module, the switch control module is respectively connected to the key module and the main control module, and the switch control module is used to generate and output the control signal based on the first drive signal or the second drive signal.

[0006] In one embodiment, the main control module is also used to generate and output a detection signal in a working state, and the switch control module is used to generate and output the control signal based on the second drive signal when the detection signal is received, and to generate and output the control signal based on the first drive signal when the detection signal is not received; wherein the second drive signal and the detection signal are both PWM wave signals.

[0007] In one embodiment, the switch control module includes a DC isolation unit and a signal detection unit; the DC isolation unit is connected between the main control module and the switch module, and the DC isolation unit is used to generate the control signal based on the second drive signal; the signal detection unit is respectively connected to the button module, the main control module and the switch module, and the signal detection unit is used to identify the detection signal, and generate and output the control signal based on the first drive signal when the detection signal is not received, or generate and output the control signal based on the second drive signal when the switching signal is not received.

[0008] In one embodiment, the DC isolation unit includes a first capacitor, a second capacitor and a first resistor; the first end of the first capacitor is connected to the main control module for receiving the second drive signal, the second end of the first capacitor is respectively connected to the first end of the second capacitor, the first end of the first resistor and the controlled end of the switch module, and the second end of the second capacitor and the second end of the first resistor are both grounded.

[0009] In one embodiment, the signal detection unit includes a first switch tube, a second switch tube, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a third capacitor, a second diode, a third diode, a fourth diode, a first operational amplifier and a second operational amplifier; the first end of the third resistor is connected to the main control module for accessing the detection signal, the second end of the third resistor is connected to the controlled end of the first switch tube, the first end of the first switch tube is connected to the transformer module through the fourth resistor, the second end of the first switch tube is grounded, the first end of the fifth resistor is connected to the first end of the first switch tube, the second end of the fifth resistor is respectively connected to the first end of the third capacitor, the reverse input end of the first operational amplifier and the forward input end of the second operational amplifier, and the second end of the third capacitor is grounded; the first end of the sixth resistor is connected to the transformer module, the first end of the sixth resistor is connected to the transformer module, and the second end of the sixth resistor is connected to the transformer module. The two ends are respectively connected to the positive input end of the first operational amplifier and the first end of the seventh resistor, the second end of the seventh resistor is respectively connected to the reverse input end of the second operational amplifier and the first end of the eighth resistor, the second end of the eighth resistor is grounded, the output end of the first operational amplifier is connected to the anode of the second diode, the output end of the second operational amplifier is connected to the anode of the third diode, the cathode of the second diode and the cathode of the third diode are both connected to the first end of the ninth resistor; the second end of the ninth resistor is connected to the controlled end of the second switch tube, the first end of the second switch tube is connected to the key module to access the first driving signal, the second end of the second switch tube is connected to the anode of the fourth diode and is grounded through the tenth resistor, the first end of the eleventh resistor is connected to the controlled end of the second switch tube, the second end of the eleventh resistor is grounded, and the cathode of the fourth diode is connected to the controlled end of the switch module.

[0010] In one embodiment, the key module includes a trigger switch, a logic control unit, a third switch tube, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a transient voltage suppression diode, a fourth capacitor, a fifth capacitor, a sixth capacitor and a fifth diode; the first end of the trigger switch is grounded, the second end of the trigger switch is respectively connected to the first end of the twelfth resistor and the first end of the transient voltage suppression diode, the second end of the transient voltage suppression diode is grounded, the second end of the twelfth resistor is respectively connected to the first end of the thirteenth resistor, the first end of the fourth capacitor, the input end of the logic control unit and the main control module, the second end of the thirteenth resistor is connected to the transformer module, the fourth capacitor The second end of the trigger switch is grounded, the output end of the logic control unit is connected to the first end of the fourteenth resistor, the second end of the fourteenth resistor is respectively connected to the first end of the fifth capacitor and the controlled end of the third switch tube, the second end of the fifth capacitor is grounded, the first end of the third switch tube is connected to the transformer module, the second end of the third switch tube is connected to the anode of the fifth diode, and the cathode of the fifth diode is connected to the switching unit to output the first drive signal; wherein the trigger switch is used to respond to the operation of triggering the trigger switch, the trigger switch is turned on when pressed, and turned off when released; the logic control unit is used to control the voltage flipping of the output end of the logic control unit every time a low level is detected.

[0011] In one embodiment, the switch control module is further configured to detect the operating voltage, and generate and output the control signal based on the first drive signal when the operating voltage is lower than a preset threshold.

[0012] In one embodiment, the switch control module includes a ninth resistor, a second switch tube, a tenth resistor, an eleventh resistor and a fourth diode; the first end of the ninth resistor is connected to the transformer module, the second end of the ninth resistor is connected to the controlled end of the second switch tube, the first end of the second switch tube is connected to the key module to access the first drive signal, the second end of the second switch tube is connected to the positive electrode of the fourth diode and is grounded through the tenth resistor, the first end of the eleventh resistor is connected to the controlled end of the second switch tube, the second end of the eleventh resistor is grounded, and the cathode of the fourth diode is connected to the controlled end of the switch module.

[0013] In one embodiment, the switch module is configured to be turned on or off based on the operating voltage and the control signal when the operating voltage is greater than the preset threshold, and to be turned on or off based on the input voltage and the control signal when the operating voltage is less than the preset threshold.

[0014] A second aspect of an embodiment of the present application provides a switching device, including the intelligent switching circuit as described above.

[0015] Compared with the prior art, the embodiment of the present invention has the beneficial effect that when the main control module is out of control or crashes, the switch control module can select the first drive signal output by the key module to control the on and off of the switch module. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of the structure of an intelligent switch circuit provided in one embodiment of the present application;

[0017] Figure 2 A schematic diagram of the structure of a transformer module provided in one embodiment of the present application;

[0018] Figure 3 A circuit diagram of a switch control module provided in an embodiment of the present application;

[0019] Figure 4 A circuit diagram of a key module provided in an embodiment of the present application;

[0020] Figure 5 Another circuit diagram of a switch control module provided in an embodiment of the present application;

[0021] Figure 6 A schematic diagram of the structure of a switch module provided in an embodiment of the present application;

[0022] Figure 7 A schematic diagram of the structure of a switch device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0024] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.

[0025] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0026] Figure 1 The structure diagram of the intelligent switch circuit provided by an embodiment of the present application is shown. For the convenience of description, only the part related to the present embodiment is shown, which is described in detail as follows:

[0027] An intelligent switch circuit 10 includes: a switch module 100, a voltage transformation module 200, a key module 300, a main control module 400 and a switch control module 500. The main control module 400 specifically includes a microcontroller unit (MCU).

[0028] The switch module 100 is used to be connected to the power supply 20 and the load 30 respectively, and the switch module 100 is configured to be turned on or off based on the control signal. The transformer module 200 is connected to the input end of the switch module 100, and the transformer module 200 is used to generate and output the working voltage based on the input voltage provided by the power supply 20. The key module 300 is used to respond to the operation of triggering the key module 300 (such as pressing, rotating, etc.), generate and output the switch signal and the first drive signal. The main control module 400 is connected to the key module 300, and the main control module 400 is used to generate and output the second drive signal based on the switch signal. The switch control module 500 is connected to the key module 300 and the main control module 400 respectively, and the switch control module 500 is used to generate and output the control signal based on the first drive signal or the second drive signal.

[0029] It can be understood that when it is necessary to control the switch module 100 from off to on, the button module 300 can be triggered to make the button module 300 output the corresponding switch signal and the first drive signal, the main control module 400 outputs the corresponding second drive signal based on the switch signal, and then the switch control module 500 outputs the corresponding control signal based on the first drive signal or the second drive signal to control the switch module 100 to be turned on.

[0030] Through the switch control module 500 , when the main control module 400 is out of control or crashes, the first driving signal output by the key module 300 can be selected to control the on and off of the switch module 100 .

[0031] In some embodiments, Figure 2As shown, the transformer module 200 includes an AC-DC transformer unit and a DC voltage regulator unit. The input end of the AC-DC transformer unit is used to access the input voltage and generate an operating voltage V1 based on the input voltage. The DC voltage regulator unit is used to generate another operating voltage V2 with a different voltage value based on the operating voltage V1 output by the AC-DC transformer unit. Specifically, the AC-DC transformer unit can use a non-isolated solution, for example, a half-wave rectification solution can be used, and the neutral line is used as the system ground. The DC voltage regulator unit may include a DC-DC voltage regulator circuit or a low dropout linear regulator (Low Dropout Regulaor; LDO) circuit.

[0032] In one embodiment, the main control module 400 is further used to generate and output a second drive signal and a detection signal in a working state, and the switch control module 500 is used to generate and output a control signal based on the second drive signal when the detection signal is received, and to generate and output a control signal based on the first drive signal when the detection signal is not received. Wherein, the second drive signal and the detection signal are both PWM wave signals.

[0033] It should be noted that when the main control module 400 is in a normal working state, the main control module 400 can continuously output a detection signal of a specified PWM waveform, and generate and output a second drive signal when the switch module 100 needs to be turned on. When the main control module 400 is out of control or crashes, the main control module 400 will only output a continuous high level or low level and cannot output a detection signal. Therefore, the switch control module 500 can determine the state of the main control module 400 through the detection signal, and when necessary, can control the switch module 100 based on the first drive signal (that is, the switch module 100 can be controlled by triggering the operation of the button module 300).

[0034] In one embodiment, if Figure 3 As shown, the switch control module 500 includes a direct-current isolation unit 510, a signal detection unit 520 and a switching unit 530. The direct-current isolation unit 510 is connected between the main control module 400 and the switch module 100, and the direct-current isolation unit 510 is used to generate a control signal based on the second drive signal. The signal detection unit 520 is connected between the main control module 400 and the switching unit 530, and the signal detection unit 520 is used to identify the detection signal, and generate and output a switching signal when the detection signal is not received. The switching unit 530 is respectively connected to the button module 300, the switch module 100 and the signal detection unit 520, and the switching unit 530 is used to generate and output a control signal based on the first drive signal when the switching signal is received, or to generate and output a control signal based on the second drive signal when the switching signal is not received. Wherein, the direct-current isolation unit 510 includes a high-pass filter.

[0035] It is understandable that the DC isolation unit 510 can isolate direct current, and the second drive signal as a PWM wave signal can be converted into a control signal through the DC isolation unit 510, but when the main control module 400 is out of control or crashes, the high level or low level output by the main control module 400 cannot pass through the DC isolation unit 510. Similarly, when the main control module 400 is out of control or crashes, the signal detection unit 520 cannot detect the detection signal, and the signal detection unit 520 can output a switching signal to enable the switching unit 530 to generate a control signal based on the first drive signal.

[0036] In one embodiment, if Figure 3 As shown, the DC isolation unit 510 includes a first capacitor C1, a second capacitor C2, a first resistor R1, a second resistor R2 and a first diode D1. The first end of the first capacitor C1 is connected to the main control module 400 to receive the second drive signal, the second end of the first capacitor C1 is respectively connected to the positive electrode of the first diode D1 and the first end of the first resistor R1, the second end of the first resistor R1 is grounded, the negative electrode of the first diode D1 is connected to the first end of the second resistor R2, the second end of the second resistor R2 is respectively connected to the switch module 100 and the first end of the second capacitor C2, and the second end of the second capacitor C2 is grounded.

[0037] It can be understood that the second driving signal as a PWM wave signal can charge the second capacitor C2 through the first capacitor C1, and when the voltage on the second capacitor C2 reaches a certain value, a corresponding control signal is generated.

[0038] In one embodiment, if Figure 3 As shown, the signal detection unit 520 includes a first switch tube Q1, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a third capacitor C3, a second diode D2, a third diode D3, a fourth diode D4, a first operational amplifier U1, and a second operational amplifier U2. Among them, the first switch tube Q1 is an NPN transistor, and the second switch tube Q2 is a P-type MOS tube.

[0039] The first end of the third resistor R3 is connected to the main control module 400 for accessing the detection signal, the second end of the third resistor R3 is connected to the controlled end of the first switch tube Q1, the first end of the first switch tube Q1 is connected to the transformer module 200 through the fourth resistor R4 to access the working voltage V2, the second end of the first switch tube Q1 is grounded, the first end of the fifth resistor R5 is connected to the first end of the first switch tube Q1, the second end of the fifth resistor R5 is respectively connected to the first end of the third capacitor C3, the reverse input end of the first operational amplifier U1 and the forward input end of the second operational amplifier U2, and the second end of the third capacitor C3 is grounded. The first end of the sixth resistor R6 is connected to the transformer module 200 to access the working voltage V2, the second end of the sixth resistor R6 is respectively connected to the forward input end of the first operational amplifier U1 and the first end of the seventh resistor R7, the second end of the seventh resistor R7 is respectively connected to the reverse input end of the second operational amplifier U2 and the first end of the eighth resistor R8, the second end of the eighth resistor R8 is grounded, the output end of the first operational amplifier U1 is connected to the anode of the second diode D2, the output end of the second operational amplifier U2 is connected to the anode of the third diode D3, and the cathode of the second diode D2 and the cathode of the third diode D3 are both connected to the switching unit 530.

[0040] In some embodiments, the switching unit 530 includes a second switch tube Q2 , a ninth resistor R9 , a tenth resistor R10 , an eleventh resistor R11 , and a fourth diode D4 .

[0041] The first end of the ninth resistor R9 is connected to the signal detection unit 520, the second end of the ninth resistor R9 is connected to the controlled end of the second switch tube Q2, the first end of the second switch tube Q2 is connected to the key module 300 to access the first drive signal, the second end of the second switch tube Q2 is connected to the positive electrode of the fourth diode D4 and is grounded through the tenth resistor R10, the first end of the eleventh resistor R11 is connected to the controlled end of the second switch tube Q2, the second end of the eleventh resistor R11 is grounded, and the cathode of the fourth diode D4 is connected to the controlled end of the switch module 100.

[0042] When the working voltage V2 is 3.3V, after the detection signal as a PWM wave signal is transmitted to the first switch tube Q1, a voltage of 0V to 3.3V is generated at the first end of the third capacitor C3 through the first switch tube Q1. The value of the voltage at the first end of the third capacitor C3 is determined by the duty cycle of the detection signal, the parameters of the fifth resistor R5 and the parameters of the third capacitor C3.

[0043] The comparison circuit composed of the first operational amplifier U1, the second operational amplifier U2 and the related resistors can detect the voltage on the third capacitor C3. When the voltage on the third capacitor C3 is within the set voltage range, the signal detection unit 520 can output the corresponding level to control the second switch tube Q2 to turn off. The set voltage range can be adjusted by configuring the resistance ratio between the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8.

[0044] Exemplarily, if the set voltage range is 1V to 2V, a voltage of 1.5V may be generated at the first end of the third capacitor C3 by outputting a corresponding detection signal.

[0045] It should be noted that when the main control module 400 is out of control or freezes, the main control module 400 can only continuously output a high level or a low level and cannot output a PWM wave signal. The voltage at the first end of the third capacitor C3 will only be 0V or 3.3V, which exceeds the set voltage range. The second switch tube Q2 will be turned on to access the first drive signal and generate a control signal based on the first drive signal.

[0046] In one embodiment, if Figure 4 As shown, the key module 300 includes a trigger switch S1, a logic control unit U3, a third switch tube Q3, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14, a fifteenth resistor R15, a transient voltage suppressor diode TVS, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6 and a fifth diode D5. The logic control unit U3 can be a bistable trigger. The third switch tube Q3 is a P-type MOS tube.

[0047] The first end of the twelfth resistor R12 is grounded, the second end of the twelfth resistor R12 is connected to the first end of the trigger switch S1, the second end of the trigger switch S1 is respectively connected to the first end of the transient voltage suppression diode TVS, the first end of the fourth capacitor C4 and the first end of the thirteenth resistor R13, the second end of the fourth capacitor C4 and the second end of the transient voltage suppression diode TVS are both grounded, and the second end of the thirteenth resistor R13 is connected to the transformer module 200.

[0048] The first end of the trigger switch S1 is also connected to the first end of the fifth capacitor C5 and the main control module 400, the second end of the fifth capacitor C5 is connected to the input end of the logic control unit U3 and the first end of the fourteenth resistor R14, the second end of the fourteenth resistor R14 is grounded, the output end of the logic control unit U3 is connected to the first end of the fifteenth resistor R15, the second end of the fifteenth resistor R15 is connected to the first end of the sixth capacitor C6 and the controlled end of the third switch tube Q3, the second end of the sixth capacitor C6 is grounded, the first end of the third switch tube Q3 is connected to the transformer module 200, the second end of the third switch tube Q3 is connected to the positive electrode of the fifth diode D5, and the negative electrode of the fifth diode D5 is connected to the switching unit 530 to output the first drive signal. The trigger switch S1 is used to respond to the operation of triggering the trigger switch S1. The trigger switch S1 can be turned on when pressed and turned off when released, or it can be switched between the on state and the off state every time the trigger switch S1 is pressed. The logic control unit U3 is used to control the voltage at the output end of the logic control unit U3 to flip whenever it is detected that the trigger switch S1 is triggered.

[0049] It can be understood that the level outputted by the first end of the trigger switch S1 is the switch signal and the first drive signal, and the main control module 400 can determine whether the trigger switch S1 is pressed by detecting the transition edge of the switch signal, thereby determining whether to output the second drive signal. For example, when the main control module 400 stops outputting the second drive signal, when the main control module 400 detects that the trigger switch S1 is pressed, the main control module 400 can start to output the second drive signal. The switch control module 500 can configure the switching unit 530 according to the specific model of the trigger switch S1, so that when the switch module 100 needs to be turned on, the switching unit 530 can generate a corresponding control signal based on the first drive signal.

[0050] In one embodiment, different from the above-mentioned embodiment, the switch control module 500 includes a switching unit 530, which is respectively connected to the transformer module 200 and the switch module 100. The switching unit 530 is used to detect the operating voltage V1 and generate and output a control signal based on the first drive signal when the operating voltage V1 is lower than a preset threshold.

[0051] It is understandable that when the transformer module 200 fails, the transformer module 200 will not be able to output the rated operating voltage V1, and the main control module 400 and the switch module 100 driven by the operating voltage V1 will not be able to work normally. Therefore, it is necessary to generate a control signal based on the first drive signal, and the button module 300 controls the switch module 100.

[0052] In one embodiment, if Figure 5As shown, the switching unit 530 includes a ninth resistor R9, a second switch tube Q2, a tenth resistor R10, an eleventh resistor R11 and a fourth diode D4.

[0053] Different from the above embodiment, the first end of the ninth resistor R9 is connected to the transformer module 200 to access the working voltage V1, the second end of the ninth resistor R9 is connected to the controlled end of the second switch tube Q2, the first end of the second switch tube Q2 is connected to the key module 300 to access the first drive signal, the second end of the second switch tube Q2 is connected to the positive electrode of the fourth diode D4 and grounded through the tenth resistor R10, the first end of the eleventh resistor R11 is connected to the controlled end of the second switch tube Q2, the second end of the eleventh resistor R11 is grounded, and the cathode of the fourth diode D4 is connected to the controlled end of the switch module 100.

[0054] When the working voltage V1 is normal, the working voltage V1 will control the second switch tube Q2 to turn off. When the transformer module 200 fails such as power failure, causing the working voltage V1 to decrease, the second switch tube Q2 will be turned on to access the first drive signal and generate a control signal based on the first drive signal.

[0055] In one embodiment, the switch module 100 is configured to be turned on or off based on the operating voltage V1 and a control signal when the operating voltage V1 is greater than a preset threshold, and to be turned on or off based on the input voltage and the control signal when the operating voltage V1 is less than the preset threshold.

[0056] When the working voltage V1 cannot drive the switch module 100 to work normally, the switch module 100 can work directly based on the input voltage provided by the power supply 20 to avoid the influence of failures such as power failure of the transformer module 200.

[0057] In some embodiments, Figure 6 As shown, the switch module 100 includes a relay SW, a sixteenth resistor R16, a seventeenth resistor R17, an eighteenth resistor R18, a nineteenth resistor R19, a twentieth resistor R30, a fourth switch tube Q4, a fifth switch tube Q5, a sixth diode D6, a seventh diode D7 and a seventh capacitor C7. Among them, the fourth switch tube Q4 is a P-type MOS tube, and the fifth switch tube Q5 is an N-type MOS tube.

[0058] A first end of the sixteenth resistor R16 is connected to the transformer module 200, a second end of the sixteenth resistor R16 is connected to the anode of the sixth diode D6, a cathode of the sixth diode D6 is connected to the first end of the fourth switch tube Q4, a second end of the fourth switch tube Q4 is connected to the cathode of the seventh diode D7, an anode of the seventh diode D7 is connected to the first end of the seventeenth resistor R17, a second end of the seventeenth resistor R17 is connected to the power supply 20, a controlled end of the fourth switch tube Q4 is respectively connected to the first end of the eighteenth resistor R18 and the first end of the nineteenth resistor R19, a second end of the eighteenth resistor R18 is connected to the transformer module 200, and a second end of the nineteenth resistor R19 is grounded.

[0059] The first end of the nineteenth resistor and the first end of the seventh capacitor C7 are both connected to the first end of the fourth switch tube Q4, the second end of the seventh capacitor C7 is grounded, the second end of the twentieth resistor R30 is connected to the first end of the coil of the relay SW, the second end of the coil of the relay SW is connected to the first end of the fifth switch tube Q5, the second end of the fifth switch tube Q5 is grounded, the controlled end of the fifth switch tube Q5 is connected to the switch control module 500 to access the control signal, and the contacts of the relay SW are connected between the power supply 20 and the load 30.

[0060] It should be noted that when the working voltage V1 is greater than the preset threshold, the fourth switch tube Q4 is turned off, and the relay SW is driven by the working voltage V1. When the working voltage V1 is less than the preset threshold, the fourth switch tube Q4 is turned on, and the relay SW is directly driven by the input voltage. The key module 300 can obtain a high level through the switch module 100.

[0061] In some embodiments, Figure 6 As shown, the key module 300 includes a switch S2 and a twenty-first resistor R21 and a twenty-second resistor R22. The switch S2 can respond to external operations and switch between the on and off states. The first movable end of the switch S2 is connected to the switch module 100 through the twenty-first resistor R21, the second movable end of the switch S2 is grounded, the common end of the switch S2 is connected to the main control module 400 and the switch control module 500, the first end of the twenty-second resistor R22 is connected to the common end of the switch S2, and the second end of the twenty-second resistor R22 is grounded.

[0062] It can be understood that, in this embodiment, the switch signal and the first drive signal are simultaneously outputted by the common terminal of the switch S2. When the switch S2 is turned on, the high level outputted by the common terminal of the switch S2 can instruct the main control module 400 to output the second drive signal. When the transformer module 200 fails, the switch control module 500 can also generate a control signal based on the high level outputted by the common terminal of the switch S2.

[0063] Figure 7A schematic diagram of the structure of a switch device provided in an embodiment of the present application is shown. For the sake of convenience, only the parts related to the present embodiment are shown, which are described in detail as follows:

[0064] The switch device 40 includes the intelligent switch circuit 10 according to any one of the above embodiments. The switch device 40 can be arranged between the power source 20 and the load 30 to control the power supply from the power source 20 to the load 30. The switch device 40 can be a lamp switch.

[0065] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0066] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0067] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. An intelligent switch circuit, characterized in that: include: A switch module, the switch module is used to connect to the power supply and the load respectively, and the switch module is configured to be turned on or off based on a control signal; A transformer module, the transformer module is connected to the input end of the switch module, and the transformer module is used to generate and output a working voltage based on the input voltage provided by the power supply; A key module, the key module is used to generate and output a switch signal and a first drive signal in response to an operation that triggers the key module; A main control module, the main control module is connected to the key module, and the main control module is used to generate and output a second drive signal based on the switch signal; A switch control module, wherein the switch control module is connected to the button module and the main control module respectively, and the switch control module is used to generate and output the control signal based on the first drive signal or the second drive signal.

2. The intelligent switch circuit according to claim 1, characterized in that: The main control module is used to generate and output the second drive signal and the detection signal in the working state, and the switch control module is used to generate and output the control signal based on the second drive signal when the detection signal is received, and generate and output the control signal based on the first drive signal when the detection signal is not received; Wherein, the second driving signal and the detection signal are both PWM wave signals.

3. The intelligent switch circuit according to claim 2, characterized in that: The switch control module includes a DC isolation unit, a signal detection unit and a switching unit; The DC isolation unit is connected between the main control module and the switch module, and the DC isolation unit is used to generate the control signal based on the second driving signal; The signal detection unit is connected between the main control module and the switching unit, and the signal detection unit is used to identify the detection signal and generate and output a switching signal when the detection signal is not received; The switching unit is connected to the button module, the switch module and the signal detection unit respectively, and is used to generate and output the control signal based on the first drive signal when the switching signal is received, or to generate and output the control signal based on the second drive signal when the switching signal is not received.

4. The intelligent switch circuit according to claim 3, characterized in that: The DC isolation unit includes a first capacitor, a second capacitor, a first resistor, a second resistor and a first diode; The first end of the first capacitor is connected to the main control module for receiving the second driving signal, the second end of the first capacitor is respectively connected to the positive electrode of the first diode and the first end of the first resistor, the second end of the first resistor is grounded, the negative electrode of the first diode is connected to the first end of the second resistor, the second end of the second resistor is respectively connected to the switch module and the first end of the second capacitor, and the second end of the second capacitor is grounded.

5. The intelligent switch circuit according to claim 3, characterized in that: The signal detection unit includes a first switch tube, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a third capacitor, a second diode, a third diode, a first operational amplifier and a second operational amplifier; The first end of the third resistor is connected to the main control module to access the detection signal, the second end of the third resistor is connected to the controlled end of the first switch tube, the first end of the first switch tube is connected to the voltage transformation module through the fourth resistor to access the working voltage, the second end of the first switch tube is grounded, the first end of the fifth resistor is connected to the first end of the first switch tube, the second end of the fifth resistor is respectively connected to the first end of the third capacitor, the reverse input end of the first operational amplifier and the forward input end of the second operational amplifier, and the second end of the third capacitor is grounded; The first end of the sixth resistor is connected to the transformer module to access the working voltage, the second end of the sixth resistor is respectively connected to the positive input end of the first operational amplifier and the first end of the seventh resistor, the second end of the seventh resistor is respectively connected to the reverse input end of the second operational amplifier and the first end of the eighth resistor, the second end of the eighth resistor is grounded, the output end of the first operational amplifier is connected to the anode of the second diode, the output end of the second operational amplifier is connected to the anode of the third diode, and the cathode of the second diode and the cathode of the third diode are both connected to the switching unit.

6. The intelligent switch circuit according to claim 3, characterized in that: The switching unit includes a second switch tube, a ninth resistor, a tenth resistor, an eleventh resistor and a fourth diode; The first end of the ninth resistor is connected to the signal detection unit, the second end of the ninth resistor is connected to the controlled end of the second switch tube, the first end of the second switch tube is connected to the key module to access the first drive signal, the second end of the second switch tube is connected to the positive electrode of the fourth diode and is grounded through the tenth resistor, the first end of the eleventh resistor is connected to the controlled end of the second switch tube, the second end of the eleventh resistor is grounded, and the cathode of the fourth diode is connected to the controlled end of the switch module.

7. The intelligent switch circuit according to claim 3, characterized in that: The key module includes a trigger switch, a logic control unit, a third switch tube, a twelfth resistor, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a transient voltage suppression diode, a fourth capacitor, a fifth capacitor, a sixth capacitor and a fifth diode; The first end of the twelfth resistor is grounded, the second end of the twelfth resistor is connected to the first end of the trigger switch, the second end of the trigger switch is respectively connected to the first end of the transient voltage suppression diode, the first end of the fourth capacitor and the first end of the thirteenth resistor, the second end of the fourth capacitor and the second end of the transient voltage suppression diode are both grounded, and the second end of the thirteenth resistor is connected to the transformer module; The first end of the trigger switch is also connected to the first end of the fifth capacitor and the main control module respectively, the second end of the fifth capacitor is connected to the input end of the logic control unit and the first end of the fourteenth resistor respectively, the second end of the fourteenth resistor is grounded, the output end of the logic control unit is connected to the first end of the fifteenth resistor, the second end of the fifteenth resistor is connected to the first end of the sixth capacitor and the controlled end of the third switch tube respectively, the second end of the sixth capacitor is grounded, the first end of the third switch tube is connected to the transformer module, the second end of the third switch tube is connected to the positive electrode of the fifth diode, and the negative electrode of the fifth diode is connected to the switching unit, so as to output the first driving signal; Among them, the trigger switch is used to respond to the operation of triggering the trigger switch, the trigger switch is turned on when pressed, and is turned off when released; the logic control unit is used to control the voltage flipping of the output end of the logic control unit every time a high level is detected.

8. The intelligent switch circuit according to claim 1, characterized in that: The switch control module includes a switching unit, which is connected to the transformer module and the switch module respectively. The switching unit is used to detect the operating voltage and generate and output the control signal based on the first drive signal when the operating voltage is lower than a preset threshold.

9. The intelligent switch circuit according to claim 8, characterized in that: The switch module is configured to be turned on or off based on the operating voltage and the control signal when the operating voltage is greater than the preset threshold, and to be turned on or off based on the input voltage and the control signal when the operating voltage is less than the preset threshold.

10. A switching device, characterized in that: The intelligent switch circuit comprises the intelligent switch circuit as described in any one of claims 1 to 9.

Citation Information

Cited By

  • Driving circuit and electronic equipment

    CN120474313A

  • Driving circuit and electronic device

    CN120474313B