Improved intelligent switch control device
By designing components such as filter circuits, rectifier circuits and step-down circuits in smart sockets, combined with WiFi and Bluetooth communication, the control problem of smart sockets when the network is disconnected is solved, and basic control and linkage task execution is achieved in offline states , improves user experience and synchronizes data when network recovery.
Patent Information
- Application Number
- CN202411222370.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-12-06
AI Technical Summary
Existing smart sockets cannot achieve remote control and energy consumption monitoring when the network is unstable or disconnected, and cannot meet some of the user's needs.
An improved intelligent switch control device is designed, including filter circuit, rectifier circuit, step-down circuit, main control, power detection circuit, relay control circuit and offline voice control circuit, and interact with the cloud in an online state through WiFi and Bluetooth communication. , Rely on local storage and data interaction in offline state to ensure the execution of basic control functions.
It realizes basic control of sockets and execution of linkage tasks in offline state, provides fast operation feedback and convenience, and synchronizes data during network recovery, meeting complex automation application scenarios.
Smart Images

Figure CN119087867A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent sockets, and in particular to an improved intelligent switch control device. Background Art
[0002] Today's smart sockets combine sockets and control devices to achieve remote intelligent monitoring and control functions. The control system of the device relies on the home network connection. When the network is unstable or disconnected, the remote control function of the smart socket will be affected, and thus cannot meet some of the user's needs. For example, when the network is offline, users cannot control and monitor energy consumption through their mobile phones.
[0003] Therefore, there is an urgent need for an improved intelligent switch control device that can solve one or more of the above problems. Summary of the invention
[0004] In order to solve one or more problems existing in the prior art, the present invention provides an improved intelligent switch control device. The technical solution adopted by the present invention to solve the above problems is: an improved intelligent switch control device, which includes: a filter circuit, the filter circuit is electrically connected to the mains end, the output end of the filter circuit is electrically connected to the rectifier circuit, the output end of the rectifier circuit is electrically connected to the first step-down circuit, the first step-down circuit is electrically connected to the second step-down circuit, the second step-down circuit is electrically connected to the third step-down circuit, and the third step-down circuit supplies power to the main control and ambient light sensing control circuits;
[0005] The first step-down circuit supplies power to the dimming circuit, the dimming circuit is electrically connected to the display screen, and the second step-down circuit supplies power to the power detection circuit, the relay control circuit, and the offline voice control circuit;
[0006] The main control is electrically connected to the dimming circuit, the power detection circuit, the relay control circuit, the offline voice control circuit, the ambient light sensing control circuit and the WiFi-BLE circuit;
[0007] The power detection circuit is provided with an input voltage detection circuit and a load current detection circuit, the input voltage detection circuit is electrically connected to the first AC terminal of the mains, the load current detection circuit is electrically connected to the second AC terminal of the mains, and the relay control circuit is electrically connected to the first AC terminal or the second AC terminal of the mains;
[0008] The two AC input terminals of the load are electrically connected to the mains terminal, and the relay control circuit controls the on-off of the electrical connection between the load and the mains terminal.
[0009] In some embodiments, the device stores execution tasks of the load, the device is connected to the Internet via wifi and enters an online state, the device interacts with the cloud in the online state, the user obtains the electrical parameters of the load detected by the device through the cloud and controls the operation of the load, the device obtains the execution tasks set by the user through the cloud and stores them locally, and the device executes tasks interacting with other smart devices through the cloud;
[0010] The device cannot be connected to the Internet via wifi and enters an offline state. In the offline state, the device executes the locally stored execution tasks and the tasks input by the user's voice, and the device stores the electrical parameter data and operation data of the load;
[0011] In the offline state, if the device and other smart devices are in the same network environment, the device performs the task of interacting with other smart devices through the local offline wifi network, and the device performs data interaction with the user terminal through the local offline wifi network or Bluetooth communication.
[0012] Furthermore, in the offline state, the device communicates with the cloud through the network of the user terminal, and the device obtains sub-tasks of other smart devices from the user terminal or the cloud and forwards them to other smart devices through the local offline wifi network.
[0013] Furthermore, the device forwards the sub-task to other corresponding smart devices via Bluetooth communication when idle or executing the task.
[0014] Furthermore, the device separates the task execution of the user voice input, separating the execution task of the device itself and the sub-execution task of other smart devices, and the device forwards the separated sub-execution task to other smart devices through a local offline wifi network or Bluetooth communication.
[0015] Furthermore, at the time of initialization, the device obtains the communication protocol and task data format of other linked smart devices through the user terminal or the cloud;
[0016] When the device switches from the offline state to the online state, the device synchronizes the electrical parameter data and operation data of the load stored in the offline state to the cloud.
[0017] In some embodiments, the first buck circuit is a flyback buck circuit, the second buck circuit is a BUCK buck circuit, and the third buck circuit is an LDO buck circuit.
[0018] In some embodiments, it further includes: a switch control circuit, the third step-down circuit supplies power to the switch control circuit, and the switch control circuit is electrically connected to the main control circuit.
[0019] In some embodiments, it also includes: a speaker control circuit, the speaker control circuit is electrically connected to the speaker, the second step-down circuit supplies power to the speaker and the speaker control circuit, and the speaker control circuit is electrically connected to the main control.
[0020] In some embodiments, the power detection circuit is provided with a metering IC, the IP and IN pins of the metering IC are electrically connected to the load current detection circuit, the VP pin of the metering IC is electrically connected to the input voltage detection circuit, and the SEL, CF, and CF1 pins of the metering IC are electrically connected to the electrical parameter feedback circuit;
[0021] The load current detection circuit is provided with two parallel detection resistors, both ends of the detection resistors are connected in parallel to the second AC end of the mains, the first end of the detection resistor is electrically connected to the first end of the twentieth resistor, the second end of the detection resistor is electrically connected to the first end of the thirty-fourth resistor, the second end of the twentieth resistor is electrically connected to the first end and IN pin of the thirteenth capacitor, the second end of the thirty-fourth resistor is electrically connected to the first end and IP pin of the fourteenth capacitor, the second end of the thirteenth capacitor is electrically connected to the second end of the fourteenth capacitor, and the second end of the thirteenth capacitor and the second end of the fourteenth capacitor are grounded;
[0022] The input voltage detection circuit is provided with a twenty-sixth resistor, a thirty-first resistor, a thirty-seventh resistor, a forty-second resistor, a forty-sixth resistor and a fifty-first resistor connected in series in sequence, the output end of the fifty-first resistor is electrically connected to the input end of the fifty-fourth resistor, the input end of the twenty-second capacitor and the VP pin, and the output end of the fifty-fourth resistor and the output end of the twenty-second capacitor are grounded.
[0023] The technical effect achieved by the present invention is: the above device provides overcurrent protection, electrical parameter information display, APP remote control, offline voice control and ambient light detection functions for the socket, realizes linkage with other smart home devices in the home network, and meets more complex automation application scenarios, wherein the execution of basic control and linkage tasks can be guaranteed in the offline state, and the user can quickly obtain operation control feedback in the offline state without waiting for network response, thereby improving the convenience of use;
[0024] The above device can automatically execute the tasks set by the user, such as timer switch, countdown, equipment linkage, etc., to ensure that the electrical appliances work as expected, and can still perform electrical parameter recording in the disconnected state, and perform data synchronization after the network is restored. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a schematic block diagram of the present invention;
[0026] Figure 2 This is a schematic diagram of the main control of the present invention;
[0027] Figure 3 is a schematic diagram of a storage module of the present invention;
[0028] Figure 4 is a schematic diagram of an ambient light sensing control circuit of the present invention;
[0029] Figure 5 is a schematic diagram of an offline voice control circuit of the present invention;
[0030] Figure 6 is a schematic diagram of a display screen driving circuit of the present invention;
[0031] Figure 7 is a schematic diagram of a first step-down circuit of the present invention;
[0032] Figure 8 is a schematic diagram of a second step-down circuit of the present invention;
[0033] Fig. 9 is a schematic diagram of a third step-down circuit of the present invention;
[0034] Fig.10 is a schematic diagram of a dimming circuit of the present invention;
[0035] Fig.11 is a schematic diagram of a relay control circuit of the present invention;
[0036] Fig.12 is a schematic diagram of a speaker control circuit of the present invention;
[0037] Fig.13 is a schematic diagram of a switch control circuit of the present invention;
[0038] Fig.14 is a schematic diagram of the metering IC of the present invention;
[0039] Fig.15 is a schematic diagram of a load current detection circuit of the present invention;
[0040] Fig.16 is a schematic diagram of an input voltage detection circuit of the present invention;
[0041] Fig.17 It is a schematic diagram of the electrical parameter feedback circuit of the present invention. DETAILED DESCRIPTION
[0042] In order to make the above-mentioned objects, features and advantages of the present invention more understandable, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from this description, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0043] like Figure 1 As shown, the present invention discloses an improved intelligent switch control device, which includes: a filter circuit, the filter circuit is electrically connected to the mains end, the output end of the filter circuit is electrically connected to the rectifier circuit, the output end of the rectifier circuit is electrically connected to the first step-down circuit, the first step-down circuit is electrically connected to the second step-down circuit, the second step-down circuit is electrically connected to the third step-down circuit, and the third step-down circuit supplies power to the main control;
[0044] The first step-down circuit supplies power to the dimming circuit, the dimming circuit is electrically connected to the display screen, and the second step-down circuit supplies power to the power detection circuit, the relay control circuit, and the offline voice control circuit;
[0045] The main control is electrically connected to the dimming circuit, the power detection circuit, the relay control circuit, the offline voice control circuit and the WiFi-BLE circuit, the WiFi-BLE circuit is integrated on the main control, and the WiFi-BLE circuit is used to provide WiFi communication and Bluetooth communication functions;
[0046] The power detection circuit is provided with an input voltage detection circuit and a load current detection circuit, the input voltage detection circuit is electrically connected to the first AC terminal of the mains, the load current detection circuit is electrically connected to the second AC terminal of the mains, and the relay control circuit is electrically connected to the first AC terminal or the second AC terminal of the mains;
[0047] The two AC input terminals of the load are electrically connected to the mains terminal, and the relay control circuit controls the on and off of the electrical connection between the load and the mains terminal;
[0048] Switch control circuit, combined with Figure 1 , Figure 2 , Fig.13 As shown, the third step-down circuit supplies power to the switch control circuit, the switch control circuit is electrically connected to the main control, and the user performs physical control of the AC load through the switch control circuit;
[0049] Speaker control circuit, combined with Figure 1 , Figure 2 , Fig.12As shown, the speaker control circuit is electrically connected to the speaker, the second step-down circuit supplies power to the speaker and the speaker control circuit, the speaker control circuit is electrically connected to the main control, and the main control feeds back information to the user through the speaker;
[0050] Ambient light sensing control circuit, combined with Figure 1 , Figure 2 , Figure 4 As shown, the third step-down circuit supplies power to the ambient light sensing control circuit, and the main control is electrically connected to the ambient light sensing control circuit.
[0051] It should be pointed out that, combined with Figure 2 , Figure 6 , Fig.10 As shown, the display screen is provided with a corresponding display screen driving circuit, the dimming circuit is electrically connected to the display screen driving circuit to drive the display screen, the display screen is an RGB display screen, and the main control adjusts the brightness of the display screen through the ambient light sensing control circuit. The filter circuit is a conventional EMC filter circuit, and the rectifier circuit is a conventional full-bridge or half-bridge rectifier circuit. Figure 2 , Figure 3 As shown, the main control is electrically connected to the storage module, and the storage module is a conventional flash memory module.
[0052] Combination Figure 7-Figure 9 As shown, the first buck circuit is a flyback buck circuit to provide a DC-13V voltage, the second buck circuit is a BUCK buck circuit to provide a DC-5V voltage, and the third buck circuit is an LDO buck circuit to provide a DC-3.3V voltage.
[0053] Combination Figure 1 , Figure 2 , Figure 5 As shown, the offline voice control circuit is used to collect the user's voice and feed it back to the main control for processing, and the main control performs voice recognition locally.
[0054] Combination Figure 1 , Figure 2 , Fig.11 As shown, the relay control circuit is electrically connected to the AC load through the socket, and the main control controls the opening and closing of the relay K1 through the relay control circuit, thereby controlling the opening and closing of the socket, and finally controlling the opening and closing of the AC load.
[0055] Specifically, combined Figure 1 , Figure 2 , Figure 14-17As shown, the power detection circuit is provided with a metering IC, the IP and IN pins of the metering IC are electrically connected to the load current detection circuit, the VP pin of the metering IC is electrically connected to the input voltage detection circuit, the SEL, CF, and CF1 pins of the metering IC are electrically connected to an electrical parameter feedback circuit, and the electrical parameter feedback circuit feeds back voltage, current, and power data to the main control end;
[0056] The load current detection circuit is provided with two parallel detection resistors RS1 and RS2, two ends of the detection resistors are connected in parallel to the second AC end of the mains, a first end of the detection resistor is electrically connected to a first end of a twentieth resistor R20, a second end of the detection resistor is electrically connected to a first end of a thirty-fourth resistor R34, a second end of the twentieth resistor R20 is electrically connected to a first end and an IN pin of a thirteenth capacitor C13, a second end of the thirty-fourth resistor R34 is electrically connected to a first end and an IP pin of a fourteenth capacitor C14, a second end of the thirteenth capacitor C13 is electrically connected to a second end of the fourteenth capacitor C14, and a second end of the thirteenth capacitor C13 and a second end of the fourteenth capacitor C14 are grounded;
[0057] The input voltage detection circuit is provided with a twenty-sixth resistor R26, a thirty-first resistor R31, a thirty-seventh resistor R37, a forty-second resistor R42, a forty-sixth resistor R46 and a fifty-first resistor R51 which are connected in series in sequence, the output end of the fifty-first resistor R51 is electrically connected to the input end of the fifty-fourth resistor R54, the input end of the twenty-second capacitor C22 and the VP pin, and the output end of the fifty-fourth resistor R54 and the output end of the twenty-second capacitor C22 are grounded.
[0058] Specifically, it also includes a control method: the device stores the execution tasks of the load (timing start and close, countdown, specific parameter settings and smart device linkage tasks of the load, etc.), the device is connected to the Internet via wifi and enters an online state, in the online state, the device interacts with the cloud for data, the user obtains the electrical parameters (voltage, current, power) of the load detected by the device through the cloud, controls the operation of the load, the device obtains the execution tasks set by the user through the cloud and stores them locally, and the device executes tasks of interacting with other smart devices through the cloud;
[0059] The device cannot be connected to the Internet via wifi and enters an offline state. In the offline state, the device executes the locally stored execution tasks and the tasks input by the user's voice, and the device stores the electrical parameter data and operation data of the load;
[0060] In the offline state, if the device and other smart devices are in the same network environment, the device performs tasks of interacting with other smart devices through the local offline wifi network, and the device performs data interaction with the user terminal (mobile phone APP) through the local offline wifi network or Bluetooth communication;
[0061] In the offline state, the device communicates with the cloud through the network of the user terminal, and the device obtains sub-tasks of other smart devices from the user terminal or the cloud and forwards them to other smart devices through the local offline wifi network;
[0062] The device forwards the sub-task to the corresponding other smart devices via Bluetooth communication when idle or when executing the task;
[0063] For example: a user opens a mobile phone APP and communicates with the device through a local offline wifi network or Bluetooth communication. At this time, the mobile phone APP will synchronize with the cloud through the 3g / 4g / 5g network of the user's mobile phone, and the mobile phone APP will forward the synchronization information to the device after synchronization. The local information of the device will also be synchronized to the mobile phone APP first and then to the cloud, realizing indirect communication between the device and the cloud, and distributing tasks to other smart devices;
[0064] Among them, the usage scenario targeted by Bluetooth forwarding is: the device is connected to a socket for use, and there are problems with incomplete wireless network coverage and some devices not supporting wifi6 in the home environment, such as: the base of the washing machine, air conditioner, and sweeping robot located in the corner. The communication between these devices and the cloud is sometimes good and sometimes bad. Data transfer through the device can ensure that backward devices and devices with poor communication can interact with the cloud, ensuring that users can effectively control them.
[0065] Furthermore, the device separates the task execution of the user's voice input, separating the device's own execution task and the sub-execution task of other smart devices. The device forwards the separated sub-execution task to other smart devices through a local offline WiFi network or Bluetooth communication, thereby satisfying the user's need to perform offline voice control on most smart devices in the house through the device.
[0066] During initialization, the device obtains the communication protocol and task data format of other linked smart devices through the user terminal or the cloud, so as to perform data transfer later;
[0067] When the device switches from the offline state to the online state, the device synchronizes the electrical parameter data and operation data of the load stored in the offline state to the cloud.
[0068] Through the above control method, the user's control needs for the device and other smart devices when the home WiFi network is offline are met, and real-time control feedback is provided to the user without waiting for the recovery of the home WiFi network, thereby improving the convenience of user use; it also ensures that when the home WiFi network is offline, the detection data and operation data of the device and other smart devices can be automatically synchronized to the cloud or smart home system after the device is connected to the network or the home WiFi network is restored.
[0069] In summary, the above device provides overcurrent protection, electrical parameter information display, APP remote control, offline voice control and ambient light detection functions for the socket, realizes linkage with other smart home devices in the home network, and meets more complex automation application scenarios. In the offline state, it can ensure the execution of basic control and linkage tasks, and enable users to quickly obtain operation control feedback in the offline state without waiting for network response, which improves the convenience of use.
[0070] The above device can automatically execute the tasks set by the user, such as timer switch, countdown, equipment linkage, etc., to ensure that the electrical appliances work as expected, and can still perform electrical parameter recording in the disconnected state, and perform data synchronization after the network is restored.
[0071] The above-described embodiments only express one or more implementation modes of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the patent of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. An improved intelligent switch control device, It is characterized in that include: A filter circuit, wherein the filter circuit is electrically connected to the mains terminal, the output end of the filter circuit is electrically connected to the rectifier circuit, the output end of the rectifier circuit is electrically connected to the first step-down circuit, the first step-down circuit is electrically connected to the second step-down circuit, the second step-down circuit is electrically connected to the third step-down circuit, and the third step-down circuit supplies power to the main control; The first step-down circuit supplies power to the dimming circuit, the dimming circuit is electrically connected to the display screen, and the second step-down circuit supplies power to the power detection circuit, the relay control circuit, and the offline voice control circuit; The main control is electrically connected to the dimming circuit, the power detection circuit, the relay control circuit, the offline voice control circuit and the WiFi-BLE circuit; The power detection circuit is provided with an input voltage detection circuit and a load current detection circuit, the input voltage detection circuit is electrically connected to the first AC terminal of the mains, the load current detection circuit is electrically connected to the second AC terminal of the mains, and the relay control circuit is electrically connected to the first AC terminal or the second AC terminal of the mains; The two AC input terminals of the load are electrically connected to the mains terminal, and the relay control circuit controls the on-off of the electrical connection between the load and the mains terminal.
2. An improved intelligent switch control device according to claim 1, It is characterized in that The device stores the execution tasks of the load, the device is connected to the Internet via wifi and enters an online state, the device interacts with the cloud in the online state, the user obtains the electrical parameters of the load detected by the device through the cloud and controls the operation of the load, the device obtains the execution tasks set by the user through the cloud and stores them locally, and the device executes tasks interacting with other smart devices through the cloud; The device cannot be connected to the Internet via wifi and enters an offline state. In the offline state, the device executes the locally stored execution tasks and the tasks input by the user's voice, and the device stores the electrical parameter data and operation data of the load; In the offline state, if the device and other smart devices are in the same network environment, the device performs the task of interacting with other smart devices through the local offline wifi network, and the device performs data interaction with the user terminal through the local offline wifi network or Bluetooth communication.
3. An improved intelligent switch control device according to claim 2, It is characterized in that In the offline state, the device communicates with the cloud through the network of the user terminal. The device obtains sub-tasks of other smart devices from the user terminal or the cloud and forwards them to other smart devices through the local offline wifi network.
4. An improved intelligent switch control device according to claim 3, It is characterized in that The device forwards the sub-task to other corresponding smart devices via Bluetooth communication when idle or when executing the task.
5. An improved intelligent switch control device according to claim 3, It is characterized in that The device separates the task execution of the user voice input, separating the execution task of the device itself and the sub-execution task of other smart devices, and the device forwards the separated sub-execution task to other smart devices through a local offline wifi network or Bluetooth communication.
6. An improved intelligent switch control device according to claim 2, It is characterized in that During initialization, the device obtains the communication protocol and task data format of other linked smart devices through the user terminal or the cloud; When the device switches from the offline state to the online state, the device synchronizes the electrical parameter data and operation data of the load stored in the offline state to the cloud.
7. An improved intelligent switch control device according to claim 1, It is characterized in that The first step-down circuit is a flyback step-down circuit, the second step-down circuit is a BUCK step-down circuit, and the third step-down circuit is an LDO step-down circuit.
8. An improved intelligent switch control device according to claim 1, It is characterized in that Also includes: The switch control circuit, the third step-down circuit supplies power to the switch control circuit, and the switch control circuit is electrically connected to the main control.
9. An improved intelligent switch control device according to claim 1, It is characterized in that Also includes: A speaker control circuit and an ambient light sensing control circuit, wherein the speaker control circuit is electrically connected to the speaker, the second step-down circuit supplies power to the speaker and the speaker control circuit, and the speaker control circuit is electrically connected to the main control; The third step-down circuit supplies power to the ambient light sensing control circuit, and the main control is electrically connected to the ambient light sensing control circuit.
10. An improved intelligent switch control device according to claim 1, It is characterized in that The power detection circuit is provided with a metering IC, the IP and IN pins of the metering IC are electrically connected to the load current detection circuit, the VP pin of the metering IC is electrically connected to the input voltage detection circuit, and the SEL, CF, and CF1 pins of the metering IC are electrically connected to the electrical parameter feedback circuit; The load current detection circuit is provided with two parallel detection resistors, both ends of the detection resistors are connected in parallel to the second AC end of the mains, the first end of the detection resistor is electrically connected to the first end of the twentieth resistor, the second end of the detection resistor is electrically connected to the first end of the thirty-fourth resistor, the second end of the twentieth resistor is electrically connected to the first end and IN pin of the thirteenth capacitor, the second end of the thirty-fourth resistor is electrically connected to the first end and IP pin of the fourteenth capacitor, the second end of the thirteenth capacitor is electrically connected to the second end of the fourteenth capacitor, and the second end of the thirteenth capacitor and the second end of the fourteenth capacitor are grounded; The input voltage detection circuit is provided with a twenty-sixth resistor, a thirty-first resistor, a thirty-seventh resistor, a forty-second resistor, a forty-sixth resistor and a fifty-first resistor connected in series in sequence, the output end of the fifty-first resistor is electrically connected to the input end of the fifty-fourth resistor, the input end of the twenty-second capacitor and the VP pin, and the output end of the fifty-fourth resistor and the output end of the twenty-second capacitor are grounded.
