Control circuit and intelligent switch

By designing control circuits in the intelligent switch and adjusting the working state using the electrical signal sampling module and the control module, the problem that the intelligent switch cannot obtain sufficient power when the power of the load device changes, achieving the effect of maintaining some functions when the power is insufficient.

CN120010338APending Publication Date: 2025-05-16BEIJING XSMART CENTURY TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510128142.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-05
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

When the power of the load device changes, existing smart switches cannot obtain enough power from the circuit, resulting in failure to work properly.

Method used

A control circuit is designed, including a switch-connecting power-acquisition circuit, an electronically controlled switch, an electrical signal sampling module and a control module. The electrical signal value at the electrical energy output terminal is measured by the electrical signal sampling module, and the control module adjusts the working state according to the preset electrical signal value to ensure that the control circuit can still maintain some functions when the power is insufficient.

Benefits of technology

It realizes that when sufficient power cannot be obtained from the circuit, the intelligent switch can still maintain basic control functions and signal transmission functions, ensuring the normal control of the load device and the user's working status notification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120010338A_ABST
    Figure CN120010338A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a control circuit. The control circuit comprises a switch connection electricity taking circuit, an electric control switch, an electric signal sampling module and a control module, the control module is used for controlling the on-off of the control circuit through the control end of the electric control switch; the switch communicates with the power-taking circuit and supplies power to the control module through the electric energy output end. And the electric signal sampling module is used for measuring the value of a preset electric signal provided for the control module by the electric energy output end of the switch communicated power taking circuit, and adjusting the working state of the control circuit according to the value of the preset electric signal. According to the control circuit and the intelligent switch provided by the embodiment of the invention, whether the value of the electric signal can be supplied to the control circuit for normal work or not can be judged, and the control circuit is controlled to enter a corresponding working mode. Therefore, the control circuit can provide maintained electric energy for the basic control function, and the control function and the signal sending function are maintained. And load equipment can be controlled by using a control function, and a notice is sent to inform a user of the current working state of the control circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Smart switches are now increasingly used in smart home scenarios. They can be controlled by smart devices such as mobile phones and smart voice assistants to control devices such as lamps, speakers, and cameras. Existing smart switches need to obtain power from the circuit in which they are located in order to work properly, in order to maintain the normal operation of the controller chip, communication chip and other modules inside them. However, in actual application, the power of some devices will change with the working state. When it is in a high-power working state, its working current is large and can normally power the smart switch; when it is in a low-power working state, the working current is also low and cannot normally power the smart switch. When the smart switch is connected to such a device, the change in the working state of the load device will cause the smart switch to be unable to obtain enough power from the circuit, making the smart switch unable to work properly. Summary of the invention

[0003] The embodiments of the present disclosure provide a control circuit and an intelligent switch to solve the existing problems.

[0004] Based on the above problems, in a first aspect, an embodiment of the present disclosure provides a control circuit, including: a switch connecting a power-taking circuit, an electric control switch, an electric signal sampling module and a control module are arranged between two wiring terminals;

[0005] One end of the electric control switch is connected to one end of the two wiring terminals; the other end of the electric control switch is connected to the switch connected power circuit; the switch connected power circuit is connected to the other end of the two wiring terminals; the control end of the electric control switch and the power output end of the switch connected power circuit are respectively connected to the control module; the electrical signal sampling module is respectively connected to the power output end of the switch connected power circuit and the control module;

[0006] The control module is used to control the on and off of the electric control switch through the control end of the electric control switch to control the on and off of the control circuit;

[0007] The switch is connected to the power taking circuit, and is used to supply power to the control module through the power output terminal when the control circuit is connected;

[0008] The electrical signal sampling module is used to measure the value of the preset electrical signal provided to the control module by the power output end of the switch connected to the power-taking circuit when the control circuit is in path, and send it to the control module so that the control module can adjust the working state of the control circuit according to the value of the preset electrical signal.

