Adaptive energy-saving socket control method and device based on human presence recognition and empty load recognition
Patent Information
- Application Number
- CN202610555073.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-04-24
- Publication Date
- 2026-09-11
AI Technical Summary
[0004]然而,现有方案普遍依赖单一的人体红外传感器进行人体检测,但PIR传感器对于静止或动作幅度较小的人体难以有效感知,容易出现有人在场却被误判为离开的情况,导致插座误断电,严重影响用户体验;且在断电前采用固定延时方式,无法根据用户的实际行为习惯动态调整延时时长,不同用户的离开时长差异较大,固定延时过短则易误断电,过长则节能效果不理想;现有方案对空载状态的判定较为粗糙,仅通过电流阈值进行简单判断,难以精准识别充电器空载、电器待机等场景,容易将短暂电流波动误判为空载;因此,亟需一种能够精准识别人体存在、精确判定空载状态、自适应学习用户行为习惯并在断电前提供人机交互的智能节能插座解决方案
[0028]1. This invention uses multi-sensor fusion recognition technology, which integrates three methods: PIR human infrared sensing, light differential detection, and sound energy harvesting. This effectively solves the problem of inaccurate recognition by a single sensor. Even if the human body is stationary, it can be accurately identified by light or sound signals, which effectively reduces the probability of misjudgment and the risk of accidental power outage.
Smart Images

