CN106455266B - A kind of color temperature adjustment device and method - Google Patents

A kind of color temperature adjustment device and method Download PDF

Info

Publication number
CN106455266B
CN106455266B CN201610942325.0A CN201610942325A CN106455266B CN 106455266 B CN106455266 B CN 106455266B CN 201610942325 A CN201610942325 A CN 201610942325A CN 106455266 B CN106455266 B CN 106455266B
Authority
CN
China
Prior art keywords
luminescent device
current time
module
brightness information
triple channel
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.)
Active
Application number
CN201610942325.0A
Other languages
Chinese (zh)
Other versions
CN106455266A (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

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present invention discloses a kind of color temperature adjustment device and method, is related to lighting technical field, and the color temperature adjustment real-time to solve the problems, such as luminescent device is poor, low precision.Color temperature adjustment device includes: computing unit and control unit, and the output end of computing unit and the input terminal of control unit connect;Computing unit is used to obtain luminescent device in the duty ratio of the RGB triple channel at current time according to current environment brightness information and current environment brightness information corresponding current time;Control unit is used for the duty ratio according to luminescent device in the RGB triple channel at current time, adjusts colour temperature of the luminescent device under current time environment.The method of color temperature adjustment includes the color temperature adjustment device that above-mentioned technical proposal is mentioned.Color temperature adjustment device provided by the invention is in real time, accurately adjusting the colour temperature of luminescent device.

Description

A kind of color temperature adjustment device and method
Technical field
The present invention relates to lighting technical field more particularly to a kind of color temperature adjustment device and methods.
Background technique
Colour temperature is a kind of index for measuring 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 It is warmer, and the color temperature value of light is colder or partially warm can all make one not feeling good, it is seen then that colour temperature can influence the mood of people, because This, is both provided with color temperature adjustment device in more and more luminescent devices.
Existing color temperature adjustment device mainly adjusts colour temperature in the following way: first way is set in luminescent device Set memory, in memory the light emission color temperature of preset color temperature adjustment formula control luminescent device, luminescent device according to The characteristic of the intensity of current environment light redistributes the RGB three coloured light ratio of luminescent device sending by color temperature adjustment formula, from And adjust the colour temperature of luminescent device;The second way is that the setting mild cool white of warm white is spaced apart in the lamp bar of luminescent device The lamp bead of colour temperature is realized by the lamp bead of the mild cool white colour temperature of warm white of distribution setting and carries out colour temperature to the light that lamp bar issues It adjusts;The third mode is to acquire human body physiological parameter using sensor, for example, acquisition human eye blinking under lighting device light Eye frequency, by the analysis to user's frequency of wink Parameters variation, whether judgement fits when the light that front lighting device light issues Preferably, colour temperature then is adjusted using the microcontroller of luminescent device.
However, when adjusting the colour temperature of luminescent device using first way, in actual use due to environment light Uncertainty, color temperature adjustment formula are equally difficult to set, so that color temperature adjustment be caused to there are problems that real-time is poor, low precision; When adjusting the colour temperature of luminescent device using the second way, since the lamp bead of the mild cool white colour temperature of warm white is all to set in advance It is fixed, therefore fixed colour temperature can only be exported, i.e., colour temperature cannot be adjusted in real time using the luminescent device of which;And using the When colour temperature of three kinds of modes to adjust luminescent device, since there are errors when acquiring to human parameters for sensor, use The colour temperature of luminescent device, which is adjusted, in this method has low precision.
Summary of the invention
The purpose of the present invention is to provide a kind of color temperature adjustment device and methods, are able to solve luminescent device in the prior art The problem of color temperature adjustment real-time is poor, low precision.
To achieve the goals above, the invention provides the following technical scheme:
A kind of color temperature adjustment device, comprising: computing unit and control unit, the output end of the computing unit and control are single The input terminal connection of member;
The computing unit is used for according to current environment brightness information and current environment brightness information corresponding current time, Luminescent device is obtained in the duty ratio of the RGB triple channel at current time;
Described control unit is used for the duty ratio according to luminescent device in the RGB triple channel at current time, adjusts photophore Colour temperature of the part under current time environment.
Compared with prior art, color temperature adjustment device provided by the invention has the advantages that
Color temperature adjustment device provided by the invention, computing unit calculate and are suitble to currently according to current environment brightness information The RGB triple channel duty ratio of luminescent device under environment, control unit is according to luminescent device under calculated suitable current environment RGB triple channel duty ratio adjusts the RGB triple channel duty ratio of luminescent device, makes the RGB triple channel duty ratio and meter of luminescent device Calculation unit calculates luminescent device RGB triple channel duty ratio under suitable current environment and is consistent, to enable control unit The accurate colour temperature for adjusting luminescent device;In addition, the luminance information due to environment light can change with the variation of time, calculate single The luminance information of first real-time reception current environment light, and the luminance information of the environment light according to real-time change calculate in real time It is suitble to the RGB triple channel duty ratio of luminescent device under current environment out, control unit is according under calculated suitable current environment The RGB triple channel duty ratio of luminescent device adjusts the colour temperature of luminescent device in real time;Therefore, control unit can in real time, accurately Adjusting luminescent device colour temperature.
The present invention also provides a kind of methods of color temperature adjustment, comprising:
According to current environment brightness information and current environment brightness information corresponding current time, obtains luminescent device and working as The duty ratio of the RGB triple channel at preceding moment;
According to luminescent device in the duty ratio of the RGB triple channel at current time, luminescent device is adjusted in current time environment Under colour temperature.
Compared with prior art, the beneficial effect of the method for color temperature adjustment provided by the invention and above-mentioned technical proposal provide Color temperature adjustment device beneficial effect it is identical, this will not be repeated here.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of topology example figure for the color temperature adjustment device that the embodiment of the present invention one provides;
Fig. 2 is XD3072 chip and fpga chip connection schematic diagram in Fig. 1 neutral color temperature regulating device;
Fig. 3 is DS1302 chip and fpga chip connection schematic diagram in Fig. 1 neutral color temperature regulating device;
Fig. 4 is fpga chip and PIC24FV16KA301 single-chip microcontroller connection schematic diagram in Fig. 1 neutral color temperature regulating device;
Fig. 5 is the method flow diagram of color temperature adjustment provided by Embodiment 2 of the present invention;
Fig. 6 be the embodiment of the present invention two in luminescent device the duty ratio of the RGB triple channel at current time method flow Figure;
Fig. 7 is the method flow diagram that colour temperature of the luminescent device under current time environment is adjusted in the embodiment of the present invention two;
Fig. 8 is acquisition 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.
Appended drawing reference:
1- light sensing unit, 2- clock unit,
3- computing unit, 4- control unit,
11- optical sensing module, 12-A/D conversion module,
The first computing module of 31-, the second computing module of 32-,
41- pulse receiving module, 42- pulse modulation module,
43- pulse distribution module.
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 one
Referring to Fig. 1, color temperature adjustment device provided in an embodiment of the present invention includes: computing unit 3 and control unit 4, meter The output end for calculating unit 3 is connect with the input terminal of control unit 4;
Computing unit 3 is used to be obtained according to current environment brightness information and current environment brightness information corresponding current time To luminescent device the RGB triple channel at current time duty ratio;
Control unit 4 is used for the duty ratio according to luminescent device in the RGB triple channel at current time, adjusts luminescent device and exists Colour temperature under current time environment.
Fig. 1 and Fig. 6 are please referred to, during specific implementation, color temperature adjustment device provided in this embodiment adjusts colour temperature Concrete mode it is as follows:
S1: computing unit 3 calculates suitable current environment brightness according to the ambient brightness information of current real-time change in real time The RGB triple channel duty ratio of luminescent device under information, and by the RGB triple channel duty cycle transmissions obtained to control unit 4;
S2: control unit 4 is adjusted according to the RGB triple channel duty ratio of luminescent device under calculated suitable current environment The RGB triple channel duty ratio of luminescent device calculates the RGB triple channel duty ratio of luminescent device with computing unit 3 and is suitble to work as Preceding environment issues optical device RGB triple channel duty ratio and is consistent, to can accurately adjust photophore by control unit 4 The colour temperature of part.
By above-mentioned specific implementation process it is found that the computing unit 3 in the present embodiment is according to current environment brightness information, meter The RGB triple channel duty ratio for being suitble to luminescent device under current environment is calculated, control unit 4 is according to photophore under suitable current environment The RGB triple channel duty ratio of part adjusts the RGB triple channel duty ratio of luminescent device, makes the RGB triple channel duty ratio of luminescent device It calculates luminescent device RGB triple channel duty ratio under suitable current environment with computing unit 3 to be consistent, thus single by control Member 4 can accurately adjust the colour temperature of luminescent device;In addition, the luminance information due to environment light can change with the variation of time Become, the luminance information of 3 real-time reception current environment light of computing unit, and the luminance information of the environment light according to real-time change, The RGB triple channel duty ratio of luminescent device under suitable current environment is calculated in real time, and control unit 4 is suitble to according to calculated The RGB triple channel duty ratio of luminescent device under current environment adjusts the colour temperature of luminescent device in real time;Therefore, 4 energy of control unit Enough colour temperatures in real time, accurately adjusting luminescent device.
It is understood that in above-described embodiment control unit 4 according to luminescent device current time RGB triple channel Duty ratio, adjust colour temperature of the luminescent device under current time environment, in particular to: the value of RGB triple channel duty ratio is inputted Into the three primary colors control circuit of control unit 4, the RGB triple channel duty of luminescent device is controlled by three primary colors control circuit Than to adjust the colour temperature of luminescent device.
In addition, the three primary colors control circuit in above-described embodiment is the existing control circuit in this field, herein no longer to three The specific structure of primary colors control circuit is repeated.
It should be noted that the color temperature adjustment device in Fig. 1 further include: light sensing unit 1 and clock unit 2, light sensing The output end of unit 1 is connect with the input terminal of computing unit 3, and the output end of clock unit 2 and the input terminal of computing unit 3 connect It connects;Light sensing unit 1 obtains current environment brightness information for obtaining ambient light fluxes;Clock unit 2 works as front ring for providing At the time of border luminance information corresponds to.As it can be seen that the current environment brightness information in computing unit is provided by light sensing unit 1, currently It is then provided by clock unit 2 at the time of ambient brightness information corresponds to.
Specifically, light sensing unit 1 includes: optical sensing module 11 and A/D conversion module 12, light sensation please continue to refer to Fig. 1 The output end for surveying module 11 is connect with the input terminal of A/D conversion module 12, the output end and computing unit 3 of A/D conversion module 12 Input terminal connection;Optical sensing module 11 obtains current environment brightness information for obtaining ambient light fluxes;A/D conversion module 12 for being converted into digital signal for the analog signal of current environment brightness information.
Fig. 1 and Fig. 8 are please referred to, the concrete mode for obtaining current environment brightness information is as follows:
S1: optical sensing module 11 obtains ambient light fluxes, obtains the luminance information of current environment, and by the bright of current environment Degree information is exported to A/D conversion module 12;
The analog signal of current environment brightness information is converted into digital signal by S2:A/D conversion module 12.
By above-mentioned specific implementation process it is found that passing through A/D conversion module 12 for the analog signal of current environment brightness information It is converted into digital signal, can be improved the jamproof performance that ambient brightness information is transmitted in circuit.
Referring to Fig. 3, and in order to guarantee 2 timing accuracy of clock unit, in clock unit 2 be equipped with power module, this Kind power module is built-in with independent current source, powers to clock unit 2, can be avoided using independent current source to the power supply of clock unit 2 Clock unit 2 color temperature adjustment device provided by the above embodiment power-off after, cause clock unit 2 stop timing the problem of, from And clock unit 2 is enable to continue timing;Further, since clock unit 2 is built-in with independent current source, avoids clock unit 2 and exist After external power supply breaks down, the problem of clock unit 2 can not work, it is single to calculating to guarantee that clock unit 2 can continue Member 3 provides current environment brightness information at the time of correspond to, thus enable 3 real-time reception of computing unit to current time environment Luminance information.
Specifically, the realization structure of computing unit 3 is varied in above-described embodiment, carried out below with reference to Fig. 1 further Explanation.
Referring to Fig. 1, computing unit 3 includes the first computing module 31 and the second computing module 32, the first computing module 31 Output end connect with the input terminal of the second computing module 32, the input of the output end of the second computing module 32 and control unit 4 End connection;
When first computing module 31 is used for according to current environment brightness information and corresponding current current environment brightness information It carves, obtains luminescent device in the PWM duty cycle of the RGB at current time;
Second computing module 32 is used to obtain luminescent device in the PWM duty cycle of the RGB at current time according to luminescent device In the duty ratio of the RGB triple channel at current time.
Fig. 1 and Fig. 6 are please referred to, during specific implementation, obtains being suitble to hair under current time ambient brightness information The duty ratio mode of the RGB triple channel of optical device is as follows:
At the time of the luminance information and current environment brightness information of S11: the first computing module 31 reception current environment correspond to, And luminescent device is calculated in the PWM duty cycle of the RGB at current time;
The PWM duty cycle of the RGB at the current time that the S12: the second computing module 32 is obtained according to the first computing module, passes through Luminescent device is calculated in the duty ratio of the RGB triple channel at current time.
By above-mentioned specific implementation process it is found that since current environment brightness information is as the variation of time changes , the first computing module 31 receives current time in the case where receiving ambient brightness information, in conjunction with current time to working as Preceding environmental light brightness information is calculated, and therefore, can obtain the PWM for the RGB being suitble under current environmental light brightness information in real time Duty ratio, to enable the second computing module 32 that luminescent device to be calculated in real time under current time ambient brightness information The duty ratio of RGB triple channel.
It should be noted that in practical applications in order to simplify circuit, using can be achieved at the same time the first computing module 31 The fpga chip of 32 function of function and the second computing module replaces the first computing module 31 and the second computing module 32.
Preferably, fuzzy neural network algorithm is implanted into fpga chip, according to the luminance 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 Cease the duty ratio of lower RGB triple channel.
In order to enable control unit 4 to accurately control luminescent device RGB triple channel under current time ambient brightness information Duty ratio, a kind of specific structure of control unit 4 is given below, is further described in conjunction with Fig. 1.
Referring to Fig. 1, control unit 4 includes pulse receiving module 41, pulse modulation module 42 and pulse distribution module 43, The output end of pulse receiving module 41 is connect with the input terminal of pulse modulation module 42, the output end and arteries and veins of pulse modulation module 42 Rush the input terminal connection of distribution module 43;
Pulse receiving module 41 is used to receive the pulse of luminescent device;
Pulse modulation module 42 is used to each pulse received splitting into multiple subpulses by way of pulsewidth modulation;
Pulse distribution module 43 is used for the duty ratio according to luminescent device in the RGB triple channel at current time, by multiple sons Pulse is divided into three parts, makes the channel R 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 The channel G in the RGB triple channel of luminescent device, the channel B in the RGB triple channel of third one's share of expenses for a joint undertaking pulsed drive luminescent device are adjusted Save colour temperature of the luminescent device under current time environment.
Fig. 1 and Fig. 7 are please referred to, the mode that control unit 4 adjusts colour temperature of the luminescent device under current time environment is as follows:
S21: the pulse of the reception luminescent device of pulse receiving module 41;
S22;Each pulse received is splitted into multiple subpulses by pulse modulation module 42 by way of pulsewidth modulation;
S23: pulse distribution module 43 according to luminescent device the RGB triple channel at current time duty ratio, by multiple sons Pulse is divided into three parts, makes the channel R 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 The channel G in the RGB triple channel of luminescent device, the channel B in the RGB triple channel of third one's share of expenses for a joint undertaking pulsed drive luminescent device are adjusted Save colour temperature of the luminescent device under current time environment.
By above-mentioned specific implementation process it is found that being driven by the pulse in 41 real-time reception luminescent device of pulse receiving module The pulse of dynamic transmitting, with the change of luminescent device colour temperature, the pulse of the pulsed drive transmitting in luminescent device can also change therewith Become, pulse receiving module 41 by real-time reception to pulse be transferred to pulse modulation module 42, pulse modulation module 42 will be each The pulse received splits into multiple subpulses by way of pulsewidth modulation, and pulse distribution module 43 is according to the second computing module 32 The duty ratio of the RGB triple channel of luminescent device under the suitable current environment obtained, multiple sons that pulse modulation module 42 is splitted into Pulse is divided into three parts, makes the channel R in the RGB triple channel of the first one's share of expenses for a joint undertaking pulsed drive luminescent device, drives the second one's share of expenses for a joint undertaking pulse The channel G in the RGB triple channel of dynamic luminescent device, the channel B in the RGB triple channel of third one's share of expenses for a joint undertaking pulsed drive luminescent device, The ratio that pulse distribution module 43 is divided into three parts by controlling multiple subpulses, accurately controls the duty ratio of RGB triple channel, from And it can accurately control the colour temperature of luminescent device.
It is understood that the multiple subpulses splitted into are divided into three parts by pulse modulation module 42, every part of ratio can be with It is equal to wait, specific allocation proportion by computing unit 3 according to current environment brightness information, it is calculated be suitble to it is current Under environment depending on the value of the RGB triple channel duty ratio of luminescent device.
It should be noted that control unit 4 is preferably PIC24FV16KA301 single-chip microcontroller for simplified control circuit, PIC24FV16KA301 single-chip microcontroller can be realized the function of pulse receiving module 41, pulse modulation module 42 and pulse distribution module 43 Energy.
And in order to enable color temperature adjustment device in real time, accurately to adjust the colour temperature of luminescent device, it is given below one The kind specific circuit connecting relation of color temperature adjustment device.
Light sensing unit 1 uses XD3072 chip, and clock unit 2 uses DS1302 chip, and computing unit 3 uses FPGA core Piece, control unit 4 use PIC24FV16KA301 single-chip microcontroller.
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.
It can be seen that from Fig. 2, Fig. 3 and Fig. 4 that: 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 microcontroller 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, referring to Fig. 2, XD3072 chip and the specific connection relationship of fpga chip are as follows:
ADDR pin ground connection in XD3072 chip;
One end of VDD pin in XD3072 chip and C1 capacitor and C2 capacitor and downlink connection, the other end of C1 capacitor and The other end of C2 capacitor is grounded;
GND pin ground connection in XD3072 chip;
One end of REXT pin and resistance in XD3072 chip connects, the other end ground connection of resistance;
SDA pin in XD3072 chip is connect with the DATA pin in fpga chip, wherein the first pull-up resistor R1 Connecting line connection between DATA pin in SDA pin in one end and XD3072 chip and fpga chip, pull-up resistor R1 The other end ground connection;
SCL pin in XD3072 chip is connect with the DCLK pin in fpga chip, one end of the second pull-up resistor R2 Connecting line connection between being connect with the DCLK pin in the SCL pin in XD3072 chip and fpga chip, pull-up resistor R2 The other end ground connection;
INT pin in XD3072 chip is connect with the INT pin in fpga chip, one end of third pull-up resistor R3 with The connecting line connection that INT pin in XD3072 chip is connect with the INT pin in fpga chip, the other end of pull-up resistor R3 Ground connection.
Referring to Fig. 3, the specific connection relationship of DS1302 chip and fpga chip is as follows:
X1 pin and X2 pin in DS1302 chip are connect with the positive and negative anodes of independent current source respectively;
GND pin ground connection in DS1302 chip;
SCLK pin in DS1302 chip is connect with the DCLK pin in fpga chip;
I/O pin in DS1302 chip is connect with the INOUT pin in fpga chip;
CE pin in DS1302 chip is connect with the NCE pin in fpga chip.
Referring to Fig. 4, the connection of fpga chip and PIC24FV16KA301 single-chip microcontroller is as follows:
DATA0 pin in fpga chip is connect with the RA0 pin in fpga chip;
CCLK pin in fpga chip is connect with the RA1 pin in fpga chip;
PROGRA pin in fpga chip is connect with the RBO pin in fpga chip;
CONF DONE in fpga chip is connect with the RB1 pin in fpga chip;
RB2 pin connection in INT and fpga chip in fpga chip.
Please continue to refer to Fig. 4, the connection of PIC24FV16KA301 single-chip microcontroller and luminescent device is as follows:
VSS pin ground connection in PIC24FV16KA301 single-chip microcontroller;
One end of VDD pin connection capacitor C3 in PIC24FV16KA301 single-chip microcontroller, the other end ground connection of capacitor C3;
The channel PWN-B of RB13 pin connection luminescent device in PIC24FV16KA301 single-chip microcontroller;
The channel PWM-G of RB14 pin connection luminescent device in PIC24FV16KA301 single-chip microcontroller;
The channel PWM-R of RB15 pin connection luminescent device in PIC24FV16KA301 single-chip microcontroller.
Embodiment two
Referring to Fig. 5, the embodiment of the present invention provides a kind of method of color temperature adjustment, comprising:
S1: according to current environment brightness information and current environment brightness information corresponding current time, luminescent device is obtained In the duty ratio of the RGB triple channel at current time;
S2: according to luminescent device in the duty ratio of the RGB triple channel at current time, luminescent device is adjusted in current time ring Colour temperature under border.
Compared with prior art, the color temperature adjustment that the method for color temperature adjustment of the embodiment of the present invention and above-described embodiment one provide The beneficial effect of device is identical, and this will not be repeated here.
Referring to Fig. 6, it is as follows in the method for the duty ratio of the RGB triple channel at current time to obtain luminescent device:
S11: according to current environment brightness information and current environment brightness information corresponding current time, luminescent device is obtained In the PWM duty cycle of the RGB at current time;
S12: according to luminescent device in the PWM duty cycle of the RGB at current time, luminescent device is obtained at current time The duty ratio of RGB triple channel.
By above-mentioned specific implementation process it is found that since current environment brightness information is as the variation of time changes , in the case where receiving ambient brightness information, it is also necessary to while current time is received, in conjunction with current time to current environment light Luminance information is calculated, and therefore, can obtain the PWM duty cycle for the RGB being suitble under current environmental light brightness information in real time, from And the duty ratio of luminescent device RGB triple channel under current time ambient brightness information can be calculated in real time.
Referring to Fig. 7, the method for adjusting colour temperature of the luminescent device under current time environment is as follows:
S21: the pulse of luminescent device transmitting is received;
S22: each pulse received is splitted into multiple subpulses by way of pulsewidth modulation;
S23: according to luminescent device the RGB triple channel of the luminescent device at current time duty ratio, by multiple subpulses It is divided into three parts, makes the channel R 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 shines The channel G in the RGB triple channel of device, the channel B in third one's share of expenses for a joint undertaking pulsed drive RGB triple channel adjust luminescent device and are working as Colour temperature under preceding moment environment.
Compared with prior art, the color temperature adjustment that the method for color temperature adjustment of the embodiment of the present invention and above-described embodiment one provide The beneficial effect of device is identical, and this will not be repeated here.
Referring to Fig. 8, the method for obtaining current environment brightness information is as follows:
S31: ambient light fluxes are obtained and export current environment brightness information;
S32: the analog signal of current environment brightness information is converted into digital signal.
Through the foregoing embodiment it is found that the analog signal of current environment brightness information is converted into digital signal, Neng Gouti The jamproof performance that high environment luminance information transmits in circuit.
In the description of above embodiment, particular features, structures, materials, or characteristics can be at any one or more It can be combined in any suitable manner in a embodiment or example.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all cover Within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of color temperature adjustment device characterized by comprising computing unit and control unit, the output of the computing unit End is connect with the input terminal of control unit;
The computing unit is used to be obtained according to current environment brightness information and current environment brightness information corresponding current time Duty ratio of the luminescent device in the RGB triple channel at current time;
Described control unit is used for the duty ratio according to luminescent device in the RGB triple channel at current time, adjusts luminescent device and exists Colour temperature under current time environment;
Described control unit includes pulse receiving module, pulse modulation module and pulse distribution module, the pulse receiving module Output end connect with the input terminal of the pulse modulation module, the output end of the pulse modulation module and pulse distribution module Input terminal connection;
The pulse receiving module is used to receive the pulse of luminescent device;
The pulse modulation module is used to each pulse received splitting into multiple subpulses by way of pulsewidth modulation;
The pulse distribution module is used for the duty ratio according to luminescent device in the RGB triple channel at current time, by multiple sub- arteries and veins Punching is divided into three parts, makes the channel R 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 The channel G in the RGB triple channel of luminescent device, the channel B in the RGB triple channel of third one's share of expenses for a joint undertaking pulsed drive luminescent device are adjusted Save colour temperature of the luminescent device under current time environment.
2. color temperature adjustment device according to claim 1, which is characterized in that the computing unit includes the first computing module With the second computing module, the output end of first computing module is connect with the input terminal of second computing module, and described The output end of two computing modules and the input terminal of described control unit connect;
First computing module is used for according to current environment brightness information and current environment brightness information corresponding current time, Luminescent device is obtained in the PWM duty cycle of the RGB at current time;
PWM duty cycle of second computing module for the RGB according to luminescent device at current time, obtains luminescent device and exists The duty ratio of the RGB triple channel at current time.
3. color temperature adjustment device according to claim 1, which is characterized in that further include: light sensing unit and clock unit, The input terminal of the output end of the light sensing unit and computing unit connects, the output end of the clock unit and computing unit Input terminal connection;
The light sensing unit obtains current environment brightness information for obtaining ambient light fluxes;
The clock unit is for providing ambient brightness information corresponding current time.
4. color temperature adjustment device according to claim 1, which is characterized in that the light sensing unit includes: light sensing mould Block and A/D conversion module, the output end of the optical sensing module are connect with the input terminal of the A/D conversion module, and the A/D turns The output end of mold changing block is connect with the input terminal of the computing unit;
The optical sensing module obtains current environment brightness information for obtaining ambient light fluxes;
The A/D conversion module is used to the analog signal of current environment brightness information being converted into digital signal.
5. color temperature adjustment device according to claim 1, which is characterized in that be equipped with power module in the clock unit.
6. a kind of method of color temperature adjustment characterized by comprising
According to current environment brightness information and current environment brightness information corresponding current time, luminescent device is obtained when current The duty ratio of the RGB triple channel at quarter;
According to luminescent device in the duty ratio of the RGB triple channel at current time, luminescent device is adjusted under current time environment Colour temperature;
The method for adjusting colour temperature of the luminescent device under current time environment is as follows:
Receive the pulse of luminescent device transmitting;
Each pulse received is splitted into multiple subpulses by way of pulsewidth modulation;
According to luminescent device in the duty ratio of the RGB triple channel of the luminescent device at current time, multiple subpulses are divided into three parts, Make the channel R 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 The channel G in triple channel, the channel B in the RGB triple channel of third one's share of expenses for a joint undertaking pulsed drive luminescent device adjust luminescent device and are working as Colour temperature under preceding moment environment.
7. the method for color temperature adjustment according to claim 6, which is characterized in that obtain luminescent device at current time The method of the duty ratio of RGB triple channel is as follows:
According to current environment brightness information and current environment brightness information corresponding current time, luminescent device is obtained when current The PWM duty cycle of the RGB at quarter;
According to luminescent device in the PWM duty cycle of the RGB at current time, luminescent device is obtained in the RGB triple channel at current time Duty ratio.
8. the method for color temperature adjustment according to claim 6 characterized by comprising
It obtains ambient light fluxes and exports current environment brightness information;
The analog 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 CN106455266A (en) 2017-02-22
CN106455266B true 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)