[0009] In combination with the first aspect, in a possible implementation, the control module is used to control the control circuit to enter a low power consumption working state when the value of the preset electrical signal is less than a first threshold.

[0010] In combination with the first aspect, in a possible implementation manner, the device further includes: a wireless receiving module and a wireless sending module;

[0011] The wireless receiving module and the wireless sending module are respectively connected to the control module, or the control module includes the wireless receiving module and the wireless sending module;

[0012] The wireless receiving module is used to receive a first control signal for controlling the on / off of the control circuit through wireless communication, and transmit the first control signal to the control module;

[0013] The wireless sending module is used to send a second control signal for the load device of the control circuit through wireless communication.

[0014] In combination with the first aspect, in a possible implementation manner, the control circuit is an intelligent switch; the load device is an intelligent device; the intelligent device is connected to ends where control lines of the two wiring terminals are located;

[0015] The wireless receiving module is used to receive a first control signal for controlling the on and off of the intelligent switch through wireless communication, and transmit the first control signal to the control module;

[0016] The wireless sending module is used to send a second control signal to the gateway device through wireless communication when receiving a touch command sent by the user, so that the second control signal is sent to the server through the gateway device, and the second control signal is sent to the smart device through the server.

[0017] In combination with the first aspect, in a possible implementation, the control module is used to control the wireless receiving module to stop working when the value of the preset electrical signal is less than a first threshold.

[0018] In combination with the first aspect, in a possible implementation manner, when the value of the preset electrical signal is greater than a first threshold value and less than a second threshold value, the control circuit is controlled to maintain a current working state;

[0019] When the value of the preset electrical signal is greater than the second threshold, the control circuit is controlled to operate in a normal working state.

[0020] In combination with the first aspect, in a possible implementation, the control module is used to obtain the preset electrical signal a preset number of times, determine the average of the preset electrical signal values ​​for the preset number of times, and use the average as the preset electrical signal value in the corresponding time period.

[0021] In combination with the first aspect, in a possible implementation manner, the electrical signal sampling module includes a first resistor and a second resistor;

[0022] One end of the first resistor is connected to the power output end of the power-taking circuit connected to the switch, and the other end is respectively connected to one end of the second resistor and the control module; the other end of the second resistor is grounded.

[0023] In combination with the first aspect, in a possible implementation manner, the preset electrical signal value of the control circuit is positively correlated with the current value of the load end of the control circuit; and / or

[0024] The wireless sending module is also used to send a notification signal to a preset device when the working state changes; wherein the preset device is communicatively connected with the control circuit.

[0025] In a second aspect, an embodiment of the present disclosure provides an intelligent switch, comprising the control circuit described in any one of the first aspects.

[0026] The beneficial effects of the embodiments of the present disclosure include:

[0027] The embodiment of the present disclosure provides a control circuit, comprising: a switch-connected power-taking circuit, an electric-controlled switch, an electric signal sampling module and a control module are arranged between two wiring terminals; one end of the electric-controlled switch is connected to one end of the two wiring terminals; the other end of the electric-controlled switch is connected to the switch-connected power-taking circuit; the switch-connected power-taking circuit is connected to the other end of the two wiring terminals; the control end of the electric-controlled switch and the power output end of the switch-connected power-taking circuit are respectively connected to the control module; the electric signal sampling module is respectively connected to the power output end of the switch-connected power-taking circuit and the control module; the control module is used to control the on-off of the electric-controlled switch through the control end of the electric-controlled switch to control the on-off of the control circuit; the switch-connected power-taking circuit is used to supply power to the control module through the power output end when the control circuit is connected; the electric signal sampling module is used to measure the value of a preset electric signal provided to the control module by the power output end of the switch-connected power-taking circuit when the control circuit is connected, and send it to the control module, so that the control module adjusts the working state of the control circuit according to the value of the preset electric signal. The control circuit and intelligent switch provided by the embodiments of the present disclosure can use the electric signal sampling module to determine the value of the electric signal obtained by the control circuit, and the control module determines whether the value of the electric signal obtained can supply the control circuit to work normally, and controls the control circuit to enter the corresponding working mode. When the control circuit cannot obtain enough electric energy from the circuit, it can still provide the basic control function with the maintenance electric energy, maintain the control function and the signal sending function. The control function can also be used to control the load device, and send a notification to inform the user of the current working status of the control circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 A schematic diagram of the control circuit structure provided by an embodiment of the present disclosure;