Figure CN122732285A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to an energy-saving socket control method, specifically an adaptive energy-saving socket control method and device based on human presence recognition and no-load recognition, belonging to the field of energy-saving socket technology. Background Technology
[0002] With the widespread use of various electrical appliances, sockets, as power supply interfaces, are widely used in daily life. However, many appliances continue to consume electricity even in standby or no-load states, resulting in significant energy waste. Currently, ordinary sockets commonly used in the market do not have automatic detection and power-off functions. If electrical appliances are not unplugged when turned off, the problem of standby power consumption and idle power consumption of the devices after the user leaves persists.
[0003] In existing technologies, for example, CN112636106A discloses an energy-saving socket device with built-in intelligent sensing. This solution detects the usage of high-power appliances through a current monitoring module and also incorporates a human movement detection module. When the duration of inactivity reaches a user-preset power-off time threshold, the power is automatically cut off. Another example is CN202076624U, which discloses a human-sensing intelligent energy-saving socket. This solution uses a human infrared sensor switch to automatically and after a delay, cut off the power to the main and controlled devices when a person leaves the sensing range.
[0004] However, existing solutions generally rely on a single infrared human sensor for human detection. PIR sensors struggle to effectively detect stationary or minimally moving individuals, leading to misjudgments of presence and power outages, severely impacting user experience. Furthermore, the fixed delay before power cuts cannot dynamically adjust based on user behavior. Different users have varying periods of absence; too short a delay results in false power cuts, while too long leads to ineffective energy saving. Existing solutions also have a crude approach to determining no-load status, relying solely on current thresholds. This makes it difficult to accurately identify scenarios like chargers being unloaded or appliances being in standby mode, easily misinterpreting brief current fluctuations as no-load. Therefore, there is an urgent need for a smart energy-saving socket solution that can accurately detect human presence, precisely determine no-load status, adaptively learn user behavior, and provide human-computer interaction before power cuts. Summary of the Invention
[0005] The purpose of this invention is to provide an adaptive energy-saving socket control method and device based on human presence recognition and no-load recognition in order to solve at least one of the above-mentioned technical problems.
[0006] This invention achieves the above objective through the following technical solution: an adaptive energy-saving socket control method based on human presence recognition and no-load recognition, comprising the following steps:
[0007] S1. Human Existence Status Acquisition: Acquire human existence information, which includes at least one signal selected from PIR human infrared sensor signal, light change signal, and sound energy signal; when none of the PIR human infrared sensor signal, light change signal, and sound energy signal meet the human existence conditions, it is determined that the human body does not exist.
[0008] S2. Real-time current data acquisition: Acquires real-time current data from the socket output circuit. (t) And calculate the root mean square current I. rms ;
[0009] S3. Load status judgment, preset no-load judgment threshold I low (No-load current threshold) and current change rate threshold K small According to I rms With real-time current change rate |d I / d t |To determine whether the load is in an unloaded state, the unload determination condition is: I rms low And |d I / d t | <K small ;
[0010] S4. Calculate the adaptive delay. Preset the number of historical data statistics N. Calculate the average value of the duration of the most recent N human departure events as the adaptive delay ΔT, where ΔT = mean (duration of the most recent N departure events).
[0011] S5. Adaptive delay control: Based on the collected data on the presence of the human body and the no-load status of the load, the system determines whether to execute power-off control through an adaptive delay ΔT. When the human body is not present and the load is in a no-load state, the delay timer is started, and the power is executed after the timer reaches ΔT.
[0012] As a further aspect of the present invention: the human body presence information acquisition adopts a fusion recognition method of PIR human infrared sensor signal, light differential signal, and sound energy signal. The recognition logic is as follows: when the PIR sensor signal is triggered, or the light change ΔLux is greater than the preset light threshold T... lux Or the sound energy is greater than the preset sound energy threshold T sound At that time, it was determined that a human body was present.
[0013] As a further aspect of the present invention, the adaptive delay ΔT automatically converges to a stable value based on the user's behavior, with a convergence range of 10S to 60S.
[0014] As a further aspect of the present invention: before powering off, a reminder message can be sent to the user's mobile terminal via a Bluetooth communication module, providing a manual selection function of "keep power on" or "power off", and powering off automatically when the user does not respond.
[0015] As a further aspect of the present invention, a microcontroller is used to complete data acquisition, threshold judgment, and control signal output.
[0016] An adaptive energy-saving socket control device based on human presence recognition and no-load recognition includes:
[0017] Human body sensing module: Composed of PIR sensor, light sensor (LDR) and sound energy acquisition module, used to collect signals related to the presence of human body;
[0018] Current detection module: Employs a current sensor to collect current data from the socket's output circuit;
[0019] Main control MCU: A single-chip microcomputer is used to receive sensor data, execute no-load determination algorithm and adaptive delay calculation;
[0020] Switch control module: Composed of relays and MOSFETs, used to receive MCU control signals to perform power-off / power-on operations;
[0021] Bluetooth communication module: The BLE low-power Bluetooth module is used to send power failure reminders to user terminals and receive manual control commands;
[0022] Power supply module: Provides stable power supply to each module and achieves electrical isolation between high-voltage and low-voltage electricity.
[0023] As a further embodiment of the present invention: the output terminal of the current detection module is connected to the ADC input terminal of the main control MCU, and the ADC sampling frequency is ≥1kHz.
[0024] As a further aspect of the present invention: an optocoupler isolation circuit is set between the switch control module and the main control MCU, which is suitable for AC220V civilian power supply circuits, and the creepage distance between the high-voltage circuit and the low-voltage circuit is ≥3mm.
[0025] As a further aspect of the present invention: the light sensor of the human body sensing module adopts a voltage divider circuit design, and the change in light intensity ΔLux is calculated by the difference between two consecutive sampling values.
[0026] As a further aspect of the present invention: the transmission delay of the power failure reminder signal of the Bluetooth communication module is ≤1 second.
[0027] The beneficial effects of this invention are:
[0028] 1. This invention uses multi-sensor fusion recognition technology, which integrates three methods: PIR human infrared sensing, light differential detection, and sound energy harvesting. This effectively solves the problem of inaccurate recognition by a single sensor. Even if the human body is stationary, it can be accurately identified by light or sound signals, which effectively reduces the probability of misjudgment and the risk of accidental power outage.
[0029] 2. This invention introduces dual no-load determination conditions—the root mean square value of the current and the rate of change of current—to accurately distinguish between no-load and normal load states, avoiding misjudgments caused by transient current fluctuations. By recording the duration of the user's most recent absences from the socket and calculating the sliding average as an adaptive delay, the system can automatically learn and match the behavioral habits of different users. The delay value gradually converges to a stable range as the usage frequency increases, achieving personalized energy-saving management without manual user settings. Before a power outage, a reminder message is sent to the user's mobile terminal via Bluetooth communication module, and a manual selection function is provided, further reducing the risk of accidental power outages. Attached Figure Description
[0030] Figure 1 This is a schematic diagram of the control flow of the present invention;
[0031] Figure 2 This is a schematic diagram of the control device of the present invention. Detailed Implementation
[0032] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0033] Example 1
[0034] like Figure 1 As shown, an adaptive energy-saving socket control method based on human presence recognition and no-load recognition includes the following steps:
[0035] S1. Human presence status acquisition: Acquire human presence information, which includes at least one signal selected from PIR human infrared sensor signal, light change signal, and sound energy signal; when the PIR human infrared sensor signal, light change signal, and sound energy signal do not meet the human presence conditions, it is determined that the human body does not exist; when the PIR sensor signal is triggered, or the light change ΔLux is greater than the preset light threshold Tlux, or the sound energy is greater than the preset sound energy threshold Tsound, it is determined that the human body exists.
[0036] S2. Real-time current data acquisition: Acquires real-time current data from the socket output circuit.(t) And calculate the root mean square current I. rms ;
[0037] S3. Load status judgment, preset no-load judgment threshold I low (No-load current threshold) and current change rate threshold K small According to I rms With real-time current change rate |d I / d t |To determine whether the load is in an unloaded state, the unload determination condition is: I rms low And |d I / d t | <K small ;
[0038] S4. Calculate the adaptive delay. Preset the number of historical data statistics N (N is a positive integer, preferably N=10). Calculate the average value as the adaptive delay ΔT by statistically analyzing the duration of the most recent N human departure events. ΔT=mean(duration of the most recent N departure events).
[0039] S5. Adaptive delay control: Based on the collected data on the presence of the human body and the no-load status of the load, the system determines whether to execute power-off control through an adaptive delay ΔT. When the human body is not present and the load is in a no-load state, the delay timer is started, and the power is executed after the timer reaches ΔT.
[0040] Furthermore, the human presence information acquisition adopts a fusion recognition method that combines PIR human infrared sensor signals, light differential signals, and sound energy signals. The recognition logic is as follows: when the PIR sensor signal is triggered, or the light change ΔLux is greater than the preset light threshold T... lux Or the sound energy is greater than the preset sound energy threshold T sound At that time, it was determined that a human body was present.
[0041] Furthermore, the adaptive delay ΔT automatically converges to a stable value based on user behavior, with a convergence range of 10S to 60S.
[0042] Furthermore, before powering off, a reminder message can be sent to the user's mobile terminal via Bluetooth communication module, providing a manual selection function of "keep power on" or "power off". If the user does not respond, power off will be automatically executed.
[0043] Furthermore, a microcontroller is used to complete data acquisition, threshold judgment, and control signal output.
[0044] Example 2
[0045] like Figure 2 As shown, an adaptive energy-saving socket control device based on human presence recognition and no-load recognition includes:
[0046] Human body sensing module: Composed of a PIR sensor, a light sensor (LDR), and a sound energy acquisition module (microphone), used to collect signals related to the presence of a human body;
[0047] Current detection module: Employs a current sensor to collect current data from the socket's output circuit;
[0048] Main control MCU: A single-chip microcomputer is used to receive sensor data, execute no-load determination algorithm and adaptive delay calculation;
[0049] Switch control module: Composed of relays and MOSFETs, used to receive MCU control signals to perform power-off / power-on operations;
[0050] Bluetooth communication module: The BLE low-power Bluetooth module is used to send power failure reminders to user terminals and receive manual control commands;
[0051] Power supply module: Provides stable power supply to each module and achieves electrical isolation between high-voltage and low-voltage electricity.
[0052] The main control MCU is model STM32F103C8T6; the human body sensing module's PIR sensor is model HC-SR501, the light sensor is model GL5528, and the sound energy acquisition module is model MAX9814; the current detection module is model ACS712-5A; the Bluetooth communication module is model HM-10 (BLE4.0); the switch control module is model 5V relay + PC817 optocoupler; and the power supply module is model 12V to 5V (AMS1117-5.0) and 5V to 3.3V (XC6206).
[0053] Furthermore, the output of the current detection module is connected to the ADC input of the main control MCU, and the ADC sampling frequency is ≥1kHz.
[0054] Furthermore, an optocoupler isolation circuit is set between the switch control module and the main control MCU, which is suitable for AC220V civilian power supply circuits, and the creepage distance between the high-voltage circuit and the low-voltage circuit is ≥3mm.
[0055] Furthermore, the light sensor of the human body sensing module adopts a voltage divider circuit design, and the change in light intensity ΔLux is calculated by the difference between two consecutive sampling values.
[0056] Furthermore, the transmission delay of the Bluetooth communication module power failure reminder signal is ≤1 second.
[0057] Working principle: By collecting real-time information on the presence of human body and the current data of the socket output circuit, adaptive energy-saving control is achieved. Human body presence recognition adopts a multi-sensor fusion method of passive infrared, light change and sound energy. If any sensor detects an activity signal, it is determined that someone is present. If no activity signal is detected, it is determined that no human body is present. The no-load status recognition is based on a comprehensive analysis of the root mean square value of the current and its rate of change. When the current amplitude is lower than the no-load threshold and the current remains stable without significant fluctuations, it is determined that the load is in a no-load state. The duration of each user's departure and return is continuously recorded, and an adaptive power-off delay is automatically learned and generated through a moving average method.
[0058] When the absence of a human body is detected and the load is in an unloaded state, the device starts a timeout and sends a power outage reminder to the user's mobile terminal via Bluetooth communication. The user can choose to keep the power supply on or cut off the power immediately. If no user intervention is received within the adaptive delay, the device automatically controls the relay to cut off the socket output circuit, thereby realizing intelligent energy-saving management with normal power supply when there are people or loads, and delayed power outage when there are no people and the load is unloaded.
[0059] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. All variations falling within the meaning and scope of equivalents of the claims are thus intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.
[0060] Furthermore, it should be understood that although this specification describes embodiments, not every embodiment contains only one independent technical solution. This narrative style is merely for clarity. Those skilled in the art should consider the specification as a whole, and the technical solutions in each embodiment can also be appropriately combined to form other embodiments that can be understood by those skilled in the art.
Claims
1. An adaptive energy-saving socket control method based on human presence recognition and no-load recognition, characterized in that: Includes the following steps: S1. Human body presence status acquisition: Acquire human body presence information, which includes at least one signal selected from PIR human infrared sensor signal, light change signal, and sound energy signal; when the PIR human infrared sensor signal, light change signal, and sound energy signal do not meet the human body presence conditions, it is determined that the human body does not exist. S2. Real-time current data acquisition: Acquires real-time current data from the socket output circuit. (t) And calculate the root mean square current I. rms ; S3. Load status judgment, preset no-load judgment threshold I low and the threshold of the rate of change of current K small According to I rms With real-time current change rate |d I / d t |To determine whether the load is in an unloaded state, the unload determination condition is: I rms low And |d I / d t | <K small ; S4. Calculate the adaptive delay. Preset the number of historical data statistics N. Calculate the average value of the duration of the most recent N human departure events as the adaptive delay ΔT, where ΔT = mean (duration of the most recent N departure events). S5. Adaptive delay control: Based on the collected data on the presence of the human body and the no-load status of the load, the system determines whether to execute power-off control through an adaptive delay ΔT. When the human body is not present and the load is in a no-load state, the delay timer is started, and the power is executed after the timer reaches ΔT.
2. The adaptive energy-saving socket control method according to claim 1, characterized in that: In step S1, the human body presence information is collected using a fusion recognition method that integrates PIR human infrared sensor signals, illumination differential signals, and sound energy signals. The recognition logic is as follows: when the PIR sensor signal is triggered, or the illumination change ΔLux is greater than a preset illumination threshold T... lux Or the sound energy is greater than the preset sound energy threshold T sound At that time, it was determined that a human body was present.
3. The adaptive energy-saving socket control method according to claim 1, characterized in that: In S4, the adaptive delay ΔT automatically converges to a stable value based on the user's behavior, with a convergence range of 10S to 60S.
4. The adaptive energy-saving socket control method according to claim 1, characterized in that: In step S5, before powering off, a reminder message can be sent to the user's mobile terminal via the Bluetooth communication module, providing a manual selection function of "keep power on" or "power off". If the user does not respond, power off will be automatically executed.
5. The adaptive energy-saving socket control method according to claim 1, characterized in that: In S5, an STM32 series microcontroller is used to complete data acquisition, threshold judgment and control signal output.
6. An energy-saving socket device for implementing the adaptive energy-saving socket control method according to any one of claims 1-5, characterized in that: include: Human body sensing module: Composed of a PIR sensor, a light sensor, and a sound energy acquisition module, used to collect signals related to the presence of a human body; Current detection module: Employs a current sensor to collect current data from the socket's output circuit; Main control MCU: A single-chip microcomputer is used to receive sensor data, execute no-load determination algorithm and adaptive delay calculation; Switch control module: Composed of relays and MOSFETs, used to receive MCU control signals to perform power-off / power-on operations; Bluetooth communication module: The BLE low-power Bluetooth module is used to send power failure reminders to user terminals and receive manual control commands; Power supply module: Provides stable power supply to each module and achieves electrical isolation between high-voltage and low-voltage electricity.
7. The energy-saving socket device according to claim 6, characterized in that: The output of the current detection module is connected to the ADC input of the main control MCU, and the ADC sampling frequency is ≥1kHz.
8. The energy-saving socket device according to claim 6, characterized in that: The switch control module is equipped with an optocoupler isolation circuit between itself and the main control MCU. It is suitable for AC220V civilian power supply circuits, and the creepage distance between the high-voltage circuit and the low-voltage circuit is ≥3mm.
9. The energy-saving socket device according to claim 6, characterized in that: The light sensor of the human body sensing module adopts a voltage divider circuit design, and the change in light intensity ΔLux is calculated by the difference between two consecutive sampling values.
10. The energy-saving socket device according to claim 6, characterized in that: The power failure reminder signal of the Bluetooth communication module has a transmission delay of ≤1 second.
Citation Information
Patent Citations
Energy-saving socket device with intelligent sensing function
CN112636106A
Human body sensing type intelligent power-saving socket
CN202076624U