CN106455266A - Color temperature adjusting device and color temperature adjusting method - Google Patents

Color temperature adjusting device and color temperature adjusting method Download PDF

Info

Publication number
CN106455266A
CN106455266A CN201610942325.0A CN201610942325A CN106455266A CN 106455266 A CN106455266 A CN 106455266A CN 201610942325 A CN201610942325 A CN 201610942325A CN 106455266 A CN106455266 A CN 106455266A
Authority
CN
China
Prior art keywords
luminescent device
rgb
colour temperature
current time
brightness information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610942325.0A
Other languages
Chinese (zh)
Other versions
CN106455266B (en
Inventor
吕途
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOE Technology Group Co Ltd
Hefei BOE Display Lighting Co Ltd
Original Assignee
BOE Technology Group Co Ltd
Hefei BOE Display Lighting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BOE Technology Group Co Ltd, Hefei BOE Display Lighting Co Ltd filed Critical BOE Technology Group Co Ltd
Priority to CN201610942325.0A priority Critical patent/CN106455266B/en
Publication of CN106455266A publication Critical patent/CN106455266A/en
Application granted granted Critical
Publication of CN106455266B publication Critical patent/CN106455266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a color temperature adjusting device and a color temperature adjusting method, relates to the technical field of lighting, and aims to solve the problems of poor real-time performance and low accuracy in color temperature adjustment of light-emitting devices. The color temperature adjusting device comprises a calculation unit and a control unit. The output end of the calculation unit is connected with the input end of the control unit. The calculation unit is used for acquiring the duty ratio of RGB channels of a light-emitting device at the current moment according to current ambient brightness information and current moment corresponding to the current ambient brightness information. The control unit is used for adjusting the color temperature of the light-emitting device at the current moment and in the current environment according to the duty ratio of the RGB channels of the light-emitting device at the current moment. The color temperature adjusting device is applied to the color temperature adjusting method, and is used for accurately adjusting the color temperatures of the light-emitting devices in real time.

Description

A kind of colour temperature adjusting means and method
Technical field
The present invention relates to lighting technical field, more particularly, to a kind of colour temperature adjusting means and method.
Background technology
Colour temperature is used to weigh a kind of index of light source light spectrum quality, and the more high then light of colour temperature is more colder, the more low then light of colour temperature More partially warm, and the color temperature value of light is colder or partially warms up the emotion it is seen then that colour temperature can affect people that all can make one not feeling well, because This, be both provided with colour temperature adjusting means in increasing luminescent device.
Existing colour temperature adjusting means mainly adjusts colour temperature in the following way:First kind of way is to set in luminescent device Put memorizer, colour temperature set in advance adjusts the light emission color temperature that formula controls luminescent device in memory, luminescent device according to The characteristic of the intensity of current environment light, adjusts formula by colour temperature and redistributes the RGB three coloured light ratio that luminescent device sends, from And adjust the colour temperature of luminescent device;The second way is the setting gentle cool white of warm white spaced apart in the lamp bar of luminescent device The lamp bead of colour temperature, carries out colour temperature by the light that the lamp bead being distributed the warm white gentle cool white colour temperature arranging realizes lamp bar is sent Adjust;The third mode is using sensor acquisition human body physiological parameter, for example, gathers human eye blinking under illuminator light Eye frequency, by the analysis to user's frequency of wink Parameters variation, judges whether fit when the light that front lighting device light sends Preferably, the microcontroller then utilizing luminescent device adjusts colour temperature.
However, when to adjust the colour temperature of luminescent device using first kind of way, in actual use due to ambient light Uncertainty, colour temperature adjusts formula and is equally difficult to set, thus causing colour temperature to adjust there is poor real, low precision; When to adjust the colour temperature of luminescent device using the second way, the lamp bead due to warm white gentle cool white colour temperature is all to set in advance Fixed, therefore can only export fixing colour temperature, real-time regulation can not be carried out to colour temperature using the luminescent device of which;And adopt Three kinds of modes come to adjust luminescent device colour temperature when, because sensor has error to human parameterss when gathering, therefore adopt The method is adjusted there is low precision to the colour temperature of luminescent device.
Content of the invention
It is an object of the invention to provide a kind of colour temperature adjusting means and method, can solve the problem that luminescent device in prior art Colour temperature adjust poor real, the problem of low precision.
To achieve these goals, the present invention provides following technical scheme:
A kind of colour temperature adjusting means, including:Computing unit and control unit, the outfan of described computing unit is single with control The input of unit connects;
Described computing unit is used for according to current environment brightness information and the corresponding current time of current environment brightness information, Obtain the three-channel dutycycle of RGB in current time for the luminescent device;
Described control unit is used for the three-channel dutycycle of RGB according to luminescent device in current time, adjusts luminous organ Colour temperature under current time environment for the part.
Compared with prior art, the colour temperature adjusting means that the present invention provides has the advantages that:
The colour temperature adjusting means that the present invention provides, computing unit, according to current environment brightness information, calculates and is suitable for currently The RGB triple channel dutycycle of luminescent device under environment, control unit is according to luminescent device under the suitable current environment calculating RGB triple channel dutycycle, adjusts the RGB triple channel dutycycle of luminescent device, makes RGB triple channel dutycycle and the meter of luminescent device Calculation unit calculates luminescent device RGB triple channel dutycycle under suitable current environment and is consistent, so that control unit can Accurately adjust the colour temperature of luminescent device;Further, since the monochrome information of ambient light can change over time and change, calculate single The monochrome information of first real-time reception current environment light, and the monochrome information of the ambient light according to real-time change, calculate in real time Go out the RGB triple channel dutycycle of luminescent device under suitable current environment, control unit is according under the suitable current environment calculating The RGB triple channel dutycycle of luminescent device, adjusts the colour temperature of luminescent device in real time;Therefore, control unit can in real time, accurately Regulation luminescent device colour temperature.
Present invention also offers a kind of method that colour temperature is adjusted, including:
According to current environment brightness information and the corresponding current time of current environment brightness information, obtain luminescent device and working as The three-channel dutycycle of RGB in front moment;
According to luminescent device in the three-channel dutycycle of RGB of current time, adjust luminescent device in current time environment Under colour temperature.
Compared with prior art, the beneficial effect of method that the colour temperature that the present invention provides is adjusted and technique scheme provide Colour temperature adjusting means beneficial effect identical, will not be described here.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, this Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
A kind of topology example figure of the colour temperature adjusting means that Fig. 1 provides for the embodiment of the present invention one;
Fig. 2 is XD3072 chip and fpga chip connection diagram in colour temperature adjusting means in Fig. 1;
Fig. 3 is DS1302 chip and fpga chip connection diagram in colour temperature adjusting means in Fig. 1;
Fig. 4 is fpga chip and PIC24FV16KA301 single-chip microcomputer connection diagram in colour temperature adjusting means in Fig. 1;
The method flow diagram that Fig. 5 is adjusted for the colour temperature that the embodiment of the present invention two provides;
Fig. 6 is the method flow of the three-channel dutycycle of RGB in current time for the luminescent device in the embodiment of the present invention two Figure;
Fig. 7 is the method flow diagram adjusting colour temperature under current time environment for the luminescent device in the embodiment of the present invention two;
Fig. 8 is to obtain current environment brightness information in the embodiment of the present invention two, and by current environment brightness information by simulating Signal is converted into the method flow diagram of digital signal.
Reference:
1- light sensing unit, 2- clock unit,
3- computing unit, 4- control unit,
11- optical sensing module, 12-A/D modular converter,
31- first computing module, 32- second computing module,
41- reception of impulse module, 42- pulse modulation module,
43- pulse distribution module.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work Embodiment, broadly falls into the scope of protection of the invention.
Embodiment one
Refer to Fig. 1, colour temperature adjusting means provided in an embodiment of the present invention includes:Computing unit 3 and control unit 4, meter The outfan calculating unit 3 is connected with the input of control unit 4;
Computing unit 3 is used for according to current environment brightness information and the corresponding current time of current environment brightness information, obtains To luminescent device current time the three-channel dutycycle of RGB;
Control unit 4 is used for the three-channel dutycycle of RGB according to luminescent device in current time, adjusts luminescent device and exists Colour temperature under current time environment.
Refer to Fig. 1 and Fig. 6, during being embodied as, the colour temperature adjusting means that the present embodiment provides adjusts colour temperature Concrete mode as follows:
S1:Computing unit 3, according to the ambient brightness information of current real-time change, calculates suitable current environment brightness in real time The RGB triple channel dutycycle of luminescent device under information, and by the RGB drawing triple channel duty cycle transmissions to control unit 4;
S2:Control unit 4, according to the RGB triple channel dutycycle of luminescent device under the suitable current environment calculating, is adjusted The RGB triple channel dutycycle of luminescent device, makes the RGB triple channel dutycycle of luminescent device and computing unit 3 calculate and be suitable for working as Front environment issues optical device RGB triple channel dutycycle and is consistent, thus can accurately adjust luminous organ by control unit 4 The colour temperature of part.
By above-mentioned specific implementation process, the computing unit 3 in the present embodiment, according to current environment brightness information, is counted Calculate the RGB triple channel dutycycle of luminescent device under suitable current environment, control unit 4 is according to luminous organ under suitable current environment The RGB triple channel dutycycle of part, adjusts the RGB triple channel dutycycle of luminescent device, makes the RGB triple channel dutycycle of luminescent device Calculate luminescent device RGB triple channel dutycycle under suitable current environment with computing unit 3 to be consistent, thus single by controlling Unit 4 can accurately adjust the colour temperature of luminescent device;Further, since the monochrome information of ambient light can change over time and change Become, the monochrome information of computing unit 3 real-time reception current environment light, and the monochrome information of the ambient light according to real-time change, Calculate the RGB triple channel dutycycle of luminescent device under suitable current environment in real time, control unit 4 is according to being suitable for of calculating The RGB triple channel dutycycle of luminescent device under current environment, adjusts the colour temperature of luminescent device in real time;Therefore, control unit 4 energy Enough colour temperatures that is real-time, accurately adjusting luminescent device.
It is understood that control unit 4 is three-channel in the RGB of current time according to luminescent device in above-described embodiment Dutycycle, adjusts colour temperature under current time environment for the luminescent device, specifically refers to:Value input by RGB triple channel dutycycle To the three primary colories control circuit of control unit 4, control the RGB triple channel duty of luminescent device by three primary colories control circuit Ratio is thus adjust the colour temperature of luminescent device.
In addition, the three primary colories control circuit in above-described embodiment is the existing control circuit in this area, herein no longer to three The concrete structure of primary colors control circuit is repeated.
It should be noted that the colour temperature adjusting means in Fig. 1 also includes:Light sensing unit 1 and clock unit 2, light sensing The outfan of unit 1 is connected with the input of computing unit 3, and the outfan of clock unit 2 is connected with the input of computing unit 3 Connect;Light sensing unit 1 is used for obtaining ambient light fluxes, obtains current environment brightness information;Clock unit 2 is used for providing works as front ring The border monochrome information corresponding moment.It can be seen that, the current environment brightness information in computing unit is provided by light sensing unit 1, currently The ambient brightness information corresponding moment is then provided by clock unit 2.
Specifically, please continue to refer to Fig. 1, light sensing unit 1 includes:Optical sensing module 11 and A/D modular converter 12, light sensation The outfan surveying module 11 is connected with the input of A/D modular converter 12, the outfan of A/D modular converter 12 and computing unit 3 Input connect;Optical sensing module 11 is used for obtaining ambient light fluxes, obtains current environment brightness information;A/D modular converter 12 are used for for the analogue signal of current environment brightness information being converted into digital signal.
Refer to Fig. 1 and Fig. 8, the concrete mode obtaining current environment brightness information is as follows:
S1:Optical sensing module 11 obtains ambient light fluxes, obtains the monochrome information of current environment, and current environment is bright Degree information output is to A/D modular converter 12;
S2:The analogue signal of current environment brightness information is converted into digital signal by A/D modular converter 12.
From above-mentioned specific implementation process, by A/D modular converter 12 by the analogue signal of current environment brightness information It is converted into digital signal, it is possible to increase the jamproof performance that ambient brightness information is transmitted in circuit.
Refer to Fig. 3, and in order to ensure clock unit 2 timing accuracy, be provided with power module in clock unit 2, this Kind of power module is built-in with independent current source, powers to clock unit 2, powered to clock unit 2 using independent current source it can be avoided that Clock unit 2, after the colour temperature adjusting means power-off that above-described embodiment provides, leads to clock unit 2 to stop the problem of timing, from And enable clock unit 2 to continue timing;Further, since clock unit 2 is built-in with independent current source, it is to avoid clock unit 2 exists After external power source breaks down, the problem that clock unit 2 cannot work occurs it is ensured that clock unit 2 can continue to calculating list Unit 3 offer the current environment brightness information corresponding moment so that computing unit 3 can real-time reception to current time environment Monochrome information.
Specifically, in above-described embodiment computing unit 3 to realize structure varied, carry out further with reference to Fig. 1 Explanation.
Refer to Fig. 1, computing unit 3 includes the first computing module 31 and the second computing module 32, the first computing module 31 Outfan be connected with the input of the second computing module 32, the outfan of the second computing module 32 and the input of control unit 4 End connects;
First computing module 31 be used for according to current environment brightness information and current environment brightness information corresponding current when Carve, obtain the PWM duty cycle of the RGB in current time for the luminescent device;
Second computing module 32 is used for the PWM duty cycle of the RGB in current time according to luminescent device, obtains luminescent device In the three-channel dutycycle of the RGB of current time.
Refer to Fig. 1 and Fig. 6, during being embodied as, obtain being suitable for sending out under current time ambient brightness information The RGB three-channel dutycycle mode of optical device is as follows:
S11:First computing module 31 receives monochrome information and the current environment brightness information corresponding moment of current environment, And calculate the PWM duty cycle of the RGB in current time for the luminescent device;
S12:The PWM duty cycle of the RGB of current time that the second computing module 32 draws according to the first computing module, passes through It is calculated the three-channel dutycycle of RGB in current time for the luminescent device.
By above-mentioned specific implementation process, change because current environment brightness information is as the change of time , the first computing module 31 receive environment monochrome information in the case of, simultaneously receive current time, in conjunction with current time to work as Front environmental light brightness information is calculated, therefore, it is possible to obtain the PWM of the RGB being suitable under current environmental light brightness information in real time Dutycycle, so that the second computing module 32 can calculate luminescent device in real time under current time ambient brightness information The three-channel dutycycle of RGB.
It should be noted that in actual applications in order to simplify circuit, using can realize the first computing module 31 simultaneously The fpga chip of function and the second computing module 32 function replaces the first computing module 31 and the second computing module 32.
Preferably, implant fuzzy neural network algorithm in fpga chip, according to the monochrome information under current time environment, Fpga chip can in real time, accurately calculate luminescent device by fuzzy neural network algorithm to be believed in current time ambient brightness The lower three-channel dutycycle of RGB of breath.
In order that control unit 4 can accurately control luminescent device RGB triple channel under current time ambient brightness information Dutycycle, a kind of concrete structure of control unit 4 is given below, is further described in conjunction with Fig. 1.
Refer to Fig. 1, control unit 4 includes reception of impulse module 41, pulse modulation module 42 and pulse distribution module 43, The outfan of reception of impulse module 41 is connected with the input of pulse modulation module 42, the outfan of pulse modulation module 42 and arteries and veins The input rushing distribute module 43 connects;
Reception of impulse module 41 is used for receiving the pulse of luminescent device;
Pulse modulation module 42 is used for for each pulse receiving splitting into multiple subpulses by way of pulsewidth modulation;
Pulse distribution module 43 is used for the three-channel dutycycle of RGB according to luminescent device in current time, by many height Pulse is divided into three parts, makes the R passage in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, the second one's share of expenses for a joint undertaking pulsed drive G passage in the RGB triple channel of luminescent device, the channel B in the RGB triple channel of the 3rd one's share of expenses for a joint undertaking pulsed drive luminescent device, adjust Section colour temperature under current time environment for the luminescent device.
Refer to Fig. 1 and Fig. 7, the mode that control unit 4 adjusts colour temperature under current time environment for the luminescent device is as follows:
S21:Reception of impulse module 41 receives the pulse of luminescent device;
S22;Each pulse receiving is splitted into multiple subpulses by way of pulsewidth modulation by pulse modulation module 42;
S23:Pulse distribution module 43 according to luminescent device current time the three-channel dutycycle of RGB, by many height Pulse is divided into three parts, makes the R passage in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, the second one's share of expenses for a joint undertaking pulsed drive G passage in the RGB triple channel of luminescent device, the channel B in the RGB triple channel of the 3rd one's share of expenses for a joint undertaking pulsed drive luminescent device, adjust Section colour temperature under current time environment for the luminescent device.
By above-mentioned specific implementation process, driven by the pulse in reception of impulse module 41 real-time reception luminescent device The pulse of dynamic transmitting, with the change of luminescent device colour temperature, the pulse of the pulsed drive transmitting in luminescent device also can change therewith Become, reception of impulse module 41 by real-time reception to pulse be transferred to pulse modulation module 42, pulse modulation module 42 by each The pulse receiving splits into multiple subpulses by way of pulsewidth modulation, and pulse distribution module 43 is according to the second computing module 32 The three-channel dutycycle of RGB of luminescent device, many height that pulse modulation module 42 is splitted under the suitable current environment drawing Pulse is divided into three parts, makes the R passage in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, so that the second one's share of expenses for a joint undertaking pulse is driven G passage in the RGB triple channel of dynamic luminescent device, the channel B in the RGB triple channel of the 3rd one's share of expenses for a joint undertaking pulsed drive luminescent device, Pulse distribution module 43, by controlling the ratio that multiple subpulses are divided into three parts, is accurately controlled the three-channel dutycycle of RGB, from And it is capable of the colour temperature of precise control luminescent device.
It is understood that the multiple subpulses splitting into are divided into three parts by pulse modulation module 42, every part of ratio is permissible Equal can not also wait, by computing unit 3 according to current environment brightness information, being suitable for of calculating is current for specific allocation proportion Depending on the value of RGB triple channel dutycycle of luminescent device under environment.
It should be noted that for simplified control circuit, control unit 4 is preferably PIC24FV16KA301 single-chip microcomputer, PIC24FV16KA301 single-chip microcomputer is capable of the work(of reception of impulse module 41, pulse modulation module 42 and pulse distribution module 43 Energy.
And in order to enable colour temperature adjusting means in real time, accurately to adjust the colour temperature of luminescent device, it is given below one Plant this specific circuit connecting relation of colour temperature adjusting means.
Light sensing unit 1 adopts XD3072 chip, and clock unit 2 adopts DS1302 chip, and computing unit 3 adopts FPGA core Piece, control unit 4 adopts PIC24FV16KA301 single-chip microcomputer.
Figure it is seen that XD3072 chip includes following pin:ADDR pin, VDD pin, GND pin, REXT draw Foot, SDA pin, SCL pin and INT pin.
Can be seen that from Fig. 2, Fig. 3 and Fig. 4:Fpga chip includes following pin:DATA pin, DCLK pin, INT draw Foot, INOUT pin, NCE pin, DATA0 pin, CCLK pin, PROGRA pin and CONF DONE pin.
From figure 3, it can be seen that DS1302 chip includes following pin:VCC1 pin, X1 pin, X2 pin, GND pin, VCC2 pin, SCLK pin, I/O pin and CE pin.
From fig. 4, it can be seen that PIC24FV16KA301 single-chip microcomputer includes following pin:RA0 pin, RA1 pin, RB0 draw Foot, RB1 pin, RB2 pin, VSS pin, VDD pin, RB13 pin, RB14 pin and RB15 pin.
Wherein, refer to Fig. 2, XD3072 chip is as follows with the specific annexation of fpga chip:
ADDR pin ground connection in XD3072 chip;
One end of VDD pin in XD3072 chip and C1 electric capacity and C2 electric capacity downlink connection, the other end of C1 electric capacity and The other end ground connection of C2 electric capacity;
GND pin ground connection in XD3072 chip;
REXT pin in XD3072 chip is connected with one end of resistance, the other end ground connection of resistance;
SDA pin in XD3072 chip is connected with the DATA pin in fpga chip, the wherein first pull-up resistor R1's Connecting line between one end and the SDA pin in XD3072 chip and the DATA pin in fpga chip is connected, pull-up resistor R1 The other end ground connection;
SCL pin in XD3072 chip is connected with the DCLK pin in fpga chip, one end of the second pull-up resistor R2 Connecting line between being connected with the DCLK pin in fpga chip with the SCL pin in XD3072 chip is connected, pull-up resistor R2 The other end ground connection;
INT pin in XD3072 chip is connected with the INT pin in fpga chip, one end of the 3rd pull-up resistor R3 with The connecting line that INT pin in XD3072 chip is connected with the INT pin in fpga chip connects, the other end of pull-up resistor R3 Ground connection.
Refer to Fig. 3, DS1302 chip is as follows with the concrete annexation of fpga chip:
X1 pin in DS1302 chip and X2 pin are connected with the both positive and negative polarity of independent current source respectively;
GND pin ground connection in DS1302 chip;
SCLK pin in DS1302 chip is connected with the DCLK pin in fpga chip;
I/O pin in DS1302 chip is connected with the INOUT pin in fpga chip;
CE pin in DS1302 chip is connected with the NCE pin in fpga chip.
Refer to Fig. 4, fpga chip is as follows with the connection of PIC24FV16KA301 single-chip microcomputer:
DATA0 pin in fpga chip is connected with the RA0 pin in fpga chip;
CCLK pin in fpga chip is connected with the RA1 pin in fpga chip;
PROGRA pin in fpga chip is connected with the RBO pin in fpga chip;
CONF DONE in fpga chip is connected with the RB1 pin in fpga chip;
INT in fpga chip is connected with the RB2 pin in fpga chip.
Please continue to refer to Fig. 4, PIC24FV16KA301 single-chip microcomputer is as follows with the connection of luminescent device:
VSS pin ground connection in PIC24FV16KA301 single-chip microcomputer;
VDD pin in PIC24FV16KA301 single-chip microcomputer connects one end of electric capacity C3, the other end ground connection of electric capacity C3;
RB13 pin in PIC24FV16KA301 single-chip microcomputer connects the PWN-B passage of luminescent device;
RB14 pin in PIC24FV16KA301 single-chip microcomputer connects the PWM-G passage of luminescent device;
RB15 pin in PIC24FV16KA301 single-chip microcomputer connects the PWM-R passage of luminescent device.
Embodiment two
Refer to Fig. 5, the embodiment of the present invention provides a kind of method that colour temperature is adjusted, including:
S1:According to current environment brightness information and the corresponding current time of current environment brightness information, obtain luminescent device In the three-channel dutycycle of the RGB of current time;
S2:According to luminescent device in the three-channel dutycycle of RGB of current time, adjust luminescent device in current time ring Colour temperature under border.
Compared with prior art, the colour temperature that the method that embodiment of the present invention colour temperature is adjusted is provided with above-described embodiment one is adjusted The beneficial effect of device is identical, will not be described here.
Refer to Fig. 6, the method obtaining the three-channel dutycycle of RGB in current time for the luminescent device is as follows:
S11:According to current environment brightness information and the corresponding current time of current environment brightness information, obtain luminescent device PWM duty cycle in the RGB of current time;
S12:According to the PWM duty cycle of the RGB in current time for the luminescent device, obtain luminescent device in current time The three-channel dutycycle of RGB.
By above-mentioned specific implementation process, change because current environment brightness information is as the change of time , in addition it is also necessary to receive current time, in conjunction with current time to current environment light simultaneously in the case of receiving environment monochrome information Monochrome information is calculated, therefore, it is possible to obtain the PWM duty cycle of the RGB being suitable under current environmental light brightness information in real time, from And luminescent device three-channel dutycycle of RGB under current time ambient brightness information can be calculated in real time.
Refer to Fig. 7, the method adjusting colour temperature under current time environment for the luminescent device is as follows:
S21:Receive the pulse of luminescent device transmitting;
S22:Each pulse receiving is splitted into multiple subpulses by way of pulsewidth modulation;
S23:According to the three-channel dutycycle of RGB of the luminescent device in current time for the luminescent device, by multiple subpulses It is divided into three parts, makes the R passage in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, the second one's share of expenses for a joint undertaking pulsed drive lights G passage in the RGB triple channel of device, the channel B in the 3rd one's share of expenses for a joint undertaking pulsed drive RGB triple channel, adjust luminescent device and working as Colour temperature under front moment environment.
Compared with prior art, the colour temperature that the method that embodiment of the present invention colour temperature is adjusted is provided with above-described embodiment one is adjusted The beneficial effect of device is identical, will not be described here.
Refer to Fig. 8, the method obtaining current environment brightness information is as follows:
S31:Obtain ambient light fluxes and export current environment brightness information;
S32:The analogue signal of current environment brightness information is converted into digital signal.
By above-described embodiment, the analogue signal of current environment brightness information is converted into digital signal, Neng Gouti The jamproof performance that high environment monochrome information is transmitted in circuit.
In the description of above-mentioned embodiment, specific features, structure, material or feature can be at any one or many Combine in an appropriate manner in individual embodiment or example.
More than, the specific embodiment of the only present invention, but protection scope of the present invention is not limited thereto, any it is familiar with Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, all should cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (10)

1. a kind of colour temperature adjusting means is it is characterised in that include:Computing unit and control unit, the output of described computing unit End is connected with the input of control unit;
Described computing unit is used for according to current environment brightness information and the corresponding current time of current environment brightness information, obtains Luminescent device is in the three-channel dutycycle of RGB of current time;
Described control unit is used for the three-channel dutycycle of RGB according to luminescent device in current time, adjusts luminescent device and exists Colour temperature under current time environment.
2. colour temperature adjusting means according to claim 1 is it is characterised in that described computing unit includes the first computing module With the second computing module, the outfan of described first computing module is connected with the input of described second computing module, and described The outfan of two computing modules is connected with the input of described control unit;
Described first computing module is used for according to current environment brightness information and the corresponding current time of current environment brightness information, Obtain the PWM duty cycle of the RGB in current time for the luminescent device;
Described second computing module is used for the PWM duty cycle of the RGB in current time according to luminescent device, obtains luminescent device and exists The three-channel dutycycle of RGB of current time.
3. colour temperature adjusting means according to claim 1 is it is characterised in that described control unit includes reception of impulse mould Block, pulse modulation module and pulse distribution module, the outfan of described reception of impulse module is defeated with described pulse modulation module Enter end to connect, the outfan of described pulse modulation module is connected with the input of pulse distribution module;
Described reception of impulse module is used for receiving the pulse of luminescent device;
Described pulse modulation module is used for for each pulse receiving splitting into multiple subpulses by way of pulsewidth modulation;
Described pulse distribution module is used for the three-channel dutycycle of RGB according to luminescent device in current time, by many sub- arteries and veins Punching is divided into three parts, makes the R passage in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, makes the second one's share of expenses for a joint undertaking pulsed drive G passage in the RGB triple channel of luminescent device, the channel B in the RGB triple channel of the 3rd one's share of expenses for a joint undertaking pulsed drive luminescent device, adjust Section colour temperature under current time environment for the luminescent device.
4. colour temperature adjusting means according to claim 1 is it is characterised in that also include:Light sensing unit and clock unit, The outfan of described light sensing unit is connected with the input of computing unit, the outfan of described clock unit and computing unit Input connects;
Described light sensing unit is used for obtaining ambient light fluxes, obtains current environment brightness information;
Described clock unit is used for providing ambient brightness information corresponding current time.
5. colour temperature adjusting means according to claim 1 is it is characterised in that described light sensing unit includes:Light sensing mould Block and A/D modular converter, the outfan of described optical sensing module is connected with the input of described A/D modular converter, and described A/D turns The outfan of die change block is connected with the input of described computing unit;
Described optical sensing module is used for obtaining ambient light fluxes, obtains current environment brightness information;
Described A/D modular converter is used for for the analogue signal of current environment brightness information being converted into digital signal.
6. colour temperature adjusting means according to claim 1 is it is characterised in that be provided with power module in described clock unit.
7. a kind of method that colour temperature is adjusted is it is characterised in that include:
According to current environment brightness information and the corresponding current time of current environment brightness information, obtain luminescent device when current The three-channel dutycycle of RGB carved;
According to luminescent device in the three-channel dutycycle of RGB of current time, adjust luminescent device under current time environment Colour temperature.
8. the method that colour temperature according to claim 7 is adjusted is it is characterised in that obtain luminescent device in current time The method of the three-channel dutycycle of RGB is as follows:
According to current environment brightness information and the corresponding current time of current environment brightness information, obtain luminescent device when current The PWM duty cycle of the RGB carving;
According to the PWM duty cycle of the RGB in current time for the luminescent device, obtain the RGB triple channel in current time for the luminescent device Dutycycle.
9. the method that colour temperature according to claim 7 is adjusted is it is characterised in that adjust luminescent device in current time environment Under colour temperature method as follows:
Receive the pulse of luminescent device transmitting;
Each pulse receiving is splitted into multiple subpulses by way of pulsewidth modulation;
According to the three-channel dutycycle of RGB of the luminescent device in current time for the luminescent device, multiple subpulses are divided into three parts, Make the R passage in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, the RGB of the second one's share of expenses for a joint undertaking pulsed drive luminescent device G passage in triple channel, the channel B in the RGB triple channel of the 3rd one's share of expenses for a joint undertaking pulsed drive luminescent device, adjust luminescent device and working as Colour temperature under front moment environment.
10. the method that colour temperature according to claim 7 is adjusted is it is characterised in that include:
Obtain ambient light fluxes and export current environment brightness information;
The analogue signal of current environment brightness information is converted into digital signal.
CN201610942325.0A 2016-10-25 2016-10-25 A kind of color temperature adjustment device and method Active CN106455266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610942325.0A CN106455266B (en) 2016-10-25 2016-10-25 A kind of color temperature adjustment device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610942325.0A CN106455266B (en) 2016-10-25 2016-10-25 A kind of color temperature adjustment device and method

Publications (2)

Publication Number Publication Date
CN106455266A true CN106455266A (en) 2017-02-22
CN106455266B CN106455266B (en) 2019-04-16

Family

ID=58178210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610942325.0A Active CN106455266B (en) 2016-10-25 2016-10-25 A kind of color temperature adjustment device and method

Country Status (1)

Country Link
CN (1) CN106455266B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797361A (en) * 2017-12-05 2018-03-13 北京小米移动软件有限公司 Method of adjustment, device and the storage medium of flash lamp
CN108135046A (en) * 2017-08-16 2018-06-08 昆山人因健康工程研发中心有限公司 A kind of colour temperature adjusts lighting system and its colour temperature real-time regulating method in real time
CN108541097A (en) * 2017-03-03 2018-09-14 长城汽车股份有限公司 Color temperature adjusting method, system and the vehicle of car light
CN110636683A (en) * 2019-10-14 2019-12-31 上海雷盎云智能技术有限公司 Light control method and device for smart home
CN113677061A (en) * 2021-07-12 2021-11-19 深圳市国华光电科技有限公司 Color temperature adjusting method, color temperature adjusting system and lamp
CN113677061B (en) * 2021-07-12 2024-04-26 深圳市国华光电科技有限公司 Color temperature adjusting method, color temperature adjusting system and lamp

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101861013A (en) * 2010-04-30 2010-10-13 鸿富锦精密工业(深圳)有限公司 Intelligent lamp and control method thereof
CN102213382A (en) * 2010-04-09 2011-10-12 上海广茂达光艺科技股份有限公司 Intelligent lamp and lighting system
CN102281680A (en) * 2011-06-29 2011-12-14 福州大学 Automatic adjusting color temperature illumination system based on visual perception of human eyes
CN102711336A (en) * 2012-06-15 2012-10-03 四川新力光源有限公司 Daylight lighting simulation device
CN103945604A (en) * 2014-04-03 2014-07-23 京东方光科技有限公司 Light adjusting method, light adjusting device, adjustable light source and display equipment
CN104981077A (en) * 2015-07-20 2015-10-14 联想(北京)有限公司 Color temperature control method, color temperature control device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102213382A (en) * 2010-04-09 2011-10-12 上海广茂达光艺科技股份有限公司 Intelligent lamp and lighting system
CN101861013A (en) * 2010-04-30 2010-10-13 鸿富锦精密工业(深圳)有限公司 Intelligent lamp and control method thereof
CN102281680A (en) * 2011-06-29 2011-12-14 福州大学 Automatic adjusting color temperature illumination system based on visual perception of human eyes
CN102711336A (en) * 2012-06-15 2012-10-03 四川新力光源有限公司 Daylight lighting simulation device
CN103945604A (en) * 2014-04-03 2014-07-23 京东方光科技有限公司 Light adjusting method, light adjusting device, adjustable light source and display equipment
CN104981077A (en) * 2015-07-20 2015-10-14 联想(北京)有限公司 Color temperature control method, color temperature control device and electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108541097A (en) * 2017-03-03 2018-09-14 长城汽车股份有限公司 Color temperature adjusting method, system and the vehicle of car light
CN108135046A (en) * 2017-08-16 2018-06-08 昆山人因健康工程研发中心有限公司 A kind of colour temperature adjusts lighting system and its colour temperature real-time regulating method in real time
CN108135046B (en) * 2017-08-16 2023-08-11 昆山人因健康工程研发中心有限公司 Real-time color temperature adjusting lighting system and real-time color temperature adjusting method thereof
CN107797361A (en) * 2017-12-05 2018-03-13 北京小米移动软件有限公司 Method of adjustment, device and the storage medium of flash lamp
CN107797361B (en) * 2017-12-05 2020-10-13 北京小米移动软件有限公司 Flash lamp adjusting method and device and storage medium
CN110636683A (en) * 2019-10-14 2019-12-31 上海雷盎云智能技术有限公司 Light control method and device for smart home
CN113677061A (en) * 2021-07-12 2021-11-19 深圳市国华光电科技有限公司 Color temperature adjusting method, color temperature adjusting system and lamp
CN113677061B (en) * 2021-07-12 2024-04-26 深圳市国华光电科技有限公司 Color temperature adjusting method, color temperature adjusting system and lamp

Also Published As

Publication number Publication date
CN106455266B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN106455266B (en) A kind of color temperature adjustment device and method
CN107222953B (en) Numerical model analysis dims constant-current controller integrated circuit
CN102711336B (en) Daylight lighting simulation device
CN106993357B (en) A kind of LED lamp system and its implementation adjusted according to ambient light
CN207083257U (en) Numerical model analysis dims constant-current controller and drives the device of current source loadses
CN103796374A (en) LED illumination control system
CN107257591A (en) A kind of LED intelligent illumination wireless control system based on Zigbee and Qt
CN107809814B (en) Four-channel LED dimming system for synthesizing white light with high color rendering index
CN204578832U (en) A kind of strengthen human body round the clock timing the rhythm and pace of moving things intelligent health illuminator
CN206226780U (en) Intelligent LED lighting system based on non-vision photo-biological effect
CN103857154A (en) Adjustable LED optical driving controller
CN206042448U (en) Intelligent lighting control system of separate room office
CN203812540U (en) Display screen brightness control device, display device and air conditioning
CN104735869A (en) Lamplight control system based on vision comfort level and control method
CN204836693U (en) Energy -conserving lighting control system of wireless mode
CN110300486A (en) Digital intelligent Healthy Lighting control system
CN203814014U (en) LED intelligent stage lamp control device
CN103037578A (en) Spectral precision self-adaptive control system
CN206118124U (en) But low pressure is remote control light modulation lamp cluster regularly
CN204465979U (en) A kind of lamp light control system of view-based access control model comfort level
CN203675379U (en) LED intelligent controlling terminal
CN210405741U (en) Digital intelligent healthy lighting control system
CN204539536U (en) A kind of illumination intelligent controller
CN204046884U (en) Intelligent lighting wireless control module
CN206821053U (en) A kind of mouth lamp of infrared induction control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant