Dimmable LED driving system and method for reducing flicker
09844111 · 2017-12-12
Assignee
Inventors
Cpc classification
H05B45/48
ELECTRICITY
International classification
Abstract
A method of controlling a dimmable light emitting diode (LED) system includes defining two or more dimming regions having respective dimming levels applied to one or more strings of LEDs, continuously supplying a current to the one or more strings of LEDs in a first dimming region, and maintaining an average peak value of the current substantially the same and adjusting a duty cycle of a pulse width modulation (PWM) control signal in a second dimming region to supply the current according to the PWM control signal.
Claims
1. A method of controlling a dimmable light emitting diode (LED) system comprising: defining two or more dimming regions having respective dimming levels applied to one or more strings of LEDs, the two or more dimming regions including first, second, and third dimming regions; continuously supplying a current to the one or more strings of LEDs in the first dimming region; maintaining an average peak value of the current and adjusting a duty cycle of a pulse width modulation (PWM) control signal in the second dimming region to supply the current according to the PWM control signal; maintaining the duty cycle of the PWM control signal and changing the average peak value of the current in the third dimming region; setting a proportional coefficient and an integral coefficient of a current controller to a first value and a second value, respectively, when a dimming value is in the second dimming region, the proportional coefficient corresponding to a change in an output value of the current controller caused by an error, the integral coefficient corresponding to a change in the output value of the current controller caused by an accumulated error; and adjusting the proportional coefficient and the integral coefficient of the current controller to a third value and a fourth value, respectively, during a transitional region when the dimming value is between the second dimming region and the third dimming region, the third value being smaller than the first value, the fourth value being smaller than the second value, or both.
2. The method of claim 1, wherein the transitional region occurs as a result of the dimming value transitioning from being in the third dimming region to being in the second dimming region.
3. The method of claim 1, further comprising: converting a sense voltage into a sense current, the sense current having a magnitude that is indicative of the average peak magnitude of the current supplied to the one or more strings of LEDs, the average peak magnitude corresponding to an average value of the current during an active portion of a PWM cycle of the PWM control signal; and minimizing a difference between the magnitude of the sense current and a magnitude of a reference current using the current controller.
4. The method of claim 3, further comprising: determining whether the difference between the magnitude of the sense current and the magnitude of the reference current is substantially equal to zero.
5. The method of claim 4, further comprising: exiting the transitional region when the difference is determined to be substantially equal to zero for a predetermined number of cycles during the transitional region.
6. The method of claim 3, further comprising determining whether the magnitude of the sense current has settled to the magnitude of the reference current for a predetermined number of cycles, the predetermined number of cycles being programmable and corresponding to any one of 64, 128, 192, and 256 cycles of the PWM control signal output from a PWM controller.
7. The method of claim 1, further comprising setting the third value to any one of 4, 8, 16, and 128, and setting the fourth value to any one of 4, 8, 16, and 64.
8. The method of claim 1, further comprising dividing the current into the one or more LED strings substantially equally.
9. The method of claim 1, further comprising: setting the proportional coefficient and the integral coefficient of the current controller to the first value and the second value, respectively, when a dimming value is in the third dimming region.
10. The apparatus of claim 1, wherein the proportional coefficient is a coefficient for the change in the output value of the current controller caused by the error, and the integral coefficient is a coefficient for the change in the output value of the current controller caused by the accumulated error.
11. An apparatus for controlling a dimmable light emitting diode (LED) system, the apparatus comprising: one or more strings of LED; and a driver circuit to continuously supply a current to the one or more strings of LEDs in a first dimming region, to maintain an average peak value of the current and adjust a duty cycle of a pulse width modulation (PWM) control signal in a second dimming region to supply the current according to the PWM control signal, and to maintain the duty cycle of the PWM control signal and change the average peak value of the current in a third dimming region, wherein the driver circuit includes a current controller, and the current controller has a first value and a second value as a proportional coefficient and an integral coefficient, respectively, when a dimming value is in the second dimming region, the proportional coefficient corresponding to a change in an output value of the current controller caused by an error, the integral coefficient corresponding to a change in the output value of the current controller caused by an accumulated error, and wherein the current controller has a third value and a fourth value as the proportional coefficient and the integral coefficient, respectively, during a transitional region when the dimming value is between the second dimming region and the third dimming region, the third value being smaller than the first value, the fourth value being smaller than the second value, or both.
12. The apparatus of claim 11, wherein the transitional region occurs as a result of the dimming value transitioning from being in the third dimming region to being in the second dimming region.
13. The apparatus of claim 12, wherein the driver circuit further includes a current sensing circuit to convert a sense voltage into a sense current, the sense current having a magnitude that is indicative of the average peak magnitude of the current supplied to the one or more strings of LED, the average peak magnitude corresponding to an average value of the current during an active portion of a PWM cycle of the PWM control signal, and wherein the current controller minimizes a difference between the magnitude of the sense current and a magnitude of a reference current.
14. The apparatus of claim 13, wherein the driver circuit determines whether the difference between the magnitude of the sense current and the magnitude of the reference current is substantially equal to zero.
15. The apparatus of claim 14, wherein the driver circuit sets the proportional coefficient and the integral coefficient of the current controller to the first value and the second value, respectively, and exiting the transitional region when the difference is determined to be substantially equal to zero for a predetermined number of cycles during the transitional region.
16. The apparatus of claim 13, wherein the predetermined number of cycles is programmable and corresponds to any one of 64, 128, 192, and 256 cycles of the PWM control signal output from a PWM controller.
17. The apparatus of claim 11, wherein the third value is programmable and is any one of 4, 8, 16, and 128, and wherein the fourth value is programmable and is any one of 4, 8, 16, and 64.
18. The apparatus of claim 11, wherein the one or more strings of LED are coupled in parallel to each other, each of the strings of LED including a plurality of LEDs coupled in series.
19. A method of controlling a dimmable light emitting diode (LED) system comprising: maintaining a duty cycle of a pulse width modulation (PWM) control signal and changing an average peak value of a current in a first dimming region, the current being supplied to one or more strings of LEDs according to the PWM control signal; maintaining the average peak value of the current and adjusting the duty cycle of the PWM control signal in a second dimming region; maintaining the duty cycle of the PWM control signal and changing the average peak value of the current in a third dimming region; setting a proportional coefficient and an integral coefficient of a current controller to a first value and a second value, respectively, when a dimming value is in the third dimming region, the proportional coefficient being associated with a change in an output value of the current controller caused by an error, the integral coefficient being associated with a change in the output value of the current controller caused by an accumulated error; and adjusting the proportional coefficient and the integral coefficient of the current controller to a third value and a fourth value, respectively, during a transitional region when the dimming value is between the second dimming region and the third dimming region, the third value being smaller than the first value, the fourth value being smaller than the second value, or both.
20. The method of claim 19, further comprising: setting the proportional coefficient and the integral coefficient of the current controller to the first value and the second value, respectively, when the dimming value is in the second dimming region.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
DETAILED DESCRIPTION
(12)
(13) The power supply 1-110 provides an alternating current (AC) input voltage to the power converter 1-130.
(14) The power converter 1-130 converts the received AC input voltage to a current (referred to as a string current) flowing through the LED string 1-150. Converting the received AC input voltage to the string current includes, in an embodiment, rectifying the received AC input voltage at the power converter 1-130.
(15) The LED string 1-150 includes a one or more LEDs coupled to together either in series, in parallel, or in combinations thereof. Each of the plurality of LEDs converts a current passing the LED into light. A brightness of light emitted by the LEDs varies with a magnitude of the current flowing through the LED string 1-150.
(16) The LED driver circuit 1-170 adjusts the brightness of light by changing a magnitude of the string current flowing through the LED string 1-150. The LED driver circuit 1-170 also adjusts the brightness of light using a pulse width modulation (PWM) control, which includes a duty cycle corresponding to a ratio of a duration of an “ON” portion (or an active portion) of a PWM cycle to a total duration of the PWM cycle, wherein the PWM cycle includes the “ON” portion and an “OFF” portion (or an inactive portion).
(17) In an embodiment, the LED driver circuit 1-170 includes a microprocessor (not shown) executing computer programming instructions from a non-transitory computer-readable medium. The microprocessor controls the power converter 1-130 to adjust the magnitude of the string current flowing through the LED string 1-150 and controls a PWM cycle of the string current flowing through the LED string 1-150, as disclosed below, to prevent flashing, flickering, or both of the LED string 1-150.
(18)
(19) A power supply (e.g., the power supply 1-110 of
(20) Although the LED string 2-150 shown in
(21) The LED driver circuit 2-170 includes the dimming controller 2-245, a sensing device 274, and a switching device 275.
(22) The sensing device 274 is connected to the LED string 2-150 and the dimming controller 2-245. In an embodiment, the sensing device 274 is a p-channel metal-oxide semiconductor (PMOS) transistor, a source of the sensing device 274 is connected to the LED string 2-150, and a gate of the sensing device 274 is connected to the dimming controller 2-245 via a switching device 275. Inasmuch as a level of a sense voltage V.sub.SENSE at the gate of the sensing device 274 varies with an instantaneous magnitude of the string current I.sub.STRING, by detecting the level of Vsense, the dimming controller 2-245 can also detect the instantaneous magnitude of the string current I.sub.STRING. The dimming controller 2-245 can also converts the received sense voltage V.sub.SENSE into a sense current that has a magnitude that is substantially equal to an average peak magnitude of the string current I.sub.STRING. For example, the average peak magnitude of the string current I.sub.STRING is a value averaged during an active portion of a PWM cycle of a PWM control signal PWM.sub.CTNR.
(23) The switching device 275 is connected to the sensing device 274 and the dimming controller 2-245. The switching device 275 is turned on to cause the string current I.sub.STRING to flow through the sensing device 274 and the switching device 275 to a ground in response to the PWM control signal PWM.sub.CNTR.
(24) An operation of the dimming controller 2-245 to control dimming of the LED string 2-150 will be described below in detail with reference to
(25) In a first dimming region (or a full-on region) D.sub.1 shown in
(26) In a second dimming region (or a normal dimming region) D.sub.2, the dimming controller 2-245 operates in a PWM control mode, which changes the duty cycle PWM.sub.DC of the PWM control signal PWM.sub.CNTR while maintaining the average peak magnitude I.sub.STRING,PEAK.sub._.sub.AVG of the string current I.sub.STRING substantially the same as a magnitude of a reference current I.sub.REF. In an embodiment, the dimming controller 2-245 includes a PWM controller that decreases or increases the duty cycle PWM.sub.DC of the PWM control signal PWM.sub.CNTR, in order to turn on or off the switching device 275 according to the duty cycle PWM.sub.DC of the PWM control signal PWM.sub.CNTR, thereby decreasing or increasing, respectively, the average magnitude of the string current I.sub.STRING and the brightness of light output from the LED string 2-150. In this embodiment, the switching device 275 is an n-channel metal-oxide semiconductor (NMOS) transistor, and a drain of the switching device 275 is connected to the drain of the sensing transistor 274 and a gate of the switching device 275 is connected to the dimming controller 2-245. Although the switching device 275 shown in the embodiment shown in
(27) In a third dimming region (or a deep dimming region) D.sub.3, the primary side controller 290 controls the switching device 235 to change the average peak magnitude I.sub.STRING,PEAK.sub._.sub.AVG of the string current I.sub.STRING, while the dimming controller 2-245 maintains the duty cycle PWM.sub.DC of the PWM control signal PWM.sub.CNTR substantially the same as a minimum duty cycle DC.sub.MIN. In an embodiment, the minimum duty cycle DC.sub.MIN has a value in a range from 3% to 10%. In the third dimming region D.sub.3, to decrease the brightness of the light produced by the LED string 2-150, the average peak magnitude I.sub.STRING,PEAK.sub._.sub.AVG of the string current I.sub.STRING is decreased and the duty cycle PWM.sub.DC of the PWM control signal PWM.sub.CNTR is kept substantially the same, and thus the average magnitude of the string current I.sub.STRING is decreased. In an embodiment, the average magnitude of the first AC current flowing through the primary winding of the transformer 225 is smaller than that of the second AC current flowing through the secondary winding of the transformer 225.
(28) In the normal dimming region D.sub.2, the dimming controller 2-245 is configured to minimize a difference between the average peak magnitude I.sub.STRING,PEAK.sub._.sub.AVG of the string current I.sub.STRING and the magnitude of the reference current I.sub.REF, in an embodiment. In an embodiment, the current controller of the dimming controller 2-245 minimizes the difference to maintain the average peak magnitude I.sub.STRING,PEAK.sub._.sub.AVG of the string current I.sub.STRING substantially equal to the magnitude of the reference current I.sub.REF. An operation of the dimming controller 2-245 in the second dimming region D.sub.2 will be described below in detail with reference to
(29)
(30) The dimming controller 4-245 includes a PWM controller 415. The PWM controller 415 generates a PWM control signal PWM.sub.CNTR based on a signal indicative of a duty cycle PWM.sub.DC (e.g., the duty cycle PWM.sub.DC of
(31) The dimming controller 4-245 further includes a current sensing circuit 410 and a current controller 4-430, and outputs a control signal CNT based on a sense voltage V.sub.SENSE (e.g., the sense voltage V.sub.SENSE of
(32) The current sensing circuit 410 receives the sense voltage V.sub.SENSE from a sensing device (e.g., the sensing device 274 of
(33) The current controller 4-430 receives the sense current I.sub.SENSE and a reference current I.sub.REF (e.g., the reference current I.sub.REF of
(34) In an embodiment, the current controller 4-430 includes a proportional-integral (PI) controller to minimize a difference between the magnitude of the reference current I.sub.REF and the magnitude of the sense current I.sub.SENSE, which corresponds to the average peak magnitude of the string current during active portions of PWM cycles of a PWM control signal (e.g., the PWM control signal PWM.sub.CNTR of
(35)
out(t)=K.sub.pe(t)+K.sub.I∫.sub.0.sup.te(τ)dτ
In the above Equation, e(t) denotes an error value corresponding to a difference, at the time t, between a magnitude of the reference current I.sub.REF and a magnitude of the sense current I.sub.SENSE, K.sub.P denotes a proportional coefficient, and K.sub.I denotes an integral coefficient of the PI controller 5-430.
(36) A different portion of the current controller 4-430 of
(37)
(38) Referring to
(39) An average peak magnitude I.sub.STRING,PEAK.sub._.sub.AVG of the string current I.sub.STRING, which corresponds to a sense current I.sub.SENSE (e.g., the sense current I.sub.SENSE of
(40) In the deep dimming region D.sub.3 and the normal dimming region D.sub.2, a proportional coefficient K.sub.p and an integral coefficient K.sub.I of the PI controller have first and second constant values, respectively. In an embodiment, the first constant value of the proportional coefficient K.sub.p is in a range from 2 to 256. In an embodiment, the second constant value of the integral coefficient K.sub.I is in a range from 4 to 4096.
(41) In an embodiment, the PI controller enters a transitional region having a transitional period T.sub.TRAN when the dimming level changes from a first dimming level corresponding to the deep dimming region D.sub.3 to a second dimming level corresponding to the normal dimming region D.sub.2. During the transitional region, at least one of the proportional coefficient K.sub.P and an integral coefficient K.sub.I of the PI controller has a substantially lower values than the respective values of the proportional coefficient K.sub.P and the integral coefficient K.sub.I when the dimming level is in the normal dimming region D.sub.2 and the PI is not in the transitional region. The proportional coefficient K.sub.P has a third constant value and the integral coefficient K.sub.I has a fourth constant value.
(42) In an embodiment, the third constant value for the proportional coefficient K.sub.P is any one of 4, 8, 16, and 128 when the first constant value is 256, and the fourth constant value for the integral coefficient K.sub.I is any one of 4, 8, 16, and 64 when the second constant value is 64. In an embodiment, one or more of the first, second, third, and fourth constant values are programmable. For example, the one or more of the first, second, third, and fourth constant values can be input using a user interface (not shown) in a calibration process of a prototype LED system (e.g., the LED system 1-100 of
(43) The PI controller remains in the transitional region until the PI controller determines that a value of the average peak magnitude of the string current I.sub.STRING has settled to a target value, such as the reference current I.sub.REF. In an embodiment, the PI controller determines that the value has settled when an error value (e.g., the error value e(t) of
(44) In the transitional region, a first profile (indicated as the solid line of
(45)
(46) Referring to
(47)
(48) Referring to
(49)
(50) At S810, the LED driver circuit sets first and second coefficients of the current controller to first and second values, respectively, in a first dimming region. The first dimming region may be a deep dimming region, that is, a region in which a PWM duty cycle of the LED driver circuit controller is fixed at a predetermined minimum value. In an embodiment, the first and second coefficients are proportional and integral coefficients of a PI controller, respectively.
(51) At S830, the LED driver circuit enters a transitional region between the first dimming region and a second dimming region, that is, when a dimming level transitions from being in the first dimming region to being in the second dimming region. When the LED driver circuit enters the transitional region, the LED driver circuit adjusts the first and second coefficients of the current controller to third and fourth values, respectively. In an embodiment, the third constant value in the transitional region is smaller than the first constant value in the first and second dimming regions, the fourth constant value in the transition region is smaller than the second constant value in the first and second dimming regions, or both. In an embodiment, the third and fourth values of the PI controller are determined such that an average peak magnitude of a string current changes at a sufficiently low rate to prevent a flash, a flicker, or both of an LED system. In an embodiment, the third and fourth values of the PI controller and a transitional period of the transitional region are programmable.
(52) At S835, the LED the LED driver circuit reduces a difference between a monitored value (e.g., a sense current I.sub.SENSE of
(53) At S840, the LED driver circuit determines whether the monitored value has settled to the target value. In an embodiment, the LED driver circuit determines that the monitored value has settled to the target value when an error value corresponding to a difference between the monitored value and the target value has been substantially equal to zero for a predetermined number of cycles of a PWM control signal (e.g., the PWM control signal PWM.sub.CNTR of
(54) At S850, the LED driver circuit sets the first and second coefficients of the current controller to the first and second values, respectively, in the second dimming region. In the second dimming region, the current controller changes a duty cycle of a PWM control signal to control a brightness of a LED string included in the LED system.
(55)
(56) At S910, two or more dimming regions having respective dimming levels applied to one or more strings of LEDs are defined. The two or more dimming regions include first, second, and third dimming regions.
(57) At S930, the LED driver circuit continuously supplies a current to the one or more strings of LEDs in the first dimming region. In an embodiment, in the first dimming region, the PWM controller outputs a PWM control signal having a duty cycle that is substantially equal to 100%.
(58) At S950, the LED driver circuit maintains an average peak value of the current substantially the same and adjusting the duty cycle of the PWM control signal in the second dimming region to supply the current according to the PWM control signal.
(59) At S970, the LED driver circuit maintains the duty cycle of the PWM control signal and changes the average peak value of the current in the third dimming region. In an embodiment, the PWM controller outputs the PWM control signal having the duty cycle that is in a range from 3% to 10%.
(60) Aspects of the present disclosure have been described in conjunction with the specific embodiments thereof that are proposed as examples. Numerous alternatives, modifications, and variations to the embodiments as set forth herein are possible without departing from the scope of the claims set forth below. Accordingly, embodiments as set forth herein are intended to be illustrative and not limiting.