The present invention relates to the field of electronics. In particular, the present invention relates to methods and circuits for controlling light emitting diodes (LEDs).
Conventional LED controllers are typically powered by direct current. Because of this limitation, their applications are limited as they would be battery powered or would require conversion of power produced in other forms to direct current. To work with an alternating current power source, conventional LED controllers would require a power adaptor as a transformer, which increases the cost and limits the usage of LEDs. Therefore, there is a need for an improved LED controller that addresses the limitations of the conventional LED controllers.
LED drivers implemented with integrated circuits would have to deal with inherent variations in manufacturing processes, which can affect the accuracy of the currents used to drive the LEDs. A conventional approach is to use an adjustable current setting resistor external to the LED driver integrated circuit for adjusting the current during the manufacturing of the printed circuit board. There are a few drawbacks with this conventional approach. First, this approach adds an additional component to the printed circuit board, which increases the size and thus the cost of the printed circuit board. Second, this approach requires the adjustable current setting resistor to be fine-tuned during the process of manufacturing of the printed circuit board, which increases the manufacturing cost of such conventional LED drivers. Thus, there is a need for methods and circuits that can address such issues of the conventional LED drivers.
Methods and circuits for controlling LEDs are disclosed. In one embodiment, a light emitting diode (LED) driver for driving one or more serially connected LEDs includes a voltage regulator circuit configured to receive a rectified AC voltage, where the voltage regulator circuit includes a depletion device configured to generate an unregulated voltage using the rectified AC voltage, a band gap voltage reference circuit configured to generate one or more reference voltages using the unregulated voltage, and a current setting circuit configured to control the one or more serially connected LEDs using the one or more reference voltages, where the current setting circuit is connected to a circuit ground through a current setting resistor having a fixed resistance value.
In another embodiment, method for controlling one or more serially connected LEDs includes receiving a rectified AC voltage by a voltage regulator circuit, where the voltage regulator circuit includes a depletion device configured to generate an unregulated voltage using the rectified AC voltage, generating one or more reference voltages by a band gap voltage reference circuit using the unregulated voltage, connecting a current setting circuit to a circuit ground through a current setting resistor having a fixed resistance value; and controlling the one or more serially connected LEDs by the current setting circuit using the one or more reference voltages.
The aforementioned features and advantages of the invention, as well as additional features and advantages thereof, will be more clearly understandable after reading detailed descriptions of embodiments of the invention in conjunction with the following drawings.
Like numbers are used throughout the specification.
Methods and circuits are provided for controlling LEDs. The following descriptions are presented to enable any person skilled in the art to make and use the invention. Descriptions of specific embodiments and applications are provided only as examples. Various modifications and combinations of the examples described herein will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other examples and applications without departing from the spirit and scope of the invention. Thus, the present invention is not intended to be limited to the examples described and shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
Some portions of the detailed description that follows are presented in terms of flowcharts, logic blocks, and other symbolic representations of operations on information that can be performed on a computer system. A procedure, computer-executed step, logic block, process, etc., is here conceived to be a self-consistent sequence of one or more steps or instructions leading to a desired result. The steps are those utilizing physical manipulations of physical quantities. These quantities can take the form of electrical, magnetic, or radio signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. These signals may be referred to at times as bits, values, elements, symbols, characters, terms, numbers, or the like. Each step may be performed by hardware, software, firmware, or combinations thereof.
The LED controller further includes a voltage regulator (and reference) unit 110, and a current regulator (and LED sequencer) unit 112, a top LED driver unit 114, a center LED driver unit 116, and a bottom LED driver unit 118. The top LED driver unit is coupled to a TOP pin 115; the center LED driver unit 116 is coupled to a center (CNTR) pin 117; and the bottom LED driver unit 118 is coupled to a bottom (BOTM) pin 119. The voltage regulator 110 is coupled to the overshoot voltage protection unit 102, the current regulator unit 112, and the TOP pin 115. The current regulator is coupled to the overshoot voltage protection unit 102, the LED current select unit 104, the pulse width modulation dimming unit 106, the thermal control unit 108, the top LED driver unit 114, the center LED driver unit 116, and the bottom LED driver unit 118. The current regulator 112 is also coupled to an analog ground (AGND) pin 109. The top LED driver unit 114, the center LED driver unit 116, and the bottom LED driver unit 118 are coupled to a digital ground (GND) pin 121.
The LED controller 100 supports both conventional TRIAC dimming, and pulse width modulation dimming. Built-in thermal regulation mechanism may be employed to linearly reduce the LED current when the driver's junction temperature exceeds a preprogrammed temperature, such as 100° C. They may also be configured to shut-down when the junction temperature reaches preprogrammed temperature, for example 150° C., to prevent the system from thermal runaway. The mode pin sets the driver's operating voltage to 110V AC or 220V AC environment. It protects the system from being damaged when power is applied incorrectly. The drivers can withstand up to 400 volts between the TOP and GND pins. It consumes about 150 uA of quiescent current.
The LED controller 100 supports a series (also referred to as a string) of LEDs operating at a current of 30 mA. It may sink 30 mA of constant current and sequentially turns on/off the LED string sequentially according to pre-determined input voltages. The string of LEDs light up in the order of top, center, then bottom, and shut off in the reverse order when the LED string is powered directly from a full-wave rectifier off an AC line. The programmable LED current provides user the flexibility to adjust the LED current within a +/−10% range.
The following table lists pin definition of the LED controller according to embodiments of the present invention.
The LED controller 100 may be implemented in a package of a SOP-8 exposed pad. Specifically, the current select (ISEL) pin 105 is assigned to pin 1; the center pin 117 is assigned to pin 2; the bottom pin 119 is assigned to pin 3, the dim pin 107 is assigned to pin 4, the mode pin 103 is assigned to pin 5; the digital ground (GND) pin 121 is assigned to pin 6; the top pin 115 is assigned to pin 7; and the analog ground (AGND) pin 109 is assigned to pin 8. A digital ground is applied to the center of the package, as shown with the dotted rectangle.
The following table lists exemplary electrical specifications of the LED controller.
According to embodiments of the present invention, input voltage may be up to 400 volts (V). Operating ambient temperature range may be from −40° C. to 85° C. Operating junction temperature may be up to 150° C. Storage temperature may be from −65° C. to 150° C. Lead temperature may be up to 260° C. Thermal resistance junction to ambient may be up to 60° C./W.
Since the output voltage is fixed around 1.25 V for typical band gap reference circuits, the minimum operating voltage can be about 1.4 V, as in a CMOS circuit at least one drain-source voltage of a FET (field effect transistor) has to be added. Therefore, in one approach, currents are summed instead of voltages, resulting in a lower theoretical limit for the operating voltage.
There are numerous benefits with the disclosed LED controller. First, it can operate with either 110V AC or 220V AC power source, which enables the LED controller to be used in a wide range of applications. The LED controller is able to turn on/off a series of LEDs sequentially. It supports user programmable LED current, as well as both a triode alternating current (TRIAC) and pulse width modulation (PWM) dimming architectures. Furthermore, it performs thermal regulation with built-in thermal detection and thermal shut-down capabilities. The LED controller may withstand up to 400 volts input voltage, with input overshoot voltage protection. It operates with low quiescent current and high efficiency.
In this exemplary implementation, when a rectified AC voltage is applied, LED1 may first be turned on while LED2 . . . LEDN−1, and LEDN remain off. With LED1 being turned on, current may pass through LED1, M1, ML, and RCS, and the current may be approximately equal to Ref1/RCS. As current passes through M1, U1 can sense the current passing through R1 and outputs a signal to cause the output of the sensing control circuit US to select Ref1. In some implementations, U1, and R1 may be bypassed or removed (as indicated by the dotted lines), when the default reference voltage VRef is selected to be Ref1.
As the rectified AC voltage continues to increase, LED2 may be turned on while LED3 . . . LEDN−1, and LEDN remain off. With LED2 being turned on, current may pass through LED1, LED2, M2, ML, and RCS, and the current may be approximately equal to Ref2/RCS. As current passes through M2, U2 can sense the current passing through R2 and outputs a signal to turn off M1 and change the output of the sensing control circuit US to select Ref2.
As the rectified AC voltage continues to increase, the process described above may be repeated, as each of the LED and its corresponding channel may be turned on sequentially. For example, LEDN−1 may be turned on while LEDN remain off. With LEDN−1 being turned on, current may pass through LED1, LED2 . . . LEDN−1, MN−1, ML, and RCS, and the current may be approximately equal to RefN−1/RCS. As current passes through MN−1, UN−1 can sense the current passing through RN−1 and outputs a signal to turn off the previous stage (MN−2 not shown) and change the output of the sensing control circuit US to select RefN−1. In addition, as the rectified AC voltage continues to increase, LEDN may be turned on. With LEDN being turned on, current may pass through LED1, LED2 . . . LEDN−1, LEDN, MN, ML, and RCS, and the current may be approximately equal to RefN/RCS. As current passes through MN, UN can sense the current passing through RN and outputs a signal to turn off MN−1 and change the output of the sensing control circuit US to select RefN.
After the rectified AC voltage reaches a peak value, it may start to decrease. As the rectified AC voltage decreases, the current passing through LEDN may be reduced to a certain level and may eventually turn off LEDN. The current sensing comparator UN can sense the current reduction in RN and outputs a signal to change the output of the sensing control circuit US to select RefN−1 and may cause MN−1 to be turned on. This may cause the current to pass through LED1, LED2 . . . LEDN−1, MN−1, ML, and RCS, and the current may be approximately equal to RefN−1/RCS. As the rectified AC voltage continues to decrease, the process described above may repeat, as each of the LED and its corresponding channel may be turned off sequentially until LED1 turns off due to insufficient voltage applied to LED1.
In the exemplary implementation of
The TRIAC dimmer needs some current in order to maintain a conduction mode. A minimum current needed for the TRIAC dimmer to maintain the conduction mode is call the holding current. According to aspects of the present disclosure, MT is added so that holding current condition is met when LED1, LED2 . . . LEDN−1, and LEDN are turned off.
In this exemplary implementation, when an AC voltage is applied to the input of the rectifier U0, the voltage at the output of the rectifier starts to increase. At some point, the voltage across LED1 is sufficient to turn on LED1 and a current through the LED1 flows through M1 and RCS. LED2 . . . LEDN−1 and LEDN are off at this point since the rectified voltage is not sufficient to turn them on. U1, M1 and RCS together with a reference voltage Ref1 form a current setting look that sets the current to VCS/RCS, which may be approximately equal to Ref1/RCS at this point.
As the rectified AC voltage continues to increase, LED2 may gain enough voltage across it and LED2 may be turned on. As a result, current may flow through M2 and RCS. The error amplifier U2 may force VCS to increase from Ref1 to Ref2. As VCS increases, it may be greater than Ref1, since Ref2 is greater than Ref1. Since the negative input of the error amplifier U1 is higher than its positive input, the output of error amplifier U1 swing low and causing M1 to be turned off. Current may then flow through LED1, LED2, M2 and RCS.
The process may be repeated for the rest of the LEDs. For example, when LEDN−1 gains enough voltage to turn on LEDN−1, MN−1 may be turned on and the previous stage (MN−2, not shown) may be turned off. Similarly, when MN is turned on, MN−1 may be turned off.
When the rectified AC voltage reaches the peak, it may start to decrease. When the rectified AC voltage decreases to certain point, where LEDN may not have enough voltage to be fully turned on, and current in MN may reduce and VCS may also be reduced due to insufficient current flowing through RCS. At some point, LEDN would be turned off, and VCS would be reduced to RefN−1 level. When VCS drops below RefN−1, MN would be turned on and VCS would be regulated to RefN−1 by UN−1. Current may then flow through LED1, LED2 . . . LEDN−1, MN−1 and RCS.
As the rectified AC voltage continues to decrease, LEDN−1 may start to turn off and VCS may be further reduced due to insufficient current flowing through RCS. When LEDN−1 is off, VCS may be dropped to Ref2 level, and when VCS drops below Ref2, M2 may start to conduct current at a level of Ref2/RCS, current path may then be flowing through LED1, LED2, M2 and RCS. As the rectified AC voltage continues to decrease, LED2 and LED1 may also be turned off, for the similar reasons described above between the stage N and N−1.
In the exemplary implementation of
The TRIAC dimmer may require some current in order to maintain a conduction mode. A minimum current needed for the TRIAC dimmer to maintain the conduction mode is call the holding current. When the rectified AC voltage may be low, all LEDs may be turned off and no holing current can be provided to the TRIAC dimmer by the LEDs. According to aspects of the present disclosure, MT and UT can be added so that holding current condition can be met with Ref0 when LED1, LED2 . . . LEDN−1, and LEDN are turned off.
According to aspects of the present disclosure, the resistance value of RCS may be fixed. In addition, the current setting resistor RCS, the voltage regulator circuit U0, the band gap voltage reference circuit UR and the current setting circuit (UL and ML) may reside within an integrated circuit.
In this exemplary implementation, when an AC voltage is applied to the input of the rectifier U0, the voltage at the output of the rectifier starts to increase. At some point, the voltage across LEDL is sufficient to turn on LEDL and a current through the LEDL flows through ML and RCS. UL, ML and RCS together with a reference voltage RefL form a current setting loop that sets the current to VCS/RCS, which may be approximately equal to RefL/RCS at this point.
When the rectified AC voltage reaches the peak, it may start to decrease. When the rectified AC voltage decreases to certain point, where LEDL may not have enough voltage to be fully turned on, and current in ML may reduce and VCS may also be reduced due to insufficient current flowing through RCS. At some point, LEDL would be turned off.
In the exemplary implementation of
According to aspects of the present disclosure, each resistance unit in the first set of resistance units has a resistance value in a format of power of two, with a first resistance unit adjacent to the first fixed resistor having a highest resistance value, and a last resistance unit furthest from the first fixed resistor having a value of one resistance unit. For example, R1a has a value of 1 resistance unit; R1b has a value of 2 resistance units; R1c has a value of 4 resistance units; R1d has a value of 8 resistance units, and so on. The value of a resistance unit may be set based on a particular application, such as μΩ, mΩ, Ω (Ohm), KΩ, MΩ, or other values. By keeping or “cutting” the fuse, the corresponding resister in a particular resistance unit may be bypassed or may be enabled.
The first adjustable load of a bandgap voltage reference circuit further includes a first set of resistance fractions. In this example, the first set of resistance fractions are connected in series. In this exemplary implementation, each resistance fraction in the first set of resistance fractions includes a fuse and one or more resistors. For example F1n and two parallel resistors that give a resistance value of R1n, F1m and three parallel resistors that give a resistance value of R1m . . . F1r and a number of parallel resistors that give a resistance value R1r. Note that within each resistance fraction in the first set of resistance fractions, the fuse and the one or more resistors are connected in parallel. The first fixed resistor, the first set of resistance units, and the first set of resistance fractions are connected in series.
According to aspects of the present disclosure, each resistance fraction in the first set of resistance fractions has a resistance value in a format of negative power of two, with a first resistance fraction adjacent to the first set of resistance units having a value of a half of one resistance unit, and a last resistance fraction furthest from the first set of resistance units having a lowest resistance value. For example, R1n has a value of ½ resistance unit; R1m has a value of ¼ resistance units, and so on. Based on a particular application, the value of a resistance fraction may be set similar to the corresponding resistance unit, such as μΩ, mΩ, Ω, KΩ, MΩ, or other values. By keeping or “cutting” the fuse, the corresponding resister(s) in a particular resistance fraction may be bypassed or may be enabled.
With the above technique, the first adjustable load may be modified to attain a particular resistance value, which equals to R1_fixed plus a programmable number of resistance units from the first set of resistance units and plus a programmable number of resistance fractions from the first set of resistance fractions. This approach enables the bandgap circuit reference voltage circuit to set the value of the first adjustable load L1 to be a desired value within a predetermined percentage of error.
According to aspects of the present disclosure, each resistance unit in the second set of resistance units has a resistance value in a format of power of two, with the unit adjacent to the second fixed resistor having a highest resistance value, and a last resistance unit furthest from the second fixed resistor having a value of one resistance unit. With this implementation, R2a has a value of 1 resistance unit; R2b has a value of 2 resistance units; R2c has a value of 4 resistance units; R2d has a value of 8 resistance units, and so on. The value of a resistance unit may be set based on a particular application, such as μΩ, mΩ, Ω (Ohm), KΩ, MΩ, or other values. By keeping or “cutting” the fuse, the corresponding resister in a particular resistance unit may be bypassed or may be enabled.
The second adjustable load of a bandgap voltage reference circuit further includes a second set of resistance fractions. In this example, the second set of resistance fractions are connected in series. In this exemplary implementation, each resistance fraction in the second set of resistance fractions includes a fuse and one or more resistors. For example F2n and two parallel resistors that give a resistance value of R2n, F2m and three parallel resistors that give a resistance value of R2m . . . F2t and a number of parallel resistors that give a resistance value R2t. Note that within each resistance fraction in the second set of resistance fractions, the fuse and the one or more resistors are connected in parallel. The second fixed resistor, the second set of resistance units, and the second set of resistance fractions are connected in series.
According to aspects of the present disclosure, each resistance fraction in the second set of resistance fractions has a resistance value in a format of negative power of two, with the resistance fraction adjacent to the second set of resistance units having a value of a half of one resistance unit, and a last resistance fraction furthest from the first set of resistance units having a lowest resistance value. For example, R2n has a value of ½ resistance unit; R2m has a value of ¼ resistance units, and so on. Based on a particular application, the value of a resistance fraction may be set similar to the corresponding resistance unit, such as μΩ, mΩ, Ω, KΩ, MΩ, or other values. By keeping or “cutting” the fuse, the corresponding resister(s) in a particular resistance fraction may be bypassed or may be enabled.
With the above technique, the second adjustable load may be modified to attain a particular resistance value, which equals to R2_fixed plus a programmable number of resistance units from the second set of resistance units and plus a programmable number of resistance fractions from the second set of resistance fractions. This approach enables the bandgap circuit reference voltage circuit to set the value of the second adjustable load L2 to be a desired value within a predetermined percentage of error.
According to aspects of the present disclosure, using the techniques described above in adjusted the first adjustable load and the second adjustable load, the band gap reference voltage circuit can be configured to produce a reference output voltage at a desired value within a predetermined percentage of error, which can be used in turn to produce a current to drive the one or more LEDs with a desired magnitude and within a predetermined percentage of error.
According to aspects of the present disclosure, the techniques described above in adjust the first adjustable load and the second adjustable load may be employed to adjust the other adjustable loads as shown in
It is beneficial to place the fuses of the first adjustable load together as shown in
There are benefits to place the fuses of the second adjustable load together as shown in
According to aspects of the present disclosure, each resistance unit in the first set of resistance units has a resistance value in a format of power of two, with a first resistance unit adjacent to the first fixed resistor having a highest resistance value, and a last resistance unit furthest from the first fixed resistor having a value of one resistance unit. Each resistance fraction in the first set of resistance fractions produces a resistance value of in a format of negative power of two, with a first resistance fraction adjacent to the first set of resistance units having a value of a half of one resistance unit, and a last resistance fraction furthest from the first set of resistance units having a lowest resistance value.
According to aspects of the present disclosure, each resistance unit in the second set of resistance units has a resistance value in a format of power of two, with a second resistance unit adjacent to the second fixed resistor having a highest resistance value, and a last resistance unit furthest from the second fixed resistor having a value of one resistance unit. Each resistance fraction in the second set of resistance fractions produces a resistance value of in a format of negative power of two, with a second resistance fraction adjacent to the first set of resistance units having a value of a half of one resistance unit, and a last resistance fraction furthest from the second set of resistance units having a lowest resistance value.
The invention can be implemented in any suitable form, including hardware, software, and firmware. The invention may optionally be implemented partly as computer software running on one or more data processors and/or digital signal processors. The elements and components of an embodiment of the invention may be physically, functionally, and logically implemented in any suitable way. Indeed, the functionality may be implemented in a single unit, in a plurality of units, or as part of other functional units. As such, the invention may be implemented in a single unit or may be physically and functionally distributed between different units and processors.
One skilled in the relevant art will recognize that many possible modifications and combinations of the disclosed embodiments may be used, while still employing the same basic underlying mechanisms and methodologies. The foregoing description, for purposes of explanation, has been written with references to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The embodiments were chosen and described to explain the principles of the invention and their practical applications, and to enable others skilled in the art to best utilize the invention and various embodiments with various modifications as suited to the particular use contemplated.
Number | Name | Date | Kind |
---|---|---|---|
7729147 | Wong | Jun 2010 | B1 |
9107258 | Chao | Aug 2015 | B1 |
9288862 | Kim | Mar 2016 | B2 |
20070188114 | Lys | Aug 2007 | A1 |
20080074172 | Marinca | Mar 2008 | A1 |
20080094000 | Yamamoto | Apr 2008 | A1 |
20080122364 | McClellan | May 2008 | A1 |
20100156322 | Sun | Jun 2010 | A1 |
20100283391 | Braunshtein | Nov 2010 | A1 |
20100320935 | Wibben | Dec 2010 | A1 |
20110187283 | Wang | Aug 2011 | A1 |
20140239824 | Li | Aug 2014 | A1 |
20150351193 | Chao | Dec 2015 | A1 |