A method for intelligent control of a domestic ultraviolet lamp
By using human infrared sensors and computer controllers to monitor the presence of humans in real time at home and control the switching on and off of ultraviolet disinfection lamps, the inconvenience and safety hazards of ultraviolet disinfection at home are solved, achieving a safe and convenient timed disinfection effect.
Patent Information
- Application Number
- CN202610379991.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-26
- Publication Date
- 2026-11-06
AI Technical Summary
Using ultraviolet light for disinfection in the home is inconvenient and poses safety risks.
Using human infrared sensors and a computer controller, the system monitors in real time whether anyone is in the home, controls the on/off state of the ultraviolet disinfection lamps, and combines this with a timed disinfection function to ensure that the lights are turned off when someone is present and turned on when someone leaves, while also recording disinfection information.
It effectively avoids the damage of ultraviolet rays to the human body, realizes the safety and convenience of home ultraviolet disinfection, and ensures the disinfection effect without human intervention.
Smart Images

Figure CN123038323A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home technology, and in particular to a smart control method for household ultraviolet lamps. Background Technology
[0002] Ultraviolet (UV) sterilization is commonly used in public places such as hospitals to disinfect areas with high germ transmission rates, such as operating rooms and wards. With the improvement of living standards, the demand for sterilization and disinfection in the home environment is also increasing. However, because UV radiation can cause some damage to the human body, home UV disinfection is inconvenient and poses certain safety hazards. Therefore, there is a need to provide an intelligent control method for home UV lamps that can solve the problems of inconvenience and safety hazards associated with using UV disinfection in the home in existing technologies. Summary of the Invention
[0003] The purpose of this invention is to provide a smart control method for household ultraviolet lamps, which can solve the problems of inconvenience and safety hazards in using ultraviolet disinfection in the home in the prior art.
[0004] To achieve the above objectives, the technical solution of the present invention is as follows: A method for intelligent control of household ultraviolet lamps includes the following steps: Step 1: Provide ultraviolet disinfection lamps and human infrared sensors, which are then installed in the areas of the home that require disinfection. Step 2: Provide a computer controller. The computer controller monitors in real time whether anyone has entered the area being disinfected in the home through the first infrared sensor of the human infrared sensor. If yes, proceed to step 3; otherwise, return to step 1 and continue monitoring. Step 3: Provide a switch drive arm driven by a servo motor. The switch drive arm is installed at the switch of the ultraviolet disinfection lamp. The computer controller sends a shutdown execution command to the servo motor, so that the servo motor controls the switch drive arm to turn off the switch of the ultraviolet disinfection lamp. Step 4: The computer controller monitors in real time whether there are people continuously inside the area of the home that needs to be disinfected through the second infrared sensor of the human infrared sensor. If yes, proceed to step 5; otherwise, proceed to step 6. Step 5: The servo motor does not perform any action, keeping the switch of the ultraviolet disinfection lamp always in the off state. Return to step 4 to achieve closed-loop control when there are people continuously in the area, until the people leave the area. Step 6: The computer controller sends an open execution command to the servo motor, causing the servo motor control switch to drive the lever arm to turn on the ultraviolet disinfection lamp. Step 7: The computer controller is equipped with memory or provides cloud storage to record disinfection information.
[0005] In step 1, the human infrared sensor includes a first infrared sensor installed at the entrance of the area in the home that needs to be disinfected and a second infrared sensor installed inside the area in the home that needs to be disinfected.
[0006] In step 1, the ultraviolet disinfection lamp is installed inside the area of the home that needs to be disinfected, and is used to disinfect the area of the home with ultraviolet light. The ultraviolet disinfection lamp is controlled to run and stop by a switch.
[0007] A loudspeaker is installed inside the area of the home that needs to be disinfected. The loudspeaker is electrically connected to the second infrared sensor of the human infrared sensor. When the second infrared sensor sends detection data to the computer controller, it simultaneously sends a broadcast command to the loudspeaker, causing the loudspeaker to emit a voice reminder.
[0008] The computer controller is equipped with an NTP server. The computer controller obtains the network time and sets the disinfection start time and disinfection stop time through the NTP server. When the disinfection start time is reached, the computer controller sends an start execution command to the servo motor. When the disinfection stop time is reached, the computer controller sends a stop execution command to the servo motor, thereby realizing timed disinfection.
[0009] The computer controller is equipped with a timer. When the computer controller sends an open execution command to the servo motor, it simultaneously sends a timing command to the timer. When the computer controller sends an close execution command to the servo motor, it simultaneously sends a stop timing command to the timer. The timing duration of the timer is the cumulative disinfection time. The disinfection duration is set through an NTP server. When the disinfection close time is reached, the computer controller compares whether the cumulative disinfection time has reached the set disinfection duration. If so, the computer controller sends a close execution command to the servo motor to complete the disinfection. If not, the computer controller does not perform any action and extends the disinfection time until the cumulative disinfection time reaches the set disinfection duration. Then, the computer controller sends a close execution command to the servo motor to complete the disinfection.
[0010] In step 7, the disinfection information includes disinfection start and time, disinfection stop and time, disinfection completion, and other information.
[0011] Compared with the prior art, the present invention has the following advantages: 1. This invention incorporates a human infrared sensor, a computer controller, and a switch drive arm. The first infrared sensor detects a person entering the area being disinfected, and the second infrared sensor detects another person in the area. The computer controller then controls the switch drive arm to turn off the ultraviolet disinfection lamp, effectively preventing damage to the human body from ultraviolet rays and eliminating safety hazards. After the person leaves the area, the computer controller controls the switch drive arm to turn the ultraviolet disinfection lamp back on, ensuring the effectiveness of ultraviolet disinfection in the areas of the home that require disinfection.
[0012] 2. This invention can set the on / off time, off time, and duration of ultraviolet disinfection, thereby achieving timed ultraviolet disinfection in the home. It can also extend the ultraviolet disinfection time by comparing the disinfection duration and the timed duration, thus ensuring the effectiveness of ultraviolet disinfection in the home. The control process is intelligent and automated, requiring no manual intervention and is easy to operate. Attached Figure Description
[0013] The above and other objects, features and advantages of this disclosure will become more apparent from the accompanying drawings, in which like reference numerals generally denote like parts.
[0014] Figure 1 This is a flowchart of the intelligent control method for household ultraviolet lamps according to the present invention. Detailed Implementation
[0015] The intelligent control method for household ultraviolet lamps proposed in this invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The advantages and features of this invention will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of this invention.
[0016] Please see the appendix Figure 1 A smart control method for household ultraviolet lamps includes the following steps: Step 1: Provide ultraviolet disinfection lamps and human infrared sensors. Install the ultraviolet disinfection lamps and human infrared sensors in the areas of the home that need disinfection.
[0017] In step 1, the human infrared sensor includes a first infrared sensor installed at the entrance of the area to be disinfected in the home (e.g., at the door of a room) and a second infrared sensor installed inside the area to be disinfected in the home (e.g., inside a room). The first infrared sensor can detect a human body as soon as it enters the area being disinfected, and the second infrared sensor can continuously monitor whether there is always a person in the area.
[0018] At least two human infrared sensors should be installed, namely a first infrared sensor and a second infrared sensor. The number of the first infrared sensor and the second infrared sensor can be adjusted according to the number and area of the areas in the home that need to be disinfected.
[0019] Human infrared sensors are commonly used devices for human body sensing. The specifications and models of human infrared sensors can be selected according to actual monitoring needs, which will not be elaborated here.
[0020] In step 1, the ultraviolet (UV) disinfection lamp is installed inside the area of the home that needs disinfection. It is used to disinfect this area using UV light, and its operation is controlled by a switch. The specifications, model, and quantity of the UV disinfection lamp can be selected according to actual disinfection needs.
[0021] Step 2: Provide a computer controller. The computer controller monitors in real time whether anyone has entered the area being disinfected in the home through the first infrared sensor of the human infrared sensor. If yes, proceed to step 3; otherwise, return to step 1 and continue monitoring.
[0022] Specifically, the first infrared sensor of the human body infrared sensor uses infrared energy to detect human bodies and sends the detection data to the computer controller. For example, when the first infrared sensor detects the presence of a human body, it sends "1" to indicate that someone has entered the area being disinfected; when the first infrared sensor does not detect the presence of a human body, it sends "0" to indicate that no one has entered the area being disinfected, which is used for subsequent control by the computer controller.
[0023] Preferably, the computer controller can be a computer device with existing technology, and the computer hardware and software can be configured according to actual control needs, which will not be elaborated here.
[0024] Step 3: Provide a switch drive arm driven by a servo motor. The switch drive arm is installed at the switch of the ultraviolet disinfection lamp. The computer controller sends a shutdown execution command to the servo motor, so that the servo motor controls the switch drive arm to turn off the switch of the ultraviolet disinfection lamp.
[0025] A servo motor is a conventional rotary actuator in existing technology. A switch drive arm is mounted on the actuator end of the servo motor and faces the switch of the ultraviolet (UV) disinfection lamp. The rotation angle of the switch drive arm can be adjusted by the servo motor. The UV disinfection lamp switch can be a push-button switch, whereby the switch drive arm presses down on the lower part of the UV disinfection lamp switch, causing the switch to the off position to turn off the UV disinfection lamp. Similarly, the servo motor can also cause the switch drive arm to press down on the upper part of the UV disinfection lamp switch, causing the switch to the on position to turn on the UV disinfection lamp.
[0026] Step 4: The computer controller uses the second infrared sensor of the human infrared sensor to monitor in real time whether there are people continuously inside the area of the home that needs to be disinfected. If yes, proceed to step 5; otherwise, proceed to step 6.
[0027] Specifically, the second infrared sensor of the human body infrared sensor uses infrared energy to detect human bodies and sends the detection data to the computer controller. For example, when the second infrared sensor detects the presence of a human body, it sends "1" to indicate that there is a person in the area. When the second infrared sensor does not detect the presence of a human body, it sends "0" to indicate that the person has left the area.
[0028] A loudspeaker is installed inside the area of the home that needs to be disinfected. The loudspeaker is electrically connected to the second infrared sensor of the human infrared sensor. When the second infrared sensor sends detection data to the computer controller, it simultaneously sends a broadcast command to the loudspeaker, causing the loudspeaker to emit a voice reminder.
[0029] Preferably, the speaker can record reminder audio, such as "This area is being disinfected, please leave as soon as possible," to remind people who have accidentally entered or entered the disinfection area to leave the area as soon as possible, so as to ensure the effectiveness and efficiency of ultraviolet disinfection and avoid damage to the human body caused by ultraviolet radiation.
[0030] The speaker can also be replaced by a buzzer, MP3 module or other existing technology, which will not be elaborated here.
[0031] Step 5: The servo motor does not perform any action, keeping the UV disinfection lamp switch always off. Return to step 4 to achieve closed-loop control when there are people continuously in the area, until the people leave the area.
[0032] Step 6: The computer controller sends an open execution command to the servo motor, causing the servo motor control switch to drive the lever arm to turn on the ultraviolet disinfection lamp.
[0033] The computer controller is equipped with an NTP (Network Time Protocol) server. The computer controller obtains the network time and sets the disinfection start and stop times through the NTP server. When the disinfection start time is reached, the computer controller sends an start execution command to the servo motor. When the disinfection stop time is reached, the computer controller sends a stop execution command to the servo motor, realizing timed disinfection. This improves the automation and intelligence of home ultraviolet disinfection control, requires no manual intervention, has higher executability, and is easy to operate.
[0034] The computer controller is equipped with a timer. When the computer controller sends an open execution command to the servo motor, it simultaneously sends a timing command to the timer. When the computer controller sends an close execution command to the servo motor, it simultaneously sends a stop timing command to the timer. The timing duration of the timer is the cumulative disinfection time. The disinfection duration is set through an NTP server. When the disinfection close time is reached, the computer controller compares whether the cumulative disinfection time has reached the set disinfection duration. If so, the computer controller sends a close execution command to the servo motor to complete the disinfection. If not, the computer controller does not perform any action and extends the disinfection time until the cumulative disinfection time reaches the set disinfection duration. Then, the computer controller sends a close execution command to the servo motor to complete the disinfection.
[0035] When personnel enter or accidentally enter an area that is being disinfected, the ultraviolet disinfection lamps will be turned off, reducing the disinfection time and potentially lowering the disinfection effect. By setting a timer, the interrupted ultraviolet disinfection process can be compensated for by extending the ultraviolet disinfection time, thus achieving the preset disinfection time and ensuring the effectiveness of ultraviolet disinfection.
[0036] Step 7: The computer controller is equipped with a memory or provides cloud storage to record disinfection information, including disinfection start and time, disinfection stop and time, disinfection completion and other information.
[0037] Preferably, the computer controller can transmit and record information based on the existing MQTT (Message Queuing Telemetry Transport) technology to ensure the security and integrity of data transmission.
[0038] Preferably, the computer controller can remotely transmit data to the cloud storage via a WIFI communication module or a 5G communication module for cloud storage of information, reducing the need for on-site storage and other hardware.
[0039] Preferably, an ultraviolet (UV) disinfection model can be established based on existing neural network deep learning algorithms. The input of this UV disinfection model is the detection data from a human infrared sensor, and the output is the rotation angle of a servo motor. Through the establishment, testing, training, and optimization of this UV disinfection model, the accuracy of the UV disinfection lamp's on / off control is improved, thus avoiding accidental UV exposure damage to the human body and ensuring effective UV disinfection. In clustering accuracy tests, the accuracy of the four functions—Iris, Wine, Ecoli, and Yeast—all exceeded 97%; the monitoring rate of disinfection effect reached over 95%, ensuring the high accuracy of the UV disinfection model. Neural network deep learning algorithms are commonly used model optimization methods in this field, and their specific working process and principles will not be elaborated here.
[0040] The above description is merely a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the claims.
Claims
1. A method for intelligent control of household ultraviolet lamps, characterized in that, Includes the following steps: Step 1: Provide ultraviolet disinfection lamps and human infrared sensors, which are then installed in the areas of the home that require disinfection. Step 2: Provide a computer controller. The computer controller uses human infrared sensors to monitor in real time whether anyone has entered the area being disinfected in the home. If yes, proceed to step 3; otherwise, return to step 1 and continue monitoring. Step 3: Provide a switch drive arm driven by a servo motor. The switch drive arm is installed at the switch of the ultraviolet disinfection lamp. The computer controller sends a shutdown execution command to the servo motor, so that the servo motor controls the switch drive arm to turn off the switch of the ultraviolet disinfection lamp. Step 4: The computer controller uses human infrared sensors to monitor in real time whether there are people continuously inside the areas of the home that need to be disinfected. If yes, proceed to step 5; otherwise, proceed to step 6. Step 5: The servo motor does not perform any action, keeping the switch of the ultraviolet disinfection lamp always in the off state. Return to step 4 to achieve closed-loop control when there are people continuously in the area, until the people leave the area. Step 6: The computer controller sends an open execution command to the servo motor, causing the servo motor control switch to drive the lever arm to turn on the ultraviolet disinfection lamp. Step 7: The computer controller is equipped with memory or provides cloud storage to record disinfection information.
2. The intelligent control method for household ultraviolet lamps as described in claim 1, characterized in that, In step 1, the human infrared sensor includes a first infrared sensor installed at the entrance of the area in the home that needs to be disinfected and a second infrared sensor installed inside the area in the home that needs to be disinfected.
3. The intelligent control method for household ultraviolet lamps as described in claim 1, characterized in that, In step 1, the ultraviolet disinfection lamp is installed inside the area of the home that needs to be disinfected, and is used to disinfect the area of the home with ultraviolet light. The ultraviolet disinfection lamp is controlled to run and stop by a switch.
4. The intelligent control method for household ultraviolet lamps as described in claim 1, characterized in that, A loudspeaker is installed inside the area of the home that needs to be disinfected. The loudspeaker is electrically connected to the second infrared sensor of the human infrared sensor. When the second infrared sensor sends detection data to the computer controller, it simultaneously sends a broadcast command to the loudspeaker, causing the loudspeaker to emit a voice reminder.
5. The intelligent control method for household ultraviolet lamps as described in claim 1, characterized in that, The computer controller is equipped with an NTP server. The computer controller obtains the network time and sets the disinfection start time and disinfection stop time through the NTP server. When the disinfection start time is reached, the computer controller sends an start execution command to the servo motor. When the disinfection stop time is reached, the computer controller sends a stop execution command to the servo motor, thereby realizing timed disinfection.
6. The intelligent control method for household ultraviolet lamps as described in claim 5, characterized in that, The computer controller is equipped with a timer. When the computer controller sends an open execution command to the servo motor, it simultaneously sends a timing command to the timer. When the computer controller sends an close execution command to the servo motor, it simultaneously sends a stop timing command to the timer. The timing duration of the timer is the cumulative disinfection time. The disinfection duration is set through an NTP server. When the disinfection close time is reached, the computer controller compares whether the cumulative disinfection time has reached the set disinfection duration. If so, the computer controller sends a close execution command to the servo motor to complete the disinfection. If not, the computer controller does not perform any action and extends the disinfection time until the cumulative disinfection time reaches the set disinfection duration. Then, the computer controller sends a close execution command to the servo motor to complete the disinfection.
7. The intelligent control method for household ultraviolet lamps as described in claim 1, characterized in that, In step 7, the disinfection information includes disinfection start and time, disinfection stop and time, disinfection completion, and other information.