[0029] Figure 2 A schematic diagram of the structure of an electrical signal sampling module provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0030] The embodiments of the present disclosure provide a control circuit and an intelligent switch. The preferred embodiments of the present disclosure are described below in conjunction with the drawings of the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present disclosure, and are not used to limit the present disclosure. In addition, the embodiments and features in the embodiments of the present application can be combined with each other if there is no conflict.

[0031] The present disclosure provides a control circuit, such as Figure 1 As shown, it includes: a switch connecting a power-taking circuit 1, an electric control switch 2, an electric signal sampling module 3 and a control module 4 are arranged between two wiring terminals;

[0032] One end of the electric control switch 2 is connected to one end of the two wiring terminals; the other end of the electric control switch 2 is connected to the switch connected power circuit 1; the switch connected power circuit 1 is connected to the other ends of the two wiring terminals; the control end of the electric control switch 2 and the power output end of the switch connected power circuit 1 are respectively connected to the control module 4; the electrical signal sampling module 3 is respectively connected to the power output end of the switch connected power circuit 1 and the control module 4;

[0033] The control module 4 is used to control the on and off of the electric control switch 2 through the control end of the electric control switch 2, so as to control the on and off of the control circuit;

[0034] The switch is connected to the power circuit 1, and is used to supply power to the control module 4 through the power output terminal when the control circuit is open;

[0035] The electrical signal sampling module 3 is used to measure the value of a preset electrical signal provided to the control module 4 by the power output end of the power-taking circuit 1 connected to the switch when the control circuit is in path, and send it to the control module 4 so that the control module 4 can adjust the working state of the control circuit according to the value of the preset electrical signal.

[0036] In the disclosed embodiment, the control circuit may be a part of the circuit used in the intelligent switch and having the functions of controlling the on and off of the circuit, obtaining electric energy and collecting electric signals. The intelligent switch device may include multiple working modes: for example, a normal working mode in which the on and off of the line is controlled by an electric control switch such as a relay. In this working mode, the intelligent switch can be controlled by a control instruction to control the on and off of its internal electric control switch, thereby controlling the on and off of the load device; and a wireless control mode in which the electric control switch is kept normally closed and the load device is controlled only by a wireless control signal. Among them, the wireless control mode is a control mode mainly for load devices that are intelligent devices. Such load devices (i.e., intelligent devices) usually need to remain powered on for a long time, thereby maintaining an Internet connection state, and have the ability to control their own switch state. Intelligent lighting devices are representatives of such intelligent devices.

[0037] In the embodiment of the present disclosure, the two ends of the electric control switch 2 are respectively connected to the external circuit through the two wiring terminals of the control circuit. In actual applications, these two wiring terminals (i.e., the two ends of the power supply) can be respectively connected to the control line (the wiring between the switch and the load device) and the live wire. This is only an example and not a limitation. Figure 1In the example, one end of the electric switch 2 is connected to the control line, and the other end of the electric switch 2 is connected to the live line through the switch to connect the power circuit 1, forming a channel for power transmission. In the normal working mode, the electric switch 2 controls the on and off of the load device by controlling the on and off of this channel; in the wireless control mode, the electric switch 2 remains closed to maintain the power supply to the load device. In this example, one end of the load device is connected to the neutral line, and the other end of the load device is connected to the electric switch 2 through the control line.

[0038] The control module 4 is the core control unit of the entire control circuit, which can be a microcontroller (MCU) or a system on chip (SoC). It is connected to the control end of the electric control switch 2. Through this connection, the control module 4 can send a control signal to the electric control switch 2 to achieve control operation of the electric control switch 2.

