This application claims priority to and the benefit of Chinese Patent Application No. 201110201794.4, filed Jul. 19, 2011, which is incorporated herein by reference in its entirety.
The present disclosure relates generally to electronic circuits, and more particularly but not exclusively to LED drivers and the method thereof.
LEDs are applied in various solutions, for example, LCD backlight and general lighting. LED drivers are needed to supply regulated current to LED strings. Normally, a LED driver may comprise a rectifier and a transformer. The rectifier rectifies an AC signal to a DC signal. The transformer receives the DC signal and provides a converted DC signal having a voltage value decided by the turns ratio of a primary winding of the transformer to a secondary winding of the transformer.
The conventional primary side controlled LED driver may comprise a rectifier, a power switch, a transformer, a secondary circuit, a logic control circuit and a load, e.g. LED strings. In conventional primary side controlled LED drivers, a voltage provided to the LED strings is fixed, so that a current of a LED string is inversely proportional to the number of LEDs in the LED string.
The present disclosure pertains to provide a LED driver providing a constant current to a LED string despite the varying of the number of LEDs in the LED string.
It is an object of the present disclosure to provide a LED driver and the method thereof.
In accomplishing the above and other objects, there has been provided, in accordance with an embodiment of the present disclosure, a LED driver comprising: a power switch; a transformer comprising a primary winding, a secondary winding and a third winding, wherein the primary winding is coupled to the power switch, and the transformer stores or transfers energy as the power switch is turned ON and OFF; a current sense circuit coupled to the power switch to sense a current flowing through the power switch, and to generate a current sense signal based thereupon; a zero cross detecting circuit coupled to the third winding to detect a current flowing through the secondary winding, and to generate a zero cross detecting signal based thereupon, and wherein the zero cross detecting signal indicates when the current flowing through the secondary winding crosses zero; a control circuit coupled to the current sense circuit and the zero cross detecting circuit, and based on the current sense signal and the zero cross detecting signal, the control circuit generates a control signal to control the power switch; and a compensation circuit coupled to the third winding and the control circuit, wherein the compensation circuit compensates the current sense signal based on a current flowing through the third winding.
Furthermore, there has been provided, in accordance with an embodiment of the present disclosure, a method for driving LED strings by a LED driver. The LED driver comprises a power switch and a transformer, wherein the transformer comprises a primary winding, a secondary winding and a third winding, wherein the primary winding is coupled to the power switch, and the transformer stores or transfers energy as the power switch is turned ON and OFF. The method comprises: detecting a current flowing through the secondary winding and generating a zero cross detecting signal based thereupon, wherein the zero cross detecting signal indicates when the current flowing through the secondary winding crosses zero; sensing a current flowing through the power switch, and generating a current sense signal based thereupon; compensating the current sense signal based on the signal from the secondary winding; and turning ON and OFF the power switch based on the compensated current sense signal and the zero cross detecting signal.
The current sense signal which controls the LED driver together with other signals is compensated, so that to keep the current flowing through a load, e.g. LED strings, be constant even when the number of the LEDs in the string is varying.
The use of the same reference label in different drawings indicates same or like components.
In the present disclosure, numerous specific details are provided, such as examples of circuits, components, and methods, to provide a thorough understanding of embodiments of the disclosure. Persons of ordinary skill in the art will recognize, however, that the disclosure can be practiced without one or more of the specific details. In other instances, well-known details are not shown or described to avoid obscuring aspects of the disclosure.
Some embodiments are described in the present disclosure. In one embodiment, a compensation circuit compensates a current sense signal generated by a current sense circuit, wherein the compensation circuit is coupled between a third winding of a transformer and the current sense circuit. A control circuit controls the ON and OFF of a power switch based on a compensated current sense signal and a zero cross detecting signal. In one embodiment, the control circuit controls the ON and OFF of the power switch based on the compensated current sense signal, the zero cross detecting signal and a rectified signal. In the embodiments of the present disclosure, because the current sense signal is compensated, a current flowing through a LED string keeps constant even when number of the LEDs in a LED string varies.
In one embodiment, the compensation circuit comprises a current mirror circuit, wherein the current mirror circuit is coupled between the third winding of the transformer and the current sense circuit.
In one embodiment, the compensation circuit comprises a voltage-controlled current source, wherein the voltage-controlled current source is coupled between the third winding of the transformer and the current sense circuit.
The rectifier 101 comprises four diodes which may be replaced by other semiconductor devices, wherein the four diodes form a full-bridge. The rectifier 101 has a first terminal and a second terminal, wherein the first terminal is coupled to a first terminal of the voltage detecting circuit 102 and a first terminal of the primary winding T1, and the second terminal is coupled to a second terminal of the voltage detecting circuit 102 and a first terminal of the third winding T3.
The voltage detecting circuit 102 comprises a resistor R3 and a resistor R4 coupled in series. The voltage detecting circuit 102 detects the output voltage of the rectifier 101 and generates a rectified signal Vin-rec based thereupon. Persons of ordinary skill in the art should know that the voltage detecting circuit 102 may comprise capacitors coupled in series or may comprise other devices.
The power switch Q1 is coupled to a second terminal of the primary winding T1, and is controlled by a control signal Cgate generated by the control circuit 108. When the power switch Q1 is ON, there is a current flowing through the primary winding T1, and thereby energy is stored in the primary winding T1. When the power switch Q1 is OFF, the energy stored in the primary winding T1 is transferred to the secondary winding T2. The secondary winding T2, a diode D5, a resistor R5, a capacitor C1 and a load RL are coupled as shown in
The zero cross detecting circuit 106 is coupled to a second terminal of the third winding T3. The zero cross detecting circuit 106 comprises a resistor R1 and a resistor R2 coupled in series. The zero cross detecting circuit 106 detects a current flowing through the third winding T3 which is indicative of a current flowing through the secondary winding T2. When the current flowing through the secondary winding T2 crosses zero, the zero cross detecting signal ZCD generated by the zero cross detecting circuit 106 is valid.
The current sense circuit 107 is coupled to the power switch Q1 to sense a current flowing through the power switch Q1 and to generate a current sense signal Cs based thereupon. The current sense signal Cs, the zero cross detecting signal ZCD and the rectified signal Vin-rec are provided to the control circuit 108. The control circuit 108 generates a control signal Cgate to control the ON and OFF of the power switch Q1. The current sense circuit 107 comprises a resistor network formed by a resistor R7, a resistor R8, a resistor R9 and a resistor R10.
The control circuit 108 comprises a multiplier M1. The multiplier M1 receives the rectified signal Vin-rec and an error signal VCOMP, wherein the multiplier M1 generates an expected signal Vexp by multiplying the rectified signal Vin-rec with the error signal VCOMP. A comparator COMP2 compares the expected signal Vexp with the current sense signal Cs to provide a reset signal to a reset terminal of a RS flip-flop RS1. A comparator COMP1 compares the zero cross detecting signal ZCD with a reference signal Vref, to provide a set signal to a set terminal of the RS flip-flop RS1. When the set signal at the set terminal “S” is logical high, the control signal Cgate provided at the output terminal “Q” of the RS flip-flop RS1 is logical high. When the reset signal at the reset terminal “R” is logical high, the control signal Cgate is logical low. The power switch Q1 is turned ON and OFF by the control signal Cgate, to transfer the energy stored in the primary winding T1 to the secondary winding T2.
The rectifier 301 comprises four diodes which may be replaced by other semiconductor devices, wherein the four diodes form a full-bridge. The rectifier 301 has a first terminal and a second terminal, wherein the first terminal is coupled to a first terminal of the voltage detecting circuit 302 and a first terminal of the primary winding T1, and the second terminal is coupled to a second terminal of the voltage detecting circuit 302 and a first terminal of the third winding T3.
The power switch Q1 is coupled to the primary winding T1, and is controlled by a control signal Cgate generated by the control circuit 308. The current sense circuit 307 is coupled to the power switch Q1 to sense a current flowing through the power switch Q1 and to generate a current sense signal Cs based thereupon. The current sense signal Cs indicates a current flowing through a LED string which is adopted as the load. In one embodiment, the current sense circuit 307 comprises resistors. Persons of ordinary skill in the art should know that any suitable current sense circuit may be adopted without detracting from the merits of the present disclosure.
In one embodiment, the LED driver further comprises a compensation circuit 310 coupled between a second terminal of the third winding T3 of the transformer 303 and an output terminal of the current sense circuit 307. The compensation circuit 310 comprises a resistor R11 and a current mirror circuit formed by several transistors. A current flowing through the resistor R11 is proportional to the voltage across the third winding T3, which is also proportional to the voltage across the secondary winding T2. The current flowing through the resistor R11 could compensate the current sense signal Cs and then eliminate the variation of the current flowing through the LED string when the number of the LEDs in the LED string varies. In other words, the current sense signal Cs may be compensated by adjusting the resistance of the resistor R11 and the resistance of the resistors of the current sense circuit 307, and thereby generating a compensated current sense signal Cs'.
In one embodiment, the current mirror circuit comprises a first NPN transistor and a second NPN transistor. An emitter current of the first NPN transistor and an emitter current of the second NPN transistor are almost the same. A collector of the first NPN transistor is coupled to the third winding T3. A collector of the second NPN transistor is coupled to an input terminal of the control circuit 308 and the output terminal of the current sense circuit 307.
In one embodiment, the emitter current of the first NPN transistor is regulated by adjusting the resistance of the resistor R11.
In one embodiment, the compensation circuit 310 further comprises a diode D6 coupled between the third winding T3 and the resistor R11.
The zero cross detecting circuit 306 comprises a resistor R1 and a resistor R2 coupled in series, wherein the zero cross detecting circuit 306 is coupled to the third winding T3. The zero cross detecting circuit 306 detects a current flowing through the secondary winding T2 by detecting the current flowing through the third winding T3, and thereby generates the zero cross detecting signal which indicates when the current flowing through the secondary winding T2 crosses zero.
The voltage detecting circuit 302 comprises a resistor R3 and a resistor R4 coupled in series, wherein the voltage detecting circuit 302 is coupled to the rectifier 301. The voltage detecting circuit 302 detects an output voltage of the rectifier 301 and generates a rectified signal Vin-rec based thereupon. Persons of ordinary skill in the art should know that the voltage detecting circuit 302 may comprise capacitors coupled in series or other devices.
In one embodiment, the control circuit 308 receives the zero cross detecting signal ZCD, the compensated current sense signal Cs' and the rectified signal Vin-rec, and then generates a control signal Cgate to control the ON and OFF of the power switch Q1.
In one embodiment, the control circuit 308 comprises a multiplier Ml. The multiplier M1 receives the rectified signal Vin-rec and an error signal VCOMP, wherein the multiplier M1 generates an expected signal Vexp by multiplying the rectified signal Vin-rec with the error signal VCOMP. A comparator COMP2 compares the expected signal Vexp with the compensated current sense signal Cs' to provide a signal to a reset terminal of a RS flip-flop RS1. A comparator COMP1 compares the zero cross detecting signal ZCD and a reference signal Vref, to provide a signal to a set terminal of the RS flip-flop RS1. When the signal at the set terminal S is logical high, the control signal Cgate provided at the output terminal Q of the RS flip-flop RS1 is logical high. When the signal at the reset terminal R is logical high, the control signal Cgate is logical low. The power switch Q1 is turned ON and OFF by the control signal Cgate, to transfer the energy stored in the primary winding T1 to the secondary winding T2.
The flowchart of the control circuit 308 comprises steps 601-604, wherein:
step 601, detecting a current flowing through the power switch, and generating a current sense signal based thereupon;
step 602, compensating the current sense signal based on a current from the third winding;
step 603, generating a zero cross detecting signal indicating when a current flowing through the secondary winding T2 crosses zero;
step 604, generating a control signal to control the ON and OFF of the power switch at least based on the compensated current sense signal and the zero cross detecting signal by the control circuit.
In one embodiment, compensating the current sense signal by a current mirror circuit based on a current flowing through the third winding T3.
In one embodiment, compensating the current sense signal by a voltage-controlled current source based on a current flowing through the third winding T3.
An effective technique for sample and hold circuit has been disclosed. While specific embodiments of the present disclosure have been provided, it is to be understood that these embodiments are for illustration purposes and not limiting. Many additional embodiments will be apparent to persons of ordinary skill in the art reading this disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2011 1 0201794 | Jul 2011 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
5991172 | Jovanovic et al. | Nov 1999 | A |
7345896 | Dalal | Mar 2008 | B2 |
20030223255 | Ben-Yaakov et al. | Dec 2003 | A1 |
20100060179 | Newman et al. | Mar 2010 | A1 |
20100148740 | Saitoh | Jun 2010 | A1 |
20100165676 | Fang et al. | Jul 2010 | A1 |
20110057704 | Ptacek et al. | Mar 2011 | A1 |
20110228570 | Li et al. | Sep 2011 | A1 |
20120049741 | Ye et al. | Mar 2012 | A1 |
20130020945 | Kuang et al. | Jan 2013 | A1 |
Number | Date | Country | |
---|---|---|---|
20130020945 A1 | Jan 2013 | US |