Intelligent energy-saving socket and control method
By designing an intelligent energy-saving socket that includes microwave sensor detection module, microcontroller control module, infrared remote control module, microcontroller timing module and power management module, the problem that existing smart sockets cannot automatically control multiple brands of air conditioners is solved, and automatic control and energy saving of air conditioners are achieved.
Patent Information
- Application Number
- CN202411698636.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-14
AI Technical Summary
Existing smart sockets cannot achieve automatic control of air conditioners for multiple brands, resulting in users needing to frequently manually adjust the air conditioner, resulting in waste of energy and reduced user experience.
An intelligent energy-saving socket is designed, including microwave sensor detection module, microcontroller control module, infrared remote control module, microcontroller timing module and power management module. Through the combination of these modules, automatic control of the air conditioner is achieved. The microwave sensor detection module detects the status of people in the room in real time. When there is no one, the system automatically switches the air conditioner to the energy-saving mode.
Automatic control of air conditioners of multiple brands is achieved, avoiding the high power operation of air conditioners when they are unmanned, reducing energy waste, and improving the efficiency and user experience of air conditioners.
Smart Images

Figure CN119627563A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sockets, and in particular to an intelligent energy-saving socket and a control method thereof. Background Art
[0002] With the advancement of science and technology, more and more high-energy-consuming electrical appliances are gradually entering people's homes. While creating a lot of convenience for our lives, it also causes a sharp increase in household energy consumption, such as waste of standby power consumption and failure to turn off electrical appliances in time.
[0003] Currently, existing air conditioning systems continue to run at high power after the user leaves the room, resulting in unnecessary energy consumption. Due to the different infrared remote control protocols of air conditioners of different brands, it is difficult for existing systems to achieve universal control of multiple brands of equipment, requiring frequent manual adjustment of the air conditioner, resulting in a reduced user experience. Summary of the invention
[0004] The purpose of the present invention is to provide an intelligent energy-saving socket and a control method, aiming to solve the problem that the existing intelligent socket cannot achieve automatic control.
[0005] To achieve the above-mentioned purpose, in a first aspect, the present invention provides an intelligent energy-saving socket, comprising a microwave sensor detection module, a single-chip control module, an infrared remote control module, a single-chip timing module and a power management module, wherein the microwave sensor detection module, the single-chip control module and the infrared remote control module are connected in sequence and are respectively connected to the power management module, and the single-chip timing module is built into the single-chip control module;
[0006] The microwave sensor detection module is used to detect whether there is anyone in the room and transmit the detection signal to the single chip control module;
[0007] The single chip timing module is used to count down when no one is around;
[0008] The single chip control module controls the infrared remote control module based on the detection signal and the timing result;
[0009] The infrared remote control module is used to remotely switch the air-conditioning mode;
[0010] The power management module is used to supply power to the microwave sensor detection module, the single-chip control module, the infrared remote control module and the single-chip timing module.
[0011] Wherein, the microwave sensor detection module includes a detection unit and a sending unit, and the detection unit is connected to the sending unit;
[0012] The detection unit is used to detect whether there is a human body in the room;
[0013] The sending unit is used to send the detection signal to the single chip control module.
[0014] Wherein, the single chip control module includes a processing unit and a transmission unit, and the processing unit is connected to the transmission unit;
[0015] The processing unit processes the control instruction based on the detection signal and the timing result;
[0016] The transmission unit transmits the control instruction to the infrared remote control module.
[0017] Wherein, the infrared remote control module includes a learning unit and a remote control unit, and the learning unit and the remote control unit are connected;
[0018] The learning unit controls the remote control unit based on the control instruction;
[0019] The remote control unit is used to send adjustment instructions to the air conditioner.
[0020] In a second aspect, a smart energy-saving socket control method is provided, which is used for the smart energy-saving socket described in the first aspect, and comprises the following steps:
[0021] Detect whether there is someone in the room and transmit the detection signal to the single-chip control module;
[0022] If there is no one, a 20-minute countdown is performed, and after the countdown ends, the single-chip control module controls the infrared remote control module based on the detection signal;
[0023] The infrared remote control module remotely switches the air conditioning mode.
[0024] An intelligent energy-saving socket of the present invention comprises a microwave sensor detection module, a single-chip control module, an infrared remote control module, a single-chip timing module and a power management module, wherein the microwave sensor detection module, the single-chip control module and the infrared remote control module are connected in sequence and respectively connected to the power management module, which is built into the single-chip control module; the microwave sensor detection module is used to detect whether there is anyone in the room and transmit the detection signal to the single-chip control module; the single-chip timing module is used to count down when no one is present; the single-chip control module controls the infrared remote control module based on the detection signal and the timing result; the infrared remote control module is used to remotely switch the air-conditioning mode; the power management module is used to power the microwave sensor detection module, the single-chip control module, the infrared remote control module and the single-chip timing module. The present invention detects the status of people in the room in real time through a microwave human body sensor, and when no one is detected, the system automatically switches the air-conditioning to the energy-saving mode after a set time. When no one is in the room, the air conditioner is adjusted to a fixed temperature and wind speed to avoid high-power operation of the air conditioner when no one is in the room, greatly reducing energy waste and improving the overall efficiency of the air conditioner. The system can automatically identify whether there is someone in the room and automatically adjust the air conditioner mode according to the detection results. This intelligent design improves the user's convenience and comfort. Users no longer need to manually adjust the air conditioner frequently. The system can automatically adjust the operating mode according to the actual environment. For example, when the user enters the room, the air conditioner automatically returns to the comfort mode; when the user leaves, the air conditioner automatically switches to the energy-saving mode. The whole process is seamless, which improves the user experience and solves the problem that the existing smart sockets cannot achieve automatic control. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 It is a schematic diagram of an intelligent energy-saving socket provided by the present invention.
[0027] Figure 2 It is a microwave sensor detection module.
[0028] Figure 3 It is a single chip microcomputer control module.
[0029] Figure 4 It is an infrared remote control module.
[0030] Figure 5 The present invention provides a flow chart of an intelligent energy-saving socket control method.
[0031] 1-microwave sensor detection module, 2-single-chip microcomputer control module, 3-infrared remote control module, 4-single-chip microcomputer timing module, 5-power management module, 11-detection unit, 12-sending unit, 21-processing unit, 22-transmission unit, 31-learning unit, 32-remote control unit. DETAILED DESCRIPTION
[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0033] See also Figures 1 to 4 In a first aspect, the present invention provides an intelligent energy-saving socket, comprising a microwave sensor detection module 1, a single-chip control module 2, an infrared remote control module 3, a single-chip timing module 4 and a power management module 5, wherein the microwave sensor detection module 1, the single-chip control module 2 and the infrared remote control module 3 are connected in sequence and are respectively connected to the power management module 5, and the single-chip timing module 4 is built in the single-chip control module 2;
[0034] The microwave sensor detection module 1 is used to detect whether there is someone in the room and transmit the detection signal to the single chip control module 2;
[0035] The single chip timing module 4 is used for counting down when no one is around;
[0036] The single chip control module 2 controls the infrared remote control module 3 based on the detection signal and the timing result;
[0037] The infrared remote control module 3 is used to remotely switch the air conditioning mode;
[0038] The power management module 5 is used to supply power to the microwave sensor detection module 1 , the single-chip control module 2 , the infrared remote control module 3 and the single-chip timing module 4 .
[0039] In this embodiment, the present invention detects the status of people in the room in real time through a microwave human body sensor. When no one is detected, the system automatically switches the air conditioner to energy-saving mode after a set time. When no one is in the room, the air conditioner is adjusted to a fixed temperature and wind speed to avoid high-power operation of the air conditioner when no one is in the room, greatly reducing energy waste and improving the overall use efficiency of the air conditioner. The system can automatically identify whether there is someone in the room and automatically adjust the air conditioner mode according to the detection results. This intelligent design improves the user's convenience and comfort. The user no longer needs to manually adjust the air conditioner frequently, and the system can automatically adjust the operating mode according to the actual environment. For example, when the user enters the room, the air conditioner automatically returns to the comfort mode; when the user leaves, the air conditioner automatically switches to the energy-saving mode. The whole process is seamlessly connected, which improves the user experience, thereby solving the problem that the existing smart socket cannot achieve automatic control.
[0040] Further, the microwave sensor detection module 1 includes a detection unit 11 and a sending unit 12, and the detection unit 11 and the sending unit 12 are connected;
[0041] The detection unit 11 is used to detect whether there is a human body in the room;
[0042] The sending unit 12 is used to send the detection signal to the single chip control module 2.
[0043] In this embodiment, the presence of people in the room is detected in real time. Microwave technology is used to detect the slight movement of the human body and output the corresponding signal to the single chip microcomputer.
[0044] Further, the single chip control module 2 includes a processing unit 13 and a transmission unit 14, and the processing unit 13 and the transmission unit 14 are connected;
[0045] The processing unit 13 processes the control instruction based on the detection signal and the timing result;
[0046] The transmission unit 14 transmits the control instruction to the infrared remote control module 3 .
[0047] In this embodiment, the detection signal from the microwave sensor is processed to determine whether there is anyone in the current room, and the infrared remote control module 3 is controlled according to the set logic.
[0048] Further, the infrared remote control module 3 includes a learning unit 31 and a remote control unit 32, and the learning unit 31 and the remote control unit 32 are connected;
[0049] The learning unit 31 controls the remote control unit 32 based on the control instruction;
[0050] The remote control unit 32 is used to send adjustment instructions to the air conditioner.
[0051] In this embodiment, the control signal is sent to the air conditioner. The module can pre-store infrared control signals of air conditioners of different brands, and remotely control the air conditioner by controlling the infrared transmitter through STM32, including switch, temperature adjustment, wind speed adjustment and other functions.
[0052] See also Figure 5 In a second aspect, a smart energy-saving socket control method is provided, which is used for the smart energy-saving socket described in the first aspect, and comprises the following steps:
[0053] S1 detects whether there is someone in the room and transmits the detection signal to the single chip control module 2;
[0054] Specifically, the microwave human body sensor continuously detects whether there is someone in the room, and the signal is fed back to the STM32 microcontroller. The STM32 determines the current status of the person in the room based on the output signal of the sensor.
[0055] If there is no one at S2, a 20-minute countdown is performed. After the countdown ends, the single-chip control module 2 controls the infrared remote control module 3 based on the detection signal;
[0056] Specifically, if someone is detected, the MCU will control the infrared module to send an infrared signal of "occupant mode", and the air conditioner will resume normal operation mode, and the temperature and wind speed will be adjusted according to the preset comfort value. If no one is detected, the MCU starts the timing function. When the microwave sensor detects that there is no one, the STM32 MCU starts a 20-minute countdown: during the countdown, if someone is detected to re-enter the room, the countdown is terminated and the air conditioner remains in "occupant mode". If the countdown is completed and there is no one, the MCU switches the air conditioner to "no one mode" through the infrared remote control module 3. At this time, the temperature and wind speed of the air conditioner are set to energy-saving values (for example, the temperature is raised to 28°C and the wind speed is reduced to low gear).
[0057] S3 infrared remote control module 3 remotely switches the air conditioning mode.
[0058] Specifically, the infrared module is responsible for sending infrared remote control signals that match the air conditioner to control the switch, temperature and wind speed of the air conditioner. The STM32 microcontroller can choose to send the corresponding infrared coding signal according to the specific air conditioner model.
[0059] Beneficial effects:
[0060] 1. Energy saving: The microwave human body sensor detects the status of people in the room in real time. When no one is detected, the system automatically switches the air conditioner to energy-saving mode after a set time (such as 20 minutes). When no one is in the room, the air conditioner is adjusted to a fixed temperature and wind speed to avoid high-power operation of the air conditioner when no one is in the room, greatly reducing energy waste and improving the overall efficiency of the air conditioner.
[0061] 2. Intelligent control: The present invention combines the STM32 single-chip microcomputer with sensors to realize intelligent control of the air conditioner. The system can automatically identify whether there is someone in the room and automatically adjust the air conditioning mode according to the detection results. This intelligent design improves the user's convenience and comfort.
[0062] 3. Improve user experience: Users no longer need to frequently adjust the air conditioner manually. The system can automatically adjust the operating mode according to the actual environment. For example, when the user enters the room, the air conditioner automatically returns to the comfort mode; when the user leaves, the air conditioner automatically switches to the energy-saving mode. The whole process is seamless, which improves the user experience.
[0063] 4. Multi-brand compatibility: The present invention supports multiple brands of air conditioners through the infrared remote control module, and can preset infrared control signals of multiple brands of air conditioners, so that the system has strong compatibility and is suitable for different models of air conditioning equipment, expanding the scope of application.
[0064] 5. Reduce equipment loss: Since the air conditioner automatically switches to low-power energy-saving mode when no one is at home, it reduces equipment loss caused by long-term high-load operation and extends the service life of the air conditioning equipment.
[0065] What is disclosed above is only a preferred embodiment of a smart energy-saving socket and a control method of the present invention. Of course, this cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. An intelligent energy-saving socket, characterized in that: It includes a microwave sensor detection module, a single-chip control module, an infrared remote control module, a single-chip timing module and a power management module. The microwave sensor detection module, the single-chip control module and the infrared remote control module are connected in sequence and are respectively connected to the power management module. The single-chip timing module is built into the single-chip; The microwave sensor detection module is used to detect whether there is anyone in the room and transmit the detection signal to the single chip control module; The single chip timing module is used to count down when no one is around; The single chip control module controls the infrared remote control module based on the detection signal and the timing result; The infrared remote control module is used to remotely switch the air-conditioning mode; The power management module is used to supply power to the microwave sensor detection module, the single-chip control module, the infrared remote control module and the single-chip timing module.
2. The intelligent energy-saving socket according to claim 1, characterized in that: The microwave sensor detection module includes a detection unit and a sending unit, and the detection unit is connected to the sending unit; The detection unit is used to detect whether there is a human body in the room; The sending unit is used to send the detection signal to the single chip control module.
3. The intelligent energy-saving socket according to claim 1, characterized in that: The single-chip control module includes a processing unit and a transmission unit, and the processing unit is connected to the transmission unit; The processing unit processes the control instruction based on the detection signal and the timing result; The transmission unit transmits the control instruction to the infrared remote control module.
4. The intelligent energy-saving socket according to claim 1, characterized in that: The infrared remote control module includes a learning unit and a remote control unit, and the learning unit is connected to the remote control unit; The learning unit decodes the infrared remote control signal based on the control instruction to control the remote control unit; The remote control unit is used to send adjustment instructions to the air conditioner.
5. A method for controlling an intelligent energy-saving socket, used for the intelligent energy-saving socket according to any one of claims 1 to 4, characterized in that: The following steps are involved: Detect whether there is someone in the room and transmit the detection signal to the single-chip control module; If there is no one, a 20-minute countdown is performed, and after the countdown ends, the single-chip control module controls the infrared remote control module based on the detection signal; The infrared remote control module remotely switches the air conditioning mode.