Colour temperature Automatic adjustment method, device and lamp mirror
Technical field
The present invention relates to technical field of intelligent equipment more particularly to a kind of colour temperature Automatic adjustment methods, device and lamp mirror.
Background technique
In existing mirror product, mirror local environment than it is darker in the case where, by behind mirror increase lamp come
Shine with increase imaging brightness, still, due to the brightness of environment be it is continually changing, installed after mirror in this way, will lead to
Lamp brightness it is excessive or too small all bad, install the lesser lamp of brightness, in this way environment than it is darker in the case where seriously affect
User experience installs the biggish lamp of brightness in addition to making mirror that bright lead be imaged due to the brighter situation of naturally light itself
Outside the poor user experience of cause, the waste of electric energy is also resulted in.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of colour temperature Automatic adjustment method, device and lamp mirror are provided, it can be with environmental information
The brightness and colour temperature for automatically adjusting illuminator, to improve the intelligence degree of product.
To achieve the above object, the embodiment of the invention provides a kind of colour temperature self-checking devices, including the first illuminator
Group, the second illuminator group, the first control module, the second control module, MCU (Microcontroller Unit, microcontroller list
Member), luminance sensor and RGB (Red, Green, Blue, three color of red, green, blue, rgb color mode) sensor;Described first
Illuminator group has different colour temperatures from the second illuminator group;
The luminance sensor is for common environmental where obtaining the first illuminator group and the second illuminator group
Brightness, and the luminance information that will acquire is sent to the MCU;The RGB sensor is for obtaining the first illuminator group
With the colour temperature of common environmental where the second illuminator group, and the color temperature information that will acquire is sent to the MCU;
The MCU is used for according to the luminance information and the color temperature information through first control module to described the
One illuminator group carries out brightness and color temperature adjustment, and bright to the second illuminator group progress by second control module
Degree and color temperature adjustment.
Compared with prior art, colour temperature self-checking device disclosed by the invention passes through luminance sensor and RGB sensor
The luminance information and color temperature information of common environmental where obtaining the first illuminator group and the second illuminator group, MCU is according to upper
The luminance information and color temperature information stated pass through the first control module and carry out brightness regulation to the first illuminator group and by second
Control module carries out the technical solution of brightness and colour temperature automatic adjustment to the second illuminator group, and solving in the prior art cannot be with
Environmental information automatically adjusts the problem of illuminator brightness and colour temperature, and obtaining, which may be implemented, automatically adjusts illuminator with environmental information
Brightness and colour temperature beneficial effect.
Preferably, the color temperature information includes color temperature value, and the luminance information includes brightness value;
The MCU is used to execute the first operation when the color temperature value is less than the first preset value, is greater than in the color temperature value
The second operation is executed when the second preset value, and when the color temperature value is not less than the first preset value and is not more than the second preset value
Execute third operation;Second preset value is greater than the first preset value;
Wherein, first operation are as follows: the first illuminator group is arranged by first control module by the MCU
For open state and according to the brightness value by first control module by the present intensity tune of the first illuminator group
It saves to object brightness, and off state is set for second illuminator by second control module;
Second operation are as follows: the second illuminator group is set on by the MCU by second control module
It opens state and is adjusted to the present intensity of the second illuminator group by second control module according to the brightness value
Object brightness, and off state is set for the first illuminator group by first control module;
The third operation are as follows: the first illuminator group is set on by the MCU by first control module
State is opened, the second illuminator group is set on by state by second control module, and according to the brightness value
Respectively by first control module, second control module by the first illuminator group and the second illuminator group
Current mixed brightness be adjusted to object brightness.
Preferably, the colour temperature self-checking device further includes contact control module, and the contact control module is for connecing
The touch operation information comprising brightness value and color temperature value of user's input is received, and described in the touch operation information is sent to
MCU;
The MCU is also used to pass through the first control mould according to the brightness value and color temperature value for including in the touch operation information
Block carries out brightness and color temperature adjustment to the first illuminator group, and is shone by second control module to described second
Body group carries out brightness and color temperature adjustment.
Preferably, the colour temperature self-checking device further includes memory module, and the memory module is stored with brightness value-screen
Brightness value corresponds to table, and the MCU is used to correspond to table according to the brightness value lookup brightness value-screen brightness value described to obtain
The corresponding screen brightness value of brightness value, and according to the screen brightness value by the first illuminator group and/or second illuminator
Group is adjusted to object brightness, and the object brightness is the corresponding brightness of the screen brightness value.
Preferably, the first illuminator group includes LED (the Light Emitting of at least one hair warm white
Diode, light emitting diode) lamp, the second illuminator group includes the LED light of at least one white light that feels cold.
The embodiment of the invention also provides a kind of colour temperature Automatic adjustment methods, the described method comprises the following steps:
The luminance information and color temperature information of common environmental where obtaining the first illuminator group and the second illuminator group;Wherein,
The first illuminator group has different colour temperatures from the second illuminator group;
According to the luminance information and the color temperature information got, first hair is adjusted by the first control module
The brightness and colour temperature of body of light group, and adjust by the second control module the brightness and colour temperature of the second illuminator group.
Colour temperature Automatic adjustment method provided in an embodiment of the present invention, by obtaining the first illuminator group and the second illuminator group
The color temperature information and luminance information of place common environmental, and according to color temperature information and luminance information by the first control module to the
The brightness of one illuminator group and colour temperature automatically adjusts and color temperature adjustment, and by the second control module to the second illuminator
The brightness and colour temperature of group automatically adjust, to realize the beneficial effect with environmental information automatic adjustment illuminator brightness and colour temperature
Fruit.
Preferably, the color temperature information includes color temperature value, and the luminance information includes brightness value;
First illuminator is adjusted by the first control module according to the luminance information and color temperature information got in MCU
The brightness of group and the information of colour temperature, and adjust by second control module brightness and colour temperature of the second illuminator group
The step of in, further includes:
The MCU executes the first operation when the color temperature value is less than the first preset value, is greater than second in the color temperature value
The second operation is executed when preset value, and is executed when the color temperature value is not less than the first preset value and is not more than the second preset value
Third operation;Second preset value is greater than first preset value;
Wherein, first operation are as follows: the first illuminator group is set on by the MCU by the first control module
It opens state and the present intensity of the first illuminator group is adjusted to by the first control module by target according to the brightness value
Brightness, and off state is set for second illuminator by the second control module;
Second operation are as follows: the second illuminator group is set on by the MCU by second control module
It opens state and is adjusted to the present intensity of the second illuminator group by second control module according to the brightness value
Object brightness, and off state is set for the first illuminator group by first control module;
The third operation are as follows: the first illuminator group is set on by the MCU by first control module
State is opened, the second illuminator group is set on by state by second control module, and according to the brightness value
Respectively by first control module, second control module by the first illuminator group and the second illuminator group
Current mixed brightness be adjusted to object brightness.
The embodiment of the invention also provides a kind of lamp mirrors, including mirror body and the colour temperature self-checking device;The mirror
Body is equipped with transmission region, and the first illuminator group and the second illuminator group be oppositely arranged with the transmission region, and described the
The direction of illumination of the illuminator of one illuminator group and the second illuminator group is towards the transmission region.
Lamp mirror provided in an embodiment of the present invention, by setting transmission region for the first illuminator group and the second illuminator group
Light source, common environmental information where colour temperature self-checking device real-time perception lamp mirror, and automatically adjusted and sent out according to environmental information
Body of light brightness and colour temperature, to realize the beneficial effect to automatically adjust to the brightness of the mirror sections of the mirror body of lamp mirror and colour temperature
Fruit.
Preferably, the mirror body is equipped with touch screen, and the touch screen and the mirror surface of the mirror body are integrally formed;It is described
Touch screen is used to obtain the touch operation of user, and the touch operation information that will acquire is sent to contact control module.
Preferably, the lamp mirror further includes shell, FPC (Flexible Printed Circuit, flexible printed circuit)
Plate and light guide plate, the shell are fixedly installed in the mirror body and coat the transmission region, the first illuminator group with
The second illuminator group is all set on the FPC plate, the light guide plate be set to the FPC plate and the transmission region it
Between.
Preferably, the first illuminator group includes the LED light of at least one hair warm white, the second illuminator group packet
Include the LED light of at least one white light that feels cold;The LED light of the hair warm white and the LED light of the white light that feels cold, which are intersected, uniformly to be set
It is placed on the FPC plate.
Preferably, the lamp mirror further includes diffuser plate and EVA (Ethylene-vinyl Acetate Copolymer, second
Alkene-acetate ethylene copolymer) foam, the diffuser plate is set between the transmission region and the light guide plate, the EVA bubble
Cotton is set to the inner sidewall of the shell;It is also coated with specular reflective material in the mirror body, is coated with the specular reflective material
Region be located at mirror body the setting shell one side.
Detailed description of the invention
Fig. 1 is a kind of structural schematic diagram of colour temperature self-checking device in the embodiment of the present invention 1.
Fig. 2 is a kind of structural schematic diagram of colour temperature self-checking device in the embodiment of the present invention 3.
Fig. 3 is the electrical block diagram of the first control module and the second control module in the embodiment of the present invention 3.
Fig. 4 is a kind of structural schematic diagram of colour temperature self-checking device in the embodiment of the present invention 4.
Fig. 5 is a kind of flow chart of colour temperature Automatic adjustment method in the embodiment of the present invention 5.
Fig. 6 is a kind of structural schematic diagram of lamp mirror in the embodiment of the present invention 6.
Fig. 7 is another structural schematic diagram of lamp mirror in the embodiment of the present invention 6.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment 1
It is a kind of structural schematic diagram for colour temperature self-checking device that the embodiment of the present invention 1 provides referring to Fig. 1.
The colour temperature self-checking device 1 include the first illuminator group 10, the second illuminator group 11, the first control module 12,
Second control module 13, MCU14, luminance sensor 15 and RGB sensor 16, the first illuminator group 10 and second hair
Body of light group 11 has different colour temperatures, and the luminance sensor 15 is for obtaining the first illuminator group 10 and second hair
The brightness of 11 place common environmental of body of light group, and the luminance information that will acquire is sent to the MCU14, the RGB sensor 16
For obtaining the colour temperature of the first illuminator group 10 and the 11 place common environmental of the second illuminator group, and will acquire
Color temperature information is sent to the MCU14, and the MCU14 is used for according to the luminance information and the color temperature information by described the
One control module 12 carries out brightness and color temperature adjustment to the first illuminator group 10, and passes through second control module 13
Brightness and color temperature adjustment are carried out to the second illuminator group 11.
It should be noted that the first illuminator group 10 and the second illuminator group 11 have a different colour temperatures, which can be with
Single color temperature value, be also possible to include multiple color temperature values reference color temperature, wherein different colour temperatures be due to first shine
What the different physical attributes that body group 10 and the second illuminator group 11 have itself were determined.
Specifically, the colour temperature self-checking device 1 of the embodiment of the present invention passes through luminance sensor 15 and RGB sensor
16 obtain brightness and colour temperature, MCU14 respectively passes through the first control module 12 according to the luminance information and color temperature information of acquisition respectively
Brightness and color temperature adjustment are carried out to the first illuminator group 10 and second illuminator group 11 is carried out by the second control module 13
Brightness and color temperature adjustment, to realize the beneficial effect to automatically adjust to brightness and colour temperature.
Embodiment 2
The colour temperature self-checking device 1 of the present embodiment has made further improvement, improvements on the basis of embodiment 1
It is:
The color temperature information includes color temperature value, and the luminance information includes brightness value;The MCU14 is used in the colour temperature
The first operation is executed when value is less than the first preset value, and the second operation is executed when the color temperature value is greater than the second preset value, and
Third operation is executed when the color temperature value is not less than the first preset value and is not more than the second preset value;Second preset value is big
In the first preset value;Wherein, first operation are as follows: the MCU14 is sent out by first control module 12 by described first
Body of light group 10 be set on state and according to the brightness value by first control module 12 by first illuminator
The present intensity of group 10 is adjusted to object brightness, and is set second illuminator 11 to by second control module 13
Off state;Second operation are as follows: the MCU14 is set the second illuminator group 11 by second control module 13
Be set to open state and according to the brightness value by second control module 13 by the current of the second illuminator group 11
Brightness regulation sets off state for first illuminator to object brightness, and by first control module 12;
The third operation are as follows: the first illuminator group 10 is set on by the MCU14 by first control module 12
The second illuminator group 11 is set on state by second control module 13 by state, and according to the brightness
Value is respectively by first control module 12, second control module 13 by the first illuminator group 10 and described second
The current mixed brightness of illuminator group 11 is adjusted to object brightness.
Specifically, the first illuminator group 10 includes the LED light of at least one hair warm light, and/or, second hair
Body of light group 11 includes the LED light of at least one white light that feels cold, wherein the colour temperature of the LED light and luminescent LED light of sending out warm light is not
Together, for example, the color temperature value of the LED light of hair warm white can be 2600K~3700K, it may also be only 3000K, feel cold white light
The color temperature value of LED light can be 5000K~10000, and the colour temperature of illuminator and the intrinsic physical attribute of illuminator are related, not
It is defined in the above, is no longer repeated one by one here.
When the first illuminator group 10 is to send out the LED light group of warm light, the second illuminator group 11 is luminescent LED lamp group, and
Taking the first preset value is 3000K, when the second preset value is 5000K, to the color of the first illuminator group 10 and the second illuminator group 11
Mild automatic brightness adjustment process carries out as described below:
Luminance sensor 15 and RGB sensor 16 are obtained respectively where the first illuminator group 10 and the second illuminator group 11
The colour temperature and brightness of common environmental, the MCU14 obtain the color temperature information that luminance sensor 15 and RGB sensor 16 are sent and
Luminance information, color temperature information include color temperature value, and the luminance information includes brightness value.
When the color temperature value is less than 3000K, the MCU14 is set the LED lamp group for sending out warm light by the first control module 12
It is set to open state, and off state is set for the luminescent LED light group by the second control module 13, and according to bright
The present intensity for sending out the LED light group of warm light is adjusted to object brightness by the first control module 12 by angle value.Due in the colour temperature
When less than 3000K, i.e. the partially warm-toned environment of user's preferences, therefore, by automatically turning on the LED light group of hair warm light for colour temperature tune
It saves to inclined warm colour, and carries out the automatic adjustment of brightness, if environment is partially dark, lighten, if environment is partially bright, dim.
When the color temperature value is greater than 5000K, the MCU14 will be described luminescent by second control module 13
LED light group is set on state, and is set to off the LED light group of the hair warm light by first control module 12
Disconnected state, and according to the brightness value by second control module 13 by the present intensity of the luminescent LED light group
It is adjusted to object brightness.Due to when the colour temperature is greater than 5000K, i.e. the environment of the colder tone of user's preferences, therefore, by automatic
Luminescent LED light group is opened by color temperature adjustment to colder color, and carries out the automatic adjustment of brightness, if environment is partially dark, is lightened
It is some, if environment is partially bright, dim.
When the color temperature value is not less than 3000K and is not more than 5000K, the MCU14 passes through first control module 12
The LED light group of the hair warm light is set on state, by second control module 13 by the luminescent LED light
Group is set on state, and passes through first control module 12, second control module respectively according to the brightness value
The current mixed brightness of the LED light group of the hair warm light and the luminescent LED lamp group is adjusted to object brightness by 13.By
In the colour temperature between 3000K~5000K, show consumer preference neutralc tint, therefore, while opening the LED light group of hair warm light
With luminescent LED light group, environment tone is made to be mixed into neutralc tint, and adjusts the LED light group for sending out warm light and luminescent LED
Present intensity or current mixed brightness are adjusted to object brightness by lamp group.
The brightness and colour temperature obtained in real time by above-mentioned luminance sensor 15 and RGB sensor 16, to the first illuminator group
10 and second illuminator group 11 control, thus realize to the brightness of environment and the automatic adjustment of colour temperature, function can be greatly saved
Consumption, and improve user experience.
In addition, the first control module 12 and the second control module 13 are warm for being felt cold according to the driving of the control instruction of MCU14
The LED light group of light and luminescent LED light group.As shown in Fig. 2, the control electricity of the first control module and/or the second control module
Road can be realized using circuit as shown in the figure.
Specifically, first control module 12 and second control module 13 include LED drive chip U28,
Resistance R1, resistance R2, resistance R3, resistance R4, capacitor C1, capacitor C2, capacitor C3, capacitor C4, inductance L1 and zener diode D1.
The VIN pin of the LED drive chip U28 meets power supply Power_in, the first pin of the capacitor C1 with it is described
The VIN pin of LED drive chip U28 is electrically connected, and the second pin of the capacitor C1 meets GND.
The first pin of the resistance R1 is electrically connected with the first pin of the resistance R2, the second pin of the resistance R2
It is electrically connected with the FB pin of the LED drive chip U28, the first pin of the capacitor C4 draws with the first of the first resistor
Foot electrical connection, the second pin of the capacitor C4 meet GND, the first pin of the resistance R3 and the LED drive chip U28
The electrical connection of FB pin, the second pin of the resistance R3 is electrically connected with the first pin of the resistance R4, the resistance R4's
Second pin meets GND.
The anode of the zener diode D1 is electrically connected with the SW pin of the LED drive chip U28, two pole of pressure stabilizing
The cathode of pipe D1 is electrically connected with the first pin of the capacitor C2, and the second pin of the capacitor C2 meets GND, the inductance L1's
First pin is electrically connected with the VIN pin of the LED drive chip U28, and the second pin of the inductance L1 and the LED drive
The SW pin of chip U28 is electrically connected, and the GND pin of the LED drive chip U28 meets GND, the first pin of the capacitor C3 with
The COMP pin of the LED drive chip U28 is electrically connected, and the second pin of the capacitor C3 meets GND.
Wherein, the connecting node of zener diode D1 and capacitor C2 is to send out the LED light group or luminescent LED light of warm light
The connecting node of power supply the anode LED1+, resistance R3 and resistance R4 of group are to send out the LED light group or luminescent LED light group of warm light
Power supply cathode LED1-.Wherein, Vout is the voltage output end of the first control module or the second control module, Vin first
The voltage input end of control module or the second control module, the second pin of resistance R1 are used to receive the brightness tune of MCU transmission
Signal LED1_PWM is saved, the CTRL pin of LED drive chip is used to receive the LED1_EN signal of MCU14 transmission for controlling hair
The LED light group of warm light or luminescent LED light group are switched on or off.
Further, brightness regulated signal LED1_PWM is the adjustable current signal of duty ratio, for adjusting LED lamp group
Electric current, when the duty ratio of brightness regulated signal LED1_PWM be 0% when, i.e., input voltage vin be 0V, when duty ratio is
When 100%, the voltage value of input voltage vin 3.3V, input voltage vin can be selected according to actual circuit, here
It only gives an example, it's not limited to that.Resistance R1 and capacitor C4 form filter circuit, by brightness regulated signal LED1_PWM from
Square-wave signal is converted into direct current signal.
When it is 0% that brightness regulated signal LED1_PWM, which is duty ratio, Vin 0V, resistance R1 and resistance R2 series connection, root
According to: (Vfb-Vin)/(R1+R2)=(Vout-Vfb)/R3 obtains Vout=Vfb+Vfb*R3/ (R1+R2), passes through LED at this time
The electric current of lamp group is maximum, maximum current Imax=Vout/R4, and wherein Vfb is the feedback voltage of the FB pin of LED drive chip,
R1, R2, R3 are respectively resistance R1, resistance R2, the corresponding resistance value of resistance R3.
When it is 100% that brightness regulated signal LED1_PWM, which is duty ratio, at this moment Vin=3.3V*100%=3.3V, electric
Resistance R1 connects with resistance R2, according to: (Vin-Vfb)/(R1+R2)=(Vfb-Vout)/R3 is obtained: Vout=Vfb- (Vin-
Vfb) * R3/ (R1+R2), minimum by the electric current of LED light group at this time, minimum current Imin=Vout/R4, R4 are R4 pairs of resistance
The resistance value answered.
It is that the electric current of LED light group is in minimum less than 100% when brightness regulated signal LED1_PWM is greater than 0% for duty ratio
Change between electric current Imin and maximum current Imax, the brightness of the corresponding LED light group of minimum current Imix is minimum, maximum current
The brightness of the corresponding LED light group of Imax is maximum.It is thereby achieved that the automatic brightness adjustment for LED light group changes.
The specific implementation of first control module 12 and the second control module 13 is not limited to the above, can basis
Actual conditions are selected.
The colour temperature self-checking device of the embodiment of the present invention is real-time by above-mentioned luminance sensor 15 and RGB sensor 16
The brightness and colour temperature of acquisition, the control to the first illuminator group 10 and the second illuminator group 11 realize the bright of environment to reach
The automatic adjustment of degree and colour temperature, can be greatly saved power consumption, and improve the technical effect for improving user experience.
Embodiment 3
As shown in Fig. 3, the present embodiment has made further improvement on the basis of embodiment 2, thes improvement is that: institute
Stating colour temperature self-checking device 1 further includes contact control module 17, and the contact control module 17 is used to receive user's input
Touch operation information comprising brightness value and color temperature value, and the touch operation information is sent to the MCU14;It is described
MCU14 is also used to according to the brightness value and color temperature value for including in the touch operation information through the first control module 12 to described
First illuminator group 10 carries out brightness and color temperature adjustment, and by second control module 13 to the second illuminator group
11 carry out brightness and color temperature adjustment.
Specifically, the touch comprising brightness value and color temperature value of the touch operation module 17 available user input
Operation information, MCU14 adjust the first illuminator according to the brightness value and color temperature value in the touch operation information got, to realize
Group and the second illuminator group unlatching, shutdown and brightness regulation, to realize the automatic adjustment of colour temperature and brightness, wherein MCU according to
Brightness value and color temperature value carry out brightness and the process of color temperature adjustment is identical as in implementation 2, no longer repeat one by one here.For example,
The contact control module may include capacitance touch screen.
It includes brightness value and color temperature value that the colour temperature self-checking device of the embodiment of the present invention is obtained by contact control module
Touch operation information, may be implemented to manually adjust colour temperature and brightness, user can be according to personal preference, in touch control operation mould
Block carries out touch control operation to adjust the colour temperature and brightness of place common environmental, has reached by realizing manual operation to adjust brightness
And colour temperature, further improve the beneficial effect of user experience.
Embodiment 4
As shown in figure 4, the present embodiment has made further improvement on the basis of embodiment 3, the improvement is that: described
Colour temperature self-checking device 1 further includes memory module 18, and the memory module 18 is stored with brightness value-screen brightness value and corresponds to table,
The MCU14 is used to search the brightness value-screen brightness value according to the brightness value and corresponds to table to obtain the brightness value and correspond to
Screen brightness value, and the first illuminator group and/or the second illuminator group are adjusted to by mesh according to the screen brightness value
Brightness is marked, the object brightness is the corresponding brightness of the screen brightness value.
Specifically, when the colour temperature self-checking device is applied to lamp mirror, and the viewing area of the colour temperature self-checking device
When the mirror surface of domain or display screen and the lamp mirror is same plane, when in order to make the display effect of display area or display screen have compared with
Good user experience is stored in advance brightness value-screen brightness value by memory module 18 and corresponds to table, wherein the brightness value-screen brightness
Being worth the brightness value in corresponding table is current environment brightness, and shields the display brightness that brightness value is display area or display screen, logical
After crossing the brightness value that luminance sensor obtains current environment brightness, MCU14 is searched according to the brightness value of current environment should
Brightness value-screen brightness value corresponds to table, to obtain the corresponding screen brightness value of the brightness value, and will be described according to the screen brightness value
First illuminator group 10 and/or the second illuminator group 11 are adjusted to object brightness, and the object brightness is the screen brightness value pair
The brightness answered, thus, the display brightness of the display area in mirror body is improved, preferable display effect is reached, facilitates user aobvious
Show and checks display information on region or display screen or operated.
The colour temperature self-checking device of the embodiment of the present invention can be searched bright in a storage module by the brightness value of acquisition
Angle value-screen brightness value corresponds to table, with according to the screen brightness value of acquisition by the first illuminator group and/or the second illuminator group tune
It saves and has reached the real-time display brightness for adjusting display area to the technical solution of object brightness, further improve user experience
Beneficial effect.
Embodiment 5
As shown in figure 5, the embodiment of the invention provides a kind of colour temperature Automatic adjustment methods, method includes the following steps:
Step S1, the luminance information and colour temperature letter of common environmental where obtaining the first illuminator group and the second illuminator group
Breath.
Step S2, according to the luminance information and color temperature information got, first hair is adjusted by the first control module
The brightness and colour temperature of body of light group, and adjust by the second control module the brightness and colour temperature of the second illuminator group.
In step s 2, the color temperature information includes color temperature value, and the luminance information includes brightness value.
First illuminator is adjusted by the first control module according to the luminance information and color temperature information got in MCU
The brightness of group and the information of colour temperature, and adjust by second control module brightness and colour temperature of the second illuminator group
The step of in, further includes:
The MCU executes the first operation when the color temperature value is less than the first preset value, is greater than second in the color temperature value
The second operation is executed when preset value, and is executed when the color temperature value is not less than the first preset value and is not more than the second preset value
Third operation;Second preset value is greater than first preset value;
Wherein, first operation are as follows: the first illuminator group is set on by the MCU by the first control module
It opens state and the present intensity of the first illuminator group is adjusted to by the first control module by target according to the brightness value
Brightness, and off state is set for second illuminator by the second control module;
Second operation are as follows: the second illuminator group is set on by the MCU by second control module
It opens state and is adjusted to the present intensity of the second illuminator group by second control module according to the brightness value
Object brightness, and off state is set for the first illuminator group by first control module;
The third operation are as follows: the first illuminator group is set on by the MCU by first control module
State is opened, the second illuminator group is set on by state by second control module, and according to the brightness value
Respectively by first control module, second control module by the first illuminator group and the second illuminator group
Current mixed brightness be adjusted to object brightness.
The colour temperature Automatic adjustment method of the embodiment of the present invention is by obtaining the first illuminator group and the second illuminator group place
The brightness and colour temperature of common environmental, and according to the luminance information of acquisition and color temperature information to the first illuminator and the second illuminator
Brightness and colour temperature are adjusted, and the brightness of common environmental and the automatic adjustment of colour temperature, improve user experience where realizing.
Embodiment 6
As shown in fig. 6, the lamp mirror 201 includes mirror body 2 and implements the embodiment of the invention also provides a kind of lamp mirror 201
Any colour temperature self-checking device 1 of example 1~4.
As shown in fig. 7, the lamp mirror 201 further includes shell 23, FPC plate 24, light guide plate 25, diffuser plate 26 and EVA foam
27, the mirror body 2 is equipped with transmission region 22, and the first illuminator group and the second illuminator group are opposite with the transmission region 22
Setting, and the direction of illumination of the illuminator of the first illuminator group and the second illuminator group is towards the transmission region
22。
The shell 23 is fixedly installed in the mirror body 2 and coats the transmission region 22, the first illuminator group
Be all set on the FPC plate 24 with the second illuminator group, the light guide plate 25 be set to the FPC plate 24 with it is described
Between light region 22.The diffuser plate 26 is set between the transmission region 22 and the light guide plate 25, the EVA foam 27
It is set to the inner sidewall of the shell 23;It is also coated with specular reflective material in the mirror body 2, is coated with the mirror-reflection material
The region 28 of material is located at the one side of the setting shell of mirror body 2.
The first illuminator group includes the LED light of at least one hair warm white, and/or, the second illuminator group packet
Include the LED light of at least one white light that feels cold;The LED light of the hair warm white and the LED light of the white light that feels cold, which are intersected, uniformly to be set
It is placed on the FPC plate 24.
In addition, the mirror body 2 is equipped with touch screen (not shown), the touch screen and the mirror surface of the mirror body 2 are
It is integrally formed;The touch screen is used to obtain the touch operation of user, and the touch operation information that will acquire is sent to colour temperature certainly
The contact control module of dynamic regulating device.
The specific working principle is as follows for the lamp mirror:
The brightness of common environmental where mirror surface of the luminance sensor for obtaining mirror body 2 in real time, RGB sensor is for real-time
The colour temperature of common environmental where obtaining the mirror surface of mirror body 2, MCU pass through the first control module according to the luminance information and colour temperature of acquisition
Brightness and color temperature adjustment are carried out to the first illuminator group and the second illuminator group is carried out by the second control module bright
Degree and color temperature adjustment.It is thus possible to according to the present intensity and colour temperature of environment, automatically adjust the mirror body mirror surface of lamp mirror brightness and
Colour temperature makes the mirror lamp present intensity and colour temperature preferably agree with the hobby of user, so that user experience is promoted, it is manual without user
It adjusts and operates, and save power consumption.
It should be further noted that the lamp mirror of the embodiment of the present invention is equipped with touch screen, the touch screen and the mirror
The mirror surface of body is integrally formed, in this way, user, when the correlation function to the lamp mirror is operated manually, can directly pass through should
The touch screen of mirror surface is operated, more convenient and beautiful.After the touch screen obtains the touch operation of user, the touch that will acquire
Operation information is sent to the contact control module, if in the touch operation information including the information of brightness value and color temperature value,
MCU is set according to the brightness of the brightness value and color temperature value adjust automatically the first illuminator group and the second illuminator group with meeting user
Set requirement.
The lamp mirror of the embodiment of the present invention can realize the automatic adjustment of colour temperature and brightness according to current ambient conditions, save function
Consumption, greatly improves user experience.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art
For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as
Protection scope of the present invention.