[0039] The switch connected power circuit 1 is the power supply part of the control circuit. When the electric control switch 2 is closed, the two terminals of the control circuit can be controlled to supply power, forming a power supply channel. Electric energy is obtained from the external circuit, and the control module 4 is powered after adjustment. The electric energy that can be obtained is determined according to the current of the external circuit, that is, when the current flowing through the load device is larger, the electric energy that can be obtained by the switch connected power circuit 1 is larger; when the current flowing through the load device is smaller, the electric energy that can be obtained by the switch connected power circuit 1 is smaller.

[0040] The electric signal sampling module 3 is used to measure the magnitude of the electric energy (i.e. the value of the preset electric signal) obtained by the switch connecting the power circuit 1 when the control circuit path is controlled (i.e. the electric control switch 2 is closed), and send it to the control module 4. The control module 4 can adjust the working state of the control circuit according to the magnitude of the electric energy.

[0041] In another embodiment provided by the present disclosure, the control module 4 is used to control the control circuit to enter a low power consumption working state when the value of the preset electrical signal is less than a first threshold.

[0042] In the embodiment of the present disclosure, the wireless control mode may include a low power consumption working state and a normal working state, wherein the low power consumption working state is mainly for the case where the working current of the load device is small.

[0043] The control module 4 is preset with a first threshold value, which can be a voltage value. When the voltage value is lower than the voltage value, the power obtained by connecting the switch to the power circuit 1 cannot support the normal operation of all modules of the control circuit. When the preset electrical signal is current, the first threshold value can also be a current value, which will not be repeated here.

[0044] When the value of the electric signal acquired by the electric signal sampling module 3 is less than the first threshold value, the control module 4 controls the control circuit to enter a low-power working state. In the low-power working state, the control module 4 actively controls some working modules of the control circuit to stop working, thereby reducing the power consumed by the control circuit, maintaining the operation of the preset functional modules, and enabling the control circuit to still maintain some functions when the input power is insufficient. This method can solve the problem that the control circuit cannot maintain operation when the control circuit takes insufficient power.

[0045] In another embodiment provided by the present disclosure, the control circuit provided by the present disclosure further includes: a wireless receiving module and a wireless transmitting module;

[0046] The wireless receiving module and the wireless transmitting module are respectively connected to the control module 4, or the control module 4 includes the wireless receiving module and the wireless transmitting module;

[0047] A wireless receiving module, used for receiving a first control signal for controlling the on / off of the control circuit through wireless communication, and transmitting the first control signal to the control module 4;

[0048] The wireless sending module is used to send a second control signal for the load device of the control circuit through wireless communication.

[0049] In the disclosed embodiment, the wireless receiving module and the wireless sending module may be wireless transceiver devices connected to the control module 4 (eg, MCU), or may be modules integrated in the control module 4 (eg, SoC).

[0050] The wireless receiving module can receive and transmit the first control signal to the control module 4 , and the control module 4 controls the closing and opening of the electric control switch 2 according to the first control signal.

[0051] The wireless sending module can transmit the second control signal to the preset load device according to the control of the control module 4.

[0052] In another embodiment provided by the present disclosure, the control circuit is an intelligent switch; the load device is an intelligent device; the intelligent device is connected to the ends where the control lines of the two wiring terminals are located;

[0053] A wireless receiving module, used for receiving a first control signal for controlling the on and off of the intelligent switch through wireless communication, and transmitting the first control signal to the control module 4;

[0054] The wireless sending module is used to send a second control signal to the gateway device through wireless communication when receiving a touch command sent by the user, so that the second control signal is sent to the server through the gateway device, and the second control signal is sent to the smart device through the server.

