ILLUMINATION DEVICE AND METHOD FOR DECOUPLING POWER DELIVERED TO AN LED LOAD FROM A PHASE-CUT DIMMING ANGLE
20170223794 · 2017-08-03
Inventors
Cpc classification
H02M1/081
ELECTRICITY
H02M7/2176
ELECTRICITY
International classification
Abstract
An illumination device and method are provided for controlling light emitting diodes (LEDs). The LEDs (specifically, the LED loads) are controlled, e.g., brightness and color of the LED loads, independent of a phase-cut dimmer applied to the AC mains feeding a DC power supply. The power supply is active dependent upon the duration of a conduction angle supplied from the dimmer. The power supply, however, produces drive currents that are independent from the conduction angle by using a two-stage power supply and a relatively slow and fast control loops that are controlled through a microprocessor based control circuit. Parameters stored in the control circuit are drawn by the microprocessor to control the two-stage power supply to produce the drive currents independent and decoupled from the conduction angle yet dependent on the controller parameters.
Claims
1. An illumination device, comprising: an AC main line configured to receive an AC main; an LED load coupled to receive a drive current; a dimmer coupled to the AC main line; a control circuit coupled to receive transitions of the AC main and to measure a conduction angle from the dimmer and produce a maximum duration at which a power supply can be active; a said power supply coupled between the dimmer and the control circuit, and operational up to and including the maximum power supply active duration, and configured to apply an updated DC power supply current independent of the conduction angle yet for a duration no greater than the maximum power supply active duration; and wherein the updated DC power supply current averaged over multiple cycles of the AC main is proportional to an updated drive current applied to the LED load.
2. The illumination device as recited in claim 1, further comprising a radio coupled to the control circuit for wirelessly setting the drive current independent of the conduction angle.
3. An illumination device, comprising: a dimmer coupled to an AC main line and configured to produce a conduction angle; a power supply coupled to the output of the dimmer and comprising a first control loop for producing a DC power supply current and DC power supply duration independent of the conduction angle and triggered from periodic transitions from the AC main line; and a light emitting diode (LED) load coupled to receive a drive current substantially proportional to the DC power supply current to produce illumination for the illumination device.
4. The illumination device as recited in claim 3, wherein the DC power supply current ranges upward from a predetermined minimum value if minimal power is drawn by the LED load from the AC main line.
5. The illumination device as recited in claim 3, wherein the DC power supply current is proportional to an average current drawn from the AC main line measured over more than one cycle of the AC main and inversely proportional to a maximum duration at which the power supply can be active.
6. The illumination device as recited in claim 4, wherein the predetermined minimum value is 100 mAmps.
7. The illumination device as recited in claim 5, wherein the DC power supply duration ranges downward from the maximum duration, and the power supply is on for the maximum duration if the DC power supply current surpasses a predetermined minimum value.
8. The illumination device as recited in claim 3, wherein the DC power supply duration is proportional to an average current drawn from the AC main line measured over more than one cycle of the AC main and inversely proportional to a predetermined minimum value.
9. The illumination device as recited in claim 8, wherein the predetermined minimum value is 100 mAmps.
10. The illumination device as recited in claim 3, wherein the power supply further comprising a second control loop clocked at a faster speed than the first control loop.
11. The illumination device as recited in claim 10, wherein the second control loop is configured to generate an actual DC power supply current sampled from the AC main line more frequently than the DC power supply current.
12. The illumination device as recited in claim 3, wherein the second control loop is configured to generate a series of pulses configured to be applied to a gate which controls current through a primary winding of a transformer, the secondary winding of which produces a DC voltage applied to generate the drive current.
13. The illumination device as recited in claim 3, further comprising: a control circuit coupled to detect the conduction angle by measuring the amount of time during each one half cycle of an AC main on the AC main line, between when the AC main is initially rectified positive to when the rectified positive AC main phase angle equals 180° degrees or 360° phase angle.
14. The illumination device as recited in claim 12, further comprising: a control circuit coupled to produce digital reference parameters converted to analog and used by comparators in the power supply to adjust the duty cycle of each of the series of pulses.
15. (canceled)
16. A method for supplying an AC main to a light emitting diode (LED) load, comprising: adjusting a dimmer coupled to the AC main; rectifying positive the output of the dimmer; measuring a conduction angle by measuring the amount of time between when the AC main is initially rectified positive to when the rectified positive AC main phase angle equals 180° degrees or 360° phase angle; and generating a series of pulses during a duration of the conduction angle, each having an active logic value dependent on an amount of drive current needed to be supplied to the LED load and independent of the conduction angle.
17. The method as recited in claim 16, wherein said generating a series of pulses comprises: generating a DC power supply current and a DC power supply duration during each of a duration of the conduction angle; and during the DC power supply duration, generating the series of pulses each of which includes the active logic value.
18. The method as recited in claim 16, further comprising: comparing a DC voltage upon the LED load to a reference voltage and setting an average current drawn from the AC main that is then proportionally supplied as said drive current to the LED load; increasing the average current if the LED load increases; mapping a DC power supply current and a DC power supply duration from the average current by maintaining DC power supply current above a minimum value and maintaining DC power supply duration below a maximum duration of the conduction angle; and setting the duration of the cumulative said series of pulses as well as the duration of the active logic value for each pulse corresponding to the respective DC power supply duration and the DC power supply current; and commuting the current drawn from the AC main proportional to the duration of the active logic value of each pulse.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Other objects and advantages of the invention will become apparent upon reading the following detailed description and upon reference to the accompanying drawings.
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048] While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0049] An illumination device and method are disclosed for luminance control of an LED load. Specifically, the illumination device includes a dimmer coupled to an AC main line and a power supply coupled between the dimmer and the LED load. Coupled to the power supply is a control circuit having a microprocessor. The control circuit measures the conduction angle output from the dimmer onto the input of the power supply. From that conduction angle, the control circuit can determine the maximum time duration at which the power supply can be active. The active power supply produces a drive current onto the LED load independent of the conduction angle, albeit relative to the maximum time it is active. Instead of being dependent on the conduction angle as in conventional power supplies, the improved power supply herein comprises two stages, wherein the first and second stages produce the drive current dependent upon the amount of brightness and color spectrum needed by the LED load, independent of the dimmer angle or conduction angle. The drive current is controlled by the controller and, specifically, by parameters stored and thereafter fetched from a memory of the microprocessor and therefore set within the control circuit. The drive current is not set by the conduction angle output from the dimmer, as would be the case in conventional designs. The controller parameters can be set in firmware during manufacture or can be periodically reset from a wired or wireless communication device coupled to the controller via the wired or wireless communication channel.
[0050]
[0051] Coupled to the output of dimmer 30 can be electromagnetic interference (EMI) circuit 32 to block any disturbance generated by an external source onto the AC main line and can include any of the well-known narrowband or broadband EMI filtering circuitry. Coupled to the output of EMI 32 is bridge circuit 34. Common examples of a bridge circuit include, for example, a diode bridge. Bridge 34 operates in conjunction with dimmer 30 to produce a rectified output (V.sub.HV) from the phase-cut AC mains. As noted above, however, V.sub.HV has transience at the leading edge, for example, of a leading edge rectified dimmer output. Moreover, due to the nature of the triac circuitry of dimmer 30, certain triacs may fail to turn on reliably with reactive loads if the current phase shift within the triac causes the main circuit currents to be below the holding current at the time in which the triac triggers. Thus, a triac can “reset” if the current through the triac drops below the holding current. The problems in conventional design of AC transience on the leading edge of the conduction angle, and shift due to improper triac reset are overcome using the architecture set forth in power supply circuitry 36.
[0052] Power supply 36 comprises first stage 38 and second stage 40. First stage 38 is an AC/DC converter that produces a DC voltage (V.sub.DC) from the AC main voltage (V.sub.HV). Second stage 40 is a DC/DC converter that produces the drive current to the LED load 42. Thus, while V.sub.HV is a filtered and rectified version of the AC mains voltage produced by dimmer 30, V.sub.DC is the DC-converted voltage from V.sub.HV. V.sub.DC feeds a relatively large output capacitor to provide the necessary drive current to achieve the desired brightness and color spectrum when multiple LED chains 44 are used. While
[0053] Differential amplifier 46 is coupled to the AC main line and produces a voltage (V.sub.IN) proportional to the AC line voltage V.sub.HV sent to power supply 36. V.sub.IN is at a sufficiently low voltage value so that it can be digitized by first stage 38, and thereafter used by the phase-locked loop (PLL) (
[0054] Turning now to
[0055] The I.sub.AVE is, in essence, used to generate a series of GATE pulses applied to a flyback converter 68 via an I.sub.SNS controlled through the primary winding 70 of flyback circuit 68, all of which are more fully described in
[0056] The value of when the DC power supply is on for a maximum duration (MAX T.sub.PON), more fully described in
[0057] Circuit 74 determines both the power supply current (I.sub.PS) and the length of time (T.sub.PON) per ½ AC mains cycle in which voltage is applied to the output capacitor coupled to V.sub.DC which, in turn, supplies power to the second stage which then applies power (i.e., drive current) to the LED load. PLL 52 and logic within control block 48 (
[0058] Referring to
[0059] I.sub.PS=a predetermined minimum value (e.g., 100 mA)
[0060] T.sub.PON=(I.sub.AVE/a predetermined minimum value)×(1/120 Hz).
If the answer to block 90 is no, then
I.sub.PS=I.sub.AVE×(1/MAXT.sub.PON×120 Hz)
T.sub.PON=MAX T.sub.PON
[0061] The above equations simply note that when determining the magnitude of the power supply current (I.sub.PS) and the actual time that the power supply operates (T.sub.PON), a comparison is needed of I.sub.AVE against certain parameters. The equations indicate that as I.sub.AVE increases, I.sub.PS remains at a predetermined minimum value, e.g., 100 mA, and T.sub.PON increases. When I.sub.PS and T.sub.PON increases and once I.sub.PON=MAX T.sub.PON, I.sub.PS increases from the predetermined minimum value, e.g., 100 mA. Block 90 merely indicates that a minimum power supply current is maintained, and does not increase until after the time that the power supply operates (T.sub.PON) and is equal to the maximum time in which the power supply can operation (MAX T.sub.PON). In this fashion, the power supply current is always maintained above a predetermined minimum value and the duration in which the power supply is on will never exceed MAX T.sub.PON derived as an offset from the conduction angle as computed by the control circuit. The minimum value is set to be greater than the hold current needed to keep the triac in the conducting state and prevent such from resetting.
[0062] Once the power supply current (I.sub.PS) and the actual time in which the power supply operates (T.sub.PON) is determined, the actual instantaneous current through first stage 38 (I.sub.ACT) is controlled by fast control loop 58. Fast control loop 58 has a much higher bandwidth than slow control loop 60. For example, fast control loop 58 may be in excess of 1 kHz, while slow control loop 60 may have a bandwidth of only a few Hz.
[0063] Fast control loop 58 is used to compare the actual instantaneous current through the AC/DC converter (I.sub.ACT) to the power supply current (I.sub.PS). The power supply current is that which exists through second stage 40 of power supply 36. The difference between the power supply current and the actual instantaneous AC/DC current is compared by comparator 88, and difference is low-pass filtered by filter 89, which is an integrator, to produce the time that the gate is at a logic active state or logic high (T.sub.GATE). The difference between the instantaneous current (I.sub.ACT) and the power supply current (I.sub.PS) is basically the difference between each instantaneous moment in time versus the current over the entire ½ cycle of the AC mains or the current of the AC mains. The actual instantaneous current (I.sub.ACT) is sampled at the fast timer rate of at least 50 kHz, which is the switching rate of signal GATE. The power supply current (I.sub.PS) is sampled at a much lower rate, e.g., less than ½ the AC mains cycle. Fast control loop 58 operates to hold the actual instantaneous current (I.sub.ACT) to the power supply current (I.sub.PS) over time.
[0064] Accordingly, slow control loop 60 controls V.sub.DC and fast control loop 58 controls the actual instantaneous current (I.sub.ACT) drawn from the AC mains. For relatively low average currents (I.sub.AVE), fast control loop 58 holds I.sub.ACT to a predetermined minimum value, e.g., 100 mA, and the amount of time (T.sub.PON) that the power supply 36 operates; T.sub.PON can vary, yet the I.sub.AVE is maintained to no less than the predetermined minimum value, e.g., 100 mA. As noted, once T.sub.PON reaches MAX T.sub.PON determined by control circuit 48, then I.sub.PS increases based on any needed increase effectuated by software within the controller or through direct user interaction via radio 54 or a wired link
[0065] As noted in
[0066] Damper circuit 100 is simply a transistor placed in parallel with a resistor. The resistor is one having a fairly small value such as, for example, 150 ohms. The resistor damps input transience when the /DMP signal output from slow timer circuit 18 transitions to an active low state. The purpose of damping circuit 100 is to ensure that dimmer circuit 30 operates properly. For example, when a triac is used for the dimmer and the triac transitions on, a large voltage is applied to the power supply. That voltage appears at the leading edge of, for example, the conduction angle (
[0067] As noted, certain leading edge or trailing edge triac dimmers require current to be drawn through the AC main line throughout each cycle in order for the conduction angle to be measured properly. After firing, a triac will typically turn off once the current through that triac drops below a certain level. For example, the minimum I.sub.PS, e.g., 100 mA, is sufficient to hold the triac on. However, a triac may reset after power supply 36 turns off, but before the line voltage V.sub.HV drops to near 0. If the triac of dimmer 30 resets prior to the line voltage V.sub.HV dropping to near 0, controller 48 may measure incorrect dimmer angles, i.e., instead of producing the correct dimmer angle or conduction angle and, thus, the correct MAX T.sub.PON, the measured conduction angle and resulting MAX T.sub.PON may be incorrect. Therefore, slow timer 80 produces a bleed signal (BLEED) to instruct circuit 102 to draw a fixed current of a predetermined minimum value, e.g., 100 mA, during times when the power supply 36 is not active and the conduction angle is being measured. Absent an accurate conduction angle measurement, MAX T.sub.PON cannot be output from controller 48, which will dictate when the DC power supply current will be at 100 mA and will exceed, for example, 100 mA when the time the power supply is on reaches the measured MAX T.sub.PON.
[0068] Similar to holding on a triac of dimmer 30, the LED load must draw the drive current I.sub.AVE and the power supply current I.sub.PS from the trailing edge dimmer when measuring the conduction angle. A trailing edge dimmer turns on when the line voltage is near 0 and can turn off when the line voltage is high or at its peak. The line input capacitance must be discharged rapidly when the trailing edge dimmer turns off in order for controller 48 to determine the conduction angle. During cycles in which controller 48 measures the conduction angle, the BLEED signal goes active after the power supply turns off after T.sub.PON ends or when T.sub.PON=MAX T.sub.PON turns off. The falling edge of LSNS indicates the point at which the conduction angle turns off, which puts the power supply in what is known as a current pulse mode (CPM) and turns on the damper circuit with /DMP active low while the dimmer circuit is not conducting. However, the periodic pulses of the GATE signal that occurred during the conduction cycle are maintained in an active logic value, such as logic voltage high during CPM, shown in
[0069] Turning to
[0070] Flyback converter 68 comprises a transformer with primary winding 70 and secondary winding 124. When the GATE signal is high, primary winding 70 conducts and current through increases linearly with time. The current sense resistor R.sub.SNS and comparator 126 produces a current comparator output I.sub.CMP. I.sub.CMP indicates when the primary current reaches a certain value set by the IDAC, where IDAC arrives from a parameter set within the control circuit processor. Fast timer 82 (
[0071] Turning now to
[0072] While the time GATE is high is specified by T.sub.GATE, the time that GATE is low is determined by ZCD. ZCD goes high when all the energy in the transformer core of flyback converter 68 has been transferred and secondary winding 124 and auxiliary winding 114 current drops to 0. As such, a rising edge of ZCD will trigger the start of another AC/DC computation cycle with GATE again going high. Accordingly, the rising edge of ZCD turns GATE on.
[0073] When GATE goes high, the current flowing through primary winding 70 increases linearly with time. When the primary winding current reaches a certain value determined by IDAC and R.sub.SNS, I.sub.CMP goes high. The time from GATE going high to I.sub.CMP going high is shown as T.sub.G2I in
[0074] Turning now to
[0075] Referring to
[0076] While LSEN is low, the first stage AC/DC converter operates in the current pulse mode (CPM). CPM provides a DC load for the dimmer and in CPM, the GATE commutes solely on I.sub.CMP and ZCD. GATE goes high with ZCD and low with I.sub.CMP.
[0077] BLEED (A) and (B) are active between PSEN going low and LSEN going high. When BLEED is high, a predetermined fixed current, e.g., 100 mA, is drawn from the AC main line keeping the triac conducting and enables the conduction angle to be accurately measured. BLEED is active when LSEN is low and the dimmer is not conducting for the same reason that the AC/DC converter first stage operates in CPM. The bleeder helps discharge any parasitics. Preferably, the bleeder need not be active between every pair of conduction angles and, possibly, need only be active between every eighth or twentieth pair of conduction angles, since the bleeder does draw significant current and may not be necessary to bleed after every conduction angle. Preferably, the conduction angle need only be measured at every half AC mains cycle, and when the conduction angle is measured, bleeder is active.
[0078] The I.sub.HV (A) and (B) curves illustrate the current drawn from the AC main line through V.sub.HV for the relatively high and low current conditions shown. In both cases, I.sub.HV quickly ramps to the same high level when the triac dimmer initially turns on. This current is determined by the damping resistor within the damping circuit, and is generally fairly small, e.g., 150 ohms. When the PSEN goes high, the AC/DC first stage draws roughly this same high current actively. The I.sub.HV current then decreases to I.sub.PS determined by the low bandwidth or slow control loop 60 over a period of time. In the (A) example, I.sub.PS is larger than 100 mA since T.sub.PON=MAX T.sub.PON; I.sub.HV drops to 100 mA drawn by the bleeder after PSEN goes low and BLEED (A) goes high. In the (B) example, I.sub.PS is equal to 100 mA since T.sub.PON<MAX T.sub.PON; I.sub.HV simply stays at 100 mA since both the bleeder and the AC/DC converter first stage are set to draw 100 mA. Of course, the predetermined minimum value can be set at any value, with 100 mA being one example. As noted, BLEED does not need to be active every cycle, but only during angle measurement cycles, possibly between every eighth, twentieth, or more pairs of conduction angles.
[0079] Turning now to
I.sub.PK=(T.sub.GATE/T.sub.G2I)×I.sub.SNS
I.sub.ACT=(I.sub.PK/2)×(T.sub.GATE/T.sub.PER)
Knowing the peak current through the primary winding, I.sub.ACT can be set near a midpoint and derived therefrom based on readings of T.sub.GATE and T.sub.PER. Thus, from the peak primary current, the actual primary current can be derived, with I.sub.ACT set to I.sub.PS within fast control loop 58 (
[0080] Referring to
[0081] The LSNS and PLL ZCD are forwarded to a set/reset latch 94 whose output enables a counter 96 and low pass filter 98. The count value is used to compute the conduction angle from the dimmer regardless of how that dimmer is set. An offset from processor 50 is compared with the conduction angle via comparator 100 to produce a maximum time in which the power supply is on (MAX T.sub.PON). MAX T.sub.PON and the conduction angle are used by slow control loop 60; specifically, I.sub.AVE map 74 (
[0082] It will be appreciated that the various parameters and certain magnitudes described herein are given by way of example only. The parameters and magnitudes can be modified to any value for controlling the LED load (both brightness and/or color) independent of the dimmer angle setting, and over a range also independent of a range of the dimmer angle setting. The DC power supply can accommodate and scale to dimmers of differing conduction angle ranges, and those of relatively small maximum conduction angles such as, for example, 90°. By decoupling the LED loads from the dimmer angle, the DC power supply can utilize the full dimming range of 0-100% of the LED brightness by significantly reducing and eliminating the dead travel that may be experienced at the top and bottom of the dimming curve, where conventional dimmer settings produce no visible changes in LED light output. In fact, as long as there is sufficient power to be pulled from the AC mains, the present power supply can adjust the lamp brightness downward to, for example, 0.1% of the maximum lamp brightness. This minimum dimming achieved using the present power supply cannot be attained in conventional dimmer and AC/DC converter architecture. It will be readily appreciated that different parameters and values can be employed provided the above outcomes are achieved without departing from the inventive concepts as will be apparent to those skilled in art in view of this description. It is intended that the following claims be interpreted to embrace all such modifications. The specification and drawings are to be regarded in an illustrative, rather than a restrictive, sense.