This non-provisional application claims priority claim under 35 U.S.C. §119(a) on Patent Application No. 103113385 filed in Taiwan, R.O.C. on Apr. 11th, 2014, the entire contents of which are hereby incorporated by reference herein.
1. Field of the Invention
This disclosure relates to a method for brightness control and, more particularly, to a method for brightness control, which is adapted to a light emitting device, capable of improving user experience, and having flexibility on system design.
2. Description of Related Art
On the other hand, waveform 120 shows that the output brightness is exponentially changed, which takes advantage of relatively easier design on the control circuit of the light emitting device, such as a circuit formed by serially connecting resistors and capacitors. The exponentially changing brightness is relatively gentle for users and shows obvious gradation on brightness. By this way the user experience is improved comparing to the prior art shown by waveform 110. However, the changing time of the exponentially changing brightness is either not easy to be possessed or too long, which causes inconvenience on system design.
In view of the foregoing, a method for brightness control is provided. More particularly, a method for brightness control, which is adapted to a light emitting device, capable of improving user experience, and having flexibility on system design, is provided.
This disclosure provides a method for brightness control, adapted to a light emitting device, which emits a light of an output brightness. A plurality of brightness thresholds exists in between the minimal value and the maximal value of the output brightness, and each zone between the neighboring brightness thresholds defines a brightness zone which is with a brightness changing rate. The method for brightness control comprises the steps of: setting the output brightness to be an initial value, and controlling the light emitting device emitting the light accordingly; setting a target value, and controlling the output brightness changing from the initial value toward the target value with the brightness changing rate of the brightness zone corresponding to the initial value; controlling the output brightness changing toward the target value with the following brightness changing rate when the output brightness crossing one of the brightness thresholds and entering the following brightness zone, wherein the following brightness changing rate corresponds to the following brightness zone; and, stopping changing the output brightness when reaching the target value.
In one embodiment of this disclosure, the brightness changing rate of the brightness zone with larger brightness is larger than the brightness changing rate of the brightness zone with smaller brightness.
In one embodiment of this disclosure, the brightness changing rate of the brightness zone with larger brightness is twice as large as the brightness changing rate of the neighboring brightness zone with smaller brightness.
In one embodiment of this disclosure, each brightness threshold is twice as large as the neighboring smaller brightness threshold.
In one embodiment of this disclosure, the method for brightness control further comprises an approaching target value existing in between the initial value and the target value, and a plurality of target brightness thresholds existing in between the approaching target value and the target value, wherein when the output brightness changes and crosses one of the approaching target value and the target brightness thresholds, the brightness changing rate, which the output brightness is proceeding with, is decreased.
In one embodiment of this disclosure, when the target value is larger than the initial value, the approaching target value is defined as the target value minus 10 percent of the difference of the target value and the initial value, and when the target value is smaller than the initial value, the approaching target value is defined as the target value plus 10 percent of the difference of the target value and the initial value.
In one embodiment of this disclosure, the light emitting device is a light emitting diode.
This disclosure also provides a method for brightness control, adapted to a light emitting device, which is driven by a driving current and emits a light of an output brightness positive-correlated to the driving current. A plurality of current thresholds exists in between the minimal value and the maximal value of the driving current, and each zone between the neighboring current thresholds defining a current zone which is with a current changing rate. The method for brightness control comprising the steps of: setting the output brightness to be an initial value corresponding to an initial current value, and driving the light emitting device by the driving current of the initial current value; setting a target value corresponding to a target current value, and controlling the driving current changing from the initial current value toward the target current value with the current changing rate of the current zone corresponding to the initial current value; controlling the driving current changing toward the target current value with the following current changing rate when the driving current crossing one of the current thresholds and entering the following current zone, wherein the following current changing rate corresponds to the following current zone; and, stopping changing the driving current when reaching the target current value.
In one embodiment of this disclosure, the current changing rate of the current zone with larger current is larger than the current changing rate of the current zone with smaller current.
In one embodiment of this disclosure, the current changing rate of the current zone with larger current is twice as large as the current changing rate of the neighboring current zone with smaller current.
In one embodiment of this disclosure, each current threshold is twice as large as the neighboring smaller current threshold.
In one embodiment of this disclosure, the method for brightness control further comprises an approaching target current value existing in between the initial current value and the target current value, and a plurality of target current thresholds exists in between the approaching target current value and the target current value, wherein when the driving current changes and crosses one of the approaching target current value and the target current thresholds, the current changing rate, which the driving current is proceeding with, is decreased.
In one embodiment of this disclosure, when the target current value is larger than the initial current value, the approaching target current value is defined as the target current value minus 10 percent of the difference of the target current value and the initial current value, and when the target current value is smaller than the initial current value, the approaching target current value is defined as the target current value plus 10 percent of the difference of the target current value and the initial current value.
In one embodiment of this disclosure, the light emitting device is a light emitting diode.
The advantageous effect of this disclosure over conventional approaches is that the disclosed method for brightness control of this disclosure adopts “piece-wise linear” algorithm on the design of brightness changing. That is to say, firstly a plurality of brightness zones are defined, and then corresponding brightness changing rate is assigned to each of the brightness zones to present different effects when the brightness of a light emitting device is adjusted, which can bring better user experience and achieve flexible system design.
The structure as well as a preferred mode of use, further objects, and advantages of this disclosure will be best understood by referring to the following detailed description of some illustrative embodiments in conjunction with the accompanying drawings, in which:
The first step: set the output brightness to be an initial value, and control the light emitting device emitting the light accordingly. As is shown in step S210.
The second step: set a target value, and control the output brightness changing from the initial value toward the target value with the brightness changing rate of the brightness zone corresponding to the initial value. As is shown in step S220.
The third step: control the output brightness changing toward the target value with the following brightness changing rate when the output brightness crosses one of the brightness thresholds and entering the following brightness zone, wherein the following brightness changing rate corresponds to the following brightness zone. As is shown in step S230 and S240. In more detail, in step S230, if the decision of “the output brightness crosses one of the brightness thresholds and entering the following brightness zone” is “yes”, enter step S240 executing “control the output brightness changing toward the target value with the following brightness changing rate corresponding to the following brightness zone” and go back to step S230. If the decision of step S230 is “no”, enter step S250.
The fourth step: stop changing the output brightness when reaching the target value. As is shown in step S250 and S260. In more detail, in step S250, if the decision of “the output brightness reaches the target value” is “yes”, enter step S260 executing “stop changing the output brightness” and end the process. If the decision of step S250 is “no”, go back to step S230.
Besides, in the first embodiment of the method for brightness control of this disclosure, it may be further defined that the brightness changing rate of the brightness zone with larger brightness is larger than the brightness changing rate of the brightness zone with smaller brightness. For example, the brightness changing rate of the brightness zone with larger brightness is twice as large as the brightness changing rate of the neighboring brightness zone with smaller brightness. It can also be further defined that each brightness threshold is twice as large as the neighboring smaller brightness threshold.
The waveform of brightness changing in
When the output brightness of the light emitting device increases from 25% to 50%, an operation of 256-level changing is required. Also, in the brightness zone of 25%˜50%, a 1-bit augmented counter is adopted to perform counting with a clock of period t. When the 1-bit augmented counter counts from 0 to 1, the output brightness of the light emitting device is increased (or decreased) with 1-level and the 1-bit augmented counter is reset to 0 concurrently. That is to say, the required time to increase the output brightness with 1-level is 2t in this brightness zone. Assume the required time to increase the output brightness from 25% to 50% is 1T, then 1T=256*2t=512t. As the result, the brightness changing rate in the brightness zone of 25%˜50% is 25%/1T.
In more detail, when the output brightness of the light emitting device increases from 12.5% to 25%, an operation of 128-level changing is required. Also, in the brightness zone of 12.5%˜25%, a 2-bit augmented counter is adopted to perform counting with a clock of period t. When the 2-bit augmented counter counts from 0 to 3, the output brightness of the light emitting device is increased (or decreased) with 1-level and the 2-bit augmented counter is reset to 0 concurrently. That is to say, the required time to increase the output brightness with 1-level is 4t in this brightness zone. So the required time to increase the output brightness from 1.25% to 25% is 128*4t=512t. As the result, the brightness changing rate in the brightness zone of 12.5%˜25% is 12.5%/1T.
According to the aforementioned description of this embodiment, if a 6-bit, a 5-bit, a 4-bit, a 3-bit, a 2-bit and a 1-bit augmented counters are respectively adopted in the six brightness zones from low to high to perform brightness changing, the required time to entirely cross every brightness zone is 1T. Besides, the brightness changing rates, which are 0.78125%/1T, 1.5625%/1T, 3.125%/1T, 6.25%/1T, 12.5%/1T, 25%/1T respectively, are doubly increased gradually for the six brightness zones from low to high. Besides, for the brightness zone of 50%-100%, no augmented counter is required. The clock of period t can be adopted to perform 1-level brightness changing directly, thus, the required time to increase the output brightness from 50% to 100% is also 512t. To sum up, according to the operation shown by
When the output brightness of the light emitting device increases from 25% to 50%, an operation of 256-level changing is required. Also, in the brightness zone of 25%˜50%, a clock of period 2t is adopted to perform up-counting or down-counting on the 10-bit up/down counter. When the up/down counter counts 1 step upward (or downward), the output brightness of the light emitting device is increased (or decreased) with 1-level. That is to say, the required time to increase the output brightness with 1-level is 2t in this brightness zone. Assume the required time to increase the output brightness from 25% to 50% is 1T, then 1T=256*2t=512t. As the result, the brightness changing rate in the brightness zone of 25%˜50% is 25%/1T.
In more detail, when the output brightness of the light emitting device increases from 12.5% to 25%, an operation of 128-level changing is required. Also, in the brightness zone of 12.5%˜25%, a clock of period 4t is adopted to perform up-counting or down-counting on the 10-bit up/down counter. When the up/down counter counts 1 step upward (or downward), the output brightness of the light emitting device is increased (or decreased) with 1-level. That is to say, the required time to increase the output brightness with 1-level is 4t in this brightness zone. So the required time to increase the output brightness from 12.5% to 25% is 128*4t=512t. As the result, the brightness changing rate in the brightness zone of 12.5%˜25% is 12.5%/1T.
According to the aforementioned description of this embodiment, if clocks of period 64t, 32t, 16t, 8t, 4t and 2t are respectively adopted in the six brightness zones from low to high to perform brightness changing, the required time to entirely cross every brightness zone is 1T. Besides, the brightness changing rates, which are 0.78125%/1T, 1.5625%/1T, 3.125%/1T, 6.25%/1T, 12.5%/1T, 25%/1T respectively, are doubly increased gradually for the six brightness zones from low to high. For the brightness zone of 50%˜100%, the clock of period t can be adopt to perform 1-level brightness changing directly, thus, the required time to increase the output brightness from 50% to 100% is also 512t. To sum up, according to the operation shown by
It is noted that the two detailed embodiments disclosed in
It is also noted that the first embodiment of the method for brightness control of this disclosure can be understood as adopting “piece-wise linear” algorithm on the design of brightness changing. That is to say, firstly a plurality of brightness zones are defined, and then corresponding brightness changing rate is assigned to each of the brightness zones to present different effects when the brightness of a light emitting device is adjusted, which can bring better user experience and achieve flexible system design. Note that the embodiments shown from
In the second embodiment of the method for brightness control of this disclosure shown in
Besides, in the second embodiment of the method for brightness control of this disclosure, it can be further defined that when the target value is larger than the initial value, the approaching target value is defined as “the target value” minus “10 percent of the difference of the target value and the initial value”; when the target value is smaller than the initial value, the approaching target value is defined as “the target value” plus “10 percent of the difference of the target value and the initial value”.
In the second embodiment of this disclosure, the advantages of the first embodiment are included. Further, in the second embodiment, the way that the brightness changing rate is decreased gradually when the output brightness is near the target value can avoid the output brightness suddenly stop at the target value, which is even more gentle to the visual feeling of user, and the user experience is further improved.
It is noted that the design value shown in
In the first and second embodiments of the method for brightness control of this disclosure, the output brightness is directly controlled to change linearly in each brightness zone. However, for most light emitting devices, the relation of the driving current and the output brightness according to are not exactly linear. Therefore, unless a calibration process is performed in advance to derive the linear relation between control signal and the output brightness of the light emitting device, it is not easy to implement the method of linearly controlling the output brightness. For example, for a light emitting diode, the relation between the output brightness and the driving current is merely positive-correlated, but not exactly linear. As the result, if the driving current, instead of the output brightness, of the light emitting device is linearly controlled directly, the complexity of the design of the control circuit of the light emitting device is alleviated greatly. Based to this, the third and the fourth embodiments of this disclosure are disclosed hereinafter.
The first step: set the output brightness to be an initial value corresponding to an initial current value, and control the light emitting device emitting the light accordingly. As is shown in step S810.
The second step: set a target value corresponding to a target current value, and control the driving current changing from the initial current value toward the target current value with the current changing rate of the current zone corresponding to the initial current value. As is shown in step S820.
The third step: control the driving current changing toward the target current value with the following current changing rate when the driving current crosses one of the current thresholds and entering the following current zone, wherein the following current changing rate corresponds to the following current zone. As is shown in step S830 and S840. In more detail, in step S830, if the decision of “the driving current crosses one of the current thresholds and entering the following current zone” is “yes”, enter step S840 executing “control the driving current changing toward the target current value with the following current changing rate corresponding to the following current zone” and go back to step S830. If the decision of step S830 is “no”, enter step S850.
The fourth step: stop changing the driving current when reaching the target current value. As is shown in step S850 and S860. In more detail, in step S850, if the decision of “the driving current reaches the target current value” is “yes”, enter step S860 executing “stop changing the driving current” and end the process. If the decision of step S850 is “no”, go back to step S830.
Besides, in the third embodiment of the method for brightness control of this disclosure, it may be further defined that the current changing rate of the current zone with larger driving current is larger than the current changing rate of the current zone with smaller driving current. For example, the current changing rate of the current zone with larger driving current is twice as large as the current changing rate of the neighboring current zone with smaller driving current. It can also be further defined that each current threshold is twice as large as the neighboring smaller current threshold.
The possible waveforms and ways of implementation for the third embodiment of the method for brightness control of this disclosure can be referred to
In the third embodiment of this disclosure, the advantages of the first embodiment are included. Further, in the third embodiment, since the calibration and the compensation on the driving current itself is easy to be implemented in applications, it is relatively easy to linearly control the driving current, thus, the cost is reduced and the complexity on system design is alleviated.
In the fourth embodiment of the method for brightness control of this disclosure shown in
Besides, in the fourth embodiment of the method for brightness control of this disclosure, it can be further defined that when the target current value is larger than the initial current value, the approaching target current value is defined as “the target current value” minus “10 percent of the difference of the target current value and the initial current value”; when the target current value is smaller than the initial current value, the approaching target current value is defined as “the target current value” plus “10 percent of the difference of the target current value and the initial current value”.
The possible waveforms and ways of implementation for the fourth embodiment of the method for brightness control of this disclosure can be referred to
In the fourth embodiment of this disclosure, the advantages of the second embodiment are included. Further, in the fourth embodiment, since the calibration and the compensation on the driving current itself is easy to be implemented in applications, it is relatively easy to linearly control the driving current, thus, the cost is reduced and the complexity on system design is alleviated.
It is noted that the light emitting device in the above-mentioned embodiments and examples can be a light emitting diode, which is prevailing and adaptive to be controlled by a driving current in direct-current (DC) or pulse-width modulation (PWM) form. There are other kinds of light-emitting devices can also be adaptive to the method for brightness control of this disclosure, of which the characteristics are well-known to people skilled in the art, and will not be described further.
The foregoing embodiments are illustrative of the characteristics of this disclosure to enable a person skilled in the art to understand the disclosed subject matter and implement this disclosure accordingly. The embodiments, however, are not intended to restrict the scope of this disclosure. Hence, all equivalent modifications and variations made in the foregoing embodiments without departing from the spirit and principles of this disclosure should fall within the scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
103113385 A | Apr 2014 | TW | national |
Number | Name | Date | Kind |
---|---|---|---|
20110057576 | Otake et al. | Mar 2011 | A1 |
20110080111 | Nuhfer et al. | Apr 2011 | A1 |