Multipurpose LED lamp with time characteristic
Technical Field
The invention relates to the technical field of LEDs, in particular to a multipurpose LED lamp with time characteristics.
Background
An LED lamp generally emits light of only one color; there are also some LED lamps that can emit light of various colors; wherein colored light emitted by part of the LED lamps is helpful for sleeping. However, the light emitting color of these LED lamps is not related to the time period of turning on at night, for example, turning on at 11 pm and turning on at 5 am emit the same light, so that the function of sleep aid is not well performed.
Meanwhile, a user needs light with certain brightness to illuminate when reading, otherwise, reading and eyesight protection are not facilitated, investigation finds that, under most conditions, the light selected by a reader is not beneficial to reading and eyesight protection, even the wrong light is selected to read.
Accordingly, the prior art is deficient and needs improvement.
Disclosure of Invention
The invention aims to solve the technical problem of providing a multipurpose LED lamp with time characteristics aiming at the defects of the prior art.
The technical scheme of the invention is as follows:
a multipurpose LED lamp with time characteristics comprises a mode switching module, a clock timing module, a color selection module, an LED drive control module, an LED light-emitting module and an alarm prompt module, wherein the mode switching module, the clock timing module, the color selection module, the LED drive control module and the LED light-emitting module are sequentially connected;
the mode switching module has two modes of a night lamp and a desk lamp for a user to select, when in the night lamp mode, the LED light-emitting module can emit light with different colors at different time periods, and when in the desk lamp mode, the LED light-emitting module always emits white light for reading;
the clock timing module is internally provided with a timing clock, when a user selects a night light mode, the clock timing module records the starting time and checks whether the night time belongs to the night time, if the night time does not belong to the night time, the clock timing module reminds the user of improper selection through the warning prompt module and prompts the user that the night light mode is not suitable for reading, and if the night light mode needs to be read, the user asks for switching or similar prompts; if the night time belongs to the night time, reminding a user that the night light mode is not suitable for reading through the warning prompt module, if the night light mode needs to be read, switching or similar prompts, immediately sending the information of the night light starting time to the color selection module, and selecting the light emitting color through the color selection module;
when a user selects the desk lamp mode, recording the starting time, checking whether the desk lamp mode belongs to night time, and if the desk lamp mode belongs to the night time, reminding the user of improper selection through the warning prompt module to prompt the user that the current desk lamp mode is not suitable for sleeping, and if the desk lamp mode needs to be switched to sleep or similar prompts; if the user does not switch within a certain time T after the alarm, the information of the opening time of the desk lamp is immediately sent to the LED driving control module, and the LED driving control module is driven to emit white light suitable for reading.
The multipurpose LED lamp with the time characteristic is characterized in that a time period-color comparison table is arranged in a color selection module, 5 time periods are divided from 20 pm to 6 pm in the next day, 2 hours are one time period, and the color corresponding to 20 pm to 22 pm is beige, so that the beige is warm and comfortable to feel and has the hypnotic effect; the color from 22 pm to 24 pm is light green, which is quiet and relaxed, and has positive promoting effect on sleep; the color from 0 point in the morning to 2 point in the morning is light blue, and the light blue can completely relax the body of a person and make the person comfortable, and is the color most suitable for dormancy; the color from 2 point in the morning to 4 point in the morning is light gray which is closer to the outdoor sky color at the moment, and the color with gray tone is also more beneficial to sleeping; the color from 4 am to 6 am is off-white, which is quiet and close to the color of the day, and has slight sleep-aiding effect.
According to the multipurpose LED lamp with the time characteristic, the LED drive control module enables red, green and blue to be subjected to color matching according to a received light emitting color instruction Y required by the LED light emitting module by utilizing a three-primary-color principle, namely Y is C1R + C2G + C3B, R, G and B are respectively red, green and blue, C1, C2 and C3 are respectively the color matching proportions of the red, the green and the blue, and the LED light emitting module is lightened by LED drive according to the formula.
According to the multipurpose LED lamp with the time characteristic, an LED unit in an LED light emitting module is a red-green-blue three-primary-color integrated LED, and after the LED unit is instructed by an LED driving control module, the LED light emits light according to the condition that Y is defined by C1R + C2G + C3B, and the light emitting color is determined by a color selection module.
By adopting the scheme, the multifunctional LED lamp is realized through the mode switching module, the clock timing module, the color selection module and the alarm prompting module, different light suitable for sleeping or reading is emitted at different time intervals, and when the light selected by a user is not suitable for sleeping or reading, warning and prompting can be carried out to prompt the user to switch the light, so that the poor sleeping condition or poor reading effect or even the influence on eyesight caused by the use of wrong light is avoided.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a schematic diagram of time slot-color mapping according to the present invention;
Detailed Description
The present invention will be described in detail with reference to specific examples.
In order to achieve the purpose of the present invention, as shown in fig. 1, the multipurpose LED lamp with time feature of the present invention includes a mode switching module, a clock timing module, a color selection module, an LED driving control module, an LED light emitting module, and an alarm prompting module, which are connected in sequence.
Mode switching module has two kinds of modes of night-light and desk lamp to supply the user to select, and during the night-light mode, LED light emitting module can send the light of different colours at different time quantums, and during the desk lamp mode, LED light emitting module sends white light always and can supply uses such as reading.
A clock for timing is arranged in the clock timing module, when a user selects a night light mode, the starting time is recorded, whether the night time belongs to night time or not is checked, the night time is specified to be 20 pm to 6 pm the next day, if the night time does not belong to the night time, the user is reminded of improper selection through the warning prompting module, for example, a flashing LED lamp is used for prompting, or a section of text is displayed through a display screen, for example, the user is reminded of improper reading in the current night light mode, and if the user needs to read, the user is reminded of switching or similar prompting words; if the night time belongs to the night time, the user is reminded through the warning prompt module that the night light mode is not suitable for reading, if the user needs to read the switching request or similar prompt words, the night light starting time information is immediately sent to the color selection module, and the color selection module selects the light-emitting color.
When a user selects the desk lamp mode, recording the starting time, checking whether the desk lamp mode belongs to night time, and if the desk lamp mode belongs to the night time, reminding the user of improper selection through an alarm prompt module, for example, prompting through a flashing LED lamp, or displaying a segment of characters through a display screen, for example, reminding the user that the current desk lamp mode is not suitable for sleeping, and asking for switching or similar prompts if the current desk lamp mode needs sleeping; if the user does not switch within a certain time T (for example, 1-5 seconds) after the alarm, the information of the opening time of the desk lamp is immediately sent to the LED driving control module, and the LED driving module is driven to emit white light suitable for reading.
A time period-color comparison table is arranged in the color selection module, as shown in fig. 2, the time period from 20 pm to 6 pm is divided into 5 time periods, 2 hours is a time period, and the color from 20 pm to 22 pm is beige, which is warm and comfortable for people and has the function of hypnosis; the color from 22 pm to 24 pm is light green, which is quiet and relaxed, and has positive promoting effect on sleep; the color from 0 point in the morning to 2 point in the morning is light blue, and the light blue can completely relax the body of a person and make the person comfortable, and is the color most suitable for dormancy; the color from 2 point in the morning to 4 point in the morning is light gray which is closer to the outdoor sky color at the moment, and the color with gray tone is also more beneficial to sleeping; the color corresponding to the point from 4 am to 6 am is off-white, and the off-white color is quiet and close to the color of the day-light day, so that the light sleeping aid effect is achieved; the selected colored light is helpful for sleeping, the sleeping aid degrees are different for different time periods, proper sleeping aid is only needed at the beginning and the end of the night time period, the required sleeping aid degree is the highest from 0 point in the morning to 2 points in the morning in the middle of the night time period, the received night light starting time is found out in the time period-color comparison table to obtain the corresponding night light luminous color Y, and the luminous color instruction is sent to the LED drive control module.
The LED driving control module utilizes a three-primary-color principle according to a received light emitting color command Y required by the LED light emitting module to carry out color matching on red, green and blue according to an appropriate proportion, namely Y is C1R + C2G + C3B, R, G and B are respectively red, green and blue, C1, C2 and C3 are respectively the color matching proportions of red, green and blue, and the LED driving control module lights the following LED light emitting module according to the formula.
The LED unit in the LED light-emitting module is a red-green-blue three-primary-color integrated LED, and emits light according to Y of C1R + C2G + C3B after receiving the instruction of the LED driving control module, wherein the light-emitting color is determined by the color selection module.
It will be understood that modifications and variations can be made by persons skilled in the art in light of the above teachings and all such modifications and variations are intended to be included within the scope of the invention as defined in the appended claims.