This application claims priority to and the benefit of Chinese Patent Application No. 201610506239.5, filed Jun. 30, 2016, which is incorporated herein by reference in its entirety.
The present invention relates to electronic circuits, more specifically, the present invention relates to two-channel LED drivers.
As the development of technology, conventional fluorescent lamps are gradually replaced by LEDs (light emitting diodes) in applications such as LCD backlighting and lighting. In the application of smart LED lighting, a driver is needed to provide a controllable current. Different power supply voltages, such as 3.3V, 5V etc. are also needed to power smart modules (e.g. microcontroller unit (MCU), wireless module R/F, etc.) at different situations.
Conventional two-channel LED drivers typically adopt two power stages: a first stage including a converter (e.g. a flyback converter) to provide two constant voltages, with one voltage used to drive the LEDs, and the other voltage used to power other modules; and a second stage including two step-down converters, to control the current flowing through the LEDs in the two channels, respectively.
However, such two-channel LED driver with two power stages has complicated circuit structure, large volume and high cost.
It is an object of the present invention to provide a two-channel LED driver, which resolves above problems.
In accomplishing the above and other objects, there has been provided, in accordance with an embodiment of the present invention, a two-channel LED driver, comprising: a power converter, configured to provide a drive current to drive a first channel LED and a second channel LED in response to an input voltage, the power converter including a first winding and a main power switch; a second winding, magnetically coupled to the first winding to provide a power supply voltage to power a wireless control module; an error amplifier, configured to generate a compensation signal in response to a reference signal and an equivalent output current indicative of the drive current, the reference signal being controlled by a first dimming signal; a control and drive circuit, configured to generate a control signal to control the main power switch in response to the compensation signal; a first dimming switch, coupled to the first channel LED to dim the first channel LED; and a second dimming switch, coupled to the second channel LED to dim the second channel LED, the first dimming switch and the second dimming switch being both controlled by a second dimming signal, and the second dimming switch being controlled to be turned on and off complementary with the first dimming switch.
In addition, there has been provided, in accordance with an embodiment of the present invention, a control method used in a two-channel LED driver, comprising: generating a drive current to drive a first channel LED and a second channel LED and generating a power supply to power a wireless control module in response to an input voltage; controlling a total current flowing through the first channel LED and the second channel LED according to a first dimming signal; synchronizing a second dimming signal with the input voltage to generate a synchronous signal; and controlling a dimming ratio of the first channel LED and the second channel LED according to the synchronous signal.
Furthermore, there has been provided, in accordance with an embodiment of the present invention, a two-channel LED driver, comprising: a power converter including a main power switch, configured to provide a drive current to drive a first channel LED and a second channel LED, and a power supply voltage to power a wireless control module; a control and drive circuit, configured to control the main power switch based on a reference signal and an equivalent output current indicative of the drive current, the reference signal being controlled by a first dimming signal; and a first dimming switch and a second dimming switch, configured to dim the first channel LED and the second channel LED, respectively, the first dimming switch and the second dimming switch being both controlled by a second dimming signal, and the second dimming switch being controlled to be turned on and off complementary with the first dimming switch.
The use of the similar reference label in different drawings indicates the same of like components.
Embodiments of circuits for two-channel LED driver are described in detail herein. In the following description, some specific details, such as example circuits for these circuit components, are included to provide a thorough understanding of embodiments of the invention. One skilled in relevant art will recognize, however, that the invention can be practiced without one or more specific details, or with other methods, components, materials, etc.
The following embodiments and aspects are illustrated in conjunction with circuits and methods that are meant to be exemplary and illustrative. In various embodiments, the above problem has been reduced or eliminated, while other embodiments are directed to other improvements.
In one embodiment, the first dimming signal DIM1 and the second dimming signal DIM2 are both PWM (pulse width modulation) signals.
In one embodiment, the power converter 103 further comprises: a secondary winding 33, magnetically coupled to the first winding 31; a first secondary power switch 34, coupled between the secondary winding 33 and the first channel LED 1001; and a second secondary power switch 35, coupled between the secondary winding 33 and the second channel LED 1002.
In the example of
In the example of
VREF=VR0×DDIM1
wherein DDIM1 represents the duty cycle of the first dimming signal DIM1.
In one embodiment, the two-channel LED driver 100 further comprises: a protection circuit 113, configured to deliver the second dimming signal DIM2 to the first and second dimming switches (109 & 110), wherein the protection circuit 113 is operable to protect the two-channel LED driver 100 if some bad situation (e.g. over voltage, over current, over temperature, etc.) happens, and to take no action on the second dimming signal DIM2 if the two-channel LED driver 100 operates normally, so that the second dimming signal DIM2 is delivered to post-stage circuits, to control the first dimming switch 109 and the second dimming switch 110.
In one embodiment, when the power converter adopts isolated topology (e.g., the flyback converter as shown in
In one embodiment, the wireless control module 105 is powered by the power supply voltage VPS at the second winding 104 by way of a diode and a voltage regulator (e.g. a low dropout regulator, LDO). However, one skilled in the art should realize that, the voltage regulator may comprise other appropriate circuits.
During the constant current mode operation, when the main power switch 32 is turned off, the current flowing through the main power switch 32 is zero; and when the main power switch 32 is turned on, the current flowing through the main power switch 32 is:
wherein I32 represents the current flowing through the main power switch 32, ILm represents the current flowing through a magnetization inductor of the first winding 31, I104 indicates the current flowing through the second winding 104, and N2/N1 is the turn ratio between the second winding 104 and the first winding 31.
Thus, the voltage across the two series coupled resistors (i.e. the current sense signal ISEN) is:
ISEN=I32×(R115+R116)−I104×R116 (2)
wherein R115 represents the resistance of the first resistor 115, and R116 represents the resistance of the second resistor 116.
According to equation (1) and equation (2), the current sense signal ISEN is:
As a result, if the relationship of the turn ratio between the second winding 104 and the first winding 31, and the resistances of the first resistor 115 and the second resistor 116 is set as:
Then
ISEN=ILM×(R115+R116) (4)
As can be seen from equations (3) and (4), if the relationship of the turn ratio between the second winding 104 and the first winding 31, and the resistances of the first resistor 115 and the second resistor 116 is particularly set as equation (3), the current sense signal ISEN is only related to the current flowing through the magnetization inductor of the first winding 31, but not affected by the current flowing through the second winding 104. The current sense signal ISEN is then converted to the equivalent output current IEQ, so as to accurately reflect the total current flowing through the first channel LED 1001 and the second channel LED 1002.
The other circuit configuration and the operation principle of the two-channel LED driver 200 in
The equivalent output current IEQ is then delivered to the error amplifier 107, so that the equivalent output current IEQ is regulated to the reference signal VREF, which is controlled by the first dimming signal DIM1. Thus, the total current flowing through the first channel LED and the second channel LED (i.e. the total brightness of the LED) is regulated by the first dimming signal DIM1 in the two-channel LED drivers 100 and 200.
The first dimming switch 109 and the second dimming switch 110 are controlled by the second dimming signal DIM2, and the first dimming switch 109 and the second dimming switch 110 are turned on and off complementary (i.e. the first channel LED 1001 and the second channel LED 1002 are lighted complementary), so the second dimming signal DIM2 regulates the dimming ratio of each channel. For example, if the second dimming signal DIM2 has a duty cycle of 40%, after the conversion of the photoelectric coupler 114, the first channel LED 1001 will have a dimming ratio of 60%, and the second channel LED 1002 will have a dimming ratio of 40%. That is, in one switching cycle, the light time of the first channel LED 1001 occupies 60%, and the light time of the second channel LED 1002 occupies 40%.
Thus, the previous two-channel LED drivers 100 and 200 adopt only one power stage to drive the two channels of the LED, control the total current flowing through the two channels and the dimming ratio between the two channels, and power the wireless control module.
The other circuit configuration and the operation principle of the two-channel LED driver 400 in
Several embodiments of the foregoing two-channel LED drivers (100, 200, & 400) adopt an isolated power converter. However, one with ordinary skill in the art should realize that the power converter in the two-channel LED driver may also adopt a non-isolated power converter, as shown in
In the example of
The other circuit configuration and the operation principle of the two-channel LED driver 500 in
In one embodiment, the zero crossing condition is detected by way of a third winding (not shown).
In one embodiment, the logic circuit 82 comprises a RS flip-flop.
Several embodiments of the foregoing two-channel LED driver provide a constant drive current to the load, i.e., the driver operates under constant current mode. But if the user wants to turn off the LED, the wireless control module still needs a power supply voltage. Then the driver needs to provide a constant power supply voltage, i.e., the driver needs to operate under constant voltage mode.
When the first dimming signal DIM1 is lower than the threshold signal VTH, the detecting signal DET indicates that the system is under constant voltage (CV) mode, a first voltage regulator (e.g. LDO) 42 and the first error amplifier 1071 are disabled, causing the first power supply voltage VCC and the first compensation signal CMP1 to be blocked. Then the wireless control module (RF/MCU) 105 is powered by the second power supply voltage VCV by way of a second voltage regulator (e.g. a LDO) 44. The difference between the second reference signal VRCV and the second power supply voltage VCV is amplified and integrated by the second error amplifier 1072, and the second compensation signal CMP2 is delivered to the control and drive circuit 108, to provide a constant power supply voltage to the wireless control module 105.
When the first dimming signal DIM1 is higher than the threshold signal VTH, the detecting signal DET indicates that the system is under constant current (CC) mode, the LDO 44 and the second error amplifier 1071 are disabled, causing the second power supply voltage VCV and the second compensation signal CMP2 to be blocked. Then the wireless control module (RF/MCU) 105 is powered by the first power supply voltage VCC by way of the LDO 42. The difference between the first reference signal VRCC and the equivalent output current IEQ is amplified and integrated by the first error amplifier 1071, and the first compensation signal CMP1 is delivered to the control and drive circuit 108, to control the total current flowing through the first channel LED 1001 and the second channel LED 1002 (i.e. to control the brightness of the LEDs) and to provide a constant power supply voltage to the wireless control module 105.
In one embodiment, the second winding 1041 and the first winding 31 are coupled in a forward way. That is, when the main power switch 32 is ON, an induced voltage generated across the second winding 1041 is provided as the first power supply voltage VCC via a diode 41; and when the main power switch 32 is OFF, the induced voltage generated across the second winding 1041 is blocked by the diode 41.
In one embodiment, the third winding 1042 and the first winding 31 are coupled in a flyback way. That is, when the main power switch 32 is ON, an induced voltage generated across the third winding 1042 is blocked by a diode 43; and when the main power switch 32 is OFF, the induced voltage generated across the second winding 1042 is provided as the second power supply voltage VCV via the diode 43.
In one embodiment, the first dimming signal DIM1 is input by users, which may be in a PWM form. As shown in
In one embodiment, the wireless control module (RF/MCU) 105 in the two-channel LED driver 700 is operable to synchronize the second dimming signal DIM2 with the AC input voltage Vin (or the rectified signal VDC). The wireless control module (RF/MCU) 105 may comprise a zero comparator and a RS flip-flop as in the example of
The present invention further provides a control method used in a two-channel LED driver.
Step 801, generating a drive current to drive a first channel LED and a second channel LED and generating a power supply to power a wireless control module in response to an input voltage.
Step 802, controlling a total current flowing through the first channel LED and the second channel LED according to a first dimming signal.
Step 803, synchronizing a second dimming signal with the input voltage to generate a synchronous signal.
Step 804, controlling a dimming ratio of the first channel LED and the second channel LED according to the synchronous signal.
In one embodiment, synchronizing a second dimming signal with the input voltage to generate a synchronous signal comprises: detecting a zero crossing condition of the input voltage; resetting the synchronous signal when the zero crossing condition is detected; and setting the synchronous signal in response to the second dimming signal.
In one embodiment, the first channel LED is dimmed by the synchronous signal, and the second channel LED is dimmed by an inverted signal of the synchronous signal.
In one embodiment, the method further comprises: comparing the second dimming signal with a threshold signal; if the first dimming signal is higher than the threshold signal, entering constant current mode: providing a constant drive current to drive the first channel LED and the second channel LED, and providing a first power supply voltage to power a wireless control module; and if the first dimming signal is lower than the threshold signal, entering constant voltage mode: providing a second power supply voltage to power the wireless control module.
In one embodiment, the constant drive current, the first power supply voltage and the second power supply voltage are all provided by a power stage, and the power stage comprises: a first winding, a second winding and a third winding. When the system enters constant current mode, the first power supply voltage is provided by magnetically coupling the second winding to the first winding in a forward way. When the system enters constant voltage mode, the second power supply voltage is provided by magnetically coupling the third winding to the first winding in a flyback way.
In one embodiment, the power stage includes a main power switch, and wherein the LED drive method further comprises: deriving an equivalent output current indicative of the drive current; generating a first compensation signal in response to a first reference signal and the equivalent output current, the first reference signal being proportional to a duty cycle of the first dimming signal; generating a second compensation signal in response to a second reference signal and the second power supply voltage; and generating a control signal to control the main power switch in response to a) the first compensation signal when the dimming signal is higher than the threshold signal or b) the second compensation signal when the dimming signal is lower than the threshold signal.
It is to be understood in these letters patent that the meaning of “A” is coupled to “B” is that either A and B are connected to each other as described below, or that, although A and B may not be connected to each other as described above, there is nevertheless a device or circuit that is connected to both A and B. This device or circuit may include active or passive circuit elements, where the passive circuit elements may be distributed or lumped-parameter in nature. For example, A may be connected to a circuit element that in turn is connected to B.
This written description uses examples to disclose the invention, including the best mode, and also to enable a person skilled in the art to make and use the invention. The patentable scope of the invention may include other examples that occur to those skilled in the art.
Number | Date | Country | Kind |
---|---|---|---|
2016 1 0506239 | Jun 2016 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
8503139 | Yao et al. | Aug 2013 | B2 |
8670255 | Gong | Mar 2014 | B2 |
8896214 | Xu | Nov 2014 | B2 |
8975831 | Szolusha | Mar 2015 | B1 |
9078327 | Livschitz | Jul 2015 | B2 |
9392654 | Peng | Jul 2016 | B2 |
9661700 | Kuang et al. | May 2017 | B2 |
Number | Date | Country | |
---|---|---|---|
20180007753 A1 | Jan 2018 | US |