The switch 106 is controlled by the controller 104. When the switch 106 is turned on, a current flows through the LED string 108, the inductor 112, the switch 106, and the resistor 110 to ground. The current increases due to the inductance of the inductor 112. When the current reaches a predetermined peak current level, the controller 104 turns off the switch 106. When the switch 106 is turned off, a current flows through the LED string 108, the inductor 112 and the diode 114. The controller 104 can turn on the switch 106 again after a time period. Thus, the controller 104 controls the buck converter based on the predetermined peak current level. However, the average level of the current flowing through the inductor 112 and the LED string 108 can vary with the inductance of the inductor 112, the input voltage VIN, and the regulated voltage VOUT across the LED string 108. Therefore, the average level of the current flowing through the inductor 112 (the average current flowing through the LED string 108) may not be accurately controlled.
In one embodiment, a driving circuit for driving a light-emitting diode (LED) light source includes a buck-boost converter and a controller. The buck-boost converter receives an input voltage and an input current and powers the LED light source, and comprises a switch controlled by a driving signal. The controller receives a first signal indicating a current through the LED light source, and generates the driving signal based on the first signal to control the switch and to adjust the current through the LED light source. The buck-boost converter further comprises a current sensor which provides a second signal indicating an instant current flowing through the buck-boost converter, wherein the first signal is derived from the second signal, and wherein a reference ground of the controller is different from a ground of the driving circuit.
Features and advantages of embodiments of the claimed subject matter will become apparent as the following detailed description proceeds, and upon reference to the drawings, wherein like numerals depict like parts, and in which:
Reference will now be made in detail to the embodiments of the present invention. While the invention will be described in conjunction with these embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims.
Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
Embodiments in accordance with the present invention provide circuits and methods for controlling power converters that can be used to power various types of loads, for example, a light source. In one embodiment, the circuit can include a current sensor operable for monitoring a current flowing through an energy storage element, e.g., an inductor, and include a controller operable for controlling a switch coupled to the inductor so as to control an average current of the light source to a target current. The current sensor can monitor the current through the inductor when the switch is on and also when the switch is off.
In the example of
The current sensor 218 has one end coupled to a node between the switch 316 and the cathode of the diode 314, and the other end coupled to the inductor 302. The current sensor 218 provides a sensing signal ISEN indicating an instant current flowing through the inductor 302 when the switch 316 is on and also when the switch 316 is off. In other words, the current sensor 218 can sense the instant current flowing through the inductor 302 regardless of whether the switch 316 is on or off. The filter 212 coupled to the current sensor 218 generates a sensing signal IAVG indicating an average current flowing through the inductor 302. In one embodiment, the filter 212 includes a resistor 320 and a capacitor 322.
The controller 210 receives the sensing signal ISEN and the sensing signal IAVG, and controls an average current flowing through the inductor 302 to a target current level by turning the switch 316 on and off. A capacitor 324 absorbs ripple current flowing through the LED string 208 such that the current flowing through the LED string 208 is smoothed and substantially equal to the average current flowing through the inductor 302. As such, the current flowing through the LED string 208 can have a level that is substantially equal to the target current level. As used herein, “substantially equal to the target current level” means that the current flowing through the LED string 208 may be slightly different from the target current level but within a range such that the current ripple caused by the non-ideality of the circuit components can be neglected and the power transferred from the inductor 304 to the controller 210 can be neglected.
In the example of
The switch 316 can be an N channel metal oxide semiconductor field effect transistor (NMOSFET). The conductance status of the switch 316 is determined based on a difference between the gate voltage of the switch 316 and the voltage at the terminal GND (the voltage at the common node 333). Therefore, the switch 316 is turned on and turned off depending upon the pulse-width modulation signal PWM1 from the terminal DRV. When the switch 316 is on, the reference ground of the controller 210 is higher than the ground of the driving circuit 300, making the invention suitable for power sources having relatively high voltages.
In operation, when the switch 316 is turned on, a current flows through the switch 316, the current sensor 218, the inductor 302, the LED string 208 to the ground of the driving circuit 300. When the switch 316 is turned off, a current continues to flow through the current sensor 218, the inductor 302, the LED string 208 and the diode 314. The inductor 304 magnetically coupled to the inductor 302 detects an electrical condition of the inductor 302, for example, whether the current flowing through the inductor 302 decreases to a first predetermined current level. Therefore, the controller 210 monitors the current flowing through the inductor 302 through the detection signal AUX, the sensing signal ISEN, and the sensing signal IAVG, and control the switch 316 by a pulse-width modulation signal PWM1 so as to control an average current flowing through the inductor 302 to a target current level, in one embodiment. As such, the current flowing through the LED string 208, which is filtered by the capacitor 324, can also be substantially equal to the target current level.
In one embodiment, the controller 210 determines whether the LED string 208 is in an open circuit condition based on the detection signal AUX. If the LED string 208 is open, the voltage across the capacitor 324 increases. When the switch 316 is off, the voltage across the inductor 302 increases and the voltage of the detection signal AUX increases accordingly. As a result, the current flowing through the terminal ZCD into the controller 210 increases. Therefore, the controller 210 monitors the detection signal AUX and if the current flowing into the controller 210 increases above a current threshold when the switch 316 is off, the controller 210 determines that the LED string 208 is in an open circuit condition.
The controller 210 can also determine whether the LED string 208 is in a short circuit condition based on the voltage at the terminal VDD. If the LED string 208 is in a short circuit condition, when the switch 316 is off, the voltage across the inductor 302 decreases because both terminals of the inductor 302 are coupled to ground of the driving circuit 300. The voltage across the inductor 304 and the voltage at the terminal VDD decrease accordingly. If the voltage at the terminal VDD decreases below a voltage threshold when the switch 316 is off, the controller 210 determines that the LED string 208 is in a short circuit condition.
In the example of
In operation, the pulse-width modulation signal generator 408 can generate the pulse-width modulation signal PWM1 having a first state (e.g., logic 1) to turn on the switch 316. When the switch 316 is turned on, a current flows through the switch 316, the current sensor 218, the inductor 302, the LED string 208 to the ground of the driving circuit 300. The current flowing through the inductor 302 increases such that the voltage of the sensing signal ISEN increases. The detection signal AUX has a negative voltage level when the switch 316 is turned on, in one embodiment. In the controller 210, the comparator 404 compares the error signal VEA with the sensing signal ISEN. When the voltage of the sensing signal ISEN increases above the voltage of the error signal VEA, the output of the comparator 404 is logic 0, otherwise the output of the comparator 404 is logic 1, in one embodiment. In other words, the output of the comparator 404 includes a series of pulses. The pulse-width modulation signal generator 408 generates the pulse-width modulation signal PWM1 having a second state (e.g., logic 0) in response to a negative-going edge of the output of the comparator 404 to turn off the switch 316. The voltage of the detection signal AUX changes to a positive voltage level when the switch 316 is turned off. When the switch 316 is turned off, a current flows through the current sensor 218, the inductor 302, the LED string 208 and the diode 314. The current flowing through the inductor 302 decreases such that the voltage of the sensing signal ISEN decreases. When the current flowing through the inductor 302 decreases to a first predetermined current level (e.g., zero), a negative-going edge occurs to the voltage of the detection signal AUX. Receiving a negative-going edge of the detection signal AUX, the pulse-width modulation signal generator 408 generates the pulse-width modulation signal PWM1 having the first state (e.g., logic 1) to turn on the switch 316.
In one embodiment, a duty cycle of the pulse-width modulation signal PWM1 is determined by the error signal VEA. If the voltage of the sensing signal IAVG is less than the voltage of the reference signal SET, the error amplifier 402 increases the voltage of the error signal VEA so as to increase the duty cycle of the pulse-width modulation signal PWM1. Accordingly, the average current flowing through the inductor 302 increases until the voltage of the sensing signal IAVG reaches the voltage of the reference signal SET. If the voltage of the sensing signal IAVG is greater than the voltage of the reference signal SET, the error amplifier 402 decreases the voltage of the error signal VEA so as to decrease the duty cycle of the pulse-width modulation signal PWM1. Accordingly, the average current flowing through the inductor 302 decreases until the voltage of the sensing signal IAVG drops to the voltage of the reference signal SET. As such, the average current flowing through the inductor 302 can be maintained to be substantially equal to the target current level.
The controller 210 can further include an Under Voltage Lockout (UVLO) circuit 401 coupled to the terminal VDD for selectively turning on one or more components of the controller 210 according to different power conditions. In one embodiment, the UVLO circuit 401 is operable for turning on all the components of the controller 210 when the voltage at the terminal VDD is greater than a first predetermined voltage. The UVLO circuit 401 is operable for turning off all the components of the controller 210 when the voltage at the terminal VDD is less than a second predetermined voltage. In one embodiment, the first predetermined voltage is greater than the second predetermined voltage. The terminal VDD is used to provide power to the controller 210. The terminal GND is coupled to the reference ground for the controller 210.
In the example of
In one embodiment, the reset signal RESET is a pulse signal having a constant frequency. In another embodiment, the reset signal RESET is a pulse signal configured in a way such that a time period Toff during which the switch 316 is off is constant. For example, in
In operation, the pulse-width modulation signal generator 610 generates the pulse-width modulation signal PWM1 having a first state (e.g., logic 1) to turn on the switch 316 in response to a pulse of the reset signal RESET. When the switch 316 is turned on, a current flows through the switch 316, the current sensor 218, the inductor 302, the LED string 208 to the ground of the driving circuit 300. The saw-tooth signal SAW generated by the saw-tooth signal generator 606 starts to increase from an initial level INI in response to a pulse of the reset signal RESET. When the voltage of the saw-tooth signal SAW increases to the voltage of the error signal VEA, the pulse-width modulation signal generator 610 generates the pulse-width modulation signal PWM1 having a second state (e.g., logic 0) to turn off the switch 316. The saw-tooth signal SAW is reset to the initial level INI until a next pulse of the reset signal RESET is received by the saw-tooth signal generator 606. The saw-tooth signal SAW starts to increase from the initial level INI again in response to the next pulse.
In one embodiment, a duty cycle of the pulse-width modulation signal PWM1 is determined by the error signal VEA. If the voltage of the sensing signal IAVG is less than the voltage of the reference signal SET, the error amplifier 602 increases the voltage of the error signal VEA so as to increase the duty cycle of the pulse-width modulation signal PWM1. Accordingly, the average current flowing through the inductor 302 increases until the voltage of the sensing signal IAVG reaches the voltage of the reference signal SET. If the voltage of the sensing signal IAVG is greater than the voltage of the reference signal SET, the error amplifier 602 decreases the voltage of the error signal VEA so as to decrease the duty cycle of the pulse-width modulation signal PWM1. Accordingly, the average current flowing through the inductor 302 decreases until the voltage of the sensing signal IAVG drops to the voltage of the reference signal SET. As such, the average current flowing through the inductor 302 can be maintained to be substantially equal to the target current level.
The terminal VDD of the controller 210 is coupled to the rectifier 204 through a switch 804 for receiving the rectified voltage from the rectifier 204. A Zener diode 802 is coupled between the switch 804 and the reference ground of the controller 210, and maintains the voltage at the terminal VDD at a substantially constant level. In the example of
Accordingly, embodiments in accordance with the present invention provide circuits and methods for controlling a power converter that can be used to power various types of loads. In one embodiment, the power converter provides a substantially constant current to power a load such as a light emitting diode (LED) string. In another embodiment, the power converter provides a substantially constant current to charge a battery. Advantageously, compared with the conventional driving circuit in
The controller 910 generates a driving signal 962. In one embodiment, the power converter 906 includes a switch 316 which is controlled by the driving signal 962. As such, a current IOUT flowing through the LED string 208 is regulated according to the driving signal 962. In one embodiment, the power converter 906 further generates a sensing signal IAVG indicating the current IOUT through the LED string 208.
In one embodiment, the saw-tooth signal generator 902 coupled to the controller 910 generates a saw-tooth signal 960 according to the driving signal 962. For example, the driving signal 962 can be a pulse-width modulation (PWM) signal. In one embodiment, when the driving signal 962 is logic high, the saw-tooth signal 960 is increased; when the driving signal 962 is logic low, the saw-tooth signal 960 drops to a predetermined voltage level, e.g., zero volt.
Advantageously, the controller 910 generates the driving signal 962 based on signals including the saw-tooth signal 960 and the sensing signal IAVG. The driving signal 962 controls the switch 316 to maintain the current IOUT through the LED string 208 at a target level, which improves the accuracy of the current control. In addition, the driving signal 962 controls the switch 316 to adjust an average current IIN
For illustrative purposes but not limitation, the AC input voltage VAC has a sinusoidal waveform. The rectifier 204 rectifies the AC input voltage VAC. In the example of
In one embodiment, the driving signal 962 generated by the controller 910 controls the rectified AC current IIN. In one embodiment, the rectified AC current IIN increases from a predetermined level, e.g., zero ampere. After the rectified AC current IIN reaches a level proportional to the rectified AC input voltage VIN, the rectified AC current IIN drops to the predetermined level. Thus, as shown in
The rectified AC current IIN flowing from the rectifier 204 to the power converter 906 is a rectified current of the current IAC′ flowing into the rectifier 204. As shown in
In one embodiment, by employing a filter 920 between the power source 202 and the rectifier 204, the AC input current IAC is equal to or proportional to an average current of the current IAC′. Therefore, as shown in
In the example of
In one embodiment, the power converter 906 includes an input capacitor 1008 coupled to the power line 912. The input capacitor 1008 reduces ripples of the rectified AC voltage VIN to smooth the waveform of the rectified AC voltage VIN. In one embodiment, the capacitor 1008 has a relatively small capacitance, e.g., less than 0.5 μF, to help eliminate or reduce any distortion of the rectified AC voltage VIN. Moreover, in one embodiment, a current flowing through the capacitor 1008 can be ignored due to the relatively small capacitance. Thus, the rectified AC current IIN flowing through the switch 316 is approximately equal to the current from the rectifier 204 when the switch 316 is on.
The power converter 906 operates similarly as the power converter 206 in
ΔI214=(VIN−VOUT)*TON/L302, (1)
where TON represents a time duration when the switch 316 is turned on, ΔI214 represents a change of the current I214, and L302 represents the inductance of the inductor 302. In one embodiment, the controller 920 controls the driving signal 962 to maintain the time duration TON constant. Therefore, the change ΔI214 of the current I214 during the time TON is proportional to the rectified AC voltage VIN if VOUT is a substantially constant. In one embodiment, the switch 316 is turned on when the current I214 decreases to a predetermined level, e.g., zero ampere. Accordingly, the peak level of the current I214 is proportional to the input voltage VIN.
When the switch 316 is turned off, the current I214 flows from the ground through the diode 314 and the inductor 302 to the LED string 208. Accordingly, the current I214 decreases according to equation (2):
ΔI214=(−VOUT)*TOFF/L302. (2)
Thus, the rectified AC current IIN is substantially equal to the current I214 during an ON state of the switch 316 and equal to zero ampere during an OFF state of the switch 316, in one embodiment.
The inductor 304 senses an electrical condition of the inductor 302, e.g., whether the current flowing through the inductor 302 decreases to a predetermined level (e.g., zero ampere). As discussed in relation to
In one embodiment, the power converter 906 includes an output filter 1024. The output filter 1024 can be a capacitor having a relatively large capacitance, e.g., greater than 400 μF. As such, the current IOUT through the LED string 208 represents an average level of the current I214.
The current sensor 218 generates a sensing signal ISEN indicating the current flowing through the inductor 302. In one embodiment, the signal filter 212 is a resistor-capacitor (RC) filter including a resistor 320 and a capacitor 322. The signal filter 212 removes ripples of the sensing signal ISEN to generate a sensing signal IAVG of the sensing signal ISEN. Thus, in the example of
The saw-tooth signal generator 902 coupled to the DRV terminal and the CS terminal is operable for generating a saw-tooth signal 960 at the CS terminal according to the driving signal 962 on the DRV terminal. By way of example, the saw-tooth signal generator 902 includes a resistor 1016 and a diode 1018 coupled in parallel between the terminal DRV and the terminal CS, and further includes a resistor 1012 and a capacitor 1014 coupled in parallel between the CS terminal and ground. In operation, the saw-tooth signal 960 varies according to the driving signal 962. More specifically, in one embodiment, the driving signal 962 is a PWM signal. When the driving signal 962 is logic high, a current I1 flows from the DRV terminal through the resistor 1016 to the capacitor 1014. Thus, the capacitor 1014 is charged and a voltage V960 of the saw-tooth signal 960 increases. When the driving signal 962 is logic low, a current I2 flows from the capacitor 1014 through the diode 1018 to the DRV terminal. Thus, the capacitor 1014 is discharged and the voltage V960 decreases to zero volts. The saw-tooth signal generator 902 can include other components and is not limited to the example shown in
In one embodiment, the controller 910 is integrated on an integrated circuit (IC) chip. The resistors 1016 and 1012, the diode 1018, and the capacitor 1014 are peripheral components to the IC chip. Alternatively, the saw-tooth signal generator 902 and the controller 910 are both integrated on a single IC chip. In this condition, the terminal CS can be removed, which further reduces the size and the cost of the driving circuit 1000. The power converter 906 can have other configurations and is not limited to the example in
In one embodiment, the controller 910 has similar configurations as the controller 210 in
In one embodiment, the driving signal 962 has a first state, e.g., logic high, to turn on the switch 316 when the detection signal AUX indicates that the current I214 through the inductor 302 drops to a predetermined level, e.g., zero ampere. The driving signal 962 has a second state, e.g., logic low, to turn off the switch 316 when the saw-tooth signal 960 reaches the error signal VEA. Advantageously, since the CS terminal receives the saw-tooth signal 960 instead of the sensing signal ISEN, a peak level of the current I214 through the inductor 302 is not limited by the error signal VEA. Thus, the current I214 through the inductor 302 varies according to the rectified AC voltage VIN as shown in equation (1). For example, the peak level of the current I214 is adjusted to be proportional to the rectified AC voltage VIN instead of the error signal VEA.
The controller 910 controls the driving signal 962 to maintain the current IOUT at a target current level represented by the reference signal SET. For example, if the current IOUT is greater than the target level, e.g., due to the variation of the input voltage VIN, the error amplifier 402 decreases the error signal VEA to shorten the time duration TON of the ON state of the switch 316. Therefore, the average level of the current I214 is decreased to decrease the current IOUT. Likewise, if the current IOUT is less than the target level, the controller 910 lengthens the time duration TON to increase the current IOUT.
As shown in the example of
At time t2, the saw-tooth signal 960 reaches the error signal VEA. Accordingly, the controller 910 adjusts the driving signal 962 to logic low. The saw-tooth signal 960 drops to zero volts. The driving signal 962 turns off the switch 316, thereby decreasing the sensing signal ISEN. In other words, the saw-tooth signal 960 and the error signal VEA determine the time period TON when the driving signal 962 is logic high to turn on the switch 316.
At time t3, the current I214 decreases to the first predetermined current level, e.g., zero ampere. Thus, the controller 910 adjusts the driving signal 962 to logic high to turn on the switch 316.
In one embodiment, the current IOUT flowing through the LED string 208 is equal to or proportional to an average level of the current I214 over a cycle period of the input voltage VIN. As described in relation to
The rectified AC current IIN has a waveform similar to the waveform of the current I214 when the switch 316 is turned on, and is substantially equal to zero ampere when the switch 316 is turned off, in one embodiment. The average current IIN
In block 1302, an input voltage, e.g., the rectified AC voltage VIN, and an input current, e.g., the rectified AC current IIN, are received. In block 1304, the input voltage is converted to an output voltage to power a load, e.g., an LED light source. In block 1306, a current flowing through an energy storage element, e.g., the energy storage element 214, is controlled according to a driving signal, e.g., the driving signal 962, so as to regulate a current through said LED light source.
In block 1308, a first sensing signal, e.g., IAVG, indicating the current through said LED light source is received. In one embodiment, the first sense signal is generated by filtering a second sense signal indicating the current through the energy storage element. In block 1310, a saw-tooth signal is generated based on the driving signal.
In block 1312, the driving signal is controlled based on signals including the saw-tooth signal and the first sense signal to adjust the current through the LED light source to a target level and to correct a power factor of the driving circuit by controlling an average current of the input current to be substantially in phase with the input voltage. In one embodiment, an error signal indicating a difference between the first sense signal and a reference signal indicating the target level of the current through the LED light source is generated. The saw-tooth signal is compared to the error signal. A detection signal indicating an electric condition of the energy storage element is received. The driving signal is switched to a first state if the detection signal indicates that the current through the energy storage element decreases to a predetermined level and is switched to a second state according to a result of the comparison of the saw-tooth signal and the error signal. The current through the energy storage element is increased when the driving signal is in the first state and is decreased when the driving signal is in the second state. In one embodiment, a time duration for the saw-tooth signal to increase from a predetermined level to the error signal is constant if the current through the LED light source is maintained at the target level.
Embodiments in accordance with the present invention provide a driving circuit for driving a load, e.g., an LED light source. The driving circuit includes a power converter and a controller. The power converter converts an input voltage to an output voltage to power the load. The power converter provides a sense signal indicating a current flowing through the load. The driving circuit further includes a saw-tooth signal generator for generating a saw-tooth signal according to the driving signal. Advantageously, the controller generates a driving signal according to signals including the sense signal and the saw-tooth signal. The driving signal controls the current through the energy storage element, which further adjusts the current through the load to a target current level and corrects a power factor by controlling an AC input current to be substantially in phase with an AC input voltage of the driving circuit.
In the example of
In one embodiment, the power converter 1406 includes a capacitor 1408, a switch 1416, a resistor 1420, an energy storage element 1414, a current sensor 1418 (e.g., a resistor), a diode 1412, and a capacitor 1424. The power converter 1406 receives an input voltage and an input current and powers the LED string 208. The switch 1416 is controlled by a driving signal. The controller 1410 receives a sensing signal IAVG indicating a current through the LED string 208 and generates the driving signal based on the sensing signal IAVG to control the switch 1416 and to adjust the current through the LED string 208.
More specifically, the energy storage element 1414 is coupled between the switch 1416 and a ground of the driving circuit 1400. The energy storage element 1414 is also coupled to a common node 1433 between the switch 1416 and the current sensor 1418. The common node 1433 provides a reference ground of the controller 1410. In one embodiment, the reference ground of the controller 1410 is different from the ground of the driving circuit 1400. In the example of
The current of the energy storage element 1414 is controlled by the switch 1416. The resistor 1420, coupled between the switch 1416 and the energy storage element 1414, is operable for providing a sensing signal VSEN to the controller 1410, which indicates a status of the energy storage element 1414. The controller 1410 turns off the switch 1416 if the voltage of the sensing signal VSEN is greater than a predetermined voltage level (e.g. 1.1 V).
The current sensor 1418 has one end coupled to a node 1433, and the other end coupled to the diode 1412. The current sensor 1418 provides a sensing signal ISEN indicating an instant current flowing through the power converter 1406, for example, indicating an instant current flowing through the diode 1412 when the switch 1416 is off. When the switch 1416 is on, no current flows through the diode 1412 because the diode 1412 is reverse-biased. The sensing signal IAVG indicating the current through the LED string 208 is derived from the sensing signal ISEN. More specifically, the filter 212, coupled between the current sensor 1418 and the controller 1410, generates the sensing signal IAVG indicating the current through the LED string 208 based on the sensing signal ISEN. In one embodiment, the filter 212 includes a resistor 320 and a capacitor 322. In the example of
The controller 1410 receives the sensing signal IAVG and controls an average current flowing through the diode 1412 to a target current level by turning the switch 1416 on and off. A capacitor 1424 absorbs ripple current flowing through the LED string 208 such that the current flowing through the LED string 208 is smoothed and substantially equal to the average current flowing through the diode 1412. As such, the current flowing through the LED string 208 can have a level that is substantially equal to the target current level. As used herein, “substantially equal to the target current level” means that the current flowing through the LED string 208 may be slightly different from the target current level but within a range such that the current ripple caused by the non-ideality of the circuit components can be neglected.
In the example of
The switch 1416 can be an N channel metal oxide semiconductor field effect transistor (NMOSFET). The conductance status of the switch 1416 is determined based on a difference between the gate voltage of the switch 1416 and the voltage at the terminal GND (the voltage at the common node 1433). Therefore, the switch 1416 is turned on and turned off depending upon the pulse-width modulation signal PWM1 from the terminal DRV. When the switch 1416 is on, the reference ground of the controller 1410 is higher than the ground of the driving circuit 1400, making the invention suitable for power sources having relatively high voltages.
In operation, when the switch 1416 is turned on, a current flows through the switch 1416, the resistor 1420, the inductor 1402, to the ground of the driving circuit 1400. When the switch 1416 is turned off, a current flows through the inductor 1402, the LED string 208, the diode 1412, and the current sensor 1418. The current sensor 1418 provides the sensing signal ISEN indicating an instant current flowing through the diode 1412. The sensing signal IAVG indicating the current through the LED string 208 is derived from the sensing signal ISEN. Therefore, the controller 1410 controls the switch 1416 by a pulse-width modulation signal PWM1 according to the sensing signal IAVG so as to control an average current flowing through the diode 1412 to a target current level, in one embodiment. As such, the current flowing through the LED string 208, which is filtered by the capacitor 1424, can also be substantially equal to the target current level.
In one embodiment, the controller 1410 determines whether the LED string 208 is in an open circuit condition based on the detection signal AUX. If the LED string 208 is open, the voltage across the capacitor 1424 increases. When the switch 1416 is off, the voltage across the inductor 1402 increases and the voltage of the detection signal AUX increases accordingly. As a result, the current flowing through the terminal ZCD into the controller 1410 increases. Therefore, the controller 1410 monitors the detection signal AUX and if the current flowing through the inductor 1402 increases to a second predetermined current level (e.g., 300 uA) when the switch 1416 is off, the controller 1410 determines that the LED string 208 is in an open circuit condition.
In one embodiment, the controller 1410 determines whether the LED string 208 is in a short circuit condition based on the sensing signal VSEN. If the LED string 208 is in a short circuit condition, the energy stored in the energy storage element 1414 increases and the voltage of the sensing signal VSEN increases accordingly. As a result, the voltage at the terminal CS increases. Therefore, the controller 1410 monitors the sensing signal VSEN and if the voltage of the sensing signal VSEN is greater than a predetermined voltage level (e.g. 1.1 V), the controller 1410 determines that the LED string is in a short circuit condition.
In the example of
In operation, the switch 1416 is on when the pulse-width modulation signal PWM1 has a first state (e.g., logic 1). When the switch 1416 is turned on, a current flows through the switch 1416, the resistor 1420, the inductor 1402, to the ground of the driving circuit 1400. The current flowing through the inductor 1402 increases such that the voltage of the sensing signal VSEN increases. The detection signal AUX has a negative voltage level when the switch 1416 is turned on, in one embodiment. The comparator 404 in the controller 1410 compares the error VEA with the signal VSEN. When the voltage of the signal VSEN increases above the voltage of the error signal VEA, the output of the comparator 404 is changed to logic 0. The pulse-width modulation signal generator 408 generates the pulse-width modulation signal PWM1 having a second state (e.g., logic 0) in response to a negative-going edge of the output of the comparator 404 to turn off the switch 1416. The detection signal AUX has a positive voltage level when the switch 1416 is turned off, in one embodiment. When the switch 1416 is turned off, a current flows through the inductor 1402, the LED string 208, the diode 1412, and the current sensor 1418. The current flowing through the inductor 1402 decreases such that the voltage of the signal VSEN decreases. The pulse-width modulation signal PWM1 is switched to the first state (e.g., logic 1) if the detection signal AUX indicates that the current through the inductor 1402 decreases to a first predetermined current level (e.g., zero ampere). More specifically, when the current flowing through the inductor 1402 decreases to the first predetermined current level (e.g., zero ampere), a negative-going edge occurs to the voltage of the detection signal AUX. Upon receiving a negative-going edge of the detection signal AUX, the pulse-width modulation signal generator 408 generates the pulse-width modulation signal PWM1 having the first state (e.g., logic 1) to turn on the switch 1416.
In one embodiment, the pulse-width modulation signal PWM1 remains at the second state (e.g., logic 0) if the detection signal AUX indicates that the current through the inductor 1402 increases to a second predetermined current level (e.g., 300 uA) when the switch 1416 is off. The controller 1410 determines that the LED string 208 is in an open circuit condition. In one embodiment, if the voltage of the sensing signal VSEN is greater than a predetermined voltage level (e.g., 1.1 V), the controller 1410 determines that the LED string is in a short circuit condition. When the controller 1410 determines that the LED string is in an open circuit condition or a short circuit condition, the pulse-width modulation signal PWM1 remains at the second state (e.g., logic 0) to turn off the switch 1416 until such abnormal condition no longer exists.
In one embodiment, a duty cycle of the pulse-width modulation signal PWM1 is determined by the error signal VEA. If the voltage of the sensing signal IAVG is less than the voltage of the reference signal SET, the error amplifier 402 increases the voltage of the error signal VEA so as to increase the duty cycle of the pulse-width modulation signal PWM1. Accordingly, the average current flowing through the diode 1412 increases until the voltage of the sensing signal IAVG reaches the voltage of the reference signal SET. If the voltage of the sensing signal IAVG is greater than the voltage of the reference signal SET, the error amplifier 402 decreases the voltage of the error signal VEA so as to decrease the duty cycle of the pulse-width modulation signal PWM1. Accordingly, the average current flowing through the diode 1412 decreases until the voltage of the sensing signal IAVG drops to the voltage of the reference signal SET. As such, the average current flowing through the diode 1412 can be maintained to be substantially equal to the target current level.
In one embodiment, the power converter 1406 includes a capacitor 1408 coupled to the power line 912. The capacitor 1408 reduces ripples of the rectified AC voltage VIN to smooth the waveform of the rectified AC voltage VIN. In one embodiment, the capacitor 1408 has a relatively small capacitance to help eliminate or reduce distortion of the rectified AC voltage VIN. Moreover, in one embodiment, a current flowing through the capacitor 1408 can be ignored due to the relatively small capacitance. Thus, the current flowing through the switch 1416 when the switch 1416 is on is approximately equal to the rectified AC current IIN from the rectifier 204.
The power converter 1406 in
ΔI1402=VIN*TON/L1402, (3)
where TON represents a time duration when the switch 1416 is turned on, ΔI1402 represents a change of the current I1402, L1402 represents the inductance of the inductor 1402, and the voltage drops across the switch 1416 and the resistor 1420 are ignored. In one embodiment, the controller 910 controls the driving signal 962 to maintain the time duration TON constant during each switching cycle of the switch 1416. Therefore, the change ΔI1402 of the current I1402 during the time TON is proportional to the rectified AC voltage VIN. In one embodiment, the switch 1416 is turned on when the current I1402 decreases to a first predetermined current level, e.g., zero ampere. Accordingly, the peak level of the current I1402 is proportional to the rectified AC voltage VIN.
In each switching cycle, the switch 1416 is turned off after being turned on for a time period of TON. If the switch 1416 is turned off, a current flows through the inductor 1402, the LED string 208, the diode 1412, and the current sensor 1418. Accordingly, the current I1412 decreases according to equation (4):
ΔI1412=ΔI1402=VOUT*TOFF/L1402. (4)
where TOFF represents a time duration when the switch 1416 is turned off, ΔI1412 represents a change of the current I1412, and the voltage drops across the diode 1412 and the current sensor 1418 are ignored. The rectified AC current IIN is substantially equal to the current I1402 during an ON state of the switch 1416 and equal to zero ampere during an OFF state of the switch 1416, in one embodiment.
In one embodiment, the power converter 1406 includes a capacitor 1424. The capacitor 1424 can be a capacitor having a relatively large capacitance. As such, the current IOUT through the LED string 208 represents an average level of the current I1412.
The controller 910 in
The saw-tooth signal generator 902 coupled to the controller 910 is operable for generating a saw-tooth signal 960 at the CS terminal based on the driving signal 962 at the DRV terminal. By way of example, the saw-tooth signal generator 902 includes a resistor 1016 and a diode 1018 coupled in parallel between the terminal DRV and the terminal CS, and further includes a resistor 1012 and a capacitor 1014 coupled in parallel between the CS terminal and ground. The saw-tooth signal 960 varies according to the driving signal 962. More specifically, in one embodiment, the driving signal 962 is a PWM signal. When the driving signal 962 is logic 1, a current I1 flows from the DRV terminal through the resistor 1016 to the capacitor 1014. Thus, the capacitor 1014 is charged and a voltage V960 of the saw-tooth signal 960 increases. When the driving signal 962 is logic 0, a current I2 flows from the capacitor 1014 through the diode 1018 to the DRV terminal. Thus, the capacitor 1014 is discharged and the voltage V960 decreases to zero volts. The saw-tooth signal generator 902 can include other components and is not limited to the example shown in
Advantageously, the controller 910 generates the driving signal 962 based on the saw-tooth signal 960 and the sensing signal IAVG. The controller 910 adjusts the current IOUT through the LED string 208 to a target current level and corrects a power factor of the driving circuit 1700 by controlling an average current IIN
As shown in the example of
At time t2, when the saw-tooth signal 960 reaches the error signal VEA, the driving signal 962 is switched to the second state (e.g., logic 0). In response to the negative-going edge of the driving signal 962, the saw-tooth signal 960 drops to zero volts and the sensing signal ISEN increases to the peak level of the current I1402. The driving signal 962 turns off the switch 1416 and the current starts to flow through the inductor 1402 and the diode 1412, thereby decreasing the current I1402 and the sensing signal ISEN. In other words, the saw-tooth signal 960 and the error signal VEA determine the time period TON when the driving signal 962 is logic 1 to turn on the switch 1416.
At time t3, the current I1402 and the current I1412 decreases to the first predetermined current level, e.g., zero ampere. Thus, the controller 910 adjusts the driving signal 962 to logic 1 to turn on the switch 1416.
In one embodiment, the current IOUT flowing through the LED string 208 is equal to or proportional to an average level of the current I1412 over a cycle period of the input voltage VIN. As described in relation to
The rectified AC current IIN has a waveform similar to the waveform of the current I1402 when the switch 1416 is turned on, and is substantially equal to zero ampere when the switch 1416 is turned off, in one embodiment. The average current IIN
While the foregoing description and drawings represent embodiments of the present invention, it will be understood that various additions, modifications and substitutions may be made therein without departing from the spirit and scope of the principles of the present invention as defined in the accompanying claims. One skilled in the art will appreciate that the invention may be used with many modifications of form, structure, arrangement, proportions, materials, elements, and components and otherwise, used in the practice of the invention, which are particularly adapted to specific environments and operative requirements without departing from the principles of the present invention. The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims and their legal equivalents, and not limited to the foregoing description.
Number | Date | Country | Kind |
---|---|---|---|
201010119888.2 | Mar 2010 | CN | national |
201110453588.2 | Dec 2011 | CN | national |
This application is a continuation-in-part of the co-pending U.S. application, Ser. No. 12/761,681, titled “Circuits and Methods for Driving Light Sources,” filed on Apr. 16, 2010, which itself claims priority to Chinese Patent Application No. 201010119888.2, titled “Circuits and Methods for Driving Light Sources,” filed on Mar. 4, 2010, with the State Intellectual Property Office of the People's Republic of China. This application is also a continuation-in-part of the co-pending U.S. application, Ser. No. 13/371,351, titled “Circuits and Methods for Driving Light Sources,” filed on Feb. 10, 2012, which itself claims priority to Chinese Patent Application No. 201110453588.2, titled “Circuit, Method and Controller for Driving LED Light Source,” filed on Dec. 29, 2011, with the State Intellectual Property Office of the People's Republic of China. U.S. application, Ser. No. 13/371,351 is also a continuation-in-part of the co-pending U.S. application, Ser. No. 12/761,681, titled “Circuits and Methods for Driving Light Sources,” filed on Apr. 16, 2010, which itself claims priority to Chinese Patent Application No. 201010119888.2, titled “Circuits and Methods for Driving Light Sources,” filed on Mar. 4, 2010, with the State Intellectual Property Office of the People's Republic of China.
Number | Date | Country | |
---|---|---|---|
Parent | 12761681 | Apr 2010 | US |
Child | 13535561 | US | |
Parent | 13371351 | Feb 2012 | US |
Child | 12761681 | US |