[0055] In the disclosed embodiment, the wireless receiving module can connect the control circuit to the control device through wireless communication, where the control device can be a smart device such as a mobile phone, and the wireless control circuit can communicate with the control device through a gateway. A possible control process is to use the corresponding control software on the mobile phone to send the control demand to the cloud server, and the cloud server sends the control signal to the home router, and the home router communicates with the target control circuit through the gateway wirelessly. The gateway can convert the control signal into a first control signal and send the first control signal to the target control circuit. The wireless receiving module of the target control circuit can receive the first control signal and pass it to the control module 4, and the control module 4 controls the on and off of the electric control switch 2 according to the first control signal, thereby controlling the on and off of the electrical equipment (i.e., the load equipment).

[0056] The wireless transmission module can enable the control circuit to communicate with the load device through wireless communication. The load device here can be a device such as a smart light that can receive a control signal (a second control signal). A possible control process can be that the control circuit sends the second control signal to the local gateway through the wireless transmission module based on the control instruction, and the local gateway transmits the second control signal to the server side, and the server side sends the second control signal to the load device, thereby realizing the control of the load device; wherein, the control instruction can be a control signal sent by the control device, or it can be a touch instruction for the control panel of the smart switch where the control circuit is located. The touch instruction here can be a control instruction triggered by a physical operation of the control panel. If the control panel is a panel with a button, the touch instruction here can be a control instruction triggered by the user pressing the button. If the control panel is a panel with a touch screen, the touch instruction here can be a control instruction triggered by the user touching the touch screen.

[0057] Consider the following application scenario: the control circuit is a smart switch, and the load device is a smart lamp. Both are smart devices, and users can control them independently. That is to say, the user can control the switch of the smart lamp by turning the smart switch on and off, or directly control the smart lamp when the smart switch is always on. When the brightness of the smart lamp is adjusted to the lowest, even if the smart switch is in the on state, it can be considered that the smart lamp has been turned off, and the current in the circuit is very small at this time. When the control circuit has sufficient power, the smart switch can receive the first control signal of the user to control the on and off of the smart switch through the wireless receiving module (for example, the user sends the first control signal to the smart switch through the wireless control method of the mobile phone), that is, the control module 4 can control the on and off of the electric control switch according to the first control signal, thereby controlling the on and off of the smart switch, and further controlling the on and off of the smart lamp. As for the wireless sending module, the smart switch can send a second control signal to the smart lamp through the wireless sending module, and transmit the second control signal to the smart lamp through the following transmission path: smart switch->gateway->cloud or local central computing->smart lamp.

[0058] In another embodiment provided by the present disclosure, the control module 4 is used to control the wireless receiving module to stop working when the value of the preset electrical signal is less than the first threshold.

[0059] In the disclosed embodiment, the control module 4 makes a judgment based on the value of the electric signal acquired by the electric signal sampling module 3. When the value is lower than the first threshold, the control circuit cannot obtain enough electric energy, so the control circuit needs to enter a low-power working state. Among them, the first threshold can be a voltage value. When the voltage value sampled by the electric signal sampling module 3 is lower than this value, it indicates that the power consumption of the control circuit at this time is greater than the power that can be provided by the switch connected power circuit 1 (for example, when the smart switch is normally open, the smart lamp is directly controlled, and the brightness of the smart lamp is adjusted to the lowest). The modules in the control circuit cannot reach the voltage value for their normal operation, and the control circuit cannot continue to work normally in a normal working state. In a possible implementation, the wireless receiving module of the control circuit will be turned off in the low-power working state. The wireless receiving module needs to be kept online in real time to receive signals sent by other devices, which makes it the module with the largest power consumption in the entire control circuit. Turning off the wireless receiving module can reduce the power consumption of the control circuit and reduce power consumption, so that other modules can obtain the voltage value for normal operation and maintain normal operation.

[0060] Since in the actual working process, the current consumed by turning on wireless reception is much greater than the current consumed by wireless transmission, the wireless receiving module can be turned off in the embodiment of the present disclosure, which can greatly reduce the working current of the smart switch, while keeping the wireless transmission module working normally, so that even when the current obtained by the smart switch from the line is extremely low, it can maintain a normal working state. In the low-power working state, some functions of the smart switch are turned off, for example: it is impossible to receive wireless control instructions from the control device (for example: mobile phone, smart speaker, etc.), and it is impossible to download the smart switch over the air (OTA, Over The Air). However, the smart switch can still receive the second control instruction sent by the user through the physical touch method through the control panel, and then send the second control instruction to the smart lamp through the gateway device, etc., to ensure the normal use of the smart switch.

