This application claims priority to Patent Application No. 201010548415.4, titled “Driving Circuit for Light Source, and Controller and Method for Controlling Luminance of Light Source”, filed on Nov. 15, 2010, with the State Intellectual Property Office of the People's Republic of China.
Light sources such as light emitting diodes (LEDs) can be used, e.g., for backlighting liquid crystal displays (LCDs), street lighting, and home appliances. LEDs offer several advantages over alternative light sources. Among these are greater efficiency and increased operating life.
Controlled by the controller 110, the buck converter 111 further converts the input DC voltage VIN to an output DC voltage VOUT across the LED string 108. Based on the output DC voltage VOUT, the circuit 100 produces an LED current ILED flowing through the LED string 108. The buck converter 111 includes a diode 106, an inductor 118, and a switch 112. The switch 112 includes an N-channel transistor as shown in
Referring to
The controller 110 can operate in a constant period mode or a constant off time mode. In the constant period mode, the controller 110 turns the switch 112 on and off alternately and maintains a cycle period Ts of the control signal from pin DRV substantially constant. An average value IAVG of the LED current ILED can be given by:
where L is the inductance of the inductor 118. In the constant off time mode, the controller 110 turns the switch 112 on and off alternately and maintains an off time TOFF of the switch 112 substantially constant. The average value IAVG of the LED current ILED can be given by:
According to equations (1) and (2), the average LED current IAVG is functionally dependent on the input DC voltage VIN, the output DC voltage VOUT and the inductance of the inductor 118. In other words, the average LED current IAVG varies as the input DC voltage VIN, the output DC voltage VOUT and the inductance of the inductor 118 change. Therefore, the LED current ILED may not be accurately controlled, thereby affecting the stability of LED brightness.
In one embodiment, a circuit for driving a light source, e.g., an LED light source, includes a converter, a sensor, and a controller. The converter converts an input voltage to an output voltage across the LED light source based upon a driving signal. A duty cycle of the driving signal determines an average current flowing through the LED light source. The sensor is selectively coupled to and decoupled from the converter based upon the driving signal. The sensor generates a sense voltage indicative of a current flowing through the LED light source when the sensor is coupled to the converter. The controller is coupled to the converter and sensor. The controller compares the sense voltage to a reference voltage indicative of a predetermined average current through the LED light source to generate a compensation signal and generates the driving signal based upon the compensation signal. The duty cycle of the driving signal is adjusted based upon the compensation signal to adjust the average current flowing through the LED light source to the predetermined average current.
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 disclosure provide a driving circuit for driving a light source. The driving circuit includes a converter, a sensor, and a controller. The converter converts an input voltage to an output voltage across the light source based upon a driving signal. A duty cycle of the driving signal determines an average current flowing through the light source. The sensor is selectively coupled to and decoupled from the converter based upon the driving signal. The sensor generates a sense voltage indicative of a current flowing through the light source when the sensor is coupled to the converter. The controller is coupled to the converter and sensor. The controller compares the sense voltage to a reference voltage indicative of a predetermined average current through the light source to generate a compensation signal and generates the driving signal based upon the compensation signal. The duty cycle of the driving signal is adjusted based upon the compensation signal to adjust the average current flowing through the light source to the predetermined average current.
The duty cycle D of the switch 312 is controlled by the controller 310. In one embodiment, the controller 310 includes a COMP pin, a RT pin, a VDD pin, a GND pin, a DRV pin, and a SOURCE pin. The switch 312 includes an N-channel transistor, in one embodiment. The gate of the transistor 312 is coupled to the DRV pin of the controller 310. The source of the transistor 312 is coupled to the SOURCE pin of the controller 310. The source of the transistor 312 together with the SOURCE pin of the controller 310 is also coupled to ground through the resistor 314. The COMP pin of the controller 310 is coupled to ground through serially connected resistor 320 and an energy storage element, e.g., a capacitor 322. The RT pin is coupled to ground through a resistor 324. VDD pin is coupled to ground through a capacitor 326, coupled to the input DC voltage VIN through a resistor 336, and coupled to a winding 338 through a diode 332 and a resistor 334. The winding 338 is magnetically coupled to the inductor 318. A startup voltage is produced at the VDD pin to startup the controller 310. Alternatively, a voltage source (now shown) can be coupled to the VDD pin for providing the startup voltage.
In operation, the resistor 314 is selectively coupled to and decoupled from the converter 311 based upon the conduction state of the switch 312. When the switch 312 is in the ON state, an LED current ILED is produced to flow through a first current path including the LED string 308, the inductor 318, the switch 312 and the resistor 314. The voltage across the resistor 314 is indicative of the LED current ILED and received by the controller 310 via the SOURCE pin as a sense voltage. When the switch 312 is in an OFF state, the LED current ILED is produced to flow through a second path including the LED string 308, the inductor 318 and the diode 316. No current flows through the switch 312 and the resistor 314. Accordingly, the sense voltage at the SOURCE pin is substantially zero, in one embodiment.
In one embodiment, the controller 310 compares the sense voltage to a reference voltage VREF indicative of a predetermined average LED current IAVG0 to generate a compensation signal 328 at the COMP pin. Based upon the compensation signal 328, the controller 310 generates a driving signal 330 at the DRV pin to turn the switch 312 on and off alternately and adjusts a duty cycle D of the driving signal 330. As such, the average LED current IAVG through the LED string 308 is adjusted to the predetermined average LED current IAVG0 by adjusting the duty cycle D of the driving signal 330. The average LED current IAVG is not functionally dependent on the input DC voltage VIN, the output DC voltage VOUT or the inductance L. Advantageously, by introducing the compensation signal 328, the impact of the input DC voltage VIN, the output DC voltage VOUT and the inductance L on the average LED current IAVG is reduced or eliminated, such that the stability of LED brightness is improved.
The startup circuit 402 receives the startup voltage via the VDD pin. When the startup voltage at the VDD pin reaches a predetermined startup voltage level of the controller 310, the startup circuit 420 provides power to other components in the controller 310 to enable operation of the controller 310. The oscillator 404 generates a pulse signal 420 which has a preset frequency determined by the resistor 324, in one embodiment. The flip-flop 408 receives the pulse signal 420 via a set pin S. The pulse signal 420 is further provided to the signal generator 406 which generates a ramp signal 422 having the same frequency as the pulse signal 420. In one embodiment, the ramp signal 422 has a sawtooth wave. As mentioned in relation to
Moreover, the sense voltage is provided to an input terminal, e.g., an inverting terminal, of the OTA 416. The other input terminal, e.g., a non-inverting terminal of the OTA 416 receives the reference voltage VREF indicative of the predetermined average LED current IAVG0. The OTA 416 outputs a current which is a function of the differential input voltage. In one embodiment, the output current is proportional to the voltage difference between the sense voltage and the reference voltage VREF. The output current charges the capacitor 322 via a charging path including the control switch 418 and the resistor 320 to produce the compensation signal 328 at the COMP pin. The compensation signal 328 is provided to an input terminal, e.g., an inverting terminal, of the comparator 410. The comparator 410 compares the compensation signal 328 to the ramp signal 422 to output a reset signal 428 to a reset pin R of the flip-flop 408. In one embodiment, the reset signal 428 comprises a pulse-width modulation signal (PWM) signal. Triggered by the pulse signal 420 and the reset signal 428, the flip-flop 408 outputs a control signal 430 via an output pin Q. The control signal 430 is further provided to both the AND gate 412 and the control switch 418, in one embodiment.
Thus, the AND gate 412 receives the control signal 430 and the protection signal 424. As such, when an abnormal condition occurs as indicated by the protection signal 424, the driving signal 330 from the AND gate 412 switches the switch 312 off to prevent the driving circuit 300 from undergoing abnormal conditions. When the driving circuit 300 operates in the normal condition, the driving signal 330 is determined by the control signal 430 to alternate the switch 312 between the ON state and OFF state. In other words, the waveform of the driving signal 300 follows that of the control signal 430 when the driving circuit 300 operates in the normal condition, in one embodiment. As such, the state of the control switch 418 is synchronized with the state of the switch 312. Referring to
Advantageously, in one embodiment, the predetermined average LED current IAVG0 is determined by the predetermined reference voltage VREF independent of various circuit conditions, such as the input DC voltage VIN, the load condition, and the inductor 318. As such, brightness stability of the light sources is improved.
In the example of
Since the switch 312 is turned off, no current flows through the resistor 314 such that the sense voltage at the SOURCE pin drops to substantially zero at time T1. As discussed in relation to
As shown in
For example, when the input DC voltage VIN increases, the instant LED current ILED increases and the instant sense voltage at the SOURCE pin increases accordingly. With the increased sense voltage, the compensation signal 328 decreases such that the duty cycle D of the driving signal 330 is reduced. As the duty cycle D of the driving signal 330 decreases, the LED current ILED decreases accordingly such that the effect of the increased input DC voltage VIN is canceled out by the reduced duty cycle D of the driving signal 330 to maintain the average LED current IAVG substantially equal to the predetermined average LED current IAVG0. Similarly, when other circuit condition changes, e.g., the load condition and the inductor 318, the average LED current IAVG is kept substantially equal to the predetermined average LED current IAVG0 due to the dynamic adjustment of the duty cycle D of the driving signal 330.
Different from the driving circuit 300 where the switch 312 for alternating the inductor 318 between charging and discharging is located outside the controller 310, the controller 610 in the driving circuit 600 has the function of alternating the inductor 318 between charging and discharging.
In one embodiment, the switch 702 includes an N-channel transistor, with gate coupled to the AND gate 412, drain coupled to the DRAIN pin, and source coupled to the SOURCE pin. The zener diode 704 is coupled between the HV_GATE pin and ground. The enable HV_GATE block 706 is coupled between the CLK pin and the HV_GATE pin. When the driving circuit 600 is powered on, an enable signal is produced at the CLK pin in response to the input DC voltage VIN. In response to the enable signal, the enable HV_GATE block 706 activates the HV_GATE pin to produces a constant DC voltage, e.g., 15V, determined by the zener diode 704. Driven by the constant DC voltage at the HV_GATE pin, the switch 602 is switched on. The VDD pin obtains a startup voltage derived from a source voltage at the source of the switch 602. The startup voltage enables the operation of the controller 610. The sense voltage at the SOURCE pin is fed back and compared to the reference voltage VREF indicative of the predetermined average LED current IAVG0 to generate the compensation signal 328. Based on the compensation signal 328, the duty cycle D of the driving signal 330 is determined. The driving signal 330 having the determined duty cycle D switches the switch 702 on and off alternately to adjust the average LED current IAVG to the predetermined average LED current IAVG0.
With the configuration of
The embodiments of
In block 802, an input voltage is converted to an output voltage across a light source, e.g., an LED light source, based upon a driving signal by a converter. In one embodiment, the converter 311 converts the input DC voltage VIN to the output DC voltage VOUT across the LED string 308 based upon the driving signal 330 from the DRV pin of the controller 310.
In block 804, an average LED current is determined by a duty cycle of the driving signal. In one embodiment, the duty cycle D of the driving signal 330 determines the conduction state of the switch 312 so as to adjust the average LED current IAVG. In other words, the average LED current IAVG is determined by the duty cycle of the driving signal 330.
In block 806, a sense voltage indicative of the LED current is generated across a sensor when the sensor is coupled to the converter. The sensor is selectively coupled to and decoupled from the converter based upon the driving signal. In one embodiment, the voltage across a sensor, e.g., the resistor 314, indicates the LED current ILED when the switch 312 is in the ON state. The voltage across the resistor 314 is received by the controller 310 via the SOURCE pin as the sense voltage indicative of the LED current ILED. When the switch 312 is in the OFF state, the resistor 314 is decoupled from the converter 311. The conduction state of the switch 312 is determined by the driving signal 330.
In block 808, the sense voltage is compared to a reference voltage indicative of a predetermined average LED current to generate a compensation signal. In one embodiment, the sense voltage is compared to the reference voltage indicative of the predetermined average LED current IAVG0 by the OTA 416 to generate the compensation signal 328 at the COMP pin.
In block 810, the duty cycle of the driving signal is adjusted based upon the compensation signal to adjust the average LED current IAVG to the predetermined average LED current IAVG0. In one embodiment, the compensation signal 328 is compared to a ramp signal 422 by the comparator 410. Output of the comparator 410 adjusts the duty cycle D of the driving signal 330 to adjust the average LED current IAVG to the predetermined average LED current IAVG0.
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. 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, and not limited to the foregoing description.
Number | Date | Country | Kind |
---|---|---|---|
2010 1 0548415 | Nov 2010 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7538498 | Hur et al. | May 2009 | B2 |
20060055660 | Teranishi | Mar 2006 | A1 |
20080258632 | Lee et al. | Oct 2008 | A1 |
20090021471 | Park et al. | Jan 2009 | A1 |
20090273290 | Ziegenfuss | Nov 2009 | A1 |
Number | Date | Country |
---|---|---|
101178880 | May 2008 | CN |
101291557 | Oct 2008 | CN |
100430973 | Nov 2008 | CN |
2003143372 | May 2003 | JP |
02061330 | Aug 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20110080119 A1 | Apr 2011 | US |