Families Citing this family (5)

* 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
CN108135046B (en) * 2017-08-16 2023-08-11 昆山人因健康工程研发中心有限公司 Real-time color temperature adjusting lighting system and real-time color temperature adjusting method thereof
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
CN113677061B (en) * 2021-07-12 2024-04-26 深圳市国华光电科技有限公司 Color temperature adjusting method, color temperature adjusting system and lamp

Citations (5)

* 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
CN104981077A (en) * 2015-07-20 2015-10-14 联想(北京)有限公司 Color temperature control method, color temperature control device and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945604A (en) * 2014-04-03 2014-07-23 京东方光科技有限公司 Light adjusting method, light adjusting device, adjustable light source and display equipment

Patent Citations (5)

* 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
CN104981077A (en) * 2015-07-20 2015-10-14 联想(北京)有限公司 Color temperature control method, color temperature control device and electronic equipment

Also Published As

Publication number Publication date
CN106455266A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106455266B (en) A kind of color temperature adjustment device and method
CN103090238B (en) Light emitting diode (LED) light source illumination method and device with color temperature simulating natural light change along with time
CN105934025A (en) Intelligent illumination control system
CN102231932A (en) LED lamp with intelligent control
CN109068440A (en) A kind of energy-saving illumination intelligent control method and system
CN103561518A (en) Household intelligent dimming system
CN104390181A (en) Mobile phone Bluetooth-controlled LED ceiling lamp
CN100534256C (en) Respiration lamp controlling method and its device
CN103857154A (en) Adjustable LED optical driving controller
CN105491719A (en) LED plant growth lamp of considering human eye vision comfort
CN203279246U (en) LED lamp capable of adjusting color temperature
CN206118124U (en) But low pressure is remote control light modulation lamp cluster regularly
CN205005304U (en) Control system of LED lamp and light intensity sensor thereof
CN202160313U (en) Intelligent control LED lamp
CN104735869A (en) Lamplight control system based on vision comfort level and control method
CN203734889U (en) Constant illumination light sensation controller and constant illumination light sensation automatic control LED lamp tube
CN103491675A (en) Single PWM multi-group driving and power consumption accurate measurement method
CN100441063C (en) Lighting source device of adaptive regulating light-intensity in machine visual measuring system
CN204360046U (en) Intelligent color-changing glasses
CN105848340B (en) A kind of method for the intelligent LED lamp timing dimming for exempting from clock apparatus
CN104406101A (en) LED ceiling lamp with adjustable brightness and color temperature
CN205278982U (en) Automatic lamp device that discolours of feelings of following one's inclinations
CN204190977U (en) Multifunctional LED simulating nature light gradually bright system
CN203286306U (en) Color temperature adjustor and LED intelligent illumination system
CN204465979U (en) A kind of lamp light control system of view-based access control model comfort level

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