[0061] In another embodiment provided by the present disclosure, when the value of the preset electrical signal is greater than the first threshold value and less than the second threshold value, the control circuit is controlled to maintain the current working state;

[0062] When the value of the preset electrical signal is greater than the second threshold, the control circuit is controlled to operate in a normal working state.

[0063] In the embodiment of the present disclosure, the second threshold value may be an electrical signal value that fully guarantees the normal operation of each module in the control circuit, and the second threshold value may be a voltage value. In a possible implementation, when the voltage value sampled by the electrical signal sampling module 3 is higher than the second threshold value, the power provided by the switch-connected power-taking circuit 1 can be used for the normal operation of the control circuit. The voltage value of each module in the control circuit can reach a level that maintains its normal operation, and each module in the control circuit can operate normally at the same time.

[0064] The electrical signal value in the middle part between the second threshold and the first threshold can also maintain the normal operation of each module in the control circuit. The purpose of setting this interval is to prevent possible fluctuations in the electrical signal value, which may cause the control circuit to frequently switch the working state. When the electrical signal value sampled by the electrical signal sampling module 3 is higher than the first threshold and lower than the second threshold, the control module 4 does not change the working state of the control circuit. When the electrical signal value sampled by the telecommunications sampling module is from below the first threshold to the interval between the second threshold and the first threshold (that is, the current state of the control circuit is a low-power working state), the low-power working state of the control circuit is not changed. When the electrical signal value sampled by the telecommunications sampling module is from above the second threshold to the interval between the second threshold and the first threshold (that is, the current state of the control circuit is a normal working state), the normal working state of the control circuit is not changed.

[0065] Continuing to refer to the application scenario in which the control circuit is a smart switch and the load device is a smart lamp: assuming that the user adjusts the brightness of the smart lamp to 5%, the power of the smart lamp is neither too large nor too small. If the smart switch is working in a normal working state, the power consumption is large, and the internal power consumption is greater than the power that can be obtained from the control circuit. The internal voltage (the electrical signal is preset as voltage here) will drop. Once it is lower than the first threshold, it is necessary to switch to a low-power working state; after entering the low-power working state, the internal power consumption is less than the power that can be obtained from the control circuit, and the internal voltage will rise. Once it exceeds the second threshold, it is necessary to switch back to a normal working state. For example, to prevent the smart switch from repeatedly switching between the normal working state and the low-power working state in a short period of time, it is necessary to adopt the method provided by the embodiment of the present disclosure: when the value of the preset electrical signal (internal voltage) is greater than the first threshold and less than the second threshold, the control circuit is controlled to maintain the current working state.

[0066] In another embodiment provided by the present disclosure, the control module 4 is used to obtain the preset electrical signal a preset number of times, determine the average value of the preset electrical signal values ​​of the preset number of times, and use the average value as the preset electrical signal value in the corresponding time period.

[0067] In the embodiment of the present disclosure, in order to avoid short-term fluctuations in the electrical signal value causing the control circuit to frequently switch its working state, the average of the electrical signal values ​​acquired within a period of time can be used as the preset electrical signal value within the time period and compared with the first threshold or the second threshold to determine the working state that the control circuit should be in.

[0068] In another embodiment provided by the present disclosure, Figure 2 As shown, the electrical signal sampling module 3 includes a first resistor 31 and a second resistor 32;

[0069] One end of the first resistor 31 is connected to the power output end of the switch connected power taking circuit 1, and the other end is connected to one end of the second resistor 32 and the control module 4 respectively; the other end of the second resistor 32 is grounded.

[0070] In the embodiment of the present disclosure, the first resistor 31 and the second resistor 32 can be used as voltage-dividing resistors to adjust the electrical signal value output to the corresponding interface in the control module 4 according to a preset ratio. Among them, the corresponding interface in the control module 4 can be the input port of the analog-to-digital converter in the control module 4, and the port has a certain tolerance range for the input electrical signal. The purpose of the first resistor 31 and the second resistor 32 is to adjust the electrical signal value at the output end of the electric energy to the range that the input port of the analog-to-digital converter of the control module 4 can bear. By using the fixed resistance of the first resistor 31 and the second resistor 32, the electrical signal value of the input electrical signal sampling module 3 is proportionally reduced at the output end of the electrical signal sampling module 3 (i.e., the end connected to the control module 4). The control module 4 records this proportional value, and uses the signal value of the input control module 4 and this proportional value to calculate, so as to obtain the electrical signal value of the electrical energy output end of the switch connected power circuit 1. And based on the comparison of this electrical signal value with the first threshold value and the second threshold value, it is judged whether the electrical energy obtained by the switch connected power circuit 1 can supply the control circuit for normal operation.

[0071] Here, an analog-to-digital converter can be used to detect the voltage to continuously and accurately monitor the change of the internal voltage curve, and the internal voltage is adjusted to the input range that the corresponding interface of the control module 4 (for example, the analog-to-digital conversion interface (MCU ADC IO)) can withstand through the first resistor 31 and the second resistor 32. In another embodiment, an external voltage comparison circuit can also be used to output a binary signal according to the voltage comparison result, for example, output 1 when the voltage is higher than the corresponding threshold, and output 0 when the voltage is lower than the corresponding threshold.

[0072] In another embodiment provided by the present disclosure, the preset electrical signal value of the control circuit is positively correlated with the current value of the load end of the control circuit; and / or

[0073] The wireless sending module is also used to send a notification signal to a preset device when the working state changes; wherein the preset device is communicatively connected with the control circuit.

[0074] In the embodiments of the present disclosure, in a possible implementation, the control circuit is applied to one end of the live wire connected to the load device to control the angle of power transmission. The control circuit achieves the purpose of controlling the on and off of the load device by controlling the live wire end. The power obtained by the switch-connected power-taking circuit 1 is affected by the power of the load device at the load end. For high-power devices, their operating current is relatively large, and the current flowing through the control circuit is correspondingly large. The more power the switch-connected power-taking circuit 1 obtains; for low-power devices, their operating current is relatively small, and the current flowing through the control circuit is correspondingly small. The less power the switch-connected power-taking circuit 1 obtains. For devices with adjustable power, taking a lamp with adjustable brightness as an example, when its brightness is adjusted to a lower level, its power consumption is low and its operating current is also low. In this case, the control circuit cannot obtain enough power to maintain the normal operation of each internal module, resulting in abnormal operation of the control circuit.

[0075] Optionally, when the control circuit is ready to switch working status, the wireless transmission module can send a notification signal to a preset device (such as a mobile phone or smart device such as a smart speaker) to inform the user that the working status of the control circuit has changed, so that the user can perform targeted operations. In the case where the control circuit enters a low-power working state, a notification is sent to inform the user that the circuit cannot be turned on and off through the smart device wireless control, but it can be operated through the smart switch panel where the control circuit is located. If all functions are required, the current intensity in the control circuit can be increased (for example: increase the brightness of the smart lamp, etc.); in the case where the control circuit enters a normal working state, a notification is sent to inform the customer that the control circuit can work normally and can be turned on and off through wireless control. Using this method, the user can clearly understand the current working status of the control circuit, which improves the user experience.

[0076] The present disclosure also provides an intelligent switch, comprising the control circuit provided in the embodiment of the present disclosure.

[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that the embodiments of the present disclosure can be implemented by hardware, or by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0078] Those skilled in the art will appreciate that the accompanying drawings are merely schematic diagrams of a preferred embodiment, and the modules or processes in the accompanying drawings are not necessarily required for implementing the present disclosure.

