1. Technical Field
The present disclosure relates to a system and method for adjusting color temperature.
2. Description of the Related Art
Many LED lamps includes a number of LED modules each with a different color temperature, and the luminance of the LED modules can be adjusted by pulse width modulation (PWM) signals provided by constant-current drive circuit of each LED module, thus the color temperature of the LED lamps can be adjusted to a desired value. Integrated circuits (ICs) may be employed in the LED lamp to adjust the color temperature values of the LED lamp over a wide range. However, these ICs have complicated structures and are expensive.
Therefore, there is room for improvement within the art.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Referring to
When a user inputs a desired value for a correlated color temperature (CCT) via the setting unit 5, the setting unit 5 generates signals for adjusting the color temperature of the LED unit 4 to the desired value CCT in response to the user's input. In the embodiment, the setting unit 5 may be a touch panel with a display screen, a keyboard, a remote control or the like.
The processing unit 2 includes a storage module 21, a calculating module 22, and an executing module 23. The storage module 21 is configured to store a table, as shown below, the table includes a coefficient X column which records a coefficient for each desired value, a I1 column, and a I2 column which respectively record first current values I1 of the current flowing through the first LED module 41, and second current values I2 of the current flowing through the second LED module 42, to achieve the desired values.
The table stored in the storage module 21
The first current values I1 are inversely proportional to the desired value of CCT, and the second current values I2 are directly proportional to the desired value CCT. For example, if 3600K is input, via the setting unit 5, as the desired value CCT, the corresponding first current value I1 and the corresponding second current value I2 are found to be 56.31 mA and 38.28 mA respectively from the table, as show above. If the desired value CCT input via the setting unit 5 is 3800K, the corresponding first current value I1 and the corresponding second current value I2 of the coefficient X are obtained from the table and found to be 47.32 mA and 47.26 mA respectively, as shown above.
The calculating module 22 is configured to apply one or more formulas for calculating the coefficient X by comparing the desired value CCT with a threshold value CCT(0) in response to the signals generated by the setting unit 5.
In the embodiment, there are three predetermined formulas used to calculate the coefficient X, the three predetermined formulas are:
CCT(0)=CCT(1)+ΔCCT*A0; First formula:
when CCT<=CCT(0),CCT=CCT(1)+ΔCCT*(1−X)*A1; and Second formula:
when CCT>CCT(0), CCT=CCT(2)−ΔCCT*X*A2. Third formula:
In the three formulas, A0, A1, A2 are constant values preset according to an illumination device employing the system 1. CCT(1) is the color temperature value of the first LED module 41. CCT(2) is the color temperature value of the second LED module 42. ΔCCT is a fixed value difference between the color temperature value of the second LED module 42 CCT(2) and the color temperature value of the first LED module 41 CCT(1). In the embodiment, ΔCCT is 3800K (solving 6500-2700). CCT(0) is the fixed threshold value calculated according to the first formula. The executing module 23 determines the choice of formula from between the second formula and the third formula to calculate the coefficient X by comparing the desired value CCT with the threshold value CCT(0). If the desired value CCT is equal to or less than the threshold value CCT(0), the second formula is used to calculate the coefficient X. If the desired value CCT is greater than the threshold value CCT(0), the first formula is used to calculate the coefficient X.
The executing module 23 is configured to determine the first current value I1 and the second current value I2 according to the coefficient value X produced by the calculating module 22.
The constant-current drive unit 3 includes a first drive module 31 connected to the first LED module 41, and a second drive module 32 connected to the second LED module 42. The first drive module 31 and the second drive module 32 are both connected to the executing module 23. The first drive module 31 is configured to generate a first modulated signal to adjust the current flowing through the first LED module 41 to equal the first current value I1 as determined by the executing module 23. The second drive module 32 is configured to generate a second modulated signal to adjust the current flowing through the second LED module 42 to equal the second current value I2 as determined by the executing module 23. Thereby, the color temperature value of the overall LED unit 4 may be adjusted to be the desired value for CCT.
For example, if the desired value CCT set by the setting unit 5 is 2800K which is less than the threshold value CCT(0), the second formula is selected to calculate the coefficient X and the calculating module 22 functions accordingly to establish 0.9522 as the coefficient X. Thus, the corresponding first current value I1 (60 mA) and the corresponding second current value I2 (2.7 mA) of the coefficient X can be obtained from the table as shown above. The first drive module 31 generates the first modulated signal to adjust the current flowing through the first LED module 41 to be 60.00 mA, and the second drive module 32 generates the second modulated signal to adjust the current flowing through the second LED module 42 to be 2.7 mA. In this way, the color temperature color value of the LED unit 4 is adjusted to the desired value (2800K).
In step S60, the setting unit 5 generates adjusting signals to achieve the desired value for CCT in response to user's operation.
The setting unit 5 may be a touch panel with a display screen, a keyboard, or a remote control.
In step S61, the calculating module 22 determines the formula to be applied in calculating the coefficient X by comparing the desired value CCT with the threshold value CCT(0) when receiving the adjusting signals generated by the setting unit 5.
In the embodiment, there are three predetermined formulas available for calculating the coefficient value X, the three predetermined formulas are:
CCT(0)=CCT(1)+ΔCCT*A0; First formula:
when CCT<=CCT(0),CCT=CCT(1)+ΔCCT*(1−X)*A1; and Second formula:
when CCT>CCT(0), CCT=CCT(2)−ΔCCT*X*A2. Third formula:
In the three formulas, A0, A1, A2 are constant values. CCT(1) is the lowest color temperature value of the LED unit 4, namely, the color temperature value of the first LED module 41. CCT(2) is the highest color temperature value of the LED unit 4, namely, the color temperature value of the second LED module 42. ΔCCT is a fixed value difference between the highest color temperature value CCT(2) and the lowest color temperature value CCT(1) of the LED unit 4. In the embodiment, ΔCCT is 3800K (solving 6500-2700). CCT(0) is a fixed threshold value calculated according to the first formula. If the desired value CCT is equal to or less than the threshold value CCT(0), the second formula is used to calculate the coefficient X. If the desired value CCT is greater than the threshold value CCT(0), the third formula is used to calculate the coefficient X.
In step S62, the calculating module 22 selects the formula to be applied in calculating the coefficient value X. The coefficient value X is a ratio of the color temperature value of the first LED module 41 over the desired value CCT.
In step S63, the executing module 23 establishes the first current value I1 and the second current value I2 according to the coefficient value X as calculated by the calculating module 22.
In step S64, the first drive module 31 generates the first modulated signal to adjust the amount of current flowing through the first LED module 41 to equal the established first current value I1, and the second drive module 32 generates the second modulated signal to adjust the amount of current flowing through the second LED module 42 to equal the established second current value I2, thereby adjusting the color temperature value of the LED unit 4 to match the desired color temperature value.
It is understood that the present disclosure may be embodied in other forms without departing from the spirit thereof. The present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the disclosure is not to be limited to the details given herein.
Number | Date | Country | Kind |
---|---|---|---|
201110389680.7 | Nov 2011 | CN | national |