Intelligent polling extension socket control circuit and control method thereof
Through Bluetooth communication between the central controller and the load controller and a single current detection module, intelligent management of multiple loads is achieved, solving the shortcomings of existing smart power strips in managing multiple high-power loads, reducing hardware costs and complexity, and improving power safety and user experience.
Patent Information
- Application Number
- CN202511104293.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-07
- Publication Date
- 2025-10-17
AI Technical Summary
Existing smart power strips lack refined control capabilities for managing multi-channel high-power loads and are unable to intelligently identify and manage specific loads, resulting in a high risk of overload, cumbersome and inconvenient operation, and independent current detection increases hardware cost and complexity.
It uses Bluetooth two-way communication between the central controller and the load controller, integrates a three-way socket unit, and each live wire is controlled by an independent relay. Through a single current detection module and intelligent polling mechanism, it accurately obtains the current data of each load, realizing remote intelligent control and independent switch management.
It reduces hardware cost and complexity, realizes real-time monitoring of multiple loads and intelligent power distribution, avoids overload risks, and improves power safety and user experience.
Smart Images

Figure CN120802792A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of circuit socket control, and more particularly, to an intelligent polling socket control circuit and a control method thereof. BACKGROUND
[0002] With the improvement of modern living standards, high-power electrical appliances such as instant water heaters, high-power washing machines, and electric heating equipment are increasingly popular in households. These devices generate large instantaneous or continuous currents during operation, and the carrying capacity of household circuits is often limited. When multiple high-power devices are working at the same time, it is easy to cause circuit overload, causing air switches to trip, interrupting normal power use, and even causing fires and other safety hazards due to overheating of the line. Traditional socket or power management methods usually only provide simple on-off functions, lack intelligent management and current monitoring capabilities for multiple loads, and users have to manually coordinate the start time of different devices to avoid overload, which is not only cumbersome to operate, but also greatly reduces the convenience and comfort of power use.
[0003] To address the above problems, some intelligent socket products have appeared on the market, but their main functions are mainly focused on remote control, timing switch or total power monitoring, and the fine management and active overload prevention capabilities of multiple high-power loads under the same main circuit are still insufficient. For example, when detecting that the total current is over the limit, most existing intelligent sockets can only passively cut off all power, cannot intelligently identify and manage which load or which loads cause the overload, and cannot optimize power use through polling or priority strategies to avoid unnecessary power failure. In addition, existing technologies often require an independent current sensor for each load when implementing independent current detection of multiple loads, which not only increases hardware costs and circuit complexity, but also occupies more physical space, which is not conducive to the integration and miniaturization design of products.
[0004] In view of this, the present application aims to provide an intelligent polling socket control circuit to effectively solve the above technical problems. SUMMARY
[0005] In view of the above-mentioned existing defects, according to an aspect of the present application, an intelligent polling socket control circuit is provided, which comprises: a central controller and a load controller, the central controller and the load controller are in bidirectional communication of instructions and data through Bluetooth;
[0006] The load controller comprises:
[0007] a three-way socket unit, the three-way socket unit is adapted to connect a first load, a second load and a third load respectively, wherein the three-way socket unit shares a zero line and a ground line;
[0008] Three relays respectively electrically connected with three live wires of the three-way troubleshooting unit;
[0009] A relay driving circuit for driving the three relays to be selectively turned on / off;
[0010] A current detection module, three live wires of the three-way troubleshooting unit passing through the current detection module, the current detection module being configured to detect current signals of the first load, the second load and the third load respectively.
[0011] According to another aspect of the present application, a control method of an intelligent polling control circuit of a power strip is provided, which comprises:
[0012] S1: after the system is powered on, the central controller establishes a connection with the load controller through Bluetooth;
[0013] S2: the load controller turns off the three relays;
[0014] S3: the load controller turns on the relay corresponding to the instant heating device;
[0015] S4: after a preset time is delayed, the current signal of the instant heating device is collected through the current detection module and the power value thereof is calculated;
[0016] S5: the load controller turns off the relay corresponding to the instant heating device and turns on the relay corresponding to the washing machine;
[0017] S6: after a preset time is delayed, the current signal of the washing machine is collected through the current detection module and the power value thereof is calculated;
[0018] S7: the load controller turns off the relay corresponding to the washing machine and turns on the relay corresponding to the heating device;
[0019] S8: after a preset time is delayed, the current signal of the heating device is collected through the current detection module and the power value thereof is calculated.
[0020] Compared with the prior art, the intelligent polling socket control circuit and the control method thereof provided by the application realize remote intelligent control of multiple loads through Bluetooth bidirectional communication between the central controller and the load controller. The load controller integrates three socket units, and each live wire is controlled by an independent relay to realize independent switching management of the first, second and third loads. The key is that the single current detection module is used, and the live wires of the three socket units pass through the module, and through the intelligent polling mechanism, only one load is turned on at a specific time and the current signal is detected, so that the independent current data of each load is accurately obtained. In this way, not only the hardware cost and complexity are significantly reduced, and the redundancy of configuring independent sensors for each load is avoided, but more importantly, it enables the system to grasp the power consumption of each load in real time, thereby realizing intelligent power distribution and overload prevention, effectively avoiding the risk of tripping, and improving the power safety and user experience. BRIEF DESCRIPTION OF DRAWINGS
[0021] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description of embodiments of the present application, taken in conjunction with the accompanying drawings. The drawings provided in the specification and the embodiments of the present application together serve to explain the principles of the present application and to provide an overall understanding of the present application. The drawings provided in the specification and the embodiments of the present application together serve to explain the principles of the present application and to provide an overall understanding of the present application, and do not constitute a limitation on the present application. In the drawings, the same reference numerals generally represent the same components or steps.
[0022] Figure 1 FIG. 1 is a schematic diagram of an intelligent polling socket control circuit according to an embodiment of the present application.
[0023] Figure 2 FIG. 2 is a flowchart of a control method of the intelligent polling socket control circuit according to an embodiment of the present application.
[0024] Figure 3 FIG. 3 is a data flow diagram of the control method of the intelligent polling socket control circuit according to an embodiment of the present application.
[0025] Figure 4 FIG. 4 is a flowchart of step S4 in the multi-load integrated heterogeneous circuit with load addressing control according to an embodiment of the present application.
[0026] Figure 5 FIG. 5 is a data flow diagram of the control method of the intelligent polling socket control circuit according to an embodiment of the present application.
[0027] Figure 6 FIG. 6 is one of product schematic diagrams of the intelligent polling socket control circuit according to an embodiment of the present application.
[0028] Figure 7 FIG. 7 is another product schematic diagram of the intelligent polling socket control circuit according to an embodiment of the present application.
[0029] Figure 8 Figure 3 is a product schematic diagram of the intelligent polling power strip control circuit according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] Embodiments of the present disclosure will be described in more detail with reference to the drawings. Although certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be implemented in various forms and should not be interpreted as being limited to the embodiments set forth herein, but rather these embodiments are provided so that the present disclosure can be more thoroughly and completely understood. It should be understood that the drawings and embodiments of the present disclosure are merely for illustrative purposes and are not intended to limit the scope of protection of the present disclosure.
[0031] Based on the existing defects in the background art described above, the present application proposes an intelligent polling power strip control circuit. Figure 1 Figure 1 is a schematic diagram of the intelligent polling power strip control circuit according to an embodiment of the present application. Figure 6 Figure 2 is a product schematic diagram of the intelligent polling power strip control circuit according to an embodiment of the present application. Figure 7 Figure 3 is a product schematic diagram of the intelligent polling power strip control circuit according to an embodiment of the present application. Figure 8 Figure 3 is a product schematic diagram of the intelligent polling power strip control circuit according to an embodiment of the present application.
[0032] As shown in Figure 1 Figure 1, the intelligent polling power strip control circuit according to an embodiment of the present application includes a central controller and a load controller (for example, 10 in Figure 6 It should be understood that the central controller and the load controller together constitute the core of the entire control architecture. Specifically, in one example of the present application, the central controller and the load controller communicate with each other through Bluetooth for bidirectional communication of instructions and data. This wireless connection provides flexible deployment capability and convenient remote control of the circuit, and cooperatively realizes intelligent management and precise monitoring of multiple high-power electrical equipment.
[0033] Specifically, the central controller is the brain or decision center of the entire intelligent power strip control circuit. It is responsible for receiving user operation instructions, such as requests to turn on or off specific loads, and making intelligent judgments and decisions based on real-time current data received from the load controller, in combination with pre-set power consumption strategies such as polling, priority or total power limit. The central controller sends precise control instructions to the load controller through Bluetooth, such as controlling the on-off of specific relays, to achieve fine management of each load. At the same time, it also receives data such as current signals from the load controller, so as to real-time grasp the running state of each load and the total current condition.
[0034] The load controller is a power execution and data collection unit directly facing the electrical equipment, which is the executor of the central controller's instructions and the front-end data sensing node. It accurately controls the on-off of each load according to the instructions of the central controller, and monitors the current consumption in real time, and feeds back the collected key data to the central controller through Bluetooth.
[0035] Specifically, in one example of the present application, the load controller comprises: a three-way power strip unit (for example, as shown in Figure 6 and Figure 7 11), the three-way power strip unit is adapted to turn on the first load, the second load and the third load respectively, wherein the three-way power strip unit shares the zero line and the ground line. In particular, the first load, the second load and the third load here are instant heating equipment, a washing machine and heating equipment respectively. In this way, a standardized access interface is provided for these common high-power household appliances, and the sharing of the zero line and the ground line simplifies the internal wiring structure and reduces the manufacturing complexity. In order to realize independent control of the three-way load, specifically, in one example of the present application, three relays (for example, as shown in Figure 8 12) are arranged inside the load controller and are electrically connected to the fire lines of the three-way power strip unit respectively; in particular, these relays serve as execution switches, and their on-off state is accurately controlled by a relay driving circuit for driving the three relays to be selectively on / off. When the load controller receives an instruction from the central controller, for example, an instruction to turn on the first load (instant heating equipment), the microprocessor inside the load controller will make the relay connected to the fire line of the first load close, for example, the relay 1 in Figure 1 , so as to turn on the power supply of the load. The most critical and innovative part of the load controller is its current detection mechanism.
[0036] Specifically, in one example of the present application, it contains a current detection module, three live lines of the three-way troubleshooting unit pass through the current detection module, and the current detection module is used to detect the current signals of the first load, the second load and the third load respectively. In this way, the separate detection of the current of multiple loads is realized through a single current detection module, effectively solving the problems of high cost, large size and complex circuit caused by configuring independent sensors for each load in the background art. Specifically, in one example of the present application, the current detection module is a current transformer, and the three live lines of the three-way troubleshooting unit pass through the primary coil of the current detection module. The secondary coil of the current detection module is electrically connected to the ADC pin of the load controller. In actual operation, the load controller works under the instruction of the central controller or the preset polling logic: at a certain time, it ensures that only the relay of one load (for example, the first load) is closed through the relay drive circuit, and the relays of the other two loads remain open. At this time, although the three live lines pass through the primary coil of the current transformer, only the live line of the first load has working current passing through it. The current induces a corresponding current or voltage signal in the secondary coil of the current transformer, which is directly sent to the analog-to-digital converter (ADC) pin of the load controller microprocessor for sampling and conversion, thereby obtaining accurate digital current values. This process is quickly applied to the second load (washing machine) and the third load (heating device) in turn, and through this time-division polling measurement method, independent and accurate monitoring of the current of each load is realized. The measured current data of each load is then sent back to the central controller through the Bluetooth communication link, providing accurate data support for subsequent intelligent control decisions, power statistics and safety protection.
[0037] In this way, the central controller and the load controller closely cooperate through Bluetooth communication to achieve intelligent management of multiple high-power loads. The central controller issues instructions, which are received and executed by the load controller, and its relay drive circuit accurately controls the on-off of each row of plug-in units. In the current detection link, the load controller ingeniously uses a single current detection module to ensure that only the current of the target load flows through the primary coil of the current detection module through the polling mechanism. The induced signal generated by the secondary coil of the current detection module is collected and processed by the ADC pin of the load controller, and finally the accurate current data or related state information is fed back to the central controller through Bluetooth.
[0038] In summary, the intelligent polling power strip control circuit based on the embodiments of the present application is illustrated, which realizes remote intelligent control of multiple loads through Bluetooth bidirectional communication between the central controller and the load controller. The load controller integrates three-way power strip units, and each live wire is controlled by an independent relay to turn on and off, thereby realizing independent switching management of the first, second, and third loads. What is particularly key is that the scheme uses a single current detection module, and the live wires of the three-way power strip units pass through this module, and through an intelligent polling mechanism, only one load is turned on and its current signal is detected at a specific time, thereby accurately obtaining the independent current data of each load. In this way, not only the hardware cost and complexity are significantly reduced, and the redundancy of configuring independent sensors for each load is avoided, but more importantly, it enables the system to real-time grasp the power consumption of each load, thereby realizing intelligent power distribution and overload prevention, effectively avoiding the risk of tripping, and improving the power safety and user experience.
[0039] It can be understood that in modern home environments, with the improvement of living standards, high-power electrical appliances such as instant water heaters, washing machines, and heating equipment are increasingly popular. These devices often require large instantaneous or continuous power, and when they are connected to the same power strip or circuit, they are prone to cause circuit overload, resulting in circuit breaker tripping, power interruption, and even potential electrical fire safety hazards. Traditional power strips only provide basic power distribution functions and lack intelligent management and power monitoring capabilities for connected devices. Users cannot real-time understand the energy consumption of each device, and it is also difficult to effectively avoid the risk of overload caused by multiple devices running simultaneously. In addition, when multiple high-power devices need to be used simultaneously, users often need to manually plug in or switch, which is tedious and inefficient, especially in scenarios with high instantaneity requirements (such as instant water heaters), the inconvenience is more prominent.
[0040] In the prior art, although some intelligent power strip products have appeared, their intelligent degree is generally limited. Most intelligent power strips can only realize remote switching control or simple display of total power. There is still a significant gap in accurate power monitoring of individual devices, intelligent polling management of loads, and safety protection based on power thresholds and priority power supply of high-priority devices. For example, when multiple high-power devices are working simultaneously, existing intelligent power strips cannot accurately identify and isolate the power of individual devices, nor can they intelligently adjust the power supply state of each device according to preset safety strategies or user needs to ensure the safe and stable operation of the overall circuit while considering user convenience. This technical deficiency makes users face potential safety risks and operational inconvenience when enjoying the convenience of high-power electrical appliances.
[0041] Therefore, in order to solve the above problems, the present application proposes a control method for an intelligent polling power strip control circuit. Specifically, in one example of the present application,Figure 2 Flow chart of the control method of the intelligent polling row plug control circuit according to the embodiment of the application. Figure 3 Data flow diagram of the control method of the intelligent polling row plug control circuit according to the embodiment of the application. As shown in Figure 2 and Figure 3 As shown in the control method of the intelligent polling row plug control circuit according to the embodiment of the application, the steps include: S1: after the system is powered on, the central controller establishes a connection with the load controller through Bluetooth; S2: the load controller disconnects three relays; S3: the load controller turns on the relay corresponding to the instant heating device; S4: after a preset time is delayed, the current signal of the instant heating device is collected through the current detection module and the power value thereof is calculated; S5: the load controller disconnects the relay corresponding to the instant heating device and turns on the relay corresponding to the washing machine; S6: after a preset time is delayed, the current signal of the washing machine is collected through the current detection module and the power value thereof is calculated; S7: the load controller disconnects the relay corresponding to the washing machine and turns on the relay corresponding to the heating device; and S8: after a preset time is delayed, the current signal of the heating device is collected through the current detection module and the power value thereof is calculated.
[0042] In step S1, after the system is powered on, the central controller establishes a connection with the load controller through Bluetooth. It should be understood that in the intelligent polling row plug control method, the central controller and the load controller assume different functions. The central controller is responsible for user interaction, high-level logic judgment, and overall strategy formulation and issuance, while the load controller directly manages the relays on the row plug, performs switching operations, and is responsible for current signal collection and power calculation. Therefore, the primary task after the device is powered on is to establish a reliable communication link between the two. The application establishes a connection through Bluetooth technology, so that the central controller can wirelessly send control instructions to the load controller, such as turning on or off the relay of a specific device; at the same time, the load controller can also return the real-time collected current signal, calculated power value, and current device state to the central controller. This connection is the basis for all intelligent control functions such as subsequent intelligent polling, accurate power monitoring, overload safety protection, and high-priority device priority power supply. Without this connection, the central controller will not be able to effectively manage the load, and the intelligent characteristics of the row plug will not be able to be exerted, thereby failing to solve the power safety hazards and operational inconvenience mentioned in the background art.
[0043] Specifically, in one embodiment, the process of step S1 is as follows: when the overall system of the smart polling power strip control circuit is powered on, both the central controller and the load controller obtain power supply. At this time, the load controller module enters a specific Bluetooth discoverable state, for example, this state is valid within the first 10 seconds after the load controller is powered on, providing a time window for the central controller to pair. If the user needs to establish a connection for the first time or re-pair, the user needs to perform a specific operation on the central controller to start the pairing process. After the central controller receives this user instruction, its built-in Bluetooth communication module will start scanning for load controllers in a discoverable state around it. Once the central controller successfully discovers and identifies the target load controller, it will initiate a Bluetooth pairing request. After successful pairing, the central controller will immediately provide explicit feedback, such as a Bluetooth icon continuously lighting up on the screen, and a 3-beep sound from the buzzer to inform the user that the connection has been successfully established. At the same time, the central controller will save the unique identification number (ID number) of the successfully connected load controller to its internal storage area. Thereafter, during subsequent system power-on processes, the central controller will automatically attempt to establish a Bluetooth connection with the load controller using the stored ID number, without the need for the user to manually perform the pairing operation again, thereby ensuring the convenience and stability of the connection, and laying the foundation for subsequent transmission of smart control instructions and data return.
[0044] In step S2, the load controller disconnects the three relays. It can be understood that high-power electrical appliances such as instant heating devices, washing machines and heating devices may generate a large starting current at the moment of power-on, and if multiple such devices are simultaneously in the on state, it is easy to cause the circuit to be momentarily overloaded, causing the circuit breaker to trip, and even causing damage to the electrical appliances themselves. Therefore, by forcibly disconnecting all relays at the beginning of startup, the present application can effectively avoid this potential overload risk, providing a clean and safe starting point for subsequent smart polling and accurate power measurement. This enables the control circuit to activate and monitor each load in order according to the preset strategy, thereby achieving fine management of the total power, improving electrical safety, and solving the overload problem caused by multiple devices running simultaneously mentioned in the background art.
[0045] Specifically, in an embodiment, the process of step S2 is as follows: after the central controller successfully establishes a Bluetooth connection with the load controller in step S1, the central controller sends an initialization instruction to the load controller, or the load controller autonomously executes an internal initialization program after receiving the connection success signal. The core task of this program is to ensure that all connected load devices are in a power-off state. After the microprocessor inside the load controller receives this instruction or triggers this program, it sends control signals to the relay drive circuit integrated therein. The relay drive circuit controls the three relays respectively connected to the instant heating device, washing machine and heating device according to these signals. Specifically, the relay drive circuit sends a drive signal to the three relays in the off or normally open state, so that the contacts of the relays are switched from the closed state (powered on) to the open state (powered off). For example, if a normally open relay is used, the drive circuit stops supplying power to its coil to return it to the open state; if a normally closed relay is used, power is supplied to its coil to force it to open. In this way, it is ensured that all high-power devices (instant heating device, washing machine, heating device) connected to the three-way power strip unit are in a safe power-off state before entering the subsequent polling detection step.
[0046] In step S3, the load controller turns on the relay corresponding to the instant heating device. It should be understood that after step S2 ensures that all high-power loads are in a safe off state, in order to achieve accurate monitoring of the power of individual devices, each device needs to be activated and measured one by one. The instant heating device is selected as the first load to be turned on based on its high priority and immediate demand in home applications. The instant heating device usually needs the user to obtain hot water in a short time, and its response speed directly affects the user experience. Therefore, placing it at the top of the polling sequence and prioritizing power measurement not only allows quick access to its operating state data, but also provides basic data for subsequent intelligent management and safety protection, while taking into account the user's expectations for immediate functionality. This one-by-one activation strategy is the key to solving the problem of accurate power monitoring of individual devices mentioned in the background art, as it avoids the risk of instantaneous overload that can occur when multiple high-power devices are started simultaneously, ensuring the accuracy of the measurement process and the safety of electricity use.
[0047] Specifically, in an embodiment, the process of step S3 is as follows: after the disconnection of all relays, the microprocessor inside the load controller identifies that the target to be detected is the instant heating device according to the preset polling sequence or specific instructions from the central controller. The microprocessor then sends an accurate control signal to the relay drive circuit integrated therein, which is specifically used to activate the relay connected to the instant heating device.
[0048] After the relay driving circuit receives the control signal, it will apply a driving voltage or current to the coil of the specific relay. For example, if the relay is normally open, the driving circuit will energize its coil to generate an electromagnetic force, thereby attracting the armature of the relay to close the originally open contacts. Once the contacts are closed, the hot line of the instant device is connected to the power line, and the instant device begins to receive power supply. In this process, the load controller ensures that the other two relays corresponding to the washing machine and the heating device remain in the open state, i.e., the relay driving circuit does not apply a driving signal to their corresponding relay coils or maintains their open state, so that the load controller successfully achieves the sole conduction of the instant device.
[0049] In step S4, after a preset time delay, the current signal of the instant device is collected by the current detection module, and its power value is calculated. Accordingly, since high-power electrical appliances may experience a short startup process when they are first connected to the power supply, such as generating a transient inrush current or requiring a certain time to reach a stable working state. If immediate measurement is performed, the obtained data may not accurately reflect the stable running power of the device. Therefore, by introducing a preset delay time, sufficient stabilization time is given to the device to enter the normal working state before measurement. In addition, accurate measurement of the power of individual devices is the core of intelligent management and safety protection. By obtaining the true power value of the instant device, the control circuit can determine whether it exceeds the safety threshold, and provide key data for subsequent load scheduling and priority management, thereby effectively solving the problems of lack of accurate power monitoring of individual devices and overload risk caused by simultaneous operation of multiple devices mentioned in the background art.
[0050] Specifically, in one example of the present application, Figure 4 The flowchart of step S4 in the multi-load integrated heterogeneous circuit with load addressing control according to the embodiments of the present application is shown in FIG. 4. As shown in FIG. 4, step S4 includes the following steps: Figure 4 S41, the central controller queries the current device state from the load controller; S42, in response to the current device state showing that at least two loads are running, closing the relays other than the relay corresponding to the instant device to make only the instant device in the conduction state; S43, collecting the current signal of the instant device by the current detection module and calculating its power value; S44, after the measurement is completed, re-closing the relays other than the relay corresponding to the instant device.
[0051] Specifically, in one embodiment, the process of step S4 is as follows: first, in S41: after the relay corresponding to the instant heating device has been turned on, the central controller will actively send a query instruction to the load controller through Bluetooth to obtain the real-time running state of all connected loads, i.e. the instant heating device, washing machine, and heating device. After receiving the query instruction, the load controller will read the internal stored relay state information and any known load running data, and return these state information to the central controller through Bluetooth.
[0052] Next, in S42: after the central controller receives the current device state feedback from the load controller, it will make a judgment. If it finds that in addition to the instant heating device, other loads such as washing machines or heating devices are also in a running state, in order to ensure the singularity and accuracy of the subsequent current measurement, the central controller will immediately send an instruction to the load controller to disconnect all relays corresponding to non-instant heating devices through the relay drive circuit. In this way, it is ensured that only the firewire of the instant heating device has current passing through the current detection module during the upcoming current collection process, thereby isolating the interference of other loads.
[0053] Subsequently, in S43: after the relay switching operation is completed, the load controller will wait for a preset time. In particular, in one example of the present application, the preset time of the timer is 50ms. This 50ms delay is an empirically verified value that is sufficient to allow the transient current and voltage fluctuations in the circuit to subside, allowing the instant heating device to enter a stable working state. After the delay ends, the microprocessor inside the load controller will start the current collection process. At this time, the firewire of the instant heating device passes through the current detection module, i.e. the primary coil of the current transformer, and its working current induces a proportional analog signal in the secondary coil of the current transformer. This analog signal is sent to the ADC pin of the load controller microprocessor for analog-to-digital conversion, obtaining a digitized current value. The microprocessor then uses this current value and a preset power supply voltage, such as the standard household voltage of 220V, to calculate the real-time power value of the instant heating device through a simple multiplication operation, i.e. power = current x voltage.
[0054] Finally, in S44: once the current signal collection and power calculation of the instant heating device are complete, the load controller will immediately perform a recovery operation. It will reopen the relays that were disconnected in S42 through the relay drive circuit, allowing the washing machine and heating device to return to their running state before the measurement. This step ensures that the short-term interruption of other devices during the instant heating device current measurement is minimized, maintaining the continuity of user electricity use and improving the user experience.
[0055] It is worth mentioning that during the process from disconnecting other relays (for the purpose of collecting the electric signal of the instant heating device and calculating the power) to re-closing the corresponding relay, the load device (for example, washing machine, heating device) corresponding to the other relay is in standby state, which means that its external power supply is temporarily disconnected, but the internal power supply for the device MCU is not disconnected. In a specific implementation, an energy storage unit (for example, a capacitor) can be arranged in the internal of each load device, so that during the process from disconnecting the relay to re-closing the relay, the energy storage unit can continuously supply power to the device MCU of the corresponding load device, so that the cold start of the device after re-closing can be effectively avoided. It should be understood that the continuous time length of the power supply maintained by the energy storage unit is not less than 50 ms.
[0056] In step S5, the load controller disconnects the relay corresponding to the instant heating device and connects the relay corresponding to the washing machine. Accordingly, after completing the power measurement of the instant heating device, in order to avoid the risk of circuit overload caused by the simultaneous operation of multiple high-power devices and to ensure that the next device to be measured (washing machine) can be independently measured, the power supply of the previous device needs to be disconnected first. This strict sequence control, i.e., disconnecting one and connecting the next, is the key to solving the problem of multiple devices running simultaneously causing overload and difficulty in accurately identifying and isolating the power measurement of a single device mentioned in the background technology. It ensures that only one high-power device is in the measured or activated state at any given time, thereby maintaining the safety of electricity use and providing accurate single-device power data for subsequent intelligent scheduling and safety protection.
[0057] Specifically, in an embodiment, the process of step S5 is as follows: after the current signal collection and power calculation of the instant heating device are completed, the microprocessor in the load controller will identify that the next device to be measured in the current polling cycle is the washing machine according to the preset polling sequence logic.
[0058] First, the microprocessor sends a control signal to the relay drive circuit integrated therein, which instructs the drive circuit to disconnect the relay electrically connected to the hot line of the instant heating device. After receiving the signal, the relay drive circuit will immediately stop supplying power to the coil of the normally open relay or apply a signal to make the normally closed relay open, so that the contacts of the relay are switched from the closed state to the open state. This operation ensures that the instant heating device stops supplying power immediately after the measurement is completed, avoiding the continuous flow of current through the current detection module and eliminating interference for the subsequent measurement of the washing machine.
[0059] Subsequently, or after a very short interval, the microprocessor sends another control signal to the relay driver circuit, which is specifically designed to turn on the relay connected to the hot line of the washing machine. After receiving this instruction, the relay driver circuit applies a driving voltage or current to the corresponding relay coil of the washing machine, causing the contacts to close from the open state. Once the contacts are closed, the hot line of the washing machine is connected to the power line, and the washing machine begins to receive power supply. During this entire switching process, the load controller ensures that the corresponding relay of the heating device remains in the open state at all times to maintain the singularity of the measurement environment.
[0060] In step S6, after a preset time delay, the current signal of the washing machine is collected by the current detection module and the power value is calculated. That is, after the load controller completes the relay switching (from the instant heating device to the washing machine), there may be a short electrical fluctuation in the circuit. In order to avoid the interference of these transient effects on current measurement, a preset time delay is introduced to ensure that the washing machine can enter a stable working state after power-on, so that the current detection module can capture the real and stable working current, and then calculate the accurate power value. These accurate power data are crucial for the central controller to make intelligent power distribution, overload warning, and user energy consumption statistics, and are the basis for realizing intelligent management of the power strip.
[0061] Specifically, in one embodiment, the process of step S6 is as follows: the load controller has successfully disconnected the corresponding relay of the instant heating device and connected the corresponding relay of the washing machine. At this time, the microprocessor inside the load controller starts a timer and waits for the arrival of a preset time. Similarly, the preset time of this timer is 50 ms. After the delay time ends, the load controller begins to perform current collection operation. At this time, the hot line current of the washing machine flows through the common current detection module, i.e. the primary coil of the current transformer. The current transformer induces a corresponding analog current or voltage signal in its secondary coil according to the current in the primary coil. This analog signal is then directly sent to the analog-to-digital converter (ADC) pin of the microprocessor of the load controller. The ADC converts the analog signal to digital signal, and after receiving these digitized current data, the microprocessor calculates the real-time power value of the washing machine by combining the preset power voltage value (for example, the household standard voltage 220V) through the built-in algorithm, such as power = current x voltage. During the entire measurement process, the load controller ensures that the corresponding relays of the instant heating device and the heating device remain in the open state to avoid any interference and ensure that the measured current and power data belong only to the washing machine. After the measurement is completed, the load controller stores these accurate current and power data and prepares to send them to the central controller through the Bluetooth communication link to provide the basis for subsequent intelligent decision-making and user display.
[0062] In step S7, the load controller disconnects the relay corresponding to the washing machine and connects the relay corresponding to the heating device. Similar to steps S3 and S5, to ensure that only the device under test is powered at any given moment, the shared current detection module can accurately isolate and measure the current signal from that device. After completing the current measurement of the washing machine, to continue acquiring current data for the heating device, the washing machine is powered off and the heating device is selectively powered on.
[0063] Specifically, in one embodiment, step S7 is processed as follows: after the current signal acquisition and power calculation of the washing machine are completed, the microprocessor inside the load controller will identify that the last device that needs current measurement in the current polling cycle is the heating equipment according to the preset polling sequence logic.
[0064] To achieve this transition, the microprocessor instructs its integrated relay driver circuit to first disconnect the relay connected to the washing machine's live wire. Upon receiving this instruction, the relay driver circuit immediately removes power to the relay coil (for a normally open relay) or applies a disconnect signal (for a normally closed relay), switching the relay contacts from closed to open. This action ensures that power is removed immediately after the washing machine completes its measurement, preventing current from continuing to flow through the current sensing module and eliminating interference with subsequent measurements of the heating system.
[0065] Immediately after the washing machine relay opens, the microprocessor sends another control signal to the relay driver circuit. This signal is specifically designed to close the relay electrically connected to the heater's live wire. Upon receiving this command, the relay driver circuit applies a drive voltage or current to the heater's corresponding relay coil, closing its contacts from the open state. Once the contacts close, the heater's live wire is connected to the power line, and the heater begins receiving power.
[0066] In step S8, after a preset delay, the current detection module collects the current signal of the heating equipment and calculates its power value. Similarly, when the relay switches and connects the heating equipment, transient current and voltage fluctuations will occur in the circuit. In order to ensure that the collected current signal can truly reflect the stable working state of the heating equipment, a preset time delay needs to be introduced. This delay provides sufficient stabilization time for the circuit, allowing the current detection module to perform accurate sampling after the electrical environment stabilizes, thereby obtaining the true power value of the heating equipment and providing accurate data support for the central controller to perform comprehensive energy consumption analysis, overload prevention, and intelligent power distribution.
[0067] Specifically, in one embodiment, the process of step S8 is as follows: after the relay corresponding to the heating device is successfully turned on in step S7, the microprocessor inside the load controller immediately starts a precise timer. The timer sets a preset delay time, which is 50 ms for the instant heater and the washing machine. The purpose of this delay is to give the heating device sufficient time to reach a stable working state and ensure that any transient current or voltage fluctuations in the circuit are completely dissipated before current collection.
[0068] Once the preset delay time is over, the microprocessor triggers the current detection module to collect data. At this time, the working current of the heating device passes through its live wire and together passes through the primary coil of the current detection module. The current detection module generates an analog signal proportional to the current in the primary coil in its secondary coil according to the change of the current in the primary coil. This analog signal is directly transmitted to the analog-to-digital converter (ADC) pin of the microprocessor of the load controller. The ADC is responsible for efficiently converting the received analog signal into digital current data. Subsequently, the microprocessor uses these digitized current data and combines the preset power supply voltage value to accurately derive the real-time power value of the heating device by performing the same power calculation formula as described above. During the entire current collection and power calculation process, the load controller strictly controls to ensure that the relays corresponding to the instant heater and the washing machine remain in the off state, thereby ensuring the specificity and accuracy of current detection and avoiding the interference of other loads. After completing the measurement, the load controller processes the collected current signal and the calculated power value of the heating device and prepares to feedback to the central controller through the Bluetooth communication link. Thus, the first polling measurement of all three high-power loads is completed, providing a comprehensive data basis for subsequent intelligent management and safety protection.
[0069] Further, for the collection of current signals of each load by the current detection module and the calculation of power values thereof, in order to improve the polling stability of the intelligent polling system, in one preferred example of the present application, the preset delay time is dynamically adjusted based on the power values of the load devices, that is, a relay delay time adjustment mechanism based on preset load power values is introduced.
[0070] Specifically, dynamically adjusting the preset delay time based on the power values of the load devices includes: first, calculating the load power distribution center, which includes the mean and median of the power values of the load devices. Here, assume that the power value of each load device is P i , then calculate the mean P μ and the median P m , respectively, and based on the load power distribution center, calculate the starting reference time, that is, t c = (P μ / Pm )xt as the starting reference time of the delay time adjustment, where t can be the preset time mentioned above, such as 50 ms, so that the stable reference can be provided by the determination of the robust mean of the power sequence through the ratio of the distribution mean of the preset power and the distribution median point, thereby ensuring that the adjustment of the delay time starts from the stable reference.
[0071] Then, for each power value P i The stable reference weighting is applied to obtain the robustly averaged power value, that is:
[0072]
[0073] where P i represents the power value of the i-th load device, P μ represents the mean of the power values of the load devices, P m represents the median value of the power values of the load devices, and P' i represents the robustly averaged power value.
[0074] That is, by applying the stable reference weighting with the stable reference as the center of the load power distribution, the power values close to the stable reference can be emphasized as important values of the load power distribution, so as to realize robust averaging, that is, to reduce the median filtering of abnormal values and ensure the reliability of the importance distribution.
[0075] Therefore, after determining the maximum value, the minimum value and the standard deviation of the robustly averaged power value, the starting reference time is proposed for distribution based on the maximum value, the minimum value and the standard deviation of the robustly averaged power value, through the dynamic window adjustment of the deviation from the robust averaging, to obtain the dynamically adjusted delay preset time t ' , that is:
[0076]
[0077] Here, t c represents the starting reference time, t' represents the dynamically adjusted delay time, P' i-max and P' i-min respectively represent the maximum value and the minimum value of the robustly averaged power value P ' i , so as to dynamically calculate the fluctuation range of each power value based on the robust averaging of the power value, ω i represents a predetermined weight factor, for example, ω i = 0.02, of course, here, it is only an example, which can be adjusted according to the actual situation. And represents all the robustly averaged power values P' iThe standard deviation of the power value is correlated with the window to make it associated with the window dynamic fluctuation amplitude, reduce the rate of delay time increase or decrease, and prevent time fluctuation oscillation. That is, by further adjusting the preset time of the delay on the basis of the stable reference, the polling work stability and reliability of the polling system can be improved.
[0078] It is worth mentioning that high-power electrical appliances are increasingly popular in home environments, but their concentrated use can easily lead to circuit overload, causing circuit breaker tripping, power interruption, and even serious safety problems such as electrical fires. The traditional extension socket lacks real-time monitoring and active protection capability for the power of individual devices. Therefore, the present application sets and compares the power threshold in real time to respond to the abnormally high power operation of individual devices in real time, thereby quickly cutting off the power supply before potential dangers occur, effectively preventing electrical faults such as overload and short circuit, significantly improving electrical safety, and avoiding damage to devices or fire risks caused by overload.
[0079] In particular, in one specific example of the present application, the control method of the intelligent polling extension socket control circuit further comprises: immediately disconnecting the corresponding relay in response to the power value of the instant heating device or the power value of the washing machine or the power value of the heating device exceeding the preset safe power threshold thereof.
[0080] The specific implementation process is as follows: this safety protection function is executed immediately after the load controller completes the current signal collection of any high-power device, i.e. the instant heating device, the washing machine or the heating device, and calculates the power value thereof. For example, after completing the power value calculation of the instant heating device in step S4, or after completing the power value calculation of the washing machine in step S6, or after completing the power value calculation of the heating device in step S8, the microprocessor inside the load controller will immediately compare the real-time power value of the device just calculated with the preset safe power threshold for the specific device stored in advance.
[0081] These preset safe power thresholds are set according to the rated power, safety margin and total carrying capacity of household circuits of various high-power electrical appliances. For example, the preset safe power threshold of the instant heating device can be set to 3500W, the washing machine to 2200W, and the heating device to 2800W. These thresholds can be pre-burned into the firmware of the load controller, or updated and stored by the central controller through Bluetooth when the system is initialized or configured by the user.
[0082] When the microprocessor makes a comparison, if it finds that the real-time power value of the current device, for example, the power value of the instant heating device, exceeds its corresponding preset safe power threshold value, for example, instant heating device power > 3500W, the load controller will immediately trigger a protection action. The microprocessor will send an emergency control signal to its integrated relay drive circuit, which specifically instructs the drive circuit to disconnect the relay connected to the fire line of the device exceeding the threshold. After receiving this emergency instruction, the relay drive circuit will quickly cut off the power supply to the relay coil, causing its contacts to switch from the closed state to the open state in an instant, thereby cutting off the power supply to the device within milliseconds. It is worth noting that the immediate disconnection operation is automatic and mandatory, without the need for further confirmation from the central controller or the user, to ensure the fastest intervention when an overload risk occurs. At the same time, the load controller will send a status update or alarm information to the central controller through Bluetooth, informing the central controller which device has been disconnected due to power exceeding the limit. After receiving this information, the central controller can alert the user on its display interface, for example, by displaying prompt information such as instant heating device power overload, automatic disconnection, etc., thereby achieving real-time monitoring, rapid response, and user notification of potential dangers, greatly enhancing the safety of electricity use.
[0083] It should be understood that instant heating devices generally have a large power, and if they are started directly when other high-power electrical appliances such as washing machines and heating devices are running at the same time, it is easy to cause the total power of the circuit to exceed the carrying limit of the household line, triggering the circuit breaker to trip, and even causing electrical fires and other safety hazards. Therefore, in the technical solution of the present application, by giving the instant heating function the highest priority and intelligently predicting power and managing loads, it is ensured that the total power does not exceed the safe threshold while meeting the user's immediate electricity demand, thereby ensuring the continuity, convenience, and safety of electricity use.
[0084] In particular, in one specific example of the present application, the control method of the intelligent polling extension socket control circuit further comprises: in response to the user clicking to start the instant heating function, the central controller queries the current device status from the load controller; the central controller queries that the instant heating function is the highest priority; determining the running load from the current device status; determining whether the rated power of the instant heating device plus the power value of the running load exceeds the preset safe threshold, if so, disconnecting the relay of the running load and connecting the relay of the instant heating device; if not, connecting the relay of the instant heating device.
[0085] The implementation process is as follows: first, in response to the user clicking to start the instant heating function, the central controller queries the current device state from the load controller. When the user triggers the start instant heating function instruction through the supporting application program or physical button of the intelligent power strip, the central controller will immediately detect this user operation. In response, the central controller will send a query instruction to the load controller through the Bluetooth communication link, requesting to obtain the real-time running state of all connected loads, instant heating devices, washing machines, and heating devices, including which devices are powered on and their respective real-time power values. After receiving the query instruction, the load controller will read the latest measurement data and relay state stored in its internal storage and return this information to the central controller through Bluetooth.
[0086] Next, the central controller queries the start instant heating function as the highest priority. In the central controller, once it receives the user's request to start the instant heating function, it will mark it as the current highest priority operation. That is, in order to ensure the normal start and operation of the instant heating device, the central controller can take measures to temporarily interrupt the power supply of other lower priority loads according to the subsequent power judgment result.
[0087] Subsequently, the running load is determined from the current device state. After receiving the current device state data feedback from the load controller, the central controller will analyze it. It will identify which loads, such as washing machines or heating devices, are currently powered on and running in addition to the instant heating device, and obtain their respective real-time power values.
[0088] Next, it is determined whether the rated power of the instant heating device plus the power values of the running loads exceeds a preset safety threshold. The central controller will make a key power prediction. It will add the rated power of the instant heating device, which is a preset fixed value, such as 3000W or 5000W, according to the specific model of the instant heating device, to the real-time power values of the other loads currently running. This cumulative total power value will then be compared with a preset total safety power threshold. The total safety power threshold represents the maximum total power that the household circuit or power strip itself can safely carry, for example, 5000W or 6000W, according to the actual circuit design and standard setting.
[0089] Finally, according to the judgment result, the corresponding operation is performed: if yes, the relay of the running load is disconnected and the relay of the instant heating device is turned on. If the judgment result shows that the sum of the rated power of the instant heating device and the power values of the other loads currently running will exceed the preset total safety power threshold, the central controller will immediately send an instruction to the load controller. The instruction will instruct the load controller to preferentially disconnect the relays of those running loads that are not instant heating devices, such as the relays of washing machines or heating devices, through the relay drive circuit of the load controller, so as to reduce the total power. Then, or almost at the same time, the central controller will send an instruction to turn on the relay corresponding to the instant heating device. If no, the relay of the instant heating device is turned on. If the judgment result shows that the sum of the rated power of the instant heating device and the power values of the other loads currently running does not exceed the preset total safety power threshold, it indicates that there is enough margin for the current circuit to run these devices at the same time. In this case, the central controller will directly send an instruction to the load controller to turn on the relay corresponding to the instant heating device without disconnecting other running loads. In this way, a dynamic balance between user demand and power safety is achieved, significantly improving the user experience and the safety of household power consumption.
[0090] The entire process data flow process is as shown in Figure 5 Figure 5 The data flow chart of the control method of the intelligent polling row plug control circuit according to the embodiment of the present application is shown. First, after the system is started, the initialization operation is performed, including disconnecting the power supply of all loads and establishing a Bluetooth pairing connection, at this time the system enters a listening state, waiting for the input of an external signal source. The system will continuously listen to two main signals: one is the Bluetooth instruction from the central controller, which will be parsed and used to set the operation priority; the second is the detected power mutation, which will directly trigger the polling detection process. No matter which signal triggers, the system will enter the polling detection mode according to the preset priority (i.e. hot device, washing machine, heating device). In the polling detection mode, the data flow enters a cycle: first, the power supply of all loads is temporarily disconnected, then the system will turn on the load that needs to be detected in turn. At this time, the current detection module will collect the current signal of the load, and these raw current data are used to calculate the real-time power value of the load. The calculated power value is then used to judge the running state of the load. If the load is running normally, its power data will be updated and stored, and at the same time the system returns to the state preset by the user. However, if an overload or short circuit condition is detected, the system will immediately cut off the power supply of the faulty circuit and send an alarm signal to ensure safety. After completing the detection of the current load, the system will judge whether the detection of all loads has been completed. If not, the data flow will return to the beginning of the polling detection mode and continue to detect the next load; if all loads have been detected, the data flow returns to the main loop and the system reenters the signal source listening state, waiting for new instructions or events to trigger.
[0091] In summary, the intelligent polling row plug control circuit based on the embodiment of the present application is illustrated, which establishes a connection between the central controller and the load controller after the system is powered on, and intelligently controls high-power loads such as instant heating devices, washing machines, and heating devices. During the polling process, the current signal of each device is accurately collected by the current detection module and the power value is calculated, thereby achieving accurate monitoring of the energy consumption of individual devices. More importantly, this method can immediately disconnect the corresponding relay when the power value of the device exceeds the preset safety threshold, effectively avoiding the risk of overload and significantly improving the safety of electricity use. In addition, for the user's high-priority demand for instant heating function, this method can intelligently query the current device state, judge whether the total power is over limit, and preferentially turn on the relay of high-priority devices, and disconnect other loads if necessary, thereby maximizing the user's convenience while ensuring safety. By temporarily turning off other loads when measuring the power of a specific device, this method also ensures the accuracy of power measurement and provides reliable energy consumption data for users. This intelligent polling, monitoring, safety protection and priority management mechanism effectively makes up for the shortcomings of existing technologies, and provides an innovative solution for the safe, efficient and convenient use of high-power electrical appliances in a home environment.
Claims
1. An intelligent polling strip control circuit, characterized in that: include: The central controller and the load controller communicate with each other via Bluetooth for instructions and data. Wherein, the load controller includes: A three-way socket strip unit, the three-way socket strip unit is respectively suitable for connecting a first load, a second load and a third load, wherein the three-way socket strip unit shares a neutral line and a ground line; three relays electrically connected to the live wires of the three-way troubleshooting units; a relay driving circuit for driving three relays to selectively turn on / off; A current detection module, wherein the three live wires of the three-way troubleshooting unit pass through the current detection module, and the current detection module is used to respectively detect the current signals of the first load, the second load, and the third load.
2. The intelligent polling strip control circuit according to claim 1, characterized in that: The first load, the second load and the third load are an instant heating device, a washing machine and a heating device respectively.
3. The intelligent polling strip control circuit according to claim 2, characterized in that: The current detection module is a current transformer. The three live wires of the three-way troubleshooting unit pass through the primary coil of the current detection module. The secondary coil of the current detection module is electrically connected to the ADC pin of the load controller.
4. A control method for an intelligent polling strip control circuit, characterized in that: The steps include: S1: After the system is powered on, the central controller establishes a connection with the load controller via Bluetooth; S2: The load controller disconnects the three relays; S3: The load controller turns on the relay corresponding to the instant heating device; S4: After a preset delay, the current detection module collects the current signal of the instant heating device and calculates its power value; S5: The load controller disconnects the relay corresponding to the instant heating device and connects the relay corresponding to the washing machine; S6: After a preset delay, the current detection module collects the current signal of the washing machine and calculates its power value; S7: The load controller disconnects the relay corresponding to the washing machine and connects the relay corresponding to the heating equipment; S8: After a preset delay, the current detection module collects the current signal of the heating equipment and calculates its power value.
5. The control method of the intelligent polling power strip control circuit according to claim 4, characterized in that: The preset time is 50ms.
6. The control method of the intelligent polling power strip control circuit according to claim 4, characterized in that: Also includes: In response to the power value of the instant heating device, the power value of the washing machine, or the power value of the heating device exceeding the preset safety power threshold, the corresponding relay is immediately disconnected.
7. The control method of the intelligent polling power strip control circuit according to claim 4, characterized in that: Also includes: In response to the user clicking to start the instant heating function, the central controller queries the current device status from the load controller; The central controller query starts the instant heating function with the highest priority; determining a running load from the current device state; Determine whether the rated power of the instant heating device plus the power value of the running load exceeds a preset safety threshold. If so, disconnect the relay of the running load and connect the relay of the instant heating device; if not, connect the relay of the instant heating device.
8. The control method of the intelligent polling power strip control circuit according to claim 4, characterized in that: Step S4 includes: The central controller queries the current device status from the load controller; In response to the current device status indicating that at least two loads are in operation, closing the relays other than the relay corresponding to the instant heating device so that only the instant heating device is in the on state; The current detection module collects the current signal of the instant heating device and calculates its power value; After the measurement is completed, the other relays except the relay corresponding to the instant heating device are reclosed.