Disclosure of Invention
The invention mainly aims to provide a household light environment and color temperature intelligent control method, a system and a storage medium, which are used for solving the problems that a light control mode in the prior art cannot meet the requirements of people on adjusting light brightness and color temperature according to outdoor weather light conditions and indoor real-time light conditions and heat feeling conditions of a human body.
In order to achieve the above purpose, the present invention provides a method for intelligently controlling a home light environment and a color temperature, comprising the steps of:
s1, responding to a target light control request, and acquiring real-time light illumination L of an indoor target space at the kth moment rm k Actual light brightness L lm k ;
S2, the real-time lamplight illumination L rm k Inputting the real-time lamplight illuminance L into a preset lamplight brightness regulation model rm k Corresponding brightness adjustment step length to adjust the actual light brightness L lm k Adjusting to a preliminary expected value; the lamplight brightness regulation model comprises a mapping relation between real-time lamplight illuminance and brightness regulation step length;
s3, acquiring the real-time light color temperature S of the indoor target space at the (k+1) th moment KT k+1 Real-time air dry bulb temperature T air k+1 Real-time relative humidity RH air k+1 ;
S4, according to the real-time air dry bulb temperature T air k+1 Real-time air relative humidity RH air k+1 Acquiring a temperature difference value E of the actual body temperature and the target body temperature at the k+1 time;
s5, inputting the temperature difference value E into a preset illuminance color temperature coupling regulation model to obtain a color temperature regulation step length and a coupling brightness regulation step length corresponding to the temperature difference value E so as to ensure that the real-time lamplight color temperature S of the indoor target space KT k +1 Actual light intensity L lm k+1 Adjusting to a target expected value; the illuminance and color temperature coupling regulation model comprises a mapping relation among real-time lamplight color temperature, actual lamplight brightness and color temperature regulation step length;
s6, waiting for a preset time period, and repeating the steps S1-S5 to maintain the indoor target space in a lamplight intelligent control mode.
Preferably, the "light brightness control model" in step S2 is specifically:
wherein S is L k Representing a preliminary expected value corresponding to the actual light brightness at the kth moment, and On represents turning On the light; 1+10% and 1+20% respectively represent that the brightness of the lamp light in the on state is lightened by 10% and 20%;1-10%,1-20% means dimming the light brightness in the on state by 10%,20%; l (L) rm,st Representing an illuminance standard corresponding to national standard requirements of an indoor target space; l (L) rm k The illuminance measured by the indoor target space illuminance sensor corresponding to the kth moment is represented; l (L) lm k The kth moment corresponds to the actual brightness of the indoor target space light.
Preferably, the "light brightness control model" in step S2 is specifically:
wherein S is L k Representing a preliminary expected value corresponding to the actual light brightness at the kth moment, and On represents turning On the light; 1+10% and 1+20% respectively represent that the brightness of the lamp light in the on state is lightened by 10% and 20%;1-10%,1-20% means dimming the light brightness in the on state by 10%,20%; l (L) rm,st Representing an illuminance standard corresponding to national standard requirements of an indoor target space; l (L) rm k The illuminance measured by the indoor target space illuminance sensor corresponding to the kth moment is represented; l (L) lm k The kth moment corresponds to the actual brightness of the indoor target space light.
Preferably, the "temperature difference E" in the step S4 is specifically obtained by the following formula:
wherein E represents the difference between the actual body temperature at time k+1 and the target comfort body temperature value, T air k+1 Represents the measured air dry bulb temperature, RH in the indoor target space at the k+1 time air k+1 Indicating the measured relative humidity of the air in the indoor target space at time k+1.
Preferably, the method comprises the steps of,
wherein S is KT k+1 Indicating a target expected value corresponding to the color temperature of the real-time lamplight at the k+1 moment, L rm k+1 Represents the illuminance measured by the illuminance sensor corresponding to the indoor target space at the (k+1) th moment, L lm k+1 Representing the actual brightness of the light corresponding to the indoor target space at the k+1 time, L lm,max Representing the maximum brightness of the light corresponding to the indoor target space.
Preferably, the time interval between the k+2 time and the k+1 time and the time interval between the k+1 time and the k time are set to 10 minutes.
The invention also provides a household light environment and color temperature intelligent control system, which comprises an illuminance sensor, a temperature and humidity sensor and a control device which are arranged in the indoor target space, wherein the illuminance sensor is used for detecting the real-time lamplight illuminance of the indoor target space, and the temperature and humidity sensor is used for detecting the real-time air dry bulb temperature and the real-time air relative humidity of the indoor target space; the illuminance sensor and the temperature and humidity sensor are both connected with the control device, the control device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and the steps of the household light environment and color temperature intelligent control method are realized when the processor executes the computer program.
The invention also provides a storage medium storing a computer program, which is characterized in that the computer program, when executed by a processor, realizes the steps of the household light environment and color temperature intelligent control method.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a method, a system and a storage medium for intelligently controlling a household light environment and a color temperature, which are used for acquiring real-time light illuminance L of an indoor target space at a kth moment rm k Actual light brightness L lm k Inputting the real-time lamplight illuminance L into a preset lamplight brightness regulation model rm k Corresponding brightness adjustment step length, and acquiring real-time lamplight color temperature S of indoor target space at k+1th moment KT k+1 Real-time air dry bulb temperature T air k+1 Real-time relative humidity RH air k+1 According to the real-time air dry bulb temperature T air k+1 Real-time air relative humidity RH air k+1 And obtaining a temperature difference value E of the actual body temperature at the k+1th moment and the target body temperature, inputting the temperature difference value E into a preset illuminance color temperature coupling regulation model, obtaining a color temperature regulation step length and a coupling brightness regulation step length corresponding to the temperature difference value E, waiting for a preset duration, and repeating the steps S1-S5 to maintain the indoor target space in a lamplight intelligent control mode.
Through the technical scheme, the beneficial effects of the invention are mainly shown in
(1) The invention considers the indoor real-time light condition of the related space to control the light, and the indoor illuminance sensor and the indoor light form a closed-loop automatic regulation control, thus avoiding the influence of the shielding of doors and windows or curtains on the illumination effect of the indoor actual light.
(2) The invention creatively considers the human body heat sensation in the corresponding space, and performs coupling control of the body sensation temperature and the color temperature heat sensation difference aiming at the color temperature of the lamplight. The temperature can be adjusted in the air conditioning season, so that the user is prevented from starting the cold and hot air conditioner or excessively setting the cold and hot target temperature, and the air conditioner is indirectly assisted to save energy.
(3) The invention quantifies the thermal sensation control based on the light color temperature, creatively introduces a human body temperature sensing formula to quantify and smoothly transits the control.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that all directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are merely used to explain the relative positional relationship, movement, etc. between the components in a particular posture (as shown in the drawings), and if the particular posture is changed, the directional indicator is changed accordingly.
Furthermore, the description of "first," "second," etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
Referring to fig. 1, the invention provides a method for intelligently controlling a household light environment and a color temperature, which comprises the following steps:
s1, responding to a target light control request, and acquiring real-time light illumination L of an indoor target space at the kth moment rm k Actual light brightness L lm k The method comprises the steps of carrying out a first treatment on the surface of the The target light request may be a trigger instruction that a user may select a "light intelligent control" mode from a contextual model (such as a guest mode, a leisure mode, etc.) through an intelligent home APP or an intelligent central control screen, thereby entering a real-time dynamic automatic light environment control scene, or may be another form of trigger instruction capable of triggering the real-time light illuminance L at the kth moment rm k Actual light brightness L lm k Is a command of (a). Real-time illuminance L of light at kth time can be obtained by a sensor arranged in indoor target space rm k Actual light brightness L lm k The method comprises the steps of carrying out a first treatment on the surface of the For example, the real-time light illuminance may be obtained by an illuminance sensor, and the actual light brightness may be obtained by a brightness sensor. The indoor target space is a space provided with lamplight and capable of detecting the illuminance of the lamplight in real time and the brightness of the actual lamplight.
S2, the real-time lamplight illumination L rm k Inputting the real-time lamplight illuminance L into a preset lamplight brightness regulation model rm k Corresponding brightness adjustment step length to adjust the actual light brightness L lm k Adjusting to a preliminary expected value; the lamplight brightness regulation model comprises a mapping relation between real-time lamplight illuminance and brightness regulation step length; it is worth noting by those skilled in the artUnlike the conventional case of considering only outdoor light, the present application considers the control of real-time light in the indoor target space by controlling the illuminance L of the real-time light rm k Inputting the real-time lamplight illuminance L into a preset lamplight brightness regulation model rm k The corresponding brightness adjusting step length is adjusted according to the corresponding adjusting step length (the specific proportion or the specific quantity can be adopted) so as to adjust the actual light brightness L lm k And adjusting to a preliminary expected value. Wherein, the light brightness control model comprises the corresponding relation between the real-time light illuminance and the brightness adjustment step length, and can be used for knowing the real-time light illuminance L rm k In this case, a corresponding brightness adjustment step is obtained, and in a preferred embodiment, preferably, the "light brightness adjustment model" in step S2 is specifically:
wherein S is L k Representing a preliminary expected value corresponding to the actual light brightness at the kth moment, and On represents turning On the light; 1+10% and 1+20% respectively represent that the brightness of the lamp light in the on state is lightened by 10% and 20%;1-10%,1-20% means dimming the light brightness in the on state by 10%,20%; l (L) rm,st Representing an illuminance standard corresponding to national standard requirements of an indoor target space; l (L) rm k The illuminance measured by the indoor target space illuminance sensor corresponding to the kth moment is represented; l (L) lm k The kth moment corresponds to the actual brightness of the indoor target space light.
The analysis of the above-mentioned light intensity control model will be further described with reference to a preferred example, specifically, 1) when the measured illuminance in the space is lower than 80% of the relevant standard set value, turning on the light if the light is not turned on, and then turning up again
If the light is turned on, the brightness is increased based on the original brightness20, i.e
2) When the actually measured illuminance in the space is more than or equal to 80% of the relevant standard set value and less than 100% of the standard set value, starting the light if the light is not started, and then heightening ++>
If the light is turned on, the brightness is increased by 10% based on the original brightness, namely +.>
3) When the actually measured illuminance in the space is greater than 100% of the relevant standard set value and less than or equal to 120% of the standard set value, if the lamplight is not started, and if the lamplight is started, the illuminance is reduced by 10% on the basis of the original brightness; 4) When the actually measured illuminance in the space is greater than 120% of the relevant standard set value, the lamplight is not started if the lamplight is not started, and the lamplight is reduced by 20% on the basis of the original brightness if the lamplight is started.
The control strategy can effectively avoid the influence on the illumination effect of the indoor actual lamplight when the door window or the curtain is shielded, and can realize the automatic closed-loop regulation control of the indoor lamplight.
S3, acquiring the real-time light color temperature S of the indoor target space at the (k+1) th moment KT k+1 Real-time air dry bulb temperature T air k+1 Real-time relative humidity RH air k+1 ;
It will be appreciated by those skilled in the art that the relationship of color temperature to illuminance tends to correlate with the human visual perception due to the coupling relationship of color temperature to illuminance. Generally, a high color temperature is matched with a higher illumination, and a low color temperature is matched with a lower illumination, so that the light generated by the lamp can feel comfortable. The combination of high color temperature and high illumination makes people feel bright and clear, and the low color temperature and low illumination makes people feel warm and comfortable. However, if the high color temperature is matched with the low illumination, the feeling of coldness can be generated, and the low color temperature and the high illumination can be goodThe mood is dysphoric, and the feeling of stuffy and other uncomfortable feelings are felt. Based on the real-time lamplight color temperature S of the indoor target space at the k+1 time, the real-time lamplight color temperature S of the indoor target space at the k+1 time is acquired at the k+1 time KT k+1 Real-time air dry bulb temperature T air k+1 Real-time relative humidity RH air k+1 And analyzing the temperature and the humidity of the indoor target space. The time interval between the k+1th time and the k time may be set to 10 minutes in a specific embodiment, as one skilled in the art may depend on actual needs.
S4, according to the real-time air dry bulb temperature T air k+1 Real-time air relative humidity RH air k+1 Acquiring a temperature difference value E of the actual body temperature and the target body temperature at the k+1 time; it should be noted that, in order to meet the demands of people on human vision, heat sensation and energy saving of air conditioner (the heat load of air conditioner can be reduced to realize energy saving due to the fact that the heat sensation is hotter or colder due to the color temperature), the present application is based on the real-time air dry bulb temperature T air k+1 Real-time air relative humidity RH air k+1 And acquiring a temperature difference value E of the actual body temperature at the k+1st moment and the target body temperature so as to correlate the indoor temperature and humidity with the thermal sensation of a human body, and then adjusting the color temperature to a proper range in a targeted way through the range of the temperature difference value E.
In a preferred embodiment, the "temperature difference E" in the step S4 is specifically obtained by the following formula:
wherein E represents the difference between the actual body temperature at time k+1 and the target comfort body temperature value, T air k+1 Represents the measured air dry bulb temperature, RH in the indoor target space at the k+1 time air k+1 Indicating the measured relative humidity of the air in the indoor target space at time k+1.
S5, rootInputting the temperature difference value E into a preset illuminance color temperature coupling regulation model to obtain a color temperature regulation step length and a coupling brightness regulation step length corresponding to the temperature difference value E so as to regulate the real-time lamplight color temperature S of the indoor target space KT k +1 Actual light intensity L lm k+1 Adjusting to a target expected value; the illuminance and color temperature coupling regulation model comprises a mapping relation among real-time lamplight color temperature, actual lamplight brightness and color temperature regulation step length;
it should be noted that, the present application not only considers the adjustment of the light brightness through illuminance, but also realizes the coupling control of the somatosensory temperature and the color temperature sensory difference according to the human heat sensation, and can adjust the color temperature of the light, so as to avoid the user to start the cold and hot air conditioner or the user to excessively set the cold and hot target temperature in the air conditioning season, thereby realizing indirect auxiliary air conditioner energy saving, specifically, the color temperature adjusting step length and the coupling brightness adjusting step length corresponding to the temperature difference value E are obtained by inputting the temperature difference value E into the preset illuminance color temperature coupling adjusting model, so as to obtain the real-time light color temperature S of the indoor target space KT k+1 Actual light intensity L lm k+1 And adjusting the light brightness regulation model to a target expected value, wherein the light brightness regulation model comprises a corresponding relation between real-time light illuminance and a brightness regulation step length, the corresponding color temperature regulation step length and coupling brightness regulation step length (the ratio can be a scale or a quantity, and the quantity is preferred in the embodiment) can be obtained under the condition of knowing a temperature difference E, and in a preferred embodiment,
wherein S is KT k+1 Indicating a target expected value corresponding to the color temperature of the real-time lamplight at the k+1 moment, L rm k+1 Represents the illuminance measured by the illuminance sensor corresponding to the indoor target space at the (k+1) th moment, L lm k+1 Indicating the actual brightness of the lamp light corresponding to the indoor target space at the k+1 time,L lm,max representing the maximum brightness of the light corresponding to the indoor target space.
Therefore, in the control logic of the color temperature, on the premise of meeting the requirement of the illumination standard, the control logic considers the heat sensation based on the human body temperature and the collocation relation of the illumination and the color temperature at the same time, and the following description will be made with a specific embodiment, 1) when the difference between the actual body temperature and the target body temperature is less than-0.625 at the k+1st moment, if the light is started, the color temperature of the light is adjusted to 3000K warmest color, and meanwhile, the light brightness is adjusted according to the indoor illumination condition, as shown by the 1 st sub-term in the formula; 2) When the difference between the actual body temperature and the target body temperature is more than or equal to-0.625 and less than 0, if the light is started, the color temperature of the light is regulated to be higher
![Figure BDA0004152372470000092](https://patentimages.storage.googleapis.com/d9/36/9a/3090de3887eddf/BDA0004152372470000092.png)
At the same time adjust the light brightness to
3) When the actual body sensing temperature and the target body sensing temperature are more than or equal to 0 and less than or equal to 0.625, if the lamplight is started, the color temperature of the lamplight is reduced to +.>
At the same time, the brightness of the lamp light is adjusted to be +.>
4) When the difference between the actual body temperature and the target body temperature is larger than 0.625, if the lamplight is started, the color temperature of the lamplight is adjusted to 6000K coldest color, and meanwhile, the brightness of the lamplight is directly adjusted to the maximum value.
S6, waiting for a preset time period, and repeating the steps S1-S5 to maintain the indoor target space in a lamplight intelligent control mode. That is, the above-described detection and adjustment steps may be repeated at preset time intervals in consideration of the change of the surrounding environment, so that the light environment and the color temperature of the indoor target space are maintained within desired ranges, i.e., maintained in the "light intelligent control" mode.
Note that: registering GB50034-2013 according to the building illumination design, and registering the residential building illumination standard value: 1. the illuminance required for general living/living room activities is: 100lx, the illuminance required for writing and reading is: 300lx. 2. The illumination requirements of the bedroom general activities are as follows: 75lx, head of bed, when reading need illuminance be: 150lx. 3. The general activities of the kitchen require illuminance: 100lx, the operating table needs illuminance: 150lx. 4. The illumination requirements of the bathroom are as follows: 100lx. 5. The ground demand illuminance of the pavement and the stairway is: 50lx.
Preferably, the time interval between the k+2 time and the k+1 time and the time interval between the k+1 time and the k time are set to 10 minutes. It will be appreciated that in other embodiments, the time interval may be set to other values as desired by those skilled in the art.
The invention also provides a household light environment and color temperature intelligent control system, which comprises an illuminance sensor, a temperature and humidity sensor and a control device which are arranged in the indoor target space, wherein the illuminance sensor is used for detecting the real-time lamplight illuminance of the indoor target space, and the temperature and humidity sensor is used for detecting the real-time air dry bulb temperature and the real-time air relative humidity of the indoor target space; the illuminance sensor and the temperature and humidity sensor are both connected with the control device, the control device comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, and the steps of the household light environment and color temperature intelligent control method are realized when the processor executes the computer program.
The invention also provides a storage medium storing a computer program, which is characterized in that the computer program, when executed by a processor, realizes the steps of the household light environment and color temperature intelligent control method.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.