Intelligent lamp regulation and control method based on indoor and outdoor temperature analysis
Technical Field
The invention relates to the technical field of intelligent lamp regulation and control methods, in particular to an intelligent lamp regulation and control method based on indoor and outdoor temperature analysis.
Background
With the progress and development of science and technology, in recent years, intelligent electric light source products come out endlessly, but most of lamp products are controlled in a remote control mode basically through an application program in a mobile phone, or in a close range control mode through sound, or in a manual control mode through a remote controller, and the like; the control modes of the lamp product are combined with functions in the lamp production process, for example, the display brightness of the lamp is divided into several grades, the display color of the lamp is divided into several types, and the like, and a user can only perform passive selection according to the brightness grade and the color type when adjusting, so that the existing lamp product cannot automatically adjust the display effect of the lamp by combining with actual environmental parameters, and cannot create a high-quality and appropriate life and working scene atmosphere for the user.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides an intelligent lamp regulation and control method based on indoor and outdoor temperature analysis.
The invention provides an intelligent lamp regulation and control method based on indoor and outdoor temperature analysis, which comprises the following steps:
s1, collecting outdoor temperature T0And indoor temperatureDegree T;
s2, pair T0And T analyzing and adjusting the color displayed by the lamp according to the analysis result.
Preferably, step S2 specifically includes:
the system is stored with a first outdoor temperature T01A second outdoor temperature T02First indoor temperature T1Second indoor temperature T2;
When T is0≤T01Then, the adjusting lamp displays the first color and at t1Analyzing the indoor temperature T after the time, and if T is not enough1≤T≤T2Adjusting the lamp to select the first operating power P1If T is>T2Adjusting the lamp to select the second operating power P2;
When T is01<T0<T02Then the adjusting lamp displays the second color, and at t2Analyzing the indoor temperature T after the time, if T is less than or equal to T (T)1+T2) Adjusting lamp selection third operating power P3If T is>(T1+T2) /2, adjusting the lamp to select the fourth operating power P4;
When T is0≥T02Then, the adjusting lamp displays a third color, and at t3Analyzing the indoor temperature T after the time, and if T is less than or equal to T2Adjusting the lamp to select the fifth operating power P5If T is>T2Adjusting the lamp to select the sixth operating power P6;
Preferably, P2<P1,P4<P3,P5<P6,t1、t2、t3Are all preset values.
Preferably, step S2 specifically includes:
adjusting the color displayed by the lamp by using the RGB display module;
preferably, the RGB display module includes a red light emitting sub-module, a green light emitting sub-module, and a blue light emitting sub-module.
Preferably, step S1 specifically includes:
using a plurality of first acquisition modules to acquireOutdoor temperature T0Each first acquisition module comprises a plurality of temperature sensors;
preferably, the temperature sensor is an infrared temperature sensor.
Preferably, step S1 specifically includes:
acquiring indoor temperature T by utilizing a plurality of second acquisition modules, wherein each second acquisition module comprises a plurality of temperature sensors;
preferably, the temperature sensor is an infrared temperature sensor.
The display color of the lamp is adjusted according to the actual range of the outdoor temperature, so that the color of the lamp is suitable for the change of the outdoor temperature, the requirements and satisfaction of users on the external environment temperature and the indoor environment are improved by changing the color displayed by the lamp, and the environmental health is improved on the basis of meeting the environmental requirements of the users; meanwhile, the working power of the lamp is adjusted according to the actual indoor temperature, so that the grading adjustment of the brightness of the displayed colors of the indoor lamp is facilitated, and the energy is saved. Furthermore, the invention formulates a lamp color display scheme and a lamp working power scheme by analyzing the range interval of the outdoor temperature and the indoor temperature, improves the pertinence and the effectiveness of color selection and power selection, realizes fine adjustment according to the change of the indoor and outdoor temperature by grading selection of the lamp display color and the lamp working power, improves the requirements of users on the lighting environment, improves the health of the lighting environment and simultaneously promotes the intelligent development of lamp products.
Drawings
Fig. 1 is a schematic diagram illustrating steps of an intelligent lamp control method based on indoor and outdoor temperature analysis.
Detailed Description
As shown in fig. 1, fig. 1 is a method for regulating and controlling an intelligent lamp based on indoor and outdoor temperature analysis according to the present invention.
Referring to fig. 1, the intelligent lamp regulation and control method based on indoor and outdoor temperature analysis provided by the invention comprises the following steps:
s1, collecting outdoor temperature T0And an indoor temperature T;
in this embodiment, step S1 specifically includes:
outdoor temperature T is collected by utilizing a plurality of first collecting modules0Each first acquisition module comprises a plurality of temperature sensors; preferably, the temperature sensor is an infrared temperature sensor. The outdoor temperature can be collected from different positions and different angles by utilizing the plurality of first collecting modules, so that the accuracy of collecting the outdoor temperature is improved; the adoption of a plurality of temperature sensors can further improve the accuracy of each first acquisition module in outdoor temperature acquisition.
Acquiring indoor temperature T by utilizing a plurality of second acquisition modules, wherein each second acquisition module comprises a plurality of temperature sensors; preferably, the temperature sensor is an infrared temperature sensor. Similarly, the plurality of second acquisition modules can acquire the indoor temperature from different positions and different angles, so that the accuracy of acquiring the indoor temperature is improved; the adoption of a plurality of temperature sensors can further improve the accuracy of indoor temperature acquisition of each second acquisition module.
S2, pair T0And T analyzing and adjusting the color displayed by the lamp according to the analysis result.
Step S2 specifically includes:
the system is stored with a first outdoor temperature T01A second outdoor temperature T02First indoor temperature T1Second indoor temperature T2;
When T is0≤T01When the temperature is lower, the adjusting lamp displays a first color, the first color is a warm tone color, the user can feel warm under the condition of lower temperature, and the experience and comfort of the user entering the room are improved; and at t1Analyzing the indoor temperature T after the time, analyzing the indoor temperature again on the premise that the user adapts to the indoor light environment, and improving the matching degree of the light environment and the user requirement by adjusting the working power of the lamp if T is detected1≤T≤T2Indicate that the indoor temperature is proper at this timeWithin a preferred range, wherein the lamp is regulated to select a first operating power P1If T is>T2If the indoor temperature is higher, the darker warm-tone light can be selected, and the second working power P is selected by the adjusting lamp2(ii) a Wherein, P2<P1When the temperature is higher, the lower working power is selected, so that the brightness degree of the first color can be reduced, and the electric energy can be saved;
when T is01<T0<T02When the temperature is moderate, the adjusting lamp displays a second color, the second color can be selected from neutral colors, and the color between the cool tone light and the warm tone light can improve the experience comfort of the user to the color, and avoid the discomfort of the user when the warm tone light or the cool tone light is selected under the condition that the external temperature environment is proper; and at t2Analyzing the indoor temperature T after the time, if T is less than or equal to T (T)1+T2) And/2, indicating that the indoor temperature environment is low at the moment, and adjusting the lamp to select the third working power P at the moment3If T is>(T1+T2) 2, indicating a high room temperature, the lamp is adjusted to select the fourth operating power P4(ii) a Wherein, P4<P3The light brightness degree can be improved by selecting higher power at lower temperature, and the energy waste can be effectively avoided on the basis of reducing the light brightness degree by selecting lower power at higher temperature;
when T is0≥T02The adjusting lamp displays a third color, the third color is a cool tone color, the user experience can be improved by selecting the light with the cool tone color when the external temperature is high, and a fresh and comfortable light environment is created for the user; and at t3Analyzing the indoor temperature T after the time, and if T is less than or equal to T2Indicating that the indoor temperature environment is low at this time, and the adjusting lamp selects the fifth working power P at this time5If T is>T2If the actual indoor temperature is higher, the adjusting lamp selects the sixth working power P6(ii) a Wherein, P5<P6IndoorsWhen the temperature is lower, the lower light brightness is selected, the coolness brought by cold tone light is reduced, and when the indoor temperature is higher, the discomfort brought by high temperature can be relieved by selecting the higher light brightness;
preferably, t is1、t2、t3Are all preset values, and t1、t2、t3The actual value of (a) is set according to the actual application scenario.
In this embodiment, step S2 specifically includes:
adjusting the color displayed by the lamp by using the RGB display module; preferably, the RGB display module includes a red light-emitting sub-module, a green light-emitting sub-module, and a blue light-emitting sub-module, and different colors can be displayed by different color scheduling of the three primary color light-emitting sub-modules, so that the comprehensiveness and accuracy of color display are improved.
The display color of the lamp is adjusted according to the actual range of the outdoor temperature, so that the color of the lamp is suitable for the change of the outdoor temperature, the requirements and satisfaction of users on the external environment temperature and the indoor environment are improved by changing the color displayed by the lamp, and the environmental health is improved on the basis of meeting the requirements of the users on the environment; simultaneously, this embodiment still adjusts the operating power of lamp according to indoor actual temperature, not only is favorable to the pertinence to the light and shade degree of indoor light show colour carry out hierarchical regulation, is favorable to the energy saving moreover. Furthermore, the invention formulates a lamp color display scheme and a lamp working power scheme by analyzing the range interval of the outdoor temperature and the indoor temperature, improves the pertinence and the effectiveness of color selection and power selection, realizes fine adjustment according to the change of the indoor and outdoor temperature by grading selection of the lamp display color and the lamp working power, improves the requirements of users on the lighting environment, improves the health of the lighting environment and simultaneously promotes the intelligent development of lamp products.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention should be equivalent or changed within the scope of the present invention.