[0079] Those skilled in the art can understand that the modules in the device in the embodiment can be distributed in the device in the embodiment according to the description of the embodiment, or can be changed accordingly and located in one or more devices different from the present embodiment. The modules in the above embodiment can be combined into one module, or can be further divided into multiple sub-modules.

[0080] The serial numbers of the above-mentioned embodiments of the present disclosure are only for description and do not represent the advantages or disadvantages of the embodiments.

[0081] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A control circuit, characterized in that: include: A switch is provided between the two connection terminals to connect the power taking circuit, the electric control switch, the electric signal sampling module and the control module; One end of the electric control switch is connected to one end of the two wiring terminals; the other end of the electric control switch is connected to the switch connected power circuit; the switch connected power circuit is connected to the other end of the two wiring terminals; the control end of the electric control switch and the power output end of the switch connected power circuit are respectively connected to the control module; the electrical signal sampling module is respectively connected to the power output end of the switch connected power circuit and the control module; The control module is used to control the on and off of the electric control switch through the control end of the electric control switch to control the on and off of the control circuit; The switch is connected to the power taking circuit, and is used to supply power to the control module through the power output terminal when the control circuit is connected; The electrical signal sampling module is used to measure the value of the preset electrical signal provided to the control module by the power output end of the switch connected to the power-taking circuit, and send it to the control module, when the control circuit is in path, so that the control module can adjust the working state of the control circuit according to the value of the preset electrical signal.

2. The control circuit according to claim 1, characterized in that: The control module is used to control the control circuit to enter a low power consumption working state when the value of the preset electrical signal is less than a first threshold.

3. The control circuit according to claim 1, characterized in that: Also includes: Wireless receiving module, wireless sending module; The wireless receiving module and the wireless sending module are respectively connected to the control module, or the control module includes the wireless receiving module and the wireless sending module; The wireless receiving module is used to receive a first control signal for controlling the on / off of the control circuit through wireless communication, and transmit the first control signal to the control module; The wireless sending module is used to send a second control signal for the load device of the control circuit through wireless communication.

4. The control circuit according to claim 3, characterized in that: The control circuit is an intelligent switch; the load device is an intelligent device; the intelligent device is connected to the ends of the control lines of the two wiring terminals; The wireless receiving module is used to receive a first control signal for controlling the on and off of the intelligent switch through wireless communication, and transmit the first control signal to the control module; The wireless sending module is used to send a second control signal to the gateway device through wireless communication when receiving a touch command sent by the user, so that the second control signal is sent to the server through the gateway device, and the second control signal is sent to the smart device through the server.

5. The control circuit according to claim 3 or 4, characterized in that: The control module is used to control the wireless receiving module to stop working when the value of the preset electrical signal is less than a first threshold.

6. The control circuit according to claim 1, characterized in that: When the value of the preset electrical signal is greater than a first threshold value and less than a second threshold value, controlling the control circuit to maintain a current working state; When the value of the preset electrical signal is greater than the second threshold, the control circuit is controlled to operate in a normal working state.

7. The control circuit according to claim 1, characterized in that: The control module is used to obtain the preset electrical signal a preset number of times, determine the average value of the preset electrical signal values ​​of the preset number of times, and use the average value as the preset electrical signal value in the corresponding time period.

8. The control circuit according to claim 1, characterized in that: The electrical signal sampling module includes a first resistor and a second resistor; One end of the first resistor is connected to the power output end of the power-taking circuit connected to the switch, and the other end is respectively connected to one end of the second resistor and the control module; the other end of the second resistor is grounded.

9. The control circuit according to claim 3, characterized in that: The preset electrical signal value of the control circuit is positively correlated with the current value at the load end of the control circuit; and / or The wireless sending module is also used to send a notification signal to a preset device when the working state changes; wherein the preset device is communicatively connected with the control circuit.

10. An intelligent switch, characterized in that: The control circuit comprises the control circuit described in any one of claims 1 to 9.