BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention is related to a driving circuit for light emitting diodes, dimmer and method thereof, and particularly to a driving circuit for light emitting diodes, dimmer and method thereof by adjusting a duty cycle of driving current to dim accurately.
2. Description of the Prior Art
Generally speaking, dimming methods of light emitting diodes (LEDs) backlights have two modes, a burst mode and a continuous mode, where the continuous mode is used for adjusting a peak of a driving current of the light emitting diodes. But, operation in the continuous mode may influence optical characteristics of a display, so the burst mode is the main dimming method for light emitting diodes.
The burst mode dimming method controls turning-on or turning-off of driving current of light emitting diodes according to a pulse width modulation (PWM) dimming signal. Luminance of the LED is proportional to an average value of the driving current, which is adjusted linearly by adjusting a duty cycle of the PWM dimming signal. Due to original circuit conditions and design concerns regarding electromagnetic interference, when the driving current is turned on and turned off, the driving current for driving the light emitting diodes exhibits a delay time and a rising time before stabilizing. Please refer to FIG. 1. FIG. 1 is a diagram illustrating a practical average value of the driving current not being equal to an average value of an ideal current due to the delay time and the rising time of the driving current. As shown in FIG. 1, because the practical average value of the driving current is not equal to the average value of the ideal current, a relationship between the practical average value of the driving current and the duty cycle of the PWM dimming signal is nonlinear. Therefore, the prior art can not control accurately luminance of the light emitting diodes and has poorer display quality.
SUMMARY OF THE INVENTION
An embodiment provides a driving circuit for light emitting diodes. The driving circuit for light emitting diodes includes a power supply unit, a series of light emitting diodes, a current sink, and a dimming unit. The power supply unit has an input terminal for receiving an alternating current (AC) voltage/a first direct current (DC) voltage, and an output terminal for supplying a second DC voltage and a driving current. The series of light emitting diodes includes at least one light emitting diode, wherein the series of light emitting diodes has a first terminal coupled to the output terminal of the power supply unit for receiving the second DC voltage and the driving current, and a second terminal. The current sink is coupled to the second terminal of the series of light emitting diodes, wherein the current sink has a dimming control terminal for receiving a dimming signal. And the dimming unit is used for adjusting a duty cycle of an original dimming signal to generate the dimming signal according to the driving current and an ideal current, wherein the dimming unit has a first input terminal coupled to the second terminal of the series of light emitting diodes for sensing the driving current, a second input terminal for receiving the original dimming signal, a third input terminal coupled to the current sink for sensing the ideal current, and an output terminal for outputting the dimming signal.
Another embodiment provides a driving circuit for light emitting diodes. The driving circuit for light emitting diodes includes a power supply unit, a plurality of series of light emitting diodes, a current sink, and a dimming unit. The power supply unit has an input terminal for receiving an alternating current (AC) voltage/a first direct current (DC) voltage, and an output terminal for supplying a second DC voltage and a driving current. The plurality of series of light emitting diodes, each series of light emitting diodes includes at least one light emitting diode, wherein each series of light emitting diodes has a first terminal coupled to the output terminal of the power supply unit for receiving the second DC voltage and the driving current, and a second terminal. The current sink is coupled to the second terminals of the plurality of series of light emitting diodes, wherein the current sink has a dimming control terminal for receiving a dimming signal. And the dimming unit is used for adjusting a duty cycle of an original dimming signal to generate the dimming signal according to the driving current and an ideal current, wherein the dimming unit has a first input terminal coupled to the second terminal of the series of light emitting diodes for sensing the driving current, a second input terminal for receiving the original dimming signal, a third input terminal coupled to the current sink for sensing the ideal current, and an output terminal for outputting the dimming signal.
Another embodiment provides a dimmer. The dimmer includes a first sensing circuit, a second sensing circuit, an adder, a dimming compensator, and a PWM dimming signal generator. The first sensing circuit is used for generating a practical average voltage according to a driving current. The second sensing circuit is used for generating an ideal average voltage according to an ideal current and an original dimming signal. The adder is coupled to the first sensing circuit and the second sensing circuit for generating a difference between the ideal average voltage and the practical average voltage. The dimming compensator is coupled to the adder for generating a direct current (DC) compensation value according to the difference. The pulse width modulation (PWM) dimming signal generator is coupled to the dimming compensator and the current sink for generating a dimming signal according to the DC compensation value.
Another embodiment provides a method of dimming. The method includes generating a practical average voltage according to a driving current; generating an ideal average voltage according to an ideal current and an original dimming signal; generating a difference between the ideal average voltage and the practical average voltage; generating a DC compensation value according to the difference; generating a dimming signal according to the DC compensation value; and adjusting a duty cycle of the driving current according to the dimming signal; wherein the driving current is used for driving a series of light emitting diodes.
A driving circuit for light emitting diodes, dimmer and method thereof provided by the present invention adjust the duty cycle of the original dimming signal to generate the dimming signal according to the driving current of the series of light emitting diodes and the ideal current. Then, the switch of the current sink can adjust the duty cycle of the driving current according to the dimming signal. Therefore, the driving circuit for light emitting diodes, dimmer and method thereof provided by the present invention can control accurately luminance of at least one series of light emitting diodes by adjusting the duty cycle of the driving current to improve a display quality.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a diagram illustrating a practical average value of the driving current not being equal to an average value of an ideal current due to the delay time and the rising time of the driving current.
FIG. 2 is a diagram illustrating a driving circuit for light emitting diodes capable of accurate dimming according to an embodiment of the present invention.
FIG. 3A is a diagram illustrating the duty cycle of the driving current before being adjusted and a duty cycle of the ideal current.
FIG. 3B is a diagram illustrating the duty cycle of the driving current after being adjusted and the duty cycle of the ideal current.
FIG. 4A and FIG. 4B are diagrams illustrating decreasing the duty cycle of the driving current when the driving average current before being adjusted is larger than the ideal average current.
FIG. 5 is a diagram illustrating a driving circuit for light emitting diode capable of accurate dimming according to another embodiment of the present invention.
FIG. 6 is a diagram illustrating a dimmer capable of accurate dimming according to another embodiment of the present invention.
FIG. 7 is a flowchart illustrating a method of accurate dimming according to another embodiment of the present invention.
DETAILED DESCRIPTION
Please refer to FIG. 2. FIG. 2 is a diagram illustrating a driving circuit 200 for light emitting diodes capable of accurate dimming according to an embodiment of the present invention. The driving circuit 200 includes a power supply unit 202, a series of light emitting diodes 204, a current sink 206 and a dimming unit 208. The power supply unit 202 has an input terminal for receiving an AC voltage VAC or a DC voltage VDC, and an output terminal for providing a driving voltage Vo and a driving current ILED. The series of light emitting diodes 204 includes at least one light emitting diode, and the series of light emitting diodes 204 has a first terminal coupled to the output terminal of the power supply unit 202 for receiving the DC voltage Vo and the driving current ILED. The current sink 206 is coupled to a second terminal of the series of light emitting diodes 204, and the current sink 206 has a dimming control terminal for receiving a dimming signal DLED. In addition, the current sink 206 includes a reference voltage Vref and a set resistor 2062, so the current sink 206 can generate an ideal current Iideal according to the reference voltage Vref and the set resistor 2062. The dimming unit 208 is used for adjusting a duty cycle of an original dimming signal ODLED to generate the dimming signal DLED according to the driving current ILED and an ideal current Iideal. The dimming unit 208 has a first input terminal coupled to the second terminal of the series of light emitting diodes 204 for sensing the driving current ILED a second input terminal for receiving the original dimming signal ODLED, a third input terminal coupled to the current sink 206 for sensing the ideal current Iideal, and an output terminal for outputting the dimming signal DLED, where both the dimming signal DLED and the original dimming signal ODLED are pulse width modulation signals, and the driving current ILED is a pulse width modulation current.
The dimming unit 208 includes a first sensing circuit 2082, a second sensing circuit 2084, an adder 2086, a dimming compensator 2088, and a PWM dimming signal generator 2090. The first sensing circuit 2082 includes a first resistor 20822 and a first average circuit 20824, where the first average circuit 20824 is coupled to the first resistor 20822. After the first sensing circuit 2082 senses the driving current ILED through the first input terminal of the dimming unit 208, the first resistor 20822 generates a practical voltage VLED (pulse width modulation voltage) according to the driving current ILED, and the first average circuit 20824 generates a practical average voltage VLED according to the practical voltage VLED. The second sensing circuit 2084 includes a second resistor 20842, a multiplier 20844, and a second average circuit 20846, where the multiplier 20844 is coupled to the second resistor 20842, and the second average circuit 20846 is coupled to the multiplier 20844. After the second sensing circuit 2084 senses the ideal current Iideal through the third input terminal of the dimming unit 208, the second resistor 20842 generates an ideal voltage Videal according to the ideal current Iideal. The multiplier 20844 receives the original dimming signal ODLED from the second input terminal of the dimming unit 208, and modulates the original dimming signal ODLED to generate an ideal dimming signal according to the ideal voltage Videal. The second average circuit 20846 is coupled to the multiplier 20844 for generating an ideal average voltage Videal according to the ideal dimming signal.
The adder 2086 is coupled to the first sensing circuit 2082 and the second sensing circuit 2084 for generating a difference diff between the ideal average voltage Videal and the practical average voltage VLED. The dimming compensator 2088 is coupled to the adder 2086 for generating a DC compensation value CPWM according to the difference diff. The PWM dimming signal generator 2090 is coupled to the dimming compensator 2088 and the current sink 206 for generating the dimming signal DLED according to the DC compensation value CPWM. The dimming control terminal of the current sink 206 is coupled to the output terminal of the dimming unit 208 for receiving the dimming signal DLED, and the current sink 206 further includes a switch 2064 for adjusting a duty cycle of the driving current ILED according to the dimming signal DLED.
Please refer to FIG. 3A and FIG. 3B. FIG. 3A is a diagram illustrating the duty cycle of the driving current ILED before being adjusted and a duty cycle of the ideal current Iideal, and FIG. 3B is a diagram illustrating the duty cycle of the driving current ILED after being adjusted and the duty cycle of the ideal current Iideal. As shown in FIG. 3A, when the current sink 206 has not adjusted the duty cycle of the driving current ILED yet according to the dimming signal DLED, the driving current ILED has non-ideality (rising time and falling time), so that an ideal average current Iideal is different from a driving average current ILED. As shown in FIG. 3B, the current sink 206 adjusts the duty cycle of the driving current ILED according to the dimming signal DLED, so the ideal average current Iideal is the same as the driving average current ILED.
In FIG. 3A and FIG. 3B, the driving average current ILED before being adjusted is lower than the ideal average current Iideal so as to increase the duty cycle of the driving current ILED. Please refer to FIG. 4A and FIG. 4B. FIG. 4A and FIG. 4B are diagrams illustrating decreasing the duty cycle of the driving current ILED when the driving average current ILED before being adjusted is larger than the ideal average current Iideal. The driving average current ILED can be the same as the ideal average current Iideal by increasing or decreasing the duty cycle of the driving current ILED to achieve a high linearity accurate dimming.
Please refer to FIG. 5. FIG. 5 is a diagram illustrating a driving circuit 500 for light emitting diodes 500 capable of accurate dimming according to another embodiment of the present invention. The driving circuit 500 includes a power supply unit 502, a plurality of series of light emitting diodes 504, a current sink 506, and a dimming unit 508. The current sink 506 includes a reference voltage Vref, a set resistor 5062, and a plurality of switches 5064. The dimming unit 508 includes a first sensing circuit 5082, a second sensing circuit 5084, an adder 5086, a dimming compensator 5088, and a PWM dimming signal generator 5090. The first sensing circuit 5082 includes a first resistor 50822 and a first average circuit 50824. The second sensing circuit 5084 includes a second resistor 50842, a multiplier 50844, and a second average circuit 50846. A difference between the driving circuit 500 and the driving circuit 200 is that the driving circuit 500 has the plurality of series of light emitting diodes 504, and each series of light emitting diodes 504 corresponds to a switch 5064. Because materials and sizes of the plurality of series of light emitting diodes 504 are the same, rising time and falling time of each series of light emitting diodes 504 are roughly the same. Therefore, a first input terminal of the dimming unit 508 is only coupled to a second terminal of a series of light emitting diodes 504 for sensing a driving current ILED but a dimming signal DLED is transmitted to each switch 5064 of the current sink 506. The plurality of switches 5064 adjust a duty cycle of each series of light emitting diodes 504 according to the dimming signal DLED. Subsequent operational principles of the driving circuit 500 are the same as the driving circuit 200, so further description thereof is omitted for simplicity.
Please refer to FIG. 6. FIG. 6 is a diagram illustrating a dimmer 600 capable of accurate dimming according to another embodiment of the present invention. The dimmer 600 includes a first sensing circuit 602, a second sensing circuit 604, an adder 606, a dimming compensator 608, and a PWM dimming signal generator 610. The first sensing circuit 602 includes a first resistor 6022 and a first average circuit 6024. The second sensing circuit 604 includes a second resistor 6042, a multiplier 6044, and a second average circuit 6046. Subsequent operational principles of the dimmer 600 are the same as the dimming unit 208, 508, so further description thereof is omitted for simplicity.
Please refer to FIG. 7. FIG. 7 is a flowchart illustrating a method of performing accurate dimming according to another embodiment of the present invention. FIG. 7 uses the driving circuit 200 in FIG. 2 to illustrate the method. Detailed steps are as follows:
Step 70: Start.
Step 72: The first sensing circuit 2082 generates the practical average voltage VLED according to the driving current ILED.
Step 74: The second sensing circuit 2084 generates the ideal average voltage Videal according to the ideal current Iideal and the original dimming signal ODLED.
Step 76: The adder 2086 generates the difference diff between the ideal average voltage Videal and the practical average voltage VLED according to the ideal average voltage Videal and the practical average voltage VLED.
Step 78: The dimming compensator 2088 generates the DC compensation value CPWM according to the difference diff.
Step 80: The PWM dimming signal generator 2090 generates the dimming signal DLED according to the DC compensation value CPWM.
Step 82: The switch 2064 of the current sink 206 adjusts the duty cycle of the driving current ILED according to the dimming signal DLED.
Step 84: End.
In Step 72, the driving current ILED is used for driving the series of light emitting diodes 204. In Step 72, the first resistor 20822 generates the practical voltage VLED (pulse width modulation voltage) according to the driving current ILED, and the first average circuit 20824 generates the practical average voltage VLED according to the practical voltage VLED. In Step 74, the second resistor 20842 generates the ideal voltage Videal according to the ideal current Iideal, the multiplier 20844 receives the original dimming signal ODLED through the second input terminal of the dimming unit 208 and modulates the original dimming signal ODLED to generate an ideal dimming signal according to the ideal voltage Videal, and the second average circuit 20846 generates the ideal average voltage Videal according to the ideal dimming signal.
To sum up, the driving circuit for light emitting diodes, dimmer and method thereof described above adjust the duty cycle of the original dimming signal to generate the dimming signal according to the driving current of the light emitting diodes and the ideal current. Then, the switch of the current sink can adjust the duty cycle of the driving current according to the dimming signal. Therefore, the driving circuit for light emitting diodes, dimmer and method thereof described above can accurately control luminance of the light emitting diodes by adjusting the duty cycle of the driving current to improve on the disadvantages of not controlling luminance of the light emitting diodes accurately and poorer display quality in the prior art.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.